@learncard/learn-cloud-plugin 1.1.26 → 1.1.28
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/helpers.d.ts +1 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/learn-cloud-plugin.cjs.development.js +275 -2
- package/dist/learn-cloud-plugin.cjs.development.js.map +2 -2
- package/dist/learn-cloud-plugin.cjs.production.min.js +12 -12
- package/dist/learn-cloud-plugin.cjs.production.min.js.map +2 -2
- package/dist/learn-cloud-plugin.esm.js +275 -2
- package/dist/learn-cloud-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts +1 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/test/index.test.d.ts +1 -0
- package/dist/test/index.test.d.ts.map +1 -0
- package/dist/test/mocks/sample-vcs.d.ts +1 -0
- package/dist/test/mocks/sample-vcs.d.ts.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -6918,6 +6918,16 @@ var require_types_cjs_development = __commonJS2({
|
|
|
6918
6918
|
AlignmentValidator: () => AlignmentValidator2,
|
|
6919
6919
|
BoostRecipientValidator: () => BoostRecipientValidator2,
|
|
6920
6920
|
BoostValidator: () => BoostValidator2,
|
|
6921
|
+
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator2,
|
|
6922
|
+
ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator2,
|
|
6923
|
+
ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator2,
|
|
6924
|
+
ConsentFlowContractValidator: () => ConsentFlowContractValidator2,
|
|
6925
|
+
ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator2,
|
|
6926
|
+
ConsentFlowTermsStatusValidator: () => ConsentFlowTermsStatusValidator2,
|
|
6927
|
+
ConsentFlowTermsValidator: () => ConsentFlowTermsValidator2,
|
|
6928
|
+
ConsentFlowTransactionActionValidator: () => ConsentFlowTransactionActionValidator2,
|
|
6929
|
+
ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator2,
|
|
6930
|
+
ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator2,
|
|
6921
6931
|
ContextValidator: () => ContextValidator2,
|
|
6922
6932
|
CredentialInfoValidator: () => CredentialInfoValidator2,
|
|
6923
6933
|
CredentialRecordValidator: () => CredentialRecordValidator2,
|
|
@@ -6951,8 +6961,13 @@ var require_types_cjs_development = __commonJS2({
|
|
|
6951
6961
|
LCNProfileValidator: () => LCNProfileValidator2,
|
|
6952
6962
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator2,
|
|
6953
6963
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator2,
|
|
6964
|
+
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator2,
|
|
6965
|
+
PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator2,
|
|
6966
|
+
PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator2,
|
|
6967
|
+
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator2,
|
|
6954
6968
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator2,
|
|
6955
6969
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator2,
|
|
6970
|
+
PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator2,
|
|
6956
6971
|
PaginationOptionsValidator: () => PaginationOptionsValidator2,
|
|
6957
6972
|
PaginationResponseValidator: () => PaginationResponseValidator2,
|
|
6958
6973
|
ProfileValidator: () => ProfileValidator2,
|
|
@@ -10689,12 +10704,16 @@ var require_types_cjs_development = __commonJS2({
|
|
|
10689
10704
|
var LCNProfileValidator2 = mod2.object({
|
|
10690
10705
|
profileId: mod2.string().min(3).max(40),
|
|
10691
10706
|
displayName: mod2.string().default(""),
|
|
10707
|
+
bio: mod2.string().default(""),
|
|
10692
10708
|
did: mod2.string(),
|
|
10693
10709
|
email: mod2.string().optional(),
|
|
10694
10710
|
image: mod2.string().optional(),
|
|
10695
10711
|
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
10696
10712
|
notificationsWebhook: mod2.string().url().startsWith("https://").optional()
|
|
10697
10713
|
});
|
|
10714
|
+
var PaginatedLCNProfilesValidator2 = PaginationResponseValidator2.extend({
|
|
10715
|
+
records: LCNProfileValidator2.array()
|
|
10716
|
+
});
|
|
10698
10717
|
var LCNProfileConnectionStatusEnum2 = mod2.enum([
|
|
10699
10718
|
"CONNECTED",
|
|
10700
10719
|
"PENDING_REQUEST_SENT",
|
|
@@ -10714,7 +10733,8 @@ var require_types_cjs_development = __commonJS2({
|
|
|
10714
10733
|
name: mod2.string().optional(),
|
|
10715
10734
|
type: mod2.string().optional(),
|
|
10716
10735
|
category: mod2.string().optional(),
|
|
10717
|
-
status: LCNBoostStatus2.optional()
|
|
10736
|
+
status: LCNBoostStatus2.optional(),
|
|
10737
|
+
autoConnectRecipients: mod2.boolean().optional()
|
|
10718
10738
|
});
|
|
10719
10739
|
var BoostRecipientValidator2 = mod2.object({
|
|
10720
10740
|
to: LCNProfileValidator2,
|
|
@@ -10768,6 +10788,130 @@ var require_types_cjs_development = __commonJS2({
|
|
|
10768
10788
|
did: mod2.string()
|
|
10769
10789
|
})
|
|
10770
10790
|
});
|
|
10791
|
+
var ConsentFlowTermsStatusValidator2 = mod2.enum(["live", "stale", "withdrawn"]);
|
|
10792
|
+
var ConsentFlowContractValidator2 = mod2.object({
|
|
10793
|
+
read: mod2.object({
|
|
10794
|
+
anonymize: mod2.boolean().optional(),
|
|
10795
|
+
credentials: mod2.object({ categories: mod2.record(mod2.object({ required: mod2.boolean() })).default({}) }).default({}),
|
|
10796
|
+
personal: mod2.record(mod2.object({ required: mod2.boolean() })).default({})
|
|
10797
|
+
}).default({}),
|
|
10798
|
+
write: mod2.object({
|
|
10799
|
+
credentials: mod2.object({ categories: mod2.record(mod2.object({ required: mod2.boolean() })).default({}) }).default({}),
|
|
10800
|
+
personal: mod2.record(mod2.object({ required: mod2.boolean() })).default({})
|
|
10801
|
+
}).default({})
|
|
10802
|
+
});
|
|
10803
|
+
var ConsentFlowContractDetailsValidator2 = mod2.object({
|
|
10804
|
+
contract: ConsentFlowContractValidator2,
|
|
10805
|
+
owner: LCNProfileValidator2,
|
|
10806
|
+
name: mod2.string(),
|
|
10807
|
+
subtitle: mod2.string().optional(),
|
|
10808
|
+
description: mod2.string().optional(),
|
|
10809
|
+
reasonForAccessing: mod2.string().optional(),
|
|
10810
|
+
image: mod2.string().optional(),
|
|
10811
|
+
uri: mod2.string(),
|
|
10812
|
+
createdAt: mod2.string(),
|
|
10813
|
+
updatedAt: mod2.string(),
|
|
10814
|
+
expiresAt: mod2.string().optional()
|
|
10815
|
+
});
|
|
10816
|
+
var PaginatedConsentFlowContractsValidator2 = PaginationResponseValidator2.extend({
|
|
10817
|
+
records: ConsentFlowContractDetailsValidator2.omit({ owner: true }).array()
|
|
10818
|
+
});
|
|
10819
|
+
var ConsentFlowContractDataValidator2 = mod2.object({
|
|
10820
|
+
credentials: mod2.object({ categories: mod2.record(mod2.string().array()).default({}) }),
|
|
10821
|
+
personal: mod2.record(mod2.string()).default({}),
|
|
10822
|
+
date: mod2.string()
|
|
10823
|
+
});
|
|
10824
|
+
var PaginatedConsentFlowDataValidator2 = PaginationResponseValidator2.extend({
|
|
10825
|
+
records: ConsentFlowContractDataValidator2.array()
|
|
10826
|
+
});
|
|
10827
|
+
var ConsentFlowTermsValidator2 = mod2.object({
|
|
10828
|
+
read: mod2.object({
|
|
10829
|
+
anonymize: mod2.boolean().optional(),
|
|
10830
|
+
credentials: mod2.object({
|
|
10831
|
+
shareAll: mod2.boolean().optional(),
|
|
10832
|
+
sharing: mod2.boolean().optional(),
|
|
10833
|
+
categories: mod2.record(mod2.object({
|
|
10834
|
+
sharing: mod2.boolean().optional(),
|
|
10835
|
+
shared: mod2.string().array().optional(),
|
|
10836
|
+
shareAll: mod2.boolean().optional()
|
|
10837
|
+
})).default({})
|
|
10838
|
+
}).default({}),
|
|
10839
|
+
personal: mod2.record(mod2.string()).default({})
|
|
10840
|
+
}).default({}),
|
|
10841
|
+
write: mod2.object({
|
|
10842
|
+
credentials: mod2.object({ categories: mod2.record(mod2.boolean()).default({}) }).default({}),
|
|
10843
|
+
personal: mod2.record(mod2.boolean()).default({})
|
|
10844
|
+
}).default({})
|
|
10845
|
+
});
|
|
10846
|
+
var PaginatedConsentFlowTermsValidator2 = PaginationResponseValidator2.extend({
|
|
10847
|
+
records: mod2.object({
|
|
10848
|
+
expiresAt: mod2.string().optional(),
|
|
10849
|
+
oneTime: mod2.boolean().optional(),
|
|
10850
|
+
terms: ConsentFlowTermsValidator2,
|
|
10851
|
+
contract: ConsentFlowContractDetailsValidator2,
|
|
10852
|
+
uri: mod2.string(),
|
|
10853
|
+
consenter: LCNProfileValidator2,
|
|
10854
|
+
status: ConsentFlowTermsStatusValidator2
|
|
10855
|
+
}).array()
|
|
10856
|
+
});
|
|
10857
|
+
var ConsentFlowContractQueryValidator2 = mod2.object({
|
|
10858
|
+
read: mod2.object({
|
|
10859
|
+
anonymize: mod2.boolean().optional(),
|
|
10860
|
+
credentials: mod2.object({
|
|
10861
|
+
categories: mod2.record(mod2.object({ required: mod2.boolean().optional() })).optional()
|
|
10862
|
+
}).optional(),
|
|
10863
|
+
personal: mod2.record(mod2.object({ required: mod2.boolean().optional() })).optional()
|
|
10864
|
+
}).optional(),
|
|
10865
|
+
write: mod2.object({
|
|
10866
|
+
credentials: mod2.object({
|
|
10867
|
+
categories: mod2.record(mod2.object({ required: mod2.boolean().optional() })).optional()
|
|
10868
|
+
}).optional(),
|
|
10869
|
+
personal: mod2.record(mod2.object({ required: mod2.boolean().optional() })).optional()
|
|
10870
|
+
}).optional()
|
|
10871
|
+
});
|
|
10872
|
+
var ConsentFlowTermsQueryValidator2 = mod2.object({
|
|
10873
|
+
read: mod2.object({
|
|
10874
|
+
anonymize: mod2.boolean().optional(),
|
|
10875
|
+
credentials: mod2.object({
|
|
10876
|
+
shareAll: mod2.boolean().optional(),
|
|
10877
|
+
sharing: mod2.boolean().optional(),
|
|
10878
|
+
categories: mod2.record(mod2.object({
|
|
10879
|
+
sharing: mod2.boolean().optional(),
|
|
10880
|
+
shared: mod2.string().array().optional(),
|
|
10881
|
+
shareAll: mod2.boolean().optional()
|
|
10882
|
+
}).optional()).optional()
|
|
10883
|
+
}).optional(),
|
|
10884
|
+
personal: mod2.record(mod2.string()).optional()
|
|
10885
|
+
}).optional(),
|
|
10886
|
+
write: mod2.object({
|
|
10887
|
+
credentials: mod2.object({ categories: mod2.record(mod2.boolean()).optional() }).optional(),
|
|
10888
|
+
personal: mod2.record(mod2.boolean()).optional()
|
|
10889
|
+
}).optional()
|
|
10890
|
+
});
|
|
10891
|
+
var ConsentFlowTransactionActionValidator2 = mod2.enum([
|
|
10892
|
+
"consent",
|
|
10893
|
+
"update",
|
|
10894
|
+
"sync",
|
|
10895
|
+
"withdraw"
|
|
10896
|
+
]);
|
|
10897
|
+
var ConsentFlowTransactionsQueryValidator2 = mod2.object({
|
|
10898
|
+
terms: ConsentFlowTermsQueryValidator2.optional(),
|
|
10899
|
+
action: ConsentFlowTransactionActionValidator2.or(ConsentFlowTransactionActionValidator2.array()).optional(),
|
|
10900
|
+
date: mod2.object({ $gt: mod2.string() }).or(mod2.object({ $lt: mod2.string() })).or(mod2.object({ $eq: mod2.string() })).optional(),
|
|
10901
|
+
expiresAt: mod2.object({ $gt: mod2.string() }).or(mod2.object({ $lt: mod2.string() })).or(mod2.object({ $eq: mod2.string() })).optional(),
|
|
10902
|
+
oneTime: mod2.boolean().optional()
|
|
10903
|
+
});
|
|
10904
|
+
var ConsentFlowTransactionValidator2 = mod2.object({
|
|
10905
|
+
expiresAt: mod2.string().optional(),
|
|
10906
|
+
oneTime: mod2.boolean().optional(),
|
|
10907
|
+
terms: ConsentFlowTermsValidator2.optional(),
|
|
10908
|
+
id: mod2.string(),
|
|
10909
|
+
action: ConsentFlowTransactionActionValidator2,
|
|
10910
|
+
date: mod2.string()
|
|
10911
|
+
});
|
|
10912
|
+
var PaginatedConsentFlowTransactionsValidator2 = PaginationResponseValidator2.extend({
|
|
10913
|
+
records: ConsentFlowTransactionValidator2.array()
|
|
10914
|
+
});
|
|
10771
10915
|
}
|
|
10772
10916
|
});
|
|
10773
10917
|
var require_dist = __commonJS2({
|
|
@@ -14471,12 +14615,16 @@ var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.e
|
|
|
14471
14615
|
var LCNProfileValidator = mod.object({
|
|
14472
14616
|
profileId: mod.string().min(3).max(40),
|
|
14473
14617
|
displayName: mod.string().default(""),
|
|
14618
|
+
bio: mod.string().default(""),
|
|
14474
14619
|
did: mod.string(),
|
|
14475
14620
|
email: mod.string().optional(),
|
|
14476
14621
|
image: mod.string().optional(),
|
|
14477
14622
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
14478
14623
|
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
|
14479
14624
|
});
|
|
14625
|
+
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
14626
|
+
records: LCNProfileValidator.array()
|
|
14627
|
+
});
|
|
14480
14628
|
var LCNProfileConnectionStatusEnum = mod.enum([
|
|
14481
14629
|
"CONNECTED",
|
|
14482
14630
|
"PENDING_REQUEST_SENT",
|
|
@@ -14496,7 +14644,8 @@ var BoostValidator = mod.object({
|
|
|
14496
14644
|
name: mod.string().optional(),
|
|
14497
14645
|
type: mod.string().optional(),
|
|
14498
14646
|
category: mod.string().optional(),
|
|
14499
|
-
status: LCNBoostStatus.optional()
|
|
14647
|
+
status: LCNBoostStatus.optional(),
|
|
14648
|
+
autoConnectRecipients: mod.boolean().optional()
|
|
14500
14649
|
});
|
|
14501
14650
|
var BoostRecipientValidator = mod.object({
|
|
14502
14651
|
to: LCNProfileValidator,
|
|
@@ -14550,6 +14699,130 @@ var LCNSigningAuthorityForUserValidator = mod.object({
|
|
|
14550
14699
|
did: mod.string()
|
|
14551
14700
|
})
|
|
14552
14701
|
});
|
|
14702
|
+
var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
|
|
14703
|
+
var ConsentFlowContractValidator = mod.object({
|
|
14704
|
+
read: mod.object({
|
|
14705
|
+
anonymize: mod.boolean().optional(),
|
|
14706
|
+
credentials: mod.object({ categories: mod.record(mod.object({ required: mod.boolean() })).default({}) }).default({}),
|
|
14707
|
+
personal: mod.record(mod.object({ required: mod.boolean() })).default({})
|
|
14708
|
+
}).default({}),
|
|
14709
|
+
write: mod.object({
|
|
14710
|
+
credentials: mod.object({ categories: mod.record(mod.object({ required: mod.boolean() })).default({}) }).default({}),
|
|
14711
|
+
personal: mod.record(mod.object({ required: mod.boolean() })).default({})
|
|
14712
|
+
}).default({})
|
|
14713
|
+
});
|
|
14714
|
+
var ConsentFlowContractDetailsValidator = mod.object({
|
|
14715
|
+
contract: ConsentFlowContractValidator,
|
|
14716
|
+
owner: LCNProfileValidator,
|
|
14717
|
+
name: mod.string(),
|
|
14718
|
+
subtitle: mod.string().optional(),
|
|
14719
|
+
description: mod.string().optional(),
|
|
14720
|
+
reasonForAccessing: mod.string().optional(),
|
|
14721
|
+
image: mod.string().optional(),
|
|
14722
|
+
uri: mod.string(),
|
|
14723
|
+
createdAt: mod.string(),
|
|
14724
|
+
updatedAt: mod.string(),
|
|
14725
|
+
expiresAt: mod.string().optional()
|
|
14726
|
+
});
|
|
14727
|
+
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
14728
|
+
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
14729
|
+
});
|
|
14730
|
+
var ConsentFlowContractDataValidator = mod.object({
|
|
14731
|
+
credentials: mod.object({ categories: mod.record(mod.string().array()).default({}) }),
|
|
14732
|
+
personal: mod.record(mod.string()).default({}),
|
|
14733
|
+
date: mod.string()
|
|
14734
|
+
});
|
|
14735
|
+
var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
|
|
14736
|
+
records: ConsentFlowContractDataValidator.array()
|
|
14737
|
+
});
|
|
14738
|
+
var ConsentFlowTermsValidator = mod.object({
|
|
14739
|
+
read: mod.object({
|
|
14740
|
+
anonymize: mod.boolean().optional(),
|
|
14741
|
+
credentials: mod.object({
|
|
14742
|
+
shareAll: mod.boolean().optional(),
|
|
14743
|
+
sharing: mod.boolean().optional(),
|
|
14744
|
+
categories: mod.record(mod.object({
|
|
14745
|
+
sharing: mod.boolean().optional(),
|
|
14746
|
+
shared: mod.string().array().optional(),
|
|
14747
|
+
shareAll: mod.boolean().optional()
|
|
14748
|
+
})).default({})
|
|
14749
|
+
}).default({}),
|
|
14750
|
+
personal: mod.record(mod.string()).default({})
|
|
14751
|
+
}).default({}),
|
|
14752
|
+
write: mod.object({
|
|
14753
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
|
14754
|
+
personal: mod.record(mod.boolean()).default({})
|
|
14755
|
+
}).default({})
|
|
14756
|
+
});
|
|
14757
|
+
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
|
14758
|
+
records: mod.object({
|
|
14759
|
+
expiresAt: mod.string().optional(),
|
|
14760
|
+
oneTime: mod.boolean().optional(),
|
|
14761
|
+
terms: ConsentFlowTermsValidator,
|
|
14762
|
+
contract: ConsentFlowContractDetailsValidator,
|
|
14763
|
+
uri: mod.string(),
|
|
14764
|
+
consenter: LCNProfileValidator,
|
|
14765
|
+
status: ConsentFlowTermsStatusValidator
|
|
14766
|
+
}).array()
|
|
14767
|
+
});
|
|
14768
|
+
var ConsentFlowContractQueryValidator = mod.object({
|
|
14769
|
+
read: mod.object({
|
|
14770
|
+
anonymize: mod.boolean().optional(),
|
|
14771
|
+
credentials: mod.object({
|
|
14772
|
+
categories: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
|
|
14773
|
+
}).optional(),
|
|
14774
|
+
personal: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
|
|
14775
|
+
}).optional(),
|
|
14776
|
+
write: mod.object({
|
|
14777
|
+
credentials: mod.object({
|
|
14778
|
+
categories: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
|
|
14779
|
+
}).optional(),
|
|
14780
|
+
personal: mod.record(mod.object({ required: mod.boolean().optional() })).optional()
|
|
14781
|
+
}).optional()
|
|
14782
|
+
});
|
|
14783
|
+
var ConsentFlowTermsQueryValidator = mod.object({
|
|
14784
|
+
read: mod.object({
|
|
14785
|
+
anonymize: mod.boolean().optional(),
|
|
14786
|
+
credentials: mod.object({
|
|
14787
|
+
shareAll: mod.boolean().optional(),
|
|
14788
|
+
sharing: mod.boolean().optional(),
|
|
14789
|
+
categories: mod.record(mod.object({
|
|
14790
|
+
sharing: mod.boolean().optional(),
|
|
14791
|
+
shared: mod.string().array().optional(),
|
|
14792
|
+
shareAll: mod.boolean().optional()
|
|
14793
|
+
}).optional()).optional()
|
|
14794
|
+
}).optional(),
|
|
14795
|
+
personal: mod.record(mod.string()).optional()
|
|
14796
|
+
}).optional(),
|
|
14797
|
+
write: mod.object({
|
|
14798
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
14799
|
+
personal: mod.record(mod.boolean()).optional()
|
|
14800
|
+
}).optional()
|
|
14801
|
+
});
|
|
14802
|
+
var ConsentFlowTransactionActionValidator = mod.enum([
|
|
14803
|
+
"consent",
|
|
14804
|
+
"update",
|
|
14805
|
+
"sync",
|
|
14806
|
+
"withdraw"
|
|
14807
|
+
]);
|
|
14808
|
+
var ConsentFlowTransactionsQueryValidator = mod.object({
|
|
14809
|
+
terms: ConsentFlowTermsQueryValidator.optional(),
|
|
14810
|
+
action: ConsentFlowTransactionActionValidator.or(ConsentFlowTransactionActionValidator.array()).optional(),
|
|
14811
|
+
date: mod.object({ $gt: mod.string() }).or(mod.object({ $lt: mod.string() })).or(mod.object({ $eq: mod.string() })).optional(),
|
|
14812
|
+
expiresAt: mod.object({ $gt: mod.string() }).or(mod.object({ $lt: mod.string() })).or(mod.object({ $eq: mod.string() })).optional(),
|
|
14813
|
+
oneTime: mod.boolean().optional()
|
|
14814
|
+
});
|
|
14815
|
+
var ConsentFlowTransactionValidator = mod.object({
|
|
14816
|
+
expiresAt: mod.string().optional(),
|
|
14817
|
+
oneTime: mod.boolean().optional(),
|
|
14818
|
+
terms: ConsentFlowTermsValidator.optional(),
|
|
14819
|
+
id: mod.string(),
|
|
14820
|
+
action: ConsentFlowTransactionActionValidator,
|
|
14821
|
+
date: mod.string()
|
|
14822
|
+
});
|
|
14823
|
+
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
|
14824
|
+
records: ConsentFlowTransactionValidator.array()
|
|
14825
|
+
});
|
|
14553
14826
|
|
|
14554
14827
|
// src/helpers.ts
|
|
14555
14828
|
var import_json_stringify_deterministic = __toESM(require_lib());
|