@learncard/didkey-plugin 1.1.2 → 1.1.6
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 +171 -12
- 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 +171 -12
- 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"),
|
|
@@ -14241,6 +14257,9 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14241
14257
|
SkillFrameworkStatusEnum: /* @__PURE__ */ __name2(() => SkillFrameworkStatusEnum, "SkillFrameworkStatusEnum"),
|
|
14242
14258
|
SkillFrameworkValidator: /* @__PURE__ */ __name2(() => SkillFrameworkValidator, "SkillFrameworkValidator"),
|
|
14243
14259
|
SkillQueryValidator: /* @__PURE__ */ __name2(() => SkillQueryValidator, "SkillQueryValidator"),
|
|
14260
|
+
SkillSemanticSearchInputValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchInputValidator, "SkillSemanticSearchInputValidator"),
|
|
14261
|
+
SkillSemanticSearchResultItemValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchResultItemValidator, "SkillSemanticSearchResultItemValidator"),
|
|
14262
|
+
SkillSemanticSearchResultValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchResultValidator, "SkillSemanticSearchResultValidator"),
|
|
14244
14263
|
SkillStatusEnum: /* @__PURE__ */ __name2(() => SkillStatusEnum, "SkillStatusEnum"),
|
|
14245
14264
|
SkillTreeNodeInputValidator: /* @__PURE__ */ __name2(() => SkillTreeNodeInputValidator, "SkillTreeNodeInputValidator"),
|
|
14246
14265
|
SkillTreeNodeValidator: /* @__PURE__ */ __name2(() => SkillTreeNodeValidator, "SkillTreeNodeValidator"),
|
|
@@ -28603,7 +28622,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28603
28622
|
var PaginatedClaimHooksValidator = PaginationResponseValidator.extend({
|
|
28604
28623
|
records: FullClaimHookValidator.array()
|
|
28605
28624
|
});
|
|
28606
|
-
var LCNBoostStatus = external_exports2.enum(["DRAFT", "LIVE"]);
|
|
28625
|
+
var LCNBoostStatus = external_exports2.enum(["DRAFT", "PROVISIONAL", "LIVE"]);
|
|
28607
28626
|
var BoostValidator = external_exports2.object({
|
|
28608
28627
|
uri: external_exports2.string(),
|
|
28609
28628
|
name: external_exports2.string().optional(),
|
|
@@ -28687,22 +28706,46 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28687
28706
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
28688
28707
|
skills: external_exports2.array(external_exports2.object({ frameworkId: external_exports2.string(), id: external_exports2.string() })).min(1).optional()
|
|
28689
28708
|
});
|
|
28709
|
+
var SendBrandingOptionsValidator = external_exports2.object({
|
|
28710
|
+
issuerName: external_exports2.string().optional().describe("Name of the issuing organization"),
|
|
28711
|
+
issuerLogoUrl: external_exports2.string().url().optional().describe("Logo URL of the issuing organization"),
|
|
28712
|
+
credentialName: external_exports2.string().optional().describe("Display name for the credential"),
|
|
28713
|
+
recipientName: external_exports2.string().optional().describe("Name of the recipient for personalization")
|
|
28714
|
+
});
|
|
28715
|
+
var SendOptionsValidator = external_exports2.object({
|
|
28716
|
+
webhookUrl: external_exports2.string().url().optional().describe("Webhook URL to receive claim notifications"),
|
|
28717
|
+
suppressDelivery: external_exports2.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),
|
|
28718
|
+
branding: SendBrandingOptionsValidator.optional().describe("Branding for email/SMS delivery")
|
|
28719
|
+
});
|
|
28690
28720
|
var SendBoostInputValidator = external_exports2.object({
|
|
28691
28721
|
type: external_exports2.literal("boost"),
|
|
28692
|
-
recipient: external_exports2.string(),
|
|
28722
|
+
recipient: external_exports2.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),
|
|
28693
28723
|
contractUri: external_exports2.string().optional(),
|
|
28694
28724
|
templateUri: external_exports2.string().optional(),
|
|
28695
28725
|
template: SendBoostTemplateValidator.optional(),
|
|
28696
28726
|
signedCredential: VCValidator.optional(),
|
|
28697
|
-
|
|
28727
|
+
options: SendOptionsValidator.optional().describe(
|
|
28728
|
+
"Options for email/phone recipients (Universal Inbox)"
|
|
28729
|
+
),
|
|
28730
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional(),
|
|
28731
|
+
integrationId: external_exports2.string().optional().describe("Integration ID for activity tracking")
|
|
28698
28732
|
}).refine((data) => data.templateUri || data.template, {
|
|
28699
28733
|
message: "Either templateUri or template creation data must be provided.",
|
|
28700
28734
|
path: ["templateUri"]
|
|
28701
28735
|
});
|
|
28736
|
+
var SendInboxResponseValidator = external_exports2.object({
|
|
28737
|
+
issuanceId: external_exports2.string(),
|
|
28738
|
+
status: external_exports2.enum(["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]),
|
|
28739
|
+
claimUrl: external_exports2.string().url().optional().describe("Present when suppressDelivery=true")
|
|
28740
|
+
});
|
|
28702
28741
|
var SendBoostResponseValidator = external_exports2.object({
|
|
28703
28742
|
type: external_exports2.literal("boost"),
|
|
28704
28743
|
credentialUri: external_exports2.string(),
|
|
28705
|
-
uri: external_exports2.string()
|
|
28744
|
+
uri: external_exports2.string(),
|
|
28745
|
+
activityId: external_exports2.string().describe("Links to the activity lifecycle for this issuance"),
|
|
28746
|
+
inbox: SendInboxResponseValidator.optional().describe(
|
|
28747
|
+
"Present when sent via email/phone (Universal Inbox)"
|
|
28748
|
+
)
|
|
28706
28749
|
});
|
|
28707
28750
|
var SendInputValidator = external_exports2.discriminatedUnion("type", [SendBoostInputValidator]);
|
|
28708
28751
|
var SendResponseValidator = external_exports2.discriminatedUnion("type", [SendBoostResponseValidator]);
|
|
@@ -28903,6 +28946,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28903
28946
|
});
|
|
28904
28947
|
var LCNNotificationTypeEnumValidator = external_exports2.enum([
|
|
28905
28948
|
"CONNECTION_REQUEST",
|
|
28949
|
+
"CONNECTION_REQUEST_EXPIRED_INVITE",
|
|
28906
28950
|
"CONNECTION_ACCEPTED",
|
|
28907
28951
|
"CREDENTIAL_RECEIVED",
|
|
28908
28952
|
"CREDENTIAL_ACCEPTED",
|
|
@@ -29054,6 +29098,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29054
29098
|
createdAt: external_exports2.string(),
|
|
29055
29099
|
issuerDid: external_exports2.string(),
|
|
29056
29100
|
webhookUrl: external_exports2.string().optional(),
|
|
29101
|
+
boostUri: external_exports2.string().optional(),
|
|
29102
|
+
activityId: external_exports2.string().optional(),
|
|
29057
29103
|
signingAuthority: external_exports2.object({
|
|
29058
29104
|
endpoint: external_exports2.string().optional(),
|
|
29059
29105
|
name: external_exports2.string().optional()
|
|
@@ -29069,7 +29115,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29069
29115
|
id: external_exports2.string(),
|
|
29070
29116
|
isSigned: external_exports2.boolean(),
|
|
29071
29117
|
isAccepted: external_exports2.boolean().optional(),
|
|
29072
|
-
issuerDid: external_exports2.string()
|
|
29118
|
+
issuerDid: external_exports2.string(),
|
|
29119
|
+
boostUri: external_exports2.string()
|
|
29073
29120
|
}).partial();
|
|
29074
29121
|
var IssueInboxSigningAuthorityValidator = external_exports2.object({
|
|
29075
29122
|
endpoint: external_exports2.string().url(),
|
|
@@ -29079,9 +29126,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29079
29126
|
// === CORE DATA (Required) ===
|
|
29080
29127
|
// WHAT is being sent and WHO is it for?
|
|
29081
29128
|
recipient: ContactMethodQueryValidator.describe("The recipient of the credential"),
|
|
29082
|
-
credential
|
|
29129
|
+
// Either credential OR templateUri must be provided
|
|
29130
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).optional().describe(
|
|
29083
29131
|
"The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."
|
|
29084
29132
|
),
|
|
29133
|
+
templateUri: external_exports2.string().optional().describe(
|
|
29134
|
+
"URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."
|
|
29135
|
+
),
|
|
29085
29136
|
// === OPTIONAL FEATURES ===
|
|
29086
29137
|
// Add major, distinct features at the top level.
|
|
29087
29138
|
//consentRequest: ConsentRequestValidator.optional(),
|
|
@@ -29093,6 +29144,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29093
29144
|
),
|
|
29094
29145
|
webhookUrl: external_exports2.string().url().optional().describe("The webhook URL to receive credential issuance events."),
|
|
29095
29146
|
expiresInDays: external_exports2.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
|
|
29147
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional().describe(
|
|
29148
|
+
"Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."
|
|
29149
|
+
),
|
|
29096
29150
|
// --- For User-Facing Delivery (Email/SMS) ---
|
|
29097
29151
|
delivery: external_exports2.object({
|
|
29098
29152
|
suppress: external_exports2.boolean().optional().default(false).describe(
|
|
@@ -29107,7 +29161,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29107
29161
|
name: external_exports2.string().optional().describe(
|
|
29108
29162
|
'The name of the organization (e.g., "State University").'
|
|
29109
29163
|
),
|
|
29110
|
-
logoUrl: external_exports2.string().url().optional().describe(
|
|
29164
|
+
logoUrl: external_exports2.string().url().optional().describe(
|
|
29165
|
+
"The URL of the organization's logo."
|
|
29166
|
+
)
|
|
29111
29167
|
}).optional(),
|
|
29112
29168
|
credential: external_exports2.object({
|
|
29113
29169
|
name: external_exports2.string().optional().describe(
|
|
@@ -29134,6 +29190,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29134
29190
|
}).optional().describe(
|
|
29135
29191
|
"Configuration for the credential issuance. If not provided, the default configuration will be used."
|
|
29136
29192
|
)
|
|
29193
|
+
}).refine((data) => data.credential || data.templateUri, {
|
|
29194
|
+
message: "Either credential or templateUri must be provided.",
|
|
29195
|
+
path: ["credential"]
|
|
29137
29196
|
});
|
|
29138
29197
|
var IssueInboxCredentialResponseValidator = external_exports2.object({
|
|
29139
29198
|
issuanceId: external_exports2.string(),
|
|
@@ -29146,7 +29205,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29146
29205
|
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
29147
29206
|
configuration: external_exports2.object({
|
|
29148
29207
|
publishableKey: external_exports2.string(),
|
|
29149
|
-
signingAuthorityName: external_exports2.string().optional()
|
|
29208
|
+
signingAuthorityName: external_exports2.string().optional(),
|
|
29209
|
+
listingId: external_exports2.string().optional(),
|
|
29210
|
+
listingSlug: external_exports2.string().optional()
|
|
29150
29211
|
}).optional()
|
|
29151
29212
|
});
|
|
29152
29213
|
var LCNDomainOrOriginValidator = external_exports2.union([
|
|
@@ -29161,28 +29222,43 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29161
29222
|
{ message: "Must be a valid http(s) origin" }
|
|
29162
29223
|
)
|
|
29163
29224
|
]);
|
|
29225
|
+
var LCNIntegrationStatusEnum = external_exports2.enum(["setup", "active", "paused"]);
|
|
29164
29226
|
var LCNIntegrationValidator = external_exports2.object({
|
|
29165
29227
|
id: external_exports2.string(),
|
|
29166
29228
|
name: external_exports2.string(),
|
|
29167
29229
|
description: external_exports2.string().optional(),
|
|
29168
29230
|
publishableKey: external_exports2.string(),
|
|
29169
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29231
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29232
|
+
// Setup/onboarding status
|
|
29233
|
+
status: LCNIntegrationStatusEnum.default("setup"),
|
|
29234
|
+
guideType: external_exports2.string().optional(),
|
|
29235
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional(),
|
|
29236
|
+
// Timestamps
|
|
29237
|
+
createdAt: external_exports2.string().optional(),
|
|
29238
|
+
updatedAt: external_exports2.string().optional()
|
|
29170
29239
|
});
|
|
29171
29240
|
var LCNIntegrationCreateValidator = external_exports2.object({
|
|
29172
29241
|
name: external_exports2.string(),
|
|
29173
29242
|
description: external_exports2.string().optional(),
|
|
29174
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29243
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29244
|
+
guideType: external_exports2.string().optional()
|
|
29175
29245
|
});
|
|
29176
29246
|
var LCNIntegrationUpdateValidator = external_exports2.object({
|
|
29177
29247
|
name: external_exports2.string().optional(),
|
|
29178
29248
|
description: external_exports2.string().optional(),
|
|
29179
29249
|
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).optional(),
|
|
29180
|
-
rotatePublishableKey: external_exports2.boolean().optional()
|
|
29250
|
+
rotatePublishableKey: external_exports2.boolean().optional(),
|
|
29251
|
+
// Setup/onboarding updates
|
|
29252
|
+
status: LCNIntegrationStatusEnum.optional(),
|
|
29253
|
+
guideType: external_exports2.string().optional(),
|
|
29254
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional()
|
|
29181
29255
|
});
|
|
29182
29256
|
var LCNIntegrationQueryValidator = external_exports2.object({
|
|
29183
29257
|
id: StringQuery,
|
|
29184
29258
|
name: StringQuery,
|
|
29185
|
-
description: StringQuery
|
|
29259
|
+
description: StringQuery,
|
|
29260
|
+
status: StringQuery,
|
|
29261
|
+
guideType: StringQuery
|
|
29186
29262
|
}).partial();
|
|
29187
29263
|
var PaginatedLCNIntegrationsValidator = PaginationResponseValidator.extend({
|
|
29188
29264
|
records: LCNIntegrationValidator.array()
|
|
@@ -29229,6 +29305,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29229
29305
|
}),
|
|
29230
29306
|
BaseSkillQueryValidator
|
|
29231
29307
|
]);
|
|
29308
|
+
var SkillSemanticSearchInputValidator = external_exports2.object({
|
|
29309
|
+
text: external_exports2.string().min(1),
|
|
29310
|
+
frameworkId: external_exports2.string().optional(),
|
|
29311
|
+
limit: external_exports2.number().int().min(1).max(200).default(50)
|
|
29312
|
+
});
|
|
29313
|
+
var SkillSemanticSearchResultItemValidator = SkillValidator.extend({
|
|
29314
|
+
score: external_exports2.number()
|
|
29315
|
+
});
|
|
29316
|
+
var SkillSemanticSearchResultValidator = external_exports2.object({
|
|
29317
|
+
records: SkillSemanticSearchResultItemValidator.array()
|
|
29318
|
+
});
|
|
29232
29319
|
var SkillFrameworkStatusEnum = external_exports2.enum(["active", "archived"]);
|
|
29233
29320
|
var SkillFrameworkValidator = external_exports2.object({
|
|
29234
29321
|
id: external_exports2.string(),
|
|
@@ -29397,6 +29484,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29397
29484
|
]);
|
|
29398
29485
|
var AppStoreListingValidator = external_exports2.object({
|
|
29399
29486
|
listing_id: external_exports2.string(),
|
|
29487
|
+
slug: external_exports2.string().optional(),
|
|
29400
29488
|
display_name: external_exports2.string(),
|
|
29401
29489
|
tagline: external_exports2.string(),
|
|
29402
29490
|
full_description: external_exports2.string(),
|
|
@@ -29434,6 +29522,77 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29434
29522
|
var PaginatedInstalledAppsValidator = PaginationResponseValidator.extend({
|
|
29435
29523
|
records: InstalledAppValidator.array()
|
|
29436
29524
|
});
|
|
29525
|
+
var AppBoostValidator = external_exports2.object({
|
|
29526
|
+
templateAlias: external_exports2.string().min(1).max(50).regex(/^[a-z0-9-]+$/),
|
|
29527
|
+
boostUri: external_exports2.string()
|
|
29528
|
+
});
|
|
29529
|
+
var SendCredentialEventValidator = external_exports2.object({
|
|
29530
|
+
type: external_exports2.literal("send-credential"),
|
|
29531
|
+
templateAlias: external_exports2.string(),
|
|
29532
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29533
|
+
});
|
|
29534
|
+
var AppEventValidator = external_exports2.discriminatedUnion("type", [SendCredentialEventValidator]);
|
|
29535
|
+
var AppEventInputValidator = external_exports2.object({
|
|
29536
|
+
listingId: external_exports2.string(),
|
|
29537
|
+
event: AppEventValidator
|
|
29538
|
+
});
|
|
29539
|
+
var AppEventResponseValidator = external_exports2.record(external_exports2.string(), external_exports2.unknown());
|
|
29540
|
+
var CredentialActivityEventTypeValidator = external_exports2.enum([
|
|
29541
|
+
"CREATED",
|
|
29542
|
+
"DELIVERED",
|
|
29543
|
+
"CLAIMED",
|
|
29544
|
+
"EXPIRED",
|
|
29545
|
+
"FAILED"
|
|
29546
|
+
]);
|
|
29547
|
+
var CredentialActivityRecipientTypeValidator = external_exports2.enum(["profile", "email", "phone"]);
|
|
29548
|
+
var CredentialActivitySourceTypeValidator = external_exports2.enum([
|
|
29549
|
+
"send",
|
|
29550
|
+
"sendBoost",
|
|
29551
|
+
"sendCredential",
|
|
29552
|
+
"contract",
|
|
29553
|
+
"claim",
|
|
29554
|
+
"inbox",
|
|
29555
|
+
"claimLink",
|
|
29556
|
+
"acceptCredential"
|
|
29557
|
+
]);
|
|
29558
|
+
var CredentialActivityValidator = external_exports2.object({
|
|
29559
|
+
id: external_exports2.string(),
|
|
29560
|
+
activityId: external_exports2.string(),
|
|
29561
|
+
eventType: CredentialActivityEventTypeValidator,
|
|
29562
|
+
timestamp: external_exports2.string(),
|
|
29563
|
+
actorProfileId: external_exports2.string(),
|
|
29564
|
+
recipientType: CredentialActivityRecipientTypeValidator,
|
|
29565
|
+
recipientIdentifier: external_exports2.string(),
|
|
29566
|
+
boostUri: external_exports2.string().optional(),
|
|
29567
|
+
credentialUri: external_exports2.string().optional(),
|
|
29568
|
+
inboxCredentialId: external_exports2.string().optional(),
|
|
29569
|
+
integrationId: external_exports2.string().optional(),
|
|
29570
|
+
source: CredentialActivitySourceTypeValidator,
|
|
29571
|
+
metadata: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29572
|
+
});
|
|
29573
|
+
var CredentialActivityWithDetailsValidator = CredentialActivityValidator.extend({
|
|
29574
|
+
boost: external_exports2.object({
|
|
29575
|
+
id: external_exports2.string(),
|
|
29576
|
+
name: external_exports2.string().optional(),
|
|
29577
|
+
category: external_exports2.string().optional()
|
|
29578
|
+
}).optional(),
|
|
29579
|
+
recipientProfile: external_exports2.object({
|
|
29580
|
+
profileId: external_exports2.string(),
|
|
29581
|
+
displayName: external_exports2.string().optional()
|
|
29582
|
+
}).optional()
|
|
29583
|
+
});
|
|
29584
|
+
var PaginatedCredentialActivitiesValidator = PaginationResponseValidator.extend({
|
|
29585
|
+
records: CredentialActivityWithDetailsValidator.array()
|
|
29586
|
+
});
|
|
29587
|
+
var CredentialActivityStatsValidator = external_exports2.object({
|
|
29588
|
+
total: external_exports2.number(),
|
|
29589
|
+
created: external_exports2.number(),
|
|
29590
|
+
delivered: external_exports2.number(),
|
|
29591
|
+
claimed: external_exports2.number(),
|
|
29592
|
+
expired: external_exports2.number(),
|
|
29593
|
+
failed: external_exports2.number(),
|
|
29594
|
+
claimRate: external_exports2.number()
|
|
29595
|
+
});
|
|
29437
29596
|
}
|
|
29438
29597
|
});
|
|
29439
29598
|
var require_dist = __commonJS2({
|