@memberjunction/server 6.1.0-edge.3 → 6.1.0-edge.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/agentSessions/SessionManager.d.ts +19 -5
- package/dist/agentSessions/SessionManager.d.ts.map +1 -1
- package/dist/agentSessions/SessionManager.js +27 -9
- package/dist/agentSessions/SessionManager.js.map +1 -1
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/scopeLimitedPrincipal.d.ts +39 -0
- package/dist/auth/scopeLimitedPrincipal.d.ts.map +1 -0
- package/dist/auth/scopeLimitedPrincipal.js +49 -0
- package/dist/auth/scopeLimitedPrincipal.js.map +1 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +21 -1
- package/dist/context.js.map +1 -1
- package/dist/entitySubclasses/MJEntityPermissionEntityServer.server.d.ts.map +1 -1
- package/dist/entitySubclasses/MJEntityPermissionEntityServer.server.js +8 -7
- package/dist/entitySubclasses/MJEntityPermissionEntityServer.server.js.map +1 -1
- package/dist/generated/generated.d.ts +118 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +630 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts +27 -0
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +50 -4
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -1
- package/dist/index.js.map +1 -1
- package/dist/integration/CustomColumnPromoter.d.ts +79 -15
- package/dist/integration/CustomColumnPromoter.d.ts.map +1 -1
- package/dist/integration/CustomColumnPromoter.js +472 -97
- package/dist/integration/CustomColumnPromoter.js.map +1 -1
- package/dist/integration/InactiveRowWarnings.d.ts +48 -0
- package/dist/integration/InactiveRowWarnings.d.ts.map +1 -0
- package/dist/integration/InactiveRowWarnings.js +57 -0
- package/dist/integration/InactiveRowWarnings.js.map +1 -0
- package/dist/integration/SchemaRefreshLaunch.d.ts +10 -0
- package/dist/integration/SchemaRefreshLaunch.d.ts.map +1 -1
- package/dist/integration/SchemaRefreshLaunch.js +17 -0
- package/dist/integration/SchemaRefreshLaunch.js.map +1 -1
- package/dist/resolvers/AdhocQueryResolver.d.ts +4 -0
- package/dist/resolvers/AdhocQueryResolver.d.ts.map +1 -1
- package/dist/resolvers/AdhocQueryResolver.js +20 -6
- package/dist/resolvers/AdhocQueryResolver.js.map +1 -1
- package/dist/resolvers/IdentityClaimRedemptionResolver.d.ts +37 -0
- package/dist/resolvers/IdentityClaimRedemptionResolver.d.ts.map +1 -0
- package/dist/resolvers/IdentityClaimRedemptionResolver.js +220 -0
- package/dist/resolvers/IdentityClaimRedemptionResolver.js.map +1 -0
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts +35 -3
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.js +86 -17
- package/dist/resolvers/IntegrationDiscoveryResolver.js.map +1 -1
- package/dist/resolvers/meetingRecordingRegistration.d.ts.map +1 -1
- package/dist/resolvers/meetingRecordingRegistration.js +3 -6
- package/dist/resolvers/meetingRecordingRegistration.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +91 -91
- package/src/__tests__/AdhocQueryResolver.scopeGuard.test.ts +84 -0
- package/src/__tests__/CustomColumnPromoterOnePass.test.ts +387 -0
- package/src/__tests__/InactiveRowWarnings.test.ts +87 -0
- package/src/__tests__/ReactivateRefreshMessage.test.ts +85 -0
- package/src/__tests__/ResolverBase.filterEscaping.test.ts +147 -0
- package/src/__tests__/SessionManager.test.ts +55 -0
- package/src/agentSessions/SessionManager.ts +27 -9
- package/src/auth/index.ts +1 -0
- package/src/auth/scopeLimitedPrincipal.ts +50 -0
- package/src/context.ts +26 -2
- package/src/entitySubclasses/MJEntityPermissionEntityServer.server.ts +8 -7
- package/src/generated/generated.ts +437 -1
- package/src/generic/ResolverBase.ts +56 -4
- package/src/index.ts +57 -1
- package/src/integration/CustomColumnPromoter.ts +520 -98
- package/src/integration/InactiveRowWarnings.ts +85 -0
- package/src/integration/SchemaRefreshLaunch.ts +16 -0
- package/src/resolvers/AdhocQueryResolver.ts +21 -6
- package/src/resolvers/IdentityClaimRedemptionResolver.ts +184 -0
- package/src/resolvers/IntegrationDiscoveryResolver.ts +82 -11
- package/src/resolvers/meetingRecordingRegistration.ts +3 -7
- package/src/types.ts +8 -0
|
@@ -75002,6 +75002,636 @@ MJGeneratedCodeResolver = __decorate([
|
|
|
75002
75002
|
], MJGeneratedCodeResolver);
|
|
75003
75003
|
export { MJGeneratedCodeResolver };
|
|
75004
75004
|
//****************************************************************************
|
|
75005
|
+
// ENTITY CLASS for MJ: Identity Claim Types
|
|
75006
|
+
//****************************************************************************
|
|
75007
|
+
let MJIdentityClaimType_ = class MJIdentityClaimType_ {
|
|
75008
|
+
};
|
|
75009
|
+
__decorate([
|
|
75010
|
+
Field(),
|
|
75011
|
+
MaxLength(36),
|
|
75012
|
+
__metadata("design:type", String)
|
|
75013
|
+
], MJIdentityClaimType_.prototype, "ID", void 0);
|
|
75014
|
+
__decorate([
|
|
75015
|
+
Field({ description: `Unique name identifying this claim type (e.g., "EntitlementGrant", "PersonAccountLink", "OrgInvite").` }),
|
|
75016
|
+
MaxLength(100),
|
|
75017
|
+
__metadata("design:type", String)
|
|
75018
|
+
], MJIdentityClaimType_.prototype, "Name", void 0);
|
|
75019
|
+
__decorate([
|
|
75020
|
+
Field({ nullable: true, description: `Optional description explaining the intent and behavior of this claim type.` }),
|
|
75021
|
+
__metadata("design:type", String)
|
|
75022
|
+
], MJIdentityClaimType_.prototype, "Description", void 0);
|
|
75023
|
+
__decorate([
|
|
75024
|
+
Field({ description: `Plugin class name implementing BaseIdentityClaimDriver, registered via @RegisterClass(BaseIdentityClaimDriver, DriverClass) and resolved at runtime.` }),
|
|
75025
|
+
MaxLength(255),
|
|
75026
|
+
__metadata("design:type", String)
|
|
75027
|
+
], MJIdentityClaimType_.prototype, "DriverClass", void 0);
|
|
75028
|
+
__decorate([
|
|
75029
|
+
Field({ nullable: true, description: `JSON configuration specific to this claim type driver.` }),
|
|
75030
|
+
__metadata("design:type", String)
|
|
75031
|
+
], MJIdentityClaimType_.prototype, "Configuration", void 0);
|
|
75032
|
+
__decorate([
|
|
75033
|
+
Field(() => Int, { description: `Default lifespan in days for claims of this type before they expire automatically.` }),
|
|
75034
|
+
__metadata("design:type", Number)
|
|
75035
|
+
], MJIdentityClaimType_.prototype, "DefaultExpirationDays", void 0);
|
|
75036
|
+
__decorate([
|
|
75037
|
+
Field(() => Boolean, { description: `Whether this claim type is active and available for issuing new claims.` }),
|
|
75038
|
+
__metadata("design:type", Boolean)
|
|
75039
|
+
], MJIdentityClaimType_.prototype, "IsActive", void 0);
|
|
75040
|
+
__decorate([
|
|
75041
|
+
Field(),
|
|
75042
|
+
__metadata("design:type", Date)
|
|
75043
|
+
], MJIdentityClaimType_.prototype, "_mj__CreatedAt", void 0);
|
|
75044
|
+
__decorate([
|
|
75045
|
+
Field(),
|
|
75046
|
+
__metadata("design:type", Date)
|
|
75047
|
+
], MJIdentityClaimType_.prototype, "_mj__UpdatedAt", void 0);
|
|
75048
|
+
MJIdentityClaimType_ = __decorate([
|
|
75049
|
+
ObjectType({ description: `Metadata catalog of identity claim types. Each row defines a claim kind whose lifecycle (create, claim, revoke, expire) is executed by a BaseIdentityClaimDriver plugin resolved at runtime from DriverClass via ClassFactory.` })
|
|
75050
|
+
], MJIdentityClaimType_);
|
|
75051
|
+
export { MJIdentityClaimType_ };
|
|
75052
|
+
//****************************************************************************
|
|
75053
|
+
// INPUT TYPE for MJ: Identity Claim Types
|
|
75054
|
+
//****************************************************************************
|
|
75055
|
+
let CreateMJIdentityClaimTypeInput = class CreateMJIdentityClaimTypeInput {
|
|
75056
|
+
};
|
|
75057
|
+
__decorate([
|
|
75058
|
+
Field({ nullable: true }),
|
|
75059
|
+
__metadata("design:type", String)
|
|
75060
|
+
], CreateMJIdentityClaimTypeInput.prototype, "ID", void 0);
|
|
75061
|
+
__decorate([
|
|
75062
|
+
Field({ nullable: true }),
|
|
75063
|
+
__metadata("design:type", String)
|
|
75064
|
+
], CreateMJIdentityClaimTypeInput.prototype, "Name", void 0);
|
|
75065
|
+
__decorate([
|
|
75066
|
+
Field({ nullable: true }),
|
|
75067
|
+
__metadata("design:type", String)
|
|
75068
|
+
], CreateMJIdentityClaimTypeInput.prototype, "Description", void 0);
|
|
75069
|
+
__decorate([
|
|
75070
|
+
Field({ nullable: true }),
|
|
75071
|
+
__metadata("design:type", String)
|
|
75072
|
+
], CreateMJIdentityClaimTypeInput.prototype, "DriverClass", void 0);
|
|
75073
|
+
__decorate([
|
|
75074
|
+
Field({ nullable: true }),
|
|
75075
|
+
__metadata("design:type", String)
|
|
75076
|
+
], CreateMJIdentityClaimTypeInput.prototype, "Configuration", void 0);
|
|
75077
|
+
__decorate([
|
|
75078
|
+
Field(() => Int, { nullable: true }),
|
|
75079
|
+
__metadata("design:type", Number)
|
|
75080
|
+
], CreateMJIdentityClaimTypeInput.prototype, "DefaultExpirationDays", void 0);
|
|
75081
|
+
__decorate([
|
|
75082
|
+
Field(() => Boolean, { nullable: true }),
|
|
75083
|
+
__metadata("design:type", Boolean)
|
|
75084
|
+
], CreateMJIdentityClaimTypeInput.prototype, "IsActive", void 0);
|
|
75085
|
+
__decorate([
|
|
75086
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
75087
|
+
__metadata("design:type", RestoreContextInput)
|
|
75088
|
+
], CreateMJIdentityClaimTypeInput.prototype, "RestoreContext___", void 0);
|
|
75089
|
+
CreateMJIdentityClaimTypeInput = __decorate([
|
|
75090
|
+
InputType()
|
|
75091
|
+
], CreateMJIdentityClaimTypeInput);
|
|
75092
|
+
export { CreateMJIdentityClaimTypeInput };
|
|
75093
|
+
//****************************************************************************
|
|
75094
|
+
// INPUT TYPE for MJ: Identity Claim Types
|
|
75095
|
+
//****************************************************************************
|
|
75096
|
+
let UpdateMJIdentityClaimTypeInput = class UpdateMJIdentityClaimTypeInput {
|
|
75097
|
+
};
|
|
75098
|
+
__decorate([
|
|
75099
|
+
Field(),
|
|
75100
|
+
__metadata("design:type", String)
|
|
75101
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "ID", void 0);
|
|
75102
|
+
__decorate([
|
|
75103
|
+
Field({ nullable: true }),
|
|
75104
|
+
__metadata("design:type", String)
|
|
75105
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "Name", void 0);
|
|
75106
|
+
__decorate([
|
|
75107
|
+
Field({ nullable: true }),
|
|
75108
|
+
__metadata("design:type", String)
|
|
75109
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "Description", void 0);
|
|
75110
|
+
__decorate([
|
|
75111
|
+
Field({ nullable: true }),
|
|
75112
|
+
__metadata("design:type", String)
|
|
75113
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "DriverClass", void 0);
|
|
75114
|
+
__decorate([
|
|
75115
|
+
Field({ nullable: true }),
|
|
75116
|
+
__metadata("design:type", String)
|
|
75117
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "Configuration", void 0);
|
|
75118
|
+
__decorate([
|
|
75119
|
+
Field(() => Int, { nullable: true }),
|
|
75120
|
+
__metadata("design:type", Number)
|
|
75121
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "DefaultExpirationDays", void 0);
|
|
75122
|
+
__decorate([
|
|
75123
|
+
Field(() => Boolean, { nullable: true }),
|
|
75124
|
+
__metadata("design:type", Boolean)
|
|
75125
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "IsActive", void 0);
|
|
75126
|
+
__decorate([
|
|
75127
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
75128
|
+
__metadata("design:type", Array)
|
|
75129
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "OldValues___", void 0);
|
|
75130
|
+
__decorate([
|
|
75131
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
75132
|
+
__metadata("design:type", RestoreContextInput)
|
|
75133
|
+
], UpdateMJIdentityClaimTypeInput.prototype, "RestoreContext___", void 0);
|
|
75134
|
+
UpdateMJIdentityClaimTypeInput = __decorate([
|
|
75135
|
+
InputType()
|
|
75136
|
+
], UpdateMJIdentityClaimTypeInput);
|
|
75137
|
+
export { UpdateMJIdentityClaimTypeInput };
|
|
75138
|
+
//****************************************************************************
|
|
75139
|
+
// RESOLVER for MJ: Identity Claim Types
|
|
75140
|
+
//****************************************************************************
|
|
75141
|
+
let RunMJIdentityClaimTypeViewResult = class RunMJIdentityClaimTypeViewResult {
|
|
75142
|
+
};
|
|
75143
|
+
__decorate([
|
|
75144
|
+
Field(() => [MJIdentityClaimType_]),
|
|
75145
|
+
__metadata("design:type", Array)
|
|
75146
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "Results", void 0);
|
|
75147
|
+
__decorate([
|
|
75148
|
+
Field(() => String, { nullable: true }),
|
|
75149
|
+
__metadata("design:type", String)
|
|
75150
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "UserViewRunID", void 0);
|
|
75151
|
+
__decorate([
|
|
75152
|
+
Field(() => Int, { nullable: true }),
|
|
75153
|
+
__metadata("design:type", Number)
|
|
75154
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "RowCount", void 0);
|
|
75155
|
+
__decorate([
|
|
75156
|
+
Field(() => Int, { nullable: true }),
|
|
75157
|
+
__metadata("design:type", Number)
|
|
75158
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "TotalRowCount", void 0);
|
|
75159
|
+
__decorate([
|
|
75160
|
+
Field(() => Int, { nullable: true }),
|
|
75161
|
+
__metadata("design:type", Number)
|
|
75162
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "ExecutionTime", void 0);
|
|
75163
|
+
__decorate([
|
|
75164
|
+
Field({ nullable: true }),
|
|
75165
|
+
__metadata("design:type", String)
|
|
75166
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "ErrorMessage", void 0);
|
|
75167
|
+
__decorate([
|
|
75168
|
+
Field(() => Boolean, { nullable: false }),
|
|
75169
|
+
__metadata("design:type", Boolean)
|
|
75170
|
+
], RunMJIdentityClaimTypeViewResult.prototype, "Success", void 0);
|
|
75171
|
+
RunMJIdentityClaimTypeViewResult = __decorate([
|
|
75172
|
+
ObjectType()
|
|
75173
|
+
], RunMJIdentityClaimTypeViewResult);
|
|
75174
|
+
export { RunMJIdentityClaimTypeViewResult };
|
|
75175
|
+
let MJIdentityClaimTypeResolver = class MJIdentityClaimTypeResolver extends ResolverBase {
|
|
75176
|
+
async RunMJIdentityClaimTypeViewByID(input, { providers, userPayload }, pubSub) {
|
|
75177
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75178
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
75179
|
+
}
|
|
75180
|
+
async RunMJIdentityClaimTypeViewByName(input, { providers, userPayload }, pubSub) {
|
|
75181
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75182
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
75183
|
+
}
|
|
75184
|
+
async RunMJIdentityClaimTypeDynamicView(input, { providers, userPayload }, pubSub) {
|
|
75185
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75186
|
+
input.EntityName = 'MJ: Identity Claim Types';
|
|
75187
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
75188
|
+
}
|
|
75189
|
+
async MJIdentityClaimType(ID, { userPayload, providers }, pubSub) {
|
|
75190
|
+
this.CheckUserReadPermissions('MJ: Identity Claim Types', userPayload);
|
|
75191
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75192
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwIdentityClaimTypes')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Identity Claim Types', userPayload, EntityPermissionType.Read, 'AND');
|
|
75193
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
75194
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Identity Claim Types', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
75195
|
+
return result;
|
|
75196
|
+
}
|
|
75197
|
+
async CreateMJIdentityClaimType(input, { providers, userPayload }, pubSub) {
|
|
75198
|
+
const provider = GetReadWriteProvider(providers);
|
|
75199
|
+
return this.CreateRecord('MJ: Identity Claim Types', input, provider, userPayload, pubSub);
|
|
75200
|
+
}
|
|
75201
|
+
async UpdateMJIdentityClaimType(input, { providers, userPayload }, pubSub) {
|
|
75202
|
+
const provider = GetReadWriteProvider(providers);
|
|
75203
|
+
return this.UpdateRecord('MJ: Identity Claim Types', input, provider, userPayload, pubSub);
|
|
75204
|
+
}
|
|
75205
|
+
async DeleteMJIdentityClaimType(ID, options, { providers, userPayload }, pubSub) {
|
|
75206
|
+
const provider = GetReadWriteProvider(providers);
|
|
75207
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
75208
|
+
return this.DeleteRecord('MJ: Identity Claim Types', key, options, provider, userPayload, pubSub);
|
|
75209
|
+
}
|
|
75210
|
+
};
|
|
75211
|
+
__decorate([
|
|
75212
|
+
Query(() => RunMJIdentityClaimTypeViewResult),
|
|
75213
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
75214
|
+
__param(1, Ctx()),
|
|
75215
|
+
__param(2, PubSub()),
|
|
75216
|
+
__metadata("design:type", Function),
|
|
75217
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
75218
|
+
__metadata("design:returntype", Promise)
|
|
75219
|
+
], MJIdentityClaimTypeResolver.prototype, "RunMJIdentityClaimTypeViewByID", null);
|
|
75220
|
+
__decorate([
|
|
75221
|
+
Query(() => RunMJIdentityClaimTypeViewResult),
|
|
75222
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
75223
|
+
__param(1, Ctx()),
|
|
75224
|
+
__param(2, PubSub()),
|
|
75225
|
+
__metadata("design:type", Function),
|
|
75226
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
75227
|
+
__metadata("design:returntype", Promise)
|
|
75228
|
+
], MJIdentityClaimTypeResolver.prototype, "RunMJIdentityClaimTypeViewByName", null);
|
|
75229
|
+
__decorate([
|
|
75230
|
+
Query(() => RunMJIdentityClaimTypeViewResult),
|
|
75231
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
75232
|
+
__param(1, Ctx()),
|
|
75233
|
+
__param(2, PubSub()),
|
|
75234
|
+
__metadata("design:type", Function),
|
|
75235
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
75236
|
+
__metadata("design:returntype", Promise)
|
|
75237
|
+
], MJIdentityClaimTypeResolver.prototype, "RunMJIdentityClaimTypeDynamicView", null);
|
|
75238
|
+
__decorate([
|
|
75239
|
+
Query(() => MJIdentityClaimType_, { nullable: true }),
|
|
75240
|
+
__param(0, Arg('ID', () => String)),
|
|
75241
|
+
__param(1, Ctx()),
|
|
75242
|
+
__param(2, PubSub()),
|
|
75243
|
+
__metadata("design:type", Function),
|
|
75244
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
75245
|
+
__metadata("design:returntype", Promise)
|
|
75246
|
+
], MJIdentityClaimTypeResolver.prototype, "MJIdentityClaimType", null);
|
|
75247
|
+
__decorate([
|
|
75248
|
+
Mutation(() => MJIdentityClaimType_),
|
|
75249
|
+
__param(0, Arg('input', () => CreateMJIdentityClaimTypeInput)),
|
|
75250
|
+
__param(1, Ctx()),
|
|
75251
|
+
__param(2, PubSub()),
|
|
75252
|
+
__metadata("design:type", Function),
|
|
75253
|
+
__metadata("design:paramtypes", [CreateMJIdentityClaimTypeInput, Object, PubSubEngine]),
|
|
75254
|
+
__metadata("design:returntype", Promise)
|
|
75255
|
+
], MJIdentityClaimTypeResolver.prototype, "CreateMJIdentityClaimType", null);
|
|
75256
|
+
__decorate([
|
|
75257
|
+
Mutation(() => MJIdentityClaimType_),
|
|
75258
|
+
__param(0, Arg('input', () => UpdateMJIdentityClaimTypeInput)),
|
|
75259
|
+
__param(1, Ctx()),
|
|
75260
|
+
__param(2, PubSub()),
|
|
75261
|
+
__metadata("design:type", Function),
|
|
75262
|
+
__metadata("design:paramtypes", [UpdateMJIdentityClaimTypeInput, Object, PubSubEngine]),
|
|
75263
|
+
__metadata("design:returntype", Promise)
|
|
75264
|
+
], MJIdentityClaimTypeResolver.prototype, "UpdateMJIdentityClaimType", null);
|
|
75265
|
+
__decorate([
|
|
75266
|
+
Mutation(() => MJIdentityClaimType_),
|
|
75267
|
+
__param(0, Arg('ID', () => String)),
|
|
75268
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
75269
|
+
__param(2, Ctx()),
|
|
75270
|
+
__param(3, PubSub()),
|
|
75271
|
+
__metadata("design:type", Function),
|
|
75272
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
75273
|
+
__metadata("design:returntype", Promise)
|
|
75274
|
+
], MJIdentityClaimTypeResolver.prototype, "DeleteMJIdentityClaimType", null);
|
|
75275
|
+
MJIdentityClaimTypeResolver = __decorate([
|
|
75276
|
+
Resolver(MJIdentityClaimType_)
|
|
75277
|
+
], MJIdentityClaimTypeResolver);
|
|
75278
|
+
export { MJIdentityClaimTypeResolver };
|
|
75279
|
+
//****************************************************************************
|
|
75280
|
+
// ENTITY CLASS for MJ: Identity Claims
|
|
75281
|
+
//****************************************************************************
|
|
75282
|
+
let MJIdentityClaim_ = class MJIdentityClaim_ {
|
|
75283
|
+
};
|
|
75284
|
+
__decorate([
|
|
75285
|
+
Field(),
|
|
75286
|
+
MaxLength(36),
|
|
75287
|
+
__metadata("design:type", String)
|
|
75288
|
+
], MJIdentityClaim_.prototype, "ID", void 0);
|
|
75289
|
+
__decorate([
|
|
75290
|
+
Field({ description: `Foreign key linking this claim to its IdentityClaimType definition.` }),
|
|
75291
|
+
MaxLength(36),
|
|
75292
|
+
__metadata("design:type", String)
|
|
75293
|
+
], MJIdentityClaim_.prototype, "ClaimTypeID", void 0);
|
|
75294
|
+
__decorate([
|
|
75295
|
+
Field({ description: `Normalized lowercase email address of the intended claimant.` }),
|
|
75296
|
+
MaxLength(255),
|
|
75297
|
+
__metadata("design:type", String)
|
|
75298
|
+
], MJIdentityClaim_.prototype, "NormalizedEmail", void 0);
|
|
75299
|
+
__decorate([
|
|
75300
|
+
Field({ nullable: true, description: `Optional polymorphic foreign key to the Entity representing the resource being claimed.` }),
|
|
75301
|
+
MaxLength(36),
|
|
75302
|
+
__metadata("design:type", String)
|
|
75303
|
+
], MJIdentityClaim_.prototype, "EntityID", void 0);
|
|
75304
|
+
__decorate([
|
|
75305
|
+
Field({ nullable: true, description: `Optional primary key / record ID of the specific entity record being claimed.` }),
|
|
75306
|
+
MaxLength(255),
|
|
75307
|
+
__metadata("design:type", String)
|
|
75308
|
+
], MJIdentityClaim_.prototype, "RecordID", void 0);
|
|
75309
|
+
__decorate([
|
|
75310
|
+
Field({ nullable: true, description: `Optional payload JSON containing custom data or parameters consumed by the claim type driver during redemption.` }),
|
|
75311
|
+
__metadata("design:type", String)
|
|
75312
|
+
], MJIdentityClaim_.prototype, "PayloadJSON", void 0);
|
|
75313
|
+
__decorate([
|
|
75314
|
+
Field({ description: `Current lifecycle state of the claim: Pending, Claimed, Expired, or Revoked.` }),
|
|
75315
|
+
MaxLength(20),
|
|
75316
|
+
__metadata("design:type", String)
|
|
75317
|
+
], MJIdentityClaim_.prototype, "Status", void 0);
|
|
75318
|
+
__decorate([
|
|
75319
|
+
Field({ description: `Timestamp after which this claim can no longer be redeemed.` }),
|
|
75320
|
+
__metadata("design:type", Date)
|
|
75321
|
+
], MJIdentityClaim_.prototype, "ExpiresAt", void 0);
|
|
75322
|
+
__decorate([
|
|
75323
|
+
Field({ nullable: true, description: `Timestamp when the claim was successfully redeemed.` }),
|
|
75324
|
+
__metadata("design:type", Date)
|
|
75325
|
+
], MJIdentityClaim_.prototype, "ClaimedAt", void 0);
|
|
75326
|
+
__decorate([
|
|
75327
|
+
Field({ nullable: true, description: `User ID of the authenticated user who successfully claimed this record.` }),
|
|
75328
|
+
MaxLength(36),
|
|
75329
|
+
__metadata("design:type", String)
|
|
75330
|
+
], MJIdentityClaim_.prototype, "ClaimedByUserID", void 0);
|
|
75331
|
+
__decorate([
|
|
75332
|
+
Field({ nullable: true, description: `Optional link to a MagicLinkInvite record for email ownership verification links.` }),
|
|
75333
|
+
MaxLength(36),
|
|
75334
|
+
__metadata("design:type", String)
|
|
75335
|
+
], MJIdentityClaim_.prototype, "MagicLinkInviteID", void 0);
|
|
75336
|
+
__decorate([
|
|
75337
|
+
Field({ nullable: true, description: `Optional metadata JSON for auditing or tracking client provenance.` }),
|
|
75338
|
+
__metadata("design:type", String)
|
|
75339
|
+
], MJIdentityClaim_.prototype, "MetadataJSON", void 0);
|
|
75340
|
+
__decorate([
|
|
75341
|
+
Field(),
|
|
75342
|
+
__metadata("design:type", Date)
|
|
75343
|
+
], MJIdentityClaim_.prototype, "_mj__CreatedAt", void 0);
|
|
75344
|
+
__decorate([
|
|
75345
|
+
Field(),
|
|
75346
|
+
__metadata("design:type", Date)
|
|
75347
|
+
], MJIdentityClaim_.prototype, "_mj__UpdatedAt", void 0);
|
|
75348
|
+
__decorate([
|
|
75349
|
+
Field(),
|
|
75350
|
+
MaxLength(100),
|
|
75351
|
+
__metadata("design:type", String)
|
|
75352
|
+
], MJIdentityClaim_.prototype, "ClaimType", void 0);
|
|
75353
|
+
__decorate([
|
|
75354
|
+
Field({ nullable: true }),
|
|
75355
|
+
MaxLength(255),
|
|
75356
|
+
__metadata("design:type", String)
|
|
75357
|
+
], MJIdentityClaim_.prototype, "Entity", void 0);
|
|
75358
|
+
__decorate([
|
|
75359
|
+
Field({ nullable: true }),
|
|
75360
|
+
MaxLength(100),
|
|
75361
|
+
__metadata("design:type", String)
|
|
75362
|
+
], MJIdentityClaim_.prototype, "ClaimedByUser", void 0);
|
|
75363
|
+
MJIdentityClaim_ = __decorate([
|
|
75364
|
+
ObjectType({ description: `Records of pending, claimed, or expired identity claims addressed to an email address. Facilitates cross-system entitlement claiming, account linking, and invite verification.` })
|
|
75365
|
+
], MJIdentityClaim_);
|
|
75366
|
+
export { MJIdentityClaim_ };
|
|
75367
|
+
//****************************************************************************
|
|
75368
|
+
// INPUT TYPE for MJ: Identity Claims
|
|
75369
|
+
//****************************************************************************
|
|
75370
|
+
let CreateMJIdentityClaimInput = class CreateMJIdentityClaimInput {
|
|
75371
|
+
};
|
|
75372
|
+
__decorate([
|
|
75373
|
+
Field({ nullable: true }),
|
|
75374
|
+
__metadata("design:type", String)
|
|
75375
|
+
], CreateMJIdentityClaimInput.prototype, "ID", void 0);
|
|
75376
|
+
__decorate([
|
|
75377
|
+
Field({ nullable: true }),
|
|
75378
|
+
__metadata("design:type", String)
|
|
75379
|
+
], CreateMJIdentityClaimInput.prototype, "ClaimTypeID", void 0);
|
|
75380
|
+
__decorate([
|
|
75381
|
+
Field({ nullable: true }),
|
|
75382
|
+
__metadata("design:type", String)
|
|
75383
|
+
], CreateMJIdentityClaimInput.prototype, "NormalizedEmail", void 0);
|
|
75384
|
+
__decorate([
|
|
75385
|
+
Field({ nullable: true }),
|
|
75386
|
+
__metadata("design:type", String)
|
|
75387
|
+
], CreateMJIdentityClaimInput.prototype, "EntityID", void 0);
|
|
75388
|
+
__decorate([
|
|
75389
|
+
Field({ nullable: true }),
|
|
75390
|
+
__metadata("design:type", String)
|
|
75391
|
+
], CreateMJIdentityClaimInput.prototype, "RecordID", void 0);
|
|
75392
|
+
__decorate([
|
|
75393
|
+
Field({ nullable: true }),
|
|
75394
|
+
__metadata("design:type", String)
|
|
75395
|
+
], CreateMJIdentityClaimInput.prototype, "PayloadJSON", void 0);
|
|
75396
|
+
__decorate([
|
|
75397
|
+
Field({ nullable: true }),
|
|
75398
|
+
__metadata("design:type", String)
|
|
75399
|
+
], CreateMJIdentityClaimInput.prototype, "Status", void 0);
|
|
75400
|
+
__decorate([
|
|
75401
|
+
Field({ nullable: true }),
|
|
75402
|
+
__metadata("design:type", Date)
|
|
75403
|
+
], CreateMJIdentityClaimInput.prototype, "ExpiresAt", void 0);
|
|
75404
|
+
__decorate([
|
|
75405
|
+
Field({ nullable: true }),
|
|
75406
|
+
__metadata("design:type", Date)
|
|
75407
|
+
], CreateMJIdentityClaimInput.prototype, "ClaimedAt", void 0);
|
|
75408
|
+
__decorate([
|
|
75409
|
+
Field({ nullable: true }),
|
|
75410
|
+
__metadata("design:type", String)
|
|
75411
|
+
], CreateMJIdentityClaimInput.prototype, "ClaimedByUserID", void 0);
|
|
75412
|
+
__decorate([
|
|
75413
|
+
Field({ nullable: true }),
|
|
75414
|
+
__metadata("design:type", String)
|
|
75415
|
+
], CreateMJIdentityClaimInput.prototype, "MagicLinkInviteID", void 0);
|
|
75416
|
+
__decorate([
|
|
75417
|
+
Field({ nullable: true }),
|
|
75418
|
+
__metadata("design:type", String)
|
|
75419
|
+
], CreateMJIdentityClaimInput.prototype, "MetadataJSON", void 0);
|
|
75420
|
+
__decorate([
|
|
75421
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
75422
|
+
__metadata("design:type", RestoreContextInput)
|
|
75423
|
+
], CreateMJIdentityClaimInput.prototype, "RestoreContext___", void 0);
|
|
75424
|
+
CreateMJIdentityClaimInput = __decorate([
|
|
75425
|
+
InputType()
|
|
75426
|
+
], CreateMJIdentityClaimInput);
|
|
75427
|
+
export { CreateMJIdentityClaimInput };
|
|
75428
|
+
//****************************************************************************
|
|
75429
|
+
// INPUT TYPE for MJ: Identity Claims
|
|
75430
|
+
//****************************************************************************
|
|
75431
|
+
let UpdateMJIdentityClaimInput = class UpdateMJIdentityClaimInput {
|
|
75432
|
+
};
|
|
75433
|
+
__decorate([
|
|
75434
|
+
Field(),
|
|
75435
|
+
__metadata("design:type", String)
|
|
75436
|
+
], UpdateMJIdentityClaimInput.prototype, "ID", void 0);
|
|
75437
|
+
__decorate([
|
|
75438
|
+
Field({ nullable: true }),
|
|
75439
|
+
__metadata("design:type", String)
|
|
75440
|
+
], UpdateMJIdentityClaimInput.prototype, "ClaimTypeID", void 0);
|
|
75441
|
+
__decorate([
|
|
75442
|
+
Field({ nullable: true }),
|
|
75443
|
+
__metadata("design:type", String)
|
|
75444
|
+
], UpdateMJIdentityClaimInput.prototype, "NormalizedEmail", void 0);
|
|
75445
|
+
__decorate([
|
|
75446
|
+
Field({ nullable: true }),
|
|
75447
|
+
__metadata("design:type", String)
|
|
75448
|
+
], UpdateMJIdentityClaimInput.prototype, "EntityID", void 0);
|
|
75449
|
+
__decorate([
|
|
75450
|
+
Field({ nullable: true }),
|
|
75451
|
+
__metadata("design:type", String)
|
|
75452
|
+
], UpdateMJIdentityClaimInput.prototype, "RecordID", void 0);
|
|
75453
|
+
__decorate([
|
|
75454
|
+
Field({ nullable: true }),
|
|
75455
|
+
__metadata("design:type", String)
|
|
75456
|
+
], UpdateMJIdentityClaimInput.prototype, "PayloadJSON", void 0);
|
|
75457
|
+
__decorate([
|
|
75458
|
+
Field({ nullable: true }),
|
|
75459
|
+
__metadata("design:type", String)
|
|
75460
|
+
], UpdateMJIdentityClaimInput.prototype, "Status", void 0);
|
|
75461
|
+
__decorate([
|
|
75462
|
+
Field({ nullable: true }),
|
|
75463
|
+
__metadata("design:type", Date)
|
|
75464
|
+
], UpdateMJIdentityClaimInput.prototype, "ExpiresAt", void 0);
|
|
75465
|
+
__decorate([
|
|
75466
|
+
Field({ nullable: true }),
|
|
75467
|
+
__metadata("design:type", Date)
|
|
75468
|
+
], UpdateMJIdentityClaimInput.prototype, "ClaimedAt", void 0);
|
|
75469
|
+
__decorate([
|
|
75470
|
+
Field({ nullable: true }),
|
|
75471
|
+
__metadata("design:type", String)
|
|
75472
|
+
], UpdateMJIdentityClaimInput.prototype, "ClaimedByUserID", void 0);
|
|
75473
|
+
__decorate([
|
|
75474
|
+
Field({ nullable: true }),
|
|
75475
|
+
__metadata("design:type", String)
|
|
75476
|
+
], UpdateMJIdentityClaimInput.prototype, "MagicLinkInviteID", void 0);
|
|
75477
|
+
__decorate([
|
|
75478
|
+
Field({ nullable: true }),
|
|
75479
|
+
__metadata("design:type", String)
|
|
75480
|
+
], UpdateMJIdentityClaimInput.prototype, "MetadataJSON", void 0);
|
|
75481
|
+
__decorate([
|
|
75482
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
75483
|
+
__metadata("design:type", Array)
|
|
75484
|
+
], UpdateMJIdentityClaimInput.prototype, "OldValues___", void 0);
|
|
75485
|
+
__decorate([
|
|
75486
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
75487
|
+
__metadata("design:type", RestoreContextInput)
|
|
75488
|
+
], UpdateMJIdentityClaimInput.prototype, "RestoreContext___", void 0);
|
|
75489
|
+
UpdateMJIdentityClaimInput = __decorate([
|
|
75490
|
+
InputType()
|
|
75491
|
+
], UpdateMJIdentityClaimInput);
|
|
75492
|
+
export { UpdateMJIdentityClaimInput };
|
|
75493
|
+
//****************************************************************************
|
|
75494
|
+
// RESOLVER for MJ: Identity Claims
|
|
75495
|
+
//****************************************************************************
|
|
75496
|
+
let RunMJIdentityClaimViewResult = class RunMJIdentityClaimViewResult {
|
|
75497
|
+
};
|
|
75498
|
+
__decorate([
|
|
75499
|
+
Field(() => [MJIdentityClaim_]),
|
|
75500
|
+
__metadata("design:type", Array)
|
|
75501
|
+
], RunMJIdentityClaimViewResult.prototype, "Results", void 0);
|
|
75502
|
+
__decorate([
|
|
75503
|
+
Field(() => String, { nullable: true }),
|
|
75504
|
+
__metadata("design:type", String)
|
|
75505
|
+
], RunMJIdentityClaimViewResult.prototype, "UserViewRunID", void 0);
|
|
75506
|
+
__decorate([
|
|
75507
|
+
Field(() => Int, { nullable: true }),
|
|
75508
|
+
__metadata("design:type", Number)
|
|
75509
|
+
], RunMJIdentityClaimViewResult.prototype, "RowCount", void 0);
|
|
75510
|
+
__decorate([
|
|
75511
|
+
Field(() => Int, { nullable: true }),
|
|
75512
|
+
__metadata("design:type", Number)
|
|
75513
|
+
], RunMJIdentityClaimViewResult.prototype, "TotalRowCount", void 0);
|
|
75514
|
+
__decorate([
|
|
75515
|
+
Field(() => Int, { nullable: true }),
|
|
75516
|
+
__metadata("design:type", Number)
|
|
75517
|
+
], RunMJIdentityClaimViewResult.prototype, "ExecutionTime", void 0);
|
|
75518
|
+
__decorate([
|
|
75519
|
+
Field({ nullable: true }),
|
|
75520
|
+
__metadata("design:type", String)
|
|
75521
|
+
], RunMJIdentityClaimViewResult.prototype, "ErrorMessage", void 0);
|
|
75522
|
+
__decorate([
|
|
75523
|
+
Field(() => Boolean, { nullable: false }),
|
|
75524
|
+
__metadata("design:type", Boolean)
|
|
75525
|
+
], RunMJIdentityClaimViewResult.prototype, "Success", void 0);
|
|
75526
|
+
RunMJIdentityClaimViewResult = __decorate([
|
|
75527
|
+
ObjectType()
|
|
75528
|
+
], RunMJIdentityClaimViewResult);
|
|
75529
|
+
export { RunMJIdentityClaimViewResult };
|
|
75530
|
+
let MJIdentityClaimResolver = class MJIdentityClaimResolver extends ResolverBase {
|
|
75531
|
+
async RunMJIdentityClaimViewByID(input, { providers, userPayload }, pubSub) {
|
|
75532
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75533
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
75534
|
+
}
|
|
75535
|
+
async RunMJIdentityClaimViewByName(input, { providers, userPayload }, pubSub) {
|
|
75536
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75537
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
75538
|
+
}
|
|
75539
|
+
async RunMJIdentityClaimDynamicView(input, { providers, userPayload }, pubSub) {
|
|
75540
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75541
|
+
input.EntityName = 'MJ: Identity Claims';
|
|
75542
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
75543
|
+
}
|
|
75544
|
+
async MJIdentityClaim(ID, { userPayload, providers }, pubSub) {
|
|
75545
|
+
this.CheckUserReadPermissions('MJ: Identity Claims', userPayload);
|
|
75546
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
75547
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwIdentityClaims')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Identity Claims', userPayload, EntityPermissionType.Read, 'AND');
|
|
75548
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
75549
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Identity Claims', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
75550
|
+
return result;
|
|
75551
|
+
}
|
|
75552
|
+
async CreateMJIdentityClaim(input, { providers, userPayload }, pubSub) {
|
|
75553
|
+
const provider = GetReadWriteProvider(providers);
|
|
75554
|
+
return this.CreateRecord('MJ: Identity Claims', input, provider, userPayload, pubSub);
|
|
75555
|
+
}
|
|
75556
|
+
async UpdateMJIdentityClaim(input, { providers, userPayload }, pubSub) {
|
|
75557
|
+
const provider = GetReadWriteProvider(providers);
|
|
75558
|
+
return this.UpdateRecord('MJ: Identity Claims', input, provider, userPayload, pubSub);
|
|
75559
|
+
}
|
|
75560
|
+
async DeleteMJIdentityClaim(ID, options, { providers, userPayload }, pubSub) {
|
|
75561
|
+
const provider = GetReadWriteProvider(providers);
|
|
75562
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
75563
|
+
return this.DeleteRecord('MJ: Identity Claims', key, options, provider, userPayload, pubSub);
|
|
75564
|
+
}
|
|
75565
|
+
};
|
|
75566
|
+
__decorate([
|
|
75567
|
+
Query(() => RunMJIdentityClaimViewResult),
|
|
75568
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
75569
|
+
__param(1, Ctx()),
|
|
75570
|
+
__param(2, PubSub()),
|
|
75571
|
+
__metadata("design:type", Function),
|
|
75572
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
75573
|
+
__metadata("design:returntype", Promise)
|
|
75574
|
+
], MJIdentityClaimResolver.prototype, "RunMJIdentityClaimViewByID", null);
|
|
75575
|
+
__decorate([
|
|
75576
|
+
Query(() => RunMJIdentityClaimViewResult),
|
|
75577
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
75578
|
+
__param(1, Ctx()),
|
|
75579
|
+
__param(2, PubSub()),
|
|
75580
|
+
__metadata("design:type", Function),
|
|
75581
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
75582
|
+
__metadata("design:returntype", Promise)
|
|
75583
|
+
], MJIdentityClaimResolver.prototype, "RunMJIdentityClaimViewByName", null);
|
|
75584
|
+
__decorate([
|
|
75585
|
+
Query(() => RunMJIdentityClaimViewResult),
|
|
75586
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
75587
|
+
__param(1, Ctx()),
|
|
75588
|
+
__param(2, PubSub()),
|
|
75589
|
+
__metadata("design:type", Function),
|
|
75590
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
75591
|
+
__metadata("design:returntype", Promise)
|
|
75592
|
+
], MJIdentityClaimResolver.prototype, "RunMJIdentityClaimDynamicView", null);
|
|
75593
|
+
__decorate([
|
|
75594
|
+
Query(() => MJIdentityClaim_, { nullable: true }),
|
|
75595
|
+
__param(0, Arg('ID', () => String)),
|
|
75596
|
+
__param(1, Ctx()),
|
|
75597
|
+
__param(2, PubSub()),
|
|
75598
|
+
__metadata("design:type", Function),
|
|
75599
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
75600
|
+
__metadata("design:returntype", Promise)
|
|
75601
|
+
], MJIdentityClaimResolver.prototype, "MJIdentityClaim", null);
|
|
75602
|
+
__decorate([
|
|
75603
|
+
Mutation(() => MJIdentityClaim_),
|
|
75604
|
+
__param(0, Arg('input', () => CreateMJIdentityClaimInput)),
|
|
75605
|
+
__param(1, Ctx()),
|
|
75606
|
+
__param(2, PubSub()),
|
|
75607
|
+
__metadata("design:type", Function),
|
|
75608
|
+
__metadata("design:paramtypes", [CreateMJIdentityClaimInput, Object, PubSubEngine]),
|
|
75609
|
+
__metadata("design:returntype", Promise)
|
|
75610
|
+
], MJIdentityClaimResolver.prototype, "CreateMJIdentityClaim", null);
|
|
75611
|
+
__decorate([
|
|
75612
|
+
Mutation(() => MJIdentityClaim_),
|
|
75613
|
+
__param(0, Arg('input', () => UpdateMJIdentityClaimInput)),
|
|
75614
|
+
__param(1, Ctx()),
|
|
75615
|
+
__param(2, PubSub()),
|
|
75616
|
+
__metadata("design:type", Function),
|
|
75617
|
+
__metadata("design:paramtypes", [UpdateMJIdentityClaimInput, Object, PubSubEngine]),
|
|
75618
|
+
__metadata("design:returntype", Promise)
|
|
75619
|
+
], MJIdentityClaimResolver.prototype, "UpdateMJIdentityClaim", null);
|
|
75620
|
+
__decorate([
|
|
75621
|
+
Mutation(() => MJIdentityClaim_),
|
|
75622
|
+
__param(0, Arg('ID', () => String)),
|
|
75623
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
75624
|
+
__param(2, Ctx()),
|
|
75625
|
+
__param(3, PubSub()),
|
|
75626
|
+
__metadata("design:type", Function),
|
|
75627
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
75628
|
+
__metadata("design:returntype", Promise)
|
|
75629
|
+
], MJIdentityClaimResolver.prototype, "DeleteMJIdentityClaim", null);
|
|
75630
|
+
MJIdentityClaimResolver = __decorate([
|
|
75631
|
+
Resolver(MJIdentityClaim_)
|
|
75632
|
+
], MJIdentityClaimResolver);
|
|
75633
|
+
export { MJIdentityClaimResolver };
|
|
75634
|
+
//****************************************************************************
|
|
75005
75635
|
// ENTITY CLASS for MJ: Instance Configurations
|
|
75006
75636
|
//****************************************************************************
|
|
75007
75637
|
let MJInstanceConfiguration_ = class MJInstanceConfiguration_ {
|