@gpt-platform/client 0.3.0 → 0.3.3
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/dist/index.d.mts +908 -96
- package/dist/index.d.ts +908 -96
- package/dist/index.js +1580 -195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1580 -195
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -40,6 +40,25 @@ type CrmPipelineStage = {
|
|
|
40
40
|
};
|
|
41
41
|
type: string;
|
|
42
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* A "Resource object" representing a scan_result
|
|
45
|
+
*/
|
|
46
|
+
type ScanResult = {
|
|
47
|
+
/**
|
|
48
|
+
* An attributes object for a scan_result
|
|
49
|
+
*/
|
|
50
|
+
attributes?: {
|
|
51
|
+
[key: string]: never;
|
|
52
|
+
};
|
|
53
|
+
id: string;
|
|
54
|
+
/**
|
|
55
|
+
* A relationships object for a scan_result
|
|
56
|
+
*/
|
|
57
|
+
relationships?: {
|
|
58
|
+
[key: string]: never;
|
|
59
|
+
};
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
43
62
|
/**
|
|
44
63
|
* A "Resource object" representing a email-marketing-campaign
|
|
45
64
|
*/
|
|
@@ -785,6 +804,44 @@ type TrainingSession = {
|
|
|
785
804
|
};
|
|
786
805
|
type: string;
|
|
787
806
|
};
|
|
807
|
+
/**
|
|
808
|
+
* A "Resource object" representing a retention_policy
|
|
809
|
+
*/
|
|
810
|
+
type RetentionPolicy = {
|
|
811
|
+
/**
|
|
812
|
+
* An attributes object for a retention_policy
|
|
813
|
+
*/
|
|
814
|
+
attributes?: {
|
|
815
|
+
[key: string]: never;
|
|
816
|
+
};
|
|
817
|
+
id: string;
|
|
818
|
+
/**
|
|
819
|
+
* A relationships object for a retention_policy
|
|
820
|
+
*/
|
|
821
|
+
relationships?: {
|
|
822
|
+
[key: string]: never;
|
|
823
|
+
};
|
|
824
|
+
type: string;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* A "Resource object" representing a data_subject_request
|
|
828
|
+
*/
|
|
829
|
+
type DataSubjectRequest = {
|
|
830
|
+
/**
|
|
831
|
+
* An attributes object for a data_subject_request
|
|
832
|
+
*/
|
|
833
|
+
attributes?: {
|
|
834
|
+
[key: string]: never;
|
|
835
|
+
};
|
|
836
|
+
id: string;
|
|
837
|
+
/**
|
|
838
|
+
* A relationships object for a data_subject_request
|
|
839
|
+
*/
|
|
840
|
+
relationships?: {
|
|
841
|
+
[key: string]: never;
|
|
842
|
+
};
|
|
843
|
+
type: string;
|
|
844
|
+
};
|
|
788
845
|
/**
|
|
789
846
|
* A "Resource object" representing a user_profile
|
|
790
847
|
*/
|
|
@@ -1500,6 +1557,25 @@ type CrmPipeline = {
|
|
|
1500
1557
|
};
|
|
1501
1558
|
type: string;
|
|
1502
1559
|
};
|
|
1560
|
+
/**
|
|
1561
|
+
* A "Resource object" representing a processing_activity
|
|
1562
|
+
*/
|
|
1563
|
+
type ProcessingActivity = {
|
|
1564
|
+
/**
|
|
1565
|
+
* An attributes object for a processing_activity
|
|
1566
|
+
*/
|
|
1567
|
+
attributes?: {
|
|
1568
|
+
[key: string]: never;
|
|
1569
|
+
};
|
|
1570
|
+
id: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* A relationships object for a processing_activity
|
|
1573
|
+
*/
|
|
1574
|
+
relationships?: {
|
|
1575
|
+
[key: string]: never;
|
|
1576
|
+
};
|
|
1577
|
+
type: string;
|
|
1578
|
+
};
|
|
1503
1579
|
/**
|
|
1504
1580
|
* A "Resource object" representing a crm_relationship
|
|
1505
1581
|
*/
|
|
@@ -1544,6 +1620,51 @@ type CrmRelationship = {
|
|
|
1544
1620
|
};
|
|
1545
1621
|
type: string;
|
|
1546
1622
|
};
|
|
1623
|
+
/**
|
|
1624
|
+
* A "Resource object" representing a support_tag
|
|
1625
|
+
*/
|
|
1626
|
+
type SupportTag = {
|
|
1627
|
+
/**
|
|
1628
|
+
* An attributes object for a support_tag
|
|
1629
|
+
*/
|
|
1630
|
+
attributes?: {
|
|
1631
|
+
/**
|
|
1632
|
+
* Field included by default.
|
|
1633
|
+
*/
|
|
1634
|
+
color?: string | null | unknown;
|
|
1635
|
+
/**
|
|
1636
|
+
* Field included by default.
|
|
1637
|
+
*/
|
|
1638
|
+
name: string;
|
|
1639
|
+
};
|
|
1640
|
+
id: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* A relationships object for a support_tag
|
|
1643
|
+
*/
|
|
1644
|
+
relationships?: {
|
|
1645
|
+
[key: string]: never;
|
|
1646
|
+
};
|
|
1647
|
+
type: string;
|
|
1648
|
+
};
|
|
1649
|
+
/**
|
|
1650
|
+
* A "Resource object" representing a breach_notification
|
|
1651
|
+
*/
|
|
1652
|
+
type BreachNotification = {
|
|
1653
|
+
/**
|
|
1654
|
+
* An attributes object for a breach_notification
|
|
1655
|
+
*/
|
|
1656
|
+
attributes?: {
|
|
1657
|
+
[key: string]: never;
|
|
1658
|
+
};
|
|
1659
|
+
id: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* A relationships object for a breach_notification
|
|
1662
|
+
*/
|
|
1663
|
+
relationships?: {
|
|
1664
|
+
[key: string]: never;
|
|
1665
|
+
};
|
|
1666
|
+
type: string;
|
|
1667
|
+
};
|
|
1547
1668
|
/**
|
|
1548
1669
|
* A "Resource object" representing a plan
|
|
1549
1670
|
*/
|
|
@@ -1982,6 +2103,25 @@ type ApiKey = {
|
|
|
1982
2103
|
};
|
|
1983
2104
|
type: string;
|
|
1984
2105
|
};
|
|
2106
|
+
/**
|
|
2107
|
+
* A "Resource object" representing a breach_incident
|
|
2108
|
+
*/
|
|
2109
|
+
type BreachIncident = {
|
|
2110
|
+
/**
|
|
2111
|
+
* An attributes object for a breach_incident
|
|
2112
|
+
*/
|
|
2113
|
+
attributes?: {
|
|
2114
|
+
[key: string]: never;
|
|
2115
|
+
};
|
|
2116
|
+
id: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* A relationships object for a breach_incident
|
|
2119
|
+
*/
|
|
2120
|
+
relationships?: {
|
|
2121
|
+
[key: string]: never;
|
|
2122
|
+
};
|
|
2123
|
+
type: string;
|
|
2124
|
+
};
|
|
1985
2125
|
/**
|
|
1986
2126
|
* A "Resource object" representing a crm_custom_entity
|
|
1987
2127
|
*/
|
|
@@ -2470,6 +2610,126 @@ type CatalogTaxonomy = {
|
|
|
2470
2610
|
};
|
|
2471
2611
|
type: string;
|
|
2472
2612
|
};
|
|
2613
|
+
/**
|
|
2614
|
+
* A "Resource object" representing a support_ticket
|
|
2615
|
+
*/
|
|
2616
|
+
type SupportTicket = {
|
|
2617
|
+
/**
|
|
2618
|
+
* An attributes object for a support_ticket
|
|
2619
|
+
*/
|
|
2620
|
+
attributes?: {
|
|
2621
|
+
/**
|
|
2622
|
+
* Field included by default.
|
|
2623
|
+
*/
|
|
2624
|
+
ai_classification?: string | null | unknown;
|
|
2625
|
+
/**
|
|
2626
|
+
* Field included by default.
|
|
2627
|
+
*/
|
|
2628
|
+
ai_confidence?: number | null | unknown;
|
|
2629
|
+
/**
|
|
2630
|
+
* Field included by default.
|
|
2631
|
+
*/
|
|
2632
|
+
ai_sentiment?: string | null | unknown;
|
|
2633
|
+
/**
|
|
2634
|
+
* Field included by default.
|
|
2635
|
+
*/
|
|
2636
|
+
assigned_agent_id?: string | null | unknown;
|
|
2637
|
+
/**
|
|
2638
|
+
* Field included by default.
|
|
2639
|
+
*/
|
|
2640
|
+
crm_contact_id?: string | null | unknown;
|
|
2641
|
+
/**
|
|
2642
|
+
* Field included by default.
|
|
2643
|
+
*/
|
|
2644
|
+
custom_fields?: {
|
|
2645
|
+
[key: string]: unknown;
|
|
2646
|
+
} | null | unknown;
|
|
2647
|
+
/**
|
|
2648
|
+
* Field included by default.
|
|
2649
|
+
*/
|
|
2650
|
+
customer_email?: string | null | unknown;
|
|
2651
|
+
/**
|
|
2652
|
+
* Field included by default.
|
|
2653
|
+
*/
|
|
2654
|
+
customer_name?: string | null | unknown;
|
|
2655
|
+
/**
|
|
2656
|
+
* Field included by default.
|
|
2657
|
+
*/
|
|
2658
|
+
description?: string | null | unknown;
|
|
2659
|
+
/**
|
|
2660
|
+
* Field included by default.
|
|
2661
|
+
*/
|
|
2662
|
+
external_id?: string | null | unknown;
|
|
2663
|
+
/**
|
|
2664
|
+
* Field included by default.
|
|
2665
|
+
*/
|
|
2666
|
+
first_response_at?: unknown;
|
|
2667
|
+
/**
|
|
2668
|
+
* Field included by default.
|
|
2669
|
+
*/
|
|
2670
|
+
invoice_id?: string | null | unknown;
|
|
2671
|
+
/**
|
|
2672
|
+
* Field included by default.
|
|
2673
|
+
*/
|
|
2674
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
2675
|
+
/**
|
|
2676
|
+
* Field included by default.
|
|
2677
|
+
*/
|
|
2678
|
+
product_id?: string | null | unknown;
|
|
2679
|
+
/**
|
|
2680
|
+
* Field included by default.
|
|
2681
|
+
*/
|
|
2682
|
+
resolved_at?: unknown;
|
|
2683
|
+
/**
|
|
2684
|
+
* Field included by default.
|
|
2685
|
+
*/
|
|
2686
|
+
sla_breached: boolean;
|
|
2687
|
+
/**
|
|
2688
|
+
* Field included by default.
|
|
2689
|
+
*/
|
|
2690
|
+
sla_due_at?: unknown;
|
|
2691
|
+
/**
|
|
2692
|
+
* Field included by default.
|
|
2693
|
+
*/
|
|
2694
|
+
sla_policy_id?: string | null | unknown;
|
|
2695
|
+
/**
|
|
2696
|
+
* Field included by default.
|
|
2697
|
+
*/
|
|
2698
|
+
source: "email" | "chat" | "phone" | "web_form" | "api" | "internal" | "connector_sync";
|
|
2699
|
+
/**
|
|
2700
|
+
* Field included by default.
|
|
2701
|
+
*/
|
|
2702
|
+
status: "new" | "open" | "pending" | "on_hold" | "resolved" | "closed";
|
|
2703
|
+
/**
|
|
2704
|
+
* Field included by default.
|
|
2705
|
+
*/
|
|
2706
|
+
subject: string;
|
|
2707
|
+
/**
|
|
2708
|
+
* Field included by default.
|
|
2709
|
+
*/
|
|
2710
|
+
synced_at?: unknown;
|
|
2711
|
+
/**
|
|
2712
|
+
* Field included by default.
|
|
2713
|
+
*/
|
|
2714
|
+
tags?: Array<string> | null | unknown;
|
|
2715
|
+
/**
|
|
2716
|
+
* Field included by default.
|
|
2717
|
+
*/
|
|
2718
|
+
ticket_number?: string | null | unknown;
|
|
2719
|
+
/**
|
|
2720
|
+
* Field included by default.
|
|
2721
|
+
*/
|
|
2722
|
+
type: "external" | "internal";
|
|
2723
|
+
};
|
|
2724
|
+
id: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* A relationships object for a support_ticket
|
|
2727
|
+
*/
|
|
2728
|
+
relationships?: {
|
|
2729
|
+
[key: string]: never;
|
|
2730
|
+
};
|
|
2731
|
+
type: string;
|
|
2732
|
+
};
|
|
2473
2733
|
/**
|
|
2474
2734
|
* A "Resource object" representing a credential
|
|
2475
2735
|
*/
|
|
@@ -2489,7 +2749,7 @@ type Credential = {
|
|
|
2489
2749
|
/**
|
|
2490
2750
|
* Field included by default.
|
|
2491
2751
|
*/
|
|
2492
|
-
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
2752
|
+
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "fhir_r4" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
2493
2753
|
/**
|
|
2494
2754
|
* Number of consecutive token refresh failures. Reset to 0 on successful refresh. Field included by default.
|
|
2495
2755
|
*/
|
|
@@ -3046,7 +3306,7 @@ type ConnectorInstance = {
|
|
|
3046
3306
|
/**
|
|
3047
3307
|
* Field included by default.
|
|
3048
3308
|
*/
|
|
3049
|
-
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
3309
|
+
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "fhir_r4" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
3050
3310
|
/**
|
|
3051
3311
|
* Field included by default.
|
|
3052
3312
|
*/
|
|
@@ -3098,6 +3358,25 @@ type ConnectorInstance = {
|
|
|
3098
3358
|
};
|
|
3099
3359
|
type: string;
|
|
3100
3360
|
};
|
|
3361
|
+
/**
|
|
3362
|
+
* A "Resource object" representing a llm_analytics
|
|
3363
|
+
*/
|
|
3364
|
+
type LlmAnalytics = {
|
|
3365
|
+
/**
|
|
3366
|
+
* An attributes object for a llm_analytics
|
|
3367
|
+
*/
|
|
3368
|
+
attributes?: {
|
|
3369
|
+
[key: string]: never;
|
|
3370
|
+
};
|
|
3371
|
+
id: string;
|
|
3372
|
+
/**
|
|
3373
|
+
* A relationships object for a llm_analytics
|
|
3374
|
+
*/
|
|
3375
|
+
relationships?: {
|
|
3376
|
+
[key: string]: never;
|
|
3377
|
+
};
|
|
3378
|
+
type: string;
|
|
3379
|
+
};
|
|
3101
3380
|
/**
|
|
3102
3381
|
* A "Resource object" representing a crm_deal
|
|
3103
3382
|
*/
|
|
@@ -3220,6 +3499,189 @@ type CatalogProductVariant = {
|
|
|
3220
3499
|
};
|
|
3221
3500
|
type: string;
|
|
3222
3501
|
};
|
|
3502
|
+
/**
|
|
3503
|
+
* A "Resource object" representing a audit_chain_entry
|
|
3504
|
+
*/
|
|
3505
|
+
type AuditChainEntry = {
|
|
3506
|
+
/**
|
|
3507
|
+
* An attributes object for a audit_chain_entry
|
|
3508
|
+
*/
|
|
3509
|
+
attributes?: {
|
|
3510
|
+
[key: string]: never;
|
|
3511
|
+
};
|
|
3512
|
+
id: string;
|
|
3513
|
+
/**
|
|
3514
|
+
* A relationships object for a audit_chain_entry
|
|
3515
|
+
*/
|
|
3516
|
+
relationships?: {
|
|
3517
|
+
[key: string]: never;
|
|
3518
|
+
};
|
|
3519
|
+
type: string;
|
|
3520
|
+
};
|
|
3521
|
+
/**
|
|
3522
|
+
* A "Resource object" representing a audit-log
|
|
3523
|
+
*/
|
|
3524
|
+
type AuditLog = {
|
|
3525
|
+
/**
|
|
3526
|
+
* An attributes object for a audit-log
|
|
3527
|
+
*/
|
|
3528
|
+
attributes?: {
|
|
3529
|
+
/**
|
|
3530
|
+
* Field included by default.
|
|
3531
|
+
*/
|
|
3532
|
+
action: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* Field included by default.
|
|
3535
|
+
*/
|
|
3536
|
+
actor_id?: string | null | unknown;
|
|
3537
|
+
/**
|
|
3538
|
+
* Which admin interface originated this action. Field included by default.
|
|
3539
|
+
*/
|
|
3540
|
+
admin_context?: "platform_admin" | "isv_admin" | "app_api" | "sys_api" | unknown;
|
|
3541
|
+
/**
|
|
3542
|
+
* Field included by default.
|
|
3543
|
+
*/
|
|
3544
|
+
changes?: {
|
|
3545
|
+
[key: string]: unknown;
|
|
3546
|
+
} | null | unknown;
|
|
3547
|
+
/**
|
|
3548
|
+
* IP address of the request. Field included by default.
|
|
3549
|
+
*/
|
|
3550
|
+
ip_address?: string | null | unknown;
|
|
3551
|
+
/**
|
|
3552
|
+
* Field included by default.
|
|
3553
|
+
*/
|
|
3554
|
+
resource_id: string;
|
|
3555
|
+
/**
|
|
3556
|
+
* Field included by default.
|
|
3557
|
+
*/
|
|
3558
|
+
resource_type: string;
|
|
3559
|
+
/**
|
|
3560
|
+
* UUID of target entity. Field included by default.
|
|
3561
|
+
*/
|
|
3562
|
+
target_id?: string | null | unknown;
|
|
3563
|
+
/**
|
|
3564
|
+
* Display name of target entity for UI rendering. Field included by default.
|
|
3565
|
+
*/
|
|
3566
|
+
target_name?: string | null | unknown;
|
|
3567
|
+
/**
|
|
3568
|
+
* Type of target entity (document, workspace, agent, member, export). Field included by default.
|
|
3569
|
+
*/
|
|
3570
|
+
target_type?: string | null | unknown;
|
|
3571
|
+
/**
|
|
3572
|
+
* Field included by default.
|
|
3573
|
+
*/
|
|
3574
|
+
tenant_id?: string | null | unknown;
|
|
3575
|
+
/**
|
|
3576
|
+
* User agent of the request. Field included by default.
|
|
3577
|
+
*/
|
|
3578
|
+
user_agent?: string | null | unknown;
|
|
3579
|
+
/**
|
|
3580
|
+
* Field included by default.
|
|
3581
|
+
*/
|
|
3582
|
+
workspace_id?: string | null | unknown;
|
|
3583
|
+
};
|
|
3584
|
+
id: string;
|
|
3585
|
+
/**
|
|
3586
|
+
* A relationships object for a audit-log
|
|
3587
|
+
*/
|
|
3588
|
+
relationships?: {
|
|
3589
|
+
actor?: {
|
|
3590
|
+
/**
|
|
3591
|
+
* An identifier for actor
|
|
3592
|
+
*/
|
|
3593
|
+
data?: {
|
|
3594
|
+
id: string;
|
|
3595
|
+
meta?: {
|
|
3596
|
+
[key: string]: unknown;
|
|
3597
|
+
};
|
|
3598
|
+
type: string;
|
|
3599
|
+
} | null;
|
|
3600
|
+
};
|
|
3601
|
+
tenant?: {
|
|
3602
|
+
/**
|
|
3603
|
+
* An identifier for tenant
|
|
3604
|
+
*/
|
|
3605
|
+
data?: {
|
|
3606
|
+
id: string;
|
|
3607
|
+
meta?: {
|
|
3608
|
+
[key: string]: unknown;
|
|
3609
|
+
};
|
|
3610
|
+
type: string;
|
|
3611
|
+
} | null;
|
|
3612
|
+
};
|
|
3613
|
+
workspace?: {
|
|
3614
|
+
/**
|
|
3615
|
+
* An identifier for workspace
|
|
3616
|
+
*/
|
|
3617
|
+
data?: {
|
|
3618
|
+
id: string;
|
|
3619
|
+
meta?: {
|
|
3620
|
+
[key: string]: unknown;
|
|
3621
|
+
};
|
|
3622
|
+
type: string;
|
|
3623
|
+
} | null;
|
|
3624
|
+
};
|
|
3625
|
+
};
|
|
3626
|
+
type: string;
|
|
3627
|
+
};
|
|
3628
|
+
/**
|
|
3629
|
+
* A "Resource object" representing a consent_record
|
|
3630
|
+
*/
|
|
3631
|
+
type ConsentRecord = {
|
|
3632
|
+
/**
|
|
3633
|
+
* An attributes object for a consent_record
|
|
3634
|
+
*/
|
|
3635
|
+
attributes?: {
|
|
3636
|
+
/**
|
|
3637
|
+
* Human-readable description of what was consented to. Field included by default.
|
|
3638
|
+
*/
|
|
3639
|
+
description?: string | null | unknown;
|
|
3640
|
+
/**
|
|
3641
|
+
* Field included by default.
|
|
3642
|
+
*/
|
|
3643
|
+
granted_at: unknown;
|
|
3644
|
+
/**
|
|
3645
|
+
* GDPR Article 6 lawful basis for processing. Field included by default.
|
|
3646
|
+
*/
|
|
3647
|
+
lawful_basis: "consent" | "contract" | "legal_obligation" | "vital_interests" | "public_task" | "legitimate_interest";
|
|
3648
|
+
/**
|
|
3649
|
+
* Field included by default.
|
|
3650
|
+
*/
|
|
3651
|
+
purpose: "ai_document_processing" | "data_analytics" | "marketing_communications" | "third_party_sharing";
|
|
3652
|
+
/**
|
|
3653
|
+
* Field included by default.
|
|
3654
|
+
*/
|
|
3655
|
+
status: "granted" | "withdrawn";
|
|
3656
|
+
/**
|
|
3657
|
+
* Field included by default.
|
|
3658
|
+
*/
|
|
3659
|
+
user_id: string;
|
|
3660
|
+
/**
|
|
3661
|
+
* Field included by default.
|
|
3662
|
+
*/
|
|
3663
|
+
withdrawn_at?: unknown;
|
|
3664
|
+
};
|
|
3665
|
+
id: string;
|
|
3666
|
+
/**
|
|
3667
|
+
* A relationships object for a consent_record
|
|
3668
|
+
*/
|
|
3669
|
+
relationships?: {
|
|
3670
|
+
user?: {
|
|
3671
|
+
/**
|
|
3672
|
+
* An identifier for user
|
|
3673
|
+
*/
|
|
3674
|
+
data?: {
|
|
3675
|
+
id: string;
|
|
3676
|
+
meta?: {
|
|
3677
|
+
[key: string]: unknown;
|
|
3678
|
+
};
|
|
3679
|
+
type: string;
|
|
3680
|
+
} | null;
|
|
3681
|
+
};
|
|
3682
|
+
};
|
|
3683
|
+
type: string;
|
|
3684
|
+
};
|
|
3223
3685
|
/**
|
|
3224
3686
|
* A "Resource object" representing a voice_session
|
|
3225
3687
|
*/
|
|
@@ -3511,25 +3973,106 @@ type ExtractionBatch = {
|
|
|
3511
3973
|
/**
|
|
3512
3974
|
* Field included by default.
|
|
3513
3975
|
*/
|
|
3514
|
-
name?: string | null | unknown;
|
|
3515
|
-
status?: string | null | unknown;
|
|
3976
|
+
name?: string | null | unknown;
|
|
3977
|
+
status?: string | null | unknown;
|
|
3978
|
+
/**
|
|
3979
|
+
* Generate presigned upload URLs for batch
|
|
3980
|
+
*/
|
|
3981
|
+
upload_urls?: Array<{
|
|
3982
|
+
[key: string]: unknown;
|
|
3983
|
+
}> | null | unknown;
|
|
3984
|
+
/**
|
|
3985
|
+
* Field included by default.
|
|
3986
|
+
*/
|
|
3987
|
+
user_label?: string | null | unknown;
|
|
3988
|
+
};
|
|
3989
|
+
id: string;
|
|
3990
|
+
/**
|
|
3991
|
+
* A relationships object for a extraction_batch
|
|
3992
|
+
*/
|
|
3993
|
+
relationships?: {
|
|
3994
|
+
[key: string]: never;
|
|
3995
|
+
};
|
|
3996
|
+
type: string;
|
|
3997
|
+
};
|
|
3998
|
+
/**
|
|
3999
|
+
* A "Resource object" representing a legal_document
|
|
4000
|
+
*/
|
|
4001
|
+
type LegalDocument = {
|
|
4002
|
+
/**
|
|
4003
|
+
* An attributes object for a legal_document
|
|
4004
|
+
*/
|
|
4005
|
+
attributes?: {
|
|
4006
|
+
/**
|
|
4007
|
+
* Field included by default.
|
|
4008
|
+
*/
|
|
4009
|
+
active_from?: unknown;
|
|
4010
|
+
/**
|
|
4011
|
+
* Field included by default.
|
|
4012
|
+
*/
|
|
4013
|
+
active_until?: unknown;
|
|
4014
|
+
/**
|
|
4015
|
+
* Field included by default.
|
|
4016
|
+
*/
|
|
4017
|
+
application_id?: string | null | unknown;
|
|
4018
|
+
/**
|
|
4019
|
+
* Field included by default.
|
|
4020
|
+
*/
|
|
4021
|
+
content: string;
|
|
4022
|
+
/**
|
|
4023
|
+
* Field included by default.
|
|
4024
|
+
*/
|
|
4025
|
+
document_type: "terms_of_service" | "privacy_policy" | "baa" | "dpa" | "scc";
|
|
4026
|
+
/**
|
|
4027
|
+
* Field included by default.
|
|
4028
|
+
*/
|
|
4029
|
+
is_active: boolean;
|
|
3516
4030
|
/**
|
|
3517
|
-
*
|
|
4031
|
+
* Field included by default.
|
|
3518
4032
|
*/
|
|
3519
|
-
|
|
3520
|
-
[key: string]: unknown;
|
|
3521
|
-
}> | null | unknown;
|
|
4033
|
+
locale: string;
|
|
3522
4034
|
/**
|
|
3523
4035
|
* Field included by default.
|
|
3524
4036
|
*/
|
|
3525
|
-
|
|
4037
|
+
published_at?: unknown;
|
|
4038
|
+
/**
|
|
4039
|
+
* Field included by default.
|
|
4040
|
+
*/
|
|
4041
|
+
published_by_user_id?: string | null | unknown;
|
|
4042
|
+
/**
|
|
4043
|
+
* Field included by default.
|
|
4044
|
+
*/
|
|
4045
|
+
region?: string | null | unknown;
|
|
4046
|
+
/**
|
|
4047
|
+
* Field included by default.
|
|
4048
|
+
*/
|
|
4049
|
+
requires_acceptance: boolean;
|
|
4050
|
+
/**
|
|
4051
|
+
* Field included by default.
|
|
4052
|
+
*/
|
|
4053
|
+
title: string;
|
|
4054
|
+
/**
|
|
4055
|
+
* Field included by default.
|
|
4056
|
+
*/
|
|
4057
|
+
version: string;
|
|
3526
4058
|
};
|
|
3527
4059
|
id: string;
|
|
3528
4060
|
/**
|
|
3529
|
-
* A relationships object for a
|
|
4061
|
+
* A relationships object for a legal_document
|
|
3530
4062
|
*/
|
|
3531
4063
|
relationships?: {
|
|
3532
|
-
|
|
4064
|
+
application?: {
|
|
4065
|
+
/**
|
|
4066
|
+
* An identifier for application
|
|
4067
|
+
*/
|
|
4068
|
+
data?: {
|
|
4069
|
+
id: string;
|
|
4070
|
+
meta?: {
|
|
4071
|
+
[key: string]: unknown;
|
|
4072
|
+
};
|
|
4073
|
+
type: string;
|
|
4074
|
+
} | null;
|
|
4075
|
+
};
|
|
3533
4076
|
};
|
|
3534
4077
|
type: string;
|
|
3535
4078
|
};
|
|
@@ -3647,6 +4190,150 @@ type CrawlerSchedule = {
|
|
|
3647
4190
|
};
|
|
3648
4191
|
type: string;
|
|
3649
4192
|
};
|
|
4193
|
+
/**
|
|
4194
|
+
* A "Resource object" representing a support_ticket_message
|
|
4195
|
+
*/
|
|
4196
|
+
type SupportTicketMessage = {
|
|
4197
|
+
/**
|
|
4198
|
+
* An attributes object for a support_ticket_message
|
|
4199
|
+
*/
|
|
4200
|
+
attributes?: {
|
|
4201
|
+
/**
|
|
4202
|
+
* Field included by default.
|
|
4203
|
+
*/
|
|
4204
|
+
ai_draft: boolean;
|
|
4205
|
+
/**
|
|
4206
|
+
* Field included by default.
|
|
4207
|
+
*/
|
|
4208
|
+
body: string;
|
|
4209
|
+
/**
|
|
4210
|
+
* Field included by default.
|
|
4211
|
+
*/
|
|
4212
|
+
channel?: string | null | unknown;
|
|
4213
|
+
/**
|
|
4214
|
+
* Field included by default.
|
|
4215
|
+
*/
|
|
4216
|
+
channel_message_id?: string | null | unknown;
|
|
4217
|
+
/**
|
|
4218
|
+
* Field included by default.
|
|
4219
|
+
*/
|
|
4220
|
+
is_internal_note: boolean;
|
|
4221
|
+
/**
|
|
4222
|
+
* Field included by default.
|
|
4223
|
+
*/
|
|
4224
|
+
sender_id?: string | null | unknown;
|
|
4225
|
+
/**
|
|
4226
|
+
* Field included by default.
|
|
4227
|
+
*/
|
|
4228
|
+
sender_type: "customer" | "agent" | "ai" | "system";
|
|
4229
|
+
};
|
|
4230
|
+
id: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* A relationships object for a support_ticket_message
|
|
4233
|
+
*/
|
|
4234
|
+
relationships?: {
|
|
4235
|
+
[key: string]: never;
|
|
4236
|
+
};
|
|
4237
|
+
type: string;
|
|
4238
|
+
};
|
|
4239
|
+
/**
|
|
4240
|
+
* A "Resource object" representing a legal_acceptance
|
|
4241
|
+
*/
|
|
4242
|
+
type LegalAcceptance = {
|
|
4243
|
+
/**
|
|
4244
|
+
* An attributes object for a legal_acceptance
|
|
4245
|
+
*/
|
|
4246
|
+
attributes?: {
|
|
4247
|
+
/**
|
|
4248
|
+
* Field included by default.
|
|
4249
|
+
*/
|
|
4250
|
+
accepted_at: unknown;
|
|
4251
|
+
/**
|
|
4252
|
+
* Field included by default.
|
|
4253
|
+
*/
|
|
4254
|
+
context: "registration" | "version_update" | "periodic_reaccept";
|
|
4255
|
+
/**
|
|
4256
|
+
* Field included by default.
|
|
4257
|
+
*/
|
|
4258
|
+
document_type: "terms_of_service" | "privacy_policy";
|
|
4259
|
+
/**
|
|
4260
|
+
* Field included by default.
|
|
4261
|
+
*/
|
|
4262
|
+
user_id: string;
|
|
4263
|
+
/**
|
|
4264
|
+
* Field included by default.
|
|
4265
|
+
*/
|
|
4266
|
+
version: string;
|
|
4267
|
+
};
|
|
4268
|
+
id: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* A relationships object for a legal_acceptance
|
|
4271
|
+
*/
|
|
4272
|
+
relationships?: {
|
|
4273
|
+
user?: {
|
|
4274
|
+
/**
|
|
4275
|
+
* An identifier for user
|
|
4276
|
+
*/
|
|
4277
|
+
data?: {
|
|
4278
|
+
id: string;
|
|
4279
|
+
meta?: {
|
|
4280
|
+
[key: string]: unknown;
|
|
4281
|
+
};
|
|
4282
|
+
type: string;
|
|
4283
|
+
} | null;
|
|
4284
|
+
};
|
|
4285
|
+
};
|
|
4286
|
+
type: string;
|
|
4287
|
+
};
|
|
4288
|
+
/**
|
|
4289
|
+
* A "Resource object" representing a config
|
|
4290
|
+
*/
|
|
4291
|
+
type Config$2 = {
|
|
4292
|
+
/**
|
|
4293
|
+
* An attributes object for a config
|
|
4294
|
+
*/
|
|
4295
|
+
attributes?: {
|
|
4296
|
+
/**
|
|
4297
|
+
* Field included by default.
|
|
4298
|
+
*/
|
|
4299
|
+
description?: string | null | unknown;
|
|
4300
|
+
/**
|
|
4301
|
+
* Marks this config as containing sensitive data (API keys, secrets, etc.). Field included by default.
|
|
4302
|
+
*/
|
|
4303
|
+
is_sensitive?: boolean | null | unknown;
|
|
4304
|
+
/**
|
|
4305
|
+
* Field included by default.
|
|
4306
|
+
*/
|
|
4307
|
+
value: string;
|
|
4308
|
+
};
|
|
4309
|
+
id: string;
|
|
4310
|
+
/**
|
|
4311
|
+
* A relationships object for a config
|
|
4312
|
+
*/
|
|
4313
|
+
relationships?: {
|
|
4314
|
+
[key: string]: never;
|
|
4315
|
+
};
|
|
4316
|
+
type: string;
|
|
4317
|
+
};
|
|
4318
|
+
/**
|
|
4319
|
+
* A "Resource object" representing a data_protection_impact_assessment
|
|
4320
|
+
*/
|
|
4321
|
+
type DataProtectionImpactAssessment = {
|
|
4322
|
+
/**
|
|
4323
|
+
* An attributes object for a data_protection_impact_assessment
|
|
4324
|
+
*/
|
|
4325
|
+
attributes?: {
|
|
4326
|
+
[key: string]: never;
|
|
4327
|
+
};
|
|
4328
|
+
id: string;
|
|
4329
|
+
/**
|
|
4330
|
+
* A relationships object for a data_protection_impact_assessment
|
|
4331
|
+
*/
|
|
4332
|
+
relationships?: {
|
|
4333
|
+
[key: string]: never;
|
|
4334
|
+
};
|
|
4335
|
+
type: string;
|
|
4336
|
+
};
|
|
3650
4337
|
/**
|
|
3651
4338
|
* A "Resource object" representing a crm_company
|
|
3652
4339
|
*/
|
|
@@ -5025,7 +5712,7 @@ declare class BrowserApiKeyError extends Error {
|
|
|
5025
5712
|
}
|
|
5026
5713
|
|
|
5027
5714
|
/** SDK version — updated automatically by mix update.sdks */
|
|
5028
|
-
declare const SDK_VERSION = "0.3.
|
|
5715
|
+
declare const SDK_VERSION = "0.3.3";
|
|
5029
5716
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
5030
5717
|
declare const DEFAULT_API_VERSION = "2026-02-25";
|
|
5031
5718
|
|
|
@@ -5779,24 +6466,6 @@ declare function createExtractionNamespace(rb: RequestBuilder): {
|
|
|
5779
6466
|
};
|
|
5780
6467
|
};
|
|
5781
6468
|
|
|
5782
|
-
interface Ticket {
|
|
5783
|
-
id: string;
|
|
5784
|
-
[key: string]: unknown;
|
|
5785
|
-
}
|
|
5786
|
-
interface TicketMessage {
|
|
5787
|
-
id: string;
|
|
5788
|
-
[key: string]: unknown;
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
|
-
interface DataStoreRecord {
|
|
5792
|
-
id: string;
|
|
5793
|
-
namespace: string;
|
|
5794
|
-
key: string;
|
|
5795
|
-
value: unknown;
|
|
5796
|
-
version: number;
|
|
5797
|
-
[key: string]: unknown;
|
|
5798
|
-
}
|
|
5799
|
-
|
|
5800
6469
|
type CrmEntityType = "contact" | "custom_entity" | "activity";
|
|
5801
6470
|
type CrmExportFormat = "json" | "csv";
|
|
5802
6471
|
type CrmExportStatus = "pending" | "processing" | "complete" | "failed";
|
|
@@ -5870,20 +6539,6 @@ interface FullscriptSessionGrant {
|
|
|
5870
6539
|
patient_id: string;
|
|
5871
6540
|
}
|
|
5872
6541
|
|
|
5873
|
-
interface ChannelConfig {
|
|
5874
|
-
id: string;
|
|
5875
|
-
channel_type: string;
|
|
5876
|
-
[key: string]: unknown;
|
|
5877
|
-
}
|
|
5878
|
-
interface InboundMessage {
|
|
5879
|
-
id: string;
|
|
5880
|
-
[key: string]: unknown;
|
|
5881
|
-
}
|
|
5882
|
-
interface OutboundMessage {
|
|
5883
|
-
id: string;
|
|
5884
|
-
[key: string]: unknown;
|
|
5885
|
-
}
|
|
5886
|
-
|
|
5887
6542
|
/**
|
|
5888
6543
|
* GPT Core Client SDK
|
|
5889
6544
|
*
|
|
@@ -5970,7 +6625,19 @@ declare class GptClient extends BaseClient {
|
|
|
5970
6625
|
messages: {
|
|
5971
6626
|
list: (options?: RequestOptions) => Promise<Record<string, unknown>[]>;
|
|
5972
6627
|
stream: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions, streamOptions?: StreamOptions) => Promise<AsyncIterableIterator<StreamMessageChunk>>;
|
|
5973
|
-
send: (
|
|
6628
|
+
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6629
|
+
};
|
|
6630
|
+
analytics: {
|
|
6631
|
+
list: (options?: RequestOptions) => Promise<LlmAnalytics[]>;
|
|
6632
|
+
costs: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6633
|
+
summary: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6634
|
+
usage: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6635
|
+
workspace: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6636
|
+
};
|
|
6637
|
+
graph: {
|
|
6638
|
+
listNodes: (options?: RequestOptions) => Promise<Record<string, unknown>[]>;
|
|
6639
|
+
createNode: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6640
|
+
deleteNode: (id: string, options?: RequestOptions) => Promise<true>;
|
|
5974
6641
|
};
|
|
5975
6642
|
};
|
|
5976
6643
|
/** Wallet, plans, transactions, and payment methods */
|
|
@@ -5997,7 +6664,7 @@ declare class GptClient extends BaseClient {
|
|
|
5997
6664
|
creditPackages: {
|
|
5998
6665
|
list: (options?: {
|
|
5999
6666
|
page?: number;
|
|
6000
|
-
pageSize
|
|
6667
|
+
pageSize? /** OAuth and API adapters for external systems */: number;
|
|
6001
6668
|
} & RequestOptions) => Promise<CreditPackage[]>;
|
|
6002
6669
|
listAll: (options?: RequestOptions) => Promise<CreditPackage[]>;
|
|
6003
6670
|
get: (id: string, options?: RequestOptions) => Promise<CreditPackage>;
|
|
@@ -6017,34 +6684,144 @@ declare class GptClient extends BaseClient {
|
|
|
6017
6684
|
/** Product catalog, inventory, pricing, and taxonomy */
|
|
6018
6685
|
readonly catalog: {
|
|
6019
6686
|
products: {
|
|
6020
|
-
list: (
|
|
6687
|
+
list: (workspaceId: string, options?: {
|
|
6021
6688
|
page?: number;
|
|
6022
6689
|
pageSize?: number;
|
|
6023
6690
|
} & RequestOptions) => Promise<CatalogProduct[]>;
|
|
6024
|
-
get: (
|
|
6025
|
-
create: (
|
|
6026
|
-
update: (
|
|
6691
|
+
get: (id: string, options?: RequestOptions) => Promise<CatalogProduct>;
|
|
6692
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogProduct>;
|
|
6693
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogProduct>;
|
|
6694
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6027
6695
|
};
|
|
6028
6696
|
variants: {
|
|
6029
|
-
|
|
6697
|
+
get: (id: string, options?: RequestOptions) => Promise<CatalogProductVariant>;
|
|
6698
|
+
listByProduct: (productId: string, options?: RequestOptions) => Promise<CatalogProductVariant[]>;
|
|
6699
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogProductVariant>;
|
|
6700
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogProductVariant>;
|
|
6701
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6030
6702
|
};
|
|
6031
6703
|
taxonomies: {
|
|
6032
|
-
|
|
6033
|
-
|
|
6704
|
+
listByApplication: (applicationId: string, options?: RequestOptions) => Promise<CatalogTaxonomy[]>;
|
|
6705
|
+
get: (id: string, options?: RequestOptions) => Promise<CatalogTaxonomy>;
|
|
6706
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogTaxonomy>;
|
|
6707
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogTaxonomy>;
|
|
6708
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6709
|
+
};
|
|
6710
|
+
taxonomyNodes: {
|
|
6711
|
+
listByTaxonomy: (taxonomyId: string, options?: RequestOptions) => Promise<CatalogTaxonomyNode[]>;
|
|
6712
|
+
get: (id: string, options?: RequestOptions) => Promise<CatalogTaxonomyNode>;
|
|
6713
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogTaxonomyNode>;
|
|
6714
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CatalogTaxonomyNode>;
|
|
6715
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6034
6716
|
};
|
|
6035
6717
|
};
|
|
6036
|
-
/**
|
|
6037
|
-
readonly
|
|
6038
|
-
|
|
6039
|
-
list: (
|
|
6040
|
-
|
|
6718
|
+
/** HIPAA/GDPR compliance — audit logs, breach incidents, consent, DPIA, data subject requests */
|
|
6719
|
+
readonly compliance: {
|
|
6720
|
+
auditLogs: {
|
|
6721
|
+
list: (options?: {
|
|
6722
|
+
page?: number;
|
|
6723
|
+
pageSize?: number;
|
|
6724
|
+
} & RequestOptions) => Promise<AuditLog[]>;
|
|
6041
6725
|
};
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6726
|
+
auditChain: {
|
|
6727
|
+
list: (options?: {
|
|
6728
|
+
page?: number;
|
|
6729
|
+
pageSize?: number;
|
|
6730
|
+
} & RequestOptions) => Promise<AuditChainEntry[]>;
|
|
6731
|
+
get: (id: string, options?: RequestOptions) => Promise<AuditChainEntry>;
|
|
6732
|
+
};
|
|
6733
|
+
breachIncidents: {
|
|
6734
|
+
list: (options?: {
|
|
6735
|
+
page?: number;
|
|
6736
|
+
pageSize?: number;
|
|
6737
|
+
} & RequestOptions) => Promise<BreachIncident[]>;
|
|
6738
|
+
get: (id: string, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6739
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6740
|
+
updateStatus: (id: string, status: string, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6741
|
+
};
|
|
6742
|
+
breachNotifications: {
|
|
6743
|
+
list: (options?: {
|
|
6744
|
+
page?: number;
|
|
6745
|
+
pageSize?: number;
|
|
6746
|
+
} & RequestOptions) => Promise<BreachNotification[]>;
|
|
6747
|
+
get: (id: string, options?: RequestOptions) => Promise<BreachNotification>;
|
|
6748
|
+
};
|
|
6749
|
+
consentRecords: {
|
|
6750
|
+
list: (options?: {
|
|
6751
|
+
page?: number;
|
|
6752
|
+
pageSize?: number;
|
|
6753
|
+
} & RequestOptions) => Promise<ConsentRecord[]>;
|
|
6754
|
+
get: (id: string, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6755
|
+
listActive: (options?: RequestOptions) => Promise<ConsentRecord[]>;
|
|
6756
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6757
|
+
withdraw: (id: string, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6758
|
+
};
|
|
6759
|
+
impactAssessments: {
|
|
6760
|
+
list: (options?: {
|
|
6761
|
+
page?: number;
|
|
6762
|
+
pageSize?: number;
|
|
6763
|
+
} & RequestOptions) => Promise<DataProtectionImpactAssessment[]>;
|
|
6764
|
+
get: (id: string, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6765
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6766
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6767
|
+
approve: (id: string, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6768
|
+
};
|
|
6769
|
+
processingActivities: {
|
|
6770
|
+
list: (options?: {
|
|
6771
|
+
page?: number;
|
|
6772
|
+
pageSize?: number;
|
|
6773
|
+
} & RequestOptions) => Promise<ProcessingActivity[]>;
|
|
6774
|
+
get: (id: string, options?: RequestOptions) => Promise<ProcessingActivity>;
|
|
6775
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<ProcessingActivity>;
|
|
6776
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6777
|
+
};
|
|
6778
|
+
retentionPolicies: {
|
|
6779
|
+
list: (options?: {
|
|
6780
|
+
page?: number;
|
|
6781
|
+
pageSize?: number;
|
|
6782
|
+
} & RequestOptions) => Promise<RetentionPolicy[]>;
|
|
6783
|
+
get: (id: string, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6784
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6785
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6786
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6787
|
+
};
|
|
6788
|
+
dataSubjectRequests: {
|
|
6789
|
+
list: (options?: {
|
|
6790
|
+
page?: number;
|
|
6791
|
+
pageSize?: number;
|
|
6792
|
+
} & RequestOptions) => Promise<DataSubjectRequest[]>;
|
|
6793
|
+
get: (id: string, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6794
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6795
|
+
updateStatus: (id: string, status: string, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6796
|
+
};
|
|
6797
|
+
legalDocuments: {
|
|
6798
|
+
list: (options?: {
|
|
6045
6799
|
page?: number;
|
|
6046
6800
|
pageSize?: number;
|
|
6047
|
-
} & RequestOptions) => Promise<
|
|
6801
|
+
} & RequestOptions) => Promise<LegalDocument[]>;
|
|
6802
|
+
get: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6803
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6804
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6805
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6806
|
+
byLocale: (locale: string, options?: RequestOptions) => Promise<LegalDocument[]>;
|
|
6807
|
+
forApplication: (options?: RequestOptions) => Promise<LegalDocument[]>;
|
|
6808
|
+
publish: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6809
|
+
unpublish: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6810
|
+
};
|
|
6811
|
+
legalAcceptances: {
|
|
6812
|
+
list: (options?: {
|
|
6813
|
+
page?: number;
|
|
6814
|
+
pageSize?: number;
|
|
6815
|
+
} & RequestOptions) => Promise<LegalAcceptance[]>;
|
|
6816
|
+
get: (id: string, options?: RequestOptions) => Promise<LegalAcceptance>;
|
|
6817
|
+
latest: (options?: RequestOptions) => Promise<LegalAcceptance>;
|
|
6818
|
+
};
|
|
6819
|
+
scanResults: {
|
|
6820
|
+
list: (options?: {
|
|
6821
|
+
page?: number;
|
|
6822
|
+
pageSize?: number;
|
|
6823
|
+
} & RequestOptions) => Promise<ScanResult[]>;
|
|
6824
|
+
get: (id: string, options?: RequestOptions) => Promise<ScanResult>;
|
|
6048
6825
|
};
|
|
6049
6826
|
};
|
|
6050
6827
|
/** Notification logs, methods, and preferences */
|
|
@@ -6096,11 +6873,11 @@ declare class GptClient extends BaseClient {
|
|
|
6096
6873
|
credentials: {
|
|
6097
6874
|
list: (options?: RequestOptions) => Promise<Credential[]>;
|
|
6098
6875
|
get: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6099
|
-
refresh: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6876
|
+
refresh: (id: string, workspaceId: string, options?: RequestOptions) => Promise<Credential>;
|
|
6100
6877
|
};
|
|
6101
6878
|
oauth: {
|
|
6102
6879
|
connect: (connectorType: string, workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6103
|
-
callback: (connectorType: string, code: string, state: string, workspaceId: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6880
|
+
callback: (connectorType: string, code: string, state: string, workspaceId: string, redirectUri?: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6104
6881
|
};
|
|
6105
6882
|
available: {
|
|
6106
6883
|
list: () => string[];
|
|
@@ -6116,7 +6893,7 @@ declare class GptClient extends BaseClient {
|
|
|
6116
6893
|
sessionGrant: (connectorId: string, workspaceId: string, patientId: string, options?: RequestOptions) => Promise<FullscriptSessionGrant>;
|
|
6117
6894
|
oauth: {
|
|
6118
6895
|
connect: (workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6119
|
-
callback: (code: string, state: string, workspaceId: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6896
|
+
callback: (code: string, state: string, workspaceId: string, redirectUri?: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6120
6897
|
};
|
|
6121
6898
|
};
|
|
6122
6899
|
};
|
|
@@ -6182,7 +6959,6 @@ declare class GptClient extends BaseClient {
|
|
|
6182
6959
|
activities: {
|
|
6183
6960
|
get: (id: string, options?: RequestOptions) => Promise<CrmActivity>;
|
|
6184
6961
|
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CrmActivity>;
|
|
6185
|
-
update: (_id: string, _attributes: Record<string, unknown>, _options?: RequestOptions) => Promise<CrmActivity>;
|
|
6186
6962
|
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6187
6963
|
listByWorkspace: (workspaceId: string, options?: {
|
|
6188
6964
|
page?: number;
|
|
@@ -6240,7 +7016,10 @@ declare class GptClient extends BaseClient {
|
|
|
6240
7016
|
list: (entityId: string, options?: {
|
|
6241
7017
|
page?: number;
|
|
6242
7018
|
pageSize?: number;
|
|
6243
|
-
} & RequestOptions) => Promise<
|
|
7019
|
+
} & RequestOptions) => Promise<{
|
|
7020
|
+
data: CrmCustomEntityVersion[];
|
|
7021
|
+
meta?: unknown;
|
|
7022
|
+
}>;
|
|
6244
7023
|
get: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntityVersion>;
|
|
6245
7024
|
restore: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntity>;
|
|
6246
7025
|
};
|
|
@@ -6251,21 +7030,6 @@ declare class GptClient extends BaseClient {
|
|
|
6251
7030
|
list: (workspaceId: string, options?: RequestOptions) => Promise<CrmDataExportJob[]>;
|
|
6252
7031
|
};
|
|
6253
7032
|
};
|
|
6254
|
-
/** Key-value data store with namespaces and TTL */
|
|
6255
|
-
readonly dataStore: {
|
|
6256
|
-
records: {
|
|
6257
|
-
get: (_namespace: string, _key: string, _options?: RequestOptions) => Promise<DataStoreRecord | null>;
|
|
6258
|
-
set: (_namespace: string, _key: string, _value: unknown, _options?: RequestOptions) => Promise<DataStoreRecord>;
|
|
6259
|
-
delete: (_namespace: string, _key: string, _options?: RequestOptions) => Promise<true>;
|
|
6260
|
-
listKeys: (_namespace: string, _options?: RequestOptions) => Promise<string[]>;
|
|
6261
|
-
list: (_namespace: string, _options?: RequestOptions) => Promise<DataStoreRecord[]>;
|
|
6262
|
-
};
|
|
6263
|
-
namespaces: {
|
|
6264
|
-
getPolicy: (_namespace: string, _options?: RequestOptions) => Promise<unknown>;
|
|
6265
|
-
createPolicy: (_attributes: Record<string, unknown>, _options?: RequestOptions) => Promise<unknown>;
|
|
6266
|
-
getStats: (_namespace: string, _options?: RequestOptions) => Promise<unknown>;
|
|
6267
|
-
};
|
|
6268
|
-
};
|
|
6269
7033
|
/** Email campaigns, recipients, and sequences */
|
|
6270
7034
|
readonly emailMarketing: {
|
|
6271
7035
|
campaigns: {
|
|
@@ -6308,20 +7072,25 @@ declare class GptClient extends BaseClient {
|
|
|
6308
7072
|
resume: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
6309
7073
|
};
|
|
6310
7074
|
};
|
|
6311
|
-
/** Support tickets,
|
|
7075
|
+
/** Support tickets, tags, and SLA tracking */
|
|
6312
7076
|
readonly support: {
|
|
6313
7077
|
tickets: {
|
|
6314
|
-
list: (
|
|
7078
|
+
list: (workspaceId: string, options?: {
|
|
6315
7079
|
page?: number;
|
|
6316
7080
|
pageSize?: number;
|
|
6317
|
-
} & RequestOptions) => Promise<
|
|
6318
|
-
get: (
|
|
6319
|
-
create: (
|
|
6320
|
-
update: (
|
|
6321
|
-
|
|
7081
|
+
} & RequestOptions) => Promise<SupportTicket[]>;
|
|
7082
|
+
get: (id: string, options?: RequestOptions) => Promise<SupportTicket>;
|
|
7083
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<SupportTicket>;
|
|
7084
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<SupportTicket>;
|
|
7085
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
7086
|
+
addMessage: (ticketId: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<SupportTicketMessage>;
|
|
7087
|
+
listMessages: (ticketId: string, options?: RequestOptions) => Promise<SupportTicketMessage[]>;
|
|
7088
|
+
rate: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<unknown>;
|
|
6322
7089
|
};
|
|
6323
|
-
|
|
6324
|
-
list: (
|
|
7090
|
+
tags: {
|
|
7091
|
+
list: (workspaceId: string, options?: RequestOptions) => Promise<SupportTag[]>;
|
|
7092
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<SupportTag>;
|
|
7093
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6325
7094
|
};
|
|
6326
7095
|
};
|
|
6327
7096
|
/** Document upload, processing, results, and exports */
|
|
@@ -6528,6 +7297,14 @@ declare class GptClient extends BaseClient {
|
|
|
6528
7297
|
updateProfile: (workspaceId: string, memberId: string, profileAttrs: Record<string, unknown>, options?: RequestOptions) => Promise<WorkspaceMembership>;
|
|
6529
7298
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
6530
7299
|
};
|
|
7300
|
+
configs: {
|
|
7301
|
+
list: (options?: {
|
|
7302
|
+
page?: number;
|
|
7303
|
+
pageSize?: number;
|
|
7304
|
+
} & RequestOptions) => Promise<Config$2[]>;
|
|
7305
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7306
|
+
update: (key: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7307
|
+
};
|
|
6531
7308
|
};
|
|
6532
7309
|
/** Event types, scheduled events, bookings, participants, and calendar sync */
|
|
6533
7310
|
readonly scheduling: {
|
|
@@ -6669,9 +7446,7 @@ declare class GptClient extends BaseClient {
|
|
|
6669
7446
|
transcribe: (audio: File | Blob, params?: {
|
|
6670
7447
|
language?: string;
|
|
6671
7448
|
modelSize?: "tiny" | "base" | "small" | "medium" | "large";
|
|
6672
|
-
phiMode
|
|
6673
|
-
/** Contacts, companies, deals, activities, pipelines, relationships, and custom entities */
|
|
6674
|
-
?: "none" | "tokenize" | "tokenize_encrypt";
|
|
7449
|
+
phiMode?: "none" | "tokenize" | "tokenize_encrypt";
|
|
6675
7450
|
phiKey?: string;
|
|
6676
7451
|
}, options?: RequestOptions) => Promise<VoiceTranscribeResult>;
|
|
6677
7452
|
sessions: {
|
|
@@ -7095,7 +7870,33 @@ declare function createAiNamespace(rb: RequestBuilder): {
|
|
|
7095
7870
|
/** Stream a message to an AI conversation via SSE */
|
|
7096
7871
|
stream: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions, streamOptions?: StreamOptions) => Promise<AsyncIterableIterator<StreamMessageChunk>>;
|
|
7097
7872
|
/** Send a message to an AI conversation (non-streaming) */
|
|
7098
|
-
send: (
|
|
7873
|
+
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7874
|
+
};
|
|
7875
|
+
/**
|
|
7876
|
+
* Analytics — LLM token usage, costs, and workspace metrics
|
|
7877
|
+
*/
|
|
7878
|
+
analytics: {
|
|
7879
|
+
/** List LLM analytics records */
|
|
7880
|
+
list: (options?: RequestOptions) => Promise<LlmAnalytics[]>;
|
|
7881
|
+
/** Get LLM cost breakdown */
|
|
7882
|
+
costs: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7883
|
+
/** Get LLM usage summary */
|
|
7884
|
+
summary: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7885
|
+
/** Get raw LLM usage data */
|
|
7886
|
+
usage: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7887
|
+
/** Get workspace-scoped LLM metrics */
|
|
7888
|
+
workspace: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7889
|
+
};
|
|
7890
|
+
/**
|
|
7891
|
+
* Graph — knowledge graph node management
|
|
7892
|
+
*/
|
|
7893
|
+
graph: {
|
|
7894
|
+
/** List knowledge graph nodes */
|
|
7895
|
+
listNodes: (options?: RequestOptions) => Promise<Record<string, unknown>[]>;
|
|
7896
|
+
/** Create a knowledge graph node */
|
|
7897
|
+
createNode: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7898
|
+
/** Delete a knowledge graph node */
|
|
7899
|
+
deleteNode: (id: string, options?: RequestOptions) => Promise<true>;
|
|
7099
7900
|
};
|
|
7100
7901
|
};
|
|
7101
7902
|
|
|
@@ -7184,6 +7985,17 @@ declare function createPlatformNamespace(rb: RequestBuilder): {
|
|
|
7184
7985
|
/** Remove a user from a workspace */
|
|
7185
7986
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
7186
7987
|
};
|
|
7988
|
+
configs: {
|
|
7989
|
+
/** List application configuration entries */
|
|
7990
|
+
list: (options?: {
|
|
7991
|
+
page?: number;
|
|
7992
|
+
pageSize?: number;
|
|
7993
|
+
} & RequestOptions) => Promise<Config$2[]>;
|
|
7994
|
+
/** Create a configuration entry */
|
|
7995
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7996
|
+
/** Update a configuration entry by key */
|
|
7997
|
+
update: (key: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7998
|
+
};
|
|
7187
7999
|
};
|
|
7188
8000
|
|
|
7189
8001
|
declare function createWebhooksNamespace(rb: RequestBuilder): {
|
|
@@ -7375,4 +8187,4 @@ type WebhooksAPI = ReturnType<typeof createWebhooksNamespace>;
|
|
|
7375
8187
|
type SchedulingAPI = ReturnType<typeof createSchedulingNamespace>;
|
|
7376
8188
|
type VoiceAPI = ReturnType<typeof createVoiceNamespace>;
|
|
7377
8189
|
|
|
7378
|
-
export { API_KEY_PREFIXES, type AgentsAPI, type AiAPI, type ApiKey, type AppInfo, AuthenticationError, AuthorizationError, type BaseClientConfig, type BillingAPI, BrowserApiKeyError, type CommunicationAPI, ConflictError, DEFAULT_API_VERSION, DEFAULT_RETRY_CONFIG, type ExtractionAPI, GptClient, GptCoreError, type IdentityAPI, InsecureConnectionError, LOG_LEVELS, type LogLevel, type Logger, NetworkError, NotFoundError, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PlatformAPI, RateLimitError, RequestBuilder, type RequestOptions, type RetryConfig, RetryTimeoutError, SDK_VERSION, type SchedulingAPI, type SdkErrorEvent, SdkEventEmitter, type SdkEvents, type SdkRequestEvent, type SdkResponseEvent, type SdkRetryEvent, type SearchAPI, type SecurityConfig, ServerError, type StorageAPI, type StreamMessageChunk, type StreamOptions, type Tenant, type ThreadsAPI, TimeoutError, type User, ValidationError, type VoiceAPI, type VoiceTranscribeResult, WebhookSignatureError, type WebhookVerifyOptions, Webhooks, type WebhooksAPI, buildHeaders, buildUserAgent, collectStreamedMessage, handleApiError, isBrowserEnvironment, isSecureUrl, paginateAll, paginateToArray, retryWithBackoff, streamMessage, streamSSE, validateApiKey, withRetry };
|
|
8190
|
+
export { API_KEY_PREFIXES, type AgentsAPI, type AiAPI, type ApiKey, type AppInfo, AuthenticationError, AuthorizationError, type BaseClientConfig, type BillingAPI, BrowserApiKeyError, type CommunicationAPI, ConflictError, DEFAULT_API_VERSION, DEFAULT_RETRY_CONFIG, type ExtractionAPI, GptClient, GptCoreError, type IdentityAPI, InsecureConnectionError, LOG_LEVELS, type LogLevel, type Logger, NetworkError, NotFoundError, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PlatformAPI, RateLimitError, RequestBuilder, type RequestOptions, type RetryConfig, RetryTimeoutError, SDK_VERSION, type SchedulingAPI, type SdkErrorEvent, SdkEventEmitter, type SdkEvents, type SdkRequestEvent, type SdkResponseEvent, type SdkRetryEvent, type SearchAPI, type SecurityConfig, ServerError, type StorageAPI, type StreamMessageChunk, type StreamOptions, type Tenant, type ThreadsAPI, TimeoutError, type User, ValidationError, type VoiceAPI, type VoiceSessionStart, type VoiceTranscribeResult, WebhookSignatureError, type WebhookVerifyOptions, Webhooks, type WebhooksAPI, buildHeaders, buildUserAgent, collectStreamedMessage, handleApiError, isBrowserEnvironment, isSecureUrl, paginateAll, paginateToArray, retryWithBackoff, streamMessage, streamSSE, validateApiKey, withRetry };
|