@gpt-platform/client 0.3.1 → 0.3.4
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 +700 -19
- package/dist/index.d.ts +700 -19
- package/dist/index.js +1220 -160
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1220 -160
- package/dist/index.mjs.map +1 -1
- package/llms.txt +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
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
|
*/
|
|
@@ -1020,6 +1077,10 @@ type CrmContact = {
|
|
|
1020
1077
|
* Field included by default.
|
|
1021
1078
|
*/
|
|
1022
1079
|
source?: "manual" | "import" | "channel" | "connector" | "ai_extracted" | "api" | unknown;
|
|
1080
|
+
/**
|
|
1081
|
+
* Field included by default.
|
|
1082
|
+
*/
|
|
1083
|
+
tags?: Array<string> | null | unknown;
|
|
1023
1084
|
/**
|
|
1024
1085
|
* Field included by default.
|
|
1025
1086
|
*/
|
|
@@ -1500,6 +1561,25 @@ type CrmPipeline = {
|
|
|
1500
1561
|
};
|
|
1501
1562
|
type: string;
|
|
1502
1563
|
};
|
|
1564
|
+
/**
|
|
1565
|
+
* A "Resource object" representing a processing_activity
|
|
1566
|
+
*/
|
|
1567
|
+
type ProcessingActivity = {
|
|
1568
|
+
/**
|
|
1569
|
+
* An attributes object for a processing_activity
|
|
1570
|
+
*/
|
|
1571
|
+
attributes?: {
|
|
1572
|
+
[key: string]: never;
|
|
1573
|
+
};
|
|
1574
|
+
id: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* A relationships object for a processing_activity
|
|
1577
|
+
*/
|
|
1578
|
+
relationships?: {
|
|
1579
|
+
[key: string]: never;
|
|
1580
|
+
};
|
|
1581
|
+
type: string;
|
|
1582
|
+
};
|
|
1503
1583
|
/**
|
|
1504
1584
|
* A "Resource object" representing a crm_relationship
|
|
1505
1585
|
*/
|
|
@@ -1570,6 +1650,25 @@ type SupportTag = {
|
|
|
1570
1650
|
};
|
|
1571
1651
|
type: string;
|
|
1572
1652
|
};
|
|
1653
|
+
/**
|
|
1654
|
+
* A "Resource object" representing a breach_notification
|
|
1655
|
+
*/
|
|
1656
|
+
type BreachNotification = {
|
|
1657
|
+
/**
|
|
1658
|
+
* An attributes object for a breach_notification
|
|
1659
|
+
*/
|
|
1660
|
+
attributes?: {
|
|
1661
|
+
[key: string]: never;
|
|
1662
|
+
};
|
|
1663
|
+
id: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* A relationships object for a breach_notification
|
|
1666
|
+
*/
|
|
1667
|
+
relationships?: {
|
|
1668
|
+
[key: string]: never;
|
|
1669
|
+
};
|
|
1670
|
+
type: string;
|
|
1671
|
+
};
|
|
1573
1672
|
/**
|
|
1574
1673
|
* A "Resource object" representing a plan
|
|
1575
1674
|
*/
|
|
@@ -2008,6 +2107,25 @@ type ApiKey = {
|
|
|
2008
2107
|
};
|
|
2009
2108
|
type: string;
|
|
2010
2109
|
};
|
|
2110
|
+
/**
|
|
2111
|
+
* A "Resource object" representing a breach_incident
|
|
2112
|
+
*/
|
|
2113
|
+
type BreachIncident = {
|
|
2114
|
+
/**
|
|
2115
|
+
* An attributes object for a breach_incident
|
|
2116
|
+
*/
|
|
2117
|
+
attributes?: {
|
|
2118
|
+
[key: string]: never;
|
|
2119
|
+
};
|
|
2120
|
+
id: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* A relationships object for a breach_incident
|
|
2123
|
+
*/
|
|
2124
|
+
relationships?: {
|
|
2125
|
+
[key: string]: never;
|
|
2126
|
+
};
|
|
2127
|
+
type: string;
|
|
2128
|
+
};
|
|
2011
2129
|
/**
|
|
2012
2130
|
* A "Resource object" representing a crm_custom_entity
|
|
2013
2131
|
*/
|
|
@@ -2635,7 +2753,7 @@ type Credential = {
|
|
|
2635
2753
|
/**
|
|
2636
2754
|
* Field included by default.
|
|
2637
2755
|
*/
|
|
2638
|
-
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
2756
|
+
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "fhir_r4" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom" | "edamam";
|
|
2639
2757
|
/**
|
|
2640
2758
|
* Number of consecutive token refresh failures. Reset to 0 on successful refresh. Field included by default.
|
|
2641
2759
|
*/
|
|
@@ -3192,7 +3310,7 @@ type ConnectorInstance = {
|
|
|
3192
3310
|
/**
|
|
3193
3311
|
* Field included by default.
|
|
3194
3312
|
*/
|
|
3195
|
-
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom";
|
|
3313
|
+
connector_type: "salesforce" | "hubspot" | "slack" | "notion" | "sharepoint" | "gmail" | "outlook" | "microsoft_365" | "jira" | "confluence" | "fullscript" | "fhir_r4" | "github" | "gitlab" | "google_calendar" | "google_chat" | "custom" | "edamam";
|
|
3196
3314
|
/**
|
|
3197
3315
|
* Field included by default.
|
|
3198
3316
|
*/
|
|
@@ -3244,6 +3362,25 @@ type ConnectorInstance = {
|
|
|
3244
3362
|
};
|
|
3245
3363
|
type: string;
|
|
3246
3364
|
};
|
|
3365
|
+
/**
|
|
3366
|
+
* A "Resource object" representing a llm_analytics
|
|
3367
|
+
*/
|
|
3368
|
+
type LlmAnalytics = {
|
|
3369
|
+
/**
|
|
3370
|
+
* An attributes object for a llm_analytics
|
|
3371
|
+
*/
|
|
3372
|
+
attributes?: {
|
|
3373
|
+
[key: string]: never;
|
|
3374
|
+
};
|
|
3375
|
+
id: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* A relationships object for a llm_analytics
|
|
3378
|
+
*/
|
|
3379
|
+
relationships?: {
|
|
3380
|
+
[key: string]: never;
|
|
3381
|
+
};
|
|
3382
|
+
type: string;
|
|
3383
|
+
};
|
|
3247
3384
|
/**
|
|
3248
3385
|
* A "Resource object" representing a crm_deal
|
|
3249
3386
|
*/
|
|
@@ -3366,6 +3503,189 @@ type CatalogProductVariant = {
|
|
|
3366
3503
|
};
|
|
3367
3504
|
type: string;
|
|
3368
3505
|
};
|
|
3506
|
+
/**
|
|
3507
|
+
* A "Resource object" representing a audit_chain_entry
|
|
3508
|
+
*/
|
|
3509
|
+
type AuditChainEntry = {
|
|
3510
|
+
/**
|
|
3511
|
+
* An attributes object for a audit_chain_entry
|
|
3512
|
+
*/
|
|
3513
|
+
attributes?: {
|
|
3514
|
+
[key: string]: never;
|
|
3515
|
+
};
|
|
3516
|
+
id: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* A relationships object for a audit_chain_entry
|
|
3519
|
+
*/
|
|
3520
|
+
relationships?: {
|
|
3521
|
+
[key: string]: never;
|
|
3522
|
+
};
|
|
3523
|
+
type: string;
|
|
3524
|
+
};
|
|
3525
|
+
/**
|
|
3526
|
+
* A "Resource object" representing a audit-log
|
|
3527
|
+
*/
|
|
3528
|
+
type AuditLog = {
|
|
3529
|
+
/**
|
|
3530
|
+
* An attributes object for a audit-log
|
|
3531
|
+
*/
|
|
3532
|
+
attributes?: {
|
|
3533
|
+
/**
|
|
3534
|
+
* Field included by default.
|
|
3535
|
+
*/
|
|
3536
|
+
action: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* Field included by default.
|
|
3539
|
+
*/
|
|
3540
|
+
actor_id?: string | null | unknown;
|
|
3541
|
+
/**
|
|
3542
|
+
* Which admin interface originated this action. Field included by default.
|
|
3543
|
+
*/
|
|
3544
|
+
admin_context?: "platform_admin" | "isv_admin" | "app_api" | "sys_api" | unknown;
|
|
3545
|
+
/**
|
|
3546
|
+
* Field included by default.
|
|
3547
|
+
*/
|
|
3548
|
+
changes?: {
|
|
3549
|
+
[key: string]: unknown;
|
|
3550
|
+
} | null | unknown;
|
|
3551
|
+
/**
|
|
3552
|
+
* IP address of the request. Field included by default.
|
|
3553
|
+
*/
|
|
3554
|
+
ip_address?: string | null | unknown;
|
|
3555
|
+
/**
|
|
3556
|
+
* Field included by default.
|
|
3557
|
+
*/
|
|
3558
|
+
resource_id: string;
|
|
3559
|
+
/**
|
|
3560
|
+
* Field included by default.
|
|
3561
|
+
*/
|
|
3562
|
+
resource_type: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* UUID of target entity. Field included by default.
|
|
3565
|
+
*/
|
|
3566
|
+
target_id?: string | null | unknown;
|
|
3567
|
+
/**
|
|
3568
|
+
* Display name of target entity for UI rendering. Field included by default.
|
|
3569
|
+
*/
|
|
3570
|
+
target_name?: string | null | unknown;
|
|
3571
|
+
/**
|
|
3572
|
+
* Type of target entity (document, workspace, agent, member, export). Field included by default.
|
|
3573
|
+
*/
|
|
3574
|
+
target_type?: string | null | unknown;
|
|
3575
|
+
/**
|
|
3576
|
+
* Field included by default.
|
|
3577
|
+
*/
|
|
3578
|
+
tenant_id?: string | null | unknown;
|
|
3579
|
+
/**
|
|
3580
|
+
* User agent of the request. Field included by default.
|
|
3581
|
+
*/
|
|
3582
|
+
user_agent?: string | null | unknown;
|
|
3583
|
+
/**
|
|
3584
|
+
* Field included by default.
|
|
3585
|
+
*/
|
|
3586
|
+
workspace_id?: string | null | unknown;
|
|
3587
|
+
};
|
|
3588
|
+
id: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* A relationships object for a audit-log
|
|
3591
|
+
*/
|
|
3592
|
+
relationships?: {
|
|
3593
|
+
actor?: {
|
|
3594
|
+
/**
|
|
3595
|
+
* An identifier for actor
|
|
3596
|
+
*/
|
|
3597
|
+
data?: {
|
|
3598
|
+
id: string;
|
|
3599
|
+
meta?: {
|
|
3600
|
+
[key: string]: unknown;
|
|
3601
|
+
};
|
|
3602
|
+
type: string;
|
|
3603
|
+
} | null;
|
|
3604
|
+
};
|
|
3605
|
+
tenant?: {
|
|
3606
|
+
/**
|
|
3607
|
+
* An identifier for tenant
|
|
3608
|
+
*/
|
|
3609
|
+
data?: {
|
|
3610
|
+
id: string;
|
|
3611
|
+
meta?: {
|
|
3612
|
+
[key: string]: unknown;
|
|
3613
|
+
};
|
|
3614
|
+
type: string;
|
|
3615
|
+
} | null;
|
|
3616
|
+
};
|
|
3617
|
+
workspace?: {
|
|
3618
|
+
/**
|
|
3619
|
+
* An identifier for workspace
|
|
3620
|
+
*/
|
|
3621
|
+
data?: {
|
|
3622
|
+
id: string;
|
|
3623
|
+
meta?: {
|
|
3624
|
+
[key: string]: unknown;
|
|
3625
|
+
};
|
|
3626
|
+
type: string;
|
|
3627
|
+
} | null;
|
|
3628
|
+
};
|
|
3629
|
+
};
|
|
3630
|
+
type: string;
|
|
3631
|
+
};
|
|
3632
|
+
/**
|
|
3633
|
+
* A "Resource object" representing a consent_record
|
|
3634
|
+
*/
|
|
3635
|
+
type ConsentRecord = {
|
|
3636
|
+
/**
|
|
3637
|
+
* An attributes object for a consent_record
|
|
3638
|
+
*/
|
|
3639
|
+
attributes?: {
|
|
3640
|
+
/**
|
|
3641
|
+
* Human-readable description of what was consented to. Field included by default.
|
|
3642
|
+
*/
|
|
3643
|
+
description?: string | null | unknown;
|
|
3644
|
+
/**
|
|
3645
|
+
* Field included by default.
|
|
3646
|
+
*/
|
|
3647
|
+
granted_at: unknown;
|
|
3648
|
+
/**
|
|
3649
|
+
* GDPR Article 6 lawful basis for processing. Field included by default.
|
|
3650
|
+
*/
|
|
3651
|
+
lawful_basis: "consent" | "contract" | "legal_obligation" | "vital_interests" | "public_task" | "legitimate_interest";
|
|
3652
|
+
/**
|
|
3653
|
+
* Field included by default.
|
|
3654
|
+
*/
|
|
3655
|
+
purpose: "ai_document_processing" | "data_analytics" | "marketing_communications" | "third_party_sharing";
|
|
3656
|
+
/**
|
|
3657
|
+
* Field included by default.
|
|
3658
|
+
*/
|
|
3659
|
+
status: "granted" | "withdrawn";
|
|
3660
|
+
/**
|
|
3661
|
+
* Field included by default.
|
|
3662
|
+
*/
|
|
3663
|
+
user_id: string;
|
|
3664
|
+
/**
|
|
3665
|
+
* Field included by default.
|
|
3666
|
+
*/
|
|
3667
|
+
withdrawn_at?: unknown;
|
|
3668
|
+
};
|
|
3669
|
+
id: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* A relationships object for a consent_record
|
|
3672
|
+
*/
|
|
3673
|
+
relationships?: {
|
|
3674
|
+
user?: {
|
|
3675
|
+
/**
|
|
3676
|
+
* An identifier for user
|
|
3677
|
+
*/
|
|
3678
|
+
data?: {
|
|
3679
|
+
id: string;
|
|
3680
|
+
meta?: {
|
|
3681
|
+
[key: string]: unknown;
|
|
3682
|
+
};
|
|
3683
|
+
type: string;
|
|
3684
|
+
} | null;
|
|
3685
|
+
};
|
|
3686
|
+
};
|
|
3687
|
+
type: string;
|
|
3688
|
+
};
|
|
3369
3689
|
/**
|
|
3370
3690
|
* A "Resource object" representing a voice_session
|
|
3371
3691
|
*/
|
|
@@ -3679,6 +3999,87 @@ type ExtractionBatch = {
|
|
|
3679
3999
|
};
|
|
3680
4000
|
type: string;
|
|
3681
4001
|
};
|
|
4002
|
+
/**
|
|
4003
|
+
* A "Resource object" representing a legal_document
|
|
4004
|
+
*/
|
|
4005
|
+
type LegalDocument = {
|
|
4006
|
+
/**
|
|
4007
|
+
* An attributes object for a legal_document
|
|
4008
|
+
*/
|
|
4009
|
+
attributes?: {
|
|
4010
|
+
/**
|
|
4011
|
+
* Field included by default.
|
|
4012
|
+
*/
|
|
4013
|
+
active_from?: unknown;
|
|
4014
|
+
/**
|
|
4015
|
+
* Field included by default.
|
|
4016
|
+
*/
|
|
4017
|
+
active_until?: unknown;
|
|
4018
|
+
/**
|
|
4019
|
+
* Field included by default.
|
|
4020
|
+
*/
|
|
4021
|
+
application_id?: string | null | unknown;
|
|
4022
|
+
/**
|
|
4023
|
+
* Field included by default.
|
|
4024
|
+
*/
|
|
4025
|
+
content: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* Field included by default.
|
|
4028
|
+
*/
|
|
4029
|
+
document_type: "terms_of_service" | "privacy_policy" | "baa" | "dpa" | "scc";
|
|
4030
|
+
/**
|
|
4031
|
+
* Field included by default.
|
|
4032
|
+
*/
|
|
4033
|
+
is_active: boolean;
|
|
4034
|
+
/**
|
|
4035
|
+
* Field included by default.
|
|
4036
|
+
*/
|
|
4037
|
+
locale: string;
|
|
4038
|
+
/**
|
|
4039
|
+
* Field included by default.
|
|
4040
|
+
*/
|
|
4041
|
+
published_at?: unknown;
|
|
4042
|
+
/**
|
|
4043
|
+
* Field included by default.
|
|
4044
|
+
*/
|
|
4045
|
+
published_by_user_id?: string | null | unknown;
|
|
4046
|
+
/**
|
|
4047
|
+
* Field included by default.
|
|
4048
|
+
*/
|
|
4049
|
+
region?: string | null | unknown;
|
|
4050
|
+
/**
|
|
4051
|
+
* Field included by default.
|
|
4052
|
+
*/
|
|
4053
|
+
requires_acceptance: boolean;
|
|
4054
|
+
/**
|
|
4055
|
+
* Field included by default.
|
|
4056
|
+
*/
|
|
4057
|
+
title: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* Field included by default.
|
|
4060
|
+
*/
|
|
4061
|
+
version: string;
|
|
4062
|
+
};
|
|
4063
|
+
id: string;
|
|
4064
|
+
/**
|
|
4065
|
+
* A relationships object for a legal_document
|
|
4066
|
+
*/
|
|
4067
|
+
relationships?: {
|
|
4068
|
+
application?: {
|
|
4069
|
+
/**
|
|
4070
|
+
* An identifier for application
|
|
4071
|
+
*/
|
|
4072
|
+
data?: {
|
|
4073
|
+
id: string;
|
|
4074
|
+
meta?: {
|
|
4075
|
+
[key: string]: unknown;
|
|
4076
|
+
};
|
|
4077
|
+
type: string;
|
|
4078
|
+
} | null;
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
4081
|
+
type: string;
|
|
4082
|
+
};
|
|
3682
4083
|
/**
|
|
3683
4084
|
* A "Resource object" representing a workspace-membership
|
|
3684
4085
|
*/
|
|
@@ -3839,6 +4240,104 @@ type SupportTicketMessage = {
|
|
|
3839
4240
|
};
|
|
3840
4241
|
type: string;
|
|
3841
4242
|
};
|
|
4243
|
+
/**
|
|
4244
|
+
* A "Resource object" representing a legal_acceptance
|
|
4245
|
+
*/
|
|
4246
|
+
type LegalAcceptance = {
|
|
4247
|
+
/**
|
|
4248
|
+
* An attributes object for a legal_acceptance
|
|
4249
|
+
*/
|
|
4250
|
+
attributes?: {
|
|
4251
|
+
/**
|
|
4252
|
+
* Field included by default.
|
|
4253
|
+
*/
|
|
4254
|
+
accepted_at: unknown;
|
|
4255
|
+
/**
|
|
4256
|
+
* Field included by default.
|
|
4257
|
+
*/
|
|
4258
|
+
context: "registration" | "version_update" | "periodic_reaccept";
|
|
4259
|
+
/**
|
|
4260
|
+
* Field included by default.
|
|
4261
|
+
*/
|
|
4262
|
+
document_type: "terms_of_service" | "privacy_policy";
|
|
4263
|
+
/**
|
|
4264
|
+
* Field included by default.
|
|
4265
|
+
*/
|
|
4266
|
+
user_id: string;
|
|
4267
|
+
/**
|
|
4268
|
+
* Field included by default.
|
|
4269
|
+
*/
|
|
4270
|
+
version: string;
|
|
4271
|
+
};
|
|
4272
|
+
id: string;
|
|
4273
|
+
/**
|
|
4274
|
+
* A relationships object for a legal_acceptance
|
|
4275
|
+
*/
|
|
4276
|
+
relationships?: {
|
|
4277
|
+
user?: {
|
|
4278
|
+
/**
|
|
4279
|
+
* An identifier for user
|
|
4280
|
+
*/
|
|
4281
|
+
data?: {
|
|
4282
|
+
id: string;
|
|
4283
|
+
meta?: {
|
|
4284
|
+
[key: string]: unknown;
|
|
4285
|
+
};
|
|
4286
|
+
type: string;
|
|
4287
|
+
} | null;
|
|
4288
|
+
};
|
|
4289
|
+
};
|
|
4290
|
+
type: string;
|
|
4291
|
+
};
|
|
4292
|
+
/**
|
|
4293
|
+
* A "Resource object" representing a config
|
|
4294
|
+
*/
|
|
4295
|
+
type Config$2 = {
|
|
4296
|
+
/**
|
|
4297
|
+
* An attributes object for a config
|
|
4298
|
+
*/
|
|
4299
|
+
attributes?: {
|
|
4300
|
+
/**
|
|
4301
|
+
* Field included by default.
|
|
4302
|
+
*/
|
|
4303
|
+
description?: string | null | unknown;
|
|
4304
|
+
/**
|
|
4305
|
+
* Marks this config as containing sensitive data (API keys, secrets, etc.). Field included by default.
|
|
4306
|
+
*/
|
|
4307
|
+
is_sensitive?: boolean | null | unknown;
|
|
4308
|
+
/**
|
|
4309
|
+
* Field included by default.
|
|
4310
|
+
*/
|
|
4311
|
+
value: string;
|
|
4312
|
+
};
|
|
4313
|
+
id: string;
|
|
4314
|
+
/**
|
|
4315
|
+
* A relationships object for a config
|
|
4316
|
+
*/
|
|
4317
|
+
relationships?: {
|
|
4318
|
+
[key: string]: never;
|
|
4319
|
+
};
|
|
4320
|
+
type: string;
|
|
4321
|
+
};
|
|
4322
|
+
/**
|
|
4323
|
+
* A "Resource object" representing a data_protection_impact_assessment
|
|
4324
|
+
*/
|
|
4325
|
+
type DataProtectionImpactAssessment = {
|
|
4326
|
+
/**
|
|
4327
|
+
* An attributes object for a data_protection_impact_assessment
|
|
4328
|
+
*/
|
|
4329
|
+
attributes?: {
|
|
4330
|
+
[key: string]: never;
|
|
4331
|
+
};
|
|
4332
|
+
id: string;
|
|
4333
|
+
/**
|
|
4334
|
+
* A relationships object for a data_protection_impact_assessment
|
|
4335
|
+
*/
|
|
4336
|
+
relationships?: {
|
|
4337
|
+
[key: string]: never;
|
|
4338
|
+
};
|
|
4339
|
+
type: string;
|
|
4340
|
+
};
|
|
3842
4341
|
/**
|
|
3843
4342
|
* A "Resource object" representing a crm_company
|
|
3844
4343
|
*/
|
|
@@ -5217,9 +5716,9 @@ declare class BrowserApiKeyError extends Error {
|
|
|
5217
5716
|
}
|
|
5218
5717
|
|
|
5219
5718
|
/** SDK version — updated automatically by mix update.sdks */
|
|
5220
|
-
declare const SDK_VERSION = "0.3.
|
|
5719
|
+
declare const SDK_VERSION = "0.3.4";
|
|
5221
5720
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
5222
|
-
declare const DEFAULT_API_VERSION = "2026-02-
|
|
5721
|
+
declare const DEFAULT_API_VERSION = "2026-02-27";
|
|
5223
5722
|
|
|
5224
5723
|
/** Security configuration options */
|
|
5225
5724
|
interface SecurityConfig {
|
|
@@ -5733,10 +6232,16 @@ interface OAuthSignInOptions {
|
|
|
5733
6232
|
redirectUrl?: string;
|
|
5734
6233
|
}
|
|
5735
6234
|
declare function createIdentityNamespace(rb: RequestBuilder, baseUrl?: string): {
|
|
5736
|
-
/**
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
6235
|
+
/**
|
|
6236
|
+
* Login with email and password — returns the authenticated user.
|
|
6237
|
+
* The session token is available as `result.token` (flattened from `data.attributes.token`).
|
|
6238
|
+
*/
|
|
6239
|
+
login: (email: string, password: string, options?: RequestOptions) => Promise<User>;
|
|
6240
|
+
/**
|
|
6241
|
+
* Register a new user account — returns the newly created user.
|
|
6242
|
+
* The session token is available as `result.token` (flattened from `data.attributes.token`).
|
|
6243
|
+
*/
|
|
6244
|
+
register: (email: string, password: string, passwordConfirmation: string, tenantName: string, options?: RequestOptions) => Promise<User>;
|
|
5740
6245
|
/** Get the currently authenticated user */
|
|
5741
6246
|
me: (options?: RequestOptions) => Promise<User>;
|
|
5742
6247
|
/** Get the current user profile (alias for me()) */
|
|
@@ -6132,6 +6637,18 @@ declare class GptClient extends BaseClient {
|
|
|
6132
6637
|
stream: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions, streamOptions?: StreamOptions) => Promise<AsyncIterableIterator<StreamMessageChunk>>;
|
|
6133
6638
|
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6134
6639
|
};
|
|
6640
|
+
analytics: {
|
|
6641
|
+
list: (options?: RequestOptions) => Promise<LlmAnalytics[]>;
|
|
6642
|
+
costs: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6643
|
+
summary: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6644
|
+
usage: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6645
|
+
workspace: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6646
|
+
};
|
|
6647
|
+
graph: {
|
|
6648
|
+
listNodes: (options?: RequestOptions) => Promise<Record<string, unknown>[]>;
|
|
6649
|
+
createNode: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
6650
|
+
deleteNode: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6651
|
+
};
|
|
6135
6652
|
};
|
|
6136
6653
|
/** Wallet, plans, transactions, and payment methods */
|
|
6137
6654
|
readonly billing: {
|
|
@@ -6157,7 +6674,7 @@ declare class GptClient extends BaseClient {
|
|
|
6157
6674
|
creditPackages: {
|
|
6158
6675
|
list: (options?: {
|
|
6159
6676
|
page?: number;
|
|
6160
|
-
pageSize
|
|
6677
|
+
pageSize? /** OAuth and API adapters for external systems */: number;
|
|
6161
6678
|
} & RequestOptions) => Promise<CreditPackage[]>;
|
|
6162
6679
|
listAll: (options?: RequestOptions) => Promise<CreditPackage[]>;
|
|
6163
6680
|
get: (id: string, options?: RequestOptions) => Promise<CreditPackage>;
|
|
@@ -6208,6 +6725,115 @@ declare class GptClient extends BaseClient {
|
|
|
6208
6725
|
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6209
6726
|
};
|
|
6210
6727
|
};
|
|
6728
|
+
/** HIPAA/GDPR compliance — audit logs, breach incidents, consent, DPIA, data subject requests */
|
|
6729
|
+
readonly compliance: {
|
|
6730
|
+
auditLogs: {
|
|
6731
|
+
list: (options?: {
|
|
6732
|
+
page?: number;
|
|
6733
|
+
pageSize?: number;
|
|
6734
|
+
} & RequestOptions) => Promise<AuditLog[]>;
|
|
6735
|
+
};
|
|
6736
|
+
auditChain: {
|
|
6737
|
+
list: (options?: {
|
|
6738
|
+
page?: number;
|
|
6739
|
+
pageSize?: number;
|
|
6740
|
+
} & RequestOptions) => Promise<AuditChainEntry[]>;
|
|
6741
|
+
get: (id: string, options?: RequestOptions) => Promise<AuditChainEntry>;
|
|
6742
|
+
};
|
|
6743
|
+
breachIncidents: {
|
|
6744
|
+
list: (options?: {
|
|
6745
|
+
page?: number;
|
|
6746
|
+
pageSize?: number;
|
|
6747
|
+
} & RequestOptions) => Promise<BreachIncident[]>;
|
|
6748
|
+
get: (id: string, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6749
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6750
|
+
updateStatus: (id: string, status: string, options?: RequestOptions) => Promise<BreachIncident>;
|
|
6751
|
+
};
|
|
6752
|
+
breachNotifications: {
|
|
6753
|
+
list: (options?: {
|
|
6754
|
+
page?: number;
|
|
6755
|
+
pageSize?: number;
|
|
6756
|
+
} & RequestOptions) => Promise<BreachNotification[]>;
|
|
6757
|
+
get: (id: string, options?: RequestOptions) => Promise<BreachNotification>;
|
|
6758
|
+
};
|
|
6759
|
+
consentRecords: {
|
|
6760
|
+
list: (options?: {
|
|
6761
|
+
page?: number;
|
|
6762
|
+
pageSize?: number;
|
|
6763
|
+
} & RequestOptions) => Promise<ConsentRecord[]>;
|
|
6764
|
+
get: (id: string, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6765
|
+
listActive: (options?: RequestOptions) => Promise<ConsentRecord[]>;
|
|
6766
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6767
|
+
withdraw: (id: string, options?: RequestOptions) => Promise<ConsentRecord>;
|
|
6768
|
+
};
|
|
6769
|
+
impactAssessments: {
|
|
6770
|
+
list: (options?: {
|
|
6771
|
+
page?: number;
|
|
6772
|
+
pageSize?: number;
|
|
6773
|
+
} & RequestOptions) => Promise<DataProtectionImpactAssessment[]>;
|
|
6774
|
+
get: (id: string, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6775
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6776
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6777
|
+
approve: (id: string, options?: RequestOptions) => Promise<DataProtectionImpactAssessment>;
|
|
6778
|
+
};
|
|
6779
|
+
processingActivities: {
|
|
6780
|
+
list: (options?: {
|
|
6781
|
+
page?: number;
|
|
6782
|
+
pageSize?: number;
|
|
6783
|
+
} & RequestOptions) => Promise<ProcessingActivity[]>;
|
|
6784
|
+
get: (id: string, options?: RequestOptions) => Promise<ProcessingActivity>;
|
|
6785
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<ProcessingActivity>;
|
|
6786
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6787
|
+
};
|
|
6788
|
+
retentionPolicies: {
|
|
6789
|
+
list: (options?: {
|
|
6790
|
+
page?: number;
|
|
6791
|
+
pageSize?: number;
|
|
6792
|
+
} & RequestOptions) => Promise<RetentionPolicy[]>;
|
|
6793
|
+
get: (id: string, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6794
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6795
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<RetentionPolicy>;
|
|
6796
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6797
|
+
};
|
|
6798
|
+
dataSubjectRequests: {
|
|
6799
|
+
list: (options?: {
|
|
6800
|
+
page?: number;
|
|
6801
|
+
pageSize?: number;
|
|
6802
|
+
} & RequestOptions) => Promise<DataSubjectRequest[]>;
|
|
6803
|
+
get: (id: string, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6804
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6805
|
+
updateStatus: (id: string, status: string, options?: RequestOptions) => Promise<DataSubjectRequest>;
|
|
6806
|
+
};
|
|
6807
|
+
legalDocuments: {
|
|
6808
|
+
list: (options?: {
|
|
6809
|
+
page?: number;
|
|
6810
|
+
pageSize?: number;
|
|
6811
|
+
} & RequestOptions) => Promise<LegalDocument[]>;
|
|
6812
|
+
get: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6813
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6814
|
+
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6815
|
+
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6816
|
+
byLocale: (locale: string, options?: RequestOptions) => Promise<LegalDocument[]>;
|
|
6817
|
+
forApplication: (options?: RequestOptions) => Promise<LegalDocument[]>;
|
|
6818
|
+
publish: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6819
|
+
unpublish: (id: string, options?: RequestOptions) => Promise<LegalDocument>;
|
|
6820
|
+
};
|
|
6821
|
+
legalAcceptances: {
|
|
6822
|
+
list: (options?: {
|
|
6823
|
+
page?: number;
|
|
6824
|
+
pageSize?: number;
|
|
6825
|
+
} & RequestOptions) => Promise<LegalAcceptance[]>;
|
|
6826
|
+
get: (id: string, options?: RequestOptions) => Promise<LegalAcceptance>;
|
|
6827
|
+
latest: (options?: RequestOptions) => Promise<LegalAcceptance>;
|
|
6828
|
+
};
|
|
6829
|
+
scanResults: {
|
|
6830
|
+
list: (options?: {
|
|
6831
|
+
page?: number;
|
|
6832
|
+
pageSize?: number;
|
|
6833
|
+
} & RequestOptions) => Promise<ScanResult[]>;
|
|
6834
|
+
get: (id: string, options?: RequestOptions) => Promise<ScanResult>;
|
|
6835
|
+
};
|
|
6836
|
+
};
|
|
6211
6837
|
/** Notification logs, methods, and preferences */
|
|
6212
6838
|
readonly communication: {
|
|
6213
6839
|
notifications: {
|
|
@@ -6257,11 +6883,11 @@ declare class GptClient extends BaseClient {
|
|
|
6257
6883
|
credentials: {
|
|
6258
6884
|
list: (options?: RequestOptions) => Promise<Credential[]>;
|
|
6259
6885
|
get: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6260
|
-
refresh: (id: string, options?: RequestOptions) => Promise<Credential>;
|
|
6886
|
+
refresh: (id: string, workspaceId: string, options?: RequestOptions) => Promise<Credential>;
|
|
6261
6887
|
};
|
|
6262
6888
|
oauth: {
|
|
6263
6889
|
connect: (connectorType: string, workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6264
|
-
callback: (connectorType: string, code: string, state: string, workspaceId: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6890
|
+
callback: (connectorType: string, code: string, state: string, workspaceId: string, redirectUri?: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6265
6891
|
};
|
|
6266
6892
|
available: {
|
|
6267
6893
|
list: () => string[];
|
|
@@ -6277,7 +6903,7 @@ declare class GptClient extends BaseClient {
|
|
|
6277
6903
|
sessionGrant: (connectorId: string, workspaceId: string, patientId: string, options?: RequestOptions) => Promise<FullscriptSessionGrant>;
|
|
6278
6904
|
oauth: {
|
|
6279
6905
|
connect: (workspaceId: string, options?: RequestOptions) => Promise<OAuthInitiateResult>;
|
|
6280
|
-
callback: (code: string, state: string, workspaceId: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6906
|
+
callback: (code: string, state: string, workspaceId: string, redirectUri?: string, options?: RequestOptions) => Promise<ConnectorInstance>;
|
|
6281
6907
|
};
|
|
6282
6908
|
};
|
|
6283
6909
|
};
|
|
@@ -6316,6 +6942,15 @@ declare class GptClient extends BaseClient {
|
|
|
6316
6942
|
update: (id: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<CrmContact>;
|
|
6317
6943
|
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
6318
6944
|
listByWorkspace: (workspaceId: string, options?: {
|
|
6945
|
+
status?: "lead" | "marketing_qualified" | "sales_qualified" | "opportunity" | "customer" | "evangelist" | "churned";
|
|
6946
|
+
filters?: AttributeFilter[];
|
|
6947
|
+
tags?: string[];
|
|
6948
|
+
page?: number;
|
|
6949
|
+
pageSize?: number;
|
|
6950
|
+
} & RequestOptions) => Promise<CrmContact[]>;
|
|
6951
|
+
archive: (id: string, options?: RequestOptions) => Promise<CrmContact>;
|
|
6952
|
+
unarchive: (id: string, options?: RequestOptions) => Promise<CrmContact>;
|
|
6953
|
+
listArchived: (workspaceId: string, options?: {
|
|
6319
6954
|
page?: number;
|
|
6320
6955
|
pageSize?: number;
|
|
6321
6956
|
} & RequestOptions) => Promise<CrmContact[]>;
|
|
@@ -6400,7 +7035,10 @@ declare class GptClient extends BaseClient {
|
|
|
6400
7035
|
list: (entityId: string, options?: {
|
|
6401
7036
|
page?: number;
|
|
6402
7037
|
pageSize?: number;
|
|
6403
|
-
} & RequestOptions) => Promise<
|
|
7038
|
+
} & RequestOptions) => Promise<{
|
|
7039
|
+
data: CrmCustomEntityVersion[];
|
|
7040
|
+
meta?: unknown;
|
|
7041
|
+
}>;
|
|
6404
7042
|
get: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntityVersion>;
|
|
6405
7043
|
restore: (entityId: string, versionId: string, options?: RequestOptions) => Promise<CrmCustomEntity>;
|
|
6406
7044
|
};
|
|
@@ -6555,8 +7193,8 @@ declare class GptClient extends BaseClient {
|
|
|
6555
7193
|
};
|
|
6556
7194
|
/** User authentication, profiles, and API key management */
|
|
6557
7195
|
readonly identity: {
|
|
6558
|
-
login: (email: string, password: string, options?: RequestOptions) => Promise<
|
|
6559
|
-
register: (email: string, password: string, passwordConfirmation: string, options?: RequestOptions) => Promise<
|
|
7196
|
+
login: (email: string, password: string, options?: RequestOptions) => Promise<User>;
|
|
7197
|
+
register: (email: string, password: string, passwordConfirmation: string, tenantName: string, options?: RequestOptions) => Promise<User>;
|
|
6560
7198
|
me: (options?: RequestOptions) => Promise<User>;
|
|
6561
7199
|
profile: (options?: RequestOptions) => Promise<User>;
|
|
6562
7200
|
list: (options?: {
|
|
@@ -6619,9 +7257,7 @@ declare class GptClient extends BaseClient {
|
|
|
6619
7257
|
get: (id: string, options?: RequestOptions) => Promise<Workspace>;
|
|
6620
7258
|
create: (name: string, slug?: string, options?: RequestOptions) => Promise<Workspace>;
|
|
6621
7259
|
listExtractionExportsByWorkspace: (workspaceId: string, options?: {
|
|
6622
|
-
page
|
|
6623
|
-
/** Support tickets, tags, and SLA tracking */
|
|
6624
|
-
? /** Support tickets, tags, and SLA tracking */: number;
|
|
7260
|
+
page?: number;
|
|
6625
7261
|
pageSize?: number;
|
|
6626
7262
|
} & RequestOptions) => Promise<Workspace[]>;
|
|
6627
7263
|
listAllExtractionExportsByWorkspace: (workspaceId: string, options?: RequestOptions) => Promise<Workspace[]>;
|
|
@@ -6680,6 +7316,14 @@ declare class GptClient extends BaseClient {
|
|
|
6680
7316
|
updateProfile: (workspaceId: string, memberId: string, profileAttrs: Record<string, unknown>, options?: RequestOptions) => Promise<WorkspaceMembership>;
|
|
6681
7317
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
6682
7318
|
};
|
|
7319
|
+
configs: {
|
|
7320
|
+
list: (options?: {
|
|
7321
|
+
page?: number;
|
|
7322
|
+
pageSize?: number;
|
|
7323
|
+
} & RequestOptions) => Promise<Config$2[]>;
|
|
7324
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7325
|
+
update: (key: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
7326
|
+
};
|
|
6683
7327
|
};
|
|
6684
7328
|
/** Event types, scheduled events, bookings, participants, and calendar sync */
|
|
6685
7329
|
readonly scheduling: {
|
|
@@ -7247,6 +7891,32 @@ declare function createAiNamespace(rb: RequestBuilder): {
|
|
|
7247
7891
|
/** Send a message to an AI conversation (non-streaming) */
|
|
7248
7892
|
send: (conversationId: string, body: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7249
7893
|
};
|
|
7894
|
+
/**
|
|
7895
|
+
* Analytics — LLM token usage, costs, and workspace metrics
|
|
7896
|
+
*/
|
|
7897
|
+
analytics: {
|
|
7898
|
+
/** List LLM analytics records */
|
|
7899
|
+
list: (options?: RequestOptions) => Promise<LlmAnalytics[]>;
|
|
7900
|
+
/** Get LLM cost breakdown */
|
|
7901
|
+
costs: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7902
|
+
/** Get LLM usage summary */
|
|
7903
|
+
summary: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7904
|
+
/** Get raw LLM usage data */
|
|
7905
|
+
usage: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7906
|
+
/** Get workspace-scoped LLM metrics */
|
|
7907
|
+
workspace: (options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7908
|
+
};
|
|
7909
|
+
/**
|
|
7910
|
+
* Graph — knowledge graph node management
|
|
7911
|
+
*/
|
|
7912
|
+
graph: {
|
|
7913
|
+
/** List knowledge graph nodes */
|
|
7914
|
+
listNodes: (options?: RequestOptions) => Promise<Record<string, unknown>[]>;
|
|
7915
|
+
/** Create a knowledge graph node */
|
|
7916
|
+
createNode: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Record<string, unknown>>;
|
|
7917
|
+
/** Delete a knowledge graph node */
|
|
7918
|
+
deleteNode: (id: string, options?: RequestOptions) => Promise<true>;
|
|
7919
|
+
};
|
|
7250
7920
|
};
|
|
7251
7921
|
|
|
7252
7922
|
declare function createPlatformNamespace(rb: RequestBuilder): {
|
|
@@ -7334,6 +8004,17 @@ declare function createPlatformNamespace(rb: RequestBuilder): {
|
|
|
7334
8004
|
/** Remove a user from a workspace */
|
|
7335
8005
|
remove: (workspaceId: string, memberId: string, options?: RequestOptions) => Promise<true>;
|
|
7336
8006
|
};
|
|
8007
|
+
configs: {
|
|
8008
|
+
/** List application configuration entries */
|
|
8009
|
+
list: (options?: {
|
|
8010
|
+
page?: number;
|
|
8011
|
+
pageSize?: number;
|
|
8012
|
+
} & RequestOptions) => Promise<Config$2[]>;
|
|
8013
|
+
/** Create a configuration entry */
|
|
8014
|
+
create: (attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
8015
|
+
/** Update a configuration entry by key */
|
|
8016
|
+
update: (key: string, attributes: Record<string, unknown>, options?: RequestOptions) => Promise<Config$2>;
|
|
8017
|
+
};
|
|
7337
8018
|
};
|
|
7338
8019
|
|
|
7339
8020
|
declare function createWebhooksNamespace(rb: RequestBuilder): {
|
|
@@ -7525,4 +8206,4 @@ type WebhooksAPI = ReturnType<typeof createWebhooksNamespace>;
|
|
|
7525
8206
|
type SchedulingAPI = ReturnType<typeof createSchedulingNamespace>;
|
|
7526
8207
|
type VoiceAPI = ReturnType<typeof createVoiceNamespace>;
|
|
7527
8208
|
|
|
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 };
|
|
8209
|
+
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 };
|