@proteos/sdk 0.93.1 → 0.94.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DXF354K4.js → chunk-TJGUHXZP.js} +5 -3
- package/dist/chunk-TJGUHXZP.js.map +1 -0
- package/dist/{chunk-SUS4QR63.cjs → chunk-VKCPXFOR.cjs} +5 -2
- package/dist/chunk-VKCPXFOR.cjs.map +1 -0
- package/dist/index.cjs +487 -171
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1125 -19
- package/dist/index.d.ts +1125 -19
- package/dist/index.js +358 -49
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +100 -96
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.js +1 -1
- package/dist/{types-BbiiuHnH.d.cts → types-UHBpVQQI.d.cts} +19 -1
- package/dist/{types-BbiiuHnH.d.ts → types-UHBpVQQI.d.ts} +19 -1
- package/package.json +1 -1
- package/src/auth/platform-entities.ts +9 -0
- package/src/conversation/types.ts +10 -0
- package/src/data/index.ts +10 -0
- package/src/data/record-drafts.ts +38 -7
- package/src/data/types.ts +135 -9
- package/src/enrichment/index.ts +512 -0
- package/src/enrichment/types.ts +836 -0
- package/src/index.ts +104 -0
- package/src/meta/index.ts +2 -0
- package/src/meta/types.ts +18 -0
- package/dist/chunk-DXF354K4.js.map +0 -1
- package/dist/chunk-SUS4QR63.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-
|
|
2
|
-
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_ACTION_MATCH_MAX_LIMIT, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionMatchSchema, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageSchema, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, TriggerPageBindingSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUser, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-
|
|
1
|
+
import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-TJGUHXZP.js';
|
|
2
|
+
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_ACTION_MATCH_MAX_LIMIT, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionMatchSchema, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageSchema, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, SuggestionsModeSchema, TriggerPageBindingSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUser, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-TJGUHXZP.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { fetchEventSource } from '@microsoft/fetch-event-source';
|
|
5
5
|
|
|
@@ -1114,7 +1114,16 @@ var PLATFORM_ENTITIES = [
|
|
|
1114
1114
|
{ slug: "discovery-evidence", name: "Discovery Evidence" },
|
|
1115
1115
|
// Interview guides an admin writes; whoever reads a definition reads its
|
|
1116
1116
|
// interviews, and whoever writes it invites people.
|
|
1117
|
-
{ slug: "discovery-interview-definitions", name: "Discovery Interview Definitions" }
|
|
1117
|
+
{ slug: "discovery-interview-definitions", name: "Discovery Interview Definitions" },
|
|
1118
|
+
// Enrichment (enrichment-service): filling fields through provider
|
|
1119
|
+
// waterfalls on the platform's keys. write = start an enrichment run.
|
|
1120
|
+
{ slug: "enrichment-runs", name: "Enrichment Runs" },
|
|
1121
|
+
// An entity's enrichment configuration: which attributes get filled, from
|
|
1122
|
+
// what, and on which triggers.
|
|
1123
|
+
{ slug: "enrichment-mappings", name: "Enrichment Mappings" },
|
|
1124
|
+
// Usage (usage-service): the metering ledger. Read-only and org-level —
|
|
1125
|
+
// whoever reads usage reads all of the org's usage.
|
|
1126
|
+
{ slug: "usage-records", name: "Usage Records" }
|
|
1118
1127
|
];
|
|
1119
1128
|
var PLATFORM_ENTITY_SLUGS = PLATFORM_ENTITIES.map(
|
|
1120
1129
|
(entity) => entity.slug
|
|
@@ -3310,6 +3319,17 @@ var RecordDraftServiceImpl = class {
|
|
|
3310
3319
|
request
|
|
3311
3320
|
);
|
|
3312
3321
|
}
|
|
3322
|
+
async proposedValues(query) {
|
|
3323
|
+
const response = await this.client.requestWithQuery(
|
|
3324
|
+
"GET",
|
|
3325
|
+
`${RECORD_DRAFTS_BASE_PATH}/proposed-values`,
|
|
3326
|
+
{
|
|
3327
|
+
entity_slug: query.entity_slug,
|
|
3328
|
+
...query.record_ids && query.record_ids.length > 0 ? { record_ids: query.record_ids.join(",") } : {}
|
|
3329
|
+
}
|
|
3330
|
+
);
|
|
3331
|
+
return response.data ?? [];
|
|
3332
|
+
}
|
|
3313
3333
|
};
|
|
3314
3334
|
|
|
3315
3335
|
// src/data/records.ts
|
|
@@ -3424,10 +3444,28 @@ var BatchUpsertTransactionResultSchema = z.object({
|
|
|
3424
3444
|
var BatchUpsertRecordsResponseSchema = z.object({
|
|
3425
3445
|
results: z.array(BatchUpsertTransactionResultSchema)
|
|
3426
3446
|
});
|
|
3447
|
+
function isRecordDraftReference(value) {
|
|
3448
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return false;
|
|
3449
|
+
const keys = Object.keys(value);
|
|
3450
|
+
return keys.length === 1 && keys[0] === "transaction_id" && typeof value.transaction_id === "string";
|
|
3451
|
+
}
|
|
3452
|
+
var RecordDraftEvidenceSchema = z.object({
|
|
3453
|
+
label: z.string().optional(),
|
|
3454
|
+
confidence: z.number().min(0).max(1).optional(),
|
|
3455
|
+
citations: z.array(
|
|
3456
|
+
z.object({
|
|
3457
|
+
title: z.string().optional(),
|
|
3458
|
+
url: z.string().optional(),
|
|
3459
|
+
snippet: z.string().optional()
|
|
3460
|
+
})
|
|
3461
|
+
).optional()
|
|
3462
|
+
});
|
|
3427
3463
|
var RecordDraftItemSchema = z.object({
|
|
3428
3464
|
transaction_id: z.string(),
|
|
3465
|
+
entity_slug: z.string().optional(),
|
|
3429
3466
|
id: z.string().optional(),
|
|
3430
|
-
data: z.record(z.string(), z.unknown()).optional()
|
|
3467
|
+
data: z.record(z.string(), z.unknown()).optional(),
|
|
3468
|
+
evidence: z.record(z.string(), RecordDraftEvidenceSchema).optional()
|
|
3431
3469
|
});
|
|
3432
3470
|
var RecordDraftItemResultSchema = z.object({
|
|
3433
3471
|
transaction_id: z.string(),
|
|
@@ -3658,6 +3696,277 @@ var DiscoveryInterviewServiceImpl = class {
|
|
|
3658
3696
|
}
|
|
3659
3697
|
};
|
|
3660
3698
|
|
|
3699
|
+
// src/enrichment/index.ts
|
|
3700
|
+
var ENRICHMENT_BASE_PATH = "/enrichment/v1";
|
|
3701
|
+
var encode2 = encodeURIComponent;
|
|
3702
|
+
var WAITING_REQUEST_TIMEOUT_MS = 75e3;
|
|
3703
|
+
var EnrichmentClient = class {
|
|
3704
|
+
constructor(client) {
|
|
3705
|
+
this.client = client;
|
|
3706
|
+
this.runs = new EnrichmentRunServiceImpl(client);
|
|
3707
|
+
this.mappings = new EnrichmentMappingServiceImpl(client);
|
|
3708
|
+
this.waterfalls = new WaterfallServiceImpl(client);
|
|
3709
|
+
this.connections = new EnrichmentConnectionServiceImpl(client);
|
|
3710
|
+
this.research = new ResearchServiceImpl(client);
|
|
3711
|
+
this.signals = new SignalServiceImpl(client);
|
|
3712
|
+
this.catalog = new EnrichmentCatalogServiceImpl(client);
|
|
3713
|
+
}
|
|
3714
|
+
client;
|
|
3715
|
+
runs;
|
|
3716
|
+
mappings;
|
|
3717
|
+
waterfalls;
|
|
3718
|
+
connections;
|
|
3719
|
+
research;
|
|
3720
|
+
signals;
|
|
3721
|
+
catalog;
|
|
3722
|
+
/** Fills attributes ad hoc: the values are returned, nothing is written. */
|
|
3723
|
+
enrich(request) {
|
|
3724
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrich`, request, {
|
|
3725
|
+
timeout: WAITING_REQUEST_TIMEOUT_MS
|
|
3726
|
+
});
|
|
3727
|
+
}
|
|
3728
|
+
};
|
|
3729
|
+
var EnrichmentRunServiceImpl = class {
|
|
3730
|
+
constructor(client) {
|
|
3731
|
+
this.client = client;
|
|
3732
|
+
}
|
|
3733
|
+
client;
|
|
3734
|
+
create(request) {
|
|
3735
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrichment-runs`, request, {
|
|
3736
|
+
timeout: WAITING_REQUEST_TIMEOUT_MS
|
|
3737
|
+
});
|
|
3738
|
+
}
|
|
3739
|
+
list(query = {}) {
|
|
3740
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/enrichment-runs`, query);
|
|
3741
|
+
}
|
|
3742
|
+
get(id) {
|
|
3743
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}`);
|
|
3744
|
+
}
|
|
3745
|
+
async listItems(id) {
|
|
3746
|
+
const response = await this.client.request(
|
|
3747
|
+
"GET",
|
|
3748
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}/items`
|
|
3749
|
+
);
|
|
3750
|
+
return response.data;
|
|
3751
|
+
}
|
|
3752
|
+
cancel(id) {
|
|
3753
|
+
return this.client.request(
|
|
3754
|
+
"POST",
|
|
3755
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}/cancel`
|
|
3756
|
+
);
|
|
3757
|
+
}
|
|
3758
|
+
provenance(entitySlug, recordId) {
|
|
3759
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/provenance`, {
|
|
3760
|
+
entity_slug: entitySlug,
|
|
3761
|
+
record_id: recordId
|
|
3762
|
+
});
|
|
3763
|
+
}
|
|
3764
|
+
};
|
|
3765
|
+
var EnrichmentMappingServiceImpl = class {
|
|
3766
|
+
constructor(client) {
|
|
3767
|
+
this.client = client;
|
|
3768
|
+
}
|
|
3769
|
+
client;
|
|
3770
|
+
entryPath(entitySlug, attribute) {
|
|
3771
|
+
return `${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}/attributes/${encode2(attribute)}`;
|
|
3772
|
+
}
|
|
3773
|
+
get(entitySlug) {
|
|
3774
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}`);
|
|
3775
|
+
}
|
|
3776
|
+
replace(entitySlug, request) {
|
|
3777
|
+
return this.client.request(
|
|
3778
|
+
"PUT",
|
|
3779
|
+
`${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}`,
|
|
3780
|
+
request
|
|
3781
|
+
);
|
|
3782
|
+
}
|
|
3783
|
+
getEntry(entitySlug, attribute) {
|
|
3784
|
+
return this.client.request("GET", this.entryPath(entitySlug, attribute));
|
|
3785
|
+
}
|
|
3786
|
+
setEntry(entitySlug, attribute, block) {
|
|
3787
|
+
return this.client.request("PUT", this.entryPath(entitySlug, attribute), block);
|
|
3788
|
+
}
|
|
3789
|
+
async deleteEntry(entitySlug, attribute) {
|
|
3790
|
+
await this.client.request("DELETE", this.entryPath(entitySlug, attribute));
|
|
3791
|
+
}
|
|
3792
|
+
};
|
|
3793
|
+
var WaterfallServiceImpl = class {
|
|
3794
|
+
constructor(client) {
|
|
3795
|
+
this.client = client;
|
|
3796
|
+
}
|
|
3797
|
+
client;
|
|
3798
|
+
async list() {
|
|
3799
|
+
const response = await this.client.request(
|
|
3800
|
+
"GET",
|
|
3801
|
+
`${ENRICHMENT_BASE_PATH}/waterfalls`
|
|
3802
|
+
);
|
|
3803
|
+
return response.data;
|
|
3804
|
+
}
|
|
3805
|
+
get(id) {
|
|
3806
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`);
|
|
3807
|
+
}
|
|
3808
|
+
create(request) {
|
|
3809
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/waterfalls`, request);
|
|
3810
|
+
}
|
|
3811
|
+
patch(id, request) {
|
|
3812
|
+
return this.client.request("PATCH", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`, request);
|
|
3813
|
+
}
|
|
3814
|
+
async delete(id) {
|
|
3815
|
+
await this.client.request("DELETE", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`);
|
|
3816
|
+
}
|
|
3817
|
+
};
|
|
3818
|
+
var EnrichmentConnectionServiceImpl = class {
|
|
3819
|
+
constructor(client) {
|
|
3820
|
+
this.client = client;
|
|
3821
|
+
}
|
|
3822
|
+
client;
|
|
3823
|
+
async list() {
|
|
3824
|
+
const response = await this.client.request(
|
|
3825
|
+
"GET",
|
|
3826
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections`
|
|
3827
|
+
);
|
|
3828
|
+
return response.data;
|
|
3829
|
+
}
|
|
3830
|
+
get(id) {
|
|
3831
|
+
return this.client.request(
|
|
3832
|
+
"GET",
|
|
3833
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`
|
|
3834
|
+
);
|
|
3835
|
+
}
|
|
3836
|
+
create(request) {
|
|
3837
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrichment-connections`, request);
|
|
3838
|
+
}
|
|
3839
|
+
patch(id, request) {
|
|
3840
|
+
return this.client.request(
|
|
3841
|
+
"PATCH",
|
|
3842
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`,
|
|
3843
|
+
request
|
|
3844
|
+
);
|
|
3845
|
+
}
|
|
3846
|
+
async delete(id) {
|
|
3847
|
+
await this.client.request(
|
|
3848
|
+
"DELETE",
|
|
3849
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`
|
|
3850
|
+
);
|
|
3851
|
+
}
|
|
3852
|
+
};
|
|
3853
|
+
var SignalServiceImpl = class {
|
|
3854
|
+
constructor(client) {
|
|
3855
|
+
this.client = client;
|
|
3856
|
+
}
|
|
3857
|
+
client;
|
|
3858
|
+
mappingPath(kind) {
|
|
3859
|
+
return `${ENRICHMENT_BASE_PATH}/signal-mappings/${encode2(kind)}`;
|
|
3860
|
+
}
|
|
3861
|
+
monitorPath(id) {
|
|
3862
|
+
return `${ENRICHMENT_BASE_PATH}/signal-monitors/${encode2(id)}`;
|
|
3863
|
+
}
|
|
3864
|
+
list(query = {}) {
|
|
3865
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/signals`, query);
|
|
3866
|
+
}
|
|
3867
|
+
async listMappings() {
|
|
3868
|
+
const response = await this.client.request(
|
|
3869
|
+
"GET",
|
|
3870
|
+
`${ENRICHMENT_BASE_PATH}/signal-mappings`
|
|
3871
|
+
);
|
|
3872
|
+
return response.data;
|
|
3873
|
+
}
|
|
3874
|
+
getMapping(kind) {
|
|
3875
|
+
return this.client.request("GET", this.mappingPath(kind));
|
|
3876
|
+
}
|
|
3877
|
+
putMapping(kind, request) {
|
|
3878
|
+
return this.client.request("PUT", this.mappingPath(kind), request);
|
|
3879
|
+
}
|
|
3880
|
+
async deleteMapping(kind) {
|
|
3881
|
+
await this.client.request("DELETE", this.mappingPath(kind));
|
|
3882
|
+
}
|
|
3883
|
+
async listMonitors() {
|
|
3884
|
+
const response = await this.client.request(
|
|
3885
|
+
"GET",
|
|
3886
|
+
`${ENRICHMENT_BASE_PATH}/signal-monitors`
|
|
3887
|
+
);
|
|
3888
|
+
return response.data;
|
|
3889
|
+
}
|
|
3890
|
+
getMonitor(id) {
|
|
3891
|
+
return this.client.request("GET", this.monitorPath(id));
|
|
3892
|
+
}
|
|
3893
|
+
createMonitor(request) {
|
|
3894
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/signal-monitors`, request);
|
|
3895
|
+
}
|
|
3896
|
+
patchMonitor(id, request) {
|
|
3897
|
+
return this.client.request("PATCH", this.monitorPath(id), request);
|
|
3898
|
+
}
|
|
3899
|
+
async deleteMonitor(id) {
|
|
3900
|
+
await this.client.request("DELETE", this.monitorPath(id));
|
|
3901
|
+
}
|
|
3902
|
+
};
|
|
3903
|
+
var ResearchServiceImpl = class {
|
|
3904
|
+
constructor(client) {
|
|
3905
|
+
this.client = client;
|
|
3906
|
+
}
|
|
3907
|
+
client;
|
|
3908
|
+
definitionPath(id) {
|
|
3909
|
+
return `${ENRICHMENT_BASE_PATH}/research-definitions/${encode2(id)}`;
|
|
3910
|
+
}
|
|
3911
|
+
runPath(id) {
|
|
3912
|
+
return `${ENRICHMENT_BASE_PATH}/research-runs/${encode2(id)}`;
|
|
3913
|
+
}
|
|
3914
|
+
async listDefinitions() {
|
|
3915
|
+
const response = await this.client.request(
|
|
3916
|
+
"GET",
|
|
3917
|
+
`${ENRICHMENT_BASE_PATH}/research-definitions`
|
|
3918
|
+
);
|
|
3919
|
+
return response.data;
|
|
3920
|
+
}
|
|
3921
|
+
getDefinition(id) {
|
|
3922
|
+
return this.client.request("GET", this.definitionPath(id));
|
|
3923
|
+
}
|
|
3924
|
+
createDefinition(request) {
|
|
3925
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/research-definitions`, request);
|
|
3926
|
+
}
|
|
3927
|
+
patchDefinition(id, request) {
|
|
3928
|
+
return this.client.request("PATCH", this.definitionPath(id), request);
|
|
3929
|
+
}
|
|
3930
|
+
async deleteDefinition(id) {
|
|
3931
|
+
await this.client.request("DELETE", this.definitionPath(id));
|
|
3932
|
+
}
|
|
3933
|
+
startRun(definitionId) {
|
|
3934
|
+
return this.client.request("POST", `${this.definitionPath(definitionId)}/runs`);
|
|
3935
|
+
}
|
|
3936
|
+
listRuns(query = {}) {
|
|
3937
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/research-runs`, query);
|
|
3938
|
+
}
|
|
3939
|
+
getRun(id) {
|
|
3940
|
+
return this.client.request("GET", this.runPath(id));
|
|
3941
|
+
}
|
|
3942
|
+
async listResults(runId) {
|
|
3943
|
+
const response = await this.client.request(
|
|
3944
|
+
"GET",
|
|
3945
|
+
`${this.runPath(runId)}/results`
|
|
3946
|
+
);
|
|
3947
|
+
return response.data;
|
|
3948
|
+
}
|
|
3949
|
+
cancelRun(id) {
|
|
3950
|
+
return this.client.request("POST", `${this.runPath(id)}/cancel`);
|
|
3951
|
+
}
|
|
3952
|
+
};
|
|
3953
|
+
var EnrichmentCatalogServiceImpl = class {
|
|
3954
|
+
constructor(client) {
|
|
3955
|
+
this.client = client;
|
|
3956
|
+
}
|
|
3957
|
+
client;
|
|
3958
|
+
enrichmentTypes() {
|
|
3959
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/enrichment-types`);
|
|
3960
|
+
}
|
|
3961
|
+
async providers() {
|
|
3962
|
+
const response = await this.client.request(
|
|
3963
|
+
"GET",
|
|
3964
|
+
`${ENRICHMENT_BASE_PATH}/providers`
|
|
3965
|
+
);
|
|
3966
|
+
return response.data;
|
|
3967
|
+
}
|
|
3968
|
+
};
|
|
3969
|
+
|
|
3661
3970
|
// src/events/index.ts
|
|
3662
3971
|
var EVENTS_BASE_PATH = "/events/v1";
|
|
3663
3972
|
var TAIL_TIMEOUT_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4219,7 +4528,7 @@ var KnowledgeClient = class {
|
|
|
4219
4528
|
|
|
4220
4529
|
// src/scheduling/index.ts
|
|
4221
4530
|
var SCHEDULING_BASE_PATH = "/scheduling/v1";
|
|
4222
|
-
var
|
|
4531
|
+
var encode3 = encodeURIComponent;
|
|
4223
4532
|
var SchedulingClient = class {
|
|
4224
4533
|
calendarConnections;
|
|
4225
4534
|
calendars;
|
|
@@ -4261,41 +4570,41 @@ var CalendarConnectionServiceImpl = class {
|
|
|
4261
4570
|
updateMine(id, request) {
|
|
4262
4571
|
return this.client.request(
|
|
4263
4572
|
"PATCH",
|
|
4264
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4573
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}`,
|
|
4265
4574
|
request
|
|
4266
4575
|
);
|
|
4267
4576
|
}
|
|
4268
4577
|
async disconnectMine(id) {
|
|
4269
4578
|
await this.client.request(
|
|
4270
4579
|
"DELETE",
|
|
4271
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4580
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}`
|
|
4272
4581
|
);
|
|
4273
4582
|
}
|
|
4274
4583
|
syncMine(id, request = {}) {
|
|
4275
4584
|
return this.client.request(
|
|
4276
4585
|
"POST",
|
|
4277
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4586
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}/sync`,
|
|
4278
4587
|
request
|
|
4279
4588
|
);
|
|
4280
4589
|
}
|
|
4281
4590
|
listForUser(userId, query = {}) {
|
|
4282
4591
|
return this.client.requestWithQuery(
|
|
4283
4592
|
"GET",
|
|
4284
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4593
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections`,
|
|
4285
4594
|
query
|
|
4286
4595
|
);
|
|
4287
4596
|
}
|
|
4288
4597
|
updateForUser(userId, id, request) {
|
|
4289
4598
|
return this.client.request(
|
|
4290
4599
|
"PATCH",
|
|
4291
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4600
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections/${encode3(id)}`,
|
|
4292
4601
|
request
|
|
4293
4602
|
);
|
|
4294
4603
|
}
|
|
4295
4604
|
async disconnectForUser(userId, id) {
|
|
4296
4605
|
await this.client.request(
|
|
4297
4606
|
"DELETE",
|
|
4298
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4607
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections/${encode3(id)}`
|
|
4299
4608
|
);
|
|
4300
4609
|
}
|
|
4301
4610
|
};
|
|
@@ -4308,32 +4617,32 @@ var CalendarServiceImpl = class {
|
|
|
4308
4617
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/me/calendars`, query);
|
|
4309
4618
|
}
|
|
4310
4619
|
getMine(id) {
|
|
4311
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/me/calendars/${
|
|
4620
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/me/calendars/${encode3(id)}`);
|
|
4312
4621
|
}
|
|
4313
4622
|
updateMine(id, request) {
|
|
4314
4623
|
return this.client.request(
|
|
4315
4624
|
"PATCH",
|
|
4316
|
-
`${SCHEDULING_BASE_PATH}/me/calendars/${
|
|
4625
|
+
`${SCHEDULING_BASE_PATH}/me/calendars/${encode3(id)}`,
|
|
4317
4626
|
request
|
|
4318
4627
|
);
|
|
4319
4628
|
}
|
|
4320
4629
|
listForUser(userId, query = {}) {
|
|
4321
4630
|
return this.client.requestWithQuery(
|
|
4322
4631
|
"GET",
|
|
4323
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4632
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars`,
|
|
4324
4633
|
query
|
|
4325
4634
|
);
|
|
4326
4635
|
}
|
|
4327
4636
|
getForUser(userId, id) {
|
|
4328
4637
|
return this.client.request(
|
|
4329
4638
|
"GET",
|
|
4330
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4639
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars/${encode3(id)}`
|
|
4331
4640
|
);
|
|
4332
4641
|
}
|
|
4333
4642
|
updateForUser(userId, id, request) {
|
|
4334
4643
|
return this.client.request(
|
|
4335
4644
|
"PATCH",
|
|
4336
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4645
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars/${encode3(id)}`,
|
|
4337
4646
|
request
|
|
4338
4647
|
);
|
|
4339
4648
|
}
|
|
@@ -4352,13 +4661,13 @@ var SchedulingProfileServiceImpl = class {
|
|
|
4352
4661
|
getForUser(userId) {
|
|
4353
4662
|
return this.client.request(
|
|
4354
4663
|
"GET",
|
|
4355
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4664
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/scheduling-profile`
|
|
4356
4665
|
);
|
|
4357
4666
|
}
|
|
4358
4667
|
putForUser(userId, request) {
|
|
4359
4668
|
return this.client.request(
|
|
4360
4669
|
"PUT",
|
|
4361
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4670
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/scheduling-profile`,
|
|
4362
4671
|
request
|
|
4363
4672
|
);
|
|
4364
4673
|
}
|
|
@@ -4372,7 +4681,7 @@ var CalendarEventServiceImpl = class {
|
|
|
4372
4681
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/calendar-events`, query);
|
|
4373
4682
|
}
|
|
4374
4683
|
get(id) {
|
|
4375
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4684
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`);
|
|
4376
4685
|
}
|
|
4377
4686
|
create(request) {
|
|
4378
4687
|
return this.client.request("POST", `${SCHEDULING_BASE_PATH}/calendar-events`, request);
|
|
@@ -4380,7 +4689,7 @@ var CalendarEventServiceImpl = class {
|
|
|
4380
4689
|
update(id, request, scope) {
|
|
4381
4690
|
return this.client.requestWithQuery(
|
|
4382
4691
|
"PATCH",
|
|
4383
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4692
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`,
|
|
4384
4693
|
scope ? { scope } : void 0,
|
|
4385
4694
|
request
|
|
4386
4695
|
);
|
|
@@ -4388,14 +4697,14 @@ var CalendarEventServiceImpl = class {
|
|
|
4388
4697
|
async delete(id, scope) {
|
|
4389
4698
|
await this.client.requestWithQuery(
|
|
4390
4699
|
"DELETE",
|
|
4391
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4700
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`,
|
|
4392
4701
|
scope ? { scope } : void 0
|
|
4393
4702
|
);
|
|
4394
4703
|
}
|
|
4395
4704
|
respond(id, request) {
|
|
4396
4705
|
return this.client.request(
|
|
4397
4706
|
"POST",
|
|
4398
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4707
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}/respond`,
|
|
4399
4708
|
request
|
|
4400
4709
|
);
|
|
4401
4710
|
}
|
|
@@ -4413,26 +4722,26 @@ var CalendarEventTypeServiceImpl = class {
|
|
|
4413
4722
|
);
|
|
4414
4723
|
}
|
|
4415
4724
|
get(key) {
|
|
4416
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4725
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`);
|
|
4417
4726
|
}
|
|
4418
4727
|
put(key, request) {
|
|
4419
4728
|
return this.client.request(
|
|
4420
4729
|
"PUT",
|
|
4421
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4730
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`,
|
|
4422
4731
|
request
|
|
4423
4732
|
);
|
|
4424
4733
|
}
|
|
4425
4734
|
update(key, request) {
|
|
4426
4735
|
return this.client.request(
|
|
4427
4736
|
"PATCH",
|
|
4428
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4737
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`,
|
|
4429
4738
|
request
|
|
4430
4739
|
);
|
|
4431
4740
|
}
|
|
4432
4741
|
async delete(key) {
|
|
4433
4742
|
await this.client.request(
|
|
4434
4743
|
"DELETE",
|
|
4435
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4744
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`
|
|
4436
4745
|
);
|
|
4437
4746
|
}
|
|
4438
4747
|
};
|
|
@@ -4442,37 +4751,37 @@ var AvailabilityConstraintServiceImpl = class {
|
|
|
4442
4751
|
}
|
|
4443
4752
|
client;
|
|
4444
4753
|
base(userId) {
|
|
4445
|
-
return userId ? `${SCHEDULING_BASE_PATH}/users/${
|
|
4754
|
+
return userId ? `${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/availability-constraints` : `${SCHEDULING_BASE_PATH}/me/availability-constraints`;
|
|
4446
4755
|
}
|
|
4447
4756
|
listMine(query = {}) {
|
|
4448
4757
|
return this.client.requestWithQuery("GET", this.base(), query);
|
|
4449
4758
|
}
|
|
4450
4759
|
getMine(id) {
|
|
4451
|
-
return this.client.request("GET", `${this.base()}/${
|
|
4760
|
+
return this.client.request("GET", `${this.base()}/${encode3(id)}`);
|
|
4452
4761
|
}
|
|
4453
4762
|
createMine(request) {
|
|
4454
4763
|
return this.client.request("POST", this.base(), request);
|
|
4455
4764
|
}
|
|
4456
4765
|
updateMine(id, request) {
|
|
4457
|
-
return this.client.request("PATCH", `${this.base()}/${
|
|
4766
|
+
return this.client.request("PATCH", `${this.base()}/${encode3(id)}`, request);
|
|
4458
4767
|
}
|
|
4459
4768
|
async deleteMine(id) {
|
|
4460
|
-
await this.client.request("DELETE", `${this.base()}/${
|
|
4769
|
+
await this.client.request("DELETE", `${this.base()}/${encode3(id)}`);
|
|
4461
4770
|
}
|
|
4462
4771
|
listForUser(userId, query = {}) {
|
|
4463
4772
|
return this.client.requestWithQuery("GET", this.base(userId), query);
|
|
4464
4773
|
}
|
|
4465
4774
|
getForUser(userId, id) {
|
|
4466
|
-
return this.client.request("GET", `${this.base(userId)}/${
|
|
4775
|
+
return this.client.request("GET", `${this.base(userId)}/${encode3(id)}`);
|
|
4467
4776
|
}
|
|
4468
4777
|
createForUser(userId, request) {
|
|
4469
4778
|
return this.client.request("POST", this.base(userId), request);
|
|
4470
4779
|
}
|
|
4471
4780
|
updateForUser(userId, id, request) {
|
|
4472
|
-
return this.client.request("PATCH", `${this.base(userId)}/${
|
|
4781
|
+
return this.client.request("PATCH", `${this.base(userId)}/${encode3(id)}`, request);
|
|
4473
4782
|
}
|
|
4474
4783
|
async deleteForUser(userId, id) {
|
|
4475
|
-
await this.client.request("DELETE", `${this.base(userId)}/${
|
|
4784
|
+
await this.client.request("DELETE", `${this.base(userId)}/${encode3(id)}`);
|
|
4476
4785
|
}
|
|
4477
4786
|
};
|
|
4478
4787
|
var SlotServiceImpl = class {
|
|
@@ -4493,7 +4802,7 @@ var SchedulingLinkServiceImpl = class {
|
|
|
4493
4802
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/scheduling-links`, query);
|
|
4494
4803
|
}
|
|
4495
4804
|
get(key) {
|
|
4496
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4805
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`);
|
|
4497
4806
|
}
|
|
4498
4807
|
create(request) {
|
|
4499
4808
|
return this.client.request("POST", `${SCHEDULING_BASE_PATH}/scheduling-links`, request);
|
|
@@ -4501,31 +4810,31 @@ var SchedulingLinkServiceImpl = class {
|
|
|
4501
4810
|
update(key, request) {
|
|
4502
4811
|
return this.client.request(
|
|
4503
4812
|
"PATCH",
|
|
4504
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4813
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`,
|
|
4505
4814
|
request
|
|
4506
4815
|
);
|
|
4507
4816
|
}
|
|
4508
4817
|
async delete(key) {
|
|
4509
|
-
await this.client.request("DELETE", `${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4818
|
+
await this.client.request("DELETE", `${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`);
|
|
4510
4819
|
}
|
|
4511
4820
|
getPage(key, contactId) {
|
|
4512
|
-
const suffix = contactId ? `?contact_id=${
|
|
4821
|
+
const suffix = contactId ? `?contact_id=${encode3(contactId)}` : "";
|
|
4513
4822
|
return this.client.request(
|
|
4514
4823
|
"GET",
|
|
4515
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4824
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/page${suffix}`
|
|
4516
4825
|
);
|
|
4517
4826
|
}
|
|
4518
4827
|
getSlots(key, query) {
|
|
4519
4828
|
return this.client.requestWithQuery(
|
|
4520
4829
|
"GET",
|
|
4521
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4830
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/slots`,
|
|
4522
4831
|
query
|
|
4523
4832
|
);
|
|
4524
4833
|
}
|
|
4525
4834
|
book(key, request) {
|
|
4526
4835
|
return this.client.request(
|
|
4527
4836
|
"POST",
|
|
4528
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4837
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/calendar-events`,
|
|
4529
4838
|
request
|
|
4530
4839
|
);
|
|
4531
4840
|
}
|
|
@@ -4536,13 +4845,13 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4536
4845
|
}
|
|
4537
4846
|
client;
|
|
4538
4847
|
base(orgId) {
|
|
4539
|
-
return `${SCHEDULING_BASE_PATH}/public/orgs/${
|
|
4848
|
+
return `${SCHEDULING_BASE_PATH}/public/orgs/${encode3(orgId)}`;
|
|
4540
4849
|
}
|
|
4541
4850
|
getLink(orgId, key, contactId) {
|
|
4542
|
-
const suffix = contactId ? `?contact_id=${
|
|
4851
|
+
const suffix = contactId ? `?contact_id=${encode3(contactId)}` : "";
|
|
4543
4852
|
return this.client.request(
|
|
4544
4853
|
"GET",
|
|
4545
|
-
`${this.base(orgId)}/links/${
|
|
4854
|
+
`${this.base(orgId)}/links/${encode3(key)}${suffix}`,
|
|
4546
4855
|
void 0,
|
|
4547
4856
|
{ skipAuth: true }
|
|
4548
4857
|
);
|
|
@@ -4553,7 +4862,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4553
4862
|
if (query.type_key) params.set("type_key", query.type_key);
|
|
4554
4863
|
return this.client.request(
|
|
4555
4864
|
"GET",
|
|
4556
|
-
`${this.base(orgId)}/links/${
|
|
4865
|
+
`${this.base(orgId)}/links/${encode3(key)}/slots?${params.toString()}`,
|
|
4557
4866
|
void 0,
|
|
4558
4867
|
{ skipAuth: true }
|
|
4559
4868
|
);
|
|
@@ -4561,7 +4870,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4561
4870
|
book(orgId, key, request) {
|
|
4562
4871
|
return this.client.request(
|
|
4563
4872
|
"POST",
|
|
4564
|
-
`${this.base(orgId)}/links/${
|
|
4873
|
+
`${this.base(orgId)}/links/${encode3(key)}/calendar-events`,
|
|
4565
4874
|
request,
|
|
4566
4875
|
{ skipAuth: true }
|
|
4567
4876
|
);
|
|
@@ -4569,7 +4878,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4569
4878
|
getEvent(orgId, id, token) {
|
|
4570
4879
|
return this.client.request(
|
|
4571
4880
|
"GET",
|
|
4572
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4881
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}?token=${encode3(token)}`,
|
|
4573
4882
|
void 0,
|
|
4574
4883
|
{ skipAuth: true }
|
|
4575
4884
|
);
|
|
@@ -4577,7 +4886,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4577
4886
|
cancel(orgId, id, request) {
|
|
4578
4887
|
return this.client.request(
|
|
4579
4888
|
"POST",
|
|
4580
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4889
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}/cancel`,
|
|
4581
4890
|
request,
|
|
4582
4891
|
{ skipAuth: true }
|
|
4583
4892
|
);
|
|
@@ -4585,7 +4894,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4585
4894
|
reschedule(orgId, id, request) {
|
|
4586
4895
|
return this.client.request(
|
|
4587
4896
|
"POST",
|
|
4588
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4897
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}/reschedule`,
|
|
4589
4898
|
request,
|
|
4590
4899
|
{ skipAuth: true }
|
|
4591
4900
|
);
|
|
@@ -4879,6 +5188,6 @@ var WorkflowClient = class {
|
|
|
4879
5188
|
}
|
|
4880
5189
|
};
|
|
4881
5190
|
|
|
4882
|
-
export { AccountClient, ActionSchema, ActionScopeSchema, AgentClient, BatchTransactionErrorSchema, BatchUpsertRecordsResponseSchema, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, ConnectorClient, ConversationClient, DEFAULT_OPTIONS, DEFAULT_PORT, DataClient, DiscoveryClient, ERROR_PORT, ErrorCode, EventsClient, FunctionsClient, KnowledgeClient, KnowledgeLabelSchema, KnowledgeLinkSchema, KnowledgeNodeLabelSchema, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, KnowledgeNodeSearchResultSchema, KnowledgeRecordLinkSchema, NodeNeighborhoodSchema, OrganizationSchema, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, ProfileSchema, ProteosClient, ProteosError, RecordDraftChangeSchema, RecordDraftItemResultSchema, RecordDraftItemSchema, RoleEntityPermissionSchema, RoleSchema, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, StorageClient, UNASSIGNED_SPACE_SLUG, UNSUBSCRIBE_URL_PLACEHOLDER, UserProfileAssignmentSchema, UserRoleAssignmentSchema, UserSchema, WorkflowClient, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, resolveOptions, shareRouteFor, toQueryParams, toQueryString };
|
|
5191
|
+
export { AccountClient, ActionSchema, ActionScopeSchema, AgentClient, BatchTransactionErrorSchema, BatchUpsertRecordsResponseSchema, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, ConnectorClient, ConversationClient, DEFAULT_OPTIONS, DEFAULT_PORT, DataClient, DiscoveryClient, ERROR_PORT, EnrichmentClient, ErrorCode, EventsClient, FunctionsClient, KnowledgeClient, KnowledgeLabelSchema, KnowledgeLinkSchema, KnowledgeNodeLabelSchema, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, KnowledgeNodeSearchResultSchema, KnowledgeRecordLinkSchema, NodeNeighborhoodSchema, OrganizationSchema, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, ProfileSchema, ProteosClient, ProteosError, RecordDraftChangeSchema, RecordDraftEvidenceSchema, RecordDraftItemResultSchema, RecordDraftItemSchema, RoleEntityPermissionSchema, RoleSchema, SCOPED_PLATFORM_ENTITY_SLUGS, SchedulingClient, StorageClient, UNASSIGNED_SPACE_SLUG, UNSUBSCRIBE_URL_PLACEHOLDER, UserProfileAssignmentSchema, UserRoleAssignmentSchema, UserSchema, WorkflowClient, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isDeltaFrame, isForbidden, isNotFound, isPlatformEntity, isProteosError, isRecordDraftReference, isShareable, isUnauthorized, parseErrorResponse, resolveOptions, shareRouteFor, toQueryParams, toQueryString };
|
|
4883
5192
|
//# sourceMappingURL=index.js.map
|
|
4884
5193
|
//# sourceMappingURL=index.js.map
|