@proteos/sdk 0.46.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-F5DHWOGW.cjs → chunk-OD7GPJAW.cjs} +50 -15
- package/dist/chunk-OD7GPJAW.cjs.map +1 -0
- package/dist/{chunk-Y4CEHIRX.js → chunk-TDG5QFZ5.js} +50 -15
- package/dist/chunk-TDG5QFZ5.js.map +1 -0
- package/dist/index.cjs +144 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +144 -15
- package/dist/index.d.ts +144 -15
- package/dist/index.js +50 -5
- 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-D1PRIsSO.d.cts → types-COxVBT4w.d.cts} +249 -64
- package/dist/{types-D1PRIsSO.d.ts → types-COxVBT4w.d.ts} +249 -64
- 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/functions/actions.ts +29 -0
- package/src/functions/types.ts +6 -4
- package/src/index.ts +8 -0
- package/src/meta/layout/control-registry.json +4 -2
- package/src/meta/layout/elements.ts +130 -0
- package/src/meta/layout/index.ts +3 -0
- package/src/meta/types.ts +85 -39
- package/dist/chunk-F5DHWOGW.cjs.map +0 -1
- package/dist/chunk-Y4CEHIRX.js.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 @@ chunkF5DHWOGW_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);
|
|
@@ -2400,9 +2437,17 @@ var ActionServiceImpl = class {
|
|
|
2400
2437
|
);
|
|
2401
2438
|
return response.result;
|
|
2402
2439
|
}
|
|
2440
|
+
async invokeBatch(entitySlug, slug, recordIds, params) {
|
|
2441
|
+
const response = await this.client.request(
|
|
2442
|
+
"POST",
|
|
2443
|
+
`/functions/v1/entities/${entitySlug}/actions/${slug}/invoke`,
|
|
2444
|
+
{ record_ids: recordIds, params }
|
|
2445
|
+
);
|
|
2446
|
+
return response.result;
|
|
2447
|
+
}
|
|
2403
2448
|
};
|
|
2404
|
-
var ActionScopeSchema = zod.z.enum(["entity", "global"]);
|
|
2405
|
-
var ActionSchema =
|
|
2449
|
+
var ActionScopeSchema = zod.z.enum(["entity", "entity_batch", "global"]);
|
|
2450
|
+
var ActionSchema = chunkOD7GPJAW_cjs.AuditFieldsSchema.extend({
|
|
2406
2451
|
slug: zod.z.string(),
|
|
2407
2452
|
org_id: zod.z.string(),
|
|
2408
2453
|
module_slug: zod.z.string(),
|
|
@@ -2411,8 +2456,8 @@ var ActionSchema = chunkF5DHWOGW_cjs.AuditFieldsSchema.extend({
|
|
|
2411
2456
|
name: zod.z.string(),
|
|
2412
2457
|
is_active: zod.z.boolean(),
|
|
2413
2458
|
file_id: zod.z.string(),
|
|
2414
|
-
params: zod.z.array(
|
|
2415
|
-
returns: zod.z.array(
|
|
2459
|
+
params: zod.z.array(chunkOD7GPJAW_cjs.AttributeSchema),
|
|
2460
|
+
returns: zod.z.array(chunkOD7GPJAW_cjs.AttributeSchema)
|
|
2416
2461
|
});
|
|
2417
2462
|
|
|
2418
2463
|
// src/functions/index.ts
|
|
@@ -2450,7 +2495,7 @@ var LabelServiceImpl = class {
|
|
|
2450
2495
|
}
|
|
2451
2496
|
client;
|
|
2452
2497
|
list(options = {}) {
|
|
2453
|
-
return new
|
|
2498
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2454
2499
|
}
|
|
2455
2500
|
async listPage(options = {}) {
|
|
2456
2501
|
return this.client.requestWithQuery(
|
|
@@ -2481,7 +2526,7 @@ var LinkServiceImpl = class {
|
|
|
2481
2526
|
}
|
|
2482
2527
|
client;
|
|
2483
2528
|
list(options = {}) {
|
|
2484
|
-
return new
|
|
2529
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2485
2530
|
}
|
|
2486
2531
|
async listPage(options = {}) {
|
|
2487
2532
|
return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
|
|
@@ -2508,7 +2553,7 @@ var NodeServiceImpl = class {
|
|
|
2508
2553
|
}
|
|
2509
2554
|
client;
|
|
2510
2555
|
list(options = {}) {
|
|
2511
|
-
return new
|
|
2556
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2512
2557
|
}
|
|
2513
2558
|
async listPage(options = {}) {
|
|
2514
2559
|
const { label_ids, space_slugs, ...rest } = options;
|
|
@@ -2605,7 +2650,7 @@ var SpaceServiceImpl = class {
|
|
|
2605
2650
|
}
|
|
2606
2651
|
client;
|
|
2607
2652
|
list(options = {}) {
|
|
2608
|
-
return new
|
|
2653
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2609
2654
|
}
|
|
2610
2655
|
async listPage(options = {}) {
|
|
2611
2656
|
return this.client.requestWithQuery(
|
|
@@ -2636,7 +2681,7 @@ var RecordLinkServiceImpl = class {
|
|
|
2636
2681
|
}
|
|
2637
2682
|
client;
|
|
2638
2683
|
list(options = {}) {
|
|
2639
|
-
return new
|
|
2684
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2640
2685
|
}
|
|
2641
2686
|
async listPage(options = {}) {
|
|
2642
2687
|
return this.client.requestWithQuery(
|
|
@@ -2669,7 +2714,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
|
|
|
2669
2714
|
summary: zod.z.string().nullish(),
|
|
2670
2715
|
valid_from: zod.z.string().nullish(),
|
|
2671
2716
|
valid_until: zod.z.string().nullish()
|
|
2672
|
-
}).merge(
|
|
2717
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2673
2718
|
var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
|
|
2674
2719
|
content: zod.z.string()
|
|
2675
2720
|
});
|
|
@@ -2693,7 +2738,7 @@ var KnowledgeLinkSchema = zod.z.object({
|
|
|
2693
2738
|
"superseded_by"
|
|
2694
2739
|
]),
|
|
2695
2740
|
description: zod.z.string().nullish()
|
|
2696
|
-
}).merge(
|
|
2741
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2697
2742
|
var KnowledgeRecordLinkSchema = zod.z.object({
|
|
2698
2743
|
id: zod.z.string(),
|
|
2699
2744
|
org_id: zod.z.string(),
|
|
@@ -2701,7 +2746,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
|
|
|
2701
2746
|
entity_slug: zod.z.string(),
|
|
2702
2747
|
record_id: zod.z.string(),
|
|
2703
2748
|
created_at: zod.z.string(),
|
|
2704
|
-
created_by:
|
|
2749
|
+
created_by: chunkOD7GPJAW_cjs.UserRefSchema
|
|
2705
2750
|
});
|
|
2706
2751
|
var KnowledgeLabelSchema = zod.z.object({
|
|
2707
2752
|
id: zod.z.string(),
|
|
@@ -2711,13 +2756,13 @@ var KnowledgeLabelSchema = zod.z.object({
|
|
|
2711
2756
|
description: zod.z.string().nullish(),
|
|
2712
2757
|
color: zod.z.string().nullish(),
|
|
2713
2758
|
icon: zod.z.string().nullish()
|
|
2714
|
-
}).merge(
|
|
2759
|
+
}).merge(chunkOD7GPJAW_cjs.AuditFieldsSchema);
|
|
2715
2760
|
var KnowledgeNodeLabelSchema = zod.z.object({
|
|
2716
2761
|
org_id: zod.z.string(),
|
|
2717
2762
|
node_id: zod.z.string(),
|
|
2718
2763
|
label_id: zod.z.string(),
|
|
2719
2764
|
created_at: zod.z.string(),
|
|
2720
|
-
created_by:
|
|
2765
|
+
created_by: chunkOD7GPJAW_cjs.UserRefSchema
|
|
2721
2766
|
});
|
|
2722
2767
|
var NodeNeighborhoodSchema = zod.z.object({
|
|
2723
2768
|
nodes: zod.z.array(
|
|
@@ -2904,7 +2949,7 @@ var ExecutionServiceImpl = class {
|
|
|
2904
2949
|
}
|
|
2905
2950
|
client;
|
|
2906
2951
|
list(options = {}) {
|
|
2907
|
-
return new
|
|
2952
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2908
2953
|
}
|
|
2909
2954
|
async listPage(options = {}) {
|
|
2910
2955
|
return this.client.requestWithQuery(
|
|
@@ -2963,7 +3008,7 @@ var WorkflowServiceImpl = class {
|
|
|
2963
3008
|
}
|
|
2964
3009
|
client;
|
|
2965
3010
|
list(options = {}) {
|
|
2966
|
-
return new
|
|
3011
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listPage(opts), options);
|
|
2967
3012
|
}
|
|
2968
3013
|
async listPage(options = {}) {
|
|
2969
3014
|
return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
|
|
@@ -3001,7 +3046,7 @@ var WorkflowServiceImpl = class {
|
|
|
3001
3046
|
return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
|
|
3002
3047
|
}
|
|
3003
3048
|
listVersions(key, options = {}) {
|
|
3004
|
-
return new
|
|
3049
|
+
return new chunkOD7GPJAW_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
|
|
3005
3050
|
}
|
|
3006
3051
|
async listVersionsPage(key, options = {}) {
|
|
3007
3052
|
return this.client.requestWithQuery(
|
|
@@ -3046,207 +3091,207 @@ var WorkflowClient = class {
|
|
|
3046
3091
|
|
|
3047
3092
|
Object.defineProperty(exports, "AppSchema", {
|
|
3048
3093
|
enumerable: true,
|
|
3049
|
-
get: function () { return
|
|
3094
|
+
get: function () { return chunkOD7GPJAW_cjs.AppSchema; }
|
|
3050
3095
|
});
|
|
3051
3096
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
3052
3097
|
enumerable: true,
|
|
3053
|
-
get: function () { return
|
|
3098
|
+
get: function () { return chunkOD7GPJAW_cjs.AttributeSchema; }
|
|
3054
3099
|
});
|
|
3055
3100
|
Object.defineProperty(exports, "AuditFieldsSchema", {
|
|
3056
3101
|
enumerable: true,
|
|
3057
|
-
get: function () { return
|
|
3102
|
+
get: function () { return chunkOD7GPJAW_cjs.AuditFieldsSchema; }
|
|
3058
3103
|
});
|
|
3059
3104
|
Object.defineProperty(exports, "CURRENT_USER_DEFAULT", {
|
|
3060
3105
|
enumerable: true,
|
|
3061
|
-
get: function () { return
|
|
3106
|
+
get: function () { return chunkOD7GPJAW_cjs.CURRENT_USER_DEFAULT; }
|
|
3062
3107
|
});
|
|
3063
3108
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
3064
3109
|
enumerable: true,
|
|
3065
|
-
get: function () { return
|
|
3110
|
+
get: function () { return chunkOD7GPJAW_cjs.ColumnSchema; }
|
|
3066
3111
|
});
|
|
3067
3112
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
3068
3113
|
enumerable: true,
|
|
3069
|
-
get: function () { return
|
|
3114
|
+
get: function () { return chunkOD7GPJAW_cjs.ComponentSchema; }
|
|
3070
3115
|
});
|
|
3071
3116
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
3072
3117
|
enumerable: true,
|
|
3073
|
-
get: function () { return
|
|
3118
|
+
get: function () { return chunkOD7GPJAW_cjs.CurrencyAttributeMetaSchema; }
|
|
3074
3119
|
});
|
|
3075
3120
|
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
3076
3121
|
enumerable: true,
|
|
3077
|
-
get: function () { return
|
|
3122
|
+
get: function () { return chunkOD7GPJAW_cjs.DEFAULT_PAGE_SIZE; }
|
|
3078
3123
|
});
|
|
3079
3124
|
Object.defineProperty(exports, "DONE", {
|
|
3080
3125
|
enumerable: true,
|
|
3081
|
-
get: function () { return
|
|
3126
|
+
get: function () { return chunkOD7GPJAW_cjs.DONE; }
|
|
3082
3127
|
});
|
|
3083
3128
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
3084
3129
|
enumerable: true,
|
|
3085
|
-
get: function () { return
|
|
3130
|
+
get: function () { return chunkOD7GPJAW_cjs.DesignReferenceSchema; }
|
|
3086
3131
|
});
|
|
3087
3132
|
Object.defineProperty(exports, "EntitySchema", {
|
|
3088
3133
|
enumerable: true,
|
|
3089
|
-
get: function () { return
|
|
3134
|
+
get: function () { return chunkOD7GPJAW_cjs.EntitySchema; }
|
|
3090
3135
|
});
|
|
3091
3136
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
3092
3137
|
enumerable: true,
|
|
3093
|
-
get: function () { return
|
|
3138
|
+
get: function () { return chunkOD7GPJAW_cjs.EntityWithSchemaSchema; }
|
|
3094
3139
|
});
|
|
3095
3140
|
Object.defineProperty(exports, "FileRefSchema", {
|
|
3096
3141
|
enumerable: true,
|
|
3097
|
-
get: function () { return
|
|
3142
|
+
get: function () { return chunkOD7GPJAW_cjs.FileRefSchema; }
|
|
3098
3143
|
});
|
|
3099
3144
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
3100
3145
|
enumerable: true,
|
|
3101
|
-
get: function () { return
|
|
3146
|
+
get: function () { return chunkOD7GPJAW_cjs.FilterElementSchema; }
|
|
3102
3147
|
});
|
|
3103
3148
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
3104
3149
|
enumerable: true,
|
|
3105
|
-
get: function () { return
|
|
3150
|
+
get: function () { return chunkOD7GPJAW_cjs.FilterGroupSchema; }
|
|
3106
3151
|
});
|
|
3107
3152
|
Object.defineProperty(exports, "ListSchema", {
|
|
3108
3153
|
enumerable: true,
|
|
3109
|
-
get: function () { return
|
|
3154
|
+
get: function () { return chunkOD7GPJAW_cjs.ListSchema; }
|
|
3110
3155
|
});
|
|
3111
3156
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
3112
3157
|
enumerable: true,
|
|
3113
|
-
get: function () { return
|
|
3158
|
+
get: function () { return chunkOD7GPJAW_cjs.ListViewSchema; }
|
|
3114
3159
|
});
|
|
3115
3160
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
3116
3161
|
enumerable: true,
|
|
3117
|
-
get: function () { return
|
|
3162
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuConfigurationSchema; }
|
|
3118
3163
|
});
|
|
3119
3164
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
3120
3165
|
enumerable: true,
|
|
3121
|
-
get: function () { return
|
|
3166
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuItemSchema; }
|
|
3122
3167
|
});
|
|
3123
3168
|
Object.defineProperty(exports, "MenuItemType", {
|
|
3124
3169
|
enumerable: true,
|
|
3125
|
-
get: function () { return
|
|
3170
|
+
get: function () { return chunkOD7GPJAW_cjs.MenuItemType; }
|
|
3126
3171
|
});
|
|
3127
3172
|
Object.defineProperty(exports, "MetaClient", {
|
|
3128
3173
|
enumerable: true,
|
|
3129
|
-
get: function () { return
|
|
3174
|
+
get: function () { return chunkOD7GPJAW_cjs.MetaClient; }
|
|
3130
3175
|
});
|
|
3131
3176
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
3132
3177
|
enumerable: true,
|
|
3133
|
-
get: function () { return
|
|
3178
|
+
get: function () { return chunkOD7GPJAW_cjs.ModuleSchema; }
|
|
3134
3179
|
});
|
|
3135
3180
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
3136
3181
|
enumerable: true,
|
|
3137
|
-
get: function () { return
|
|
3182
|
+
get: function () { return chunkOD7GPJAW_cjs.OnDeleteActionSchema; }
|
|
3138
3183
|
});
|
|
3139
3184
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
3140
3185
|
enumerable: true,
|
|
3141
|
-
get: function () { return
|
|
3186
|
+
get: function () { return chunkOD7GPJAW_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
3142
3187
|
});
|
|
3143
3188
|
Object.defineProperty(exports, "PLATFORM_USER_ID", {
|
|
3144
3189
|
enumerable: true,
|
|
3145
|
-
get: function () { return
|
|
3190
|
+
get: function () { return chunkOD7GPJAW_cjs.PLATFORM_USER_ID; }
|
|
3146
3191
|
});
|
|
3147
3192
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
3148
3193
|
enumerable: true,
|
|
3149
|
-
get: function () { return
|
|
3194
|
+
get: function () { return chunkOD7GPJAW_cjs.PageActionSchema; }
|
|
3150
3195
|
});
|
|
3151
3196
|
Object.defineProperty(exports, "PageIterator", {
|
|
3152
3197
|
enumerable: true,
|
|
3153
|
-
get: function () { return
|
|
3198
|
+
get: function () { return chunkOD7GPJAW_cjs.PageIterator; }
|
|
3154
3199
|
});
|
|
3155
3200
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
3156
3201
|
enumerable: true,
|
|
3157
|
-
get: function () { return
|
|
3202
|
+
get: function () { return chunkOD7GPJAW_cjs.PageLayoutSchema; }
|
|
3158
3203
|
});
|
|
3159
3204
|
Object.defineProperty(exports, "PageSchema", {
|
|
3160
3205
|
enumerable: true,
|
|
3161
|
-
get: function () { return
|
|
3206
|
+
get: function () { return chunkOD7GPJAW_cjs.PageSchema; }
|
|
3162
3207
|
});
|
|
3163
3208
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
3164
3209
|
enumerable: true,
|
|
3165
|
-
get: function () { return
|
|
3210
|
+
get: function () { return chunkOD7GPJAW_cjs.RelationAttributeMetaSchema; }
|
|
3166
3211
|
});
|
|
3167
3212
|
Object.defineProperty(exports, "ResponseMetaSchema", {
|
|
3168
3213
|
enumerable: true,
|
|
3169
|
-
get: function () { return
|
|
3214
|
+
get: function () { return chunkOD7GPJAW_cjs.ResponseMetaSchema; }
|
|
3170
3215
|
});
|
|
3171
3216
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
3172
3217
|
enumerable: true,
|
|
3173
|
-
get: function () { return
|
|
3218
|
+
get: function () { return chunkOD7GPJAW_cjs.SortConfigSchema; }
|
|
3174
3219
|
});
|
|
3175
3220
|
Object.defineProperty(exports, "UserRefSchema", {
|
|
3176
3221
|
enumerable: true,
|
|
3177
|
-
get: function () { return
|
|
3222
|
+
get: function () { return chunkOD7GPJAW_cjs.UserRefSchema; }
|
|
3178
3223
|
});
|
|
3179
3224
|
Object.defineProperty(exports, "VariableSchema", {
|
|
3180
3225
|
enumerable: true,
|
|
3181
|
-
get: function () { return
|
|
3226
|
+
get: function () { return chunkOD7GPJAW_cjs.VariableSchema; }
|
|
3182
3227
|
});
|
|
3183
3228
|
Object.defineProperty(exports, "acceptsCurrentUserDefault", {
|
|
3184
3229
|
enumerable: true,
|
|
3185
|
-
get: function () { return
|
|
3230
|
+
get: function () { return chunkOD7GPJAW_cjs.acceptsCurrentUserDefault; }
|
|
3186
3231
|
});
|
|
3187
3232
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
3188
3233
|
enumerable: true,
|
|
3189
|
-
get: function () { return
|
|
3234
|
+
get: function () { return chunkOD7GPJAW_cjs.allCurrencyCodes; }
|
|
3190
3235
|
});
|
|
3191
3236
|
Object.defineProperty(exports, "createIterator", {
|
|
3192
3237
|
enumerable: true,
|
|
3193
|
-
get: function () { return
|
|
3238
|
+
get: function () { return chunkOD7GPJAW_cjs.createIterator; }
|
|
3194
3239
|
});
|
|
3195
3240
|
Object.defineProperty(exports, "createListResultSchema", {
|
|
3196
3241
|
enumerable: true,
|
|
3197
|
-
get: function () { return
|
|
3242
|
+
get: function () { return chunkOD7GPJAW_cjs.createListResultSchema; }
|
|
3198
3243
|
});
|
|
3199
3244
|
Object.defineProperty(exports, "currencyLabel", {
|
|
3200
3245
|
enumerable: true,
|
|
3201
|
-
get: function () { return
|
|
3246
|
+
get: function () { return chunkOD7GPJAW_cjs.currencyLabel; }
|
|
3202
3247
|
});
|
|
3203
3248
|
Object.defineProperty(exports, "currencySymbol", {
|
|
3204
3249
|
enumerable: true,
|
|
3205
|
-
get: function () { return
|
|
3250
|
+
get: function () { return chunkOD7GPJAW_cjs.currencySymbol; }
|
|
3206
3251
|
});
|
|
3207
3252
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
3208
3253
|
enumerable: true,
|
|
3209
|
-
get: function () { return
|
|
3254
|
+
get: function () { return chunkOD7GPJAW_cjs.currencySymbolSide; }
|
|
3210
3255
|
});
|
|
3211
3256
|
Object.defineProperty(exports, "formatAmount", {
|
|
3212
3257
|
enumerable: true,
|
|
3213
|
-
get: function () { return
|
|
3258
|
+
get: function () { return chunkOD7GPJAW_cjs.formatAmount; }
|
|
3214
3259
|
});
|
|
3215
3260
|
Object.defineProperty(exports, "formatMoney", {
|
|
3216
3261
|
enumerable: true,
|
|
3217
|
-
get: function () { return
|
|
3262
|
+
get: function () { return chunkOD7GPJAW_cjs.formatMoney; }
|
|
3218
3263
|
});
|
|
3219
3264
|
Object.defineProperty(exports, "isCurrentUserDefault", {
|
|
3220
3265
|
enumerable: true,
|
|
3221
|
-
get: function () { return
|
|
3266
|
+
get: function () { return chunkOD7GPJAW_cjs.isCurrentUserDefault; }
|
|
3222
3267
|
});
|
|
3223
3268
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
3224
3269
|
enumerable: true,
|
|
3225
|
-
get: function () { return
|
|
3270
|
+
get: function () { return chunkOD7GPJAW_cjs.isPlatformAttributeName; }
|
|
3226
3271
|
});
|
|
3227
3272
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
3228
3273
|
enumerable: true,
|
|
3229
|
-
get: function () { return
|
|
3274
|
+
get: function () { return chunkOD7GPJAW_cjs.localeNumberSeparators; }
|
|
3230
3275
|
});
|
|
3231
3276
|
Object.defineProperty(exports, "parseAmount", {
|
|
3232
3277
|
enumerable: true,
|
|
3233
|
-
get: function () { return
|
|
3278
|
+
get: function () { return chunkOD7GPJAW_cjs.parseAmount; }
|
|
3234
3279
|
});
|
|
3235
3280
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
3236
3281
|
enumerable: true,
|
|
3237
|
-
get: function () { return
|
|
3282
|
+
get: function () { return chunkOD7GPJAW_cjs.parseCurrencyMeta; }
|
|
3238
3283
|
});
|
|
3239
3284
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
3240
3285
|
enumerable: true,
|
|
3241
|
-
get: function () { return
|
|
3286
|
+
get: function () { return chunkOD7GPJAW_cjs.parseFileMeta; }
|
|
3242
3287
|
});
|
|
3243
3288
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
3244
3289
|
enumerable: true,
|
|
3245
|
-
get: function () { return
|
|
3290
|
+
get: function () { return chunkOD7GPJAW_cjs.parseRelationMeta; }
|
|
3246
3291
|
});
|
|
3247
3292
|
Object.defineProperty(exports, "platformAttributes", {
|
|
3248
3293
|
enumerable: true,
|
|
3249
|
-
get: function () { return
|
|
3294
|
+
get: function () { return chunkOD7GPJAW_cjs.platformAttributes; }
|
|
3250
3295
|
});
|
|
3251
3296
|
exports.AccountClient = AccountClient;
|
|
3252
3297
|
exports.ActionSchema = ActionSchema;
|