@learncard/didkey-plugin 1.1.1 → 1.1.4
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/didkey-plugin.cjs.development.js +154 -11
- package/dist/didkey-plugin.cjs.development.js.map +2 -2
- package/dist/didkey-plugin.cjs.production.min.js +11 -11
- package/dist/didkey-plugin.cjs.production.min.js.map +3 -3
- package/dist/didkey-plugin.esm.js +154 -11
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -14079,6 +14079,10 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14079
14079
|
AddressValidator: /* @__PURE__ */ __name2(() => AddressValidator, "AddressValidator"),
|
|
14080
14080
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name2(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
14081
14081
|
AlignmentValidator: /* @__PURE__ */ __name2(() => AlignmentValidator, "AlignmentValidator"),
|
|
14082
|
+
AppBoostValidator: /* @__PURE__ */ __name2(() => AppBoostValidator, "AppBoostValidator"),
|
|
14083
|
+
AppEventInputValidator: /* @__PURE__ */ __name2(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
14084
|
+
AppEventResponseValidator: /* @__PURE__ */ __name2(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
14085
|
+
AppEventValidator: /* @__PURE__ */ __name2(() => AppEventValidator, "AppEventValidator"),
|
|
14082
14086
|
AppListingStatusValidator: /* @__PURE__ */ __name2(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
14083
14087
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name2(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
14084
14088
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name2(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
@@ -14127,6 +14131,12 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14127
14131
|
CreateManagedFrameworkInputValidator: /* @__PURE__ */ __name2(() => CreateManagedFrameworkInputValidator, "CreateManagedFrameworkInputValidator"),
|
|
14128
14132
|
CreateSkillInputValidator: /* @__PURE__ */ __name2(() => CreateSkillInputValidator, "CreateSkillInputValidator"),
|
|
14129
14133
|
CreateSkillsBatchInputValidator: /* @__PURE__ */ __name2(() => CreateSkillsBatchInputValidator, "CreateSkillsBatchInputValidator"),
|
|
14134
|
+
CredentialActivityEventTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivityEventTypeValidator, "CredentialActivityEventTypeValidator"),
|
|
14135
|
+
CredentialActivityRecipientTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivityRecipientTypeValidator, "CredentialActivityRecipientTypeValidator"),
|
|
14136
|
+
CredentialActivitySourceTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivitySourceTypeValidator, "CredentialActivitySourceTypeValidator"),
|
|
14137
|
+
CredentialActivityStatsValidator: /* @__PURE__ */ __name2(() => CredentialActivityStatsValidator, "CredentialActivityStatsValidator"),
|
|
14138
|
+
CredentialActivityValidator: /* @__PURE__ */ __name2(() => CredentialActivityValidator, "CredentialActivityValidator"),
|
|
14139
|
+
CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name2(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
|
|
14130
14140
|
CredentialInfoValidator: /* @__PURE__ */ __name2(() => CredentialInfoValidator, "CredentialInfoValidator"),
|
|
14131
14141
|
CredentialRecordValidator: /* @__PURE__ */ __name2(() => CredentialRecordValidator, "CredentialRecordValidator"),
|
|
14132
14142
|
CredentialSchemaValidator: /* @__PURE__ */ __name2(() => CredentialSchemaValidator, "CredentialSchemaValidator"),
|
|
@@ -14173,6 +14183,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14173
14183
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name2(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
14174
14184
|
LCNIntegrationCreateValidator: /* @__PURE__ */ __name2(() => LCNIntegrationCreateValidator, "LCNIntegrationCreateValidator"),
|
|
14175
14185
|
LCNIntegrationQueryValidator: /* @__PURE__ */ __name2(() => LCNIntegrationQueryValidator, "LCNIntegrationQueryValidator"),
|
|
14186
|
+
LCNIntegrationStatusEnum: /* @__PURE__ */ __name2(() => LCNIntegrationStatusEnum, "LCNIntegrationStatusEnum"),
|
|
14176
14187
|
LCNIntegrationUpdateValidator: /* @__PURE__ */ __name2(() => LCNIntegrationUpdateValidator, "LCNIntegrationUpdateValidator"),
|
|
14177
14188
|
LCNIntegrationValidator: /* @__PURE__ */ __name2(() => LCNIntegrationValidator, "LCNIntegrationValidator"),
|
|
14178
14189
|
LCNNotificationDataValidator: /* @__PURE__ */ __name2(() => LCNNotificationDataValidator, "LCNNotificationDataValidator"),
|
|
@@ -14201,6 +14212,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14201
14212
|
PaginatedConsentFlowTermsValidator: /* @__PURE__ */ __name2(() => PaginatedConsentFlowTermsValidator, "PaginatedConsentFlowTermsValidator"),
|
|
14202
14213
|
PaginatedConsentFlowTransactionsValidator: /* @__PURE__ */ __name2(() => PaginatedConsentFlowTransactionsValidator, "PaginatedConsentFlowTransactionsValidator"),
|
|
14203
14214
|
PaginatedContractCredentialsValidator: /* @__PURE__ */ __name2(() => PaginatedContractCredentialsValidator, "PaginatedContractCredentialsValidator"),
|
|
14215
|
+
PaginatedCredentialActivitiesValidator: /* @__PURE__ */ __name2(() => PaginatedCredentialActivitiesValidator, "PaginatedCredentialActivitiesValidator"),
|
|
14204
14216
|
PaginatedEncryptedCredentialRecordsValidator: /* @__PURE__ */ __name2(() => PaginatedEncryptedCredentialRecordsValidator, "PaginatedEncryptedCredentialRecordsValidator"),
|
|
14205
14217
|
PaginatedEncryptedRecordsValidator: /* @__PURE__ */ __name2(() => PaginatedEncryptedRecordsValidator, "PaginatedEncryptedRecordsValidator"),
|
|
14206
14218
|
PaginatedInboxCredentialsValidator: /* @__PURE__ */ __name2(() => PaginatedInboxCredentialsValidator, "PaginatedInboxCredentialsValidator"),
|
|
@@ -14228,7 +14240,11 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14228
14240
|
RubricCriterionValidator: /* @__PURE__ */ __name2(() => RubricCriterionValidator, "RubricCriterionValidator"),
|
|
14229
14241
|
SendBoostInputValidator: /* @__PURE__ */ __name2(() => SendBoostInputValidator, "SendBoostInputValidator"),
|
|
14230
14242
|
SendBoostResponseValidator: /* @__PURE__ */ __name2(() => SendBoostResponseValidator, "SendBoostResponseValidator"),
|
|
14243
|
+
SendBrandingOptionsValidator: /* @__PURE__ */ __name2(() => SendBrandingOptionsValidator, "SendBrandingOptionsValidator"),
|
|
14244
|
+
SendCredentialEventValidator: /* @__PURE__ */ __name2(() => SendCredentialEventValidator, "SendCredentialEventValidator"),
|
|
14245
|
+
SendInboxResponseValidator: /* @__PURE__ */ __name2(() => SendInboxResponseValidator, "SendInboxResponseValidator"),
|
|
14231
14246
|
SendInputValidator: /* @__PURE__ */ __name2(() => SendInputValidator, "SendInputValidator"),
|
|
14247
|
+
SendOptionsValidator: /* @__PURE__ */ __name2(() => SendOptionsValidator, "SendOptionsValidator"),
|
|
14232
14248
|
SendResponseValidator: /* @__PURE__ */ __name2(() => SendResponseValidator, "SendResponseValidator"),
|
|
14233
14249
|
SentCredentialInfoValidator: /* @__PURE__ */ __name2(() => SentCredentialInfoValidator, "SentCredentialInfoValidator"),
|
|
14234
14250
|
ServiceValidator: /* @__PURE__ */ __name2(() => ServiceValidator, "ServiceValidator"),
|
|
@@ -28603,7 +28619,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28603
28619
|
var PaginatedClaimHooksValidator = PaginationResponseValidator.extend({
|
|
28604
28620
|
records: FullClaimHookValidator.array()
|
|
28605
28621
|
});
|
|
28606
|
-
var LCNBoostStatus = external_exports2.enum(["DRAFT", "LIVE"]);
|
|
28622
|
+
var LCNBoostStatus = external_exports2.enum(["DRAFT", "PROVISIONAL", "LIVE"]);
|
|
28607
28623
|
var BoostValidator = external_exports2.object({
|
|
28608
28624
|
uri: external_exports2.string(),
|
|
28609
28625
|
name: external_exports2.string().optional(),
|
|
@@ -28687,21 +28703,46 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28687
28703
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
28688
28704
|
skills: external_exports2.array(external_exports2.object({ frameworkId: external_exports2.string(), id: external_exports2.string() })).min(1).optional()
|
|
28689
28705
|
});
|
|
28706
|
+
var SendBrandingOptionsValidator = external_exports2.object({
|
|
28707
|
+
issuerName: external_exports2.string().optional().describe("Name of the issuing organization"),
|
|
28708
|
+
issuerLogoUrl: external_exports2.string().url().optional().describe("Logo URL of the issuing organization"),
|
|
28709
|
+
credentialName: external_exports2.string().optional().describe("Display name for the credential"),
|
|
28710
|
+
recipientName: external_exports2.string().optional().describe("Name of the recipient for personalization")
|
|
28711
|
+
});
|
|
28712
|
+
var SendOptionsValidator = external_exports2.object({
|
|
28713
|
+
webhookUrl: external_exports2.string().url().optional().describe("Webhook URL to receive claim notifications"),
|
|
28714
|
+
suppressDelivery: external_exports2.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),
|
|
28715
|
+
branding: SendBrandingOptionsValidator.optional().describe("Branding for email/SMS delivery")
|
|
28716
|
+
});
|
|
28690
28717
|
var SendBoostInputValidator = external_exports2.object({
|
|
28691
28718
|
type: external_exports2.literal("boost"),
|
|
28692
|
-
recipient: external_exports2.string(),
|
|
28719
|
+
recipient: external_exports2.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),
|
|
28693
28720
|
contractUri: external_exports2.string().optional(),
|
|
28694
28721
|
templateUri: external_exports2.string().optional(),
|
|
28695
28722
|
template: SendBoostTemplateValidator.optional(),
|
|
28696
|
-
signedCredential: VCValidator.optional()
|
|
28723
|
+
signedCredential: VCValidator.optional(),
|
|
28724
|
+
options: SendOptionsValidator.optional().describe(
|
|
28725
|
+
"Options for email/phone recipients (Universal Inbox)"
|
|
28726
|
+
),
|
|
28727
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional(),
|
|
28728
|
+
integrationId: external_exports2.string().optional().describe("Integration ID for activity tracking")
|
|
28697
28729
|
}).refine((data) => data.templateUri || data.template, {
|
|
28698
28730
|
message: "Either templateUri or template creation data must be provided.",
|
|
28699
28731
|
path: ["templateUri"]
|
|
28700
28732
|
});
|
|
28733
|
+
var SendInboxResponseValidator = external_exports2.object({
|
|
28734
|
+
issuanceId: external_exports2.string(),
|
|
28735
|
+
status: external_exports2.enum(["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]),
|
|
28736
|
+
claimUrl: external_exports2.string().url().optional().describe("Present when suppressDelivery=true")
|
|
28737
|
+
});
|
|
28701
28738
|
var SendBoostResponseValidator = external_exports2.object({
|
|
28702
28739
|
type: external_exports2.literal("boost"),
|
|
28703
28740
|
credentialUri: external_exports2.string(),
|
|
28704
|
-
uri: external_exports2.string()
|
|
28741
|
+
uri: external_exports2.string(),
|
|
28742
|
+
activityId: external_exports2.string().describe("Links to the activity lifecycle for this issuance"),
|
|
28743
|
+
inbox: SendInboxResponseValidator.optional().describe(
|
|
28744
|
+
"Present when sent via email/phone (Universal Inbox)"
|
|
28745
|
+
)
|
|
28705
28746
|
});
|
|
28706
28747
|
var SendInputValidator = external_exports2.discriminatedUnion("type", [SendBoostInputValidator]);
|
|
28707
28748
|
var SendResponseValidator = external_exports2.discriminatedUnion("type", [SendBoostResponseValidator]);
|
|
@@ -29053,6 +29094,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29053
29094
|
createdAt: external_exports2.string(),
|
|
29054
29095
|
issuerDid: external_exports2.string(),
|
|
29055
29096
|
webhookUrl: external_exports2.string().optional(),
|
|
29097
|
+
boostUri: external_exports2.string().optional(),
|
|
29098
|
+
activityId: external_exports2.string().optional(),
|
|
29056
29099
|
signingAuthority: external_exports2.object({
|
|
29057
29100
|
endpoint: external_exports2.string().optional(),
|
|
29058
29101
|
name: external_exports2.string().optional()
|
|
@@ -29068,7 +29111,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29068
29111
|
id: external_exports2.string(),
|
|
29069
29112
|
isSigned: external_exports2.boolean(),
|
|
29070
29113
|
isAccepted: external_exports2.boolean().optional(),
|
|
29071
|
-
issuerDid: external_exports2.string()
|
|
29114
|
+
issuerDid: external_exports2.string(),
|
|
29115
|
+
boostUri: external_exports2.string()
|
|
29072
29116
|
}).partial();
|
|
29073
29117
|
var IssueInboxSigningAuthorityValidator = external_exports2.object({
|
|
29074
29118
|
endpoint: external_exports2.string().url(),
|
|
@@ -29078,9 +29122,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29078
29122
|
// === CORE DATA (Required) ===
|
|
29079
29123
|
// WHAT is being sent and WHO is it for?
|
|
29080
29124
|
recipient: ContactMethodQueryValidator.describe("The recipient of the credential"),
|
|
29081
|
-
credential
|
|
29125
|
+
// Either credential OR templateUri must be provided
|
|
29126
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).optional().describe(
|
|
29082
29127
|
"The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."
|
|
29083
29128
|
),
|
|
29129
|
+
templateUri: external_exports2.string().optional().describe(
|
|
29130
|
+
"URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."
|
|
29131
|
+
),
|
|
29084
29132
|
// === OPTIONAL FEATURES ===
|
|
29085
29133
|
// Add major, distinct features at the top level.
|
|
29086
29134
|
//consentRequest: ConsentRequestValidator.optional(),
|
|
@@ -29092,6 +29140,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29092
29140
|
),
|
|
29093
29141
|
webhookUrl: external_exports2.string().url().optional().describe("The webhook URL to receive credential issuance events."),
|
|
29094
29142
|
expiresInDays: external_exports2.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
|
|
29143
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional().describe(
|
|
29144
|
+
"Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."
|
|
29145
|
+
),
|
|
29095
29146
|
// --- For User-Facing Delivery (Email/SMS) ---
|
|
29096
29147
|
delivery: external_exports2.object({
|
|
29097
29148
|
suppress: external_exports2.boolean().optional().default(false).describe(
|
|
@@ -29106,7 +29157,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29106
29157
|
name: external_exports2.string().optional().describe(
|
|
29107
29158
|
'The name of the organization (e.g., "State University").'
|
|
29108
29159
|
),
|
|
29109
|
-
logoUrl: external_exports2.string().url().optional().describe(
|
|
29160
|
+
logoUrl: external_exports2.string().url().optional().describe(
|
|
29161
|
+
"The URL of the organization's logo."
|
|
29162
|
+
)
|
|
29110
29163
|
}).optional(),
|
|
29111
29164
|
credential: external_exports2.object({
|
|
29112
29165
|
name: external_exports2.string().optional().describe(
|
|
@@ -29133,6 +29186,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29133
29186
|
}).optional().describe(
|
|
29134
29187
|
"Configuration for the credential issuance. If not provided, the default configuration will be used."
|
|
29135
29188
|
)
|
|
29189
|
+
}).refine((data) => data.credential || data.templateUri, {
|
|
29190
|
+
message: "Either credential or templateUri must be provided.",
|
|
29191
|
+
path: ["credential"]
|
|
29136
29192
|
});
|
|
29137
29193
|
var IssueInboxCredentialResponseValidator = external_exports2.object({
|
|
29138
29194
|
issuanceId: external_exports2.string(),
|
|
@@ -29160,28 +29216,43 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29160
29216
|
{ message: "Must be a valid http(s) origin" }
|
|
29161
29217
|
)
|
|
29162
29218
|
]);
|
|
29219
|
+
var LCNIntegrationStatusEnum = external_exports2.enum(["setup", "active", "paused"]);
|
|
29163
29220
|
var LCNIntegrationValidator = external_exports2.object({
|
|
29164
29221
|
id: external_exports2.string(),
|
|
29165
29222
|
name: external_exports2.string(),
|
|
29166
29223
|
description: external_exports2.string().optional(),
|
|
29167
29224
|
publishableKey: external_exports2.string(),
|
|
29168
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29225
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29226
|
+
// Setup/onboarding status
|
|
29227
|
+
status: LCNIntegrationStatusEnum.default("setup"),
|
|
29228
|
+
guideType: external_exports2.string().optional(),
|
|
29229
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional(),
|
|
29230
|
+
// Timestamps
|
|
29231
|
+
createdAt: external_exports2.string().optional(),
|
|
29232
|
+
updatedAt: external_exports2.string().optional()
|
|
29169
29233
|
});
|
|
29170
29234
|
var LCNIntegrationCreateValidator = external_exports2.object({
|
|
29171
29235
|
name: external_exports2.string(),
|
|
29172
29236
|
description: external_exports2.string().optional(),
|
|
29173
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29237
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29238
|
+
guideType: external_exports2.string().optional()
|
|
29174
29239
|
});
|
|
29175
29240
|
var LCNIntegrationUpdateValidator = external_exports2.object({
|
|
29176
29241
|
name: external_exports2.string().optional(),
|
|
29177
29242
|
description: external_exports2.string().optional(),
|
|
29178
29243
|
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).optional(),
|
|
29179
|
-
rotatePublishableKey: external_exports2.boolean().optional()
|
|
29244
|
+
rotatePublishableKey: external_exports2.boolean().optional(),
|
|
29245
|
+
// Setup/onboarding updates
|
|
29246
|
+
status: LCNIntegrationStatusEnum.optional(),
|
|
29247
|
+
guideType: external_exports2.string().optional(),
|
|
29248
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional()
|
|
29180
29249
|
});
|
|
29181
29250
|
var LCNIntegrationQueryValidator = external_exports2.object({
|
|
29182
29251
|
id: StringQuery,
|
|
29183
29252
|
name: StringQuery,
|
|
29184
|
-
description: StringQuery
|
|
29253
|
+
description: StringQuery,
|
|
29254
|
+
status: StringQuery,
|
|
29255
|
+
guideType: StringQuery
|
|
29185
29256
|
}).partial();
|
|
29186
29257
|
var PaginatedLCNIntegrationsValidator = PaginationResponseValidator.extend({
|
|
29187
29258
|
records: LCNIntegrationValidator.array()
|
|
@@ -29396,6 +29467,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29396
29467
|
]);
|
|
29397
29468
|
var AppStoreListingValidator = external_exports2.object({
|
|
29398
29469
|
listing_id: external_exports2.string(),
|
|
29470
|
+
slug: external_exports2.string().optional(),
|
|
29399
29471
|
display_name: external_exports2.string(),
|
|
29400
29472
|
tagline: external_exports2.string(),
|
|
29401
29473
|
full_description: external_exports2.string(),
|
|
@@ -29433,6 +29505,77 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29433
29505
|
var PaginatedInstalledAppsValidator = PaginationResponseValidator.extend({
|
|
29434
29506
|
records: InstalledAppValidator.array()
|
|
29435
29507
|
});
|
|
29508
|
+
var AppBoostValidator = external_exports2.object({
|
|
29509
|
+
templateAlias: external_exports2.string().min(1).max(50).regex(/^[a-z0-9-]+$/),
|
|
29510
|
+
boostUri: external_exports2.string()
|
|
29511
|
+
});
|
|
29512
|
+
var SendCredentialEventValidator = external_exports2.object({
|
|
29513
|
+
type: external_exports2.literal("send-credential"),
|
|
29514
|
+
templateAlias: external_exports2.string(),
|
|
29515
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29516
|
+
});
|
|
29517
|
+
var AppEventValidator = external_exports2.discriminatedUnion("type", [SendCredentialEventValidator]);
|
|
29518
|
+
var AppEventInputValidator = external_exports2.object({
|
|
29519
|
+
listingId: external_exports2.string(),
|
|
29520
|
+
event: AppEventValidator
|
|
29521
|
+
});
|
|
29522
|
+
var AppEventResponseValidator = external_exports2.record(external_exports2.string(), external_exports2.unknown());
|
|
29523
|
+
var CredentialActivityEventTypeValidator = external_exports2.enum([
|
|
29524
|
+
"CREATED",
|
|
29525
|
+
"DELIVERED",
|
|
29526
|
+
"CLAIMED",
|
|
29527
|
+
"EXPIRED",
|
|
29528
|
+
"FAILED"
|
|
29529
|
+
]);
|
|
29530
|
+
var CredentialActivityRecipientTypeValidator = external_exports2.enum(["profile", "email", "phone"]);
|
|
29531
|
+
var CredentialActivitySourceTypeValidator = external_exports2.enum([
|
|
29532
|
+
"send",
|
|
29533
|
+
"sendBoost",
|
|
29534
|
+
"sendCredential",
|
|
29535
|
+
"contract",
|
|
29536
|
+
"claim",
|
|
29537
|
+
"inbox",
|
|
29538
|
+
"claimLink",
|
|
29539
|
+
"acceptCredential"
|
|
29540
|
+
]);
|
|
29541
|
+
var CredentialActivityValidator = external_exports2.object({
|
|
29542
|
+
id: external_exports2.string(),
|
|
29543
|
+
activityId: external_exports2.string(),
|
|
29544
|
+
eventType: CredentialActivityEventTypeValidator,
|
|
29545
|
+
timestamp: external_exports2.string(),
|
|
29546
|
+
actorProfileId: external_exports2.string(),
|
|
29547
|
+
recipientType: CredentialActivityRecipientTypeValidator,
|
|
29548
|
+
recipientIdentifier: external_exports2.string(),
|
|
29549
|
+
boostUri: external_exports2.string().optional(),
|
|
29550
|
+
credentialUri: external_exports2.string().optional(),
|
|
29551
|
+
inboxCredentialId: external_exports2.string().optional(),
|
|
29552
|
+
integrationId: external_exports2.string().optional(),
|
|
29553
|
+
source: CredentialActivitySourceTypeValidator,
|
|
29554
|
+
metadata: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29555
|
+
});
|
|
29556
|
+
var CredentialActivityWithDetailsValidator = CredentialActivityValidator.extend({
|
|
29557
|
+
boost: external_exports2.object({
|
|
29558
|
+
id: external_exports2.string(),
|
|
29559
|
+
name: external_exports2.string().optional(),
|
|
29560
|
+
category: external_exports2.string().optional()
|
|
29561
|
+
}).optional(),
|
|
29562
|
+
recipientProfile: external_exports2.object({
|
|
29563
|
+
profileId: external_exports2.string(),
|
|
29564
|
+
displayName: external_exports2.string().optional()
|
|
29565
|
+
}).optional()
|
|
29566
|
+
});
|
|
29567
|
+
var PaginatedCredentialActivitiesValidator = PaginationResponseValidator.extend({
|
|
29568
|
+
records: CredentialActivityWithDetailsValidator.array()
|
|
29569
|
+
});
|
|
29570
|
+
var CredentialActivityStatsValidator = external_exports2.object({
|
|
29571
|
+
total: external_exports2.number(),
|
|
29572
|
+
created: external_exports2.number(),
|
|
29573
|
+
delivered: external_exports2.number(),
|
|
29574
|
+
claimed: external_exports2.number(),
|
|
29575
|
+
expired: external_exports2.number(),
|
|
29576
|
+
failed: external_exports2.number(),
|
|
29577
|
+
claimRate: external_exports2.number()
|
|
29578
|
+
});
|
|
29436
29579
|
}
|
|
29437
29580
|
});
|
|
29438
29581
|
var require_dist = __commonJS2({
|