@learncard/didkey-plugin 1.0.52 → 1.0.53

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.
@@ -90,6 +90,7 @@ var require_types_cjs_development = __commonJS({
90
90
  AchievementSubjectValidator: () => AchievementSubjectValidator,
91
91
  AchievementTypeValidator: () => AchievementTypeValidator,
92
92
  AchievementValidator: () => AchievementValidator,
93
+ AddTagInputValidator: () => AddTagInputValidator,
93
94
  AddressValidator: () => AddressValidator,
94
95
  AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
95
96
  AlignmentValidator: () => AlignmentValidator,
@@ -129,14 +130,22 @@ var require_types_cjs_development = __commonJS({
129
130
  ContactMethodVerificationValidator: () => ContactMethodVerificationValidator,
130
131
  ContextValidator: () => ContextValidator,
131
132
  ContractCredentialValidator: () => ContractCredentialValidator,
133
+ CountSkillsInputValidator: () => CountSkillsInputValidator,
134
+ CountSkillsResultValidator: () => CountSkillsResultValidator,
132
135
  CreateContactMethodSessionResponseValidator: () => CreateContactMethodSessionResponseValidator,
133
136
  CreateContactMethodSessionValidator: () => CreateContactMethodSessionValidator,
137
+ CreateManagedFrameworkBatchInputValidator: () => CreateManagedFrameworkBatchInputValidator,
138
+ CreateManagedFrameworkInputValidator: () => CreateManagedFrameworkInputValidator,
139
+ CreateSkillInputValidator: () => CreateSkillInputValidator,
140
+ CreateSkillsBatchInputValidator: () => CreateSkillsBatchInputValidator,
134
141
  CredentialInfoValidator: () => CredentialInfoValidator,
135
142
  CredentialRecordValidator: () => CredentialRecordValidator,
136
143
  CredentialSchemaValidator: () => CredentialSchemaValidator,
137
144
  CredentialStatusValidator: () => CredentialStatusValidator,
138
145
  CredentialSubjectValidator: () => CredentialSubjectValidator,
139
146
  CriteriaValidator: () => CriteriaValidator,
147
+ DeleteFrameworkInputValidator: () => DeleteFrameworkInputValidator,
148
+ DeleteSkillInputValidator: () => DeleteSkillInputValidator,
140
149
  DidDocumentValidator: () => DidDocumentValidator,
141
150
  EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
142
151
  EncryptedRecordValidator: () => EncryptedRecordValidator,
@@ -144,8 +153,13 @@ var require_types_cjs_development = __commonJS({
144
153
  EndorsementSubjectValidator: () => EndorsementSubjectValidator,
145
154
  EvidenceValidator: () => EvidenceValidator,
146
155
  FlatAuthGrantValidator: () => FlatAuthGrantValidator,
156
+ FrameworkWithSkillsValidator: () => FrameworkWithSkillsValidator,
147
157
  FullClaimHookValidator: () => FullClaimHookValidator,
148
158
  GeoCoordinatesValidator: () => GeoCoordinatesValidator,
159
+ GetFullSkillTreeInputValidator: () => GetFullSkillTreeInputValidator,
160
+ GetFullSkillTreeResultValidator: () => GetFullSkillTreeResultValidator,
161
+ GetSkillPathInputValidator: () => GetSkillPathInputValidator,
162
+ GetSkillPathResultValidator: () => GetSkillPathResultValidator,
149
163
  IdentifierEntryValidator: () => IdentifierEntryValidator,
150
164
  IdentifierTypeValidator: () => IdentifierTypeValidator,
151
165
  IdentityObjectValidator: () => IdentityObjectValidator,
@@ -184,6 +198,7 @@ var require_types_cjs_development = __commonJS({
184
198
  LCNProfileValidator: () => LCNProfileValidator,
185
199
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
186
200
  LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
201
+ LinkProviderFrameworkInputValidator: () => LinkProviderFrameworkInputValidator,
187
202
  PaginatedBoostRecipientsValidator: () => PaginatedBoostRecipientsValidator,
188
203
  PaginatedBoostRecipientsWithChildrenValidator: () => PaginatedBoostRecipientsWithChildrenValidator,
189
204
  PaginatedBoostsValidator: () => PaginatedBoostsValidator,
@@ -201,6 +216,8 @@ var require_types_cjs_development = __commonJS({
201
216
  PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
202
217
  PaginatedLCNProfilesAndManagersValidator: () => PaginatedLCNProfilesAndManagersValidator,
203
218
  PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator,
219
+ PaginatedSkillFrameworksValidator: () => PaginatedSkillFrameworksValidator,
220
+ PaginatedSkillTreeValidator: () => PaginatedSkillTreeValidator,
204
221
  PaginationOptionsValidator: () => PaginationOptionsValidator,
205
222
  PaginationResponseValidator: () => PaginationResponseValidator,
206
223
  ProfileValidator: () => ProfileValidator,
@@ -208,6 +225,8 @@ var require_types_cjs_development = __commonJS({
208
225
  RefreshServiceValidator: () => RefreshServiceValidator,
209
226
  RegExpValidator: () => RegExpValidator,
210
227
  RelatedValidator: () => RelatedValidator,
228
+ ReplaceSkillFrameworkSkillsInputValidator: () => ReplaceSkillFrameworkSkillsInputValidator,
229
+ ReplaceSkillFrameworkSkillsResultValidator: () => ReplaceSkillFrameworkSkillsResultValidator,
211
230
  ResultDescriptionValidator: () => ResultDescriptionValidator,
212
231
  ResultStatusTypeValidator: () => ResultStatusTypeValidator,
213
232
  ResultTypeValidator: () => ResultTypeValidator,
@@ -216,11 +235,27 @@ var require_types_cjs_development = __commonJS({
216
235
  SentCredentialInfoValidator: () => SentCredentialInfoValidator,
217
236
  ServiceValidator: () => ServiceValidator,
218
237
  SetPrimaryContactMethodValidator: () => SetPrimaryContactMethodValidator,
238
+ SkillDeletionStrategyValidator: () => SkillDeletionStrategyValidator,
239
+ SkillFrameworkAdminInputValidator: () => SkillFrameworkAdminInputValidator,
240
+ SkillFrameworkAdminsValidator: () => SkillFrameworkAdminsValidator,
241
+ SkillFrameworkIdInputValidator: () => SkillFrameworkIdInputValidator,
242
+ SkillFrameworkQueryValidator: () => SkillFrameworkQueryValidator,
243
+ SkillFrameworkStatusEnum: () => SkillFrameworkStatusEnum,
244
+ SkillFrameworkValidator: () => SkillFrameworkValidator,
245
+ SkillQueryValidator: () => SkillQueryValidator,
246
+ SkillStatusEnum: () => SkillStatusEnum,
247
+ SkillTreeNodeInputValidator: () => SkillTreeNodeInputValidator,
248
+ SkillTreeNodeValidator: () => SkillTreeNodeValidator,
249
+ SkillValidator: () => SkillValidator,
219
250
  StringQuery: () => StringQuery,
251
+ SyncFrameworkInputValidator: () => SyncFrameworkInputValidator,
252
+ TagValidator: () => TagValidator,
220
253
  TermsOfUseValidator: () => TermsOfUseValidator,
221
254
  UnsignedAchievementCredentialValidator: () => UnsignedAchievementCredentialValidator,
222
255
  UnsignedVCValidator: () => UnsignedVCValidator,
223
256
  UnsignedVPValidator: () => UnsignedVPValidator,
257
+ UpdateFrameworkInputValidator: () => UpdateFrameworkInputValidator,
258
+ UpdateSkillInputValidator: () => UpdateSkillInputValidator,
224
259
  VC2EvidenceValidator: () => VC2EvidenceValidator,
225
260
  VCValidator: () => VCValidator,
226
261
  VPValidator: () => VPValidator,
@@ -4703,7 +4738,14 @@ var require_types_cjs_development = __commonJS({
4703
4738
  }
4704
4739
  })
4705
4740
  );
4706
- var StringQuery = z.string().or(z.object({ $in: z.string().array() })).or(z.object({ $regex: RegExpValidator }));
4741
+ var BaseStringQuery = z.string().or(z.object({ $in: z.string().array() })).or(z.object({ $regex: RegExpValidator }));
4742
+ var StringQuery = z.union([
4743
+ BaseStringQuery,
4744
+ z.object({
4745
+ $or: BaseStringQuery.array()
4746
+ })
4747
+ ]);
4748
+ extendZodWithOpenApi(z);
4707
4749
  var LCNProfileDisplayValidator = z.object({
4708
4750
  backgroundColor: z.string().optional(),
4709
4751
  backgroundImage: z.string().optional(),
@@ -4861,7 +4903,7 @@ var require_types_cjs_development = __commonJS({
4861
4903
  claimPermissions: BoostPermissionsValidator.optional(),
4862
4904
  allowAnyoneToCreateChildren: z.boolean().optional()
4863
4905
  });
4864
- var BoostQueryValidator = z.object({
4906
+ var BaseBoostQueryValidator = z.object({
4865
4907
  uri: StringQuery,
4866
4908
  name: StringQuery,
4867
4909
  type: StringQuery,
@@ -4870,6 +4912,12 @@ var require_types_cjs_development = __commonJS({
4870
4912
  status: LCNBoostStatus.or(z.object({ $in: LCNBoostStatus.array() })),
4871
4913
  autoConnectRecipients: z.boolean()
4872
4914
  }).partial();
4915
+ var BoostQueryValidator = z.union([
4916
+ z.object({
4917
+ $or: BaseBoostQueryValidator.array()
4918
+ }),
4919
+ BaseBoostQueryValidator
4920
+ ]);
4873
4921
  var PaginatedBoostsValidator = PaginationResponseValidator.extend({
4874
4922
  records: BoostValidator.array()
4875
4923
  });
@@ -4925,11 +4973,25 @@ var require_types_cjs_development = __commonJS({
4925
4973
  var ConsentFlowContractValidator = z.object({
4926
4974
  read: z.object({
4927
4975
  anonymize: z.boolean().optional(),
4928
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4976
+ credentials: z.object({
4977
+ categories: z.record(
4978
+ z.object({
4979
+ required: z.boolean(),
4980
+ defaultEnabled: z.boolean().optional()
4981
+ })
4982
+ ).default({})
4983
+ }).default({}),
4929
4984
  personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4930
4985
  }).default({}),
4931
4986
  write: z.object({
4932
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4987
+ credentials: z.object({
4988
+ categories: z.record(
4989
+ z.object({
4990
+ required: z.boolean(),
4991
+ defaultEnabled: z.boolean().optional()
4992
+ })
4993
+ ).default({})
4994
+ }).default({}),
4933
4995
  personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4934
4996
  }).default({})
4935
4997
  });
@@ -5072,6 +5134,17 @@ var require_types_cjs_development = __commonJS({
5072
5134
  var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
5073
5135
  records: ConsentFlowTransactionValidator.array()
5074
5136
  });
5137
+ var BaseSkillFrameworkQueryValidator = z.object({
5138
+ id: StringQuery,
5139
+ name: StringQuery,
5140
+ description: StringQuery,
5141
+ sourceURI: StringQuery,
5142
+ status: StringQuery
5143
+ }).partial();
5144
+ var SkillFrameworkQueryValidator = z.union([
5145
+ z.object({ $or: BaseSkillFrameworkQueryValidator.array() }),
5146
+ BaseSkillFrameworkQueryValidator
5147
+ ]);
5075
5148
  var ContractCredentialValidator = z.object({
5076
5149
  credentialUri: z.string(),
5077
5150
  termsUri: z.string(),
@@ -5250,31 +5323,55 @@ var require_types_cjs_development = __commonJS({
5250
5323
  });
5251
5324
  var IssueInboxCredentialValidator = z.object({
5252
5325
  recipient: ContactMethodQueryValidator.describe("The recipient of the credential"),
5253
- credential: VCValidator.passthrough().or(VPValidator.passthrough()).or(UnsignedVCValidator.passthrough()).describe("The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."),
5326
+ credential: VCValidator.passthrough().or(VPValidator.passthrough()).or(UnsignedVCValidator.passthrough()).describe(
5327
+ "The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."
5328
+ ),
5254
5329
  configuration: z.object({
5255
- signingAuthority: IssueInboxSigningAuthorityValidator.optional().describe("The signing authority to use for the credential. If not provided, the users default signing authority will be used if the credential is not signed."),
5330
+ signingAuthority: IssueInboxSigningAuthorityValidator.optional().describe(
5331
+ "The signing authority to use for the credential. If not provided, the users default signing authority will be used if the credential is not signed."
5332
+ ),
5256
5333
  webhookUrl: z.string().url().optional().describe("The webhook URL to receive credential issuance events."),
5257
5334
  expiresInDays: z.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
5258
5335
  delivery: z.object({
5259
- suppress: z.boolean().optional().default(false).describe("Whether to suppress delivery of the credential to the recipient. If true, the email/sms will not be sent to the recipient. Useful if you would like to manually send claim link to your users."),
5336
+ suppress: z.boolean().optional().default(false).describe(
5337
+ "Whether to suppress delivery of the credential to the recipient. If true, the email/sms will not be sent to the recipient. Useful if you would like to manually send claim link to your users."
5338
+ ),
5260
5339
  template: z.object({
5261
- id: z.enum(["universal-inbox-claim"]).optional().describe("The template ID to use for the credential delivery. If not provided, the default template will be used."),
5340
+ id: z.enum(["universal-inbox-claim"]).optional().describe(
5341
+ "The template ID to use for the credential delivery. If not provided, the default template will be used."
5342
+ ),
5262
5343
  model: z.object({
5263
5344
  issuer: z.object({
5264
- name: z.string().optional().describe('The name of the organization (e.g., "State University").'),
5345
+ name: z.string().optional().describe(
5346
+ 'The name of the organization (e.g., "State University").'
5347
+ ),
5265
5348
  logoUrl: z.string().url().optional().describe("The URL of the organization's logo.")
5266
5349
  }).optional(),
5267
5350
  credential: z.object({
5268
- name: z.string().optional().describe('The name of the credential (e.g., "Bachelor of Science").'),
5269
- type: z.string().optional().describe('The type of the credential (e.g., "degree", "certificate").')
5351
+ name: z.string().optional().describe(
5352
+ 'The name of the credential (e.g., "Bachelor of Science").'
5353
+ ),
5354
+ type: z.string().optional().describe(
5355
+ 'The type of the credential (e.g., "degree", "certificate").'
5356
+ )
5270
5357
  }).optional(),
5271
5358
  recipient: z.object({
5272
- name: z.string().optional().describe('The name of the recipient (e.g., "John Doe").')
5359
+ name: z.string().optional().describe(
5360
+ 'The name of the recipient (e.g., "John Doe").'
5361
+ )
5273
5362
  }).optional()
5274
- }).describe("The template model to use for the credential delivery. Injects via template variables into email/sms templates. If not provided, the default template will be used.")
5275
- }).optional().describe("The template to use for the credential delivery. If not provided, the default template will be used.")
5276
- }).optional().describe("Configuration for the credential delivery i.e. email or SMS. When credentials are sent to a user who has a verified email or phone associated with their account, delivery is skipped, and the credential will be sent using in-app notifications. If not provided, the default configuration will be used.")
5277
- }).optional().describe("Configuration for the credential issuance. If not provided, the default configuration will be used.")
5363
+ }).describe(
5364
+ "The template model to use for the credential delivery. Injects via template variables into email/sms templates. If not provided, the default template will be used."
5365
+ )
5366
+ }).optional().describe(
5367
+ "The template to use for the credential delivery. If not provided, the default template will be used."
5368
+ )
5369
+ }).optional().describe(
5370
+ "Configuration for the credential delivery i.e. email or SMS. When credentials are sent to a user who has a verified email or phone associated with their account, delivery is skipped, and the credential will be sent using in-app notifications. If not provided, the default configuration will be used."
5371
+ )
5372
+ }).optional().describe(
5373
+ "Configuration for the credential issuance. If not provided, the default configuration will be used."
5374
+ )
5278
5375
  });
5279
5376
  var IssueInboxCredentialResponseValidator = z.object({
5280
5377
  issuanceId: z.string(),
@@ -5336,6 +5433,191 @@ var require_types_cjs_development = __commonJS({
5336
5433
  expiresAt: z.string(),
5337
5434
  used: z.boolean()
5338
5435
  });
5436
+ var TagValidator = z.object({
5437
+ id: z.string(),
5438
+ name: z.string().min(1),
5439
+ slug: z.string().min(1),
5440
+ createdAt: z.string().optional(),
5441
+ updatedAt: z.string().optional()
5442
+ });
5443
+ var SkillStatusEnum = z.enum(["active", "archived"]);
5444
+ var SkillValidator = z.object({
5445
+ id: z.string(),
5446
+ statement: z.string(),
5447
+ description: z.string().optional(),
5448
+ code: z.string().optional(),
5449
+ icon: z.string().optional(),
5450
+ type: z.string().default("skill"),
5451
+ status: SkillStatusEnum.default("active"),
5452
+ frameworkId: z.string().optional(),
5453
+ createdAt: z.string().optional(),
5454
+ updatedAt: z.string().optional()
5455
+ });
5456
+ var BaseSkillQueryValidator = z.object({
5457
+ id: StringQuery,
5458
+ statement: StringQuery,
5459
+ description: StringQuery,
5460
+ code: StringQuery,
5461
+ type: StringQuery,
5462
+ status: SkillStatusEnum.or(z.object({ $in: SkillStatusEnum.array() }))
5463
+ }).partial();
5464
+ var SkillQueryValidator = z.union([
5465
+ z.object({
5466
+ $or: BaseSkillQueryValidator.array()
5467
+ }),
5468
+ BaseSkillQueryValidator
5469
+ ]);
5470
+ var SkillFrameworkStatusEnum = z.enum(["active", "archived"]);
5471
+ var SkillFrameworkValidator = z.object({
5472
+ id: z.string(),
5473
+ name: z.string(),
5474
+ description: z.string().optional(),
5475
+ image: z.string().optional(),
5476
+ sourceURI: z.string().url().optional(),
5477
+ status: SkillFrameworkStatusEnum.default("active"),
5478
+ createdAt: z.string().optional(),
5479
+ updatedAt: z.string().optional()
5480
+ });
5481
+ var PaginatedSkillFrameworksValidator = PaginationResponseValidator.extend({
5482
+ records: SkillFrameworkValidator.array()
5483
+ });
5484
+ var SkillTreeNodeValidator = SkillValidator.extend({
5485
+ children: z.array(z.lazy(() => SkillTreeNodeValidator)),
5486
+ hasChildren: z.boolean(),
5487
+ childrenCursor: z.string().nullable().optional()
5488
+ }).openapi({ ref: "SkillTreeNode" });
5489
+ var PaginatedSkillTreeValidator = z.object({
5490
+ hasMore: z.boolean(),
5491
+ cursor: z.string().nullable(),
5492
+ records: z.array(SkillTreeNodeValidator)
5493
+ });
5494
+ var SkillTreeNodeInputValidator = z.lazy(
5495
+ () => z.object({
5496
+ id: z.string().optional(),
5497
+ statement: z.string(),
5498
+ description: z.string().optional(),
5499
+ code: z.string().optional(),
5500
+ icon: z.string().optional(),
5501
+ type: z.string().optional(),
5502
+ status: SkillStatusEnum.optional(),
5503
+ children: z.array(SkillTreeNodeInputValidator).optional()
5504
+ })
5505
+ ).openapi({ ref: "SkillTreeNodeInput" });
5506
+ var LinkProviderFrameworkInputValidator = z.object({
5507
+ frameworkId: z.string()
5508
+ });
5509
+ var CreateManagedFrameworkInputValidator = z.object({
5510
+ id: z.string().optional(),
5511
+ name: z.string().min(1),
5512
+ description: z.string().optional(),
5513
+ image: z.string().optional(),
5514
+ sourceURI: z.string().url().optional(),
5515
+ status: SkillFrameworkStatusEnum.optional(),
5516
+ skills: z.array(SkillTreeNodeInputValidator).optional(),
5517
+ boostUris: z.array(z.string()).optional()
5518
+ });
5519
+ var UpdateFrameworkInputValidator = z.object({
5520
+ id: z.string(),
5521
+ name: z.string().min(1).optional(),
5522
+ description: z.string().optional(),
5523
+ image: z.string().optional(),
5524
+ sourceURI: z.string().url().optional(),
5525
+ status: SkillFrameworkStatusEnum.optional()
5526
+ }).refine(
5527
+ (data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.status !== void 0,
5528
+ {
5529
+ message: "At least one field must be provided to update",
5530
+ path: ["name"]
5531
+ }
5532
+ );
5533
+ var DeleteFrameworkInputValidator = z.object({ id: z.string() });
5534
+ var CreateManagedFrameworkBatchInputValidator = z.object({
5535
+ frameworks: z.array(
5536
+ CreateManagedFrameworkInputValidator.extend({
5537
+ skills: z.array(SkillTreeNodeInputValidator).optional()
5538
+ })
5539
+ ).min(1)
5540
+ });
5541
+ var SkillFrameworkAdminInputValidator = z.object({
5542
+ frameworkId: z.string(),
5543
+ profileId: z.string()
5544
+ });
5545
+ var SkillFrameworkIdInputValidator = z.object({ frameworkId: z.string() });
5546
+ var SkillFrameworkAdminsValidator = LCNProfileValidator.array();
5547
+ var SyncFrameworkInputValidator = z.object({ id: z.string() });
5548
+ var AddTagInputValidator = z.object({
5549
+ slug: z.string().min(1),
5550
+ name: z.string().min(1)
5551
+ });
5552
+ var CreateSkillInputValidator = z.object({
5553
+ frameworkId: z.string(),
5554
+ skill: SkillTreeNodeInputValidator,
5555
+ parentId: z.string().nullable().optional()
5556
+ });
5557
+ var UpdateSkillInputValidator = z.object({
5558
+ frameworkId: z.string(),
5559
+ id: z.string(),
5560
+ statement: z.string().optional(),
5561
+ description: z.string().optional(),
5562
+ code: z.string().optional(),
5563
+ icon: z.string().optional(),
5564
+ type: z.string().optional(),
5565
+ status: SkillStatusEnum.optional()
5566
+ }).refine(
5567
+ (data) => data.statement !== void 0 || data.description !== void 0 || data.code !== void 0 || data.icon !== void 0 || data.type !== void 0 || data.status !== void 0,
5568
+ {
5569
+ message: "At least one field must be provided to update a skill",
5570
+ path: ["statement"]
5571
+ }
5572
+ );
5573
+ var SkillDeletionStrategyValidator = z.enum(["recursive", "reparent"]);
5574
+ var DeleteSkillInputValidator = z.object({
5575
+ frameworkId: z.string(),
5576
+ id: z.string(),
5577
+ strategy: SkillDeletionStrategyValidator.optional().default("reparent")
5578
+ });
5579
+ var CreateSkillsBatchInputValidator = z.object({
5580
+ frameworkId: z.string(),
5581
+ skills: z.array(SkillTreeNodeInputValidator).min(1),
5582
+ parentId: z.string().nullable().optional()
5583
+ });
5584
+ var ReplaceSkillFrameworkSkillsInputValidator = z.object({
5585
+ frameworkId: z.string(),
5586
+ skills: z.array(SkillTreeNodeInputValidator).min(0)
5587
+ });
5588
+ var ReplaceSkillFrameworkSkillsResultValidator = z.object({
5589
+ created: z.number().int().min(0),
5590
+ updated: z.number().int().min(0),
5591
+ deleted: z.number().int().min(0),
5592
+ unchanged: z.number().int().min(0),
5593
+ total: z.number().int().min(0)
5594
+ });
5595
+ var CountSkillsInputValidator = z.object({
5596
+ frameworkId: z.string(),
5597
+ skillId: z.string().optional(),
5598
+ recursive: z.boolean().optional().default(false),
5599
+ onlyCountCompetencies: z.boolean().optional().default(false)
5600
+ });
5601
+ var CountSkillsResultValidator = z.object({
5602
+ count: z.number().int().min(0)
5603
+ });
5604
+ var GetFullSkillTreeInputValidator = z.object({
5605
+ frameworkId: z.string()
5606
+ });
5607
+ var GetFullSkillTreeResultValidator = z.object({
5608
+ skills: z.array(SkillTreeNodeValidator)
5609
+ });
5610
+ var GetSkillPathInputValidator = z.object({
5611
+ frameworkId: z.string(),
5612
+ skillId: z.string()
5613
+ });
5614
+ var GetSkillPathResultValidator = z.object({
5615
+ path: z.array(SkillValidator)
5616
+ });
5617
+ var FrameworkWithSkillsValidator = z.object({
5618
+ framework: SkillFrameworkValidator,
5619
+ skills: PaginatedSkillTreeValidator
5620
+ });
5339
5621
  }
5340
5622
  });
5341
5623
  var require_dist = __commonJS({