@proteos/sdk 0.33.0 → 0.35.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-NZI4N4SK.cjs → chunk-HVO3UMFS.cjs} +12 -2
- package/dist/chunk-HVO3UMFS.cjs.map +1 -0
- package/dist/{chunk-JWLTUYS7.js → chunk-Y2TJBWC5.js} +12 -2
- package/dist/chunk-Y2TJBWC5.js.map +1 -0
- package/dist/index.cjs +188 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +229 -4
- package/dist/index.d.ts +229 -4
- package/dist/index.js +106 -2
- 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-v9RkMuKf.d.cts → types-CiCNPrXT.d.cts} +35 -2
- package/dist/{types-v9RkMuKf.d.ts → types-CiCNPrXT.d.ts} +35 -2
- package/package.json +1 -1
- package/src/auth/platform-entities.ts +2 -0
- package/src/conversation/index.ts +172 -0
- package/src/conversation/types.ts +162 -0
- package/src/index.ts +25 -0
- package/src/meta/layout/elements.ts +35 -0
- package/src/meta/layout/index.ts +1 -0
- package/src/meta/types.ts +6 -0
- package/src/workflow/index.ts +2 -0
- package/src/workflow/types.ts +56 -1
- package/dist/chunk-JWLTUYS7.js.map +0 -1
- package/dist/chunk-NZI4N4SK.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHVO3UMFS_cjs = require('./chunk-HVO3UMFS.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 chunkHVO3UMFS_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 chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
43
43
|
}
|
|
44
44
|
async listPage(options = {}) {
|
|
45
45
|
return this.client.requestWithQuery(
|
|
@@ -107,7 +107,7 @@ var PromptServiceImpl = class {
|
|
|
107
107
|
}
|
|
108
108
|
client;
|
|
109
109
|
list(options = {}) {
|
|
110
|
-
return new
|
|
110
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
111
111
|
}
|
|
112
112
|
async listPage(options = {}) {
|
|
113
113
|
return this.client.requestWithQuery("GET", PROMPTS_BASE_PATH, options);
|
|
@@ -161,7 +161,7 @@ var SessionServiceImpl = class {
|
|
|
161
161
|
}
|
|
162
162
|
client;
|
|
163
163
|
list(options = {}) {
|
|
164
|
-
return new
|
|
164
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
165
165
|
}
|
|
166
166
|
async listPage(options = {}) {
|
|
167
167
|
return this.client.requestWithQuery("GET", SESSIONS_BASE_PATH, options);
|
|
@@ -251,7 +251,7 @@ var SkillServiceImpl = class {
|
|
|
251
251
|
}
|
|
252
252
|
client;
|
|
253
253
|
list(options = {}) {
|
|
254
|
-
return new
|
|
254
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
255
255
|
}
|
|
256
256
|
async listPage(options = {}) {
|
|
257
257
|
return this.client.requestWithQuery("GET", SKILLS_BASE_PATH, options);
|
|
@@ -308,7 +308,7 @@ var ToolServiceImpl = class {
|
|
|
308
308
|
}
|
|
309
309
|
client;
|
|
310
310
|
list(options = {}) {
|
|
311
|
-
return new
|
|
311
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
312
312
|
}
|
|
313
313
|
async listPage(options = {}) {
|
|
314
314
|
return this.client.requestWithQuery("GET", TOOLS_BASE_PATH, options);
|
|
@@ -397,7 +397,7 @@ var OrganizationServiceImpl = class {
|
|
|
397
397
|
}
|
|
398
398
|
client;
|
|
399
399
|
list(options = {}) {
|
|
400
|
-
return new
|
|
400
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
401
401
|
}
|
|
402
402
|
async listPage(options = {}) {
|
|
403
403
|
return this.client.requestWithQuery(
|
|
@@ -428,7 +428,7 @@ var RoleServiceImpl = class {
|
|
|
428
428
|
}
|
|
429
429
|
client;
|
|
430
430
|
list(options = {}) {
|
|
431
|
-
return new
|
|
431
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
432
432
|
}
|
|
433
433
|
async listPage(options = {}) {
|
|
434
434
|
return this.client.requestWithQuery("GET", ROLES_BASE_PATH, options);
|
|
@@ -449,7 +449,7 @@ var RoleServiceImpl = class {
|
|
|
449
449
|
await this.client.request("DELETE", `${ROLES_BASE_PATH}/${slug}`);
|
|
450
450
|
}
|
|
451
451
|
getPermissions(roleSlug, options = {}) {
|
|
452
|
-
return new
|
|
452
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
|
|
453
453
|
}
|
|
454
454
|
async assignPermission(roleSlug, request) {
|
|
455
455
|
return this.client.request(
|
|
@@ -481,7 +481,7 @@ var UserServiceImpl = class {
|
|
|
481
481
|
}
|
|
482
482
|
client;
|
|
483
483
|
list(options = {}) {
|
|
484
|
-
return new
|
|
484
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
485
485
|
}
|
|
486
486
|
async listPage(options = {}) {
|
|
487
487
|
return this.client.requestWithQuery("GET", USERS_BASE_PATH, options);
|
|
@@ -496,7 +496,7 @@ var UserServiceImpl = class {
|
|
|
496
496
|
return this.client.request("PATCH", `${USERS_BASE_PATH}/${id}`, request);
|
|
497
497
|
}
|
|
498
498
|
getRoles(userId, options = {}) {
|
|
499
|
-
return new
|
|
499
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
|
|
500
500
|
}
|
|
501
501
|
async assignRole(userId, request) {
|
|
502
502
|
return this.client.request(
|
|
@@ -587,6 +587,8 @@ var PLATFORM_ENTITIES = [
|
|
|
587
587
|
{ slug: "agent-listeners", name: "Agent Listeners" },
|
|
588
588
|
{ slug: "transcriptions", name: "Transcriptions" },
|
|
589
589
|
{ slug: "glossary-terms", name: "Glossary Terms" },
|
|
590
|
+
// Mistranscribed terms proposed by the post-transcription review pass.
|
|
591
|
+
{ slug: "mistranscribed-terms", name: "Mistranscribed Terms" },
|
|
590
592
|
// Connectors (connector-service). `connections` above is shared; this is the
|
|
591
593
|
// manifest catalog.
|
|
592
594
|
{ slug: "connectors", name: "Connectors" }
|
|
@@ -597,19 +599,19 @@ var PLATFORM_ENTITY_SLUGS = PLATFORM_ENTITIES.map(
|
|
|
597
599
|
function isPlatformEntity(slug) {
|
|
598
600
|
return PLATFORM_ENTITY_SLUGS.includes(slug);
|
|
599
601
|
}
|
|
600
|
-
var RoleEntityPermissionSchema =
|
|
602
|
+
var RoleEntityPermissionSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
601
603
|
id: zod.z.string(),
|
|
602
604
|
role_slug: zod.z.string(),
|
|
603
605
|
entity_slug: zod.z.string(),
|
|
604
606
|
permission: zod.z.enum(["read", "write", "delete"])
|
|
605
607
|
});
|
|
606
|
-
var UserRoleAssignmentSchema =
|
|
608
|
+
var UserRoleAssignmentSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
607
609
|
id: zod.z.string(),
|
|
608
610
|
user_id: zod.z.string(),
|
|
609
611
|
role_slug: zod.z.string(),
|
|
610
612
|
org_id: zod.z.string()
|
|
611
613
|
});
|
|
612
|
-
var UserSchema =
|
|
614
|
+
var UserSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
613
615
|
id: zod.z.string(),
|
|
614
616
|
email: zod.z.string(),
|
|
615
617
|
given_name: zod.z.string(),
|
|
@@ -617,7 +619,7 @@ var UserSchema = chunkNZI4N4SK_cjs.AuditFieldsSchema.extend({
|
|
|
617
619
|
external_id: zod.z.string(),
|
|
618
620
|
default_org_id: zod.z.string()
|
|
619
621
|
});
|
|
620
|
-
|
|
622
|
+
chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
621
623
|
id: zod.z.string(),
|
|
622
624
|
user_id: zod.z.string(),
|
|
623
625
|
org_id: zod.z.string(),
|
|
@@ -627,13 +629,13 @@ chunkNZI4N4SK_cjs.AuditFieldsSchema.extend({
|
|
|
627
629
|
expires_at: zod.z.string().nullable(),
|
|
628
630
|
last_used_at: zod.z.string().nullable()
|
|
629
631
|
});
|
|
630
|
-
var RoleSchema =
|
|
632
|
+
var RoleSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
631
633
|
slug: zod.z.string(),
|
|
632
634
|
name: zod.z.string(),
|
|
633
635
|
org_id: zod.z.string(),
|
|
634
636
|
description: zod.z.string()
|
|
635
637
|
});
|
|
636
|
-
var OrganizationSchema =
|
|
638
|
+
var OrganizationSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
637
639
|
id: zod.z.string(),
|
|
638
640
|
name: zod.z.string(),
|
|
639
641
|
description: zod.z.string()
|
|
@@ -1270,7 +1272,11 @@ var ConversationClient = class {
|
|
|
1270
1272
|
conversationFilters;
|
|
1271
1273
|
/** Per-org glossary: custom vocabulary that boosts transcription accuracy. */
|
|
1272
1274
|
glossaryTerms;
|
|
1275
|
+
/** Conversation taxonomy: the types the pre-summary classifier assigns. */
|
|
1276
|
+
conversationTypes;
|
|
1273
1277
|
transcriptions;
|
|
1278
|
+
/** Review-pass findings: likely misheard terms awaiting accept/reject. */
|
|
1279
|
+
mistranscribedTerms;
|
|
1274
1280
|
/** Meeting bots (Ava): dispatch into a meeting URL, remove from a meeting. */
|
|
1275
1281
|
meetings;
|
|
1276
1282
|
/** Realtime speech-to-text (dictation) — moved here from agent-service. */
|
|
@@ -1283,7 +1289,9 @@ var ConversationClient = class {
|
|
|
1283
1289
|
this.agentListeners = new AgentListenerServiceImpl(client);
|
|
1284
1290
|
this.conversationFilters = new ConversationFilterServiceImpl(client);
|
|
1285
1291
|
this.glossaryTerms = new GlossaryTermServiceImpl(client);
|
|
1292
|
+
this.conversationTypes = new ConversationTypeServiceImpl(client);
|
|
1286
1293
|
this.transcriptions = new TranscriptionServiceImpl(client);
|
|
1294
|
+
this.mistranscribedTerms = new MistranscribedTermServiceImpl(client);
|
|
1287
1295
|
this.meetings = new MeetingServiceImpl(client);
|
|
1288
1296
|
this.voice = new VoiceServiceImpl(client);
|
|
1289
1297
|
}
|
|
@@ -1345,6 +1353,13 @@ var ConnectionServiceImpl = class {
|
|
|
1345
1353
|
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/install`
|
|
1346
1354
|
);
|
|
1347
1355
|
}
|
|
1356
|
+
sync(id, request) {
|
|
1357
|
+
return this.client.request(
|
|
1358
|
+
"POST",
|
|
1359
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/sync`,
|
|
1360
|
+
request
|
|
1361
|
+
);
|
|
1362
|
+
}
|
|
1348
1363
|
listContactAddresses(connectionId, query = {}) {
|
|
1349
1364
|
return this.client.requestWithQuery(
|
|
1350
1365
|
"GET",
|
|
@@ -1667,6 +1682,48 @@ var GlossaryTermServiceImpl = class {
|
|
|
1667
1682
|
);
|
|
1668
1683
|
}
|
|
1669
1684
|
};
|
|
1685
|
+
var ConversationTypeServiceImpl = class {
|
|
1686
|
+
constructor(client) {
|
|
1687
|
+
this.client = client;
|
|
1688
|
+
}
|
|
1689
|
+
client;
|
|
1690
|
+
list(query = {}) {
|
|
1691
|
+
return this.client.requestWithQuery(
|
|
1692
|
+
"GET",
|
|
1693
|
+
`${CONVERSATION_BASE_PATH}/conversation-types`,
|
|
1694
|
+
query
|
|
1695
|
+
);
|
|
1696
|
+
}
|
|
1697
|
+
get(key) {
|
|
1698
|
+
return this.client.request(
|
|
1699
|
+
"GET",
|
|
1700
|
+
`${CONVERSATION_BASE_PATH}/conversation-types/${encodeURIComponent(key)}`
|
|
1701
|
+
);
|
|
1702
|
+
}
|
|
1703
|
+
create(request) {
|
|
1704
|
+
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/conversation-types`, request);
|
|
1705
|
+
}
|
|
1706
|
+
update(key, request) {
|
|
1707
|
+
return this.client.request(
|
|
1708
|
+
"PATCH",
|
|
1709
|
+
`${CONVERSATION_BASE_PATH}/conversation-types/${encodeURIComponent(key)}`,
|
|
1710
|
+
request
|
|
1711
|
+
);
|
|
1712
|
+
}
|
|
1713
|
+
upsert(key, request) {
|
|
1714
|
+
return this.client.request(
|
|
1715
|
+
"PUT",
|
|
1716
|
+
`${CONVERSATION_BASE_PATH}/conversation-types/${encodeURIComponent(key)}`,
|
|
1717
|
+
{ ...request, key }
|
|
1718
|
+
);
|
|
1719
|
+
}
|
|
1720
|
+
async delete(key) {
|
|
1721
|
+
await this.client.request(
|
|
1722
|
+
"DELETE",
|
|
1723
|
+
`${CONVERSATION_BASE_PATH}/conversation-types/${encodeURIComponent(key)}`
|
|
1724
|
+
);
|
|
1725
|
+
}
|
|
1726
|
+
};
|
|
1670
1727
|
var TranscriptionServiceImpl = class {
|
|
1671
1728
|
constructor(client) {
|
|
1672
1729
|
this.client = client;
|
|
@@ -1684,6 +1741,20 @@ var TranscriptionServiceImpl = class {
|
|
|
1684
1741
|
`${CONVERSATION_BASE_PATH}/transcriptions/${encodeURIComponent(id)}`
|
|
1685
1742
|
);
|
|
1686
1743
|
}
|
|
1744
|
+
update(id, request) {
|
|
1745
|
+
return this.client.request(
|
|
1746
|
+
"PATCH",
|
|
1747
|
+
`${CONVERSATION_BASE_PATH}/transcriptions/${encodeURIComponent(id)}`,
|
|
1748
|
+
request
|
|
1749
|
+
);
|
|
1750
|
+
}
|
|
1751
|
+
review(id) {
|
|
1752
|
+
return this.client.request(
|
|
1753
|
+
"POST",
|
|
1754
|
+
`${CONVERSATION_BASE_PATH}/transcriptions/${encodeURIComponent(id)}/review`,
|
|
1755
|
+
{}
|
|
1756
|
+
);
|
|
1757
|
+
}
|
|
1687
1758
|
materialize(id, request = {}) {
|
|
1688
1759
|
return this.client.request(
|
|
1689
1760
|
"POST",
|
|
@@ -1692,6 +1763,39 @@ var TranscriptionServiceImpl = class {
|
|
|
1692
1763
|
);
|
|
1693
1764
|
}
|
|
1694
1765
|
};
|
|
1766
|
+
var MistranscribedTermServiceImpl = class {
|
|
1767
|
+
constructor(client) {
|
|
1768
|
+
this.client = client;
|
|
1769
|
+
}
|
|
1770
|
+
client;
|
|
1771
|
+
list(query = {}) {
|
|
1772
|
+
return this.client.requestWithQuery(
|
|
1773
|
+
"GET",
|
|
1774
|
+
`${CONVERSATION_BASE_PATH}/mistranscribed-terms`,
|
|
1775
|
+
query
|
|
1776
|
+
);
|
|
1777
|
+
}
|
|
1778
|
+
get(id) {
|
|
1779
|
+
return this.client.request(
|
|
1780
|
+
"GET",
|
|
1781
|
+
`${CONVERSATION_BASE_PATH}/mistranscribed-terms/${encodeURIComponent(id)}`
|
|
1782
|
+
);
|
|
1783
|
+
}
|
|
1784
|
+
accept(id, request = {}) {
|
|
1785
|
+
return this.client.request(
|
|
1786
|
+
"POST",
|
|
1787
|
+
`${CONVERSATION_BASE_PATH}/mistranscribed-terms/${encodeURIComponent(id)}/accept`,
|
|
1788
|
+
request
|
|
1789
|
+
);
|
|
1790
|
+
}
|
|
1791
|
+
reject(id) {
|
|
1792
|
+
return this.client.request(
|
|
1793
|
+
"POST",
|
|
1794
|
+
`${CONVERSATION_BASE_PATH}/mistranscribed-terms/${encodeURIComponent(id)}/reject`,
|
|
1795
|
+
{}
|
|
1796
|
+
);
|
|
1797
|
+
}
|
|
1798
|
+
};
|
|
1695
1799
|
|
|
1696
1800
|
// src/data/queries.ts
|
|
1697
1801
|
var QUERY_BASE_PATH = "/data/v1/query";
|
|
@@ -1720,7 +1824,7 @@ var RecordServiceImpl = class {
|
|
|
1720
1824
|
}
|
|
1721
1825
|
client;
|
|
1722
1826
|
list(entitySlug, options = {}) {
|
|
1723
|
-
return new
|
|
1827
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
|
|
1724
1828
|
}
|
|
1725
1829
|
async listPage(entitySlug, options = {}) {
|
|
1726
1830
|
return this.client.requestWithQuery(
|
|
@@ -1753,7 +1857,7 @@ var RecordServiceImpl = class {
|
|
|
1753
1857
|
);
|
|
1754
1858
|
}
|
|
1755
1859
|
listPublic(orgId, entitySlug, options = {}) {
|
|
1756
|
-
return new
|
|
1860
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
|
|
1757
1861
|
}
|
|
1758
1862
|
async listPublicPage(orgId, entitySlug, options = {}) {
|
|
1759
1863
|
return this.client.requestWithQuery(
|
|
@@ -1912,7 +2016,7 @@ var ActionServiceImpl = class {
|
|
|
1912
2016
|
}
|
|
1913
2017
|
client;
|
|
1914
2018
|
list(options = {}) {
|
|
1915
|
-
return new
|
|
2019
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1916
2020
|
}
|
|
1917
2021
|
async listPage(options = {}) {
|
|
1918
2022
|
return this.client.requestWithQuery("GET", ACTIONS_BASE_PATH, options);
|
|
@@ -1947,7 +2051,7 @@ var ActionServiceImpl = class {
|
|
|
1947
2051
|
}
|
|
1948
2052
|
};
|
|
1949
2053
|
var ActionScopeSchema = zod.z.enum(["entity", "global"]);
|
|
1950
|
-
var ActionSchema =
|
|
2054
|
+
var ActionSchema = chunkHVO3UMFS_cjs.AuditFieldsSchema.extend({
|
|
1951
2055
|
slug: zod.z.string(),
|
|
1952
2056
|
org_id: zod.z.string(),
|
|
1953
2057
|
module_slug: zod.z.string(),
|
|
@@ -1956,8 +2060,8 @@ var ActionSchema = chunkNZI4N4SK_cjs.AuditFieldsSchema.extend({
|
|
|
1956
2060
|
name: zod.z.string(),
|
|
1957
2061
|
is_active: zod.z.boolean(),
|
|
1958
2062
|
file_id: zod.z.string(),
|
|
1959
|
-
params: zod.z.array(
|
|
1960
|
-
returns: zod.z.array(
|
|
2063
|
+
params: zod.z.array(chunkHVO3UMFS_cjs.AttributeSchema),
|
|
2064
|
+
returns: zod.z.array(chunkHVO3UMFS_cjs.AttributeSchema)
|
|
1961
2065
|
});
|
|
1962
2066
|
|
|
1963
2067
|
// src/functions/index.ts
|
|
@@ -1992,7 +2096,7 @@ var LabelServiceImpl = class {
|
|
|
1992
2096
|
}
|
|
1993
2097
|
client;
|
|
1994
2098
|
list(options = {}) {
|
|
1995
|
-
return new
|
|
2099
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
1996
2100
|
}
|
|
1997
2101
|
async listPage(options = {}) {
|
|
1998
2102
|
return this.client.requestWithQuery(
|
|
@@ -2023,7 +2127,7 @@ var LinkServiceImpl = class {
|
|
|
2023
2127
|
}
|
|
2024
2128
|
client;
|
|
2025
2129
|
list(options = {}) {
|
|
2026
|
-
return new
|
|
2130
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2027
2131
|
}
|
|
2028
2132
|
async listPage(options = {}) {
|
|
2029
2133
|
return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
|
|
@@ -2050,7 +2154,7 @@ var NodeServiceImpl = class {
|
|
|
2050
2154
|
}
|
|
2051
2155
|
client;
|
|
2052
2156
|
list(options = {}) {
|
|
2053
|
-
return new
|
|
2157
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2054
2158
|
}
|
|
2055
2159
|
async listPage(options = {}) {
|
|
2056
2160
|
const { label_ids, ...rest } = options;
|
|
@@ -2144,7 +2248,7 @@ var RecordLinkServiceImpl = class {
|
|
|
2144
2248
|
}
|
|
2145
2249
|
client;
|
|
2146
2250
|
list(options = {}) {
|
|
2147
|
-
return new
|
|
2251
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2148
2252
|
}
|
|
2149
2253
|
async listPage(options = {}) {
|
|
2150
2254
|
return this.client.requestWithQuery(
|
|
@@ -2176,7 +2280,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
|
|
|
2176
2280
|
summary: zod.z.string().nullish(),
|
|
2177
2281
|
valid_from: zod.z.string().nullish(),
|
|
2178
2282
|
valid_until: zod.z.string().nullish()
|
|
2179
|
-
}).merge(
|
|
2283
|
+
}).merge(chunkHVO3UMFS_cjs.AuditFieldsSchema);
|
|
2180
2284
|
var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
|
|
2181
2285
|
content: zod.z.string()
|
|
2182
2286
|
});
|
|
@@ -2200,7 +2304,7 @@ var KnowledgeLinkSchema = zod.z.object({
|
|
|
2200
2304
|
"superseded_by"
|
|
2201
2305
|
]),
|
|
2202
2306
|
description: zod.z.string().nullish()
|
|
2203
|
-
}).merge(
|
|
2307
|
+
}).merge(chunkHVO3UMFS_cjs.AuditFieldsSchema);
|
|
2204
2308
|
var KnowledgeRecordLinkSchema = zod.z.object({
|
|
2205
2309
|
id: zod.z.string(),
|
|
2206
2310
|
org_id: zod.z.string(),
|
|
@@ -2208,7 +2312,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
|
|
|
2208
2312
|
entity_slug: zod.z.string(),
|
|
2209
2313
|
record_id: zod.z.string(),
|
|
2210
2314
|
created_at: zod.z.string(),
|
|
2211
|
-
created_by:
|
|
2315
|
+
created_by: chunkHVO3UMFS_cjs.UserRefSchema
|
|
2212
2316
|
});
|
|
2213
2317
|
var KnowledgeLabelSchema = zod.z.object({
|
|
2214
2318
|
id: zod.z.string(),
|
|
@@ -2218,13 +2322,13 @@ var KnowledgeLabelSchema = zod.z.object({
|
|
|
2218
2322
|
description: zod.z.string().nullish(),
|
|
2219
2323
|
color: zod.z.string().nullish(),
|
|
2220
2324
|
icon: zod.z.string().nullish()
|
|
2221
|
-
}).merge(
|
|
2325
|
+
}).merge(chunkHVO3UMFS_cjs.AuditFieldsSchema);
|
|
2222
2326
|
var KnowledgeNodeLabelSchema = zod.z.object({
|
|
2223
2327
|
org_id: zod.z.string(),
|
|
2224
2328
|
node_id: zod.z.string(),
|
|
2225
2329
|
label_id: zod.z.string(),
|
|
2226
2330
|
created_at: zod.z.string(),
|
|
2227
|
-
created_by:
|
|
2331
|
+
created_by: chunkHVO3UMFS_cjs.UserRefSchema
|
|
2228
2332
|
});
|
|
2229
2333
|
var NodeNeighborhoodSchema = zod.z.object({
|
|
2230
2334
|
nodes: zod.z.array(
|
|
@@ -2399,7 +2503,7 @@ var ExecutionServiceImpl = class {
|
|
|
2399
2503
|
}
|
|
2400
2504
|
client;
|
|
2401
2505
|
list(options = {}) {
|
|
2402
|
-
return new
|
|
2506
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2403
2507
|
}
|
|
2404
2508
|
async listPage(options = {}) {
|
|
2405
2509
|
return this.client.requestWithQuery(
|
|
@@ -2458,7 +2562,7 @@ var WorkflowServiceImpl = class {
|
|
|
2458
2562
|
}
|
|
2459
2563
|
client;
|
|
2460
2564
|
list(options = {}) {
|
|
2461
|
-
return new
|
|
2565
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2462
2566
|
}
|
|
2463
2567
|
async listPage(options = {}) {
|
|
2464
2568
|
return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
|
|
@@ -2496,7 +2600,7 @@ var WorkflowServiceImpl = class {
|
|
|
2496
2600
|
return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
|
|
2497
2601
|
}
|
|
2498
2602
|
listVersions(key, options = {}) {
|
|
2499
|
-
return new
|
|
2603
|
+
return new chunkHVO3UMFS_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
|
|
2500
2604
|
}
|
|
2501
2605
|
async listVersionsPage(key, options = {}) {
|
|
2502
2606
|
return this.client.requestWithQuery(
|
|
@@ -2541,195 +2645,195 @@ var WorkflowClient = class {
|
|
|
2541
2645
|
|
|
2542
2646
|
Object.defineProperty(exports, "AppSchema", {
|
|
2543
2647
|
enumerable: true,
|
|
2544
|
-
get: function () { return
|
|
2648
|
+
get: function () { return chunkHVO3UMFS_cjs.AppSchema; }
|
|
2545
2649
|
});
|
|
2546
2650
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
2547
2651
|
enumerable: true,
|
|
2548
|
-
get: function () { return
|
|
2652
|
+
get: function () { return chunkHVO3UMFS_cjs.AttributeSchema; }
|
|
2549
2653
|
});
|
|
2550
2654
|
Object.defineProperty(exports, "AuditFieldsSchema", {
|
|
2551
2655
|
enumerable: true,
|
|
2552
|
-
get: function () { return
|
|
2656
|
+
get: function () { return chunkHVO3UMFS_cjs.AuditFieldsSchema; }
|
|
2553
2657
|
});
|
|
2554
2658
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
2555
2659
|
enumerable: true,
|
|
2556
|
-
get: function () { return
|
|
2660
|
+
get: function () { return chunkHVO3UMFS_cjs.ColumnSchema; }
|
|
2557
2661
|
});
|
|
2558
2662
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
2559
2663
|
enumerable: true,
|
|
2560
|
-
get: function () { return
|
|
2664
|
+
get: function () { return chunkHVO3UMFS_cjs.ComponentSchema; }
|
|
2561
2665
|
});
|
|
2562
2666
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
2563
2667
|
enumerable: true,
|
|
2564
|
-
get: function () { return
|
|
2668
|
+
get: function () { return chunkHVO3UMFS_cjs.CurrencyAttributeMetaSchema; }
|
|
2565
2669
|
});
|
|
2566
2670
|
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
2567
2671
|
enumerable: true,
|
|
2568
|
-
get: function () { return
|
|
2672
|
+
get: function () { return chunkHVO3UMFS_cjs.DEFAULT_PAGE_SIZE; }
|
|
2569
2673
|
});
|
|
2570
2674
|
Object.defineProperty(exports, "DONE", {
|
|
2571
2675
|
enumerable: true,
|
|
2572
|
-
get: function () { return
|
|
2676
|
+
get: function () { return chunkHVO3UMFS_cjs.DONE; }
|
|
2573
2677
|
});
|
|
2574
2678
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
2575
2679
|
enumerable: true,
|
|
2576
|
-
get: function () { return
|
|
2680
|
+
get: function () { return chunkHVO3UMFS_cjs.DesignReferenceSchema; }
|
|
2577
2681
|
});
|
|
2578
2682
|
Object.defineProperty(exports, "EntitySchema", {
|
|
2579
2683
|
enumerable: true,
|
|
2580
|
-
get: function () { return
|
|
2684
|
+
get: function () { return chunkHVO3UMFS_cjs.EntitySchema; }
|
|
2581
2685
|
});
|
|
2582
2686
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
2583
2687
|
enumerable: true,
|
|
2584
|
-
get: function () { return
|
|
2688
|
+
get: function () { return chunkHVO3UMFS_cjs.EntityWithSchemaSchema; }
|
|
2585
2689
|
});
|
|
2586
2690
|
Object.defineProperty(exports, "FileRefSchema", {
|
|
2587
2691
|
enumerable: true,
|
|
2588
|
-
get: function () { return
|
|
2692
|
+
get: function () { return chunkHVO3UMFS_cjs.FileRefSchema; }
|
|
2589
2693
|
});
|
|
2590
2694
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
2591
2695
|
enumerable: true,
|
|
2592
|
-
get: function () { return
|
|
2696
|
+
get: function () { return chunkHVO3UMFS_cjs.FilterElementSchema; }
|
|
2593
2697
|
});
|
|
2594
2698
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
2595
2699
|
enumerable: true,
|
|
2596
|
-
get: function () { return
|
|
2700
|
+
get: function () { return chunkHVO3UMFS_cjs.FilterGroupSchema; }
|
|
2597
2701
|
});
|
|
2598
2702
|
Object.defineProperty(exports, "ListSchema", {
|
|
2599
2703
|
enumerable: true,
|
|
2600
|
-
get: function () { return
|
|
2704
|
+
get: function () { return chunkHVO3UMFS_cjs.ListSchema; }
|
|
2601
2705
|
});
|
|
2602
2706
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
2603
2707
|
enumerable: true,
|
|
2604
|
-
get: function () { return
|
|
2708
|
+
get: function () { return chunkHVO3UMFS_cjs.ListViewSchema; }
|
|
2605
2709
|
});
|
|
2606
2710
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
2607
2711
|
enumerable: true,
|
|
2608
|
-
get: function () { return
|
|
2712
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuConfigurationSchema; }
|
|
2609
2713
|
});
|
|
2610
2714
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
2611
2715
|
enumerable: true,
|
|
2612
|
-
get: function () { return
|
|
2716
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuItemSchema; }
|
|
2613
2717
|
});
|
|
2614
2718
|
Object.defineProperty(exports, "MenuItemType", {
|
|
2615
2719
|
enumerable: true,
|
|
2616
|
-
get: function () { return
|
|
2720
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuItemType; }
|
|
2617
2721
|
});
|
|
2618
2722
|
Object.defineProperty(exports, "MetaClient", {
|
|
2619
2723
|
enumerable: true,
|
|
2620
|
-
get: function () { return
|
|
2724
|
+
get: function () { return chunkHVO3UMFS_cjs.MetaClient; }
|
|
2621
2725
|
});
|
|
2622
2726
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
2623
2727
|
enumerable: true,
|
|
2624
|
-
get: function () { return
|
|
2728
|
+
get: function () { return chunkHVO3UMFS_cjs.ModuleSchema; }
|
|
2625
2729
|
});
|
|
2626
2730
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
2627
2731
|
enumerable: true,
|
|
2628
|
-
get: function () { return
|
|
2732
|
+
get: function () { return chunkHVO3UMFS_cjs.OnDeleteActionSchema; }
|
|
2629
2733
|
});
|
|
2630
2734
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
2631
2735
|
enumerable: true,
|
|
2632
|
-
get: function () { return
|
|
2736
|
+
get: function () { return chunkHVO3UMFS_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
2633
2737
|
});
|
|
2634
2738
|
Object.defineProperty(exports, "PLATFORM_USER_ID", {
|
|
2635
2739
|
enumerable: true,
|
|
2636
|
-
get: function () { return
|
|
2740
|
+
get: function () { return chunkHVO3UMFS_cjs.PLATFORM_USER_ID; }
|
|
2637
2741
|
});
|
|
2638
2742
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
2639
2743
|
enumerable: true,
|
|
2640
|
-
get: function () { return
|
|
2744
|
+
get: function () { return chunkHVO3UMFS_cjs.PageActionSchema; }
|
|
2641
2745
|
});
|
|
2642
2746
|
Object.defineProperty(exports, "PageIterator", {
|
|
2643
2747
|
enumerable: true,
|
|
2644
|
-
get: function () { return
|
|
2748
|
+
get: function () { return chunkHVO3UMFS_cjs.PageIterator; }
|
|
2645
2749
|
});
|
|
2646
2750
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
2647
2751
|
enumerable: true,
|
|
2648
|
-
get: function () { return
|
|
2752
|
+
get: function () { return chunkHVO3UMFS_cjs.PageLayoutSchema; }
|
|
2649
2753
|
});
|
|
2650
2754
|
Object.defineProperty(exports, "PageSchema", {
|
|
2651
2755
|
enumerable: true,
|
|
2652
|
-
get: function () { return
|
|
2756
|
+
get: function () { return chunkHVO3UMFS_cjs.PageSchema; }
|
|
2653
2757
|
});
|
|
2654
2758
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
2655
2759
|
enumerable: true,
|
|
2656
|
-
get: function () { return
|
|
2760
|
+
get: function () { return chunkHVO3UMFS_cjs.RelationAttributeMetaSchema; }
|
|
2657
2761
|
});
|
|
2658
2762
|
Object.defineProperty(exports, "ResponseMetaSchema", {
|
|
2659
2763
|
enumerable: true,
|
|
2660
|
-
get: function () { return
|
|
2764
|
+
get: function () { return chunkHVO3UMFS_cjs.ResponseMetaSchema; }
|
|
2661
2765
|
});
|
|
2662
2766
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
2663
2767
|
enumerable: true,
|
|
2664
|
-
get: function () { return
|
|
2768
|
+
get: function () { return chunkHVO3UMFS_cjs.SortConfigSchema; }
|
|
2665
2769
|
});
|
|
2666
2770
|
Object.defineProperty(exports, "UserRefSchema", {
|
|
2667
2771
|
enumerable: true,
|
|
2668
|
-
get: function () { return
|
|
2772
|
+
get: function () { return chunkHVO3UMFS_cjs.UserRefSchema; }
|
|
2669
2773
|
});
|
|
2670
2774
|
Object.defineProperty(exports, "VariableSchema", {
|
|
2671
2775
|
enumerable: true,
|
|
2672
|
-
get: function () { return
|
|
2776
|
+
get: function () { return chunkHVO3UMFS_cjs.VariableSchema; }
|
|
2673
2777
|
});
|
|
2674
2778
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
2675
2779
|
enumerable: true,
|
|
2676
|
-
get: function () { return
|
|
2780
|
+
get: function () { return chunkHVO3UMFS_cjs.allCurrencyCodes; }
|
|
2677
2781
|
});
|
|
2678
2782
|
Object.defineProperty(exports, "createIterator", {
|
|
2679
2783
|
enumerable: true,
|
|
2680
|
-
get: function () { return
|
|
2784
|
+
get: function () { return chunkHVO3UMFS_cjs.createIterator; }
|
|
2681
2785
|
});
|
|
2682
2786
|
Object.defineProperty(exports, "createListResultSchema", {
|
|
2683
2787
|
enumerable: true,
|
|
2684
|
-
get: function () { return
|
|
2788
|
+
get: function () { return chunkHVO3UMFS_cjs.createListResultSchema; }
|
|
2685
2789
|
});
|
|
2686
2790
|
Object.defineProperty(exports, "currencyLabel", {
|
|
2687
2791
|
enumerable: true,
|
|
2688
|
-
get: function () { return
|
|
2792
|
+
get: function () { return chunkHVO3UMFS_cjs.currencyLabel; }
|
|
2689
2793
|
});
|
|
2690
2794
|
Object.defineProperty(exports, "currencySymbol", {
|
|
2691
2795
|
enumerable: true,
|
|
2692
|
-
get: function () { return
|
|
2796
|
+
get: function () { return chunkHVO3UMFS_cjs.currencySymbol; }
|
|
2693
2797
|
});
|
|
2694
2798
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
2695
2799
|
enumerable: true,
|
|
2696
|
-
get: function () { return
|
|
2800
|
+
get: function () { return chunkHVO3UMFS_cjs.currencySymbolSide; }
|
|
2697
2801
|
});
|
|
2698
2802
|
Object.defineProperty(exports, "formatAmount", {
|
|
2699
2803
|
enumerable: true,
|
|
2700
|
-
get: function () { return
|
|
2804
|
+
get: function () { return chunkHVO3UMFS_cjs.formatAmount; }
|
|
2701
2805
|
});
|
|
2702
2806
|
Object.defineProperty(exports, "formatMoney", {
|
|
2703
2807
|
enumerable: true,
|
|
2704
|
-
get: function () { return
|
|
2808
|
+
get: function () { return chunkHVO3UMFS_cjs.formatMoney; }
|
|
2705
2809
|
});
|
|
2706
2810
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
2707
2811
|
enumerable: true,
|
|
2708
|
-
get: function () { return
|
|
2812
|
+
get: function () { return chunkHVO3UMFS_cjs.isPlatformAttributeName; }
|
|
2709
2813
|
});
|
|
2710
2814
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
2711
2815
|
enumerable: true,
|
|
2712
|
-
get: function () { return
|
|
2816
|
+
get: function () { return chunkHVO3UMFS_cjs.localeNumberSeparators; }
|
|
2713
2817
|
});
|
|
2714
2818
|
Object.defineProperty(exports, "parseAmount", {
|
|
2715
2819
|
enumerable: true,
|
|
2716
|
-
get: function () { return
|
|
2820
|
+
get: function () { return chunkHVO3UMFS_cjs.parseAmount; }
|
|
2717
2821
|
});
|
|
2718
2822
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
2719
2823
|
enumerable: true,
|
|
2720
|
-
get: function () { return
|
|
2824
|
+
get: function () { return chunkHVO3UMFS_cjs.parseCurrencyMeta; }
|
|
2721
2825
|
});
|
|
2722
2826
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
2723
2827
|
enumerable: true,
|
|
2724
|
-
get: function () { return
|
|
2828
|
+
get: function () { return chunkHVO3UMFS_cjs.parseFileMeta; }
|
|
2725
2829
|
});
|
|
2726
2830
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
2727
2831
|
enumerable: true,
|
|
2728
|
-
get: function () { return
|
|
2832
|
+
get: function () { return chunkHVO3UMFS_cjs.parseRelationMeta; }
|
|
2729
2833
|
});
|
|
2730
2834
|
Object.defineProperty(exports, "platformAttributes", {
|
|
2731
2835
|
enumerable: true,
|
|
2732
|
-
get: function () { return
|
|
2836
|
+
get: function () { return chunkHVO3UMFS_cjs.platformAttributes; }
|
|
2733
2837
|
});
|
|
2734
2838
|
exports.AccountClient = AccountClient;
|
|
2735
2839
|
exports.ActionSchema = ActionSchema;
|