@proteos/sdk 0.52.0 → 0.53.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/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkWEEC4REL_cjs = require('./chunk-WEEC4REL.cjs');
3
+ var chunkSWCPI6SL_cjs = require('./chunk-SWCPI6SL.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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
15
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
42
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
110
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
164
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
254
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
311
+ return new chunkSWCPI6SL_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 chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
352
+ return new chunkSWCPI6SL_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);
@@ -443,7 +443,7 @@ var OrganizationServiceImpl = class {
443
443
  }
444
444
  client;
445
445
  list(options = {}) {
446
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
446
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
447
447
  }
448
448
  async listPage(options = {}) {
449
449
  return this.client.requestWithQuery(
@@ -474,7 +474,7 @@ var ProfileServiceImpl = class {
474
474
  }
475
475
  client;
476
476
  list(options = {}) {
477
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
477
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
478
478
  }
479
479
  async listPage(options = {}) {
480
480
  return this.client.requestWithQuery("GET", PROFILES_BASE_PATH, options);
@@ -507,7 +507,7 @@ var RoleServiceImpl = class {
507
507
  }
508
508
  client;
509
509
  list(options = {}) {
510
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
510
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
511
511
  }
512
512
  async listPage(options = {}) {
513
513
  return this.client.requestWithQuery("GET", ROLES_BASE_PATH, options);
@@ -528,7 +528,7 @@ var RoleServiceImpl = class {
528
528
  await this.client.request("DELETE", `${ROLES_BASE_PATH}/${slug}`);
529
529
  }
530
530
  getPermissions(roleSlug, options = {}) {
531
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
531
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.fetchPermissionsPage(roleSlug, opts), options);
532
532
  }
533
533
  async assignPermission(roleSlug, request) {
534
534
  return this.client.request(
@@ -725,7 +725,7 @@ var TeamServiceImpl = class {
725
725
  }
726
726
  client;
727
727
  list(options = {}) {
728
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
728
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
729
729
  }
730
730
  async listPage(options = {}) {
731
731
  return this.client.requestWithQuery("GET", TEAMS_BASE_PATH, options);
@@ -743,7 +743,7 @@ var TeamServiceImpl = class {
743
743
  await this.client.request("DELETE", `${TEAMS_BASE_PATH}/${slug}`);
744
744
  }
745
745
  getMembers(slug, options = {}) {
746
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.fetchMembersPage(slug, opts), options);
746
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.fetchMembersPage(slug, opts), options);
747
747
  }
748
748
  async addMember(slug, request) {
749
749
  return this.client.request("POST", `${TEAMS_BASE_PATH}/${slug}/members`, request);
@@ -768,7 +768,7 @@ var UserProfileAssignmentServiceImpl = class {
768
768
  }
769
769
  client;
770
770
  list(options = {}) {
771
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
771
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
772
772
  }
773
773
  async listPage(options = {}) {
774
774
  return this.client.requestWithQuery(
@@ -787,7 +787,7 @@ var UserRoleAssignmentServiceImpl = class {
787
787
  }
788
788
  client;
789
789
  list(options = {}) {
790
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
790
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
791
791
  }
792
792
  async listPage(options = {}) {
793
793
  return this.client.requestWithQuery(
@@ -806,7 +806,7 @@ var UserServiceImpl = class {
806
806
  }
807
807
  client;
808
808
  list(options = {}) {
809
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
809
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
810
810
  }
811
811
  async listPage(options = {}) {
812
812
  return this.client.requestWithQuery("GET", USERS_BASE_PATH, options);
@@ -821,7 +821,7 @@ var UserServiceImpl = class {
821
821
  return this.client.request("PATCH", `${USERS_BASE_PATH}/${id}`, request);
822
822
  }
823
823
  getRoles(userId, options = {}) {
824
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
824
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.fetchRolesPage(userId, opts), options);
825
825
  }
826
826
  async assignRole(userId, request) {
827
827
  return this.client.request(
@@ -974,28 +974,28 @@ var SCOPED_PLATFORM_ENTITY_SLUGS = ["knowledge-nodes"];
974
974
  function isPlatformEntity(slug) {
975
975
  return PLATFORM_ENTITY_SLUGS.includes(slug);
976
976
  }
977
- var RoleEntityPermissionSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
977
+ var RoleEntityPermissionSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
978
978
  id: zod.z.string(),
979
979
  role_slug: zod.z.string(),
980
980
  entity_slug: zod.z.string(),
981
981
  permission: zod.z.enum(["read", "write", "delete", "read_scoped", "write_scoped", "delete_scoped"])
982
982
  });
983
- var UserRoleAssignmentSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
983
+ var UserRoleAssignmentSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
984
984
  id: zod.z.string(),
985
985
  user_id: zod.z.string(),
986
986
  role_slug: zod.z.string(),
987
987
  org_id: zod.z.string()
988
988
  });
989
- var UserSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
989
+ var UserSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
990
990
  id: zod.z.string(),
991
991
  email: zod.z.string(),
992
992
  given_name: zod.z.string(),
993
993
  family_name: zod.z.string(),
994
994
  external_id: zod.z.string(),
995
995
  default_org_id: zod.z.string(),
996
- profile_image: chunkWEEC4REL_cjs.FileRefSchema.nullish()
996
+ profile_image: chunkSWCPI6SL_cjs.FileRefSchema.nullish()
997
997
  });
998
- chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
998
+ chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
999
999
  id: zod.z.string(),
1000
1000
  user_id: zod.z.string(),
1001
1001
  org_id: zod.z.string(),
@@ -1005,7 +1005,7 @@ chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1005
1005
  expires_at: zod.z.string().nullable(),
1006
1006
  last_used_at: zod.z.string().nullable()
1007
1007
  });
1008
- var ProfileSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1008
+ var ProfileSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1009
1009
  slug: zod.z.string(),
1010
1010
  name: zod.z.string(),
1011
1011
  org_id: zod.z.string(),
@@ -1014,32 +1014,32 @@ var ProfileSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1014
1014
  default_app_slug: zod.z.string(),
1015
1015
  app_slugs: zod.z.array(zod.z.string())
1016
1016
  });
1017
- var UserProfileAssignmentSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1017
+ var UserProfileAssignmentSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1018
1018
  id: zod.z.string(),
1019
1019
  user_id: zod.z.string(),
1020
1020
  profile_slug: zod.z.string(),
1021
1021
  org_id: zod.z.string()
1022
1022
  });
