@learncard/learn-cloud-plugin 1.1.26 → 1.1.27

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 CHANGED
@@ -5,3 +5,4 @@ export declare const generateJWE: (learnCard: LearnCloudDependentLearnCard, lear
5
5
  export declare const decryptJWE: <T>(learnCard: LearnCloudDependentLearnCard, jwe: JWE) => Promise<T>;
6
6
  export declare const generateEncryptedFieldsArray: (learnCard: LearnCloudDependentLearnCard, record: Record<string, any>, unencryptedFields?: string[]) => Promise<string[]>;
7
7
  export declare const generateEncryptedRecord: (learnCard: LearnCloudDependentLearnCard, record: Record<string, any>, unencryptedFields?: string[]) => Promise<EncryptedRecord>;
8
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,IAAI,cACF,4BAA4B,WAC9B,MAAM,KAChB,QAAQ,MAAM,CAoBhB,CAAC;AAEF,eAAO,MAAM,WAAW,cACT,4BAA4B,iBACxB,MAAM,QACf,GAAG,KACV,QAAQ,GAAG,CAEb,CAAC;AAEF,eAAO,MAAM,UAAU,iBACR,4BAA4B,OAClC,GAAG,eAGX,CAAC;AAEF,eAAO,MAAM,4BAA4B,cAC1B,4BAA4B,UAC/B,OAAO,MAAM,EAAE,GAAG,CAAC,sBACR,MAAM,EAAE,KAC5B,QAAQ,MAAM,EAAE,CAgBlB,CAAC;AAEF,eAAO,MAAM,uBAAuB,cACrB,4BAA4B,UAC/B,OAAO,MAAM,EAAE,GAAG,CAAC,sBACR,MAAM,EAAE,KAC5B,QAAQ,eAAe,CAYzB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './types';
2
2
  export * from './plugin';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -6965,6 +6965,7 @@ var require_types_cjs_development = __commonJS2({
6965
6965
  LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator2,
6966
6966
  PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator2,
6967
6967
  PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator2,
6968
+ PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator2,
6968
6969
  PaginationOptionsValidator: () => PaginationOptionsValidator2,
6969
6970
  PaginationResponseValidator: () => PaginationResponseValidator2,
6970
6971
  ProfileValidator: () => ProfileValidator2,
@@ -10707,6 +10708,9 @@ var require_types_cjs_development = __commonJS2({
10707
10708
  isServiceProfile: mod2.boolean().default(false).optional(),
10708
10709
  notificationsWebhook: mod2.string().url().startsWith("https://").optional()
10709
10710
  });
10711
+ var PaginatedLCNProfilesValidator2 = PaginationResponseValidator2.extend({
10712
+ records: LCNProfileValidator2.array()
10713
+ });
10710
10714
  var LCNProfileConnectionStatusEnum2 = mod2.enum([
10711
10715
  "CONNECTED",
10712
10716
  "PENDING_REQUEST_SENT",
@@ -10726,7 +10730,8 @@ var require_types_cjs_development = __commonJS2({
10726
10730
  name: mod2.string().optional(),
10727
10731
  type: mod2.string().optional(),
10728
10732
  category: mod2.string().optional(),
10729
- status: LCNBoostStatus2.optional()
10733
+ status: LCNBoostStatus2.optional(),
10734
+ autoConnectRecipients: mod2.boolean().optional()
10730
10735
  });
10731
10736
  var BoostRecipientValidator2 = mod2.object({
10732
10737
  to: LCNProfileValidator2,
@@ -14489,6 +14494,9 @@ var LCNProfileValidator = mod.object({
14489
14494
  isServiceProfile: mod.boolean().default(false).optional(),
14490
14495
  notificationsWebhook: mod.string().url().startsWith("https://").optional()
14491
14496
  });
14497
+ var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
14498
+ records: LCNProfileValidator.array()
14499
+ });
14492
14500
  var LCNProfileConnectionStatusEnum = mod.enum([
14493
14501
  "CONNECTED",
14494
14502
  "PENDING_REQUEST_SENT",
@@ -14508,7 +14516,8 @@ var BoostValidator = mod.object({
14508
14516
  name: mod.string().optional(),
14509
14517
  type: mod.string().optional(),
14510
14518
  category: mod.string().optional(),
14511
- status: LCNBoostStatus.optional()
14519
+ status: LCNBoostStatus.optional(),
14520
+ autoConnectRecipients: mod.boolean().optional()
14512
14521
  });
14513
14522
  var BoostRecipientValidator = mod.object({
14514
14523
  to: LCNProfileValidator,