@proteos/sdk 0.93.0 → 0.94.0
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 +1123 -19
- package/dist/index.d.ts +1123 -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 +8 -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.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVKCPXFOR_cjs = require('./chunk-VKCPXFOR.cjs');
|
|
4
4
|
var zod = require('zod');
|
|
5
5
|
var fetchEventSource = require('@microsoft/fetch-event-source');
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ var AgentServiceImpl = class {
|
|
|
12
12
|
}
|
|
13
13
|
client;
|
|
14
14
|
list(options = {}) {
|
|
15
|
-
return new
|
|
15
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
16
16
|
}
|
|
17
17
|
async listPage(options = {}) {
|
|
18
18
|
return this.client.requestWithQuery("GET", AGENTS_BASE_PATH, options);
|
|
@@ -39,7 +39,7 @@ var McpServerServiceImpl = class {
|
|
|
39
39
|
}
|
|
40
40
|
client;
|
|
41
41
|
list(options = {}) {
|
|
42
|
-
return new
|
|
42
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
43
43
|
}
|
|
44
44
|
async listPage(options = {}) {
|
|
45
45
|
return this.client.requestWithQuery(
|
|
@@ -130,7 +130,7 @@ var PromptServiceImpl = class {
|
|
|
130
130
|
}
|
|
131
131
|
client;
|
|
132
132
|
list(options = {}) {
|
|
133
|
-
return new
|
|
133
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
134
134
|
}
|
|
135
135
|
async listPage(options = {}) {
|
|
136
136
|
return this.client.requestWithQuery("GET", PROMPTS_BASE_PATH, options);
|
|
@@ -184,7 +184,7 @@ var SessionServiceImpl = class {
|
|
|
184
184
|
}
|
|
185
185
|
client;
|
|
186
186
|
list(options = {}) {
|
|
187
|
-
return new
|
|
187
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
188
188
|
}
|
|
189
189
|
async listPage(options = {}) {
|
|
190
190
|
const query = Array.isArray(options.status) ? { ...options, status: options.status.join(",") } : options;
|
|
@@ -334,7 +334,7 @@ var SkillServiceImpl = class {
|
|
|
334
334
|
}
|
|
335
335
|
client;
|
|
336
336
|
list(options = {}) {
|
|
337
|
-
return new
|
|
337
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
338
338
|
}
|
|
339
339
|
async listPage(options = {}) {
|
|
340
340
|
return this.client.requestWithQuery("GET", SKILLS_BASE_PATH, options);
|
|
@@ -391,7 +391,7 @@ var ToolServiceImpl = class {
|
|
|
391
391
|
}
|
|
392
392
|
client;
|
|
393
393
|
list(options = {}) {
|
|
394
|
-
return new
|
|
394
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
395
395
|
}
|
|
396
396
|
async listPage(options = {}) {
|
|
397
397
|
return this.client.requestWithQuery("GET", TOOLS_BASE_PATH, options);
|
|
@@ -433,7 +433,7 @@ var ToolsetServiceImpl = class {
|
|
|
433
433
|
}
|
|
434
434
|
client;
|
|
435
435
|
list(options = {}) {
|
|
436
|
-
return new
|
|
436
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
437
437
|
}
|
|
438
438
|
async listPage(options = {}) {
|
|
439
439
|
return this.client.requestWithQuery("GET", TOOLSETS_BASE_PATH, options);
|
|
@@ -543,7 +543,7 @@ var OrganizationServiceImpl = class {
|
|
|
543
543
|
}
|
|
544
544
|
client;
|
|
545
545
|
list(options = {}) {
|
|
546
|
-
return new
|
|
546
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
547
547
|
}
|
|
548
548
|
async listPage(options = {}) {
|
|
549
549
|
return this.client.requestWithQuery(
|
|
@@ -574,7 +574,7 @@ var ProfileServiceImpl = class {
|
|
|
574
574
|
}
|
|
575
575
|
client;
|
|
576
576
|
list(options = {}) {
|
|
577
|
-
return new
|
|
577
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
578
578
|
}
|
|
579
579
|
async listPage(options = {}) {
|
|
580
580
|
return this.client.requestWithQuery("GET", PROFILES_BASE_PATH, options);
|
|
@@ -607,7 +607,7 @@ var RoleServiceImpl = class {
|
|
|
607
607
|
}
|
|
608
608
|
client;
|
|
609
609
|
list(options = {}) {
|
|
610
|
-
return new
|
|
610
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
611
611
|
}
|
|
612
612
|
async listPage(options = {}) {
|
|
613
613
|
return this.client.requestWithQuery("GET", ROLES_BASE_PATH, options);
|
|
@@ -628,7 +628,7 @@ var RoleServiceImpl = class {
|
|
|
628
628
|
await this.client.request("DELETE", `${ROLES_BASE_PATH}/${slug}`);
|
|
629
629
|
}
|
|
630
630
|
getPermissions(roleSlug, options = {}) {
|
|
631
|
-
return new
|
|
631
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
|
|
632
632
|
}
|
|
633
633
|
async assignPermission(roleSlug, request) {
|
|
634
634
|
return this.client.request(
|
|
@@ -836,7 +836,7 @@ var TeamServiceImpl = class {
|
|
|
836
836
|
}
|
|
837
837
|
client;
|
|
838
838
|
list(options = {}) {
|
|
839
|
-
return new
|
|
839
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
840
840
|
}
|
|
841
841
|
async listPage(options = {}) {
|
|
842
842
|
return this.client.requestWithQuery("GET", TEAMS_BASE_PATH, options);
|
|
@@ -854,7 +854,7 @@ var TeamServiceImpl = class {
|
|
|
854
854
|
await this.client.request("DELETE", `${TEAMS_BASE_PATH}/${slug}`);
|
|
855
855
|
}
|
|
856
856
|
getMembers(slug, options = {}) {
|
|
857
|
-
return new
|
|
857
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.fetchMembersPage(slug, opts), options);
|
|
858
858
|
}
|
|
859
859
|
async addMember(slug, request) {
|
|
860
860
|
return this.client.request("POST", `${TEAMS_BASE_PATH}/${slug}/members`, request);
|
|
@@ -879,7 +879,7 @@ var UserProfileAssignmentServiceImpl = class {
|
|
|
879
879
|
}
|
|
880
880
|
client;
|
|
881
881
|
list(options = {}) {
|
|
882
|
-
return new
|
|
882
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
883
883
|
}
|
|
884
884
|
async listPage(options = {}) {
|
|
885
885
|
return this.client.requestWithQuery(
|
|
@@ -898,7 +898,7 @@ var UserRoleAssignmentServiceImpl = class {
|
|
|
898
898
|
}
|
|
899
899
|
client;
|
|
900
900
|
list(options = {}) {
|
|
901
|
-
return new
|
|
901
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
902
902
|
}
|
|
903
903
|
async listPage(options = {}) {
|
|
904
904
|
return this.client.requestWithQuery(
|
|
@@ -917,7 +917,7 @@ var UserServiceImpl = class {
|
|
|
917
917
|
}
|
|
918
918
|
client;
|
|
919
919
|
list(options = {}) {
|
|
920
|
-
return new
|
|
920
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
921
921
|
}
|
|
922
922
|
async listPage(options = {}) {
|
|
923
923
|
return this.client.requestWithQuery("GET", USERS_BASE_PATH, options);
|
|
@@ -932,7 +932,7 @@ var UserServiceImpl = class {
|
|
|
932
932
|
return this.client.request("PATCH", `${USERS_BASE_PATH}/${id}`, request);
|
|
933
933
|
}
|
|
934
934
|
getRoles(userId, options = {}) {
|
|
935
|
-
return new
|
|
935
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
|
|
936
936
|
}
|
|
937
937
|
async assignRole(userId, request) {
|
|
938
938
|
return this.client.request(
|
|
@@ -1115,7 +1115,16 @@ var PLATFORM_ENTITIES = [
|
|
|
1115
1115
|
{ slug: "discovery-evidence", name: "Discovery Evidence" },
|
|
1116
1116
|
// Interview guides an admin writes; whoever reads a definition reads its
|
|
1117
1117
|
// interviews, and whoever writes it invites people.
|
|
1118
|
-
{ slug: "discovery-interview-definitions", name: "Discovery Interview Definitions" }
|
|
1118
|
+
{ slug: "discovery-interview-definitions", name: "Discovery Interview Definitions" },
|
|
1119
|
+
// Enrichment (enrichment-service): filling fields through provider
|
|
1120
|
+
// waterfalls on the platform's keys. write = start an enrichment run.
|
|
1121
|
+
{ slug: "enrichment-runs", name: "Enrichment Runs" },
|
|
1122
|
+
// An entity's enrichment configuration: which attributes get filled, from
|
|
1123
|
+
// what, and on which triggers.
|
|
1124
|
+
{ slug: "enrichment-mappings", name: "Enrichment Mappings" },
|
|
1125
|
+
// Usage (usage-service): the metering ledger. Read-only and org-level —
|
|
1126
|
+
// whoever reads usage reads all of the org's usage.
|
|
1127
|
+
{ slug: "usage-records", name: "Usage Records" }
|
|
1119
1128
|
];
|
|
1120
1129
|
var PLATFORM_ENTITY_SLUGS = PLATFORM_ENTITIES.map(
|
|
1121
1130
|
(entity) => entity.slug
|
|
@@ -1149,28 +1158,28 @@ var SCOPED_PLATFORM_ENTITY_SLUGS = [
|
|
|
1149
1158
|
function isPlatformEntity(slug) {
|
|
1150
1159
|
return PLATFORM_ENTITY_SLUGS.includes(slug);
|
|
1151
1160
|
}
|
|
1152
|
-
var RoleEntityPermissionSchema =
|
|
1161
|
+
var RoleEntityPermissionSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1153
1162
|
id: zod.z.string(),
|
|
1154
1163
|
role_slug: zod.z.string(),
|
|
1155
1164
|
entity_slug: zod.z.string(),
|
|
1156
1165
|
permission: zod.z.enum(["read", "write", "delete", "read_scoped", "write_scoped", "delete_scoped"])
|
|
1157
1166
|
});
|
|
1158
|
-
var UserRoleAssignmentSchema =
|
|
1167
|
+
var UserRoleAssignmentSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1159
1168
|
id: zod.z.string(),
|
|
1160
1169
|
user_id: zod.z.string(),
|
|
1161
1170
|
role_slug: zod.z.string(),
|
|
1162
1171
|
org_id: zod.z.string()
|
|
1163
1172
|
});
|
|
1164
|
-
var UserSchema =
|
|
1173
|
+
var UserSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1165
1174
|
id: zod.z.string(),
|
|
1166
1175
|
email: zod.z.string(),
|
|
1167
1176
|
given_name: zod.z.string(),
|
|
1168
1177
|
family_name: zod.z.string(),
|
|
1169
1178
|
external_id: zod.z.string(),
|
|
1170
1179
|
default_org_id: zod.z.string(),
|
|
1171
|
-
profile_image:
|
|
1180
|
+
profile_image: chunkVKCPXFOR_cjs.FileRefSchema.nullish()
|
|
1172
1181
|
});
|
|
1173
|
-
|
|
1182
|
+
chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1174
1183
|
id: zod.z.string(),
|
|
1175
1184
|
user_id: zod.z.string(),
|
|
1176
1185
|
org_id: zod.z.string(),
|
|
@@ -1180,7 +1189,7 @@ chunkSUS4QR63_cjs.AuditFieldsSchema.extend({
|
|
|
1180
1189
|
expires_at: zod.z.string().nullable(),
|
|
1181
1190
|
last_used_at: zod.z.string().nullable()
|
|
1182
1191
|
});
|
|
1183
|
-
var ProfileSchema =
|
|
1192
|
+
var ProfileSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1184
1193
|
slug: zod.z.string(),
|
|
1185
1194
|
name: zod.z.string(),
|
|
1186
1195
|
org_id: zod.z.string(),
|
|
@@ -1191,32 +1200,32 @@ var ProfileSchema = chunkSUS4QR63_cjs.AuditFieldsSchema.extend({
|
|
|
1191
1200
|
// Optional for responses from servers that predate the column.
|
|
1192
1201
|
platform_features: zod.z.array(zod.z.string()).default([])
|
|
1193
1202
|
});
|
|
1194
|
-
var UserProfileAssignmentSchema =
|
|
1203
|
+
var UserProfileAssignmentSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1195
1204
|
id: zod.z.string(),
|
|
1196
1205
|
user_id: zod.z.string(),
|
|
1197
1206
|
profile_slug: zod.z.string(),
|
|
1198
1207
|
org_id: zod.z.string()
|
|
1199
1208
|
});
|
|
1200
|
-
var RoleSchema =
|
|
1209
|
+
var RoleSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1201
1210
|
slug: zod.z.string(),
|
|
1202
1211
|
name: zod.z.string(),
|
|
1203
1212
|
org_id: zod.z.string(),
|
|
1204
1213
|
description: zod.z.string()
|
|
1205
1214
|
});
|
|
1206
|
-
|
|
1215
|
+
chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1207
1216
|
slug: zod.z.string(),
|
|
1208
1217
|
name: zod.z.string(),
|
|
1209
1218
|
org_id: zod.z.string(),
|
|
1210
1219
|
description: zod.z.string(),
|
|
1211
1220
|
parent_team_slug: zod.z.string()
|
|
1212
1221
|
});
|
|
1213
|
-
|
|
1222
|
+
chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1214
1223
|
id: zod.z.string(),
|
|
1215
1224
|
org_id: zod.z.string(),
|
|
1216
1225
|
team_slug: zod.z.string(),
|
|
1217
1226
|
user_id: zod.z.string()
|
|
1218
1227
|
});
|
|
1219
|
-
var OrganizationSchema =
|
|
1228
|
+
var OrganizationSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
1220
1229
|
id: zod.z.string(),
|
|
1221
1230
|
name: zod.z.string(),
|
|
1222
1231
|
description: zod.z.string()
|
|
@@ -1225,7 +1234,7 @@ var SharePermissionSchema = zod.z.enum(["read", "write", "delete"]);
|
|
|
1225
1234
|
zod.z.object({
|
|
1226
1235
|
entity_slug: zod.z.string(),
|
|
1227
1236
|
record_id: zod.z.string(),
|
|
1228
|
-
principal:
|
|
1237
|
+
principal: chunkVKCPXFOR_cjs.PrincipalRefSchema,
|
|
1229
1238
|
permission: SharePermissionSchema
|
|
1230
1239
|
});
|
|
1231
1240
|
|
|
@@ -3311,6 +3320,17 @@ var RecordDraftServiceImpl = class {
|
|
|
3311
3320
|
request
|
|
3312
3321
|
);
|
|
3313
3322
|
}
|
|
3323
|
+
async proposedValues(query) {
|
|
3324
|
+
const response = await this.client.requestWithQuery(
|
|
3325
|
+
"GET",
|
|
3326
|
+
`${RECORD_DRAFTS_BASE_PATH}/proposed-values`,
|
|
3327
|
+
{
|
|
3328
|
+
entity_slug: query.entity_slug,
|
|
3329
|
+
...query.record_ids && query.record_ids.length > 0 ? { record_ids: query.record_ids.join(",") } : {}
|
|
3330
|
+
}
|
|
3331
|
+
);
|
|
3332
|
+
return response.data ?? [];
|
|
3333
|
+
}
|
|
3314
3334
|
};
|
|
3315
3335
|
|
|
3316
3336
|
// src/data/records.ts
|
|
@@ -3323,7 +3343,7 @@ var RecordServiceImpl = class {
|
|
|
3323
3343
|
}
|
|
3324
3344
|
client;
|
|
3325
3345
|
list(entitySlug, options = {}) {
|
|
3326
|
-
return new
|
|
3346
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
|
|
3327
3347
|
}
|
|
3328
3348
|
async listPage(entitySlug, options = {}) {
|
|
3329
3349
|
return this.client.requestWithQuery(
|
|
@@ -3363,7 +3383,7 @@ var RecordServiceImpl = class {
|
|
|
3363
3383
|
);
|
|
3364
3384
|
}
|
|
3365
3385
|
listPublic(orgId, entitySlug, options = {}) {
|
|
3366
|
-
return new
|
|
3386
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
|
|
3367
3387
|
}
|
|
3368
3388
|
async listPublicPage(orgId, entitySlug, options = {}) {
|
|
3369
3389
|
return this.client.requestWithQuery(
|
|
@@ -3425,10 +3445,28 @@ var BatchUpsertTransactionResultSchema = zod.z.object({
|
|
|
3425
3445
|
var BatchUpsertRecordsResponseSchema = zod.z.object({
|
|
3426
3446
|
results: zod.z.array(BatchUpsertTransactionResultSchema)
|
|
3427
3447
|
});
|
|
3448
|
+
function isRecordDraftReference(value) {
|
|
3449
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return false;
|
|
3450
|
+
const keys = Object.keys(value);
|
|
3451
|
+
return keys.length === 1 && keys[0] === "transaction_id" && typeof value.transaction_id === "string";
|
|
3452
|
+
}
|
|
3453
|
+
var RecordDraftEvidenceSchema = zod.z.object({
|
|
3454
|
+
label: zod.z.string().optional(),
|
|
3455
|
+
confidence: zod.z.number().min(0).max(1).optional(),
|
|
3456
|
+
citations: zod.z.array(
|
|
3457
|
+
zod.z.object({
|
|
3458
|
+
title: zod.z.string().optional(),
|
|
3459
|
+
url: zod.z.string().optional(),
|
|
3460
|
+
snippet: zod.z.string().optional()
|
|
3461
|
+
})
|
|
3462
|
+
).optional()
|
|
3463
|
+
});
|
|
3428
3464
|
var RecordDraftItemSchema = zod.z.object({
|
|
3429
3465
|
transaction_id: zod.z.string(),
|
|
3466
|
+
entity_slug: zod.z.string().optional(),
|
|
3430
3467
|
id: zod.z.string().optional(),
|
|
3431
|
-
data: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
3468
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
3469
|
+
evidence: zod.z.record(zod.z.string(), RecordDraftEvidenceSchema).optional()
|
|
3432
3470
|
});
|
|
3433
3471
|
var RecordDraftItemResultSchema = zod.z.object({
|
|
3434
3472
|
transaction_id: zod.z.string(),
|
|
@@ -3659,6 +3697,277 @@ var DiscoveryInterviewServiceImpl = class {
|
|
|
3659
3697
|
}
|
|
3660
3698
|
};
|
|
3661
3699
|
|
|
3700
|
+
// src/enrichment/index.ts
|
|
3701
|
+
var ENRICHMENT_BASE_PATH = "/enrichment/v1";
|
|
3702
|
+
var encode2 = encodeURIComponent;
|
|
3703
|
+
var WAITING_REQUEST_TIMEOUT_MS = 75e3;
|
|
3704
|
+
var EnrichmentClient = class {
|
|
3705
|
+
constructor(client) {
|
|
3706
|
+
this.client = client;
|
|
3707
|
+
this.runs = new EnrichmentRunServiceImpl(client);
|
|
3708
|
+
this.mappings = new EnrichmentMappingServiceImpl(client);
|
|
3709
|
+
this.waterfalls = new WaterfallServiceImpl(client);
|
|
3710
|
+
this.connections = new EnrichmentConnectionServiceImpl(client);
|
|
3711
|
+
this.research = new ResearchServiceImpl(client);
|
|
3712
|
+
this.signals = new SignalServiceImpl(client);
|
|
3713
|
+
this.catalog = new EnrichmentCatalogServiceImpl(client);
|
|
3714
|
+
}
|
|
3715
|
+
client;
|
|
3716
|
+
runs;
|
|
3717
|
+
mappings;
|
|
3718
|
+
waterfalls;
|
|
3719
|
+
connections;
|
|
3720
|
+
research;
|
|
3721
|
+
signals;
|
|
3722
|
+
catalog;
|
|
3723
|
+
/** Fills attributes ad hoc: the values are returned, nothing is written. */
|
|
3724
|
+
enrich(request) {
|
|
3725
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrich`, request, {
|
|
3726
|
+
timeout: WAITING_REQUEST_TIMEOUT_MS
|
|
3727
|
+
});
|
|
3728
|
+
}
|
|
3729
|
+
};
|
|
3730
|
+
var EnrichmentRunServiceImpl = class {
|
|
3731
|
+
constructor(client) {
|
|
3732
|
+
this.client = client;
|
|
3733
|
+
}
|
|
3734
|
+
client;
|
|
3735
|
+
create(request) {
|
|
3736
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrichment-runs`, request, {
|
|
3737
|
+
timeout: WAITING_REQUEST_TIMEOUT_MS
|
|
3738
|
+
});
|
|
3739
|
+
}
|
|
3740
|
+
list(query = {}) {
|
|
3741
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/enrichment-runs`, query);
|
|
3742
|
+
}
|
|
3743
|
+
get(id) {
|
|
3744
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}`);
|
|
3745
|
+
}
|
|
3746
|
+
async listItems(id) {
|
|
3747
|
+
const response = await this.client.request(
|
|
3748
|
+
"GET",
|
|
3749
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}/items`
|
|
3750
|
+
);
|
|
3751
|
+
return response.data;
|
|
3752
|
+
}
|
|
3753
|
+
cancel(id) {
|
|
3754
|
+
return this.client.request(
|
|
3755
|
+
"POST",
|
|
3756
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-runs/${encode2(id)}/cancel`
|
|
3757
|
+
);
|
|
3758
|
+
}
|
|
3759
|
+
provenance(entitySlug, recordId) {
|
|
3760
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/provenance`, {
|
|
3761
|
+
entity_slug: entitySlug,
|
|
3762
|
+
record_id: recordId
|
|
3763
|
+
});
|
|
3764
|
+
}
|
|
3765
|
+
};
|
|
3766
|
+
var EnrichmentMappingServiceImpl = class {
|
|
3767
|
+
constructor(client) {
|
|
3768
|
+
this.client = client;
|
|
3769
|
+
}
|
|
3770
|
+
client;
|
|
3771
|
+
entryPath(entitySlug, attribute) {
|
|
3772
|
+
return `${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}/attributes/${encode2(attribute)}`;
|
|
3773
|
+
}
|
|
3774
|
+
get(entitySlug) {
|
|
3775
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}`);
|
|
3776
|
+
}
|
|
3777
|
+
replace(entitySlug, request) {
|
|
3778
|
+
return this.client.request(
|
|
3779
|
+
"PUT",
|
|
3780
|
+
`${ENRICHMENT_BASE_PATH}/mappings/${encode2(entitySlug)}`,
|
|
3781
|
+
request
|
|
3782
|
+
);
|
|
3783
|
+
}
|
|
3784
|
+
getEntry(entitySlug, attribute) {
|
|
3785
|
+
return this.client.request("GET", this.entryPath(entitySlug, attribute));
|
|
3786
|
+
}
|
|
3787
|
+
setEntry(entitySlug, attribute, block) {
|
|
3788
|
+
return this.client.request("PUT", this.entryPath(entitySlug, attribute), block);
|
|
3789
|
+
}
|
|
3790
|
+
async deleteEntry(entitySlug, attribute) {
|
|
3791
|
+
await this.client.request("DELETE", this.entryPath(entitySlug, attribute));
|
|
3792
|
+
}
|
|
3793
|
+
};
|
|
3794
|
+
var WaterfallServiceImpl = class {
|
|
3795
|
+
constructor(client) {
|
|
3796
|
+
this.client = client;
|
|
3797
|
+
}
|
|
3798
|
+
client;
|
|
3799
|
+
async list() {
|
|
3800
|
+
const response = await this.client.request(
|
|
3801
|
+
"GET",
|
|
3802
|
+
`${ENRICHMENT_BASE_PATH}/waterfalls`
|
|
3803
|
+
);
|
|
3804
|
+
return response.data;
|
|
3805
|
+
}
|
|
3806
|
+
get(id) {
|
|
3807
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`);
|
|
3808
|
+
}
|
|
3809
|
+
create(request) {
|
|
3810
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/waterfalls`, request);
|
|
3811
|
+
}
|
|
3812
|
+
patch(id, request) {
|
|
3813
|
+
return this.client.request("PATCH", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`, request);
|
|
3814
|
+
}
|
|
3815
|
+
async delete(id) {
|
|
3816
|
+
await this.client.request("DELETE", `${ENRICHMENT_BASE_PATH}/waterfalls/${encode2(id)}`);
|
|
3817
|
+
}
|
|
3818
|
+
};
|
|
3819
|
+
var EnrichmentConnectionServiceImpl = class {
|
|
3820
|
+
constructor(client) {
|
|
3821
|
+
this.client = client;
|
|
3822
|
+
}
|
|
3823
|
+
client;
|
|
3824
|
+
async list() {
|
|
3825
|
+
const response = await this.client.request(
|
|
3826
|
+
"GET",
|
|
3827
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections`
|
|
3828
|
+
);
|
|
3829
|
+
return response.data;
|
|
3830
|
+
}
|
|
3831
|
+
get(id) {
|
|
3832
|
+
return this.client.request(
|
|
3833
|
+
"GET",
|
|
3834
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`
|
|
3835
|
+
);
|
|
3836
|
+
}
|
|
3837
|
+
create(request) {
|
|
3838
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/enrichment-connections`, request);
|
|
3839
|
+
}
|
|
3840
|
+
patch(id, request) {
|
|
3841
|
+
return this.client.request(
|
|
3842
|
+
"PATCH",
|
|
3843
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`,
|
|
3844
|
+
request
|
|
3845
|
+
);
|
|
3846
|
+
}
|
|
3847
|
+
async delete(id) {
|
|
3848
|
+
await this.client.request(
|
|
3849
|
+
"DELETE",
|
|
3850
|
+
`${ENRICHMENT_BASE_PATH}/enrichment-connections/${encode2(id)}`
|
|
3851
|
+
);
|
|
3852
|
+
}
|
|
3853
|
+
};
|
|
3854
|
+
var SignalServiceImpl = class {
|
|
3855
|
+
constructor(client) {
|
|
3856
|
+
this.client = client;
|
|
3857
|
+
}
|
|
3858
|
+
client;
|
|
3859
|
+
mappingPath(kind) {
|
|
3860
|
+
return `${ENRICHMENT_BASE_PATH}/signal-mappings/${encode2(kind)}`;
|
|
3861
|
+
}
|
|
3862
|
+
monitorPath(id) {
|
|
3863
|
+
return `${ENRICHMENT_BASE_PATH}/signal-monitors/${encode2(id)}`;
|
|
3864
|
+
}
|
|
3865
|
+
list(query = {}) {
|
|
3866
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/signals`, query);
|
|
3867
|
+
}
|
|
3868
|
+
async listMappings() {
|
|
3869
|
+
const response = await this.client.request(
|
|
3870
|
+
"GET",
|
|
3871
|
+
`${ENRICHMENT_BASE_PATH}/signal-mappings`
|
|
3872
|
+
);
|
|
3873
|
+
return response.data;
|
|
3874
|
+
}
|
|
3875
|
+
getMapping(kind) {
|
|
3876
|
+
return this.client.request("GET", this.mappingPath(kind));
|
|
3877
|
+
}
|
|
3878
|
+
putMapping(kind, request) {
|
|
3879
|
+
return this.client.request("PUT", this.mappingPath(kind), request);
|
|
3880
|
+
}
|
|
3881
|
+
async deleteMapping(kind) {
|
|
3882
|
+
await this.client.request("DELETE", this.mappingPath(kind));
|
|
3883
|
+
}
|
|
3884
|
+
async listMonitors() {
|
|
3885
|
+
const response = await this.client.request(
|
|
3886
|
+
"GET",
|
|
3887
|
+
`${ENRICHMENT_BASE_PATH}/signal-monitors`
|
|
3888
|
+
);
|
|
3889
|
+
return response.data;
|
|
3890
|
+
}
|
|
3891
|
+
getMonitor(id) {
|
|
3892
|
+
return this.client.request("GET", this.monitorPath(id));
|
|
3893
|
+
}
|
|
3894
|
+
createMonitor(request) {
|
|
3895
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/signal-monitors`, request);
|
|
3896
|
+
}
|
|
3897
|
+
patchMonitor(id, request) {
|
|
3898
|
+
return this.client.request("PATCH", this.monitorPath(id), request);
|
|
3899
|
+
}
|
|
3900
|
+
async deleteMonitor(id) {
|
|
3901
|
+
await this.client.request("DELETE", this.monitorPath(id));
|
|
3902
|
+
}
|
|
3903
|
+
};
|
|
3904
|
+
var ResearchServiceImpl = class {
|
|
3905
|
+
constructor(client) {
|
|
3906
|
+
this.client = client;
|
|
3907
|
+
}
|
|
3908
|
+
client;
|
|
3909
|
+
definitionPath(id) {
|
|
3910
|
+
return `${ENRICHMENT_BASE_PATH}/research-definitions/${encode2(id)}`;
|
|
3911
|
+
}
|
|
3912
|
+
runPath(id) {
|
|
3913
|
+
return `${ENRICHMENT_BASE_PATH}/research-runs/${encode2(id)}`;
|
|
3914
|
+
}
|
|
3915
|
+
async listDefinitions() {
|
|
3916
|
+
const response = await this.client.request(
|
|
3917
|
+
"GET",
|
|
3918
|
+
`${ENRICHMENT_BASE_PATH}/research-definitions`
|
|
3919
|
+
);
|
|
3920
|
+
return response.data;
|
|
3921
|
+
}
|
|
3922
|
+
getDefinition(id) {
|
|
3923
|
+
return this.client.request("GET", this.definitionPath(id));
|
|
3924
|
+
}
|
|
3925
|
+
createDefinition(request) {
|
|
3926
|
+
return this.client.request("POST", `${ENRICHMENT_BASE_PATH}/research-definitions`, request);
|
|
3927
|
+
}
|
|
3928
|
+
patchDefinition(id, request) {
|
|
3929
|
+
return this.client.request("PATCH", this.definitionPath(id), request);
|
|
3930
|
+
}
|
|
3931
|
+
async deleteDefinition(id) {
|
|
3932
|
+
await this.client.request("DELETE", this.definitionPath(id));
|
|
3933
|
+
}
|
|
3934
|
+
startRun(definitionId) {
|
|
3935
|
+
return this.client.request("POST", `${this.definitionPath(definitionId)}/runs`);
|
|
3936
|
+
}
|
|
3937
|
+
listRuns(query = {}) {
|
|
3938
|
+
return this.client.requestWithQuery("GET", `${ENRICHMENT_BASE_PATH}/research-runs`, query);
|
|
3939
|
+
}
|
|
3940
|
+
getRun(id) {
|
|
3941
|
+
return this.client.request("GET", this.runPath(id));
|
|
3942
|
+
}
|
|
3943
|
+
async listResults(runId) {
|
|
3944
|
+
const response = await this.client.request(
|
|
3945
|
+
"GET",
|
|
3946
|
+
`${this.runPath(runId)}/results`
|
|
3947
|
+
);
|
|
3948
|
+
return response.data;
|
|
3949
|
+
}
|
|
3950
|
+
cancelRun(id) {
|
|
3951
|
+
return this.client.request("POST", `${this.runPath(id)}/cancel`);
|
|
3952
|
+
}
|
|
3953
|
+
};
|
|
3954
|
+
var EnrichmentCatalogServiceImpl = class {
|
|
3955
|
+
constructor(client) {
|
|
3956
|
+
this.client = client;
|
|
3957
|
+
}
|
|
3958
|
+
client;
|
|
3959
|
+
enrichmentTypes() {
|
|
3960
|
+
return this.client.request("GET", `${ENRICHMENT_BASE_PATH}/enrichment-types`);
|
|
3961
|
+
}
|
|
3962
|
+
async providers() {
|
|
3963
|
+
const response = await this.client.request(
|
|
3964
|
+
"GET",
|
|
3965
|
+
`${ENRICHMENT_BASE_PATH}/providers`
|
|
3966
|
+
);
|
|
3967
|
+
return response.data;
|
|
3968
|
+
}
|
|
3969
|
+
};
|
|
3970
|
+
|
|
3662
3971
|
// src/events/index.ts
|
|
3663
3972
|
var EVENTS_BASE_PATH = "/events/v1";
|
|
3664
3973
|
var TAIL_TIMEOUT_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -3766,7 +4075,7 @@ var ActionServiceImpl = class {
|
|
|
3766
4075
|
}
|
|
3767
4076
|
client;
|
|
3768
4077
|
list(options = {}) {
|
|
3769
|
-
return new
|
|
4078
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
3770
4079
|
}
|
|
3771
4080
|
async listPage(options = {}) {
|
|
3772
4081
|
return this.client.requestWithQuery("GET", ACTIONS_BASE_PATH, options);
|
|
@@ -3812,7 +4121,7 @@ var ActionServiceImpl = class {
|
|
|
3812
4121
|
}
|
|
3813
4122
|
};
|
|
3814
4123
|
var ActionScopeSchema = zod.z.enum(["entity", "entity_batch", "global"]);
|
|
3815
|
-
var ActionSchema =
|
|
4124
|
+
var ActionSchema = chunkVKCPXFOR_cjs.AuditFieldsSchema.extend({
|
|
3816
4125
|
slug: zod.z.string(),
|
|
3817
4126
|
org_id: zod.z.string(),
|
|
3818
4127
|
module_slug: zod.z.string(),
|
|
@@ -3821,8 +4130,8 @@ var ActionSchema = chunkSUS4QR63_cjs.AuditFieldsSchema.extend({
|
|
|
3821
4130
|
name: zod.z.string(),
|
|
3822
4131
|
is_active: zod.z.boolean(),
|
|
3823
4132
|
file_id: zod.z.string(),
|
|
3824
|
-
params: zod.z.array(
|
|
3825
|
-
returns: zod.z.array(
|
|
4133
|
+
params: zod.z.array(chunkVKCPXFOR_cjs.AttributeSchema),
|
|
4134
|
+
returns: zod.z.array(chunkVKCPXFOR_cjs.AttributeSchema)
|
|
3826
4135
|
});
|
|
3827
4136
|
|
|
3828
4137
|
// src/functions/index.ts
|
|
@@ -3860,7 +4169,7 @@ var LabelServiceImpl = class {
|
|
|
3860
4169
|
}
|
|
3861
4170
|
client;
|
|
3862
4171
|
list(options = {}) {
|
|
3863
|
-
return new
|
|
4172
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
3864
4173
|
}
|
|
3865
4174
|
async listPage(options = {}) {
|
|
3866
4175
|
return this.client.requestWithQuery(
|
|
@@ -3891,7 +4200,7 @@ var LinkServiceImpl = class {
|
|
|
3891
4200
|
}
|
|
3892
4201
|
client;
|
|
3893
4202
|
list(options = {}) {
|
|
3894
|
-
return new
|
|
4203
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
3895
4204
|
}
|
|
3896
4205
|
async listPage(options = {}) {
|
|
3897
4206
|
return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
|
|
@@ -3918,7 +4227,7 @@ var NodeServiceImpl = class {
|
|
|
3918
4227
|
}
|
|
3919
4228
|
client;
|
|
3920
4229
|
list(options = {}) {
|
|
3921
|
-
return new
|
|
4230
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
3922
4231
|
}
|
|
3923
4232
|
async listPage(options = {}) {
|
|
3924
4233
|
const { label_ids, space_slugs, ...rest } = options;
|
|
@@ -4016,7 +4325,7 @@ var RecordLinkServiceImpl = class {
|
|
|
4016
4325
|
}
|
|
4017
4326
|
client;
|
|
4018
4327
|
list(options = {}) {
|
|
4019
|
-
return new
|
|
4328
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
4020
4329
|
}
|
|
4021
4330
|
async listPage(options = {}) {
|
|
4022
4331
|
return this.client.requestWithQuery(
|
|
@@ -4044,7 +4353,7 @@ var SpaceServiceImpl = class {
|
|
|
4044
4353
|
}
|
|
4045
4354
|
client;
|
|
4046
4355
|
list(options = {}) {
|
|
4047
|
-
return new
|
|
4356
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
4048
4357
|
}
|
|
4049
4358
|
async listPage(options = {}) {
|
|
4050
4359
|
return this.client.requestWithQuery(
|
|
@@ -4081,7 +4390,7 @@ var WhiteboardTemplateServiceImpl = class {
|
|
|
4081
4390
|
}
|
|
4082
4391
|
client;
|
|
4083
4392
|
list(options = {}) {
|
|
4084
|
-
return new
|
|
4393
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
4085
4394
|
}
|
|
4086
4395
|
async listPage(options = {}) {
|
|
4087
4396
|
return this.client.requestWithQuery(
|
|
@@ -4121,7 +4430,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
|
|
|
4121
4430
|
summary: zod.z.string().nullish(),
|
|
4122
4431
|
valid_from: zod.z.string().nullish(),
|
|
4123
4432
|
valid_until: zod.z.string().nullish()
|
|
4124
|
-
}).merge(
|
|
4433
|
+
}).merge(chunkVKCPXFOR_cjs.AuditFieldsSchema);
|
|
4125
4434
|
var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
|
|
4126
4435
|
content: zod.z.string()
|
|
4127
4436
|
});
|
|
@@ -4145,7 +4454,7 @@ var KnowledgeLinkSchema = zod.z.object({
|
|
|
4145
4454
|
"superseded_by"
|
|
4146
4455
|
]),
|
|
4147
4456
|
description: zod.z.string().nullish()
|
|
4148
|
-
}).merge(
|
|
4457
|
+
}).merge(chunkVKCPXFOR_cjs.AuditFieldsSchema);
|
|
4149
4458
|
var KnowledgeRecordLinkSchema = zod.z.object({
|
|
4150
4459
|
id: zod.z.string(),
|
|
4151
4460
|
org_id: zod.z.string(),
|
|
@@ -4153,7 +4462,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
|
|
|
4153
4462
|
entity_slug: zod.z.string(),
|
|
4154
4463
|
record_id: zod.z.string(),
|
|
4155
4464
|
created_at: zod.z.string(),
|
|
4156
|
-
created_by:
|
|
4465
|
+
created_by: chunkVKCPXFOR_cjs.UserRefSchema
|
|
4157
4466
|
});
|
|
4158
4467
|
var KnowledgeLabelSchema = zod.z.object({
|
|
4159
4468
|
id: zod.z.string(),
|
|
@@ -4163,13 +4472,13 @@ var KnowledgeLabelSchema = zod.z.object({
|
|
|
4163
4472
|
description: zod.z.string().nullish(),
|
|
4164
4473
|
color: zod.z.string().nullish(),
|
|
4165
4474
|
icon: zod.z.string().nullish()
|
|
4166
|
-
}).merge(
|
|
4475
|
+
}).merge(chunkVKCPXFOR_cjs.AuditFieldsSchema);
|
|
4167
4476
|
var KnowledgeNodeLabelSchema = zod.z.object({
|
|
4168
4477
|
org_id: zod.z.string(),
|
|
4169
4478
|
node_id: zod.z.string(),
|
|
4170
4479
|
label_id: zod.z.string(),
|
|
4171
4480
|
created_at: zod.z.string(),
|
|
4172
|
-
created_by:
|
|
4481
|
+
created_by: chunkVKCPXFOR_cjs.UserRefSchema
|
|
4173
4482
|
});
|
|
4174
4483
|
var NodeNeighborhoodSchema = zod.z.object({
|
|
4175
4484
|
nodes: zod.z.array(
|
|
@@ -4220,7 +4529,7 @@ var KnowledgeClient = class {
|
|
|
4220
4529
|
|
|
4221
4530
|
// src/scheduling/index.ts
|
|
4222
4531
|
var SCHEDULING_BASE_PATH = "/scheduling/v1";
|
|
4223
|
-
var
|
|
4532
|
+
var encode3 = encodeURIComponent;
|
|
4224
4533
|
var SchedulingClient = class {
|
|
4225
4534
|
calendarConnections;
|
|
4226
4535
|
calendars;
|
|
@@ -4262,41 +4571,41 @@ var CalendarConnectionServiceImpl = class {
|
|
|
4262
4571
|
updateMine(id, request) {
|
|
4263
4572
|
return this.client.request(
|
|
4264
4573
|
"PATCH",
|
|
4265
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4574
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}`,
|
|
4266
4575
|
request
|
|
4267
4576
|
);
|
|
4268
4577
|
}
|
|
4269
4578
|
async disconnectMine(id) {
|
|
4270
4579
|
await this.client.request(
|
|
4271
4580
|
"DELETE",
|
|
4272
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4581
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}`
|
|
4273
4582
|
);
|
|
4274
4583
|
}
|
|
4275
4584
|
syncMine(id, request = {}) {
|
|
4276
4585
|
return this.client.request(
|
|
4277
4586
|
"POST",
|
|
4278
|
-
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${
|
|
4587
|
+
`${SCHEDULING_BASE_PATH}/me/calendar-connections/${encode3(id)}/sync`,
|
|
4279
4588
|
request
|
|
4280
4589
|
);
|
|
4281
4590
|
}
|
|
4282
4591
|
listForUser(userId, query = {}) {
|
|
4283
4592
|
return this.client.requestWithQuery(
|
|
4284
4593
|
"GET",
|
|
4285
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4594
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections`,
|
|
4286
4595
|
query
|
|
4287
4596
|
);
|
|
4288
4597
|
}
|
|
4289
4598
|
updateForUser(userId, id, request) {
|
|
4290
4599
|
return this.client.request(
|
|
4291
4600
|
"PATCH",
|
|
4292
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4601
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections/${encode3(id)}`,
|
|
4293
4602
|
request
|
|
4294
4603
|
);
|
|
4295
4604
|
}
|
|
4296
4605
|
async disconnectForUser(userId, id) {
|
|
4297
4606
|
await this.client.request(
|
|
4298
4607
|
"DELETE",
|
|
4299
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4608
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendar-connections/${encode3(id)}`
|
|
4300
4609
|
);
|
|
4301
4610
|
}
|
|
4302
4611
|
};
|
|
@@ -4309,32 +4618,32 @@ var CalendarServiceImpl = class {
|
|
|
4309
4618
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/me/calendars`, query);
|
|
4310
4619
|
}
|
|
4311
4620
|
getMine(id) {
|
|
4312
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/me/calendars/${
|
|
4621
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/me/calendars/${encode3(id)}`);
|
|
4313
4622
|
}
|
|
4314
4623
|
updateMine(id, request) {
|
|
4315
4624
|
return this.client.request(
|
|
4316
4625
|
"PATCH",
|
|
4317
|
-
`${SCHEDULING_BASE_PATH}/me/calendars/${
|
|
4626
|
+
`${SCHEDULING_BASE_PATH}/me/calendars/${encode3(id)}`,
|
|
4318
4627
|
request
|
|
4319
4628
|
);
|
|
4320
4629
|
}
|
|
4321
4630
|
listForUser(userId, query = {}) {
|
|
4322
4631
|
return this.client.requestWithQuery(
|
|
4323
4632
|
"GET",
|
|
4324
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4633
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars`,
|
|
4325
4634
|
query
|
|
4326
4635
|
);
|
|
4327
4636
|
}
|
|
4328
4637
|
getForUser(userId, id) {
|
|
4329
4638
|
return this.client.request(
|
|
4330
4639
|
"GET",
|
|
4331
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4640
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars/${encode3(id)}`
|
|
4332
4641
|
);
|
|
4333
4642
|
}
|
|
4334
4643
|
updateForUser(userId, id, request) {
|
|
4335
4644
|
return this.client.request(
|
|
4336
4645
|
"PATCH",
|
|
4337
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4646
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/calendars/${encode3(id)}`,
|
|
4338
4647
|
request
|
|
4339
4648
|
);
|
|
4340
4649
|
}
|
|
@@ -4353,13 +4662,13 @@ var SchedulingProfileServiceImpl = class {
|
|
|
4353
4662
|
getForUser(userId) {
|
|
4354
4663
|
return this.client.request(
|
|
4355
4664
|
"GET",
|
|
4356
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4665
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/scheduling-profile`
|
|
4357
4666
|
);
|
|
4358
4667
|
}
|
|
4359
4668
|
putForUser(userId, request) {
|
|
4360
4669
|
return this.client.request(
|
|
4361
4670
|
"PUT",
|
|
4362
|
-
`${SCHEDULING_BASE_PATH}/users/${
|
|
4671
|
+
`${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/scheduling-profile`,
|
|
4363
4672
|
request
|
|
4364
4673
|
);
|
|
4365
4674
|
}
|
|
@@ -4373,7 +4682,7 @@ var CalendarEventServiceImpl = class {
|
|
|
4373
4682
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/calendar-events`, query);
|
|
4374
4683
|
}
|
|
4375
4684
|
get(id) {
|
|
4376
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4685
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`);
|
|
4377
4686
|
}
|
|
4378
4687
|
create(request) {
|
|
4379
4688
|
return this.client.request("POST", `${SCHEDULING_BASE_PATH}/calendar-events`, request);
|
|
@@ -4381,7 +4690,7 @@ var CalendarEventServiceImpl = class {
|
|
|
4381
4690
|
update(id, request, scope) {
|
|
4382
4691
|
return this.client.requestWithQuery(
|
|
4383
4692
|
"PATCH",
|
|
4384
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4693
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`,
|
|
4385
4694
|
scope ? { scope } : void 0,
|
|
4386
4695
|
request
|
|
4387
4696
|
);
|
|
@@ -4389,14 +4698,14 @@ var CalendarEventServiceImpl = class {
|
|
|
4389
4698
|
async delete(id, scope) {
|
|
4390
4699
|
await this.client.requestWithQuery(
|
|
4391
4700
|
"DELETE",
|
|
4392
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4701
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}`,
|
|
4393
4702
|
scope ? { scope } : void 0
|
|
4394
4703
|
);
|
|
4395
4704
|
}
|
|
4396
4705
|
respond(id, request) {
|
|
4397
4706
|
return this.client.request(
|
|
4398
4707
|
"POST",
|
|
4399
|
-
`${SCHEDULING_BASE_PATH}/calendar-events/${
|
|
4708
|
+
`${SCHEDULING_BASE_PATH}/calendar-events/${encode3(id)}/respond`,
|
|
4400
4709
|
request
|
|
4401
4710
|
);
|
|
4402
4711
|
}
|
|
@@ -4414,26 +4723,26 @@ var CalendarEventTypeServiceImpl = class {
|
|
|
4414
4723
|
);
|
|
4415
4724
|
}
|
|
4416
4725
|
get(key) {
|
|
4417
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4726
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`);
|
|
4418
4727
|
}
|
|
4419
4728
|
put(key, request) {
|
|
4420
4729
|
return this.client.request(
|
|
4421
4730
|
"PUT",
|
|
4422
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4731
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`,
|
|
4423
4732
|
request
|
|
4424
4733
|
);
|
|
4425
4734
|
}
|
|
4426
4735
|
update(key, request) {
|
|
4427
4736
|
return this.client.request(
|
|
4428
4737
|
"PATCH",
|
|
4429
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4738
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`,
|
|
4430
4739
|
request
|
|
4431
4740
|
);
|
|
4432
4741
|
}
|
|
4433
4742
|
async delete(key) {
|
|
4434
4743
|
await this.client.request(
|
|
4435
4744
|
"DELETE",
|
|
4436
|
-
`${SCHEDULING_BASE_PATH}/calendar-event-types/${
|
|
4745
|
+
`${SCHEDULING_BASE_PATH}/calendar-event-types/${encode3(key)}`
|
|
4437
4746
|
);
|
|
4438
4747
|
}
|
|
4439
4748
|
};
|
|
@@ -4443,37 +4752,37 @@ var AvailabilityConstraintServiceImpl = class {
|
|
|
4443
4752
|
}
|
|
4444
4753
|
client;
|
|
4445
4754
|
base(userId) {
|
|
4446
|
-
return userId ? `${SCHEDULING_BASE_PATH}/users/${
|
|
4755
|
+
return userId ? `${SCHEDULING_BASE_PATH}/users/${encode3(userId)}/availability-constraints` : `${SCHEDULING_BASE_PATH}/me/availability-constraints`;
|
|
4447
4756
|
}
|
|
4448
4757
|
listMine(query = {}) {
|
|
4449
4758
|
return this.client.requestWithQuery("GET", this.base(), query);
|
|
4450
4759
|
}
|
|
4451
4760
|
getMine(id) {
|
|
4452
|
-
return this.client.request("GET", `${this.base()}/${
|
|
4761
|
+
return this.client.request("GET", `${this.base()}/${encode3(id)}`);
|
|
4453
4762
|
}
|
|
4454
4763
|
createMine(request) {
|
|
4455
4764
|
return this.client.request("POST", this.base(), request);
|
|
4456
4765
|
}
|
|
4457
4766
|
updateMine(id, request) {
|
|
4458
|
-
return this.client.request("PATCH", `${this.base()}/${
|
|
4767
|
+
return this.client.request("PATCH", `${this.base()}/${encode3(id)}`, request);
|
|
4459
4768
|
}
|
|
4460
4769
|
async deleteMine(id) {
|
|
4461
|
-
await this.client.request("DELETE", `${this.base()}/${
|
|
4770
|
+
await this.client.request("DELETE", `${this.base()}/${encode3(id)}`);
|
|
4462
4771
|
}
|
|
4463
4772
|
listForUser(userId, query = {}) {
|
|
4464
4773
|
return this.client.requestWithQuery("GET", this.base(userId), query);
|
|
4465
4774
|
}
|
|
4466
4775
|
getForUser(userId, id) {
|
|
4467
|
-
return this.client.request("GET", `${this.base(userId)}/${
|
|
4776
|
+
return this.client.request("GET", `${this.base(userId)}/${encode3(id)}`);
|
|
4468
4777
|
}
|
|
4469
4778
|
createForUser(userId, request) {
|
|
4470
4779
|
return this.client.request("POST", this.base(userId), request);
|
|
4471
4780
|
}
|
|
4472
4781
|
updateForUser(userId, id, request) {
|
|
4473
|
-
return this.client.request("PATCH", `${this.base(userId)}/${
|
|
4782
|
+
return this.client.request("PATCH", `${this.base(userId)}/${encode3(id)}`, request);
|
|
4474
4783
|
}
|
|
4475
4784
|
async deleteForUser(userId, id) {
|
|
4476
|
-
await this.client.request("DELETE", `${this.base(userId)}/${
|
|
4785
|
+
await this.client.request("DELETE", `${this.base(userId)}/${encode3(id)}`);
|
|
4477
4786
|
}
|
|
4478
4787
|
};
|
|
4479
4788
|
var SlotServiceImpl = class {
|
|
@@ -4494,7 +4803,7 @@ var SchedulingLinkServiceImpl = class {
|
|
|
4494
4803
|
return this.client.requestWithQuery("GET", `${SCHEDULING_BASE_PATH}/scheduling-links`, query);
|
|
4495
4804
|
}
|
|
4496
4805
|
get(key) {
|
|
4497
|
-
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4806
|
+
return this.client.request("GET", `${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`);
|
|
4498
4807
|
}
|
|
4499
4808
|
create(request) {
|
|
4500
4809
|
return this.client.request("POST", `${SCHEDULING_BASE_PATH}/scheduling-links`, request);
|
|
@@ -4502,31 +4811,31 @@ var SchedulingLinkServiceImpl = class {
|
|
|
4502
4811
|
update(key, request) {
|
|
4503
4812
|
return this.client.request(
|
|
4504
4813
|
"PATCH",
|
|
4505
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4814
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`,
|
|
4506
4815
|
request
|
|
4507
4816
|
);
|
|
4508
4817
|
}
|
|
4509
4818
|
async delete(key) {
|
|
4510
|
-
await this.client.request("DELETE", `${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4819
|
+
await this.client.request("DELETE", `${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}`);
|
|
4511
4820
|
}
|
|
4512
4821
|
getPage(key, contactId) {
|
|
4513
|
-
const suffix = contactId ? `?contact_id=${
|
|
4822
|
+
const suffix = contactId ? `?contact_id=${encode3(contactId)}` : "";
|
|
4514
4823
|
return this.client.request(
|
|
4515
4824
|
"GET",
|
|
4516
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4825
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/page${suffix}`
|
|
4517
4826
|
);
|
|
4518
4827
|
}
|
|
4519
4828
|
getSlots(key, query) {
|
|
4520
4829
|
return this.client.requestWithQuery(
|
|
4521
4830
|
"GET",
|
|
4522
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4831
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/slots`,
|
|
4523
4832
|
query
|
|
4524
4833
|
);
|
|
4525
4834
|
}
|
|
4526
4835
|
book(key, request) {
|
|
4527
4836
|
return this.client.request(
|
|
4528
4837
|
"POST",
|
|
4529
|
-
`${SCHEDULING_BASE_PATH}/scheduling-links/${
|
|
4838
|
+
`${SCHEDULING_BASE_PATH}/scheduling-links/${encode3(key)}/calendar-events`,
|
|
4530
4839
|
request
|
|
4531
4840
|
);
|
|
4532
4841
|
}
|
|
@@ -4537,13 +4846,13 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4537
4846
|
}
|
|
4538
4847
|
client;
|
|
4539
4848
|
base(orgId) {
|
|
4540
|
-
return `${SCHEDULING_BASE_PATH}/public/orgs/${
|
|
4849
|
+
return `${SCHEDULING_BASE_PATH}/public/orgs/${encode3(orgId)}`;
|
|
4541
4850
|
}
|
|
4542
4851
|
getLink(orgId, key, contactId) {
|
|
4543
|
-
const suffix = contactId ? `?contact_id=${
|
|
4852
|
+
const suffix = contactId ? `?contact_id=${encode3(contactId)}` : "";
|
|
4544
4853
|
return this.client.request(
|
|
4545
4854
|
"GET",
|
|
4546
|
-
`${this.base(orgId)}/links/${
|
|
4855
|
+
`${this.base(orgId)}/links/${encode3(key)}${suffix}`,
|
|
4547
4856
|
void 0,
|
|
4548
4857
|
{ skipAuth: true }
|
|
4549
4858
|
);
|
|
@@ -4554,7 +4863,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4554
4863
|
if (query.type_key) params.set("type_key", query.type_key);
|
|
4555
4864
|
return this.client.request(
|
|
4556
4865
|
"GET",
|
|
4557
|
-
`${this.base(orgId)}/links/${
|
|
4866
|
+
`${this.base(orgId)}/links/${encode3(key)}/slots?${params.toString()}`,
|
|
4558
4867
|
void 0,
|
|
4559
4868
|
{ skipAuth: true }
|
|
4560
4869
|
);
|
|
@@ -4562,7 +4871,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4562
4871
|
book(orgId, key, request) {
|
|
4563
4872
|
return this.client.request(
|
|
4564
4873
|
"POST",
|
|
4565
|
-
`${this.base(orgId)}/links/${
|
|
4874
|
+
`${this.base(orgId)}/links/${encode3(key)}/calendar-events`,
|
|
4566
4875
|
request,
|
|
4567
4876
|
{ skipAuth: true }
|
|
4568
4877
|
);
|
|
@@ -4570,7 +4879,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4570
4879
|
getEvent(orgId, id, token) {
|
|
4571
4880
|
return this.client.request(
|
|
4572
4881
|
"GET",
|
|
4573
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4882
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}?token=${encode3(token)}`,
|
|
4574
4883
|
void 0,
|
|
4575
4884
|
{ skipAuth: true }
|
|
4576
4885
|
);
|
|
@@ -4578,7 +4887,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4578
4887
|
cancel(orgId, id, request) {
|
|
4579
4888
|
return this.client.request(
|
|
4580
4889
|
"POST",
|
|
4581
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4890
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}/cancel`,
|
|
4582
4891
|
request,
|
|
4583
4892
|
{ skipAuth: true }
|
|
4584
4893
|
);
|
|
@@ -4586,7 +4895,7 @@ var PublicSchedulingServiceImpl = class {
|
|
|
4586
4895
|
reschedule(orgId, id, request) {
|
|
4587
4896
|
return this.client.request(
|
|
4588
4897
|
"POST",
|
|
4589
|
-
`${this.base(orgId)}/calendar-events/${
|
|
4898
|
+
`${this.base(orgId)}/calendar-events/${encode3(id)}/reschedule`,
|
|
4590
4899
|
request,
|
|
4591
4900
|
{ skipAuth: true }
|
|
4592
4901
|
);
|
|
@@ -4740,7 +5049,7 @@ var ExecutionServiceImpl = class {
|
|
|
4740
5049
|
}
|
|
4741
5050
|
client;
|
|
4742
5051
|
list(options = {}) {
|
|
4743
|
-
return new
|
|
5052
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
4744
5053
|
}
|
|
4745
5054
|
async listPage(options = {}) {
|
|
4746
5055
|
return this.client.requestWithQuery(
|
|
@@ -4799,7 +5108,7 @@ var WorkflowServiceImpl = class {
|
|
|
4799
5108
|
}
|
|
4800
5109
|
client;
|
|
4801
5110
|
list(options = {}) {
|
|
4802
|
-
return new
|
|
5111
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
4803
5112
|
}
|
|
4804
5113
|
async listPage(options = {}) {
|
|
4805
5114
|
return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
|
|
@@ -4837,7 +5146,7 @@ var WorkflowServiceImpl = class {
|
|
|
4837
5146
|
return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
|
|
4838
5147
|
}
|
|
4839
5148
|
listVersions(key, options = {}) {
|
|
4840
|
-
return new
|
|
5149
|
+
return new chunkVKCPXFOR_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
|
|
4841
5150
|
}
|
|
4842
5151
|
async listVersionsPage(key, options = {}) {
|
|
4843
5152
|
return this.client.requestWithQuery(
|
|
@@ -4882,303 +5191,307 @@ var WorkflowClient = class {
|
|
|
4882
5191
|
|
|
4883
5192
|
Object.defineProperty(exports, "AppConfigurationSchema", {
|
|
4884
5193
|
enumerable: true,
|
|
4885
|
-
get: function () { return
|
|
5194
|
+
get: function () { return chunkVKCPXFOR_cjs.AppConfigurationSchema; }
|
|
4886
5195
|
});
|
|
4887
5196
|
Object.defineProperty(exports, "AppHomeSchema", {
|
|
4888
5197
|
enumerable: true,
|
|
4889
|
-
get: function () { return
|
|
5198
|
+
get: function () { return chunkVKCPXFOR_cjs.AppHomeSchema; }
|
|
4890
5199
|
});
|
|
4891
5200
|
Object.defineProperty(exports, "AppSchema", {
|
|
4892
5201
|
enumerable: true,
|
|
4893
|
-
get: function () { return
|
|
5202
|
+
get: function () { return chunkVKCPXFOR_cjs.AppSchema; }
|
|
4894
5203
|
});
|
|
4895
5204
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
4896
5205
|
enumerable: true,
|
|
4897
|
-
get: function () { return
|
|
5206
|
+
get: function () { return chunkVKCPXFOR_cjs.AttributeSchema; }
|
|
4898
5207
|
});
|
|
4899
5208
|
Object.defineProperty(exports, "AuditFieldsSchema", {
|
|
4900
5209
|
enumerable: true,
|
|
4901
|
-
get: function () { return
|
|
5210
|
+
get: function () { return chunkVKCPXFOR_cjs.AuditFieldsSchema; }
|
|
4902
5211
|
});
|
|
4903
5212
|
Object.defineProperty(exports, "CURRENT_USER", {
|
|
4904
5213
|
enumerable: true,
|
|
4905
|
-
get: function () { return
|
|
5214
|
+
get: function () { return chunkVKCPXFOR_cjs.CURRENT_USER; }
|
|
4906
5215
|
});
|
|
4907
5216
|
Object.defineProperty(exports, "CURRENT_USER_DEFAULT", {
|
|
4908
5217
|
enumerable: true,
|
|
4909
|
-
get: function () { return
|
|
5218
|
+
get: function () { return chunkVKCPXFOR_cjs.CURRENT_USER_DEFAULT; }
|
|
4910
5219
|
});
|
|
4911
5220
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
4912
5221
|
enumerable: true,
|
|
4913
|
-
get: function () { return
|
|
5222
|
+
get: function () { return chunkVKCPXFOR_cjs.ColumnSchema; }
|
|
4914
5223
|
});
|
|
4915
5224
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
4916
5225
|
enumerable: true,
|
|
4917
|
-
get: function () { return
|
|
5226
|
+
get: function () { return chunkVKCPXFOR_cjs.ComponentSchema; }
|
|
4918
5227
|
});
|
|
4919
5228
|
Object.defineProperty(exports, "ContactAddressAttributeMetaSchema", {
|
|
4920
5229
|
enumerable: true,
|
|
4921
|
-
get: function () { return
|
|
5230
|
+
get: function () { return chunkVKCPXFOR_cjs.ContactAddressAttributeMetaSchema; }
|
|
4922
5231
|
});
|
|
4923
5232
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
4924
5233
|
enumerable: true,
|
|
4925
|
-
get: function () { return
|
|
5234
|
+
get: function () { return chunkVKCPXFOR_cjs.CurrencyAttributeMetaSchema; }
|
|
4926
5235
|
});
|
|
4927
5236
|
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
4928
5237
|
enumerable: true,
|
|
4929
|
-
get: function () { return
|
|
5238
|
+
get: function () { return chunkVKCPXFOR_cjs.DEFAULT_PAGE_SIZE; }
|
|
4930
5239
|
});
|
|
4931
5240
|
Object.defineProperty(exports, "DONE", {
|
|
4932
5241
|
enumerable: true,
|
|
4933
|
-
get: function () { return
|
|
5242
|
+
get: function () { return chunkVKCPXFOR_cjs.DONE; }
|
|
4934
5243
|
});
|
|
4935
5244
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
4936
5245
|
enumerable: true,
|
|
4937
|
-
get: function () { return
|
|
5246
|
+
get: function () { return chunkVKCPXFOR_cjs.DesignReferenceSchema; }
|
|
4938
5247
|
});
|
|
4939
5248
|
Object.defineProperty(exports, "EntityContactBindingSchema", {
|
|
4940
5249
|
enumerable: true,
|
|
4941
|
-
get: function () { return
|
|
5250
|
+
get: function () { return chunkVKCPXFOR_cjs.EntityContactBindingSchema; }
|
|
4942
5251
|
});
|
|
4943
5252
|
Object.defineProperty(exports, "EntityExtensionSchema", {
|
|
4944
5253
|
enumerable: true,
|
|
4945
|
-
get: function () { return
|
|
5254
|
+
get: function () { return chunkVKCPXFOR_cjs.EntityExtensionSchema; }
|
|
4946
5255
|
});
|
|
4947
5256
|
Object.defineProperty(exports, "EntitySchema", {
|
|
4948
5257
|
enumerable: true,
|
|
4949
|
-
get: function () { return
|
|
5258
|
+
get: function () { return chunkVKCPXFOR_cjs.EntitySchema; }
|
|
4950
5259
|
});
|
|
4951
5260
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
4952
5261
|
enumerable: true,
|
|
4953
|
-
get: function () { return
|
|
5262
|
+
get: function () { return chunkVKCPXFOR_cjs.EntityWithSchemaSchema; }
|
|
4954
5263
|
});
|
|
4955
5264
|
Object.defineProperty(exports, "ExtensionPositionSchema", {
|
|
4956
5265
|
enumerable: true,
|
|
4957
|
-
get: function () { return
|
|
5266
|
+
get: function () { return chunkVKCPXFOR_cjs.ExtensionPositionSchema; }
|
|
4958
5267
|
});
|
|
4959
5268
|
Object.defineProperty(exports, "FileRefSchema", {
|
|
4960
5269
|
enumerable: true,
|
|
4961
|
-
get: function () { return
|
|
5270
|
+
get: function () { return chunkVKCPXFOR_cjs.FileRefSchema; }
|
|
4962
5271
|
});
|
|
4963
5272
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
4964
5273
|
enumerable: true,
|
|
4965
|
-
get: function () { return
|
|
5274
|
+
get: function () { return chunkVKCPXFOR_cjs.FilterElementSchema; }
|
|
4966
5275
|
});
|
|
4967
5276
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
4968
5277
|
enumerable: true,
|
|
4969
|
-
get: function () { return
|
|
5278
|
+
get: function () { return chunkVKCPXFOR_cjs.FilterGroupSchema; }
|
|
4970
5279
|
});
|
|
4971
5280
|
Object.defineProperty(exports, "ListExtensionColumnPlacementSchema", {
|
|
4972
5281
|
enumerable: true,
|
|
4973
|
-
get: function () { return
|
|
5282
|
+
get: function () { return chunkVKCPXFOR_cjs.ListExtensionColumnPlacementSchema; }
|
|
4974
5283
|
});
|
|
4975
5284
|
Object.defineProperty(exports, "ListExtensionSchema", {
|
|
4976
5285
|
enumerable: true,
|
|
4977
|
-
get: function () { return
|
|
5286
|
+
get: function () { return chunkVKCPXFOR_cjs.ListExtensionSchema; }
|
|
4978
5287
|
});
|
|
4979
5288
|
Object.defineProperty(exports, "ListSchema", {
|
|
4980
5289
|
enumerable: true,
|
|
4981
|
-
get: function () { return
|
|
5290
|
+
get: function () { return chunkVKCPXFOR_cjs.ListSchema; }
|
|
4982
5291
|
});
|
|
4983
5292
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
4984
5293
|
enumerable: true,
|
|
4985
|
-
get: function () { return
|
|
5294
|
+
get: function () { return chunkVKCPXFOR_cjs.ListViewSchema; }
|
|
4986
5295
|
});
|
|
4987
5296
|
Object.defineProperty(exports, "MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS", {
|
|
4988
5297
|
enumerable: true,
|
|
4989
|
-
get: function () { return
|
|
5298
|
+
get: function () { return chunkVKCPXFOR_cjs.MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS; }
|
|
4990
5299
|
});
|
|
4991
5300
|
Object.defineProperty(exports, "MenuConfigurationExtensionPlacementSchema", {
|
|
4992
5301
|
enumerable: true,
|
|
4993
|
-
get: function () { return
|
|
5302
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuConfigurationExtensionPlacementSchema; }
|
|
4994
5303
|
});
|
|
4995
5304
|
Object.defineProperty(exports, "MenuConfigurationExtensionPositionSchema", {
|
|
4996
5305
|
enumerable: true,
|
|
4997
|
-
get: function () { return
|
|
5306
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuConfigurationExtensionPositionSchema; }
|
|
4998
5307
|
});
|
|
4999
5308
|
Object.defineProperty(exports, "MenuConfigurationExtensionSchema", {
|
|
5000
5309
|
enumerable: true,
|
|
5001
|
-
get: function () { return
|
|
5310
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuConfigurationExtensionSchema; }
|
|
5002
5311
|
});
|
|
5003
5312
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
5004
5313
|
enumerable: true,
|
|
5005
|
-
get: function () { return
|
|
5314
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuConfigurationSchema; }
|
|
5006
5315
|
});
|
|
5007
5316
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
5008
5317
|
enumerable: true,
|
|
5009
|
-
get: function () { return
|
|
5318
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuItemSchema; }
|
|
5010
5319
|
});
|
|
5011
5320
|
Object.defineProperty(exports, "MenuItemType", {
|
|
5012
5321
|
enumerable: true,
|
|
5013
|
-
get: function () { return
|
|
5322
|
+
get: function () { return chunkVKCPXFOR_cjs.MenuItemType; }
|
|
5014
5323
|
});
|
|
5015
5324
|
Object.defineProperty(exports, "MetaClient", {
|
|
5016
5325
|
enumerable: true,
|
|
5017
|
-
get: function () { return
|
|
5326
|
+
get: function () { return chunkVKCPXFOR_cjs.MetaClient; }
|
|
5018
5327
|
});
|
|
5019
5328
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
5020
5329
|
enumerable: true,
|
|
5021
|
-
get: function () { return
|
|
5330
|
+
get: function () { return chunkVKCPXFOR_cjs.ModuleSchema; }
|
|
5022
5331
|
});
|
|
5023
5332
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
5024
5333
|
enumerable: true,
|
|
5025
|
-
get: function () { return
|
|
5334
|
+
get: function () { return chunkVKCPXFOR_cjs.OnDeleteActionSchema; }
|
|
5026
5335
|
});
|
|
5027
5336
|
Object.defineProperty(exports, "PAGE_ACTION_MATCH_MAX_LIMIT", {
|
|
5028
5337
|
enumerable: true,
|
|
5029
|
-
get: function () { return
|
|
5338
|
+
get: function () { return chunkVKCPXFOR_cjs.PAGE_ACTION_MATCH_MAX_LIMIT; }
|
|
5030
5339
|
});
|
|
5031
5340
|
Object.defineProperty(exports, "PAGE_EXTENSION_ANCHOR_MAIN", {
|
|
5032
5341
|
enumerable: true,
|
|
5033
|
-
get: function () { return
|
|
5342
|
+
get: function () { return chunkVKCPXFOR_cjs.PAGE_EXTENSION_ANCHOR_MAIN; }
|
|
5034
5343
|
});
|
|
5035
5344
|
Object.defineProperty(exports, "PAGE_EXTENSION_ANCHOR_SIDE_PANEL", {
|
|
5036
5345
|
enumerable: true,
|
|
5037
|
-
get: function () { return
|
|
5346
|
+
get: function () { return chunkVKCPXFOR_cjs.PAGE_EXTENSION_ANCHOR_SIDE_PANEL; }
|
|
5038
5347
|
});
|
|
5039
5348
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
5040
5349
|
enumerable: true,
|
|
5041
|
-
get: function () { return
|
|
5350
|
+
get: function () { return chunkVKCPXFOR_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
5042
5351
|
});
|
|
5043
5352
|
Object.defineProperty(exports, "PLATFORM_USER_ID", {
|
|
5044
5353
|
enumerable: true,
|
|
5045
|
-
get: function () { return
|
|
5354
|
+
get: function () { return chunkVKCPXFOR_cjs.PLATFORM_USER_ID; }
|
|
5046
5355
|
});
|
|
5047
5356
|
Object.defineProperty(exports, "PageActionMatchSchema", {
|
|
5048
5357
|
enumerable: true,
|
|
5049
|
-
get: function () { return
|
|
5358
|
+
get: function () { return chunkVKCPXFOR_cjs.PageActionMatchSchema; }
|
|
5050
5359
|
});
|
|
5051
5360
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
5052
5361
|
enumerable: true,
|
|
5053
|
-
get: function () { return
|
|
5362
|
+
get: function () { return chunkVKCPXFOR_cjs.PageActionSchema; }
|
|
5054
5363
|
});
|
|
5055
5364
|
Object.defineProperty(exports, "PageExtensionPlacementSchema", {
|
|
5056
5365
|
enumerable: true,
|
|
5057
|
-
get: function () { return
|
|
5366
|
+
get: function () { return chunkVKCPXFOR_cjs.PageExtensionPlacementSchema; }
|
|
5058
5367
|
});
|
|
5059
5368
|
Object.defineProperty(exports, "PageExtensionSchema", {
|
|
5060
5369
|
enumerable: true,
|
|
5061
|
-
get: function () { return
|
|
5370
|
+
get: function () { return chunkVKCPXFOR_cjs.PageExtensionSchema; }
|
|
5062
5371
|
});
|
|
5063
5372
|
Object.defineProperty(exports, "PageIterator", {
|
|
5064
5373
|
enumerable: true,
|
|
5065
|
-
get: function () { return
|
|
5374
|
+
get: function () { return chunkVKCPXFOR_cjs.PageIterator; }
|
|
5066
5375
|
});
|
|
5067
5376
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
5068
5377
|
enumerable: true,
|
|
5069
|
-
get: function () { return
|
|
5378
|
+
get: function () { return chunkVKCPXFOR_cjs.PageLayoutSchema; }
|
|
5070
5379
|
});
|
|
5071
5380
|
Object.defineProperty(exports, "PageSchema", {
|
|
5072
5381
|
enumerable: true,
|
|
5073
|
-
get: function () { return
|
|
5382
|
+
get: function () { return chunkVKCPXFOR_cjs.PageSchema; }
|
|
5074
5383
|
});
|
|
5075
5384
|
Object.defineProperty(exports, "RecordPageBindingSchema", {
|
|
5076
5385
|
enumerable: true,
|
|
5077
|
-
get: function () { return
|
|
5386
|
+
get: function () { return chunkVKCPXFOR_cjs.RecordPageBindingSchema; }
|
|
5078
5387
|
});
|
|
5079
5388
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
5080
5389
|
enumerable: true,
|
|
5081
|
-
get: function () { return
|
|
5390
|
+
get: function () { return chunkVKCPXFOR_cjs.RelationAttributeMetaSchema; }
|
|
5082
5391
|
});
|
|
5083
5392
|
Object.defineProperty(exports, "ResponseMetaSchema", {
|
|
5084
5393
|
enumerable: true,
|
|
5085
|
-
get: function () { return
|
|
5394
|
+
get: function () { return chunkVKCPXFOR_cjs.ResponseMetaSchema; }
|
|
5086
5395
|
});
|
|
5087
5396
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
5088
5397
|
enumerable: true,
|
|
5089
|
-
get: function () { return
|
|
5398
|
+
get: function () { return chunkVKCPXFOR_cjs.SortConfigSchema; }
|
|
5399
|
+
});
|
|
5400
|
+
Object.defineProperty(exports, "SuggestionsModeSchema", {
|
|
5401
|
+
enumerable: true,
|
|
5402
|
+
get: function () { return chunkVKCPXFOR_cjs.SuggestionsModeSchema; }
|
|
5090
5403
|
});
|
|
5091
5404
|
Object.defineProperty(exports, "TriggerPageBindingSchema", {
|
|
5092
5405
|
enumerable: true,
|
|
5093
|
-
get: function () { return
|
|
5406
|
+
get: function () { return chunkVKCPXFOR_cjs.TriggerPageBindingSchema; }
|
|
5094
5407
|
});
|
|
5095
5408
|
Object.defineProperty(exports, "UserRefSchema", {
|
|
5096
5409
|
enumerable: true,
|
|
5097
|
-
get: function () { return
|
|
5410
|
+
get: function () { return chunkVKCPXFOR_cjs.UserRefSchema; }
|
|
5098
5411
|
});
|
|
5099
5412
|
Object.defineProperty(exports, "VariableSchema", {
|
|
5100
5413
|
enumerable: true,
|
|
5101
|
-
get: function () { return
|
|
5414
|
+
get: function () { return chunkVKCPXFOR_cjs.VariableSchema; }
|
|
5102
5415
|
});
|
|
5103
5416
|
Object.defineProperty(exports, "acceptsCurrentUserDefault", {
|
|
5104
5417
|
enumerable: true,
|
|
5105
|
-
get: function () { return
|
|
5418
|
+
get: function () { return chunkVKCPXFOR_cjs.acceptsCurrentUserDefault; }
|
|
5106
5419
|
});
|
|
5107
5420
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
5108
5421
|
enumerable: true,
|
|
5109
|
-
get: function () { return
|
|
5422
|
+
get: function () { return chunkVKCPXFOR_cjs.allCurrencyCodes; }
|
|
5110
5423
|
});
|
|
5111
5424
|
Object.defineProperty(exports, "bundleVersionOf", {
|
|
5112
5425
|
enumerable: true,
|
|
5113
|
-
get: function () { return
|
|
5426
|
+
get: function () { return chunkVKCPXFOR_cjs.bundleVersionOf; }
|
|
5114
5427
|
});
|
|
5115
5428
|
Object.defineProperty(exports, "createIterator", {
|
|
5116
5429
|
enumerable: true,
|
|
5117
|
-
get: function () { return
|
|
5430
|
+
get: function () { return chunkVKCPXFOR_cjs.createIterator; }
|
|
5118
5431
|
});
|
|
5119
5432
|
Object.defineProperty(exports, "createListResultSchema", {
|
|
5120
5433
|
enumerable: true,
|
|
5121
|
-
get: function () { return
|
|
5434
|
+
get: function () { return chunkVKCPXFOR_cjs.createListResultSchema; }
|
|
5122
5435
|
});
|
|
5123
5436
|
Object.defineProperty(exports, "currencyLabel", {
|
|
5124
5437
|
enumerable: true,
|
|
5125
|
-
get: function () { return
|
|
5438
|
+
get: function () { return chunkVKCPXFOR_cjs.currencyLabel; }
|
|
5126
5439
|
});
|
|
5127
5440
|
Object.defineProperty(exports, "currencySymbol", {
|
|
5128
5441
|
enumerable: true,
|
|
5129
|
-
get: function () { return
|
|
5442
|
+
get: function () { return chunkVKCPXFOR_cjs.currencySymbol; }
|
|
5130
5443
|
});
|
|
5131
5444
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
5132
5445
|
enumerable: true,
|
|
5133
|
-
get: function () { return
|
|
5446
|
+
get: function () { return chunkVKCPXFOR_cjs.currencySymbolSide; }
|
|
5134
5447
|
});
|
|
5135
5448
|
Object.defineProperty(exports, "formatAmount", {
|
|
5136
5449
|
enumerable: true,
|
|
5137
|
-
get: function () { return
|
|
5450
|
+
get: function () { return chunkVKCPXFOR_cjs.formatAmount; }
|
|
5138
5451
|
});
|
|
5139
5452
|
Object.defineProperty(exports, "formatMoney", {
|
|
5140
5453
|
enumerable: true,
|
|
5141
|
-
get: function () { return
|
|
5454
|
+
get: function () { return chunkVKCPXFOR_cjs.formatMoney; }
|
|
5142
5455
|
});
|
|
5143
5456
|
Object.defineProperty(exports, "isCurrentUser", {
|
|
5144
5457
|
enumerable: true,
|
|
5145
|
-
get: function () { return
|
|
5458
|
+
get: function () { return chunkVKCPXFOR_cjs.isCurrentUser; }
|
|
5146
5459
|
});
|
|
5147
5460
|
Object.defineProperty(exports, "isCurrentUserDefault", {
|
|
5148
5461
|
enumerable: true,
|
|
5149
|
-
get: function () { return
|
|
5462
|
+
get: function () { return chunkVKCPXFOR_cjs.isCurrentUserDefault; }
|
|
5150
5463
|
});
|
|
5151
5464
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
5152
5465
|
enumerable: true,
|
|
5153
|
-
get: function () { return
|
|
5466
|
+
get: function () { return chunkVKCPXFOR_cjs.isPlatformAttributeName; }
|
|
5154
5467
|
});
|
|
5155
5468
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
5156
5469
|
enumerable: true,
|
|
5157
|
-
get: function () { return
|
|
5470
|
+
get: function () { return chunkVKCPXFOR_cjs.localeNumberSeparators; }
|
|
5158
5471
|
});
|
|
5159
5472
|
Object.defineProperty(exports, "parseAmount", {
|
|
5160
5473
|
enumerable: true,
|
|
5161
|
-
get: function () { return
|
|
5474
|
+
get: function () { return chunkVKCPXFOR_cjs.parseAmount; }
|
|
5162
5475
|
});
|
|
5163
5476
|
Object.defineProperty(exports, "parseContactAddressMeta", {
|
|
5164
5477
|
enumerable: true,
|
|
5165
|
-
get: function () { return
|
|
5478
|
+
get: function () { return chunkVKCPXFOR_cjs.parseContactAddressMeta; }
|
|
5166
5479
|
});
|
|
5167
5480
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
5168
5481
|
enumerable: true,
|
|
5169
|
-
get: function () { return
|
|
5482
|
+
get: function () { return chunkVKCPXFOR_cjs.parseCurrencyMeta; }
|
|
5170
5483
|
});
|
|
5171
5484
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
5172
5485
|
enumerable: true,
|
|
5173
|
-
get: function () { return
|
|
5486
|
+
get: function () { return chunkVKCPXFOR_cjs.parseFileMeta; }
|
|
5174
5487
|
});
|
|
5175
5488
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
5176
5489
|
enumerable: true,
|
|
5177
|
-
get: function () { return
|
|
5490
|
+
get: function () { return chunkVKCPXFOR_cjs.parseRelationMeta; }
|
|
5178
5491
|
});
|
|
5179
5492
|
Object.defineProperty(exports, "platformAttributes", {
|
|
5180
5493
|
enumerable: true,
|
|
5181
|
-
get: function () { return
|
|
5494
|
+
get: function () { return chunkVKCPXFOR_cjs.platformAttributes; }
|
|
5182
5495
|
});
|
|
5183
5496
|
exports.AccountClient = AccountClient;
|
|
5184
5497
|
exports.ActionSchema = ActionSchema;
|
|
@@ -5195,6 +5508,7 @@ exports.DEFAULT_PORT = DEFAULT_PORT;
|
|
|
5195
5508
|
exports.DataClient = DataClient;
|
|
5196
5509
|
exports.DiscoveryClient = DiscoveryClient;
|
|
5197
5510
|
exports.ERROR_PORT = ERROR_PORT;
|
|
5511
|
+
exports.EnrichmentClient = EnrichmentClient;
|
|
5198
5512
|
exports.ErrorCode = ErrorCode;
|
|
5199
5513
|
exports.EventsClient = EventsClient;
|
|
5200
5514
|
exports.FunctionsClient = FunctionsClient;
|
|
@@ -5214,6 +5528,7 @@ exports.ProfileSchema = ProfileSchema;
|
|
|
5214
5528
|
exports.ProteosClient = ProteosClient;
|
|
5215
5529
|
exports.ProteosError = ProteosError;
|
|
5216
5530
|
exports.RecordDraftChangeSchema = RecordDraftChangeSchema;
|
|
5531
|
+
exports.RecordDraftEvidenceSchema = RecordDraftEvidenceSchema;
|
|
5217
5532
|
exports.RecordDraftItemResultSchema = RecordDraftItemResultSchema;
|
|
5218
5533
|
exports.RecordDraftItemSchema = RecordDraftItemSchema;
|
|
5219
5534
|
exports.RoleEntityPermissionSchema = RoleEntityPermissionSchema;
|
|
@@ -5236,6 +5551,7 @@ exports.isForbidden = isForbidden;
|
|
|
5236
5551
|
exports.isNotFound = isNotFound;
|
|
5237
5552
|
exports.isPlatformEntity = isPlatformEntity;
|
|
5238
5553
|
exports.isProteosError = isProteosError;
|
|
5554
|
+
exports.isRecordDraftReference = isRecordDraftReference;
|
|
5239
5555
|
exports.isShareable = isShareable;
|
|
5240
5556
|
exports.isUnauthorized = isUnauthorized;
|
|
5241
5557
|
exports.parseErrorResponse = parseErrorResponse;
|