@learncard/didkey-plugin 1.1.2 → 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 +153 -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 +153 -11
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -14070,6 +14070,10 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14070
14070
|
AddressValidator: /* @__PURE__ */ __name2(() => AddressValidator, "AddressValidator"),
|
|
14071
14071
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name2(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
14072
14072
|
AlignmentValidator: /* @__PURE__ */ __name2(() => AlignmentValidator, "AlignmentValidator"),
|
|
14073
|
+
AppBoostValidator: /* @__PURE__ */ __name2(() => AppBoostValidator, "AppBoostValidator"),
|
|
14074
|
+
AppEventInputValidator: /* @__PURE__ */ __name2(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
14075
|
+
AppEventResponseValidator: /* @__PURE__ */ __name2(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
14076
|
+
AppEventValidator: /* @__PURE__ */ __name2(() => AppEventValidator, "AppEventValidator"),
|
|
14073
14077
|
AppListingStatusValidator: /* @__PURE__ */ __name2(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
14074
14078
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name2(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
14075
14079
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name2(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
@@ -14118,6 +14122,12 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14118
14122
|
CreateManagedFrameworkInputValidator: /* @__PURE__ */ __name2(() => CreateManagedFrameworkInputValidator, "CreateManagedFrameworkInputValidator"),
|
|
14119
14123
|
CreateSkillInputValidator: /* @__PURE__ */ __name2(() => CreateSkillInputValidator, "CreateSkillInputValidator"),
|
|
14120
14124
|
CreateSkillsBatchInputValidator: /* @__PURE__ */ __name2(() => CreateSkillsBatchInputValidator, "CreateSkillsBatchInputValidator"),
|
|
14125
|
+
CredentialActivityEventTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivityEventTypeValidator, "CredentialActivityEventTypeValidator"),
|
|
14126
|
+
CredentialActivityRecipientTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivityRecipientTypeValidator, "CredentialActivityRecipientTypeValidator"),
|
|
14127
|
+
CredentialActivitySourceTypeValidator: /* @__PURE__ */ __name2(() => CredentialActivitySourceTypeValidator, "CredentialActivitySourceTypeValidator"),
|
|
14128
|
+
CredentialActivityStatsValidator: /* @__PURE__ */ __name2(() => CredentialActivityStatsValidator, "CredentialActivityStatsValidator"),
|
|
14129
|
+
CredentialActivityValidator: /* @__PURE__ */ __name2(() => CredentialActivityValidator, "CredentialActivityValidator"),
|
|
14130
|
+
CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name2(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
|
|
14121
14131
|
CredentialInfoValidator: /* @__PURE__ */ __name2(() => CredentialInfoValidator, "CredentialInfoValidator"),
|
|
14122
14132
|
CredentialRecordValidator: /* @__PURE__ */ __name2(() => CredentialRecordValidator, "CredentialRecordValidator"),
|
|
14123
14133
|
CredentialSchemaValidator: /* @__PURE__ */ __name2(() => CredentialSchemaValidator, "CredentialSchemaValidator"),
|
|
@@ -14164,6 +14174,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14164
14174
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name2(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
14165
14175
|
LCNIntegrationCreateValidator: /* @__PURE__ */ __name2(() => LCNIntegrationCreateValidator, "LCNIntegrationCreateValidator"),
|
|
14166
14176
|
LCNIntegrationQueryValidator: /* @__PURE__ */ __name2(() => LCNIntegrationQueryValidator, "LCNIntegrationQueryValidator"),
|
|
14177
|
+
LCNIntegrationStatusEnum: /* @__PURE__ */ __name2(() => LCNIntegrationStatusEnum, "LCNIntegrationStatusEnum"),
|
|
14167
14178
|
LCNIntegrationUpdateValidator: /* @__PURE__ */ __name2(() => LCNIntegrationUpdateValidator, "LCNIntegrationUpdateValidator"),
|
|
14168
14179
|
LCNIntegrationValidator: /* @__PURE__ */ __name2(() => LCNIntegrationValidator, "LCNIntegrationValidator"),
|
|
14169
14180
|
LCNNotificationDataValidator: /* @__PURE__ */ __name2(() => LCNNotificationDataValidator, "LCNNotificationDataValidator"),
|
|
@@ -14192,6 +14203,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14192
14203
|
PaginatedConsentFlowTermsValidator: /* @__PURE__ */ __name2(() => PaginatedConsentFlowTermsValidator, "PaginatedConsentFlowTermsValidator"),
|
|
14193
14204
|
PaginatedConsentFlowTransactionsValidator: /* @__PURE__ */ __name2(() => PaginatedConsentFlowTransactionsValidator, "PaginatedConsentFlowTransactionsValidator"),
|
|
14194
14205
|
PaginatedContractCredentialsValidator: /* @__PURE__ */ __name2(() => PaginatedContractCredentialsValidator, "PaginatedContractCredentialsValidator"),
|
|
14206
|
+
PaginatedCredentialActivitiesValidator: /* @__PURE__ */ __name2(() => PaginatedCredentialActivitiesValidator, "PaginatedCredentialActivitiesValidator"),
|
|
14195
14207
|
PaginatedEncryptedCredentialRecordsValidator: /* @__PURE__ */ __name2(() => PaginatedEncryptedCredentialRecordsValidator, "PaginatedEncryptedCredentialRecordsValidator"),
|
|
14196
14208
|
PaginatedEncryptedRecordsValidator: /* @__PURE__ */ __name2(() => PaginatedEncryptedRecordsValidator, "PaginatedEncryptedRecordsValidator"),
|
|
14197
14209
|
PaginatedInboxCredentialsValidator: /* @__PURE__ */ __name2(() => PaginatedInboxCredentialsValidator, "PaginatedInboxCredentialsValidator"),
|
|
@@ -14219,7 +14231,11 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14219
14231
|
RubricCriterionValidator: /* @__PURE__ */ __name2(() => RubricCriterionValidator, "RubricCriterionValidator"),
|
|
14220
14232
|
SendBoostInputValidator: /* @__PURE__ */ __name2(() => SendBoostInputValidator, "SendBoostInputValidator"),
|
|
14221
14233
|
SendBoostResponseValidator: /* @__PURE__ */ __name2(() => SendBoostResponseValidator, "SendBoostResponseValidator"),
|
|
14234
|
+
SendBrandingOptionsValidator: /* @__PURE__ */ __name2(() => SendBrandingOptionsValidator, "SendBrandingOptionsValidator"),
|
|
14235
|
+
SendCredentialEventValidator: /* @__PURE__ */ __name2(() => SendCredentialEventValidator, "SendCredentialEventValidator"),
|
|
14236
|
+
SendInboxResponseValidator: /* @__PURE__ */ __name2(() => SendInboxResponseValidator, "SendInboxResponseValidator"),
|
|
14222
14237
|
SendInputValidator: /* @__PURE__ */ __name2(() => SendInputValidator, "SendInputValidator"),
|
|
14238
|
+
SendOptionsValidator: /* @__PURE__ */ __name2(() => SendOptionsValidator, "SendOptionsValidator"),
|
|
14223
14239
|
SendResponseValidator: /* @__PURE__ */ __name2(() => SendResponseValidator, "SendResponseValidator"),
|
|
14224
14240
|
SentCredentialInfoValidator: /* @__PURE__ */ __name2(() => SentCredentialInfoValidator, "SentCredentialInfoValidator"),
|
|
14225
14241
|
ServiceValidator: /* @__PURE__ */ __name2(() => ServiceValidator, "ServiceValidator"),
|
|
@@ -28594,7 +28610,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28594
28610
|
var PaginatedClaimHooksValidator = PaginationResponseValidator.extend({
|
|
28595
28611
|
records: FullClaimHookValidator.array()
|
|
28596
28612
|
});
|
|
28597
|
-
var LCNBoostStatus = external_exports2.enum(["DRAFT", "LIVE"]);
|
|
28613
|
+
var LCNBoostStatus = external_exports2.enum(["DRAFT", "PROVISIONAL", "LIVE"]);
|
|
28598
28614
|
var BoostValidator = external_exports2.object({
|
|
28599
28615
|
uri: external_exports2.string(),
|
|
28600
28616
|
name: external_exports2.string().optional(),
|
|
@@ -28678,22 +28694,46 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28678
28694
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
28679
28695
|
skills: external_exports2.array(external_exports2.object({ frameworkId: external_exports2.string(), id: external_exports2.string() })).min(1).optional()
|
|
28680
28696
|
});
|
|
28697
|
+
var SendBrandingOptionsValidator = external_exports2.object({
|
|
28698
|
+
issuerName: external_exports2.string().optional().describe("Name of the issuing organization"),
|
|
28699
|
+
issuerLogoUrl: external_exports2.string().url().optional().describe("Logo URL of the issuing organization"),
|
|
28700
|
+
credentialName: external_exports2.string().optional().describe("Display name for the credential"),
|
|
28701
|
+
recipientName: external_exports2.string().optional().describe("Name of the recipient for personalization")
|
|
28702
|
+
});
|
|
28703
|
+
var SendOptionsValidator = external_exports2.object({
|
|
28704
|
+
webhookUrl: external_exports2.string().url().optional().describe("Webhook URL to receive claim notifications"),
|
|
28705
|
+
suppressDelivery: external_exports2.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),
|
|
28706
|
+
branding: SendBrandingOptionsValidator.optional().describe("Branding for email/SMS delivery")
|
|
28707
|
+
});
|
|
28681
28708
|
var SendBoostInputValidator = external_exports2.object({
|
|
28682
28709
|
type: external_exports2.literal("boost"),
|
|
28683
|
-
recipient: external_exports2.string(),
|
|
28710
|
+
recipient: external_exports2.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),
|
|
28684
28711
|
contractUri: external_exports2.string().optional(),
|
|
28685
28712
|
templateUri: external_exports2.string().optional(),
|
|
28686
28713
|
template: SendBoostTemplateValidator.optional(),
|
|
28687
28714
|
signedCredential: VCValidator.optional(),
|
|
28688
|
-
|
|
28715
|
+
options: SendOptionsValidator.optional().describe(
|
|
28716
|
+
"Options for email/phone recipients (Universal Inbox)"
|
|
28717
|
+
),
|
|
28718
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional(),
|
|
28719
|
+
integrationId: external_exports2.string().optional().describe("Integration ID for activity tracking")
|
|
28689
28720
|
}).refine((data) => data.templateUri || data.template, {
|
|
28690
28721
|
message: "Either templateUri or template creation data must be provided.",
|
|
28691
28722
|
path: ["templateUri"]
|
|
28692
28723
|
});
|
|
28724
|
+
var SendInboxResponseValidator = external_exports2.object({
|
|
28725
|
+
issuanceId: external_exports2.string(),
|
|
28726
|
+
status: external_exports2.enum(["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]),
|
|
28727
|
+
claimUrl: external_exports2.string().url().optional().describe("Present when suppressDelivery=true")
|
|
28728
|
+
});
|
|
28693
28729
|
var SendBoostResponseValidator = external_exports2.object({
|
|
28694
28730
|
type: external_exports2.literal("boost"),
|
|
28695
28731
|
credentialUri: external_exports2.string(),
|
|
28696
|
-
uri: external_exports2.string()
|
|
28732
|
+
uri: external_exports2.string(),
|
|
28733
|
+
activityId: external_exports2.string().describe("Links to the activity lifecycle for this issuance"),
|
|
28734
|
+
inbox: SendInboxResponseValidator.optional().describe(
|
|
28735
|
+
"Present when sent via email/phone (Universal Inbox)"
|
|
28736
|
+
)
|
|
28697
28737
|
});
|
|
28698
28738
|
var SendInputValidator = external_exports2.discriminatedUnion("type", [SendBoostInputValidator]);
|
|
28699
28739
|
var SendResponseValidator = external_exports2.discriminatedUnion("type", [SendBoostResponseValidator]);
|
|
@@ -29045,6 +29085,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29045
29085
|
createdAt: external_exports2.string(),
|
|
29046
29086
|
issuerDid: external_exports2.string(),
|
|
29047
29087
|
webhookUrl: external_exports2.string().optional(),
|
|
29088
|
+
boostUri: external_exports2.string().optional(),
|
|
29089
|
+
activityId: external_exports2.string().optional(),
|
|
29048
29090
|
signingAuthority: external_exports2.object({
|
|
29049
29091
|
endpoint: external_exports2.string().optional(),
|
|
29050
29092
|
name: external_exports2.string().optional()
|
|
@@ -29060,7 +29102,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29060
29102
|
id: external_exports2.string(),
|
|
29061
29103
|
isSigned: external_exports2.boolean(),
|
|
29062
29104
|
isAccepted: external_exports2.boolean().optional(),
|
|
29063
|
-
issuerDid: external_exports2.string()
|
|
29105
|
+
issuerDid: external_exports2.string(),
|
|
29106
|
+
boostUri: external_exports2.string()
|
|
29064
29107
|
}).partial();
|
|
29065
29108
|
var IssueInboxSigningAuthorityValidator = external_exports2.object({
|
|
29066
29109
|
endpoint: external_exports2.string().url(),
|
|
@@ -29070,9 +29113,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29070
29113
|
// === CORE DATA (Required) ===
|
|
29071
29114
|
// WHAT is being sent and WHO is it for?
|
|
29072
29115
|
recipient: ContactMethodQueryValidator.describe("The recipient of the credential"),
|
|
29073
|
-
credential
|
|
29116
|
+
// Either credential OR templateUri must be provided
|
|
29117
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).optional().describe(
|
|
29074
29118
|
"The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."
|
|
29075
29119
|
),
|
|
29120
|
+
templateUri: external_exports2.string().optional().describe(
|
|
29121
|
+
"URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."
|
|
29122
|
+
),
|
|
29076
29123
|
// === OPTIONAL FEATURES ===
|
|
29077
29124
|
// Add major, distinct features at the top level.
|
|
29078
29125
|
//consentRequest: ConsentRequestValidator.optional(),
|
|
@@ -29084,6 +29131,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29084
29131
|
),
|
|
29085
29132
|
webhookUrl: external_exports2.string().url().optional().describe("The webhook URL to receive credential issuance events."),
|
|
29086
29133
|
expiresInDays: external_exports2.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
|
|
29134
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional().describe(
|
|
29135
|
+
"Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."
|
|
29136
|
+
),
|
|
29087
29137
|
// --- For User-Facing Delivery (Email/SMS) ---
|
|
29088
29138
|
delivery: external_exports2.object({
|
|
29089
29139
|
suppress: external_exports2.boolean().optional().default(false).describe(
|
|
@@ -29098,7 +29148,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29098
29148
|
name: external_exports2.string().optional().describe(
|
|
29099
29149
|
'The name of the organization (e.g., "State University").'
|
|
29100
29150
|
),
|
|
29101
|
-
logoUrl: external_exports2.string().url().optional().describe(
|
|
29151
|
+
logoUrl: external_exports2.string().url().optional().describe(
|
|
29152
|
+
"The URL of the organization's logo."
|
|
29153
|
+
)
|
|
29102
29154
|
}).optional(),
|
|
29103
29155
|
credential: external_exports2.object({
|
|
29104
29156
|
name: external_exports2.string().optional().describe(
|
|
@@ -29125,6 +29177,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29125
29177
|
}).optional().describe(
|
|
29126
29178
|
"Configuration for the credential issuance. If not provided, the default configuration will be used."
|
|
29127
29179
|
)
|
|
29180
|
+
}).refine((data) => data.credential || data.templateUri, {
|
|
29181
|
+
message: "Either credential or templateUri must be provided.",
|
|
29182
|
+
path: ["credential"]
|
|
29128
29183
|
});
|
|
29129
29184
|
var IssueInboxCredentialResponseValidator = external_exports2.object({
|
|
29130
29185
|
issuanceId: external_exports2.string(),
|
|
@@ -29152,28 +29207,43 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29152
29207
|
{ message: "Must be a valid http(s) origin" }
|
|
29153
29208
|
)
|
|
29154
29209
|
]);
|
|
29210
|
+
var LCNIntegrationStatusEnum = external_exports2.enum(["setup", "active", "paused"]);
|
|
29155
29211
|
var LCNIntegrationValidator = external_exports2.object({
|
|
29156
29212
|
id: external_exports2.string(),
|
|
29157
29213
|
name: external_exports2.string(),
|
|
29158
29214
|
description: external_exports2.string().optional(),
|
|
29159
29215
|
publishableKey: external_exports2.string(),
|
|
29160
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29216
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29217
|
+
// Setup/onboarding status
|
|
29218
|
+
status: LCNIntegrationStatusEnum.default("setup"),
|
|
29219
|
+
guideType: external_exports2.string().optional(),
|
|
29220
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional(),
|
|
29221
|
+
// Timestamps
|
|
29222
|
+
createdAt: external_exports2.string().optional(),
|
|
29223
|
+
updatedAt: external_exports2.string().optional()
|
|
29161
29224
|
});
|
|
29162
29225
|
var LCNIntegrationCreateValidator = external_exports2.object({
|
|
29163
29226
|
name: external_exports2.string(),
|
|
29164
29227
|
description: external_exports2.string().optional(),
|
|
29165
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29228
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29229
|
+
guideType: external_exports2.string().optional()
|
|
29166
29230
|
});
|
|
29167
29231
|
var LCNIntegrationUpdateValidator = external_exports2.object({
|
|
29168
29232
|
name: external_exports2.string().optional(),
|
|
29169
29233
|
description: external_exports2.string().optional(),
|
|
29170
29234
|
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).optional(),
|
|
29171
|
-
rotatePublishableKey: external_exports2.boolean().optional()
|
|
29235
|
+
rotatePublishableKey: external_exports2.boolean().optional(),
|
|
29236
|
+
// Setup/onboarding updates
|
|
29237
|
+
status: LCNIntegrationStatusEnum.optional(),
|
|
29238
|
+
guideType: external_exports2.string().optional(),
|
|
29239
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional()
|
|
29172
29240
|
});
|
|
29173
29241
|
var LCNIntegrationQueryValidator = external_exports2.object({
|
|
29174
29242
|
id: StringQuery,
|
|
29175
29243
|
name: StringQuery,
|
|
29176
|
-
description: StringQuery
|
|
29244
|
+
description: StringQuery,
|
|
29245
|
+
status: StringQuery,
|
|
29246
|
+
guideType: StringQuery
|
|
29177
29247
|
}).partial();
|
|
29178
29248
|
var PaginatedLCNIntegrationsValidator = PaginationResponseValidator.extend({
|
|
29179
29249
|
records: LCNIntegrationValidator.array()
|
|
@@ -29388,6 +29458,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29388
29458
|
]);
|
|
29389
29459
|
var AppStoreListingValidator = external_exports2.object({
|
|
29390
29460
|
listing_id: external_exports2.string(),
|
|
29461
|
+
slug: external_exports2.string().optional(),
|
|
29391
29462
|
display_name: external_exports2.string(),
|
|
29392
29463
|
tagline: external_exports2.string(),
|
|
29393
29464
|
full_description: external_exports2.string(),
|
|
@@ -29425,6 +29496,77 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29425
29496
|
var PaginatedInstalledAppsValidator = PaginationResponseValidator.extend({
|
|
29426
29497
|
records: InstalledAppValidator.array()
|
|
29427
29498
|
});
|
|
29499
|
+
var AppBoostValidator = external_exports2.object({
|
|
29500
|
+
templateAlias: external_exports2.string().min(1).max(50).regex(/^[a-z0-9-]+$/),
|
|
29501
|
+
boostUri: external_exports2.string()
|
|
29502
|
+
});
|
|
29503
|
+
var SendCredentialEventValidator = external_exports2.object({
|
|
29504
|
+
type: external_exports2.literal("send-credential"),
|
|
29505
|
+
templateAlias: external_exports2.string(),
|
|
29506
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29507
|
+
});
|
|
29508
|
+
var AppEventValidator = external_exports2.discriminatedUnion("type", [SendCredentialEventValidator]);
|
|
29509
|
+
var AppEventInputValidator = external_exports2.object({
|
|
29510
|
+
listingId: external_exports2.string(),
|
|
29511
|
+
event: AppEventValidator
|
|
29512
|
+
});
|
|
29513
|
+
var AppEventResponseValidator = external_exports2.record(external_exports2.string(), external_exports2.unknown());
|
|
29514
|
+
var CredentialActivityEventTypeValidator = external_exports2.enum([
|
|
29515
|
+
"CREATED",
|
|
29516
|
+
"DELIVERED",
|
|
29517
|
+
"CLAIMED",
|
|
29518
|
+
"EXPIRED",
|
|
29519
|
+
"FAILED"
|
|
29520
|
+
]);
|
|
29521
|
+
var CredentialActivityRecipientTypeValidator = external_exports2.enum(["profile", "email", "phone"]);
|
|
29522
|
+
var CredentialActivitySourceTypeValidator = external_exports2.enum([
|
|
29523
|
+
"send",
|
|
29524
|
+
"sendBoost",
|
|
29525
|
+
"sendCredential",
|
|
29526
|
+
"contract",
|
|
29527
|
+
"claim",
|
|
29528
|
+
"inbox",
|
|
29529
|
+
"claimLink",
|
|
29530
|
+
"acceptCredential"
|
|
29531
|
+
]);
|
|
29532
|
+
var CredentialActivityValidator = external_exports2.object({
|
|
29533
|
+
id: external_exports2.string(),
|
|
29534
|
+
activityId: external_exports2.string(),
|
|
29535
|
+
eventType: CredentialActivityEventTypeValidator,
|
|
29536
|
+
timestamp: external_exports2.string(),
|
|
29537
|
+
actorProfileId: external_exports2.string(),
|
|
29538
|
+
recipientType: CredentialActivityRecipientTypeValidator,
|
|
29539
|
+
recipientIdentifier: external_exports2.string(),
|
|
29540
|
+
boostUri: external_exports2.string().optional(),
|
|
29541
|
+
credentialUri: external_exports2.string().optional(),
|
|
29542
|
+
inboxCredentialId: external_exports2.string().optional(),
|
|
29543
|
+
integrationId: external_exports2.string().optional(),
|
|
29544
|
+
source: CredentialActivitySourceTypeValidator,
|
|
29545
|
+
metadata: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29546
|
+
});
|
|
29547
|
+
var CredentialActivityWithDetailsValidator = CredentialActivityValidator.extend({
|
|
29548
|
+
boost: external_exports2.object({
|
|
29549
|
+
id: external_exports2.string(),
|
|
29550
|
+
name: external_exports2.string().optional(),
|
|
29551
|
+
category: external_exports2.string().optional()
|
|
29552
|
+
}).optional(),
|
|
29553
|
+
recipientProfile: external_exports2.object({
|
|
29554
|
+
profileId: external_exports2.string(),
|
|
29555
|
+
displayName: external_exports2.string().optional()
|
|
29556
|
+
}).optional()
|
|
29557
|
+
});
|
|
29558
|
+
var PaginatedCredentialActivitiesValidator = PaginationResponseValidator.extend({
|
|
29559
|
+
records: CredentialActivityWithDetailsValidator.array()
|
|
29560
|
+
});
|
|
29561
|
+
var CredentialActivityStatsValidator = external_exports2.object({
|
|
29562
|
+
total: external_exports2.number(),
|
|
29563
|
+
created: external_exports2.number(),
|
|
29564
|
+
delivered: external_exports2.number(),
|
|
29565
|
+
claimed: external_exports2.number(),
|
|
29566
|
+
expired: external_exports2.number(),
|
|
29567
|
+
failed: external_exports2.number(),
|
|
29568
|
+
claimRate: external_exports2.number()
|
|
29569
|
+
});
|
|
29428
29570
|
}
|
|
29429
29571
|
});
|
|
29430
29572
|
var require_dist = __commonJS2({
|