1023
- var RoleSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1023
+ var RoleSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1024
1024
  slug: zod.z.string(),
1025
1025
  name: zod.z.string(),
1026
1026
  org_id: zod.z.string(),
1027
1027
  description: zod.z.string()
1028
1028
  });
1029
- chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1029
+ chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1030
1030
  slug: zod.z.string(),
1031
1031
  name: zod.z.string(),
1032
1032
  org_id: zod.z.string(),
1033
1033
  description: zod.z.string(),
1034
1034
  parent_team_slug: zod.z.string()
1035
1035
  });
1036
- chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1036
+ chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1037
1037
  id: zod.z.string(),
1038
1038
  org_id: zod.z.string(),
1039
1039
  team_slug: zod.z.string(),
1040
1040
  user_id: zod.z.string()
1041
1041
  });
1042
- var OrganizationSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
1042
+ var OrganizationSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
1043
1043
  id: zod.z.string(),
1044
1044
  name: zod.z.string(),
1045
1045
  description: zod.z.string()
@@ -1048,7 +1048,7 @@ var SharePermissionSchema = zod.z.enum(["read", "write", "delete"]);
1048
1048
  zod.z.object({
1049
1049
  entity_slug: zod.z.string(),
1050
1050
  record_id: zod.z.string(),
1051
- principal: chunkWEEC4REL_cjs.PrincipalRefSchema,
1051
+ principal: chunkSWCPI6SL_cjs.PrincipalRefSchema,
1052
1052
  permission: SharePermissionSchema
1053
1053
  });
1054
1054
 
@@ -2572,7 +2572,7 @@ var RecordServiceImpl = class {
2572
2572
  }
2573
2573
  client;
2574
2574
  list(entitySlug, options = {}) {
2575
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
2575
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(entitySlug, opts), options);
2576
2576
  }
2577
2577
  async listPage(entitySlug, options = {}) {
2578
2578
  return this.client.requestWithQuery(
@@ -2604,8 +2604,15 @@ var RecordServiceImpl = class {
2604
2604
  transactions
2605
2605
  );
2606
2606
  }
2607
+ async publishContactObservations(entitySlug, options = {}) {
2608
+ return this.client.requestWithQuery(
2609
+ "POST",
2610
+ `${RECORDS_BASE_PATH}/${entitySlug}/contact-observations`,
2611
+ options
2612
+ );
2613
+ }
2607
2614
  listPublic(orgId, entitySlug, options = {}) {
2608
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
2615
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPublicPage(orgId, entitySlug, opts), options);
2609
2616
  }
2610
2617
  async listPublicPage(orgId, entitySlug, options = {}) {
2611
2618
  return this.client.requestWithQuery(
@@ -2625,6 +2632,31 @@ var RecordServiceImpl = class {
2625
2632
  );
2626
2633
  }
2627
2634
  };
