@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
|
@@ -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"),
|
|
@@ -14232,6 +14248,9 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14232
14248
|
SkillFrameworkStatusEnum: /* @__PURE__ */ __name2(() => SkillFrameworkStatusEnum, "SkillFrameworkStatusEnum"),
|
|
14233
14249
|
SkillFrameworkValidator: /* @__PURE__ */ __name2(() => SkillFrameworkValidator, "SkillFrameworkValidator"),
|
|
14234
14250
|
SkillQueryValidator: /* @__PURE__ */ __name2(() => SkillQueryValidator, "SkillQueryValidator"),
|
|
14251
|
+
SkillSemanticSearchInputValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchInputValidator, "SkillSemanticSearchInputValidator"),
|
|
14252
|
+
SkillSemanticSearchResultItemValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchResultItemValidator, "SkillSemanticSearchResultItemValidator"),
|
|
14253
|
+
SkillSemanticSearchResultValidator: /* @__PURE__ */ __name2(() => SkillSemanticSearchResultValidator, "SkillSemanticSearchResultValidator"),
|
|
14235
14254
|
SkillStatusEnum: /* @__PURE__ */ __name2(() => SkillStatusEnum, "SkillStatusEnum"),
|
|
14236
14255
|
SkillTreeNodeInputValidator: /* @__PURE__ */ __name2(() => SkillTreeNodeInputValidator, "SkillTreeNodeInputValidator"),
|
|
14237
14256
|
SkillTreeNodeValidator: /* @__PURE__ */ __name2(() => SkillTreeNodeValidator, "SkillTreeNodeValidator"),
|
|
@@ -28594,7 +28613,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28594
28613
|
var PaginatedClaimHooksValidator = PaginationResponseValidator.extend({
|
|
28595
28614
|
records: FullClaimHookValidator.array()
|
|
28596
28615
|
});
|
|
28597
|
-
var LCNBoostStatus = external_exports2.enum(["DRAFT", "LIVE"]);
|
|
28616
|
+
var LCNBoostStatus = external_exports2.enum(["DRAFT", "PROVISIONAL", "LIVE"]);
|
|
28598
28617
|
var BoostValidator = external_exports2.object({
|
|
28599
28618
|
uri: external_exports2.string(),
|
|
28600
28619
|
name: external_exports2.string().optional(),
|
|
@@ -28678,22 +28697,46 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28678
28697
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
28679
28698
|
skills: external_exports2.array(external_exports2.object({ frameworkId: external_exports2.string(), id: external_exports2.string() })).min(1).optional()
|
|
28680
28699
|
});
|
|
28700
|
+
var SendBrandingOptionsValidator = external_exports2.object({
|
|
28701
|
+
issuerName: external_exports2.string().optional().describe("Name of the issuing organization"),
|
|
28702
|
+
issuerLogoUrl: external_exports2.string().url().optional().describe("Logo URL of the issuing organization"),
|
|
28703
|
+
credentialName: external_exports2.string().optional().describe("Display name for the credential"),
|
|
28704
|
+
recipientName: external_exports2.string().optional().describe("Name of the recipient for personalization")
|
|
28705
|
+
});
|
|
28706
|
+
var SendOptionsValidator = external_exports2.object({
|
|
28707
|
+
webhookUrl: external_exports2.string().url().optional().describe("Webhook URL to receive claim notifications"),
|
|
28708
|
+
suppressDelivery: external_exports2.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),
|
|
28709
|
+
branding: SendBrandingOptionsValidator.optional().describe("Branding for email/SMS delivery")
|
|
28710
|
+
});
|
|
28681
28711
|
var SendBoostInputValidator = external_exports2.object({
|
|
28682
28712
|
type: external_exports2.literal("boost"),
|
|
28683
|
-
recipient: external_exports2.string(),
|
|
28713
|
+
recipient: external_exports2.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),
|
|
28684
28714
|
contractUri: external_exports2.string().optional(),
|
|
28685
28715
|
templateUri: external_exports2.string().optional(),
|
|
28686
28716
|
template: SendBoostTemplateValidator.optional(),
|
|
28687
28717
|
signedCredential: VCValidator.optional(),
|
|
28688
|
-
|
|
28718
|
+
options: SendOptionsValidator.optional().describe(
|
|
28719
|
+
"Options for email/phone recipients (Universal Inbox)"
|
|
28720
|
+
),
|
|
28721
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional(),
|
|
28722
|
+
integrationId: external_exports2.string().optional().describe("Integration ID for activity tracking")
|
|
28689
28723
|
}).refine((data) => data.templateUri || data.template, {
|
|
28690
28724
|
message: "Either templateUri or template creation data must be provided.",
|
|
28691
28725
|
path: ["templateUri"]
|
|
28692
28726
|
});
|
|
28727
|
+
var SendInboxResponseValidator = external_exports2.object({
|
|
28728
|
+
issuanceId: external_exports2.string(),
|
|
28729
|
+
status: external_exports2.enum(["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]),
|
|
28730
|
+
claimUrl: external_exports2.string().url().optional().describe("Present when suppressDelivery=true")
|
|
28731
|
+
});
|
|
28693
28732
|
var SendBoostResponseValidator = external_exports2.object({
|
|
28694
28733
|
type: external_exports2.literal("boost"),
|
|
28695
28734
|
credentialUri: external_exports2.string(),
|
|
28696
|
-
uri: external_exports2.string()
|
|
28735
|
+
uri: external_exports2.string(),
|
|
28736
|
+
activityId: external_exports2.string().describe("Links to the activity lifecycle for this issuance"),
|
|
28737
|
+
inbox: SendInboxResponseValidator.optional().describe(
|
|
28738
|
+
"Present when sent via email/phone (Universal Inbox)"
|
|
28739
|
+
)
|
|
28697
28740
|
});
|
|
28698
28741
|
var SendInputValidator = external_exports2.discriminatedUnion("type", [SendBoostInputValidator]);
|
|
28699
28742
|
var SendResponseValidator = external_exports2.discriminatedUnion("type", [SendBoostResponseValidator]);
|
|
@@ -28894,6 +28937,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28894
28937
|
});
|
|
28895
28938
|
var LCNNotificationTypeEnumValidator = external_exports2.enum([
|
|
28896
28939
|
"CONNECTION_REQUEST",
|
|
28940
|
+
"CONNECTION_REQUEST_EXPIRED_INVITE",
|
|
28897
28941
|
"CONNECTION_ACCEPTED",
|
|
28898
28942
|
"CREDENTIAL_RECEIVED",
|
|
28899
28943
|
"CREDENTIAL_ACCEPTED",
|
|
@@ -29045,6 +29089,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29045
29089
|
createdAt: external_exports2.string(),
|
|
29046
29090
|
issuerDid: external_exports2.string(),
|
|
29047
29091
|
webhookUrl: external_exports2.string().optional(),
|
|
29092
|
+
boostUri: external_exports2.string().optional(),
|
|
29093
|
+
activityId: external_exports2.string().optional(),
|
|
29048
29094
|
signingAuthority: external_exports2.object({
|
|
29049
29095
|
endpoint: external_exports2.string().optional(),
|
|
29050
29096
|
name: external_exports2.string().optional()
|
|
@@ -29060,7 +29106,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29060
29106
|
id: external_exports2.string(),
|
|
29061
29107
|
isSigned: external_exports2.boolean(),
|
|
29062
29108
|
isAccepted: external_exports2.boolean().optional(),
|
|
29063
|
-
issuerDid: external_exports2.string()
|
|
29109
|
+
issuerDid: external_exports2.string(),
|
|
29110
|
+
boostUri: external_exports2.string()
|
|
29064
29111
|
}).partial();
|
|
29065
29112
|
var IssueInboxSigningAuthorityValidator = external_exports2.object({
|
|
29066
29113
|
endpoint: external_exports2.string().url(),
|
|
@@ -29070,9 +29117,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29070
29117
|
// === CORE DATA (Required) ===
|
|
29071
29118
|
// WHAT is being sent and WHO is it for?
|
|
29072
29119
|
recipient: ContactMethodQueryValidator.describe("The recipient of the credential"),
|
|
29073
|
-
credential
|
|
29120
|
+
// Either credential OR templateUri must be provided
|
|
29121
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).optional().describe(
|
|
29074
29122
|
"The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."
|
|
29075
29123
|
),
|
|
29124
|
+
templateUri: external_exports2.string().optional().describe(
|
|
29125
|
+
"URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."
|
|
29126
|
+
),
|
|
29076
29127
|
// === OPTIONAL FEATURES ===
|
|
29077
29128
|
// Add major, distinct features at the top level.
|
|
29078
29129
|
//consentRequest: ConsentRequestValidator.optional(),
|
|
@@ -29084,6 +29135,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29084
29135
|
),
|
|
29085
29136
|
webhookUrl: external_exports2.string().url().optional().describe("The webhook URL to receive credential issuance events."),
|
|
29086
29137
|
expiresInDays: external_exports2.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
|
|
29138
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional().describe(
|
|
29139
|
+
"Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."
|
|
29140
|
+
),
|
|
29087
29141
|
// --- For User-Facing Delivery (Email/SMS) ---
|
|
29088
29142
|
delivery: external_exports2.object({
|
|
29089
29143
|
suppress: external_exports2.boolean().optional().default(false).describe(
|
|
@@ -29098,7 +29152,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29098
29152
|
name: external_exports2.string().optional().describe(
|
|
29099
29153
|
'The name of the organization (e.g., "State University").'
|
|
29100
29154
|
),
|
|
29101
|
-
logoUrl: external_exports2.string().url().optional().describe(
|
|
29155
|
+
logoUrl: external_exports2.string().url().optional().describe(
|
|
29156
|
+
"The URL of the organization's logo."
|
|
29157
|
+
)
|
|
29102
29158
|
}).optional(),
|
|
29103
29159
|
credential: external_exports2.object({
|
|
29104
29160
|
name: external_exports2.string().optional().describe(
|
|
@@ -29125,6 +29181,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29125
29181
|
}).optional().describe(
|
|
29126
29182
|
"Configuration for the credential issuance. If not provided, the default configuration will be used."
|
|
29127
29183
|
)
|
|
29184
|
+
}).refine((data) => data.credential || data.templateUri, {
|
|
29185
|
+
message: "Either credential or templateUri must be provided.",
|
|
29186
|
+
path: ["credential"]
|
|
29128
29187
|
});
|
|
29129
29188
|
var IssueInboxCredentialResponseValidator = external_exports2.object({
|
|
29130
29189
|
issuanceId: external_exports2.string(),
|
|
@@ -29137,7 +29196,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29137
29196
|
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
29138
29197
|
configuration: external_exports2.object({
|
|
29139
29198
|
publishableKey: external_exports2.string(),
|
|
29140
|
-
signingAuthorityName: external_exports2.string().optional()
|
|
29199
|
+
signingAuthorityName: external_exports2.string().optional(),
|
|
29200
|
+
listingId: external_exports2.string().optional(),
|
|
29201
|
+
listingSlug: external_exports2.string().optional()
|
|
29141
29202
|
}).optional()
|
|
29142
29203
|
});
|
|
29143
29204
|
var LCNDomainOrOriginValidator = external_exports2.union([
|
|
@@ -29152,28 +29213,43 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29152
29213
|
{ message: "Must be a valid http(s) origin" }
|
|
29153
29214
|
)
|
|
29154
29215
|
]);
|
|
29216
|
+
var LCNIntegrationStatusEnum = external_exports2.enum(["setup", "active", "paused"]);
|
|
29155
29217
|
var LCNIntegrationValidator = external_exports2.object({
|
|
29156
29218
|
id: external_exports2.string(),
|
|
29157
29219
|
name: external_exports2.string(),
|
|
29158
29220
|
description: external_exports2.string().optional(),
|
|
29159
29221
|
publishableKey: external_exports2.string(),
|
|
29160
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29222
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29223
|
+
// Setup/onboarding status
|
|
29224
|
+
status: LCNIntegrationStatusEnum.default("setup"),
|
|
29225
|
+
guideType: external_exports2.string().optional(),
|
|
29226
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional(),
|
|
29227
|
+
// Timestamps
|
|
29228
|
+
createdAt: external_exports2.string().optional(),
|
|
29229
|
+
updatedAt: external_exports2.string().optional()
|
|
29161
29230
|
});
|
|
29162
29231
|
var LCNIntegrationCreateValidator = external_exports2.object({
|
|
29163
29232
|
name: external_exports2.string(),
|
|
29164
29233
|
description: external_exports2.string().optional(),
|
|
29165
|
-
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([])
|
|
29234
|
+
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).default([]),
|
|
29235
|
+
guideType: external_exports2.string().optional()
|
|
29166
29236
|
});
|
|
29167
29237
|
var LCNIntegrationUpdateValidator = external_exports2.object({
|
|
29168
29238
|
name: external_exports2.string().optional(),
|
|
29169
29239
|
description: external_exports2.string().optional(),
|
|
29170
29240
|
whitelistedDomains: external_exports2.array(LCNDomainOrOriginValidator).optional(),
|
|
29171
|
-
rotatePublishableKey: external_exports2.boolean().optional()
|
|
29241
|
+
rotatePublishableKey: external_exports2.boolean().optional(),
|
|
29242
|
+
// Setup/onboarding updates
|
|
29243
|
+
status: LCNIntegrationStatusEnum.optional(),
|
|
29244
|
+
guideType: external_exports2.string().optional(),
|
|
29245
|
+
guideState: external_exports2.record(external_exports2.string(), external_exports2.any()).optional()
|
|
29172
29246
|
});
|
|
29173
29247
|
var LCNIntegrationQueryValidator = external_exports2.object({
|
|
29174
29248
|
id: StringQuery,
|
|
29175
29249
|
name: StringQuery,
|
|
29176
|
-
description: StringQuery
|
|
29250
|
+
description: StringQuery,
|
|
29251
|
+
status: StringQuery,
|
|
29252
|
+
guideType: StringQuery
|
|
29177
29253
|
}).partial();
|
|
29178
29254
|
var PaginatedLCNIntegrationsValidator = PaginationResponseValidator.extend({
|
|
29179
29255
|
records: LCNIntegrationValidator.array()
|
|
@@ -29220,6 +29296,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29220
29296
|
}),
|
|
29221
29297
|
BaseSkillQueryValidator
|
|
29222
29298
|
]);
|
|
29299
|
+
var SkillSemanticSearchInputValidator = external_exports2.object({
|
|
29300
|
+
text: external_exports2.string().min(1),
|
|
29301
|
+
frameworkId: external_exports2.string().optional(),
|
|
29302
|
+
limit: external_exports2.number().int().min(1).max(200).default(50)
|
|
29303
|
+
});
|
|
29304
|
+
var SkillSemanticSearchResultItemValidator = SkillValidator.extend({
|
|
29305
|
+
score: external_exports2.number()
|
|
29306
|
+
});
|
|
29307
|
+
var SkillSemanticSearchResultValidator = external_exports2.object({
|
|
29308
|
+
records: SkillSemanticSearchResultItemValidator.array()
|
|
29309
|
+
});
|
|
29223
29310
|
var SkillFrameworkStatusEnum = external_exports2.enum(["active", "archived"]);
|
|
29224
29311
|
var SkillFrameworkValidator = external_exports2.object({
|
|
29225
29312
|
id: external_exports2.string(),
|
|
@@ -29388,6 +29475,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29388
29475
|
]);
|
|
29389
29476
|
var AppStoreListingValidator = external_exports2.object({
|
|
29390
29477
|
listing_id: external_exports2.string(),
|
|
29478
|
+
slug: external_exports2.string().optional(),
|
|
29391
29479
|
display_name: external_exports2.string(),
|
|
29392
29480
|
tagline: external_exports2.string(),
|
|
29393
29481
|
full_description: external_exports2.string(),
|
|
@@ -29425,6 +29513,77 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29425
29513
|
var PaginatedInstalledAppsValidator = PaginationResponseValidator.extend({
|
|
29426
29514
|
records: InstalledAppValidator.array()
|
|
29427
29515
|
});
|
|
29516
|
+
var AppBoostValidator = external_exports2.object({
|
|
29517
|
+
templateAlias: external_exports2.string().min(1).max(50).regex(/^[a-z0-9-]+$/),
|
|
29518
|
+
boostUri: external_exports2.string()
|
|
29519
|
+
});
|
|
29520
|
+
var SendCredentialEventValidator = external_exports2.object({
|
|
29521
|
+
type: external_exports2.literal("send-credential"),
|
|
29522
|
+
templateAlias: external_exports2.string(),
|
|
29523
|
+
templateData: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29524
|
+
});
|
|
29525
|
+
var AppEventValidator = external_exports2.discriminatedUnion("type", [SendCredentialEventValidator]);
|
|
29526
|
+
var AppEventInputValidator = external_exports2.object({
|
|
29527
|
+
listingId: external_exports2.string(),
|
|
29528
|
+
event: AppEventValidator
|
|
29529
|
+
});
|
|
29530
|
+
var AppEventResponseValidator = external_exports2.record(external_exports2.string(), external_exports2.unknown());
|
|
29531
|
+
var CredentialActivityEventTypeValidator = external_exports2.enum([
|
|
29532
|
+
"CREATED",
|
|
29533
|
+
"DELIVERED",
|
|
29534
|
+
"CLAIMED",
|
|
29535
|
+
"EXPIRED",
|
|
29536
|
+
"FAILED"
|
|
29537
|
+
]);
|
|
29538
|
+
var CredentialActivityRecipientTypeValidator = external_exports2.enum(["profile", "email", "phone"]);
|
|
29539
|
+
var CredentialActivitySourceTypeValidator = external_exports2.enum([
|
|
29540
|
+
"send",
|
|
29541
|
+
"sendBoost",
|
|
29542
|
+
"sendCredential",
|
|
29543
|
+
"contract",
|
|
29544
|
+
"claim",
|
|
29545
|
+
"inbox",
|
|
29546
|
+
"claimLink",
|
|
29547
|
+
"acceptCredential"
|
|
29548
|
+
]);
|
|
29549
|
+
var CredentialActivityValidator = external_exports2.object({
|
|
29550
|
+
id: external_exports2.string(),
|
|
29551
|
+
activityId: external_exports2.string(),
|
|
29552
|
+
eventType: CredentialActivityEventTypeValidator,
|
|
29553
|
+
timestamp: external_exports2.string(),
|
|
29554
|
+
actorProfileId: external_exports2.string(),
|
|
29555
|
+
recipientType: CredentialActivityRecipientTypeValidator,
|
|
29556
|
+
recipientIdentifier: external_exports2.string(),
|
|
29557
|
+
boostUri: external_exports2.string().optional(),
|
|
29558
|
+
credentialUri: external_exports2.string().optional(),
|
|
29559
|
+
inboxCredentialId: external_exports2.string().optional(),
|
|
29560
|
+
integrationId: external_exports2.string().optional(),
|
|
29561
|
+
source: CredentialActivitySourceTypeValidator,
|
|
29562
|
+
metadata: external_exports2.record(external_exports2.string(), external_exports2.unknown()).optional()
|
|
29563
|
+
});
|
|
29564
|
+
var CredentialActivityWithDetailsValidator = CredentialActivityValidator.extend({
|
|
29565
|
+
boost: external_exports2.object({
|
|
29566
|
+
id: external_exports2.string(),
|
|
29567
|
+
name: external_exports2.string().optional(),
|
|
29568
|
+
category: external_exports2.string().optional()
|
|
29569
|
+
}).optional(),
|
|
29570
|
+
recipientProfile: external_exports2.object({
|
|
29571
|
+
profileId: external_exports2.string(),
|
|
29572
|
+
displayName: external_exports2.string().optional()
|
|
29573
|
+
}).optional()
|
|
29574
|
+
});
|
|
29575
|
+
var PaginatedCredentialActivitiesValidator = PaginationResponseValidator.extend({
|
|
29576
|
+
records: CredentialActivityWithDetailsValidator.array()
|
|
29577
|
+
});
|
|
29578
|
+
var CredentialActivityStatsValidator = external_exports2.object({
|
|
29579
|
+
total: external_exports2.number(),
|
|
29580
|
+
created: external_exports2.number(),
|
|
29581
|
+
delivered: external_exports2.number(),
|
|
29582
|
+
claimed: external_exports2.number(),
|
|
29583
|
+
expired: external_exports2.number(),
|
|
29584
|
+
failed: external_exports2.number(),
|
|
29585
|
+
claimRate: external_exports2.number()
|
|
29586
|
+
});
|
|
29428
29587
|
}
|
|
29429
29588
|
});
|
|
29430
29589
|
var require_dist = __commonJS2({
|