@learncard/types 5.4.1 → 5.5.1

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/lcn.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE7D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEjF,eAAO,MAAM,8BAA8B,+FAKzC,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE5F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc,8BAA4B,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEnD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAE/E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
package/dist/mongo.d.ts CHANGED
@@ -2,10 +2,13 @@ import { z } from 'zod';
2
2
  export declare const PaginationOptionsValidator: z.ZodObject<{
3
3
  limit: z.ZodNumber;
4
4
  cursor: z.ZodOptional<z.ZodString>;
5
+ sort: z.ZodOptional<z.ZodString>;
5
6
  }, "strip", z.ZodTypeAny, {
7
+ sort?: string | undefined;
6
8
  cursor?: string | undefined;
7
9
  limit: number;
8
10
  }, {
11
+ sort?: string | undefined;
9
12
  cursor?: string | undefined;
10
13
  limit: number;
11
14
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../src/mongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE/E,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../src/mongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE/E,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -35,6 +35,8 @@ __export(src_exports, {
35
35
  ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
36
36
  ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
37
37
  ConsentFlowContractValidator: () => ConsentFlowContractValidator,
38
+ ConsentFlowDataQueryValidator: () => ConsentFlowDataQueryValidator,
39
+ ConsentFlowTermValidator: () => ConsentFlowTermValidator,
38
40
  ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
39
41
  ConsentFlowTermsStatusValidator: () => ConsentFlowTermsStatusValidator,
40
42
  ConsentFlowTermsValidator: () => ConsentFlowTermsValidator,
@@ -48,6 +50,7 @@ __export(src_exports, {
48
50
  CredentialStatusValidator: () => CredentialStatusValidator,
49
51
  CredentialSubjectValidator: () => CredentialSubjectValidator,
50
52
  CriteriaValidator: () => CriteriaValidator,
53
+ DidDocumentValidator: () => DidDocumentValidator,
51
54
  EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
52
55
  EncryptedRecordValidator: () => EncryptedRecordValidator,
53
56
  EndorsementCredentialValidator: () => EndorsementCredentialValidator,
@@ -93,6 +96,7 @@ __export(src_exports, {
93
96
  ResultValidator: () => ResultValidator,
94
97
  RubricCriterionValidator: () => RubricCriterionValidator,
95
98
  SentCredentialInfoValidator: () => SentCredentialInfoValidator,
99
+ ServiceValidator: () => ServiceValidator,
96
100
  UnsignedAchievementCredentialValidator: () => UnsignedAchievementCredentialValidator,
97
101
  UnsignedVCValidator: () => UnsignedVCValidator,
98
102
  UnsignedVPValidator: () => UnsignedVPValidator,
@@ -100,6 +104,7 @@ __export(src_exports, {
100
104
  VPValidator: () => VPValidator,
101
105
  VerificationCheckValidator: () => VerificationCheckValidator,
102
106
  VerificationItemValidator: () => VerificationItemValidator,
107
+ VerificationMethodValidator: () => VerificationMethodValidator,
103
108
  VerificationStatusEnum: () => VerificationStatusEnum,
104
109
  VerificationStatusValidator: () => VerificationStatusValidator
105
110
  });
@@ -3565,6 +3570,70 @@ var VPValidator = UnsignedVPValidator.extend({
3565
3570
  proof: ProofValidator.or(ProofValidator.array())
3566
3571
  });
3567
3572
 
3573
+ // src/crypto.ts
3574
+ var JWKValidator = mod.object({
3575
+ kty: mod.string(),
3576
+ crv: mod.string(),
3577
+ x: mod.string(),
3578
+ y: mod.string().optional(),
3579
+ n: mod.string().optional(),
3580
+ d: mod.string()
3581
+ });
3582
+ var JWERecipientHeaderValidator = mod.object({
3583
+ alg: mod.string(),
3584
+ iv: mod.string(),
3585
+ tag: mod.string(),
3586
+ epk: JWKValidator.partial().optional(),
3587
+ kid: mod.string().optional(),
3588
+ apv: mod.string().optional(),
3589
+ apu: mod.string().optional()
3590
+ });
3591
+ var JWERecipientValidator = mod.object({
3592
+ header: JWERecipientHeaderValidator,
3593
+ encrypted_key: mod.string()
3594
+ });
3595
+ var JWEValidator = mod.object({
3596
+ protected: mod.string(),
3597
+ iv: mod.string(),
3598
+ ciphertext: mod.string(),
3599
+ tag: mod.string(),
3600
+ aad: mod.string().optional(),
3601
+ recipients: JWERecipientValidator.array().optional()
3602
+ });
3603
+
3604
+ // src/did.ts
3605
+ var VerificationMethodValidator = mod.string().or(
3606
+ mod.object({
3607
+ "@context": ContextValidator.optional(),
3608
+ id: mod.string(),
3609
+ type: mod.string(),
3610
+ controller: mod.string(),
3611
+ publicKeyJwk: JWKValidator.optional(),
3612
+ publicKeyBase58: mod.string().optional(),
3613
+ blockChainAccountId: mod.string().optional()
3614
+ }).catchall(mod.any())
3615
+ );
3616
+ var ServiceValidator = mod.object({
3617
+ id: mod.string(),
3618
+ type: mod.string().or(mod.string().array().nonempty()),
3619
+ serviceEndpoint: mod.any().or(mod.any().array().nonempty())
3620
+ }).catchall(mod.any());
3621
+ var DidDocumentValidator = mod.object({
3622
+ "@context": ContextValidator,
3623
+ id: mod.string(),
3624
+ alsoKnownAs: mod.string().optional(),
3625
+ controller: mod.string().or(mod.string().array().nonempty()).optional(),
3626
+ verificationMethod: VerificationMethodValidator.array().optional(),
3627
+ authentication: VerificationMethodValidator.array().optional(),
3628
+ assertionMethod: VerificationMethodValidator.array().optional(),
3629
+ keyAgreement: VerificationMethodValidator.array().optional(),
3630
+ capabilityInvocation: VerificationMethodValidator.array().optional(),
3631
+ capabilityDelegation: VerificationMethodValidator.array().optional(),
3632
+ publicKey: VerificationMethodValidator.array().optional(),
3633
+ service: ServiceValidator.array().optional(),
3634
+ proof: ProofValidator.or(ProofValidator.array()).optional()
3635
+ }).catchall(mod.any());
3636
+
3568
3637
  // src/obv3.ts
3569
3638
  var AlignmentTargetTypeValidator = mod.enum([
3570
3639
  "ceasn:Competency",
@@ -3777,44 +3846,14 @@ var CredentialRecordValidator = mod.object({ id: mod.string(), uri: mod.string()
3777
3846
  // src/mongo.ts
3778
3847
  var PaginationOptionsValidator = mod.object({
3779
3848
  limit: mod.number(),
3780
- cursor: mod.string().optional()
3849
+ cursor: mod.string().optional(),
3850
+ sort: mod.string().optional()
3781
3851
  });
3782
3852
  var PaginationResponseValidator = mod.object({
3783
3853
  cursor: mod.string().optional(),
3784
3854
  hasMore: mod.boolean()
3785
3855
  });
3786
3856
 
3787
- // src/crypto.ts
3788
- var JWKValidator = mod.object({
3789
- kty: mod.string(),
3790
- crv: mod.string(),
3791
- x: mod.string(),
3792
- y: mod.string().optional(),
3793
- n: mod.string().optional(),
3794
- d: mod.string()
3795
- });
3796
- var JWERecipientHeaderValidator = mod.object({
3797
- alg: mod.string(),
3798
- iv: mod.string(),
3799
- tag: mod.string(),
3800
- epk: JWKValidator.partial().optional(),
3801
- kid: mod.string().optional(),
3802
- apv: mod.string().optional(),
3803
- apu: mod.string().optional()
3804
- });
3805
- var JWERecipientValidator = mod.object({
3806
- header: JWERecipientHeaderValidator,
3807
- encrypted_key: mod.string()
3808
- });
3809
- var JWEValidator = mod.object({
3810
- protected: mod.string(),
3811
- iv: mod.string(),
3812
- ciphertext: mod.string(),
3813
- tag: mod.string(),
3814
- aad: mod.string().optional(),
3815
- recipients: JWERecipientValidator.array().optional()
3816
- });
3817
-
3818
3857
  // src/learncloud.ts
3819
3858
  var EncryptedRecordValidator = mod.object({ encryptedRecord: JWEValidator, fields: mod.string().array() }).catchall(mod.any());
3820
3859
  var PaginatedEncryptedRecordsValidator = PaginationResponseValidator.extend({
@@ -3831,11 +3870,15 @@ var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.e
3831
3870
  var LCNProfileValidator = mod.object({
3832
3871
  profileId: mod.string().min(3).max(40),
3833
3872
  displayName: mod.string().default(""),
3873
+ shortBio: mod.string().default(""),
3834
3874
  bio: mod.string().default(""),
3835
3875
  did: mod.string(),
3836
3876
  email: mod.string().optional(),
3837
3877
  image: mod.string().optional(),
3878
+ heroImage: mod.string().optional(),
3879
+ websiteLink: mod.string().optional(),
3838
3880
  isServiceProfile: mod.boolean().default(false).optional(),
3881
+ type: mod.string().optional(),
3839
3882
  notificationsWebhook: mod.string().url().startsWith("https://").optional()
3840
3883
  });
3841
3884
  var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
@@ -3868,32 +3911,6 @@ var BoostRecipientValidator = mod.object({
3868
3911
  from: mod.string(),
3869
3912
  received: mod.string().optional()
3870
3913
  });
3871
- var LCNNotificationTypeEnumValidator = mod.enum([
3872
- "CONNECTION_REQUEST",
3873
- "CONNECTION_ACCEPTED",
3874
- "CREDENTIAL_RECEIVED",
3875
- "CREDENTIAL_ACCEPTED",
3876
- "BOOST_RECEIVED",
3877
- "BOOST_ACCEPTED",
3878
- "PRESENTATION_REQUEST",
3879
- "PRESENTATION_RECEIVED"
3880
- ]);
3881
- var LCNNotificationMessageValidator = mod.object({
3882
- title: mod.string().optional(),
3883
- body: mod.string().optional()
3884
- });
3885
- var LCNNotificationDataValidator = mod.object({
3886
- vcUris: mod.array(mod.string()).optional(),
3887
- vpUris: mod.array(mod.string()).optional()
3888
- });
3889
- var LCNNotificationValidator = mod.object({
3890
- type: LCNNotificationTypeEnumValidator,
3891
- to: LCNProfileValidator.partial().and(mod.object({ did: mod.string() })),
3892
- from: LCNProfileValidator.partial().and(mod.object({ did: mod.string() })),
3893
- message: LCNNotificationMessageValidator.optional(),
3894
- data: LCNNotificationDataValidator.optional(),
3895
- sent: mod.string().datetime().optional()
3896
- });
3897
3914
  var LCNBoostClaimLinkSigningAuthorityValidator = mod.object({
3898
3915
  endpoint: mod.string(),
3899
3916
  name: mod.string(),
@@ -3951,19 +3968,19 @@ var ConsentFlowContractDataValidator = mod.object({
3951
3968
  var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
3952
3969
  records: ConsentFlowContractDataValidator.array()
3953
3970
  });
3971
+ var ConsentFlowTermValidator = mod.object({
3972
+ sharing: mod.boolean().optional(),
3973
+ shared: mod.string().array().optional(),
3974
+ shareAll: mod.boolean().optional(),
3975
+ shareUntil: mod.string().optional()
3976
+ });
3954
3977
  var ConsentFlowTermsValidator = mod.object({
3955
3978
  read: mod.object({
3956
3979
  anonymize: mod.boolean().optional(),
3957
3980
  credentials: mod.object({
3958
3981
  shareAll: mod.boolean().optional(),
3959
3982
  sharing: mod.boolean().optional(),
3960
- categories: mod.record(
3961
- mod.object({
3962
- sharing: mod.boolean().optional(),
3963
- shared: mod.string().array().optional(),
3964
- shareAll: mod.boolean().optional()
3965
- })
3966
- ).default({})
3983
+ categories: mod.record(ConsentFlowTermValidator).default({})
3967
3984
  }).default({}),
3968
3985
  personal: mod.record(mod.string()).default({})
3969
3986
  }).default({}),
@@ -3998,19 +4015,18 @@ var ConsentFlowContractQueryValidator = mod.object({
3998
4015
  personal: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
3999
4016
  }).optional()
4000
4017
  });
4018
+ var ConsentFlowDataQueryValidator = mod.object({
4019
+ anonymize: mod.boolean().optional(),
4020
+ credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
4021
+ personal: mod.record(mod.boolean()).optional()
4022
+ });
4001
4023
  var ConsentFlowTermsQueryValidator = mod.object({
4002
4024
  read: mod.object({
4003
4025
  anonymize: mod.boolean().optional(),
4004
4026
  credentials: mod.object({
4005
4027
  shareAll: mod.boolean().optional(),
4006
4028
  sharing: mod.boolean().optional(),
4007
- categories: mod.record(
4008
- mod.object({
4009
- sharing: mod.boolean().optional(),
4010
- shared: mod.string().array().optional(),
4011
- shareAll: mod.boolean().optional()
4012
- }).optional()
4013
- ).optional()
4029
+ categories: mod.record(ConsentFlowTermValidator.optional()).optional()
4014
4030
  }).optional(),
4015
4031
  personal: mod.record(mod.string()).optional()
4016
4032
  }).optional(),
@@ -4045,3 +4061,31 @@ var ConsentFlowTransactionValidator = mod.object({
4045
4061
  var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
4046
4062
  records: ConsentFlowTransactionValidator.array()
4047
4063
  });
4064
+ var LCNNotificationTypeEnumValidator = mod.enum([
4065
+ "CONNECTION_REQUEST",
4066
+ "CONNECTION_ACCEPTED",
4067
+ "CREDENTIAL_RECEIVED",
4068
+ "CREDENTIAL_ACCEPTED",
4069
+ "BOOST_RECEIVED",
4070
+ "BOOST_ACCEPTED",
4071
+ "PRESENTATION_REQUEST",
4072
+ "PRESENTATION_RECEIVED",
4073
+ "CONSENT_FLOW_TRANSACTION"
4074
+ ]);
4075
+ var LCNNotificationMessageValidator = mod.object({
4076
+ title: mod.string().optional(),
4077
+ body: mod.string().optional()
4078
+ });
4079
+ var LCNNotificationDataValidator = mod.object({
4080
+ vcUris: mod.array(mod.string()).optional(),
4081
+ vpUris: mod.array(mod.string()).optional(),
4082
+ transaction: ConsentFlowTransactionValidator.optional()
4083
+ });
4084
+ var LCNNotificationValidator = mod.object({
4085
+ type: LCNNotificationTypeEnumValidator,
4086
+ to: LCNProfileValidator.partial().and(mod.object({ did: mod.string() })),
4087
+ from: LCNProfileValidator.partial().and(mod.object({ did: mod.string() })),
4088
+ message: LCNNotificationMessageValidator.optional(),
4089
+ data: LCNNotificationDataValidator.optional(),
4090
+ sent: mod.string().datetime().optional()
4091
+ });