@gpt-platform/client 0.3.1 → 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 +674 -12
- package/dist/index.d.ts +674 -12
- package/dist/index.js +1014 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1014 -18
- 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
|
*/
|
|
@@ -1570,6 +1646,25 @@ type SupportTag = {
|
|
|
1570
1646
|
};
|
|
1571
1647
|
type: string;
|
|
1572
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
|
+
};
|
|
1573
1668
|
/**
|
|
1574
1669
|
* A "Resource object" representing a plan
|
|
1575
1670
|
*/
|
|
@@ -2008,6 +2103,25 @@ type ApiKey = {
|
|
|
2008
2103
|
};
|
|
2009
2104
|
type: string;
|
|
2010
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
|
+
};
|
|
2011
2125
|
/**
|
|
2012
2126
|
* A "Resource object" representing a crm_custom_entity
|
|
2013
2127
|
*/
|
|
@@ -2635,7 +2749,7 @@ type Credential = {
|
|
|
2635
2749
|
/**
|
|
2636
2750
|
* Field included by default.
|
|
2637
2751
|
*/
|
|
2638
|
-
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";
|
|
2639
2753
|
/**
|
|
2640
2754
|
* Number of consecutive token refresh failures. Reset to 0 on successful refresh. Field included by default.
|
|
2641
2755
|
*/
|
|
@@ -3192,7 +3306,7 @@ type ConnectorInstance = {
|
|
|
3192
3306
|
/**
|
|
3193
3307
|
* Field included by default.
|
|
3194
3308
|
*/
|
|
3195
|
-
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";
|
|
3196
3310
|
/**
|
|
3197
3311
|
* Field included by default.
|
|
3198
3312
|
*/
|
|
@@ -3244,6 +3358,25 @@ type ConnectorInstance = {
|
|
|
3244
3358
|
};
|
|
3245
3359
|
type: string;
|
|
3246
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
|
+
};
|
|
3247
3380
|
/**
|
|
3248
3381
|
* A "Resource object" representing a crm_deal
|
|
3249
3382
|
*/
|
|
@@ -3366,6 +3499,189 @@ type CatalogProductVariant = {
|
|
|
3366
3499
|
};
|
|
3367
3500
|
type: string;
|
|
3368
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
|
+
};
|
|
3369
3685
|
/**
|
|
3370
3686
|
* A "Resource object" representing a voice_session
|
|
3371
3687
|
*/
|
|
@@ -3679,6 +3995,87 @@ type ExtractionBatch = {
|
|
|
3679
3995
|
};
|
|
3680
3996
|
type: string;
|
|
3681
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;
|
|
4030
|
+
/**
|
|
4031
|
+
* Field included by default.
|
|
4032
|
+
*/
|
|
4033
|
+
locale: string;
|
|
4034
|
+
/**
|
|
4035
|
+
* Field included by default.
|
|
4036
|
+
*/
|
|
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;
|
|
4058
|
+
};
|
|
4059
|
+
id: string;
|
|
4060
|
+
/**
|
|
4061
|
+
* A relationships object for a legal_document
|
|
4062
|
+
*/
|
|
4063
|
+
relationships?: {
|
|
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
|
+
};
|
|
4076
|
+
};
|
|
4077
|
+
type: string;
|
|
4078
|
+
};
|
|
3682
4079
|
/**
|
|
3683
4080
|
* A "Resource object" representing a workspace-membership
|
|
3684
4081
|
*/
|
|
@@ -3839,6 +4236,104 @@ type SupportTicketMessage = {
|
|
|
3839
4236
|
};
|
|
3840
4237
|
type: string;
|
|
3841
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
|
+
};
|
|
3842
4337
|
/**
|
|
3843
4338
|
* A "Resource object" representing a crm_company
|
|
3844
4339
|
*/
|
|
@@ -5217,7 +5712,7 @@ declare class BrowserApiKeyError extends Error {
|
|
|
5217
5712
|
}
|
|
5218
5713
|
|
|
5219
5714
|
/** SDK version — updated automatically by mix update.sdks */
|
|
5220
|
-
declare const SDK_VERSION = "0.3.
|
|
5715
|
+
declare const SDK_VERSION = "0.3.3";
|
|
5221
5716
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
5222
5717
|
declare const DEFAULT_API_VERSION = "2026-02-25";
|
|
5223
5718
|
|
|
@@ -6132,6 +6627,18 @@ declare class GptClient extends BaseClient {
|
|
|
6132
6627
|
stream: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions, streamOptions?: StreamOptions) => Promise<AsyncIterableIterator<StreamMessageChunk>>;
|
|
6133
6628
|
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6134
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>;
|
|
6641
|
+
};
|
|
6135
6642
|
};
|
|
6136
6643
|
/** Wallet, plans, transactions, and payment methods */
|
|
6137
6644
|
readonly billing: {
|
|
@@ -6157,7 +6664,7 @@ declare class GptClient extends BaseClient {
|
|
|
6157
6664
|
creditPackages: {
|
|
6158
6665
|
list: (options?: {
|
|
6159
6666
|
page?: number;
|
|
6160
|
-
pageSize
|
|
6667
|
+
pageSize? /** OAuth and API adapters for external systems */: number;
|
|
6161
6668
|
} & RequestOptions) => Promise<CreditPackage[]>;
|
|
6162
6669
|
listAll: (options?: RequestOptions) => Promise<CreditPackage[]>;
|
|
6163
6670
|
get: (id: string, options?: RequestOptions) => Promise<CreditPackage>;
|
|
@@ -6208,6 +6715,115 @@ declare class GptClient extends BaseClient {
|
|
|
6208
6715
|
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6209
6716
|
};
|
|
6210
6717
|
};
|
|
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[]>;
|
|
6725
|
+
};
|
|
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?: {
|
|
6799
|
+
page?: number;
|
|
6800
|
+
pageSize?: number;
|
|
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>;
|
|
6825
|
+
};
|
|
6826
|
+
};
|
|
6211
6827
|
/** Notification logs, methods, and preferences */
|
|
6212
6828
|
readonly communication: {
|
|
6213
6829
|
notifications: {
|
|
@@ -6257,11 +6873,11 @@ declare class GptClient extends BaseClient {
|
|
|
6257
6873
|
credentials: {
|
|
6258
6874
|
list: (options?: RequestOptions) => Promise<Credential[]>;
|
|
6259
6875
|
get: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6260
|
-
refresh: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6876
|
+
refresh: (id: string, workspaceId: string, options?: RequestOptions) => Promise<Credential>;
|
|
6261
6877
|
};
|
|
6262
6878
|
oauth: {
|
|
6263
6879
|
connect: (connectorType: string, workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6264
|
-
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>;
|
|
6265
6881
|
};
|
|
6266
6882
|
available: {
|
|
6267
6883
|
list: () => string[];
|
|
@@ -6277,7 +6893,7 @@ declare class GptClient extends BaseClient {
|
|
|
6277
6893
|
sessionGrant: (connectorId: string, workspaceId: string, patientId: string, options?: RequestOptions) => Promise<FullscriptSessionGrant>;
|
|
6278
6894
|
oauth: {
|
|
6279
6895
|
connect: (workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6280
|
-
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>;
|
|
6281
6897
|
};
|
|
6282
6898
|
};
|
|
6283
6899
|
};
|
|
@@ -6400,7 +7016,10 @@ declare class GptClient extends BaseClient {
|
|
|
6400
7016
|
list: (entityId: string, options?: {
|
|
6401
7017
|
page?: number;
|
|
6402
7018
|
pageSize?: number;
|
|
6403
|
-
} & RequestOptions) => Promise<
|
|
7019
|
+
} & RequestOptions) => Promise<{
|
|
7020
|
+
data: CrmCustomEntityVersion[];
|
|
7021
|
+
meta?: unknown;
|
|
7022
|
+
}>;
|
|
6404
7023
|
get: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntityVersion>;
|
|
6405
7024
|
restore: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntity>;
|
|
6406
7025
|
};
|
|
@@ -6619,9 +7238,7 @@ declare class GptClient extends BaseClient {
|
|
|
6619
7238
|
get: (id: string, options?: RequestOptions) => Promise<Workspace>;
|
|
6620
7239
|
create: (name: string, slug?: string, options?: RequestOptions) => Promise<Workspace>;
|
|
6621
7240
|
listExtractionExportsByWorkspace: (workspaceId: string, options?: {
|
|
6622
|
-
page
|
|
6623
|
-
/** Support tickets, tags, and SLA tracking */
|
|
6624
|
-
? /** Support tickets, tags, and SLA tracking */: number;
|
|
7241
|
+
page?: number;
|
|
6625
7242
|
pageSize?: number;
|
|
6626
7243
|
} & RequestOptions) => Promise<Workspace[]>;
|
|
6627
7244
|
listAllExtractionExportsByWorkspace: (workspaceId: string, options?: RequestOptions) => Promise<Workspace[]>;
|
|
@@ -6680,6 +7297,14 @@ declare class GptClient extends BaseClient {
|
|
|
6680
7297
|
updateProfile: (workspaceId: string, memberId: string, profileAttrs: Record<string, unknown>, options?: RequestOptions) => Promise<WorkspaceMembership>;
|
|
6681
7298
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
6682
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
|
+
};
|
|
6683
7308
|
};
|
|
6684
7309
|
/** Event types, scheduled events, bookings, participants, and calendar sync */
|
|
6685
7310
|
readonly scheduling: {
|
|
@@ -7247,6 +7872,32 @@ declare function createAiNamespace(rb: RequestBuilder): {
|
|
|
7247
7872
|
/** Send a message to an AI conversation (non-streaming) */
|
|
7248
7873
|
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7249
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>;
|
|
7900
|
+
};
|
|
7250
7901
|
};
|
|
7251
7902
|
|
|
7252
7903
|
declare function createPlatformNamespace(rb: RequestBuilder): {
|
|
@@ -7334,6 +7985,17 @@ declare function createPlatformNamespace(rb: RequestBuilder): {
|
|
|
7334
7985
|
/** Remove a user from a workspace */
|
|
7335
7986
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
7336
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
|
+
};
|
|
7337
7999
|
};
|
|
7338
8000
|
|
|
7339
8001
|
declare function createWebhooksNamespace(rb: RequestBuilder): {
|
|
@@ -7525,4 +8187,4 @@ type WebhooksAPI = ReturnType<typeof createWebhooksNamespace>;
|
|
|
7525
8187
|
type SchedulingAPI = ReturnType<typeof createSchedulingNamespace>;
|
|
7526
8188
|
type VoiceAPI = ReturnType<typeof createVoiceNamespace>;
|
|
7527
8189
|
|
|
7528
|
-
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 };
|