2635
+ var RecordDuplicateServiceImpl = class {
2636
+ constructor(client) {
2637
+ this.client = client;
2638
+ }
2639
+ client;
2640
+ async list(entitySlug, query = {}) {
2641
+ return this.client.requestWithQuery(
2642
+ "GET",
2643
+ `${RECORDS_BASE_PATH}/${entitySlug}/duplicates`,
2644
+ query
2645
+ );
2646
+ }
2647
+ async get(entitySlug, id) {
2648
+ return this.client.request(
2649
+ "GET",
2650
+ `${RECORDS_BASE_PATH}/${entitySlug}/duplicates/${encodeURIComponent(id)}`
2651
+ );
2652
+ }
2653
+ async dismiss(entitySlug, id) {
2654
+ return this.client.request(
2655
+ "POST",
2656
+ `${RECORDS_BASE_PATH}/${entitySlug}/duplicates/${encodeURIComponent(id)}/dismiss`
2657
+ );
2658
+ }
2659
+ };
2628
2660
  var BatchUpsertTransactionSchema = zod.z.object({
2629
2661
  transaction_id: zod.z.string(),
2630
2662
  data: zod.z.record(zod.z.unknown())
@@ -2647,9 +2679,12 @@ var BatchUpsertRecordsResponseSchema = zod.z.object({
2647
2679
  var DataClient = class {
2648
2680
  records;
2649
2681
  queries;
2682
+ /** Duplicate pairs of an entity's records (raised by contact binding). */
2683
+ recordDuplicates;
2650
2684
  constructor(client) {
2651
2685
  this.records = new RecordServiceImpl(client);
2652
2686
  this.queries = new QueryServiceImpl(client);
2687
+ this.recordDuplicates = new RecordDuplicateServiceImpl(client);
2653
2688
  }
2654
2689
  };
2655
2690
 
@@ -2764,7 +2799,7 @@ var ActionServiceImpl = class {
2764
2799
  }
2765
2800
  client;
2766
2801
  list(options = {}) {
2767
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
2802
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
2768
2803
  }
2769
2804
  async listPage(options = {}) {
2770
2805
  return this.client.requestWithQuery("GET", ACTIONS_BASE_PATH, options);
@@ -2807,7 +2842,7 @@ var ActionServiceImpl = class {
2807
2842
  }
2808
2843
  };
2809
2844
  var ActionScopeSchema = zod.z.enum(["entity", "entity_batch", "global"]);
2810
- var ActionSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
2845
+ var ActionSchema = chunkSWCPI6SL_cjs.AuditFieldsSchema.extend({
2811
2846
  slug: zod.z.string(),
2812
2847
  org_id: zod.z.string(),
2813
2848
  module_slug: zod.z.string(),
@@ -2816,8 +2851,8 @@ var ActionSchema = chunkWEEC4REL_cjs.AuditFieldsSchema.extend({
2816
2851
  name: zod.z.string(),
2817
2852
  is_active: zod.z.boolean(),
2818
2853
  file_id: zod.z.string(),
2819
- params: zod.z.array(chunkWEEC4REL_cjs.AttributeSchema),
2820
- returns: zod.z.array(chunkWEEC4REL_cjs.AttributeSchema)
2854
+ params: zod.z.array(chunkSWCPI6SL_cjs.AttributeSchema),
2855
+ returns: zod.z.array(chunkSWCPI6SL_cjs.AttributeSchema)
2821
2856
  });
2822
2857
 
2823
2858
  // src/functions/index.ts
@@ -2855,7 +2890,7 @@ var LabelServiceImpl = class {
2855
2890
  }
2856
2891
  client;
2857
2892
  list(options = {}) {
2858
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
2893
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
2859
2894
  }
2860
2895
  async listPage(options = {}) {
2861
2896
  return this.client.requestWithQuery(
@@ -2886,7 +2921,7 @@ var LinkServiceImpl = class {
2886
2921
  }
2887
2922
  client;
2888
2923
  list(options = {}) {
2889
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
2924
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
2890
2925
  }
2891
2926
  async listPage(options = {}) {
2892
2927
  return this.client.requestWithQuery("GET", LINKS_BASE_PATH, options);
@@ -2913,7 +2948,7 @@ var NodeServiceImpl = class {
2913
2948
  }
2914
2949
  client;
2915
2950
  list(options = {}) {
2916
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
2951
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
2917
2952
  }
2918
2953
  async listPage(options = {}) {
2919
2954
  const { label_ids, space_slugs, ...rest } = options;
@@ -3010,7 +3045,7 @@ var SpaceServiceImpl = class {
3010
3045
  }
3011
3046
  client;
3012
3047
  list(options = {}) {
3013
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
3048
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
3014
3049
  }
3015
3050
  async listPage(options = {}) {
3016
3051
  return this.client.requestWithQuery(
@@ -3041,7 +3076,7 @@ var RecordLinkServiceImpl = class {
3041
3076
  }
3042
3077
  client;
3043
3078
  list(options = {}) {
3044
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
3079
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
3045
3080
  }
3046
3081
  async listPage(options = {}) {
3047
3082
  return this.client.requestWithQuery(
@@ -3074,7 +3109,7 @@ var KnowledgeNodeMetadataSchema = zod.z.object({
3074
3109
  summary: zod.z.string().nullish(),
3075
3110
  valid_from: zod.z.string().nullish(),
3076
3111
  valid_until: zod.z.string().nullish()
3077
- }).merge(chunkWEEC4REL_cjs.AuditFieldsSchema);
3112
+ }).merge(chunkSWCPI6SL_cjs.AuditFieldsSchema);
3078
3113
  var KnowledgeNodeSchema = KnowledgeNodeMetadataSchema.extend({
3079
3114
  content: zod.z.string()
3080
3115
  });
@@ -3098,7 +3133,7 @@ var KnowledgeLinkSchema = zod.z.object({
3098
3133
  "superseded_by"
3099
3134
  ]),
3100
3135
  description: zod.z.string().nullish()
3101
- }).merge(chunkWEEC4REL_cjs.AuditFieldsSchema);
3136
+ }).merge(chunkSWCPI6SL_cjs.AuditFieldsSchema);
3102
3137
  var KnowledgeRecordLinkSchema = zod.z.object({
3103
3138
  id: zod.z.string(),
3104
3139
  org_id: zod.z.string(),
@@ -3106,7 +3141,7 @@ var KnowledgeRecordLinkSchema = zod.z.object({
3106
3141
  entity_slug: zod.z.string(),
3107
3142
  record_id: zod.z.string(),
3108
3143
  created_at: zod.z.string(),
3109
- created_by: chunkWEEC4REL_cjs.UserRefSchema
3144
+ created_by: chunkSWCPI6SL_cjs.UserRefSchema
3110
3145
  });
3111
3146
  var KnowledgeLabelSchema = zod.z.object({
3112
3147
  id: zod.z.string(),
@@ -3116,13 +3151,13 @@ var KnowledgeLabelSchema = zod.z.object({
3116
3151
  description: zod.z.string().nullish(),
3117
3152
  color: zod.z.string().nullish(),
3118
3153
  icon: zod.z.string().nullish()
3119
- }).merge(chunkWEEC4REL_cjs.AuditFieldsSchema);
3154
+ }).merge(chunkSWCPI6SL_cjs.AuditFieldsSchema);
3120
3155
  var KnowledgeNodeLabelSchema = zod.z.object({
3121
3156
  org_id: zod.z.string(),
3122
3157
  node_id: zod.z.string(),
3123
3158
  label_id: zod.z.string(),
3124
3159
  created_at: zod.z.string(),
3125
- created_by: chunkWEEC4REL_cjs.UserRefSchema
3160
+ created_by: chunkSWCPI6SL_cjs.UserRefSchema
3126
3161
  });
3127
3162
  var NodeNeighborhoodSchema = zod.z.object({
3128
3163
  nodes: zod.z.array(
@@ -3309,7 +3344,7 @@ var ExecutionServiceImpl = class {
3309
3344
  }
3310
3345
  client;
3311
3346
  list(options = {}) {
3312
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
3347
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
3313
3348
  }
3314
3349
  async listPage(options = {}) {
3315
3350
  return this.client.requestWithQuery(
@@ -3368,7 +3403,7 @@ var WorkflowServiceImpl = class {
3368
3403
  }
3369
3404
  client;
3370
3405
  list(options = {}) {
3371
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listPage(opts), options);
3406
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listPage(opts), options);
3372
3407
  }
3373
3408
  async listPage(options = {}) {
3374
3409
  return this.client.requestWithQuery("GET", WORKFLOWS_BASE_PATH2, options);
@@ -3406,7 +3441,7 @@ var WorkflowServiceImpl = class {
3406
3441
  return this.client.request("POST", `${WORKFLOWS_BASE_PATH2}/${key}/unpause`, {});
3407
3442
  }
3408
3443
  listVersions(key, options = {}) {
3409
- return new chunkWEEC4REL_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
3444
+ return new chunkSWCPI6SL_cjs.PageIterator((opts) => this.listVersionsPage(key, opts), options);
3410
3445
  }
3411
3446
  async listVersionsPage(key, options = {}) {
3412
3447
  return this.client.requestWithQuery(
@@ -3451,263 +3486,275 @@ var WorkflowClient = class {
3451
3486
 
3452
3487
  Object.defineProperty(exports, "AppConfigurationSchema", {
3453
3488
  enumerable: true,
3454
- get: function () { return chunkWEEC4REL_cjs.AppConfigurationSchema; }
3489
+ get: function () { return chunkSWCPI6SL_cjs.AppConfigurationSchema; }
3455
3490
  });
3456
3491
  Object.defineProperty(exports, "AppHomeSchema", {
3457
3492
  enumerable: true,
3458
- get: function () { return chunkWEEC4REL_cjs.AppHomeSchema; }
3493
+ get: function () { return chunkSWCPI6SL_cjs.AppHomeSchema; }
3459
3494
  });
3460
3495
  Object.defineProperty(exports, "AppSchema", {
3461
3496
  enumerable: true,
3462
- get: function () { return chunkWEEC4REL_cjs.AppSchema; }
3497
+ get: function () { return chunkSWCPI6SL_cjs.AppSchema; }
3463
3498
  });
3464
3499
  Object.defineProperty(exports, "AttributeSchema", {
3465
3500
  enumerable: true,
3466
- get: function () { return chunkWEEC4REL_cjs.AttributeSchema; }
3501
+ get: function () { return chunkSWCPI6SL_cjs.AttributeSchema; }
3467
3502
  });
3468
3503
  Object.defineProperty(exports, "AuditFieldsSchema", {
3469
3504
  enumerable: true,
3470
- get: function () { return chunkWEEC4REL_cjs.AuditFieldsSchema; }
3505
+ get: function () { return chunkSWCPI6SL_cjs.AuditFieldsSchema; }
3471
3506
  });
3472
3507
  Object.defineProperty(exports, "CURRENT_USER_DEFAULT", {
3473
3508
  enumerable: true,
3474
- get: function () { return chunkWEEC4REL_cjs.CURRENT_USER_DEFAULT; }
3509
+ get: function () { return chunkSWCPI6SL_cjs.CURRENT_USER_DEFAULT; }
3475
3510
  });
3476
3511
  Object.defineProperty(exports, "ColumnSchema", {
3477
3512
  enumerable: true,
3478
- get: function () { return chunkWEEC4REL_cjs.ColumnSchema; }
3513
+ get: function () { return chunkSWCPI6SL_cjs.ColumnSchema; }
3479
3514
  });
3480
3515
  Object.defineProperty(exports, "ComponentSchema", {
3481
3516
  enumerable: true,
3482
- get: function () { return chunkWEEC4REL_cjs.ComponentSchema; }
3517
+ get: function () { return chunkSWCPI6SL_cjs.ComponentSchema; }
3518
+ });
3519
+ Object.defineProperty(exports, "ContactAddressAttributeMetaSchema", {
3520
+ enumerable: true,
3521
+ get: function () { return chunkSWCPI6SL_cjs.ContactAddressAttributeMetaSchema; }
3483
3522
  });
3484
3523
  Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
3485
3524
  enumerable: true,
3486
- get: function () { return chunkWEEC4REL_cjs.CurrencyAttributeMetaSchema; }
3525
+ get: function () { return chunkSWCPI6SL_cjs.CurrencyAttributeMetaSchema; }
3487
3526
  });
3488
3527
  Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
3489
3528
  enumerable: true,
3490
- get: function () { return chunkWEEC4REL_cjs.DEFAULT_PAGE_SIZE; }
3529
+ get: function () { return chunkSWCPI6SL_cjs.DEFAULT_PAGE_SIZE; }
3491
3530
  });
3492
3531
  Object.defineProperty(exports, "DONE", {
3493
3532
  enumerable: true,
3494
- get: function () { return chunkWEEC4REL_cjs.DONE; }
3533
+ get: function () { return chunkSWCPI6SL_cjs.DONE; }
3495
3534
  });
3496
3535
  Object.defineProperty(exports, "DesignReferenceSchema", {
3497
3536
  enumerable: true,
3498
- get: function () { return chunkWEEC4REL_cjs.DesignReferenceSchema; }
3537
+ get: function () { return chunkSWCPI6SL_cjs.DesignReferenceSchema; }
3538
+ });
3539
+ Object.defineProperty(exports, "EntityContactBindingSchema", {
3540
+ enumerable: true,
3541
+ get: function () { return chunkSWCPI6SL_cjs.EntityContactBindingSchema; }
3499
3542
  });
3500
3543
  Object.defineProperty(exports, "EntityExtensionSchema", {
3501
3544
  enumerable: true,
3502
- get: function () { return chunkWEEC4REL_cjs.EntityExtensionSchema; }
3545
+ get: function () { return chunkSWCPI6SL_cjs.EntityExtensionSchema; }
3503
3546
  });
3504
3547
  Object.defineProperty(exports, "EntitySchema", {
3505
3548
  enumerable: true,
3506
- get: function () { return chunkWEEC4REL_cjs.EntitySchema; }
3549
+ get: function () { return chunkSWCPI6SL_cjs.EntitySchema; }
3507
3550
  });
3508
3551
  Object.defineProperty(exports, "EntityWithSchemaSchema", {
3509
3552
  enumerable: true,
3510
- get: function () { return chunkWEEC4REL_cjs.EntityWithSchemaSchema; }
3553
+ get: function () { return chunkSWCPI6SL_cjs.EntityWithSchemaSchema; }
3511
3554
  });
3512
3555
  Object.defineProperty(exports, "ExtensionPositionSchema", {
3513
3556
  enumerable: true,
3514
- get: function () { return chunkWEEC4REL_cjs.ExtensionPositionSchema; }
3557
+ get: function () { return chunkSWCPI6SL_cjs.ExtensionPositionSchema; }
3515
3558
  });
3516
3559
  Object.defineProperty(exports, "FileRefSchema", {
3517
3560
  enumerable: true,
3518
- get: function () { return chunkWEEC4REL_cjs.FileRefSchema; }
3561
+ get: function () { return chunkSWCPI6SL_cjs.FileRefSchema; }
3519
3562
  });
3520
3563
  Object.defineProperty(exports, "FilterElementSchema", {
3521
3564
  enumerable: true,
3522
- get: function () { return chunkWEEC4REL_cjs.FilterElementSchema; }
3565
+ get: function () { return chunkSWCPI6SL_cjs.FilterElementSchema; }
3523
3566
  });
3524
3567
  Object.defineProperty(exports, "FilterGroupSchema", {
3525
3568
  enumerable: true,
3526
- get: function () { return chunkWEEC4REL_cjs.FilterGroupSchema; }
3569
+ get: function () { return chunkSWCPI6SL_cjs.FilterGroupSchema; }
3527
3570
  });
3528
3571
  Object.defineProperty(exports, "ListExtensionColumnPlacementSchema", {
3529
3572
  enumerable: true,
3530
- get: function () { return chunkWEEC4REL_cjs.ListExtensionColumnPlacementSchema; }
3573
+ get: function () { return chunkSWCPI6SL_cjs.ListExtensionColumnPlacementSchema; }
3531
3574
  });
3532
3575
  Object.defineProperty(exports, "ListExtensionSchema", {
3533
3576
  enumerable: true,
3534
- get: function () { return chunkWEEC4REL_cjs.ListExtensionSchema; }
3577
+ get: function () { return chunkSWCPI6SL_cjs.ListExtensionSchema; }
3535
3578
  });
3536
3579
  Object.defineProperty(exports, "ListSchema", {
3537
3580
  enumerable: true,
3538
- get: function () { return chunkWEEC4REL_cjs.ListSchema; }
3581
+ get: function () { return chunkSWCPI6SL_cjs.ListSchema; }
3539
3582
  });
3540
3583
  Object.defineProperty(exports, "ListViewSchema", {
3541
3584
  enumerable: true,
3542
- get: function () { return chunkWEEC4REL_cjs.ListViewSchema; }
3585
+ get: function () { return chunkSWCPI6SL_cjs.ListViewSchema; }
3543
3586
  });
3544
3587
  Object.defineProperty(exports, "MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS", {
3545
3588
  enumerable: true,
3546
- get: function () { return chunkWEEC4REL_cjs.MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS; }
3589
+ get: function () { return chunkSWCPI6SL_cjs.MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS; }
3547
3590
  });
3548
3591
  Object.defineProperty(exports, "MenuConfigurationExtensionPlacementSchema", {
3549
3592
  enumerable: true,
3550
- get: function () { return chunkWEEC4REL_cjs.MenuConfigurationExtensionPlacementSchema; }
3593
+ get: function () { return chunkSWCPI6SL_cjs.MenuConfigurationExtensionPlacementSchema; }
3551
3594
  });
3552
3595
  Object.defineProperty(exports, "MenuConfigurationExtensionPositionSchema", {
3553
3596
  enumerable: true,
3554
- get: function () { return chunkWEEC4REL_cjs.MenuConfigurationExtensionPositionSchema; }
3597
+ get: function () { return chunkSWCPI6SL_cjs.MenuConfigurationExtensionPositionSchema; }
3555
3598
  });
3556
3599
  Object.defineProperty(exports, "MenuConfigurationExtensionSchema", {
3557
3600
  enumerable: true,
3558
- get: function () { return chunkWEEC4REL_cjs.MenuConfigurationExtensionSchema; }
3601
+ get: function () { return chunkSWCPI6SL_cjs.MenuConfigurationExtensionSchema; }
3559
3602
  });
3560
3603
  Object.defineProperty(exports, "MenuConfigurationSchema", {
3561
3604
  enumerable: true,
3562
- get: function () { return chunkWEEC4REL_cjs.MenuConfigurationSchema; }
3605
+ get: function () { return chunkSWCPI6SL_cjs.MenuConfigurationSchema; }
3563
3606
  });
3564
3607
  Object.defineProperty(exports, "MenuItemSchema", {
3565
3608
  enumerable: true,
3566
- get: function () { return chunkWEEC4REL_cjs.MenuItemSchema; }
3609
+ get: function () { return chunkSWCPI6SL_cjs.MenuItemSchema; }
3567
3610
  });
3568
3611
  Object.defineProperty(exports, "MenuItemType", {
3569
3612
  enumerable: true,
3570
- get: function () { return chunkWEEC4REL_cjs.MenuItemType; }
3613
+ get: function () { return chunkSWCPI6SL_cjs.MenuItemType; }
3571
3614
  });
3572
3615
  Object.defineProperty(exports, "MetaClient", {
3573
3616
  enumerable: true,
3574
- get: function () { return chunkWEEC4REL_cjs.MetaClient; }
3617
+ get: function () { return chunkSWCPI6SL_cjs.MetaClient; }
3575
3618
  });
3576
3619
  Object.defineProperty(exports, "ModuleSchema", {
3577
3620
  enumerable: true,
3578
- get: function () { return chunkWEEC4REL_cjs.ModuleSchema; }
3621
+ get: function () { return chunkSWCPI6SL_cjs.ModuleSchema; }
3579
3622
  });
3580
3623
  Object.defineProperty(exports, "OnDeleteActionSchema", {
3581
3624
  enumerable: true,
3582
- get: function () { return chunkWEEC4REL_cjs.OnDeleteActionSchema; }
3625
+ get: function () { return chunkSWCPI6SL_cjs.OnDeleteActionSchema; }
3583
3626
  });
3584
3627
  Object.defineProperty(exports, "PAGE_EXTENSION_ANCHOR_MAIN", {
3585
3628
  enumerable: true,
3586
- get: function () { return chunkWEEC4REL_cjs.PAGE_EXTENSION_ANCHOR_MAIN; }
3629
+ get: function () { return chunkSWCPI6SL_cjs.PAGE_EXTENSION_ANCHOR_MAIN; }
3587
3630
  });
3588
3631
  Object.defineProperty(exports, "PAGE_EXTENSION_ANCHOR_SIDE_PANEL", {
3589
3632
  enumerable: true,
3590
- get: function () { return chunkWEEC4REL_cjs.PAGE_EXTENSION_ANCHOR_SIDE_PANEL; }
3633
+ get: function () { return chunkSWCPI6SL_cjs.PAGE_EXTENSION_ANCHOR_SIDE_PANEL; }
3591
3634
  });
3592
3635
  Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
3593
3636
  enumerable: true,
3594
- get: function () { return chunkWEEC4REL_cjs.PLATFORM_ATTRIBUTE_NAMES; }
3637
+ get: function () { return chunkSWCPI6SL_cjs.PLATFORM_ATTRIBUTE_NAMES; }
3595
3638
  });
3596
3639
  Object.defineProperty(exports, "PLATFORM_USER_ID", {
3597
3640
  enumerable: true,
3598
- get: function () { return chunkWEEC4REL_cjs.PLATFORM_USER_ID; }
3641
+ get: function () { return chunkSWCPI6SL_cjs.PLATFORM_USER_ID; }
3599
3642
  });
3600
3643
  Object.defineProperty(exports, "PageActionSchema", {
3601
3644
  enumerable: true,
3602
- get: function () { return chunkWEEC4REL_cjs.PageActionSchema; }
3645
+ get: function () { return chunkSWCPI6SL_cjs.PageActionSchema; }
3603
3646
  });
3604
3647
  Object.defineProperty(exports, "PageExtensionPlacementSchema", {
3605
3648
  enumerable: true,
3606
- get: function () { return chunkWEEC4REL_cjs.PageExtensionPlacementSchema; }
3649
+ get: function () { return chunkSWCPI6SL_cjs.PageExtensionPlacementSchema; }
3607
3650
  });
3608
3651
  Object.defineProperty(exports, "PageExtensionSchema", {
3609
3652
  enumerable: true,
3610
- get: function () { return chunkWEEC4REL_cjs.PageExtensionSchema; }
3653
+ get: function () { return chunkSWCPI6SL_cjs.PageExtensionSchema; }
3611
3654
  });
3612
3655
  Object.defineProperty(exports, "PageIterator", {
3613
3656
  enumerable: true,
3614
- get: function () { return chunkWEEC4REL_cjs.PageIterator; }
3657
+ get: function () { return chunkSWCPI6SL_cjs.PageIterator; }
3615
3658
  });
3616
3659
  Object.defineProperty(exports, "PageLayoutSchema", {
3617
3660
  enumerable: true,
3618
- get: function () { return chunkWEEC4REL_cjs.PageLayoutSchema; }
3661
+ get: function () { return chunkSWCPI6SL_cjs.PageLayoutSchema; }
3619
3662
  });
3620
3663
  Object.defineProperty(exports, "PageSchema", {
3621
3664
  enumerable: true,
3622
- get: function () { return chunkWEEC4REL_cjs.PageSchema; }
3665
+ get: function () { return chunkSWCPI6SL_cjs.PageSchema; }
3623
3666
  });
3624
3667
  Object.defineProperty(exports, "RelationAttributeMetaSchema", {
3625
3668
  enumerable: true,
3626
- get: function () { return chunkWEEC4REL_cjs.RelationAttributeMetaSchema; }
3669
+ get: function () { return chunkSWCPI6SL_cjs.RelationAttributeMetaSchema; }
3627
3670
  });
3628
3671
  Object.defineProperty(exports, "ResponseMetaSchema", {
3629
3672
  enumerable: true,
3630
- get: function () { return chunkWEEC4REL_cjs.ResponseMetaSchema; }
3673
+ get: function () { return chunkSWCPI6SL_cjs.ResponseMetaSchema; }
3631
3674
  });
3632
3675
  Object.defineProperty(exports, "SortConfigSchema", {
3633
3676
  enumerable: true,
3634
- get: function () { return chunkWEEC4REL_cjs.SortConfigSchema; }
3677
+ get: function () { return chunkSWCPI6SL_cjs.SortConfigSchema; }
3635
3678
  });
3636
3679
  Object.defineProperty(exports, "UserRefSchema", {
3637
3680
  enumerable: true,
3638
- get: function () { return chunkWEEC4REL_cjs.UserRefSchema; }
3681
+ get: function () { return chunkSWCPI6SL_cjs.UserRefSchema; }
3639
3682
  });
3640
3683
  Object.defineProperty(exports, "VariableSchema", {
3641
3684
  enumerable: true,
3642
- get: function () { return chunkWEEC4REL_cjs.VariableSchema; }
3685
+ get: function () { return chunkSWCPI6SL_cjs.VariableSchema; }
3643
3686
  });
3644
3687
  Object.defineProperty(exports, "acceptsCurrentUserDefault", {
3645
3688
  enumerable: true,
3646
- get: function () { return chunkWEEC4REL_cjs.acceptsCurrentUserDefault; }
3689
+ get: function () { return chunkSWCPI6SL_cjs.acceptsCurrentUserDefault; }
3647
3690
  });
3648
3691
  Object.defineProperty(exports, "allCurrencyCodes", {
3649
3692
  enumerable: true,
3650
- get: function () { return chunkWEEC4REL_cjs.allCurrencyCodes; }
3693
+ get: function () { return chunkSWCPI6SL_cjs.allCurrencyCodes; }
3651
3694
  });
3652
3695
  Object.defineProperty(exports, "createIterator", {
3653
3696
  enumerable: true,
3654
- get: function () { return chunkWEEC4REL_cjs.createIterator; }
3697
+ get: function () { return chunkSWCPI6SL_cjs.createIterator; }
3655
3698
  });
3656
3699
  Object.defineProperty(exports, "createListResultSchema", {
3657
3700
  enumerable: true,
3658
- get: function () { return chunkWEEC4REL_cjs.createListResultSchema; }
3701
+ get: function () { return chunkSWCPI6SL_cjs.createListResultSchema; }
3659
3702
  });
3660
3703
  Object.defineProperty(exports, "currencyLabel", {
3661
3704
  enumerable: true,
3662
- get: function () { return chunkWEEC4REL_cjs.currencyLabel; }
3705
+ get: function () { return chunkSWCPI6SL_cjs.currencyLabel; }
3663
3706
  });
3664
3707
  Object.defineProperty(exports, "currencySymbol", {
3665
3708
  enumerable: true,
3666
- get: function () { return chunkWEEC4REL_cjs.currencySymbol; }
3709
+ get: function () { return chunkSWCPI6SL_cjs.currencySymbol; }
3667
3710
  });
3668
3711
  Object.defineProperty(exports, "currencySymbolSide", {
3669
3712
  enumerable: true,
3670
- get: function () { return chunkWEEC4REL_cjs.currencySymbolSide; }
3713
+ get: function () { return chunkSWCPI6SL_cjs.currencySymbolSide; }
3671
3714
  });
3672
3715
  Object.defineProperty(exports, "formatAmount", {
3673
3716
  enumerable: true,
3674
- get: function () { return chunkWEEC4REL_cjs.formatAmount; }
3717
+ get: function () { return chunkSWCPI6SL_cjs.formatAmount; }
3675
3718
  });
3676
3719
  Object.defineProperty(exports, "formatMoney", {
3677
3720
  enumerable: true,
3678
- get: function () { return chunkWEEC4REL_cjs.formatMoney; }
3721
+ get: function () { return chunkSWCPI6SL_cjs.formatMoney; }
3679
3722
  });
3680
3723
  Object.defineProperty(exports, "isCurrentUserDefault", {
3681
3724
  enumerable: true,
3682
- get: function () { return chunkWEEC4REL_cjs.isCurrentUserDefault; }
3725
+ get: function () { return chunkSWCPI6SL_cjs.isCurrentUserDefault; }
3683
3726
  });
3684
3727
  Object.defineProperty(exports, "isPlatformAttributeName", {
3685
3728
  enumerable: true,
3686
- get: function () { return chunkWEEC4REL_cjs.isPlatformAttributeName; }
3729
+ get: function () { return chunkSWCPI6SL_cjs.isPlatformAttributeName; }
3687
3730
  });
3688
3731
  Object.defineProperty(exports, "localeNumberSeparators", {
3689
3732
  enumerable: true,
3690
- get: function () { return chunkWEEC4REL_cjs.localeNumberSeparators; }
3733
+ get: function () { return chunkSWCPI6SL_cjs.localeNumberSeparators; }
3691
3734
  });
3692
3735
  Object.defineProperty(exports, "parseAmount", {
3693
3736
  enumerable: true,
3694
- get: function () { return chunkWEEC4REL_cjs.parseAmount; }
3737
+ get: function () { return chunkSWCPI6SL_cjs.parseAmount; }
3738
+ });
3739
+ Object.defineProperty(exports, "parseContactAddressMeta", {
3740
+ enumerable: true,
3741
+ get: function () { return chunkSWCPI6SL_cjs.parseContactAddressMeta; }
3695
3742
  });
3696
3743
  Object.defineProperty(exports, "parseCurrencyMeta", {
3697
3744
  enumerable: true,
3698
- get: function () { return chunkWEEC4REL_cjs.parseCurrencyMeta; }
3745
+ get: function () { return chunkSWCPI6SL_cjs.parseCurrencyMeta; }
3699
3746
  });
3700
3747
  Object.defineProperty(exports, "parseFileMeta", {
3701
3748
  enumerable: true,
3702
- get: function () { return chunkWEEC4REL_cjs.parseFileMeta; }
3749
+ get: function () { return chunkSWCPI6SL_cjs.parseFileMeta; }
3703
3750
  });
3704
3751
  Object.defineProperty(exports, "parseRelationMeta", {
3705
3752
  enumerable: true,
3706
- get: function () { return chunkWEEC4REL_cjs.parseRelationMeta; }
3753
+ get: function () { return chunkSWCPI6SL_cjs.parseRelationMeta; }
3707
3754
  });
3708
3755
  Object.defineProperty(exports, "platformAttributes", {
3709
3756
  enumerable: true,
3710
- get: function () { return chunkWEEC4REL_cjs.platformAttributes; }
3757
+ get: function () { return chunkSWCPI6SL_cjs.platformAttributes; }
3711
3758
  });
3712
3759
  exports.AccountClient = AccountClient;
3713
3760
  exports.ActionSchema = ActionSchema;