@proteos/sdk 0.47.0 → 0.48.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-Z7LC3GGU.cjs → chunk-OD7GPJAW.cjs} +15 -3
- package/dist/chunk-OD7GPJAW.cjs.map +1 -0
- package/dist/{chunk-5KEJKXO5.js → chunk-TDG5QFZ5.js} +15 -3
- package/dist/chunk-TDG5QFZ5.js.map +1 -0
- package/dist/index.cjs +135 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +128 -8
- package/dist/index.d.ts +128 -8
- package/dist/index.js +41 -4
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +57 -57
- 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-oECz4xTQ.d.cts → types-COxVBT4w.d.cts} +53 -22
- package/dist/{types-oECz4xTQ.d.ts → types-COxVBT4w.d.ts} +53 -22
- package/package.json +1 -1
- package/src/conversation/index.ts +87 -3
- package/src/conversation/types.ts +103 -1
- package/src/data/types.ts +9 -0
- package/src/index.ts +8 -0
- package/src/meta/layout/elements.ts +44 -0
- package/src/meta/layout/index.ts +1 -0
- package/dist/chunk-5KEJKXO5.js.map +0 -1
- package/dist/chunk-Z7LC3GGU.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOD7GPJAW_cjs = require('./chunk-OD7GPJAW.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 chunkOD7GPJAW_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 chunkOD7GPJAW_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 chunkOD7GPJAW_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 chunkOD7GPJAW_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 chunkOD7GPJAW_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 chunkOD7GPJAW_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);
|
|
@@ -349,7 +349,7 @@ var ToolsetServiceImpl = class {
|
|
|
349
349
|
}
|
|
350
350
|
client;
|
|
351
351
|
list(options = {}) {
|
|
352
|
-
return new
|
|
352
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
353
353
|
}
|
|
354
354
|
async listPage(options = {}) {
|
|
355
355
|
return this.client.requestWithQuery("GET", TOOLSETS_BASE_PATH, options);
|
|
@@ -440,7 +440,7 @@ var OrganizationServiceImpl = class {
|
|
|
440
440
|
}
|
|
441
441
|
client;
|
|
442
442
|
list(options = {}) {
|
|
443
|
-
return new
|
|
443
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
444
444
|
}
|
|
445
445
|
async listPage(options = {}) {
|
|
446
446
|
return this.client.requestWithQuery(
|
|
@@ -471,7 +471,7 @@ var RoleServiceImpl = class {
|
|
|
471
471
|
}
|
|
472
472
|
client;
|
|
473
473
|
list(options = {}) {
|
|
474
|
-
return new
|
|
474
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
475
475
|
}
|
|
476
476
|
async listPage(options = {}) {
|
|
477
477
|
return this.client.requestWithQuery("GET", ROLES_BASE_PATH, options);
|
|
@@ -492,7 +492,7 @@ var RoleServiceImpl = class {
|
|
|
492
492
|
await this.client.request("DELETE", `${ROLES_BASE_PATH}/${slug}`);
|
|
493
493
|
}
|
|
494
494
|
getPermissions(roleSlug, options = {}) {
|
|
495
|
-
return new
|
|
495
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
|
|
496
496
|
}
|
|
497
497
|
async assignPermission(roleSlug, request) {
|
|
498
498
|
return this.client.request(
|
|
@@ -678,7 +678,7 @@ var TeamServiceImpl = class {
|
|
|
678
678
|
}
|
|
679
679
|
client;
|
|
680
680
|
list(options = {}) {
|
|
681
|
-
return new
|
|
681
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
682
682
|
}
|
|
683
683
|
async listPage(options = {}) {
|
|
684
684
|
return this.client.requestWithQuery("GET", TEAMS_BASE_PATH, options);
|
|
@@ -696,7 +696,7 @@ var TeamServiceImpl = class {
|
|
|
696
696
|
await this.client.request("DELETE", `${TEAMS_BASE_PATH}/${slug}`);
|
|
697
697
|
}
|
|
698
698
|
getMembers(slug, options = {}) {
|
|
699
|
-
return new
|
|
699
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.fetchMembersPage(slug, opts), options);
|
|
700
700
|
}
|
|
701
701
|
async addMember(slug, request) {
|
|
702
702
|
return this.client.request("POST", `${TEAMS_BASE_PATH}/${slug}/members`, request);
|
|
@@ -721,7 +721,7 @@ var UserRoleAssignmentServiceImpl = class {
|
|
|
721
721
|
}
|
|
722
722
|
client;
|
|
723
723
|
list(options = {}) {
|
|
724
|
-
return new
|
|
724
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
725
725
|
}
|
|
726
726
|
async listPage(options = {}) {
|
|
727
727
|
return this.client.requestWithQuery(
|
|
@@ -740,7 +740,7 @@ var UserServiceImpl = class {
|
|
|
740
740
|
}
|
|
741
741
|
client;
|
|
742
742
|
list(options = {}) {
|
|
743
|
-
return new
|
|
743
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
744
744
|
}
|
|
745
745
|
async listPage(options = {}) {
|
|
746
746
|
return this.client.requestWithQuery("GET", USERS_BASE_PATH, options);
|
|
@@ -755,7 +755,7 @@ var UserServiceImpl = class {
|
|
|
755
755
|
return this.client.request("PATCH", `${USERS_BASE_PATH}/${id}`, request);
|
|
756
756
|
}
|
|
757
757
|
getRoles(userId, options = {}) {
|
|
758
|
-
return new
|
|
758
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
|
|
759
759
|
}
|
|
760
760
|
async assignRole(userId, request) {
|
|
761
761
|
return this.client.request(
|
|
@@ -878,28 +878,28 @@ var SCOPED_PLATFORM_ENTITY_SLUGS = ["knowledge-nodes"];
|
|
|
878
878
|
function isPlatformEntity(slug) {
|
|
879
879
|
return PLATFORM_ENTITY_SLUGS.includes(slug);
|
|
880
880
|
}
|
|
881
|
-
var RoleEntityPermissionSchema =
|
|
881
|
+
var RoleEntityPermissionSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
882
882
|
id: zod.z.string(),
|
|
883
883
|
role_slug: zod.z.string(),
|
|
884
884
|
entity_slug: zod.z.string(),
|
|
885
885
|
permission: zod.z.enum(["read", "write", "delete", "read_scoped", "write_scoped", "delete_scoped"])
|
|
886
886
|
});
|
|
887
|
-
var UserRoleAssignmentSchema =
|
|
887
|
+
var UserRoleAssignmentSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
888
888
|
id: zod.z.string(),
|
|
889
889
|
user_id: zod.z.string(),
|
|
890
890
|
role_slug: zod.z.string(),
|
|
891
891
|
org_id: zod.z.string()
|
|
892
892
|
});
|
|
893
|
-
var UserSchema =
|
|
893
|
+
var UserSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
894
894
|
id: zod.z.string(),
|
|
895
895
|
email: zod.z.string(),
|
|
896
896
|
given_name: zod.z.string(),
|
|
897
897
|
family_name: zod.z.string(),
|
|
898
898
|
external_id: zod.z.string(),
|
|
899
899
|
default_org_id: zod.z.string(),
|
|
900
|
-
profile_image:
|
|
900
|
+
profile_image: chunkOD7GPJAW_cjs.FileRefSchema.nullish()
|
|
901
901
|
});
|
|
902
|
-
|
|
902
|
+
chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
903
903
|
id: zod.z.string(),
|
|
904
904
|
user_id: zod.z.string(),
|
|
905
905
|
org_id: zod.z.string(),
|
|
@@ -909,26 +909,26 @@ chunkZ7LC3GGU_cjs.AuditFieldsSchema.extend({
|
|
|
909
909
|
expires_at: zod.z.string().nullable(),
|
|
910
910
|
last_used_at: zod.z.string().nullable()
|
|
911
911
|
});
|
|
912
|
-
var RoleSchema =
|
|
912
|
+
var RoleSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
913
913
|
slug: zod.z.string(),
|
|
914
914
|
name: zod.z.string(),
|
|
915
915
|
org_id: zod.z.string(),
|
|
916
916
|
description: zod.z.string()
|
|
917
917
|
});
|
|
918
|
-
|
|
918
|
+
chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
919
919
|
slug: zod.z.string(),
|
|
920
920
|
name: zod.z.string(),
|
|
921
921
|
org_id: zod.z.string(),
|
|
922
922
|
description: zod.z.string(),
|
|
923
923
|
parent_team_slug: zod.z.string()
|
|
924
924
|
});
|
|
925
|
-
|
|
925
|
+
chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
926
926
|
id: zod.z.string(),
|
|
927
927
|
org_id: zod.z.string(),
|
|
928
928
|
team_slug: zod.z.string(),
|
|
929
929
|
user_id: zod.z.string()
|
|
930
930
|
});
|
|
931
|
-
var OrganizationSchema =
|
|
931
|
+
var OrganizationSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
932
932
|
id: zod.z.string(),
|
|
933
933
|
name: zod.z.string(),
|
|
934
934
|
description: zod.z.string()
|
|
@@ -937,7 +937,7 @@ var SharePermissionSchema = zod.z.enum(["read", "write", "delete"]);
|
|
|
937
937
|
zod.z.object({
|
|
938
938
|
entity_slug: zod.z.string(),
|
|
939
939
|
record_id: zod.z.string(),
|
|
940
|
-
principal:
|
|
940
|
+
principal: chunkOD7GPJAW_cjs.PrincipalRefSchema,
|
|
941
941
|
permission: SharePermissionSchema
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -1516,6 +1516,7 @@ var ConversationClient = class {
|
|
|
1516
1516
|
meetings;
|
|
1517
1517
|
/** Realtime speech-to-text (dictation) — moved here from agent-service. */
|
|
1518
1518
|
voice;
|
|
1519
|
+
calls;
|
|
1519
1520
|
constructor(client) {
|
|
1520
1521
|
this.connections = new ConnectionServiceImpl(client);
|
|
1521
1522
|
this.conversations = new ConversationServiceImpl(client);
|
|
@@ -1531,6 +1532,7 @@ var ConversationClient = class {
|
|
|
1531
1532
|
this.mistranscribedTerms = new MistranscribedTermServiceImpl(client);
|
|
1532
1533
|
this.meetings = new MeetingServiceImpl(client);
|
|
1533
1534
|
this.voice = new VoiceServiceImpl(client);
|
|
1535
|
+
this.calls = new CallServiceImpl(client);
|
|
1534
1536
|
}
|
|
1535
1537
|
};
|
|
1536
1538
|
var MeetingServiceImpl = class {
|
|
@@ -1585,10 +1587,11 @@ var ConnectionServiceImpl = class {
|
|
|
1585
1587
|
query
|
|
1586
1588
|
);
|
|
1587
1589
|
}
|
|
1588
|
-
install(id) {
|
|
1590
|
+
install(id, request) {
|
|
1589
1591
|
return this.client.request(
|
|
1590
1592
|
"POST",
|
|
1591
|
-
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/install
|
|
1593
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/install`,
|
|
1594
|
+
request
|
|
1592
1595
|
);
|
|
1593
1596
|
}
|
|
1594
1597
|
sync(id, request) {
|
|
@@ -2147,6 +2150,40 @@ var MistranscribedTermServiceImpl = class {
|
|
|
2147
2150
|
);
|
|
2148
2151
|
}
|
|
2149
2152
|
};
|
|
2153
|
+
var CallServiceImpl = class {
|
|
2154
|
+
constructor(client) {
|
|
2155
|
+
this.client = client;
|
|
2156
|
+
}
|
|
2157
|
+
client;
|
|
2158
|
+
mintToken(request) {
|
|
2159
|
+
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/calls/token`, request);
|
|
2160
|
+
}
|
|
2161
|
+
listPhoneNumbers(connectionId) {
|
|
2162
|
+
return this.client.request(
|
|
2163
|
+
"GET",
|
|
2164
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/phone-numbers`
|
|
2165
|
+
);
|
|
2166
|
+
}
|
|
2167
|
+
updatePhoneNumber(connectionId, numberExternalId, request) {
|
|
2168
|
+
return this.client.request(
|
|
2169
|
+
"PUT",
|
|
2170
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/phone-numbers/${encodeURIComponent(numberExternalId)}`,
|
|
2171
|
+
request
|
|
2172
|
+
);
|
|
2173
|
+
}
|
|
2174
|
+
connectPhoneNumber(connectionId, numberExternalId) {
|
|
2175
|
+
return this.client.request(
|
|
2176
|
+
"POST",
|
|
2177
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/phone-numbers/${encodeURIComponent(numberExternalId)}/connect`
|
|
2178
|
+
);
|
|
2179
|
+
}
|
|
2180
|
+
disconnectPhoneNumber(connectionId, numberExternalId) {
|
|
2181
|
+
return this.client.request(
|
|
2182
|
+
"POST",
|
|
2183
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(connectionId)}/phone-numbers/${encodeURIComponent(numberExternalId)}/disconnect`
|
|
2184
|
+
);
|
|
2185
|
+
}
|
|
2186
|
+
};
|
|
2150
2187
|
|
|
2151
2188
|
// src/data/queries.ts
|
|
2152
2189
|
var QUERY_BASE_PATH = "/data/v1/query";
|
|
@@ -2175,7 +2212,7 @@ var RecordServiceImpl = class {
|
|
|
2175
2212
|
}
|
|
2176
2213
|
client;
|
|
2177
2214
|
list(entitySlug, options = {}) {
|
|
2178
|
-
return new
|
|
2215
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
|
|
2179
2216
|
}
|
|
2180
2217
|
async listPage(entitySlug, options = {}) {
|
|
2181
2218
|
return this.client.requestWithQuery(
|
|
@@ -2208,7 +2245,7 @@ var RecordServiceImpl = class {
|
|
|
2208
2245
|
);
|
|
2209
2246
|
}
|
|
2210
2247
|
listPublic(orgId, entitySlug, options = {}) {
|
|
2211
|
-
return new
|
|
2248
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
|
|
2212
2249
|
}
|
|
2213
2250
|
async listPublicPage(orgId, entitySlug, options = {}) {
|
|
2214
2251
|
return this.client.requestWithQuery(
|
|
@@ -2367,7 +2404,7 @@ var ActionServiceImpl = class {
|
|
|
2367
2404
|
}
|
|
2368
2405
|
client;
|
|
2369
2406
|
list(options = {}) {
|
|
2370
|
-
return new
|
|
2407
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2371
2408
|
}
|
|
2372
2409
|
async listPage(options = {}) {
|
|
2373
2410
|
return this.client.requestWithQuery("GET", ACTIONS_BASE_PATH, options);
|
|
@@ -2410,7 +2447,7 @@ var ActionServiceImpl = class {
|
|
|
2410
2447
|
}
|
|
2411
2448
|
};
|
|
2412
2449
|
var ActionScopeSchema = zod.z.enum(["entity", "entity_batch", "global"]);
|
|
2413
|
-
var ActionSchema =
|
|
2450
|
+
var ActionSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
2414
2451
|
slug: zod.z.string(),
|
|
2415
2452
|
org_id: zod.z.string(),
|
|
2416
2453
|
module_slug: zod.z.string(),
|
|
@@ -2419,8 +2456,8 @@ var ActionSchema = chunkZ7LC3GGU_cjs.AuditFieldsSchema.extend({
|
|
|
2419
2456
|
name: zod.z.string(),
|
|
2420
2457
|
is_active: zod.z.boolean(),
|
|
2421
2458
|
file_id: zod.z.string(),
|
|
2422
|
-
params: zod.z.array(
|
|
2423
|
-
returns: zod.z.array(
|
|
2459
|
+
params: zod.z.array(chunkOD7GPJAW_cjs.AttributeSchema),
|
|
2460
|
+
returns: zod.z.array(chunkOD7GPJAW_cjs.AttributeSchema)
|
|
2424
2461
|
});
|
|
2425
2462
|
|
|
2426
2463
|
// src/functions/index.ts
|
|
@@ -2458,7 +2495,7 @@ var LabelServiceImpl = class {
|
|
|
2458
2495
|
}
|
|
2459
2496
|
client;
|
|
2460
2497
|
list(options = {}) {
|
|
2461
|
-
return new
|
|
2498
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2462
2499
|
}
|
|
2463
2500
|
async listPage(options = {}) {
|
|
2464
2501
|
return this.client.requestWithQuery(
|
|
@@ -2489,7 +2526,7 @@ var LinkServiceImpl = class {
|
|
|
2489
2526
|
}
|
|
2490
2527
|
client;
|
|
2491
2528
|
list(options = {}) {
|
|
2492
|
-
return new
|
|
2529
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2493
2530
|
}
|
|
2494
2531
|
async listPage(options = {}) {
|
|
2495
2532
|
return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
|
|
@@ -2516,7 +2553,7 @@ var NodeServiceImpl = class {
|
|
|
2516
2553
|
}
|
|
2517
2554
|
client;
|
|
2518
2555
|
list(options = {}) {
|
|
2519
|
-
return new
|
|
2556
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2520
2557
|
}
|
|
2521
2558
|
async listPage(options = {}) {
|
|
2522
2559
|
const { label_ids, space_slugs, ...rest } = options;
|
|
@@ -2613,7 +2650,7 @@ var SpaceServiceImpl = class {
|
|
|
2613
2650
|
}
|
|
2614
2651
|
client;
|
|
2615
2652
|
list(options = {}) {
|
|
2616
|
-
return new
|
|
2653
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2617
2654
|
}
|
|
2618
2655
|
async listPage(options = {}) {
|
|
2619
2656
|
return this.client.requestWithQuery(
|
|
@@ -2644,7 +2681,7 @@ var RecordLinkServiceImpl = class {
|
|
|
2644
2681
|
}
|
|
2645
2682
|
client;
|
|
2646
2683
|
list(options = {}) {
|
|
2647
|
-
return new
|
|
2684
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2648
2685
|
}
|
|
2649
2686
|
async listPage(options = {}) {
|
|
2650
2687
|
return this.client.requestWithQuery(
|
|
@@ -2677,7 +2714,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
|
|
|
2677
2714
|
summary: zod.z.string().nullish(),
|
|
2678
2715
|
valid_from: zod.z.string().nullish(),
|
|
2679
2716
|
valid_until: zod.z.string().nullish()
|
|
2680
|
-
}).merge(
|
|
2717
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2681
2718
|
var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
|
|
2682
2719
|
content: zod.z.string()
|
|
2683
2720
|
});
|
|
@@ -2701,7 +2738,7 @@ var KnowledgeLinkSchema = zod.z.object({
|
|
|
2701
2738
|
"superseded_by"
|
|
2702
2739
|
]),
|
|
2703
2740
|
description: zod.z.string().nullish()
|
|
2704
|
-
}).merge(
|
|
2741
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2705
2742
|
var KnowledgeRecordLinkSchema = zod.z.object({
|
|
2706
2743
|
id: zod.z.string(),
|
|
2707
2744
|
org_id: zod.z.string(),
|
|
@@ -2709,7 +2746,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
|
|
|
2709
2746
|
entity_slug: zod.z.string(),
|
|
2710
2747
|
record_id: zod.z.string(),
|
|
2711
2748
|
created_at: zod.z.string(),
|
|
2712
|
-
created_by:
|
|
2749
|
+
created_by: chunkOD7GPJAW_cjs.UserRefSchema
|
|
2713
2750
|
});
|
|
2714
2751
|
var KnowledgeLabelSchema = zod.z.object({
|
|
2715
2752
|
id: zod.z.string(),
|
|
@@ -2719,13 +2756,13 @@ var KnowledgeLabelSchema = zod.z.object({
|
|
|
2719
2756
|
description: zod.z.string().nullish(),
|
|
2720
2757
|
color: zod.z.string().nullish(),
|
|
2721
2758
|
icon: zod.z.string().nullish()
|
|
2722
|
-
}).merge(
|
|
2759
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2723
2760
|
var KnowledgeNodeLabelSchema = zod.z.object({
|
|
2724
2761
|
org_id: zod.z.string(),
|
|
2725
2762
|
node_id: zod.z.string(),
|
|
2726
2763
|
label_id: zod.z.string(),
|
|
2727
2764
|
created_at: zod.z.string(),
|
|
2728
|
-
created_by:
|
|
2765
|
+
created_by: chunkOD7GPJAW_cjs.UserRefSchema
|
|
2729
2766
|
});
|
|
2730
2767
|
var NodeNeighborhoodSchema = zod.z.object({
|
|
2731
2768
|
nodes: zod.z.array(
|
|
@@ -2912,7 +2949,7 @@ var ExecutionServiceImpl = class {
|
|
|
2912
2949
|
}
|
|
2913
2950
|
client;
|
|
2914
2951
|
list(options = {}) {
|
|
2915
|
-
return new
|
|
2952
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2916
2953
|
}
|
|
2917
2954
|
async listPage(options = {}) {
|
|
2918
2955
|
return this.client.requestWithQuery(
|
|
@@ -2971,7 +3008,7 @@ var WorkflowServiceImpl = class {
|
|
|
2971
3008
|
}
|
|
2972
3009
|
client;
|
|
2973
3010
|
list(options = {}) {
|
|
2974
|
-
return new
|
|
3011
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2975
3012
|
}
|
|
2976
3013
|
async listPage(options = {}) {
|
|
2977
3014
|
return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
|
|
@@ -3009,7 +3046,7 @@ var WorkflowServiceImpl = class {
|
|
|
3009
3046
|
return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
|
|
3010
3047
|
}
|
|
3011
3048
|
listVersions(key, options = {}) {
|
|
3012
|
-
return new
|
|
3049
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
|
|
3013
3050
|
}
|
|
3014
3051
|
async listVersionsPage(key, options = {}) {
|
|
3015
3052
|
return this.client.requestWithQuery(
|
|
@@ -3054,207 +3091,207 @@ var WorkflowClient = class {
|
|
|
3054
3091
|
|
|
3055
3092
|
Object.defineProperty(exports, "AppSchema", {
|
|
3056
3093
|
enumerable: true,
|
|
3057
|
-
get: function () { return
|
|
3094
|
+
get: function () { return chunkOD7GPJAW_cjs.AppSchema; }
|
|
3058
3095
|
});
|
|
3059
3096
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
3060
3097
|
enumerable: true,
|
|
3061
|
-
get: function () { return
|
|
3098
|
+
get: function () { return chunkOD7GPJAW_cjs.AttributeSchema; }
|
|
3062
3099
|
});
|
|
3063
3100
|
Object.defineProperty(exports, "AuditFieldsSchema", {
|
|
3064
3101
|
enumerable: true,
|
|
3065
|
-
get: function () { return
|
|
3102
|
+
get: function () { return chunkOD7GPJAW_cjs.AuditFieldsSchema; }
|
|
3066
3103
|
});
|
|
3067
3104
|
Object.defineProperty(exports, "CURRENT_USER_DEFAULT", {
|
|
3068
3105
|
enumerable: true,
|
|
3069
|
-
get: function () { return
|
|
3106
|
+
get: function () { return chunkOD7GPJAW_cjs.CURRENT_USER_DEFAULT; }
|
|
3070
3107
|
});
|
|
3071
3108
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
3072
3109
|
enumerable: true,
|
|
3073
|
-
get: function () { return
|
|
3110
|
+
get: function () { return chunkOD7GPJAW_cjs.ColumnSchema; }
|
|
3074
3111
|
});
|
|
3075
3112
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
3076
3113
|
enumerable: true,
|
|
3077
|
-
get: function () { return
|
|
3114
|
+
get: function () { return chunkOD7GPJAW_cjs.ComponentSchema; }
|
|
3078
3115
|
});
|
|
3079
3116
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
3080
3117
|
enumerable: true,
|
|
3081
|
-
get: function () { return
|
|
3118
|
+
get: function () { return chunkOD7GPJAW_cjs.CurrencyAttributeMetaSchema; }
|
|
3082
3119
|
});
|
|
3083
3120
|
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
3084
3121
|
enumerable: true,
|
|
3085
|
-
get: function () { return
|
|
3122
|
+
get: function () { return chunkOD7GPJAW_cjs.DEFAULT_PAGE_SIZE; }
|
|
3086
3123
|
});
|
|
3087
3124
|
Object.defineProperty(exports, "DONE", {
|
|
3088
3125
|
enumerable: true,
|
|
3089
|
-
get: function () { return
|
|
3126
|
+
get: function () { return chunkOD7GPJAW_cjs.DONE; }
|
|
3090
3127
|
});
|
|
3091
3128
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
3092
3129
|
enumerable: true,
|
|
3093
|
-
get: function () { return
|
|
3130
|
+
get: function () { return chunkOD7GPJAW_cjs.DesignReferenceSchema; }
|
|
3094
3131
|
});
|
|
3095
3132
|
Object.defineProperty(exports, "EntitySchema", {
|
|
3096
3133
|
enumerable: true,
|
|
3097
|
-
get: function () { return
|
|
3134
|
+
get: function () { return chunkOD7GPJAW_cjs.EntitySchema; }
|
|
3098
3135
|
});
|
|
3099
3136
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
3100
3137
|
enumerable: true,
|
|
3101
|
-
get: function () { return
|
|
3138
|
+
get: function () { return chunkOD7GPJAW_cjs.EntityWithSchemaSchema; }
|
|
3102
3139
|
});
|
|
3103
3140
|
Object.defineProperty(exports, "FileRefSchema", {
|
|
3104
3141
|
enumerable: true,
|
|
3105
|
-
get: function () { return
|
|
3142
|
+
get: function () { return chunkOD7GPJAW_cjs.FileRefSchema; }
|
|
3106
3143
|
});
|
|
3107
3144
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
3108
3145
|
enumerable: true,
|
|
3109
|
-
get: function () { return
|
|
3146
|
+
get: function () { return chunkOD7GPJAW_cjs.FilterElementSchema; }
|
|
3110
3147
|
});
|
|
3111
3148
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
3112
3149
|
enumerable: true,
|
|
3113
|
-
get: function () { return
|
|
3150
|
+
get: function () { return chunkOD7GPJAW_cjs.FilterGroupSchema; }
|
|
3114
3151
|
});
|
|
3115
3152
|
Object.defineProperty(exports, "ListSchema", {
|
|
3116
3153
|
enumerable: true,
|
|
3117
|
-
get: function () { return
|
|
3154
|
+
get: function () { return chunkOD7GPJAW_cjs.ListSchema; }
|
|
3118
3155
|
});
|
|
3119
3156
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
3120
3157
|
enumerable: true,
|
|
3121
|
-
get: function () { return
|
|
3158
|
+
get: function () { return chunkOD7GPJAW_cjs.ListViewSchema; }
|
|
3122
3159
|
});
|
|
3123
3160
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
3124
3161
|
enumerable: true,
|
|
3125
|
-
get: function () { return
|
|
3162
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuConfigurationSchema; }
|
|
3126
3163
|
});
|
|
3127
3164
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
3128
3165
|
enumerable: true,
|
|
3129
|
-
get: function () { return
|
|
3166
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuItemSchema; }
|
|
3130
3167
|
});
|
|
3131
3168
|
Object.defineProperty(exports, "MenuItemType", {
|
|
3132
3169
|
enumerable: true,
|
|
3133
|
-
get: function () { return
|
|
3170
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuItemType; }
|
|
3134
3171
|
});
|
|
3135
3172
|
Object.defineProperty(exports, "MetaClient", {
|
|
3136
3173
|
enumerable: true,
|
|
3137
|
-
get: function () { return
|
|
3174
|
+
get: function () { return chunkOD7GPJAW_cjs.MetaClient; }
|
|
3138
3175
|
});
|
|
3139
3176
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
3140
3177
|
enumerable: true,
|
|
3141
|
-
get: function () { return
|
|
3178
|
+
get: function () { return chunkOD7GPJAW_cjs.ModuleSchema; }
|
|
3142
3179
|
});
|
|
3143
3180
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
3144
3181
|
enumerable: true,
|
|
3145
|
-
get: function () { return
|
|
3182
|
+
get: function () { return chunkOD7GPJAW_cjs.OnDeleteActionSchema; }
|
|
3146
3183
|
});
|
|
3147
3184
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
3148
3185
|
enumerable: true,
|
|
3149
|
-
get: function () { return
|
|
3186
|
+
get: function () { return chunkOD7GPJAW_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
3150
3187
|
});
|
|
3151
3188
|
Object.defineProperty(exports, "PLATFORM_USER_ID", {
|
|
3152
3189
|
enumerable: true,
|
|
3153
|
-
get: function () { return
|
|
3190
|
+
get: function () { return chunkOD7GPJAW_cjs.PLATFORM_USER_ID; }
|
|
3154
3191
|
});
|
|
3155
3192
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
3156
3193
|
enumerable: true,
|
|
3157
|
-
get: function () { return
|
|
3194
|
+
get: function () { return chunkOD7GPJAW_cjs.PageActionSchema; }
|
|
3158
3195
|
});
|
|
3159
3196
|
Object.defineProperty(exports, "PageIterator", {
|
|
3160
3197
|
enumerable: true,
|
|
3161
|
-
get: function () { return
|
|
3198
|
+
get: function () { return chunkOD7GPJAW_cjs.PageIterator; }
|
|
3162
3199
|
});
|
|
3163
3200
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
3164
3201
|
enumerable: true,
|
|
3165
|
-
get: function () { return
|
|
3202
|
+
get: function () { return chunkOD7GPJAW_cjs.PageLayoutSchema; }
|
|
3166
3203
|
});
|
|
3167
3204
|
Object.defineProperty(exports, "PageSchema", {
|
|
3168
3205
|
enumerable: true,
|
|
3169
|
-
get: function () { return
|
|
3206
|
+
get: function () { return chunkOD7GPJAW_cjs.PageSchema; }
|
|
3170
3207
|
});
|
|
3171
3208
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
3172
3209
|
enumerable: true,
|
|
3173
|
-
get: function () { return
|
|
3210
|
+
get: function () { return chunkOD7GPJAW_cjs.RelationAttributeMetaSchema; }
|
|
3174
3211
|
});
|
|
3175
3212
|
Object.defineProperty(exports, "ResponseMetaSchema", {
|
|
3176
3213
|
enumerable: true,
|
|
3177
|
-
get: function () { return
|
|
3214
|
+
get: function () { return chunkOD7GPJAW_cjs.ResponseMetaSchema; }
|
|
3178
3215
|
});
|
|
3179
3216
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
3180
3217
|
enumerable: true,
|
|
3181
|
-
get: function () { return
|
|
3218
|
+
get: function () { return chunkOD7GPJAW_cjs.SortConfigSchema; }
|
|
3182
3219
|
});
|
|
3183
3220
|
Object.defineProperty(exports, "UserRefSchema", {
|
|
3184
3221
|
enumerable: true,
|
|
3185
|
-
get: function () { return
|
|
3222
|
+
get: function () { return chunkOD7GPJAW_cjs.UserRefSchema; }
|
|
3186
3223
|
});
|
|
3187
3224
|
Object.defineProperty(exports, "VariableSchema", {
|
|
3188
3225
|
enumerable: true,
|
|
3189
|
-
get: function () { return
|
|
3226
|
+
get: function () { return chunkOD7GPJAW_cjs.VariableSchema; }
|
|
3190
3227
|
});
|
|
3191
3228
|
Object.defineProperty(exports, "acceptsCurrentUserDefault", {
|
|
3192
3229
|
enumerable: true,
|
|
3193
|
-
get: function () { return
|
|
3230
|
+
get: function () { return chunkOD7GPJAW_cjs.acceptsCurrentUserDefault; }
|
|
3194
3231
|
});
|
|
3195
3232
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
3196
3233
|
enumerable: true,
|
|
3197
|
-
get: function () { return
|
|
3234
|
+
get: function () { return chunkOD7GPJAW_cjs.allCurrencyCodes; }
|
|
3198
3235
|
});
|
|
3199
3236
|
Object.defineProperty(exports, "createIterator", {
|
|
3200
3237
|
enumerable: true,
|
|
3201
|
-
get: function () { return
|
|
3238
|
+
get: function () { return chunkOD7GPJAW_cjs.createIterator; }
|
|
3202
3239
|
});
|
|
3203
3240
|
Object.defineProperty(exports, "createListResultSchema", {
|
|
3204
3241
|
enumerable: true,
|
|
3205
|
-
get: function () { return
|
|
3242
|
+
get: function () { return chunkOD7GPJAW_cjs.createListResultSchema; }
|
|
3206
3243
|
});
|
|
3207
3244
|
Object.defineProperty(exports, "currencyLabel", {
|
|
3208
3245
|
enumerable: true,
|
|
3209
|
-
get: function () { return
|
|
3246
|
+
get: function () { return chunkOD7GPJAW_cjs.currencyLabel; }
|
|
3210
3247
|
});
|
|
3211
3248
|
Object.defineProperty(exports, "currencySymbol", {
|
|
3212
3249
|
enumerable: true,
|
|
3213
|
-
get: function () { return
|
|
3250
|
+
get: function () { return chunkOD7GPJAW_cjs.currencySymbol; }
|
|
3214
3251
|
});
|
|
3215
3252
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
3216
3253
|
enumerable: true,
|
|
3217
|
-
get: function () { return
|
|
3254
|
+
get: function () { return chunkOD7GPJAW_cjs.currencySymbolSide; }
|
|
3218
3255
|
});
|
|
3219
3256
|
Object.defineProperty(exports, "formatAmount", {
|
|
3220
3257
|
enumerable: true,
|
|
3221
|
-
get: function () { return
|
|
3258
|
+
get: function () { return chunkOD7GPJAW_cjs.formatAmount; }
|
|
3222
3259
|
});
|
|
3223
3260
|
Object.defineProperty(exports, "formatMoney", {
|
|
3224
3261
|
enumerable: true,
|
|
3225
|
-
get: function () { return
|
|
3262
|
+
get: function () { return chunkOD7GPJAW_cjs.formatMoney; }
|
|
3226
3263
|
});
|
|
3227
3264
|
Object.defineProperty(exports, "isCurrentUserDefault", {
|
|
3228
3265
|
enumerable: true,
|
|
3229
|
-
get: function () { return
|
|
3266
|
+
get: function () { return chunkOD7GPJAW_cjs.isCurrentUserDefault; }
|
|
3230
3267
|
});
|
|
3231
3268
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
3232
3269
|
enumerable: true,
|
|
3233
|
-
get: function () { return
|
|
3270
|
+
get: function () { return chunkOD7GPJAW_cjs.isPlatformAttributeName; }
|
|
3234
3271
|
});
|
|
3235
3272
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
3236
3273
|
enumerable: true,
|
|
3237
|
-
get: function () { return
|
|
3274
|
+
get: function () { return chunkOD7GPJAW_cjs.localeNumberSeparators; }
|
|
3238
3275
|
});
|
|
3239
3276
|
Object.defineProperty(exports, "parseAmount", {
|
|
3240
3277
|
enumerable: true,
|
|
3241
|
-
get: function () { return
|
|
3278
|
+
get: function () { return chunkOD7GPJAW_cjs.parseAmount; }
|
|
3242
3279
|
});
|
|
3243
3280
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
3244
3281
|
enumerable: true,
|
|
3245
|
-
get: function () { return
|
|
3282
|
+
get: function () { return chunkOD7GPJAW_cjs.parseCurrencyMeta; }
|
|
3246
3283
|
});
|
|
3247
3284
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
3248
3285
|
enumerable: true,
|
|
3249
|
-
get: function () { return
|
|
3286
|
+
get: function () { return chunkOD7GPJAW_cjs.parseFileMeta; }
|
|
3250
3287
|
});
|
|
3251
3288
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
3252
3289
|
enumerable: true,
|
|
3253
|
-
get: function () { return
|
|
3290
|
+
get: function () { return chunkOD7GPJAW_cjs.parseRelationMeta; }
|
|
3254
3291
|
});
|
|
3255
3292
|
Object.defineProperty(exports, "platformAttributes", {
|
|
3256
3293
|
enumerable: true,
|
|
3257
|
-
get: function () { return
|
|
3294
|
+
get: function () { return chunkOD7GPJAW_cjs.platformAttributes; }
|
|
3258
3295
|
});
|
|
3259
3296
|
exports.AccountClient = AccountClient;
|
|
3260
3297
|
exports.ActionSchema = ActionSchema;
|