@proteos/sdk 0.27.0 → 0.29.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-NVMOW4XC.cjs → chunk-3SWQRVZX.cjs} +4 -3
- package/dist/chunk-3SWQRVZX.cjs.map +1 -0
- package/dist/{chunk-WK6KEEKM.js → chunk-Y5RY27JB.js} +4 -3
- package/dist/chunk-Y5RY27JB.js.map +1 -0
- package/dist/index.cjs +203 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +275 -31
- package/dist/index.d.ts +275 -31
- package/dist/index.js +121 -4
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +53 -53
- 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-BGHMMBHF.d.cts → types-BguERkVI.d.cts} +6 -0
- package/dist/{types-BGHMMBHF.d.ts → types-BguERkVI.d.ts} +6 -0
- package/package.json +1 -1
- package/src/conversation/index.ts +188 -6
- package/src/conversation/types.ts +294 -26
- package/src/index.ts +41 -4
- package/src/meta/layout/elements.ts +7 -0
- package/dist/chunk-NVMOW4XC.cjs.map +0 -1
- package/dist/chunk-WK6KEEKM.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3SWQRVZX_cjs = require('./chunk-3SWQRVZX.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 chunk3SWQRVZX_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 chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
43
43
|
}
|
|
44
44
|
async listPage(options = {}) {
|
|
45
45
|
return this.client.requestWithQuery(
|
|
@@ -93,7 +93,7 @@ var PromptServiceImpl = class {
|
|
|
93
93
|
}
|
|
94
94
|
client;
|
|
95
95
|
list(options = {}) {
|
|
96
|
-
return new
|
|
96
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
97
97
|
}
|
|
98
98
|
async listPage(options = {}) {
|
|
99
99
|
return this.client.requestWithQuery("GET", PROMPTS_BASE_PATH, options);
|
|
@@ -133,7 +133,7 @@ var SessionServiceImpl = class {
|
|
|
133
133
|
}
|
|
134
134
|
client;
|
|
135
135
|
list(options = {}) {
|
|
136
|
-
return new
|
|
136
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
137
137
|
}
|
|
138
138
|
async listPage(options = {}) {
|
|
139
139
|
return this.client.requestWithQuery("GET", SESSIONS_BASE_PATH, options);
|
|
@@ -223,7 +223,7 @@ var SkillServiceImpl = class {
|
|
|
223
223
|
}
|
|
224
224
|
client;
|
|
225
225
|
list(options = {}) {
|
|
226
|
-
return new
|
|
226
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
227
227
|
}
|
|
228
228
|
async listPage(options = {}) {
|
|
229
229
|
return this.client.requestWithQuery("GET", SKILLS_BASE_PATH, options);
|
|
@@ -266,7 +266,7 @@ var ToolServiceImpl = class {
|
|
|
266
266
|
}
|
|
267
267
|
client;
|
|
268
268
|
list(options = {}) {
|
|
269
|
-
return new
|
|
269
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
270
270
|
}
|
|
271
271
|
async listPage(options = {}) {
|
|
272
272
|
return this.client.requestWithQuery("GET", TOOLS_BASE_PATH, options);
|
|
@@ -341,7 +341,7 @@ var OrganizationServiceImpl = class {
|
|
|
341
341
|
}
|
|
342
342
|
client;
|
|
343
343
|
list(options = {}) {
|
|
344
|
-
return new
|
|
344
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
345
345
|
}
|
|
346
346
|
async listPage(options = {}) {
|
|
347
347
|
return this.client.requestWithQuery(
|
|
@@ -372,7 +372,7 @@ var RoleServiceImpl = class {
|
|
|
372
372
|
}
|
|
373
373
|
client;
|
|
374
374
|
list(options = {}) {
|
|
375
|
-
return new
|
|
375
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
376
376
|
}
|
|
377
377
|
async listPage(options = {}) {
|
|
378
378
|
return this.client.requestWithQuery("GET", ROLES_BASE_PATH, options);
|
|
@@ -393,7 +393,7 @@ var RoleServiceImpl = class {
|
|
|
393
393
|
await this.client.request("DELETE", `${ROLES_BASE_PATH}/${slug}`);
|
|
394
394
|
}
|
|
395
395
|
getPermissions(roleSlug, options = {}) {
|
|
396
|
-
return new
|
|
396
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
|
|
397
397
|
}
|
|
398
398
|
async assignPermission(roleSlug, request) {
|
|
399
399
|
return this.client.request(
|
|
@@ -425,7 +425,7 @@ var UserServiceImpl = class {
|
|
|
425
425
|
}
|
|
426
426
|
client;
|
|
427
427
|
list(options = {}) {
|
|
428
|
-
return new
|
|
428
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
429
429
|
}
|
|
430
430
|
async listPage(options = {}) {
|
|
431
431
|
return this.client.requestWithQuery("GET", USERS_BASE_PATH, options);
|
|
@@ -440,7 +440,7 @@ var UserServiceImpl = class {
|
|
|
440
440
|
return this.client.request("PATCH", `${USERS_BASE_PATH}/${id}`, request);
|
|
441
441
|
}
|
|
442
442
|
getRoles(userId, options = {}) {
|
|
443
|
-
return new
|
|
443
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
|
|
444
444
|
}
|
|
445
445
|
async assignRole(userId, request) {
|
|
446
446
|
return this.client.request(
|
|
@@ -541,19 +541,19 @@ var PLATFORM_ENTITY_SLUGS = PLATFORM_ENTITIES.map(
|
|
|
541
541
|
function isPlatformEntity(slug) {
|
|
542
542
|
return PLATFORM_ENTITY_SLUGS.includes(slug);
|
|
543
543
|
}
|
|
544
|
-
var RoleEntityPermissionSchema =
|
|
544
|
+
var RoleEntityPermissionSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
545
545
|
id: zod.z.string(),
|
|
546
546
|
role_slug: zod.z.string(),
|
|
547
547
|
entity_slug: zod.z.string(),
|
|
548
548
|
permission: zod.z.enum(["read", "write", "delete"])
|
|
549
549
|
});
|
|
550
|
-
var UserRoleAssignmentSchema =
|
|
550
|
+
var UserRoleAssignmentSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
551
551
|
id: zod.z.string(),
|
|
552
552
|
user_id: zod.z.string(),
|
|
553
553
|
role_slug: zod.z.string(),
|
|
554
554
|
org_id: zod.z.string()
|
|
555
555
|
});
|
|
556
|
-
var UserSchema =
|
|
556
|
+
var UserSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
557
557
|
id: zod.z.string(),
|
|
558
558
|
email: zod.z.string(),
|
|
559
559
|
given_name: zod.z.string(),
|
|
@@ -561,7 +561,7 @@ var UserSchema = chunkNVMOW4XC_cjs.AuditFieldsSchema.extend({
|
|
|
561
561
|
external_id: zod.z.string(),
|
|
562
562
|
default_org_id: zod.z.string()
|
|
563
563
|
});
|
|
564
|
-
|
|
564
|
+
chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
565
565
|
id: zod.z.string(),
|
|
566
566
|
user_id: zod.z.string(),
|
|
567
567
|
org_id: zod.z.string(),
|
|
@@ -571,13 +571,13 @@ chunkNVMOW4XC_cjs.AuditFieldsSchema.extend({
|
|
|
571
571
|
expires_at: zod.z.string().nullable(),
|
|
572
572
|
last_used_at: zod.z.string().nullable()
|
|
573
573
|
});
|
|
574
|
-
var RoleSchema =
|
|
574
|
+
var RoleSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
575
575
|
slug: zod.z.string(),
|
|
576
576
|
name: zod.z.string(),
|
|
577
577
|
org_id: zod.z.string(),
|
|
578
578
|
description: zod.z.string()
|
|
579
579
|
});
|
|
580
|
-
var OrganizationSchema =
|
|
580
|
+
var OrganizationSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
581
581
|
id: zod.z.string(),
|
|
582
582
|
name: zod.z.string(),
|
|
583
583
|
description: zod.z.string()
|
|
@@ -1206,8 +1206,12 @@ var CONVERSATION_BASE_PATH = "/conversations/v1";
|
|
|
1206
1206
|
var ConversationClient = class {
|
|
1207
1207
|
connections;
|
|
1208
1208
|
conversations;
|
|
1209
|
+
/** The person-level identity layer: contacts, addresses, merges, permissions. */
|
|
1210
|
+
contacts;
|
|
1209
1211
|
messages;
|
|
1210
1212
|
agentListeners;
|
|
1213
|
+
/** Ingest-time filter rules (drop-with-audit) + their event trail. */
|
|
1214
|
+
conversationFilters;
|
|
1211
1215
|
/** Per-org glossary: custom vocabulary that boosts transcription accuracy. */
|
|
1212
1216
|
glossaryTerms;
|
|
1213
1217
|
transcriptions;
|
|
@@ -1218,8 +1222,10 @@ var ConversationClient = class {
|
|
|
1218
1222
|
constructor(client) {
|
|
1219
1223
|
this.connections = new ConnectionServiceImpl(client);
|
|
1220
1224
|
this.conversations = new ConversationServiceImpl(client);
|
|
1225
|
+
this.contacts = new ContactServiceImpl(client);
|
|
1221
1226
|
this.messages = new MessageServiceImpl(client);
|
|
1222
1227
|
this.agentListeners = new AgentListenerServiceImpl(client);
|
|
1228
|
+
this.conversationFilters = new ConversationFilterServiceImpl(client);
|
|
1223
1229
|
this.glossaryTerms = new GlossaryTermServiceImpl(client);
|
|
1224
1230
|
this.transcriptions = new TranscriptionServiceImpl(client);
|
|
1225
1231
|
this.meetings = new MeetingServiceImpl(client);
|
|
@@ -1264,10 +1270,10 @@ var ConnectionServiceImpl = class {
|
|
|
1264
1270
|
install(id) {
|
|
1265
1271
|
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/install`);
|
|
1266
1272
|
}
|
|
1267
|
-
|
|
1273
|
+
listContactAddresses(connectionId, query = {}) {
|
|
1268
1274
|
return this.client.requestWithQuery(
|
|
1269
1275
|
"GET",
|
|
1270
|
-
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/
|
|
1276
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/contact-addresses`,
|
|
1271
1277
|
query
|
|
1272
1278
|
);
|
|
1273
1279
|
}
|
|
@@ -1279,6 +1285,89 @@ var ConnectionServiceImpl = class {
|
|
|
1279
1285
|
);
|
|
1280
1286
|
}
|
|
1281
1287
|
};
|
|
1288
|
+
var ContactServiceImpl = class {
|
|
1289
|
+
constructor(client) {
|
|
1290
|
+
this.client = client;
|
|
1291
|
+
}
|
|
1292
|
+
client;
|
|
1293
|
+
list(query = {}) {
|
|
1294
|
+
return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/contacts`, query);
|
|
1295
|
+
}
|
|
1296
|
+
get(id) {
|
|
1297
|
+
return this.client.request("GET", `${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(id)}`);
|
|
1298
|
+
}
|
|
1299
|
+
update(id, request) {
|
|
1300
|
+
return this.client.request("PATCH", `${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(id)}`, request);
|
|
1301
|
+
}
|
|
1302
|
+
attachAddress(contactId, request) {
|
|
1303
|
+
return this.client.request(
|
|
1304
|
+
"POST",
|
|
1305
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/addresses`,
|
|
1306
|
+
request
|
|
1307
|
+
);
|
|
1308
|
+
}
|
|
1309
|
+
detachAddress(contactId, addressId) {
|
|
1310
|
+
return this.client.request(
|
|
1311
|
+
"DELETE",
|
|
1312
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/addresses/${encodeURIComponent(addressId)}`
|
|
1313
|
+
);
|
|
1314
|
+
}
|
|
1315
|
+
merge(contactId, request) {
|
|
1316
|
+
return this.client.request(
|
|
1317
|
+
"POST",
|
|
1318
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/merge`,
|
|
1319
|
+
request
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
recordPermissionEvent(contactId, request) {
|
|
1323
|
+
return this.client.request(
|
|
1324
|
+
"POST",
|
|
1325
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/permission-events`,
|
|
1326
|
+
request
|
|
1327
|
+
);
|
|
1328
|
+
}
|
|
1329
|
+
block(contactId, request = {}) {
|
|
1330
|
+
return this.client.request(
|
|
1331
|
+
"POST",
|
|
1332
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/block`,
|
|
1333
|
+
request
|
|
1334
|
+
);
|
|
1335
|
+
}
|
|
1336
|
+
unblock(contactId, request = {}) {
|
|
1337
|
+
return this.client.request(
|
|
1338
|
+
"POST",
|
|
1339
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/unblock`,
|
|
1340
|
+
request
|
|
1341
|
+
);
|
|
1342
|
+
}
|
|
1343
|
+
requestErasure(contactId) {
|
|
1344
|
+
return this.client.request(
|
|
1345
|
+
"POST",
|
|
1346
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/erasure-requests`
|
|
1347
|
+
);
|
|
1348
|
+
}
|
|
1349
|
+
listErasureRequests(contactId) {
|
|
1350
|
+
return this.client.request(
|
|
1351
|
+
"GET",
|
|
1352
|
+
`${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/erasure-requests`
|
|
1353
|
+
);
|
|
1354
|
+
}
|
|
1355
|
+
listMergeProposals(query = {}) {
|
|
1356
|
+
return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/contact-merge-proposals`, query);
|
|
1357
|
+
}
|
|
1358
|
+
approveMergeProposal(proposalId) {
|
|
1359
|
+
return this.client.request(
|
|
1360
|
+
"POST",
|
|
1361
|
+
`${CONVERSATION_BASE_PATH}/contact-merge-proposals/${encodeURIComponent(proposalId)}/approve`
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
rejectMergeProposal(proposalId) {
|
|
1365
|
+
return this.client.request(
|
|
1366
|
+
"POST",
|
|
1367
|
+
`${CONVERSATION_BASE_PATH}/contact-merge-proposals/${encodeURIComponent(proposalId)}/reject`
|
|
1368
|
+
);
|
|
1369
|
+
}
|
|
1370
|
+
};
|
|
1282
1371
|
var ConversationServiceImpl = class {
|
|
1283
1372
|
constructor(client) {
|
|
1284
1373
|
this.client = client;
|
|
@@ -1365,6 +1454,34 @@ var AgentListenerServiceImpl = class {
|
|
|
1365
1454
|
await this.client.request("DELETE", `${CONVERSATION_BASE_PATH}/agent-listeners/${encodeURIComponent(id)}`);
|
|
1366
1455
|
}
|
|
1367
1456
|
};
|
|
1457
|
+
var ConversationFilterServiceImpl = class {
|
|
1458
|
+
constructor(client) {
|
|
1459
|
+
this.client = client;
|
|
1460
|
+
}
|
|
1461
|
+
client;
|
|
1462
|
+
list(query = {}) {
|
|
1463
|
+
return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/conversation-filters`, query);
|
|
1464
|
+
}
|
|
1465
|
+
get(id) {
|
|
1466
|
+
return this.client.request("GET", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`);
|
|
1467
|
+
}
|
|
1468
|
+
create(request) {
|
|
1469
|
+
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/conversation-filters`, request);
|
|
1470
|
+
}
|
|
1471
|
+
update(id, request) {
|
|
1472
|
+
return this.client.request("PATCH", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`, request);
|
|
1473
|
+
}
|
|
1474
|
+
async delete(id) {
|
|
1475
|
+
await this.client.request("DELETE", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`);
|
|
1476
|
+
}
|
|
1477
|
+
listEvents(id, query = {}) {
|
|
1478
|
+
return this.client.requestWithQuery(
|
|
1479
|
+
"GET",
|
|
1480
|
+
`${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}/events`,
|
|
1481
|
+
query
|
|
1482
|
+
);
|
|
1483
|
+
}
|
|
1484
|
+
};
|
|
1368
1485
|
var GlossaryTermServiceImpl = class {
|
|
1369
1486
|
constructor(client) {
|
|
1370
1487
|
this.client = client;
|
|
@@ -1436,7 +1553,7 @@ var RecordServiceImpl = class {
|
|
|
1436
1553
|
}
|
|
1437
1554
|
client;
|
|
1438
1555
|
list(entitySlug, options = {}) {
|
|
1439
|
-
return new
|
|
1556
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
|
|
1440
1557
|
}
|
|
1441
1558
|
async listPage(entitySlug, options = {}) {
|
|
1442
1559
|
return this.client.requestWithQuery(
|
|
@@ -1469,7 +1586,7 @@ var RecordServiceImpl = class {
|
|
|
1469
1586
|
);
|
|
1470
1587
|
}
|
|
1471
1588
|
listPublic(orgId, entitySlug, options = {}) {
|
|
1472
|
-
return new
|
|
1589
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
|
|
1473
1590
|
}
|
|
1474
1591
|
async listPublicPage(orgId, entitySlug, options = {}) {
|
|
1475
1592
|
return this.client.requestWithQuery(
|
|
@@ -1628,7 +1745,7 @@ var ActionServiceImpl = class {
|
|
|
1628
1745
|
}
|
|
1629
1746
|
client;
|
|
1630
1747
|
list(options = {}) {
|
|
1631
|
-
return new
|
|
1748
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1632
1749
|
}
|
|
1633
1750
|
async listPage(options = {}) {
|
|
1634
1751
|
return this.client.requestWithQuery("GET", ACTIONS_BASE_PATH, options);
|
|
@@ -1663,7 +1780,7 @@ var ActionServiceImpl = class {
|
|
|
1663
1780
|
}
|
|
1664
1781
|
};
|
|
1665
1782
|
var ActionScopeSchema = zod.z.enum(["entity", "global"]);
|
|
1666
|
-
var ActionSchema =
|
|
1783
|
+
var ActionSchema = chunk3SWQRVZX_cjs.AuditFieldsSchema.extend({
|
|
1667
1784
|
slug: zod.z.string(),
|
|
1668
1785
|
org_id: zod.z.string(),
|
|
1669
1786
|
module_slug: zod.z.string(),
|
|
@@ -1672,8 +1789,8 @@ var ActionSchema = chunkNVMOW4XC_cjs.AuditFieldsSchema.extend({
|
|
|
1672
1789
|
name: zod.z.string(),
|
|
1673
1790
|
is_active: zod.z.boolean(),
|
|
1674
1791
|
file_id: zod.z.string(),
|
|
1675
|
-
params: zod.z.array(
|
|
1676
|
-
returns: zod.z.array(
|
|
1792
|
+
params: zod.z.array(chunk3SWQRVZX_cjs.AttributeSchema),
|
|
1793
|
+
returns: zod.z.array(chunk3SWQRVZX_cjs.AttributeSchema)
|
|
1677
1794
|
});
|
|
1678
1795
|
|
|
1679
1796
|
// src/functions/index.ts
|
|
@@ -1708,7 +1825,7 @@ var LabelServiceImpl = class {
|
|
|
1708
1825
|
}
|
|
1709
1826
|
client;
|
|
1710
1827
|
list(options = {}) {
|
|
1711
|
-
return new
|
|
1828
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1712
1829
|
}
|
|
1713
1830
|
async listPage(options = {}) {
|
|
1714
1831
|
return this.client.requestWithQuery(
|
|
@@ -1739,7 +1856,7 @@ var LinkServiceImpl = class {
|
|
|
1739
1856
|
}
|
|
1740
1857
|
client;
|
|
1741
1858
|
list(options = {}) {
|
|
1742
|
-
return new
|
|
1859
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1743
1860
|
}
|
|
1744
1861
|
async listPage(options = {}) {
|
|
1745
1862
|
return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
|
|
@@ -1766,7 +1883,7 @@ var NodeServiceImpl = class {
|
|
|
1766
1883
|
}
|
|
1767
1884
|
client;
|
|
1768
1885
|
list(options = {}) {
|
|
1769
|
-
return new
|
|
1886
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1770
1887
|
}
|
|
1771
1888
|
async listPage(options = {}) {
|
|
1772
1889
|
const { label_ids, ...rest } = options;
|
|
@@ -1860,7 +1977,7 @@ var RecordLinkServiceImpl = class {
|
|
|
1860
1977
|
}
|
|
1861
1978
|
client;
|
|
1862
1979
|
list(options = {}) {
|
|
1863
|
-
return new
|
|
1980
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1864
1981
|
}
|
|
1865
1982
|
async listPage(options = {}) {
|
|
1866
1983
|
return this.client.requestWithQuery(
|
|
@@ -1892,7 +2009,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
|
|
|
1892
2009
|
summary: zod.z.string().nullish(),
|
|
1893
2010
|
valid_from: zod.z.string().nullish(),
|
|
1894
2011
|
valid_until: zod.z.string().nullish()
|
|
1895
|
-
}).merge(
|
|
2012
|
+
}).merge(chunk3SWQRVZX_cjs.AuditFieldsSchema);
|
|
1896
2013
|
var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
|
|
1897
2014
|
content: zod.z.string()
|
|
1898
2015
|
});
|
|
@@ -1916,7 +2033,7 @@ var KnowledgeLinkSchema = zod.z.object({
|
|
|
1916
2033
|
"superseded_by"
|
|
1917
2034
|
]),
|
|
1918
2035
|
description: zod.z.string().nullish()
|
|
1919
|
-
}).merge(
|
|
2036
|
+
}).merge(chunk3SWQRVZX_cjs.AuditFieldsSchema);
|
|
1920
2037
|
var KnowledgeRecordLinkSchema = zod.z.object({
|
|
1921
2038
|
id: zod.z.string(),
|
|
1922
2039
|
org_id: zod.z.string(),
|
|
@@ -1924,7 +2041,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
|
|
|
1924
2041
|
entity_slug: zod.z.string(),
|
|
1925
2042
|
record_id: zod.z.string(),
|
|
1926
2043
|
created_at: zod.z.string(),
|
|
1927
|
-
created_by:
|
|
2044
|
+
created_by: chunk3SWQRVZX_cjs.UserRefSchema
|
|
1928
2045
|
});
|
|
1929
2046
|
var KnowledgeLabelSchema = zod.z.object({
|
|
1930
2047
|
id: zod.z.string(),
|
|
@@ -1934,13 +2051,13 @@ var KnowledgeLabelSchema = zod.z.object({
|
|
|
1934
2051
|
description: zod.z.string().nullish(),
|
|
1935
2052
|
color: zod.z.string().nullish(),
|
|
1936
2053
|
icon: zod.z.string().nullish()
|
|
1937
|
-
}).merge(
|
|
2054
|
+
}).merge(chunk3SWQRVZX_cjs.AuditFieldsSchema);
|
|
1938
2055
|
var KnowledgeNodeLabelSchema = zod.z.object({
|
|
1939
2056
|
org_id: zod.z.string(),
|
|
1940
2057
|
node_id: zod.z.string(),
|
|
1941
2058
|
label_id: zod.z.string(),
|
|
1942
2059
|
created_at: zod.z.string(),
|
|
1943
|
-
created_by:
|
|
2060
|
+
created_by: chunk3SWQRVZX_cjs.UserRefSchema
|
|
1944
2061
|
});
|
|
1945
2062
|
var NodeNeighborhoodSchema = zod.z.object({
|
|
1946
2063
|
nodes: zod.z.array(
|
|
@@ -2115,7 +2232,7 @@ var ExecutionServiceImpl = class {
|
|
|
2115
2232
|
}
|
|
2116
2233
|
client;
|
|
2117
2234
|
list(options = {}) {
|
|
2118
|
-
return new
|
|
2235
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2119
2236
|
}
|
|
2120
2237
|
async listPage(options = {}) {
|
|
2121
2238
|
return this.client.requestWithQuery(
|
|
@@ -2174,7 +2291,7 @@ var WorkflowServiceImpl = class {
|
|
|
2174
2291
|
}
|
|
2175
2292
|
client;
|
|
2176
2293
|
list(options = {}) {
|
|
2177
|
-
return new
|
|
2294
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2178
2295
|
}
|
|
2179
2296
|
async listPage(options = {}) {
|
|
2180
2297
|
return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
|
|
@@ -2212,7 +2329,7 @@ var WorkflowServiceImpl = class {
|
|
|
2212
2329
|
return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
|
|
2213
2330
|
}
|
|
2214
2331
|
listVersions(key, options = {}) {
|
|
2215
|
-
return new
|
|
2332
|
+
return new chunk3SWQRVZX_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
|
|
2216
2333
|
}
|
|
2217
2334
|
async listVersionsPage(key, options = {}) {
|
|
2218
2335
|
return this.client.requestWithQuery(
|
|
@@ -2257,195 +2374,195 @@ var WorkflowClient = class {
|
|
|
2257
2374
|
|
|
2258
2375
|
Object.defineProperty(exports, "AppSchema", {
|
|
2259
2376
|
enumerable: true,
|
|
2260
|
-
get: function () { return
|
|
2377
|
+
get: function () { return chunk3SWQRVZX_cjs.AppSchema; }
|
|
2261
2378
|
});
|
|
2262
2379
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
2263
2380
|
enumerable: true,
|
|
2264
|
-
get: function () { return
|
|
2381
|
+
get: function () { return chunk3SWQRVZX_cjs.AttributeSchema; }
|
|
2265
2382
|
});
|
|
2266
2383
|
Object.defineProperty(exports, "AuditFieldsSchema", {
|
|
2267
2384
|
enumerable: true,
|
|
2268
|
-
get: function () { return
|
|
2385
|
+
get: function () { return chunk3SWQRVZX_cjs.AuditFieldsSchema; }
|
|
2269
2386
|
});
|
|
2270
2387
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
2271
2388
|
enumerable: true,
|
|
2272
|
-
get: function () { return
|
|
2389
|
+
get: function () { return chunk3SWQRVZX_cjs.ColumnSchema; }
|
|
2273
2390
|
});
|
|
2274
2391
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
2275
2392
|
enumerable: true,
|
|
2276
|
-
get: function () { return
|
|
2393
|
+
get: function () { return chunk3SWQRVZX_cjs.ComponentSchema; }
|
|
2277
2394
|
});
|
|
2278
2395
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
2279
2396
|
enumerable: true,
|
|
2280
|
-
get: function () { return
|
|
2397
|
+
get: function () { return chunk3SWQRVZX_cjs.CurrencyAttributeMetaSchema; }
|
|
2281
2398
|
});
|
|
2282
2399
|
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
2283
2400
|
enumerable: true,
|
|
2284
|
-
get: function () { return
|
|
2401
|
+
get: function () { return chunk3SWQRVZX_cjs.DEFAULT_PAGE_SIZE; }
|
|
2285
2402
|
});
|
|
2286
2403
|
Object.defineProperty(exports, "DONE", {
|
|
2287
2404
|
enumerable: true,
|
|
2288
|
-
get: function () { return
|
|
2405
|
+
get: function () { return chunk3SWQRVZX_cjs.DONE; }
|
|
2289
2406
|
});
|
|
2290
2407
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
2291
2408
|
enumerable: true,
|
|
2292
|
-
get: function () { return
|
|
2409
|
+
get: function () { return chunk3SWQRVZX_cjs.DesignReferenceSchema; }
|
|
2293
2410
|
});
|
|
2294
2411
|
Object.defineProperty(exports, "EntitySchema", {
|
|
2295
2412
|
enumerable: true,
|
|
2296
|
-
get: function () { return
|
|
2413
|
+
get: function () { return chunk3SWQRVZX_cjs.EntitySchema; }
|
|
2297
2414
|
});
|
|
2298
2415
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
2299
2416
|
enumerable: true,
|
|
2300
|
-
get: function () { return
|
|
2417
|
+
get: function () { return chunk3SWQRVZX_cjs.EntityWithSchemaSchema; }
|
|
2301
2418
|
});
|
|
2302
2419
|
Object.defineProperty(exports, "FileRefSchema", {
|
|
2303
2420
|
enumerable: true,
|
|
2304
|
-
get: function () { return
|
|
2421
|
+
get: function () { return chunk3SWQRVZX_cjs.FileRefSchema; }
|
|
2305
2422
|
});
|
|
2306
2423
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
2307
2424
|
enumerable: true,
|
|
2308
|
-
get: function () { return
|
|
2425
|
+
get: function () { return chunk3SWQRVZX_cjs.FilterElementSchema; }
|
|
2309
2426
|
});
|
|
2310
2427
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
2311
2428
|
enumerable: true,
|
|
2312
|
-
get: function () { return
|
|
2429
|
+
get: function () { return chunk3SWQRVZX_cjs.FilterGroupSchema; }
|
|
2313
2430
|
});
|
|
2314
2431
|
Object.defineProperty(exports, "ListSchema", {
|
|
2315
2432
|
enumerable: true,
|
|
2316
|
-
get: function () { return
|
|
2433
|
+
get: function () { return chunk3SWQRVZX_cjs.ListSchema; }
|
|
2317
2434
|
});
|
|
2318
2435
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
2319
2436
|
enumerable: true,
|
|
2320
|
-
get: function () { return
|
|
2437
|
+
get: function () { return chunk3SWQRVZX_cjs.ListViewSchema; }
|
|
2321
2438
|
});
|
|
2322
2439
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
2323
2440
|
enumerable: true,
|
|
2324
|
-
get: function () { return
|
|
2441
|
+
get: function () { return chunk3SWQRVZX_cjs.MenuConfigurationSchema; }
|
|
2325
2442
|
});
|
|
2326
2443
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
2327
2444
|
enumerable: true,
|
|
2328
|
-
get: function () { return
|
|
2445
|
+
get: function () { return chunk3SWQRVZX_cjs.MenuItemSchema; }
|
|
2329
2446
|
});
|
|
2330
2447
|
Object.defineProperty(exports, "MenuItemType", {
|
|
2331
2448
|
enumerable: true,
|
|
2332
|
-
get: function () { return
|
|
2449
|
+
get: function () { return chunk3SWQRVZX_cjs.MenuItemType; }
|
|
2333
2450
|
});
|
|
2334
2451
|
Object.defineProperty(exports, "MetaClient", {
|
|
2335
2452
|
enumerable: true,
|
|
2336
|
-
get: function () { return
|
|
2453
|
+
get: function () { return chunk3SWQRVZX_cjs.MetaClient; }
|
|
2337
2454
|
});
|
|
2338
2455
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
2339
2456
|
enumerable: true,
|
|
2340
|
-
get: function () { return
|
|
2457
|
+
get: function () { return chunk3SWQRVZX_cjs.ModuleSchema; }
|
|
2341
2458
|
});
|
|
2342
2459
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
2343
2460
|
enumerable: true,
|
|
2344
|
-
get: function () { return
|
|
2461
|
+
get: function () { return chunk3SWQRVZX_cjs.OnDeleteActionSchema; }
|
|
2345
2462
|
});
|
|
2346
2463
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
2347
2464
|
enumerable: true,
|
|
2348
|
-
get: function () { return
|
|
2465
|
+
get: function () { return chunk3SWQRVZX_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
2349
2466
|
});
|
|
2350
2467
|
Object.defineProperty(exports, "PLATFORM_USER_ID", {
|
|
2351
2468
|
enumerable: true,
|
|
2352
|
-
get: function () { return
|
|
2469
|
+
get: function () { return chunk3SWQRVZX_cjs.PLATFORM_USER_ID; }
|
|
2353
2470
|
});
|
|
2354
2471
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
2355
2472
|
enumerable: true,
|
|
2356
|
-
get: function () { return
|
|
2473
|
+
get: function () { return chunk3SWQRVZX_cjs.PageActionSchema; }
|
|
2357
2474
|
});
|
|
2358
2475
|
Object.defineProperty(exports, "PageIterator", {
|
|
2359
2476
|
enumerable: true,
|
|
2360
|
-
get: function () { return
|
|
2477
|
+
get: function () { return chunk3SWQRVZX_cjs.PageIterator; }
|
|
2361
2478
|
});
|
|
2362
2479
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
2363
2480
|
enumerable: true,
|
|
2364
|
-
get: function () { return
|
|
2481
|
+
get: function () { return chunk3SWQRVZX_cjs.PageLayoutSchema; }
|
|
2365
2482
|
});
|
|
2366
2483
|
Object.defineProperty(exports, "PageSchema", {
|
|
2367
2484
|
enumerable: true,
|
|
2368
|
-
get: function () { return
|
|
2485
|
+
get: function () { return chunk3SWQRVZX_cjs.PageSchema; }
|
|
2369
2486
|
});
|
|
2370
2487
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
2371
2488
|
enumerable: true,
|
|
2372
|
-
get: function () { return
|
|
2489
|
+
get: function () { return chunk3SWQRVZX_cjs.RelationAttributeMetaSchema; }
|
|
2373
2490
|
});
|
|
2374
2491
|
Object.defineProperty(exports, "ResponseMetaSchema", {
|
|
2375
2492
|
enumerable: true,
|
|
2376
|
-
get: function () { return
|
|
2493
|
+
get: function () { return chunk3SWQRVZX_cjs.ResponseMetaSchema; }
|
|
2377
2494
|
});
|
|
2378
2495
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
2379
2496
|
enumerable: true,
|
|
2380
|
-
get: function () { return
|
|
2497
|
+
get: function () { return chunk3SWQRVZX_cjs.SortConfigSchema; }
|
|
2381
2498
|
});
|
|
2382
2499
|
Object.defineProperty(exports, "UserRefSchema", {
|
|
2383
2500
|
enumerable: true,
|
|
2384
|
-
get: function () { return
|
|
2501
|
+
get: function () { return chunk3SWQRVZX_cjs.UserRefSchema; }
|
|
2385
2502
|
});
|
|
2386
2503
|
Object.defineProperty(exports, "VariableSchema", {
|
|
2387
2504
|
enumerable: true,
|
|
2388
|
-
get: function () { return
|
|
2505
|
+
get: function () { return chunk3SWQRVZX_cjs.VariableSchema; }
|
|
2389
2506
|
});
|
|
2390
2507
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
2391
2508
|
enumerable: true,
|
|
2392
|
-
get: function () { return
|
|
2509
|
+
get: function () { return chunk3SWQRVZX_cjs.allCurrencyCodes; }
|
|
2393
2510
|
});
|
|
2394
2511
|
Object.defineProperty(exports, "createIterator", {
|
|
2395
2512
|
enumerable: true,
|
|
2396
|
-
get: function () { return
|
|
2513
|
+
get: function () { return chunk3SWQRVZX_cjs.createIterator; }
|
|
2397
2514
|
});
|
|
2398
2515
|
Object.defineProperty(exports, "createListResultSchema", {
|
|
2399
2516
|
enumerable: true,
|
|
2400
|
-
get: function () { return
|
|
2517
|
+
get: function () { return chunk3SWQRVZX_cjs.createListResultSchema; }
|
|
2401
2518
|
});
|
|
2402
2519
|
Object.defineProperty(exports, "currencyLabel", {
|
|
2403
2520
|
enumerable: true,
|
|
2404
|
-
get: function () { return
|
|
2521
|
+
get: function () { return chunk3SWQRVZX_cjs.currencyLabel; }
|
|
2405
2522
|
});
|
|
2406
2523
|
Object.defineProperty(exports, "currencySymbol", {
|
|
2407
2524
|
enumerable: true,
|
|
2408
|
-
get: function () { return
|
|
2525
|
+
get: function () { return chunk3SWQRVZX_cjs.currencySymbol; }
|
|
2409
2526
|
});
|
|
2410
2527
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
2411
2528
|
enumerable: true,
|
|
2412
|
-
get: function () { return
|
|
2529
|
+
get: function () { return chunk3SWQRVZX_cjs.currencySymbolSide; }
|
|
2413
2530
|
});
|
|
2414
2531
|
Object.defineProperty(exports, "formatAmount", {
|
|
2415
2532
|
enumerable: true,
|
|
2416
|
-
get: function () { return
|
|
2533
|
+
get: function () { return chunk3SWQRVZX_cjs.formatAmount; }
|
|
2417
2534
|
});
|
|
2418
2535
|
Object.defineProperty(exports, "formatMoney", {
|
|
2419
2536
|
enumerable: true,
|
|
2420
|
-
get: function () { return
|
|
2537
|
+
get: function () { return chunk3SWQRVZX_cjs.formatMoney; }
|
|
2421
2538
|
});
|
|
2422
2539
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
2423
2540
|
enumerable: true,
|
|
2424
|
-
get: function () { return
|
|
2541
|
+
get: function () { return chunk3SWQRVZX_cjs.isPlatformAttributeName; }
|
|
2425
2542
|
});
|
|
2426
2543
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
2427
2544
|
enumerable: true,
|
|
2428
|
-
get: function () { return
|
|
2545
|
+
get: function () { return chunk3SWQRVZX_cjs.localeNumberSeparators; }
|
|
2429
2546
|
});
|
|
2430
2547
|
Object.defineProperty(exports, "parseAmount", {
|
|
2431
2548
|
enumerable: true,
|
|
2432
|
-
get: function () { return
|
|
2549
|
+
get: function () { return chunk3SWQRVZX_cjs.parseAmount; }
|
|
2433
2550
|
});
|
|
2434
2551
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
2435
2552
|
enumerable: true,
|
|
2436
|
-
get: function () { return
|
|
2553
|
+
get: function () { return chunk3SWQRVZX_cjs.parseCurrencyMeta; }
|
|
2437
2554
|
});
|
|
2438
2555
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
2439
2556
|
enumerable: true,
|
|
2440
|
-
get: function () { return
|
|
2557
|
+
get: function () { return chunk3SWQRVZX_cjs.parseFileMeta; }
|
|
2441
2558
|
});
|
|
2442
2559
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
2443
2560
|
enumerable: true,
|
|
2444
|
-
get: function () { return
|
|
2561
|
+
get: function () { return chunk3SWQRVZX_cjs.parseRelationMeta; }
|
|
2445
2562
|
});
|
|
2446
2563
|
Object.defineProperty(exports, "platformAttributes", {
|
|
2447
2564
|
enumerable: true,
|
|
2448
|
-
get: function () { return
|
|
2565
|
+
get: function () { return chunk3SWQRVZX_cjs.platformAttributes; }
|
|
2449
2566
|
});
|
|
2450
2567
|
exports.AccountClient = AccountClient;
|
|
2451
2568
|
exports.ActionSchema = ActionSchema;
|