@learncard/types 5.4.0 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
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;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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ErF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpD,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,yCAAyC,CACnD,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"}
@@ -31,6 +31,16 @@ __export(src_exports, {
31
31
  AlignmentValidator: () => AlignmentValidator,
32
32
  BoostRecipientValidator: () => BoostRecipientValidator,
33
33
  BoostValidator: () => BoostValidator,
34
+ ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
35
+ ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
36
+ ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
37
+ ConsentFlowContractValidator: () => ConsentFlowContractValidator,
38
+ ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
39
+ ConsentFlowTermsStatusValidator: () => ConsentFlowTermsStatusValidator,
40
+ ConsentFlowTermsValidator: () => ConsentFlowTermsValidator,
41
+ ConsentFlowTransactionActionValidator: () => ConsentFlowTransactionActionValidator,
42
+ ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator,
43
+ ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator,
34
44
  ContextValidator: () => ContextValidator,
35
45
  CredentialInfoValidator: () => CredentialInfoValidator,
36
46
  CredentialRecordValidator: () => CredentialRecordValidator,
@@ -64,6 +74,10 @@ __export(src_exports, {
64
74
  LCNProfileValidator: () => LCNProfileValidator,
65
75
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
66
76
  LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
77
+ PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
78
+ PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator,
79
+ PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator,
80
+ PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
67
81
  PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
68
82
  PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
69
83
  PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator,
@@ -3763,7 +3777,8 @@ var CredentialRecordValidator = mod.object({ id: mod.string(), uri: mod.string()
3763
3777
  // src/mongo.ts
3764
3778
  var PaginationOptionsValidator = mod.object({
3765
3779
  limit: mod.number(),
3766
- cursor: mod.string().optional()
3780
+ cursor: mod.string().optional(),
3781
+ sort: mod.string().optional()
3767
3782
  });
3768
3783
  var PaginationResponseValidator = mod.object({
3769
3784
  cursor: mod.string().optional(),
@@ -3817,6 +3832,7 @@ var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.e
3817
3832
  var LCNProfileValidator = mod.object({
3818
3833
  profileId: mod.string().min(3).max(40),
3819
3834
  displayName: mod.string().default(""),
3835
+ bio: mod.string().default(""),
3820
3836
  did: mod.string(),
3821
3837
  email: mod.string().optional(),
3822
3838
  image: mod.string().optional(),
@@ -3900,3 +3916,133 @@ var LCNSigningAuthorityForUserValidator = mod.object({
3900
3916
  did: mod.string()
3901
3917
  })
3902
3918
  });
3919
+ var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
3920
+ var ConsentFlowContractValidator = mod.object({
3921
+ read: mod.object({
3922
+ anonymize: mod.boolean().optional(),
3923
+ credentials: mod.object({ categories: mod.record(mod.object({ required: mod.boolean() })).default({}) }).default({}),
3924
+ personal: mod.record(mod.object({ required: mod.boolean() })).default({})
3925
+ }).default({}),
3926
+ write: mod.object({
3927
+ credentials: mod.object({ categories: mod.record(mod.object({ required: mod.boolean() })).default({}) }).default({}),
3928
+ personal: mod.record(mod.object({ required: mod.boolean() })).default({})
3929
+ }).default({})
3930
+ });
3931
+ var ConsentFlowContractDetailsValidator = mod.object({
3932
+ contract: ConsentFlowContractValidator,
3933
+ owner: LCNProfileValidator,
3934
+ name: mod.string(),
3935
+ subtitle: mod.string().optional(),
3936
+ description: mod.string().optional(),
3937
+ reasonForAccessing: mod.string().optional(),
3938
+ image: mod.string().optional(),
3939
+ uri: mod.string(),
3940
+ createdAt: mod.string(),
3941
+ updatedAt: mod.string(),
3942
+ expiresAt: mod.string().optional()
3943
+ });
3944
+ var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
3945
+ records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
3946
+ });
3947
+ var ConsentFlowContractDataValidator = mod.object({
3948
+ credentials: mod.object({ categories: mod.record(mod.string().array()).default({}) }),
3949
+ personal: mod.record(mod.string()).default({}),
3950
+ date: mod.string()
3951
+ });
3952
+ var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
3953
+ records: ConsentFlowContractDataValidator.array()
3954
+ });
3955
+ var ConsentFlowTermsValidator = mod.object({
3956
+ read: mod.object({
3957
+ anonymize: mod.boolean().optional(),
3958
+ credentials: mod.object({
3959
+ shareAll: mod.boolean().optional(),
3960
+ sharing: mod.boolean().optional(),
3961
+ categories: mod.record(
3962
+ mod.object({
3963
+ sharing: mod.boolean().optional(),
3964
+ shared: mod.string().array().optional(),
3965
+ shareAll: mod.boolean().optional()
3966
+ })
3967
+ ).default({})
3968
+ }).default({}),
3969
+ personal: mod.record(mod.string()).default({})
3970
+ }).default({}),
3971
+ write: mod.object({
3972
+ credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
3973
+ personal: mod.record(mod.boolean()).default({})
3974
+ }).default({})
3975
+ });
3976
+ var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
3977
+ records: mod.object({
3978
+ expiresAt: mod.string().optional(),
3979
+ oneTime: mod.boolean().optional(),
3980
+ terms: ConsentFlowTermsValidator,
3981
+ contract: ConsentFlowContractDetailsValidator,
3982
+ uri: mod.string(),
3983
+ consenter: LCNProfileValidator,
3984
+ status: ConsentFlowTermsStatusValidator
3985
+ }).array()
3986
+ });
3987
+ var ConsentFlowContractQueryValidator = mod.object({
3988
+ read: mod.object({
3989
+ anonymize: mod.boolean().optional(),
3990
+ credentials: mod.object({
3991
+ categories: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
3992
+ }).optional(),
3993
+ personal: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
3994
+ }).optional(),
3995
+ write: mod.object({
3996
+ credentials: mod.object({
3997
+ categories: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
3998
+ }).optional(),
3999
+ personal: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
4000
+ }).optional()
4001
+ });
4002
+ var ConsentFlowTermsQueryValidator = mod.object({
4003
+ read: mod.object({
4004
+ anonymize: mod.boolean().optional(),
4005
+ credentials: mod.object({
4006
+ shareAll: mod.boolean().optional(),
4007
+ sharing: mod.boolean().optional(),
4008
+ categories: mod.record(
4009
+ mod.object({
4010
+ sharing: mod.boolean().optional(),
4011
+ shared: mod.string().array().optional(),
4012
+ shareAll: mod.boolean().optional()
4013
+ }).optional()
4014
+ ).optional()
4015
+ }).optional(),
4016
+ personal: mod.record(mod.string()).optional()
4017
+ }).optional(),
4018
+ write: mod.object({
4019
+ credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
4020
+ personal: mod.record(mod.boolean()).optional()
4021
+ }).optional()
4022
+ });
4023
+ var ConsentFlowTransactionActionValidator = mod.enum([
4024
+ "consent",
4025
+ "update",
4026
+ "sync",
4027
+ "withdraw"
4028
+ ]);
4029
+ var ConsentFlowTransactionsQueryValidator = mod.object({
4030
+ terms: ConsentFlowTermsQueryValidator.optional(),
4031
+ action: ConsentFlowTransactionActionValidator.or(
4032
+ ConsentFlowTransactionActionValidator.array()
4033
+ ).optional(),
4034
+ date: mod.object({ $gt: mod.string() }).or(mod.object({ $lt: mod.string() })).or(mod.object({ $eq: mod.string() })).optional(),
4035
+ expiresAt: mod.object({ $gt: mod.string() }).or(mod.object({ $lt: mod.string() })).or(mod.object({ $eq: mod.string() })).optional(),
4036
+ oneTime: mod.boolean().optional()
4037
+ });
4038
+ var ConsentFlowTransactionValidator = mod.object({
4039
+ expiresAt: mod.string().optional(),
4040
+ oneTime: mod.boolean().optional(),
4041
+ terms: ConsentFlowTermsValidator.optional(),
4042
+ id: mod.string(),
4043
+ action: ConsentFlowTransactionActionValidator,
4044
+ date: mod.string()
4045
+ });
4046
+ var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
4047
+ records: ConsentFlowTransactionValidator.array()
4048
+ });