@memberjunction/core-entities 3.4.0 → 4.1.0
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/artifact-extraction/artifact-extract-rules.js +1 -2
- package/dist/artifact-extraction/artifact-extract-rules.js.map +1 -1
- package/dist/artifact-extraction/artifact-extractor.d.ts +1 -1
- package/dist/artifact-extraction/artifact-extractor.js +1 -5
- package/dist/artifact-extraction/artifact-extractor.js.map +1 -1
- package/dist/custom/ComponentEntityExtended.d.ts +1 -1
- package/dist/custom/ComponentEntityExtended.js +8 -11
- package/dist/custom/ComponentEntityExtended.js.map +1 -1
- package/dist/custom/DashboardEntityExtended.d.ts +1 -1
- package/dist/custom/DashboardEntityExtended.js +17 -20
- package/dist/custom/DashboardEntityExtended.js.map +1 -1
- package/dist/custom/EntityEntityExtended.d.ts +1 -1
- package/dist/custom/EntityEntityExtended.js +7 -10
- package/dist/custom/EntityEntityExtended.js.map +1 -1
- package/dist/custom/EntityFieldEntityExtended.d.ts +1 -1
- package/dist/custom/EntityFieldEntityExtended.js +27 -29
- package/dist/custom/EntityFieldEntityExtended.js.map +1 -1
- package/dist/custom/EnvironmentEntityExtended.d.ts +1 -1
- package/dist/custom/EnvironmentEntityExtended.js +7 -10
- package/dist/custom/EnvironmentEntityExtended.js.map +1 -1
- package/dist/custom/ListDetailEntityExtended.d.ts +1 -1
- package/dist/custom/ListDetailEntityExtended.js +14 -17
- package/dist/custom/ListDetailEntityExtended.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourceData.js +4 -8
- package/dist/custom/ResourcePermissions/ResourceData.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.d.ts +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js +6 -9
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionSubclass.d.ts +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionSubclass.js +10 -13
- package/dist/custom/ResourcePermissions/ResourcePermissionSubclass.js.map +1 -1
- package/dist/custom/ScheduledActionExtended.d.ts +1 -1
- package/dist/custom/ScheduledActionExtended.js +7 -10
- package/dist/custom/ScheduledActionExtended.js.map +1 -1
- package/dist/custom/TemplateEntityExtended.d.ts +1 -1
- package/dist/custom/TemplateEntityExtended.js +8 -11
- package/dist/custom/TemplateEntityExtended.js.map +1 -1
- package/dist/custom/UserViewEntity.d.ts +1 -1
- package/dist/custom/UserViewEntity.js +44 -75
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/engines/EncryptionEngineBase.d.ts +1 -6
- package/dist/engines/EncryptionEngineBase.d.ts.map +1 -1
- package/dist/engines/EncryptionEngineBase.js +8 -19
- package/dist/engines/EncryptionEngineBase.js.map +1 -1
- package/dist/engines/FileStorageEngine.d.ts +1 -1
- package/dist/engines/FileStorageEngine.js +2 -6
- package/dist/engines/FileStorageEngine.js.map +1 -1
- package/dist/engines/MCPEngine.d.ts +1 -1
- package/dist/engines/MCPEngine.js +2 -6
- package/dist/engines/MCPEngine.js.map +1 -1
- package/dist/engines/TypeTablesCache.d.ts +1 -1
- package/dist/engines/TypeTablesCache.js +2 -6
- package/dist/engines/TypeTablesCache.js.map +1 -1
- package/dist/engines/UserInfoEngine.d.ts +1 -1
- package/dist/engines/UserInfoEngine.d.ts.map +1 -1
- package/dist/engines/UserInfoEngine.js +35 -18
- package/dist/engines/UserInfoEngine.js.map +1 -1
- package/dist/engines/UserViewEngine.d.ts +1 -1
- package/dist/engines/UserViewEngine.js +4 -8
- package/dist/engines/UserViewEngine.js.map +1 -1
- package/dist/engines/artifacts.d.ts +1 -1
- package/dist/engines/artifacts.js +2 -6
- package/dist/engines/artifacts.js.map +1 -1
- package/dist/engines/component-metadata.d.ts +2 -2
- package/dist/engines/component-metadata.js +2 -6
- package/dist/engines/component-metadata.js.map +1 -1
- package/dist/engines/dashboards.d.ts +2 -2
- package/dist/engines/dashboards.js +5 -8
- package/dist/engines/dashboards.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +1633 -56
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +9576 -7270
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +24 -24
- package/dist/index.js +24 -40
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
- package/readme.md +420 -132
|
@@ -240,7 +240,7 @@ export declare const ActionParamSchema: z.ZodObject<{
|
|
|
240
240
|
Name: z.ZodString;
|
|
241
241
|
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
242
242
|
Type: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
243
|
-
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"
|
|
243
|
+
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
|
|
244
244
|
IsArray: z.ZodBoolean;
|
|
245
245
|
Description: z.ZodNullable<z.ZodString>;
|
|
246
246
|
IsRequired: z.ZodBoolean;
|
|
@@ -4040,6 +4040,9 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
4040
4040
|
EncryptionKeyID: z.ZodNullable<z.ZodString>;
|
|
4041
4041
|
AllowDecryptInAPI: z.ZodBoolean;
|
|
4042
4042
|
SendEncryptedValue: z.ZodBoolean;
|
|
4043
|
+
IsSoftPrimaryKey: z.ZodBoolean;
|
|
4044
|
+
IsSoftForeignKey: z.ZodBoolean;
|
|
4045
|
+
RelatedEntityJoinFields: z.ZodNullable<z.ZodString>;
|
|
4043
4046
|
FieldCodeName: z.ZodNullable<z.ZodString>;
|
|
4044
4047
|
Entity: z.ZodString;
|
|
4045
4048
|
SchemaName: z.ZodString;
|
|
@@ -4113,6 +4116,9 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
4113
4116
|
EncryptionKeyID?: string;
|
|
4114
4117
|
AllowDecryptInAPI?: boolean;
|
|
4115
4118
|
SendEncryptedValue?: boolean;
|
|
4119
|
+
IsSoftPrimaryKey?: boolean;
|
|
4120
|
+
IsSoftForeignKey?: boolean;
|
|
4121
|
+
RelatedEntityJoinFields?: string;
|
|
4116
4122
|
FieldCodeName?: string;
|
|
4117
4123
|
RelatedEntity?: string;
|
|
4118
4124
|
RelatedEntitySchemaName?: string;
|
|
@@ -4180,6 +4186,9 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
4180
4186
|
EncryptionKeyID?: string;
|
|
4181
4187
|
AllowDecryptInAPI?: boolean;
|
|
4182
4188
|
SendEncryptedValue?: boolean;
|
|
4189
|
+
IsSoftPrimaryKey?: boolean;
|
|
4190
|
+
IsSoftForeignKey?: boolean;
|
|
4191
|
+
RelatedEntityJoinFields?: string;
|
|
4183
4192
|
FieldCodeName?: string;
|
|
4184
4193
|
RelatedEntity?: string;
|
|
4185
4194
|
RelatedEntitySchemaName?: string;
|
|
@@ -9180,6 +9189,12 @@ export declare const MCPServerSchema: z.ZodObject<{
|
|
|
9180
9189
|
IconClass: z.ZodNullable<z.ZodString>;
|
|
9181
9190
|
__mj_CreatedAt: z.ZodDate;
|
|
9182
9191
|
__mj_UpdatedAt: z.ZodDate;
|
|
9192
|
+
OAuthIssuerURL: z.ZodNullable<z.ZodString>;
|
|
9193
|
+
OAuthScopes: z.ZodNullable<z.ZodString>;
|
|
9194
|
+
OAuthMetadataCacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
|
|
9195
|
+
OAuthClientID: z.ZodNullable<z.ZodString>;
|
|
9196
|
+
OAuthClientSecretEncrypted: z.ZodNullable<z.ZodString>;
|
|
9197
|
+
OAuthRequirePKCE: z.ZodBoolean;
|
|
9183
9198
|
CredentialType: z.ZodNullable<z.ZodString>;
|
|
9184
9199
|
}, "strip", z.ZodTypeAny, {
|
|
9185
9200
|
ID?: string;
|
|
@@ -9202,6 +9217,12 @@ export declare const MCPServerSchema: z.ZodObject<{
|
|
|
9202
9217
|
ConnectionTimeoutMs?: number;
|
|
9203
9218
|
RequestTimeoutMs?: number;
|
|
9204
9219
|
DocumentationURL?: string;
|
|
9220
|
+
OAuthIssuerURL?: string;
|
|
9221
|
+
OAuthScopes?: string;
|
|
9222
|
+
OAuthMetadataCacheTTLMinutes?: number;
|
|
9223
|
+
OAuthClientID?: string;
|
|
9224
|
+
OAuthClientSecretEncrypted?: string;
|
|
9225
|
+
OAuthRequirePKCE?: boolean;
|
|
9205
9226
|
}, {
|
|
9206
9227
|
ID?: string;
|
|
9207
9228
|
__mj_CreatedAt?: Date;
|
|
@@ -9223,6 +9244,12 @@ export declare const MCPServerSchema: z.ZodObject<{
|
|
|
9223
9244
|
ConnectionTimeoutMs?: number;
|
|
9224
9245
|
RequestTimeoutMs?: number;
|
|
9225
9246
|
DocumentationURL?: string;
|
|
9247
|
+
OAuthIssuerURL?: string;
|
|
9248
|
+
OAuthScopes?: string;
|
|
9249
|
+
OAuthMetadataCacheTTLMinutes?: number;
|
|
9250
|
+
OAuthClientID?: string;
|
|
9251
|
+
OAuthClientSecretEncrypted?: string;
|
|
9252
|
+
OAuthRequirePKCE?: boolean;
|
|
9226
9253
|
}>;
|
|
9227
9254
|
export type MCPServerEntityType = z.infer<typeof MCPServerSchema>;
|
|
9228
9255
|
/**
|
|
@@ -9287,6 +9314,248 @@ export declare const MCPToolExecutionLogSchema: z.ZodObject<{
|
|
|
9287
9314
|
OutputTruncated?: boolean;
|
|
9288
9315
|
}>;
|
|
9289
9316
|
export type MCPToolExecutionLogEntityType = z.infer<typeof MCPToolExecutionLogSchema>;
|
|
9317
|
+
/**
|
|
9318
|
+
* zod schema definition for the entity MJ: O Auth Auth Server Metadata Caches
|
|
9319
|
+
*/
|
|
9320
|
+
export declare const OAuthAuthServerMetadataCacheSchema: z.ZodObject<{
|
|
9321
|
+
ID: z.ZodString;
|
|
9322
|
+
IssuerURL: z.ZodString;
|
|
9323
|
+
AuthorizationEndpoint: z.ZodString;
|
|
9324
|
+
TokenEndpoint: z.ZodString;
|
|
9325
|
+
RegistrationEndpoint: z.ZodNullable<z.ZodString>;
|
|
9326
|
+
RevocationEndpoint: z.ZodNullable<z.ZodString>;
|
|
9327
|
+
JwksURI: z.ZodNullable<z.ZodString>;
|
|
9328
|
+
ScopesSupported: z.ZodNullable<z.ZodString>;
|
|
9329
|
+
ResponseTypesSupported: z.ZodString;
|
|
9330
|
+
GrantTypesSupported: z.ZodNullable<z.ZodString>;
|
|
9331
|
+
TokenEndpointAuthMethods: z.ZodNullable<z.ZodString>;
|
|
9332
|
+
CodeChallengeMethodsSupported: z.ZodNullable<z.ZodString>;
|
|
9333
|
+
MetadataJSON: z.ZodString;
|
|
9334
|
+
CachedAt: z.ZodDate;
|
|
9335
|
+
ExpiresAt: z.ZodDate;
|
|
9336
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9337
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9338
|
+
}, "strip", z.ZodTypeAny, {
|
|
9339
|
+
ID?: string;
|
|
9340
|
+
__mj_CreatedAt?: Date;
|
|
9341
|
+
__mj_UpdatedAt?: Date;
|
|
9342
|
+
ExpiresAt?: Date;
|
|
9343
|
+
IssuerURL?: string;
|
|
9344
|
+
AuthorizationEndpoint?: string;
|
|
9345
|
+
TokenEndpoint?: string;
|
|
9346
|
+
RegistrationEndpoint?: string;
|
|
9347
|
+
RevocationEndpoint?: string;
|
|
9348
|
+
JwksURI?: string;
|
|
9349
|
+
ScopesSupported?: string;
|
|
9350
|
+
ResponseTypesSupported?: string;
|
|
9351
|
+
GrantTypesSupported?: string;
|
|
9352
|
+
TokenEndpointAuthMethods?: string;
|
|
9353
|
+
CodeChallengeMethodsSupported?: string;
|
|
9354
|
+
MetadataJSON?: string;
|
|
9355
|
+
CachedAt?: Date;
|
|
9356
|
+
}, {
|
|
9357
|
+
ID?: string;
|
|
9358
|
+
__mj_CreatedAt?: Date;
|
|
9359
|
+
__mj_UpdatedAt?: Date;
|
|
9360
|
+
ExpiresAt?: Date;
|
|
9361
|
+
IssuerURL?: string;
|
|
9362
|
+
AuthorizationEndpoint?: string;
|
|
9363
|
+
TokenEndpoint?: string;
|
|
9364
|
+
RegistrationEndpoint?: string;
|
|
9365
|
+
RevocationEndpoint?: string;
|
|
9366
|
+
JwksURI?: string;
|
|
9367
|
+
ScopesSupported?: string;
|
|
9368
|
+
ResponseTypesSupported?: string;
|
|
9369
|
+
GrantTypesSupported?: string;
|
|
9370
|
+
TokenEndpointAuthMethods?: string;
|
|
9371
|
+
CodeChallengeMethodsSupported?: string;
|
|
9372
|
+
MetadataJSON?: string;
|
|
9373
|
+
CachedAt?: Date;
|
|
9374
|
+
}>;
|
|
9375
|
+
export type OAuthAuthServerMetadataCacheEntityType = z.infer<typeof OAuthAuthServerMetadataCacheSchema>;
|
|
9376
|
+
/**
|
|
9377
|
+
* zod schema definition for the entity MJ: O Auth Authorization States
|
|
9378
|
+
*/
|
|
9379
|
+
export declare const OAuthAuthorizationStateSchema: z.ZodObject<{
|
|
9380
|
+
ID: z.ZodString;
|
|
9381
|
+
MCPServerConnectionID: z.ZodString;
|
|
9382
|
+
UserID: z.ZodString;
|
|
9383
|
+
StateParameter: z.ZodString;
|
|
9384
|
+
CodeVerifier: z.ZodString;
|
|
9385
|
+
CodeChallenge: z.ZodString;
|
|
9386
|
+
RedirectURI: z.ZodString;
|
|
9387
|
+
RequestedScopes: z.ZodNullable<z.ZodString>;
|
|
9388
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Completed">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">]>;
|
|
9389
|
+
AuthorizationURL: z.ZodString;
|
|
9390
|
+
ErrorCode: z.ZodNullable<z.ZodString>;
|
|
9391
|
+
ErrorDescription: z.ZodNullable<z.ZodString>;
|
|
9392
|
+
InitiatedAt: z.ZodDate;
|
|
9393
|
+
ExpiresAt: z.ZodDate;
|
|
9394
|
+
CompletedAt: z.ZodNullable<z.ZodDate>;
|
|
9395
|
+
FrontendReturnURL: z.ZodNullable<z.ZodString>;
|
|
9396
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9397
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9398
|
+
MCPServerConnection: z.ZodString;
|
|
9399
|
+
User: z.ZodString;
|
|
9400
|
+
}, "strip", z.ZodTypeAny, {
|
|
9401
|
+
ID?: string;
|
|
9402
|
+
__mj_CreatedAt?: Date;
|
|
9403
|
+
__mj_UpdatedAt?: Date;
|
|
9404
|
+
Status?: "Pending" | "Failed" | "Expired" | "Completed";
|
|
9405
|
+
UserID?: string;
|
|
9406
|
+
User?: string;
|
|
9407
|
+
ExpiresAt?: Date;
|
|
9408
|
+
CompletedAt?: Date;
|
|
9409
|
+
MCPServerConnectionID?: string;
|
|
9410
|
+
MCPServerConnection?: string;
|
|
9411
|
+
StateParameter?: string;
|
|
9412
|
+
CodeVerifier?: string;
|
|
9413
|
+
CodeChallenge?: string;
|
|
9414
|
+
RedirectURI?: string;
|
|
9415
|
+
RequestedScopes?: string;
|
|
9416
|
+
AuthorizationURL?: string;
|
|
9417
|
+
ErrorCode?: string;
|
|
9418
|
+
ErrorDescription?: string;
|
|
9419
|
+
InitiatedAt?: Date;
|
|
9420
|
+
FrontendReturnURL?: string;
|
|
9421
|
+
}, {
|
|
9422
|
+
ID?: string;
|
|
9423
|
+
__mj_CreatedAt?: Date;
|
|
9424
|
+
__mj_UpdatedAt?: Date;
|
|
9425
|
+
Status?: "Pending" | "Failed" | "Expired" | "Completed";
|
|
9426
|
+
UserID?: string;
|
|
9427
|
+
User?: string;
|
|
9428
|
+
ExpiresAt?: Date;
|
|
9429
|
+
CompletedAt?: Date;
|
|
9430
|
+
MCPServerConnectionID?: string;
|
|
9431
|
+
MCPServerConnection?: string;
|
|
9432
|
+
StateParameter?: string;
|
|
9433
|
+
CodeVerifier?: string;
|
|
9434
|
+
CodeChallenge?: string;
|
|
9435
|
+
RedirectURI?: string;
|
|
9436
|
+
RequestedScopes?: string;
|
|
9437
|
+
AuthorizationURL?: string;
|
|
9438
|
+
ErrorCode?: string;
|
|
9439
|
+
ErrorDescription?: string;
|
|
9440
|
+
InitiatedAt?: Date;
|
|
9441
|
+
FrontendReturnURL?: string;
|
|
9442
|
+
}>;
|
|
9443
|
+
export type OAuthAuthorizationStateEntityType = z.infer<typeof OAuthAuthorizationStateSchema>;
|
|
9444
|
+
/**
|
|
9445
|
+
* zod schema definition for the entity MJ: O Auth Client Registrations
|
|
9446
|
+
*/
|
|
9447
|
+
export declare const OAuthClientRegistrationSchema: z.ZodObject<{
|
|
9448
|
+
ID: z.ZodString;
|
|
9449
|
+
MCPServerConnectionID: z.ZodString;
|
|
9450
|
+
MCPServerID: z.ZodString;
|
|
9451
|
+
IssuerURL: z.ZodString;
|
|
9452
|
+
ClientID: z.ZodString;
|
|
9453
|
+
ClientSecretEncrypted: z.ZodNullable<z.ZodString>;
|
|
9454
|
+
ClientIDIssuedAt: z.ZodNullable<z.ZodDate>;
|
|
9455
|
+
ClientSecretExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
9456
|
+
RegistrationAccessToken: z.ZodNullable<z.ZodString>;
|
|
9457
|
+
RegistrationClientURI: z.ZodNullable<z.ZodString>;
|
|
9458
|
+
RedirectURIs: z.ZodString;
|
|
9459
|
+
GrantTypes: z.ZodString;
|
|
9460
|
+
ResponseTypes: z.ZodString;
|
|
9461
|
+
Scope: z.ZodNullable<z.ZodString>;
|
|
9462
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Revoked">]>;
|
|
9463
|
+
RegistrationResponse: z.ZodString;
|
|
9464
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9465
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9466
|
+
MCPServerConnection: z.ZodString;
|
|
9467
|
+
MCPServer: z.ZodString;
|
|
9468
|
+
}, "strip", z.ZodTypeAny, {
|
|
9469
|
+
ID?: string;
|
|
9470
|
+
__mj_CreatedAt?: Date;
|
|
9471
|
+
__mj_UpdatedAt?: Date;
|
|
9472
|
+
Status?: "Active" | "Revoked" | "Expired";
|
|
9473
|
+
ClientID?: string;
|
|
9474
|
+
Scope?: string;
|
|
9475
|
+
MCPServerConnectionID?: string;
|
|
9476
|
+
MCPServerConnection?: string;
|
|
9477
|
+
MCPServerID?: string;
|
|
9478
|
+
MCPServer?: string;
|
|
9479
|
+
IssuerURL?: string;
|
|
9480
|
+
ClientSecretEncrypted?: string;
|
|
9481
|
+
ClientIDIssuedAt?: Date;
|
|
9482
|
+
ClientSecretExpiresAt?: Date;
|
|
9483
|
+
RegistrationAccessToken?: string;
|
|
9484
|
+
RegistrationClientURI?: string;
|
|
9485
|
+
RedirectURIs?: string;
|
|
9486
|
+
GrantTypes?: string;
|
|
9487
|
+
ResponseTypes?: string;
|
|
9488
|
+
RegistrationResponse?: string;
|
|
9489
|
+
}, {
|
|
9490
|
+
ID?: string;
|
|
9491
|
+
__mj_CreatedAt?: Date;
|
|
9492
|
+
__mj_UpdatedAt?: Date;
|
|
9493
|
+
Status?: "Active" | "Revoked" | "Expired";
|
|
9494
|
+
ClientID?: string;
|
|
9495
|
+
Scope?: string;
|
|
9496
|
+
MCPServerConnectionID?: string;
|
|
9497
|
+
MCPServerConnection?: string;
|
|
9498
|
+
MCPServerID?: string;
|
|
9499
|
+
MCPServer?: string;
|
|
9500
|
+
IssuerURL?: string;
|
|
9501
|
+
ClientSecretEncrypted?: string;
|
|
9502
|
+
ClientIDIssuedAt?: Date;
|
|
9503
|
+
ClientSecretExpiresAt?: Date;
|
|
9504
|
+
RegistrationAccessToken?: string;
|
|
9505
|
+
RegistrationClientURI?: string;
|
|
9506
|
+
RedirectURIs?: string;
|
|
9507
|
+
GrantTypes?: string;
|
|
9508
|
+
ResponseTypes?: string;
|
|
9509
|
+
RegistrationResponse?: string;
|
|
9510
|
+
}>;
|
|
9511
|
+
export type OAuthClientRegistrationEntityType = z.infer<typeof OAuthClientRegistrationSchema>;
|
|
9512
|
+
/**
|
|
9513
|
+
* zod schema definition for the entity MJ: O Auth Tokens
|
|
9514
|
+
*/
|
|
9515
|
+
export declare const OAuthTokenSchema: z.ZodObject<{
|
|
9516
|
+
ID: z.ZodString;
|
|
9517
|
+
MCPServerConnectionID: z.ZodString;
|
|
9518
|
+
CredentialID: z.ZodNullable<z.ZodString>;
|
|
9519
|
+
TokenType: z.ZodString;
|
|
9520
|
+
ExpiresAt: z.ZodDate;
|
|
9521
|
+
Scope: z.ZodNullable<z.ZodString>;
|
|
9522
|
+
IssuerURL: z.ZodString;
|
|
9523
|
+
LastRefreshAt: z.ZodNullable<z.ZodDate>;
|
|
9524
|
+
RefreshCount: z.ZodNumber;
|
|
9525
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9526
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9527
|
+
MCPServerConnection: z.ZodString;
|
|
9528
|
+
Credential: z.ZodNullable<z.ZodString>;
|
|
9529
|
+
}, "strip", z.ZodTypeAny, {
|
|
9530
|
+
ID?: string;
|
|
9531
|
+
__mj_CreatedAt?: Date;
|
|
9532
|
+
__mj_UpdatedAt?: Date;
|
|
9533
|
+
ExpiresAt?: Date;
|
|
9534
|
+
Scope?: string;
|
|
9535
|
+
CredentialID?: string;
|
|
9536
|
+
Credential?: string;
|
|
9537
|
+
MCPServerConnectionID?: string;
|
|
9538
|
+
MCPServerConnection?: string;
|
|
9539
|
+
IssuerURL?: string;
|
|
9540
|
+
TokenType?: string;
|
|
9541
|
+
LastRefreshAt?: Date;
|
|
9542
|
+
RefreshCount?: number;
|
|
9543
|
+
}, {
|
|
9544
|
+
ID?: string;
|
|
9545
|
+
__mj_CreatedAt?: Date;
|
|
9546
|
+
__mj_UpdatedAt?: Date;
|
|
9547
|
+
ExpiresAt?: Date;
|
|
9548
|
+
Scope?: string;
|
|
9549
|
+
CredentialID?: string;
|
|
9550
|
+
Credential?: string;
|
|
9551
|
+
MCPServerConnectionID?: string;
|
|
9552
|
+
MCPServerConnection?: string;
|
|
9553
|
+
IssuerURL?: string;
|
|
9554
|
+
TokenType?: string;
|
|
9555
|
+
LastRefreshAt?: Date;
|
|
9556
|
+
RefreshCount?: number;
|
|
9557
|
+
}>;
|
|
9558
|
+
export type OAuthTokenEntityType = z.infer<typeof OAuthTokenSchema>;
|
|
9290
9559
|
/**
|
|
9291
9560
|
* zod schema definition for the entity MJ: Projects
|
|
9292
9561
|
*/
|
|
@@ -10479,6 +10748,162 @@ export declare const UserSettingSchema: z.ZodObject<{
|
|
|
10479
10748
|
Setting?: string;
|
|
10480
10749
|
}>;
|
|
10481
10750
|
export type UserSettingEntityType = z.infer<typeof UserSettingSchema>;
|
|
10751
|
+
/**
|
|
10752
|
+
* zod schema definition for the entity MJ: Version Label Items
|
|
10753
|
+
*/
|
|
10754
|
+
export declare const VersionLabelItemSchema: z.ZodObject<{
|
|
10755
|
+
ID: z.ZodString;
|
|
10756
|
+
VersionLabelID: z.ZodString;
|
|
10757
|
+
RecordChangeID: z.ZodString;
|
|
10758
|
+
EntityID: z.ZodString;
|
|
10759
|
+
RecordID: z.ZodString;
|
|
10760
|
+
__mj_CreatedAt: z.ZodDate;
|
|
10761
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
10762
|
+
VersionLabel: z.ZodString;
|
|
10763
|
+
RecordChange: z.ZodString;
|
|
10764
|
+
Entity: z.ZodString;
|
|
10765
|
+
}, "strip", z.ZodTypeAny, {
|
|
10766
|
+
ID?: string;
|
|
10767
|
+
__mj_CreatedAt?: Date;
|
|
10768
|
+
__mj_UpdatedAt?: Date;
|
|
10769
|
+
EntityID?: string;
|
|
10770
|
+
Entity?: string;
|
|
10771
|
+
RecordID?: string;
|
|
10772
|
+
VersionLabelID?: string;
|
|
10773
|
+
RecordChangeID?: string;
|
|
10774
|
+
VersionLabel?: string;
|
|
10775
|
+
RecordChange?: string;
|
|
10776
|
+
}, {
|
|
10777
|
+
ID?: string;
|
|
10778
|
+
__mj_CreatedAt?: Date;
|
|
10779
|
+
__mj_UpdatedAt?: Date;
|
|
10780
|
+
EntityID?: string;
|
|
10781
|
+
Entity?: string;
|
|
10782
|
+
RecordID?: string;
|
|
10783
|
+
VersionLabelID?: string;
|
|
10784
|
+
RecordChangeID?: string;
|
|
10785
|
+
VersionLabel?: string;
|
|
10786
|
+
RecordChange?: string;
|
|
10787
|
+
}>;
|
|
10788
|
+
export type VersionLabelItemEntityType = z.infer<typeof VersionLabelItemSchema>;
|
|
10789
|
+
/**
|
|
10790
|
+
* zod schema definition for the entity MJ: Version Label Restores
|
|
10791
|
+
*/
|
|
10792
|
+
export declare const VersionLabelRestoreSchema: z.ZodObject<{
|
|
10793
|
+
ID: z.ZodString;
|
|
10794
|
+
VersionLabelID: z.ZodString;
|
|
10795
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Partial">, z.ZodLiteral<"Pending">]>;
|
|
10796
|
+
StartedAt: z.ZodDate;
|
|
10797
|
+
EndedAt: z.ZodNullable<z.ZodDate>;
|
|
10798
|
+
UserID: z.ZodString;
|
|
10799
|
+
TotalItems: z.ZodNumber;
|
|
10800
|
+
CompletedItems: z.ZodNumber;
|
|
10801
|
+
FailedItems: z.ZodNumber;
|
|
10802
|
+
ErrorLog: z.ZodNullable<z.ZodString>;
|
|
10803
|
+
PreRestoreLabelID: z.ZodNullable<z.ZodString>;
|
|
10804
|
+
__mj_CreatedAt: z.ZodDate;
|
|
10805
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
10806
|
+
VersionLabel: z.ZodString;
|
|
10807
|
+
User: z.ZodString;
|
|
10808
|
+
PreRestoreLabel: z.ZodNullable<z.ZodString>;
|
|
10809
|
+
}, "strip", z.ZodTypeAny, {
|
|
10810
|
+
ID?: string;
|
|
10811
|
+
__mj_CreatedAt?: Date;
|
|
10812
|
+
__mj_UpdatedAt?: Date;
|
|
10813
|
+
Status?: "Pending" | "Complete" | "In Progress" | "Error" | "Partial";
|
|
10814
|
+
StartedAt?: Date;
|
|
10815
|
+
EndedAt?: Date;
|
|
10816
|
+
UserID?: string;
|
|
10817
|
+
User?: string;
|
|
10818
|
+
ErrorLog?: string;
|
|
10819
|
+
VersionLabelID?: string;
|
|
10820
|
+
VersionLabel?: string;
|
|
10821
|
+
TotalItems?: number;
|
|
10822
|
+
CompletedItems?: number;
|
|
10823
|
+
FailedItems?: number;
|
|
10824
|
+
PreRestoreLabelID?: string;
|
|
10825
|
+
PreRestoreLabel?: string;
|
|
10826
|
+
}, {
|
|
10827
|
+
ID?: string;
|
|
10828
|
+
__mj_CreatedAt?: Date;
|
|
10829
|
+
__mj_UpdatedAt?: Date;
|
|
10830
|
+
Status?: "Pending" | "Complete" | "In Progress" | "Error" | "Partial";
|
|
10831
|
+
StartedAt?: Date;
|
|
10832
|
+
EndedAt?: Date;
|
|
10833
|
+
UserID?: string;
|
|
10834
|
+
User?: string;
|
|
10835
|
+
ErrorLog?: string;
|
|
10836
|
+
VersionLabelID?: string;
|
|
10837
|
+
VersionLabel?: string;
|
|
10838
|
+
TotalItems?: number;
|
|
10839
|
+
CompletedItems?: number;
|
|
10840
|
+
FailedItems?: number;
|
|
10841
|
+
PreRestoreLabelID?: string;
|
|
10842
|
+
PreRestoreLabel?: string;
|
|
10843
|
+
}>;
|
|
10844
|
+
export type VersionLabelRestoreEntityType = z.infer<typeof VersionLabelRestoreSchema>;
|
|
10845
|
+
/**
|
|
10846
|
+
* zod schema definition for the entity MJ: Version Labels
|
|
10847
|
+
*/
|
|
10848
|
+
export declare const VersionLabelSchema: z.ZodObject<{
|
|
10849
|
+
ID: z.ZodString;
|
|
10850
|
+
Name: z.ZodString;
|
|
10851
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
10852
|
+
Scope: z.ZodUnion<[z.ZodLiteral<"Entity">, z.ZodLiteral<"Record">, z.ZodLiteral<"System">]>;
|
|
10853
|
+
EntityID: z.ZodNullable<z.ZodString>;
|
|
10854
|
+
RecordID: z.ZodNullable<z.ZodString>;
|
|
10855
|
+
ParentID: z.ZodNullable<z.ZodString>;
|
|
10856
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Archived">, z.ZodLiteral<"Restored">]>;
|
|
10857
|
+
CreatedByUserID: z.ZodString;
|
|
10858
|
+
ExternalSystemID: z.ZodNullable<z.ZodString>;
|
|
10859
|
+
ItemCount: z.ZodNumber;
|
|
10860
|
+
CreationDurationMS: z.ZodNumber;
|
|
10861
|
+
__mj_CreatedAt: z.ZodDate;
|
|
10862
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
10863
|
+
Entity: z.ZodNullable<z.ZodString>;
|
|
10864
|
+
Parent: z.ZodNullable<z.ZodString>;
|
|
10865
|
+
CreatedByUser: z.ZodString;
|
|
10866
|
+
RootParentID: z.ZodNullable<z.ZodString>;
|
|
10867
|
+
}, "strip", z.ZodTypeAny, {
|
|
10868
|
+
ID?: string;
|
|
10869
|
+
__mj_CreatedAt?: Date;
|
|
10870
|
+
__mj_UpdatedAt?: Date;
|
|
10871
|
+
Name?: string;
|
|
10872
|
+
Description?: string;
|
|
10873
|
+
ParentID?: string;
|
|
10874
|
+
Status?: "Active" | "Archived" | "Restored";
|
|
10875
|
+
Parent?: string;
|
|
10876
|
+
RootParentID?: string;
|
|
10877
|
+
EntityID?: string;
|
|
10878
|
+
Entity?: string;
|
|
10879
|
+
RecordID?: string;
|
|
10880
|
+
ExternalSystemID?: string;
|
|
10881
|
+
Scope?: "System" | "Entity" | "Record";
|
|
10882
|
+
CreatedByUserID?: string;
|
|
10883
|
+
CreatedByUser?: string;
|
|
10884
|
+
ItemCount?: number;
|
|
10885
|
+
CreationDurationMS?: number;
|
|
10886
|
+
}, {
|
|
10887
|
+
ID?: string;
|
|
10888
|
+
__mj_CreatedAt?: Date;
|
|
10889
|
+
__mj_UpdatedAt?: Date;
|
|
10890
|
+
Name?: string;
|
|
10891
|
+
Description?: string;
|
|
10892
|
+
ParentID?: string;
|
|
10893
|
+
Status?: "Active" | "Archived" | "Restored";
|
|
10894
|
+
Parent?: string;
|
|
10895
|
+
RootParentID?: string;
|
|
10896
|
+
EntityID?: string;
|
|
10897
|
+
Entity?: string;
|
|
10898
|
+
RecordID?: string;
|
|
10899
|
+
ExternalSystemID?: string;
|
|
10900
|
+
Scope?: "System" | "Entity" | "Record";
|
|
10901
|
+
CreatedByUserID?: string;
|
|
10902
|
+
CreatedByUser?: string;
|
|
10903
|
+
ItemCount?: number;
|
|
10904
|
+
CreationDurationMS?: number;
|
|
10905
|
+
}>;
|
|
10906
|
+
export type VersionLabelEntityType = z.infer<typeof VersionLabelSchema>;
|
|
10482
10907
|
/**
|
|
10483
10908
|
* zod schema definition for the entity Output Delivery Types
|
|
10484
10909
|
*/
|
|
@@ -11128,7 +11553,7 @@ export declare const RecordChangeSchema: z.ZodObject<{
|
|
|
11128
11553
|
EntityID: z.ZodString;
|
|
11129
11554
|
RecordID: z.ZodString;
|
|
11130
11555
|
UserID: z.ZodString;
|
|
11131
|
-
Type: z.ZodUnion<[z.ZodLiteral<"Create">, z.ZodLiteral<"Delete">, z.ZodLiteral<"Update">]>;
|
|
11556
|
+
Type: z.ZodUnion<[z.ZodLiteral<"Create">, z.ZodLiteral<"Delete">, z.ZodLiteral<"Snapshot">, z.ZodLiteral<"Update">]>;
|
|
11132
11557
|
Source: z.ZodUnion<[z.ZodLiteral<"External">, z.ZodLiteral<"Internal">]>;
|
|
11133
11558
|
ChangedAt: z.ZodDate;
|
|
11134
11559
|
ChangesJSON: z.ZodString;
|
|
@@ -11151,7 +11576,7 @@ export declare const RecordChangeSchema: z.ZodObject<{
|
|
|
11151
11576
|
Status?: "Pending" | "Complete" | "Error";
|
|
11152
11577
|
UserID?: string;
|
|
11153
11578
|
User?: string;
|
|
11154
|
-
Type?: "Create" | "Delete" | "Update";
|
|
11579
|
+
Type?: "Create" | "Delete" | "Snapshot" | "Update";
|
|
11155
11580
|
EntityID?: string;
|
|
11156
11581
|
Entity?: string;
|
|
11157
11582
|
RecordID?: string;
|
|
@@ -11173,7 +11598,7 @@ export declare const RecordChangeSchema: z.ZodObject<{
|
|
|
11173
11598
|
Status?: "Pending" | "Complete" | "Error";
|
|
11174
11599
|
UserID?: string;
|
|
11175
11600
|
User?: string;
|
|
11176
|
-
Type?: "Create" | "Delete" | "Update";
|
|
11601
|
+
Type?: "Create" | "Delete" | "Snapshot" | "Update";
|
|
11177
11602
|
EntityID?: string;
|
|
11178
11603
|
Entity?: string;
|
|
11179
11604
|
RecordID?: string;
|
|
@@ -11994,7 +12419,7 @@ export declare const TemplateParamSchema: z.ZodObject<{
|
|
|
11994
12419
|
Name?: string;
|
|
11995
12420
|
Description?: string;
|
|
11996
12421
|
DefaultValue?: string;
|
|
11997
|
-
Type?: "Scalar" | "Entity" | "
|
|
12422
|
+
Type?: "Scalar" | "Entity" | "Record" | "Array" | "Object";
|
|
11998
12423
|
IsRequired?: boolean;
|
|
11999
12424
|
TemplateID?: string;
|
|
12000
12425
|
Template?: string;
|
|
@@ -12014,7 +12439,7 @@ export declare const TemplateParamSchema: z.ZodObject<{
|
|
|
12014
12439
|
Name?: string;
|
|
12015
12440
|
Description?: string;
|
|
12016
12441
|
DefaultValue?: string;
|
|
12017
|
-
Type?: "Scalar" | "Entity" | "
|
|
12442
|
+
Type?: "Scalar" | "Entity" | "Record" | "Array" | "Object";
|
|
12018
12443
|
IsRequired?: boolean;
|
|
12019
12444
|
TemplateID?: string;
|
|
12020
12445
|
Template?: string;
|
|
@@ -13583,15 +14008,15 @@ export declare class ActionParamEntity extends BaseEntity<ActionParamEntityType>
|
|
|
13583
14008
|
* * BaseEntity Sub-Class
|
|
13584
14009
|
* * Other
|
|
13585
14010
|
* * MediaOutput
|
|
13586
|
-
* * Other
|
|
13587
14011
|
* * Scalar
|
|
14012
|
+
* * Other
|
|
13588
14013
|
* * Scalar
|
|
13589
14014
|
* * Simple Object
|
|
13590
14015
|
* * Simple Object
|
|
13591
14016
|
* * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
|
|
13592
14017
|
*/
|
|
13593
|
-
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
13594
|
-
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
14018
|
+
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Scalar' | 'Other' | 'Scalar' | 'Simple Object' | 'Simple Object';
|
|
14019
|
+
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Scalar' | 'Other' | 'Scalar' | 'Simple Object' | 'Simple Object');
|
|
13595
14020
|
/**
|
|
13596
14021
|
* * Field Name: IsArray
|
|
13597
14022
|
* * Display Name: Is Array
|
|
@@ -16097,42 +16522,49 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
16097
16522
|
* * SQL Data Type: nvarchar(50)
|
|
16098
16523
|
*/
|
|
16099
16524
|
get Vendor(): string | null;
|
|
16525
|
+
set Vendor(value: string | null);
|
|
16100
16526
|
/**
|
|
16101
16527
|
* * Field Name: DriverClass
|
|
16102
16528
|
* * Display Name: Driver Class
|
|
16103
16529
|
* * SQL Data Type: nvarchar(100)
|
|
16104
16530
|
*/
|
|
16105
16531
|
get DriverClass(): string | null;
|
|
16532
|
+
set DriverClass(value: string | null);
|
|
16106
16533
|
/**
|
|
16107
16534
|
* * Field Name: DriverImportPath
|
|
16108
16535
|
* * Display Name: Driver Import Path
|
|
16109
16536
|
* * SQL Data Type: nvarchar(255)
|
|
16110
16537
|
*/
|
|
16111
16538
|
get DriverImportPath(): string | null;
|
|
16539
|
+
set DriverImportPath(value: string | null);
|
|
16112
16540
|
/**
|
|
16113
16541
|
* * Field Name: APIName
|
|
16114
16542
|
* * Display Name: API Name
|
|
16115
16543
|
* * SQL Data Type: nvarchar(100)
|
|
16116
16544
|
*/
|
|
16117
16545
|
get APIName(): string | null;
|
|
16546
|
+
set APIName(value: string | null);
|
|
16118
16547
|
/**
|
|
16119
16548
|
* * Field Name: InputTokenLimit
|
|
16120
16549
|
* * Display Name: Input Token Limit
|
|
16121
16550
|
* * SQL Data Type: int
|
|
16122
16551
|
*/
|
|
16123
16552
|
get InputTokenLimit(): number | null;
|
|
16553
|
+
set InputTokenLimit(value: number | null);
|
|
16124
16554
|
/**
|
|
16125
16555
|
* * Field Name: SupportedResponseFormats
|
|
16126
16556
|
* * Display Name: Supported Response Formats
|
|
16127
16557
|
* * SQL Data Type: nvarchar(100)
|
|
16128
16558
|
*/
|
|
16129
16559
|
get SupportedResponseFormats(): string | null;
|
|
16560
|
+
set SupportedResponseFormats(value: string | null);
|
|
16130
16561
|
/**
|
|
16131
16562
|
* * Field Name: SupportsEffortLevel
|
|
16132
16563
|
* * Display Name: Supports Effort Level
|
|
16133
16564
|
* * SQL Data Type: bit
|
|
16134
16565
|
*/
|
|
16135
16566
|
get SupportsEffortLevel(): boolean | null;
|
|
16567
|
+
set SupportsEffortLevel(value: boolean | null);
|
|
16136
16568
|
}
|
|
16137
16569
|
/**
|
|
16138
16570
|
* AI Prompt Categories - strongly typed entity sub-class
|
|
@@ -20567,7 +20999,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
20567
20999
|
set UserID(value: string);
|
|
20568
21000
|
/**
|
|
20569
21001
|
* * Field Name: ExternalID
|
|
20570
|
-
* * Display Name: External
|
|
21002
|
+
* * Display Name: External ID
|
|
20571
21003
|
* * SQL Data Type: nvarchar(500)
|
|
20572
21004
|
* * Description: External system identifier for cross-system conversation tracking.
|
|
20573
21005
|
*/
|
|
@@ -20615,7 +21047,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
20615
21047
|
set LinkedEntityID(value: string | null);
|
|
20616
21048
|
/**
|
|
20617
21049
|
* * Field Name: LinkedRecordID
|
|
20618
|
-
* * Display Name: Linked Record
|
|
21050
|
+
* * Display Name: Linked Record ID
|
|
20619
21051
|
* * SQL Data Type: nvarchar(500)
|
|
20620
21052
|
* * Description: ID of a related record this conversation is about (support ticket, order, etc.).
|
|
20621
21053
|
*/
|
|
@@ -21627,7 +22059,7 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
|
|
|
21627
22059
|
set ID(value: string);
|
|
21628
22060
|
/**
|
|
21629
22061
|
* * Field Name: DuplicateRunID
|
|
21630
|
-
* * Display Name: Duplicate Run
|
|
22062
|
+
* * Display Name: Duplicate Run ID
|
|
21631
22063
|
* * SQL Data Type: uniqueidentifier
|
|
21632
22064
|
* * Related Entity/Foreign Key: Duplicate Runs (vwDuplicateRuns.ID)
|
|
21633
22065
|
*/
|
|
@@ -21960,7 +22392,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21960
22392
|
get __mj_UpdatedAt(): Date;
|
|
21961
22393
|
/**
|
|
21962
22394
|
* * Field Name: Employee
|
|
21963
|
-
* * Display Name: Employee
|
|
22395
|
+
* * Display Name: Employee
|
|
21964
22396
|
* * SQL Data Type: nvarchar(81)
|
|
21965
22397
|
*/
|
|
21966
22398
|
get Employee(): string | null;
|
|
@@ -22035,7 +22467,7 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
|
|
|
22035
22467
|
get __mj_UpdatedAt(): Date;
|
|
22036
22468
|
/**
|
|
22037
22469
|
* * Field Name: Employee
|
|
22038
|
-
* * Display Name: Employee
|
|
22470
|
+
* * Display Name: Employee
|
|
22039
22471
|
* * SQL Data Type: nvarchar(81)
|
|
22040
22472
|
*/
|
|
22041
22473
|
get Employee(): string | null;
|
|
@@ -22088,7 +22520,7 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
|
|
|
22088
22520
|
set EmployeeID(value: string);
|
|
22089
22521
|
/**
|
|
22090
22522
|
* * Field Name: SkillID
|
|
22091
|
-
* * Display Name: Skill
|
|
22523
|
+
* * Display Name: Skill ID
|
|
22092
22524
|
* * SQL Data Type: uniqueidentifier
|
|
22093
22525
|
* * Related Entity/Foreign Key: Skills (vwSkills.ID)
|
|
22094
22526
|
*/
|
|
@@ -23090,13 +23522,13 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
23090
23522
|
get __mj_UpdatedAt(): Date;
|
|
23091
23523
|
/**
|
|
23092
23524
|
* * Field Name: EntityAction
|
|
23093
|
-
* * Display Name: Action
|
|
23525
|
+
* * Display Name: Action Name
|
|
23094
23526
|
* * SQL Data Type: nvarchar(425)
|
|
23095
23527
|
*/
|
|
23096
23528
|
get EntityAction(): string;
|
|
23097
23529
|
/**
|
|
23098
23530
|
* * Field Name: InvocationType
|
|
23099
|
-
* * Display Name: Invocation Type
|
|
23531
|
+
* * Display Name: Invocation Type Name
|
|
23100
23532
|
* * SQL Data Type: nvarchar(255)
|
|
23101
23533
|
*/
|
|
23102
23534
|
get InvocationType(): string;
|
|
@@ -23506,7 +23938,7 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
|
|
|
23506
23938
|
set ID(value: string);
|
|
23507
23939
|
/**
|
|
23508
23940
|
* * Field Name: EntityCommunicationMessageTypeID
|
|
23509
|
-
* * Display Name: Message Type
|
|
23941
|
+
* * Display Name: Entity Communication Message Type
|
|
23510
23942
|
* * SQL Data Type: uniqueidentifier
|
|
23511
23943
|
* * Related Entity/Foreign Key: Entity Communication Message Types (vwEntityCommunicationMessageTypes.ID)
|
|
23512
23944
|
*/
|
|
@@ -24220,7 +24652,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
24220
24652
|
set AutoUpdateDescription(value: boolean);
|
|
24221
24653
|
/**
|
|
24222
24654
|
* * Field Name: IsPrimaryKey
|
|
24223
|
-
* * Display Name: Primary Key
|
|
24655
|
+
* * Display Name: Is Primary Key
|
|
24224
24656
|
* * SQL Data Type: bit
|
|
24225
24657
|
* * Default Value: 0
|
|
24226
24658
|
* * Description: Indicates if the field is part of the primary key for the entity (auto maintained by CodeGen)
|
|
@@ -24229,7 +24661,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
24229
24661
|
set IsPrimaryKey(value: boolean);
|
|
24230
24662
|
/**
|
|
24231
24663
|
* * Field Name: IsUnique
|
|
24232
|
-
* * Display Name: Unique
|
|
24664
|
+
* * Display Name: Is Unique
|
|
24233
24665
|
* * SQL Data Type: bit
|
|
24234
24666
|
* * Default Value: 0
|
|
24235
24667
|
* * Description: Indicates if the field must have unique values within the entity.
|
|
@@ -24442,7 +24874,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
24442
24874
|
set GeneratedFormSection(value: 'Category' | 'Details' | 'Top');
|
|
24443
24875
|
/**
|
|
24444
24876
|
* * Field Name: IsVirtual
|
|
24445
|
-
* * Display Name: Virtual
|
|
24877
|
+
* * Display Name: Is Virtual
|
|
24446
24878
|
* * SQL Data Type: bit
|
|
24447
24879
|
* * Default Value: 0
|
|
24448
24880
|
* * Description: NULL
|
|
@@ -24622,7 +25054,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
24622
25054
|
set Encrypt(value: boolean);
|
|
24623
25055
|
/**
|
|
24624
25056
|
* * Field Name: EncryptionKeyID
|
|
24625
|
-
* * Display Name: Encryption Key
|
|
25057
|
+
* * Display Name: Encryption Key
|
|
24626
25058
|
* * SQL Data Type: uniqueidentifier
|
|
24627
25059
|
* * Related Entity/Foreign Key: MJ: Encryption Keys (vwEncryptionKeys.ID)
|
|
24628
25060
|
* * Description: References the encryption key to use when Encrypt is true. Required if Encrypt is true.
|
|
@@ -24648,6 +25080,32 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
24648
25080
|
get SendEncryptedValue(): boolean;
|
|
24649
25081
|
set SendEncryptedValue(value: boolean);
|
|
24650
25082
|
/**
|
|
25083
|
+
* * Field Name: IsSoftPrimaryKey
|
|
25084
|
+
* * Display Name: Is Soft Primary Key
|
|
25085
|
+
* * SQL Data Type: bit
|
|
25086
|
+
* * Default Value: 0
|
|
25087
|
+
* * Description: When 1, indicates IsPrimaryKey was set via metadata (not a database constraint). Protects IsPrimaryKey from being cleared by schema sync.
|
|
25088
|
+
*/
|
|
25089
|
+
get IsSoftPrimaryKey(): boolean;
|
|
25090
|
+
set IsSoftPrimaryKey(value: boolean);
|
|
25091
|
+
/**
|
|
25092
|
+
* * Field Name: IsSoftForeignKey
|
|
25093
|
+
* * Display Name: Is Soft Foreign Key
|
|
25094
|
+
* * SQL Data Type: bit
|
|
25095
|
+
* * Default Value: 0
|
|
25096
|
+
* * Description: When 1, indicates RelatedEntityID/RelatedEntityFieldName were set via metadata (not a database constraint). Protects these fields from being cleared by schema sync.
|
|
25097
|
+
*/
|
|
25098
|
+
get IsSoftForeignKey(): boolean;
|
|
25099
|
+
set IsSoftForeignKey(value: boolean);
|
|
25100
|
+
/**
|
|
25101
|
+
* * Field Name: RelatedEntityJoinFields
|
|
25102
|
+
* * Display Name: Related Entity Join Fields
|
|
25103
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25104
|
+
* * Description: JSON configuration for additional fields to join from the related entity into this entity's base view. Supports modes: extend (add to NameField), override (replace NameField), disable (no joins). Schema: { mode?: string, fields?: [{ field: string, alias?: string }] }
|
|
25105
|
+
*/
|
|
25106
|
+
get RelatedEntityJoinFields(): string | null;
|
|
25107
|
+
set RelatedEntityJoinFields(value: string | null);
|
|
25108
|
+
/**
|
|
24651
25109
|
* * Field Name: FieldCodeName
|
|
24652
25110
|
* * Display Name: Field Code Name
|
|
24653
25111
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -25519,7 +25977,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
25519
25977
|
set ID(value: string);
|
|
25520
25978
|
/**
|
|
25521
25979
|
* * Field Name: CompanyIntegrationRunID
|
|
25522
|
-
* * Display Name: Company Integration Run
|
|
25980
|
+
* * Display Name: Company Integration Run
|
|
25523
25981
|
* * SQL Data Type: uniqueidentifier
|
|
25524
25982
|
* * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
|
|
25525
25983
|
*/
|
|
@@ -25527,7 +25985,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
25527
25985
|
set CompanyIntegrationRunID(value: string | null);
|
|
25528
25986
|
/**
|
|
25529
25987
|
* * Field Name: CompanyIntegrationRunDetailID
|
|
25530
|
-
* * Display Name: Company Integration Run Detail
|
|
25988
|
+
* * Display Name: Company Integration Run Detail
|
|
25531
25989
|
* * SQL Data Type: uniqueidentifier
|
|
25532
25990
|
* * Related Entity/Foreign Key: Company Integration Run Details (vwCompanyIntegrationRunDetails.ID)
|
|
25533
25991
|
*/
|
|
@@ -25597,13 +26055,13 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
25597
26055
|
get __mj_UpdatedAt(): Date;
|
|
25598
26056
|
/**
|
|
25599
26057
|
* * Field Name: CompanyIntegrationRun
|
|
25600
|
-
* * Display Name:
|
|
26058
|
+
* * Display Name: Integration Run
|
|
25601
26059
|
* * SQL Data Type: nvarchar(100)
|
|
25602
26060
|
*/
|
|
25603
26061
|
get CompanyIntegrationRun(): string | null;
|
|
25604
26062
|
/**
|
|
25605
26063
|
* * Field Name: CompanyIntegrationRunDetail
|
|
25606
|
-
* * Display Name:
|
|
26064
|
+
* * Display Name: Integration Run Detail
|
|
25607
26065
|
* * SQL Data Type: nvarchar(450)
|
|
25608
26066
|
*/
|
|
25609
26067
|
get CompanyIntegrationRunDetail(): string | null;
|
|
@@ -29048,13 +29506,13 @@ detailed information about what validation rules failed.
|
|
|
29048
29506
|
set Comments(value: string | null);
|
|
29049
29507
|
/**
|
|
29050
29508
|
* * Field Name: AgentRun
|
|
29051
|
-
* * Display Name: Agent Run
|
|
29509
|
+
* * Display Name: Agent Run
|
|
29052
29510
|
* * SQL Data Type: nvarchar(255)
|
|
29053
29511
|
*/
|
|
29054
29512
|
get AgentRun(): string | null;
|
|
29055
29513
|
/**
|
|
29056
29514
|
* * Field Name: Parent
|
|
29057
|
-
* * Display Name: Parent
|
|
29515
|
+
* * Display Name: Parent
|
|
29058
29516
|
* * SQL Data Type: nvarchar(255)
|
|
29059
29517
|
*/
|
|
29060
29518
|
get Parent(): string | null;
|
|
@@ -33644,7 +34102,7 @@ export declare class APIKeyUsageLogEntity extends BaseEntity<APIKeyUsageLogEntit
|
|
|
33644
34102
|
get __mj_UpdatedAt(): Date;
|
|
33645
34103
|
/**
|
|
33646
34104
|
* * Field Name: ApplicationID
|
|
33647
|
-
* * Display Name: Application
|
|
34105
|
+
* * Display Name: Application
|
|
33648
34106
|
* * SQL Data Type: uniqueidentifier
|
|
33649
34107
|
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33650
34108
|
* * Description: The application through which this request was made (MJAPI, MCPServer, etc.).
|
|
@@ -36140,7 +36598,7 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
36140
36598
|
get __mj_UpdatedAt(): Date;
|
|
36141
36599
|
/**
|
|
36142
36600
|
* * Field Name: ConversationDetail
|
|
36143
|
-
* * Display Name: Message
|
|
36601
|
+
* * Display Name: Message Text
|
|
36144
36602
|
* * SQL Data Type: nvarchar(MAX)
|
|
36145
36603
|
*/
|
|
36146
36604
|
get ConversationDetail(): string;
|
|
@@ -36396,7 +36854,7 @@ export declare class ConversationDetailRatingEntity extends BaseEntity<Conversat
|
|
|
36396
36854
|
set ConversationDetailID(value: string);
|
|
36397
36855
|
/**
|
|
36398
36856
|
* * Field Name: UserID
|
|
36399
|
-
* * Display Name: User
|
|
36857
|
+
* * Display Name: User
|
|
36400
36858
|
* * SQL Data Type: uniqueidentifier
|
|
36401
36859
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
36402
36860
|
* * Description: The user providing the rating.
|
|
@@ -39019,6 +39477,56 @@ export declare class MCPServerEntity extends BaseEntity<MCPServerEntityType> {
|
|
|
39019
39477
|
*/
|
|
39020
39478
|
get __mj_UpdatedAt(): Date;
|
|
39021
39479
|
/**
|
|
39480
|
+
* * Field Name: OAuthIssuerURL
|
|
39481
|
+
* * Display Name: O Auth Issuer URL
|
|
39482
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39483
|
+
* * Description: Authorization server issuer URL for OAuth 2.1 authentication (e.g., https://auth.example.com).
|
|
39484
|
+
*/
|
|
39485
|
+
get OAuthIssuerURL(): string | null;
|
|
39486
|
+
set OAuthIssuerURL(value: string | null);
|
|
39487
|
+
/**
|
|
39488
|
+
* * Field Name: OAuthScopes
|
|
39489
|
+
* * Display Name: O Auth Scopes
|
|
39490
|
+
* * SQL Data Type: nvarchar(500)
|
|
39491
|
+
* * Description: Space-delimited OAuth scopes to request (e.g., "read write admin").
|
|
39492
|
+
*/
|
|
39493
|
+
get OAuthScopes(): string | null;
|
|
39494
|
+
set OAuthScopes(value: string | null);
|
|
39495
|
+
/**
|
|
39496
|
+
* * Field Name: OAuthMetadataCacheTTLMinutes
|
|
39497
|
+
* * Display Name: O Auth Metadata Cache TTL Minutes
|
|
39498
|
+
* * SQL Data Type: int
|
|
39499
|
+
* * Default Value: 1440
|
|
39500
|
+
* * Description: Cache TTL for authorization server metadata in minutes. Default 1440 (24 hours).
|
|
39501
|
+
*/
|
|
39502
|
+
get OAuthMetadataCacheTTLMinutes(): number | null;
|
|
39503
|
+
set OAuthMetadataCacheTTLMinutes(value: number | null);
|
|
39504
|
+
/**
|
|
39505
|
+
* * Field Name: OAuthClientID
|
|
39506
|
+
* * Display Name: O Auth Client ID
|
|
39507
|
+
* * SQL Data Type: nvarchar(255)
|
|
39508
|
+
* * Description: Pre-configured OAuth client ID (when DCR is not supported).
|
|
39509
|
+
*/
|
|
39510
|
+
get OAuthClientID(): string | null;
|
|
39511
|
+
set OAuthClientID(value: string | null);
|
|
39512
|
+
/**
|
|
39513
|
+
* * Field Name: OAuthClientSecretEncrypted
|
|
39514
|
+
* * Display Name: O Auth Client Secret Encrypted
|
|
39515
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39516
|
+
* * Description: Pre-configured OAuth client secret (encrypted at rest, when DCR is not supported).
|
|
39517
|
+
*/
|
|
39518
|
+
get OAuthClientSecretEncrypted(): string | null;
|
|
39519
|
+
set OAuthClientSecretEncrypted(value: string | null);
|
|
39520
|
+
/**
|
|
39521
|
+
* * Field Name: OAuthRequirePKCE
|
|
39522
|
+
* * Display Name: O Auth Require PKCE
|
|
39523
|
+
* * SQL Data Type: bit
|
|
39524
|
+
* * Default Value: 1
|
|
39525
|
+
* * Description: Whether to require PKCE for OAuth flows. Always true for OAuth 2.1 compliance.
|
|
39526
|
+
*/
|
|
39527
|
+
get OAuthRequirePKCE(): boolean;
|
|
39528
|
+
set OAuthRequirePKCE(value: boolean);
|
|
39529
|
+
/**
|
|
39022
39530
|
* * Field Name: CredentialType
|
|
39023
39531
|
* * Display Name: Credential Type
|
|
39024
39532
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -39058,7 +39566,7 @@ export declare class MCPToolExecutionLogEntity extends BaseEntity<MCPToolExecuti
|
|
|
39058
39566
|
set ID(value: string);
|
|
39059
39567
|
/**
|
|
39060
39568
|
* * Field Name: MCPServerConnectionID
|
|
39061
|
-
* * Display Name: MCP Server Connection
|
|
39569
|
+
* * Display Name: MCP Server Connection ID
|
|
39062
39570
|
* * SQL Data Type: uniqueidentifier
|
|
39063
39571
|
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
39064
39572
|
*/
|
|
@@ -39066,7 +39574,7 @@ export declare class MCPToolExecutionLogEntity extends BaseEntity<MCPToolExecuti
|
|
|
39066
39574
|
set MCPServerConnectionID(value: string);
|
|
39067
39575
|
/**
|
|
39068
39576
|
* * Field Name: MCPServerToolID
|
|
39069
|
-
* * Display Name: MCP Server Tool
|
|
39577
|
+
* * Display Name: MCP Server Tool ID
|
|
39070
39578
|
* * SQL Data Type: uniqueidentifier
|
|
39071
39579
|
* * Related Entity/Foreign Key: MJ: MCP Server Tools (vwMCPServerTools.ID)
|
|
39072
39580
|
* * Description: FK to MCP Server Tool (null if tool not cached)
|
|
@@ -39169,23 +39677,652 @@ export declare class MCPToolExecutionLogEntity extends BaseEntity<MCPToolExecuti
|
|
|
39169
39677
|
get __mj_UpdatedAt(): Date;
|
|
39170
39678
|
/**
|
|
39171
39679
|
* * Field Name: MCPServerConnection
|
|
39172
|
-
* * Display Name: MCP Server Connection
|
|
39680
|
+
* * Display Name: MCP Server Connection
|
|
39173
39681
|
* * SQL Data Type: nvarchar(255)
|
|
39174
39682
|
*/
|
|
39175
39683
|
get MCPServerConnection(): string;
|
|
39176
39684
|
/**
|
|
39177
39685
|
* * Field Name: MCPServerTool
|
|
39178
|
-
* * Display Name: MCP Server Tool
|
|
39686
|
+
* * Display Name: MCP Server Tool
|
|
39179
39687
|
* * SQL Data Type: nvarchar(255)
|
|
39180
39688
|
*/
|
|
39181
39689
|
get MCPServerTool(): string | null;
|
|
39182
39690
|
/**
|
|
39183
39691
|
* * Field Name: User
|
|
39184
|
-
* * Display Name: User
|
|
39692
|
+
* * Display Name: User
|
|
39185
39693
|
* * SQL Data Type: nvarchar(100)
|
|
39186
39694
|
*/
|
|
39187
39695
|
get User(): string;
|
|
39188
39696
|
}
|
|
39697
|
+
/**
|
|
39698
|
+
* MJ: O Auth Auth Server Metadata Caches - strongly typed entity sub-class
|
|
39699
|
+
* * Schema: __mj
|
|
39700
|
+
* * Base Table: OAuthAuthServerMetadataCache
|
|
39701
|
+
* * Base View: vwOAuthAuthServerMetadataCaches
|
|
39702
|
+
* * @description Caches OAuth 2.0 Authorization Server Metadata (RFC 8414) to reduce discovery requests.
|
|
39703
|
+
* * Primary Key: ID
|
|
39704
|
+
* @extends {BaseEntity}
|
|
39705
|
+
* @class
|
|
39706
|
+
* @public
|
|
39707
|
+
*/
|
|
39708
|
+
export declare class OAuthAuthServerMetadataCacheEntity extends BaseEntity<OAuthAuthServerMetadataCacheEntityType> {
|
|
39709
|
+
/**
|
|
39710
|
+
* Loads the MJ: O Auth Auth Server Metadata Caches record from the database
|
|
39711
|
+
* @param ID: string - primary key value to load the MJ: O Auth Auth Server Metadata Caches record.
|
|
39712
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39713
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39714
|
+
* @public
|
|
39715
|
+
* @async
|
|
39716
|
+
* @memberof OAuthAuthServerMetadataCacheEntity
|
|
39717
|
+
* @method
|
|
39718
|
+
* @override
|
|
39719
|
+
*/
|
|
39720
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39721
|
+
/**
|
|
39722
|
+
* * Field Name: ID
|
|
39723
|
+
* * Display Name: ID
|
|
39724
|
+
* * SQL Data Type: uniqueidentifier
|
|
39725
|
+
* * Default Value: newsequentialid()
|
|
39726
|
+
*/
|
|
39727
|
+
get ID(): string;
|
|
39728
|
+
set ID(value: string);
|
|
39729
|
+
/**
|
|
39730
|
+
* * Field Name: IssuerURL
|
|
39731
|
+
* * Display Name: Issuer URL
|
|
39732
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39733
|
+
* * Description: Authorization server issuer identifier URL.
|
|
39734
|
+
*/
|
|
39735
|
+
get IssuerURL(): string;
|
|
39736
|
+
set IssuerURL(value: string);
|
|
39737
|
+
/**
|
|
39738
|
+
* * Field Name: AuthorizationEndpoint
|
|
39739
|
+
* * Display Name: Authorization Endpoint
|
|
39740
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39741
|
+
* * Description: URL of the authorization endpoint.
|
|
39742
|
+
*/
|
|
39743
|
+
get AuthorizationEndpoint(): string;
|
|
39744
|
+
set AuthorizationEndpoint(value: string);
|
|
39745
|
+
/**
|
|
39746
|
+
* * Field Name: TokenEndpoint
|
|
39747
|
+
* * Display Name: Token Endpoint
|
|
39748
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39749
|
+
* * Description: URL of the token endpoint.
|
|
39750
|
+
*/
|
|
39751
|
+
get TokenEndpoint(): string;
|
|
39752
|
+
set TokenEndpoint(value: string);
|
|
39753
|
+
/**
|
|
39754
|
+
* * Field Name: RegistrationEndpoint
|
|
39755
|
+
* * Display Name: Registration Endpoint
|
|
39756
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39757
|
+
* * Description: URL of the dynamic client registration endpoint (RFC 7591).
|
|
39758
|
+
*/
|
|
39759
|
+
get RegistrationEndpoint(): string | null;
|
|
39760
|
+
set RegistrationEndpoint(value: string | null);
|
|
39761
|
+
/**
|
|
39762
|
+
* * Field Name: RevocationEndpoint
|
|
39763
|
+
* * Display Name: Revocation Endpoint
|
|
39764
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39765
|
+
*/
|
|
39766
|
+
get RevocationEndpoint(): string | null;
|
|
39767
|
+
set RevocationEndpoint(value: string | null);
|
|
39768
|
+
/**
|
|
39769
|
+
* * Field Name: JwksURI
|
|
39770
|
+
* * Display Name: Jwks URI
|
|
39771
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39772
|
+
*/
|
|
39773
|
+
get JwksURI(): string | null;
|
|
39774
|
+
set JwksURI(value: string | null);
|
|
39775
|
+
/**
|
|
39776
|
+
* * Field Name: ScopesSupported
|
|
39777
|
+
* * Display Name: Scopes Supported
|
|
39778
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39779
|
+
*/
|
|
39780
|
+
get ScopesSupported(): string | null;
|
|
39781
|
+
set ScopesSupported(value: string | null);
|
|
39782
|
+
/**
|
|
39783
|
+
* * Field Name: ResponseTypesSupported
|
|
39784
|
+
* * Display Name: Response Types Supported
|
|
39785
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39786
|
+
*/
|
|
39787
|
+
get ResponseTypesSupported(): string;
|
|
39788
|
+
set ResponseTypesSupported(value: string);
|
|
39789
|
+
/**
|
|
39790
|
+
* * Field Name: GrantTypesSupported
|
|
39791
|
+
* * Display Name: Grant Types Supported
|
|
39792
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39793
|
+
*/
|
|
39794
|
+
get GrantTypesSupported(): string | null;
|
|
39795
|
+
set GrantTypesSupported(value: string | null);
|
|
39796
|
+
/**
|
|
39797
|
+
* * Field Name: TokenEndpointAuthMethods
|
|
39798
|
+
* * Display Name: Token Endpoint Auth Methods
|
|
39799
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39800
|
+
*/
|
|
39801
|
+
get TokenEndpointAuthMethods(): string | null;
|
|
39802
|
+
set TokenEndpointAuthMethods(value: string | null);
|
|
39803
|
+
/**
|
|
39804
|
+
* * Field Name: CodeChallengeMethodsSupported
|
|
39805
|
+
* * Display Name: Code Challenge Methods Supported
|
|
39806
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39807
|
+
*/
|
|
39808
|
+
get CodeChallengeMethodsSupported(): string | null;
|
|
39809
|
+
set CodeChallengeMethodsSupported(value: string | null);
|
|
39810
|
+
/**
|
|
39811
|
+
* * Field Name: MetadataJSON
|
|
39812
|
+
* * Display Name: Metadata JSON
|
|
39813
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39814
|
+
* * Description: Full authorization server metadata JSON for debugging and extensibility.
|
|
39815
|
+
*/
|
|
39816
|
+
get MetadataJSON(): string;
|
|
39817
|
+
set MetadataJSON(value: string);
|
|
39818
|
+
/**
|
|
39819
|
+
* * Field Name: CachedAt
|
|
39820
|
+
* * Display Name: Cached At
|
|
39821
|
+
* * SQL Data Type: datetimeoffset
|
|
39822
|
+
* * Default Value: getutcdate()
|
|
39823
|
+
*/
|
|
39824
|
+
get CachedAt(): Date;
|
|
39825
|
+
set CachedAt(value: Date);
|
|
39826
|
+
/**
|
|
39827
|
+
* * Field Name: ExpiresAt
|
|
39828
|
+
* * Display Name: Expires At
|
|
39829
|
+
* * SQL Data Type: datetimeoffset
|
|
39830
|
+
*/
|
|
39831
|
+
get ExpiresAt(): Date;
|
|
39832
|
+
set ExpiresAt(value: Date);
|
|
39833
|
+
/**
|
|
39834
|
+
* * Field Name: __mj_CreatedAt
|
|
39835
|
+
* * Display Name: Created At
|
|
39836
|
+
* * SQL Data Type: datetimeoffset
|
|
39837
|
+
* * Default Value: getutcdate()
|
|
39838
|
+
*/
|
|
39839
|
+
get __mj_CreatedAt(): Date;
|
|
39840
|
+
/**
|
|
39841
|
+
* * Field Name: __mj_UpdatedAt
|
|
39842
|
+
* * Display Name: Updated At
|
|
39843
|
+
* * SQL Data Type: datetimeoffset
|
|
39844
|
+
* * Default Value: getutcdate()
|
|
39845
|
+
*/
|
|
39846
|
+
get __mj_UpdatedAt(): Date;
|
|
39847
|
+
}
|
|
39848
|
+
/**
|
|
39849
|
+
* MJ: O Auth Authorization States - strongly typed entity sub-class
|
|
39850
|
+
* * Schema: __mj
|
|
39851
|
+
* * Base Table: OAuthAuthorizationState
|
|
39852
|
+
* * Base View: vwOAuthAuthorizationStates
|
|
39853
|
+
* * @description Tracks in-progress OAuth authorization flows with PKCE data for security.
|
|
39854
|
+
* * Primary Key: ID
|
|
39855
|
+
* @extends {BaseEntity}
|
|
39856
|
+
* @class
|
|
39857
|
+
* @public
|
|
39858
|
+
*/
|
|
39859
|
+
export declare class OAuthAuthorizationStateEntity extends BaseEntity<OAuthAuthorizationStateEntityType> {
|
|
39860
|
+
/**
|
|
39861
|
+
* Loads the MJ: O Auth Authorization States record from the database
|
|
39862
|
+
* @param ID: string - primary key value to load the MJ: O Auth Authorization States record.
|
|
39863
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39864
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39865
|
+
* @public
|
|
39866
|
+
* @async
|
|
39867
|
+
* @memberof OAuthAuthorizationStateEntity
|
|
39868
|
+
* @method
|
|
39869
|
+
* @override
|
|
39870
|
+
*/
|
|
39871
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39872
|
+
/**
|
|
39873
|
+
* * Field Name: ID
|
|
39874
|
+
* * Display Name: ID
|
|
39875
|
+
* * SQL Data Type: uniqueidentifier
|
|
39876
|
+
* * Default Value: newsequentialid()
|
|
39877
|
+
*/
|
|
39878
|
+
get ID(): string;
|
|
39879
|
+
set ID(value: string);
|
|
39880
|
+
/**
|
|
39881
|
+
* * Field Name: MCPServerConnectionID
|
|
39882
|
+
* * Display Name: MCP Server Connection ID
|
|
39883
|
+
* * SQL Data Type: uniqueidentifier
|
|
39884
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
39885
|
+
*/
|
|
39886
|
+
get MCPServerConnectionID(): string;
|
|
39887
|
+
set MCPServerConnectionID(value: string);
|
|
39888
|
+
/**
|
|
39889
|
+
* * Field Name: UserID
|
|
39890
|
+
* * Display Name: User ID
|
|
39891
|
+
* * SQL Data Type: uniqueidentifier
|
|
39892
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
39893
|
+
*/
|
|
39894
|
+
get UserID(): string;
|
|
39895
|
+
set UserID(value: string);
|
|
39896
|
+
/**
|
|
39897
|
+
* * Field Name: StateParameter
|
|
39898
|
+
* * Display Name: State Parameter
|
|
39899
|
+
* * SQL Data Type: nvarchar(128)
|
|
39900
|
+
* * Description: Cryptographic state parameter for CSRF protection.
|
|
39901
|
+
*/
|
|
39902
|
+
get StateParameter(): string;
|
|
39903
|
+
set StateParameter(value: string);
|
|
39904
|
+
/**
|
|
39905
|
+
* * Field Name: CodeVerifier
|
|
39906
|
+
* * Display Name: Code Verifier
|
|
39907
|
+
* * SQL Data Type: nvarchar(128)
|
|
39908
|
+
* * Description: PKCE code verifier for token exchange (stored securely, never sent to auth server).
|
|
39909
|
+
*/
|
|
39910
|
+
get CodeVerifier(): string;
|
|
39911
|
+
set CodeVerifier(value: string);
|
|
39912
|
+
/**
|
|
39913
|
+
* * Field Name: CodeChallenge
|
|
39914
|
+
* * Display Name: Code Challenge
|
|
39915
|
+
* * SQL Data Type: nvarchar(128)
|
|
39916
|
+
* * Description: PKCE code challenge sent to authorization server.
|
|
39917
|
+
*/
|
|
39918
|
+
get CodeChallenge(): string;
|
|
39919
|
+
set CodeChallenge(value: string);
|
|
39920
|
+
/**
|
|
39921
|
+
* * Field Name: RedirectURI
|
|
39922
|
+
* * Display Name: Redirect URI
|
|
39923
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39924
|
+
*/
|
|
39925
|
+
get RedirectURI(): string;
|
|
39926
|
+
set RedirectURI(value: string);
|
|
39927
|
+
/**
|
|
39928
|
+
* * Field Name: RequestedScopes
|
|
39929
|
+
* * Display Name: Requested Scopes
|
|
39930
|
+
* * SQL Data Type: nvarchar(500)
|
|
39931
|
+
*/
|
|
39932
|
+
get RequestedScopes(): string | null;
|
|
39933
|
+
set RequestedScopes(value: string | null);
|
|
39934
|
+
/**
|
|
39935
|
+
* * Field Name: Status
|
|
39936
|
+
* * Display Name: Status
|
|
39937
|
+
* * SQL Data Type: nvarchar(50)
|
|
39938
|
+
* * Default Value: Pending
|
|
39939
|
+
* * Value List Type: List
|
|
39940
|
+
* * Possible Values
|
|
39941
|
+
* * Completed
|
|
39942
|
+
* * Expired
|
|
39943
|
+
* * Failed
|
|
39944
|
+
* * Pending
|
|
39945
|
+
* * Description: Flow status: Pending, Completed, Failed, or Expired.
|
|
39946
|
+
*/
|
|
39947
|
+
get Status(): 'Completed' | 'Expired' | 'Failed' | 'Pending';
|
|
39948
|
+
set Status(value: 'Completed' | 'Expired' | 'Failed' | 'Pending');
|
|
39949
|
+
/**
|
|
39950
|
+
* * Field Name: AuthorizationURL
|
|
39951
|
+
* * Display Name: Authorization URL
|
|
39952
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39953
|
+
*/
|
|
39954
|
+
get AuthorizationURL(): string;
|
|
39955
|
+
set AuthorizationURL(value: string);
|
|
39956
|
+
/**
|
|
39957
|
+
* * Field Name: ErrorCode
|
|
39958
|
+
* * Display Name: Error Code
|
|
39959
|
+
* * SQL Data Type: nvarchar(100)
|
|
39960
|
+
*/
|
|
39961
|
+
get ErrorCode(): string | null;
|
|
39962
|
+
set ErrorCode(value: string | null);
|
|
39963
|
+
/**
|
|
39964
|
+
* * Field Name: ErrorDescription
|
|
39965
|
+
* * Display Name: Error Description
|
|
39966
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39967
|
+
*/
|
|
39968
|
+
get ErrorDescription(): string | null;
|
|
39969
|
+
set ErrorDescription(value: string | null);
|
|
39970
|
+
/**
|
|
39971
|
+
* * Field Name: InitiatedAt
|
|
39972
|
+
* * Display Name: Initiated At
|
|
39973
|
+
* * SQL Data Type: datetimeoffset
|
|
39974
|
+
* * Default Value: getutcdate()
|
|
39975
|
+
*/
|
|
39976
|
+
get InitiatedAt(): Date;
|
|
39977
|
+
set InitiatedAt(value: Date);
|
|
39978
|
+
/**
|
|
39979
|
+
* * Field Name: ExpiresAt
|
|
39980
|
+
* * Display Name: Expires At
|
|
39981
|
+
* * SQL Data Type: datetimeoffset
|
|
39982
|
+
*/
|
|
39983
|
+
get ExpiresAt(): Date;
|
|
39984
|
+
set ExpiresAt(value: Date);
|
|
39985
|
+
/**
|
|
39986
|
+
* * Field Name: CompletedAt
|
|
39987
|
+
* * Display Name: Completed At
|
|
39988
|
+
* * SQL Data Type: datetimeoffset
|
|
39989
|
+
*/
|
|
39990
|
+
get CompletedAt(): Date | null;
|
|
39991
|
+
set CompletedAt(value: Date | null);
|
|
39992
|
+
/**
|
|
39993
|
+
* * Field Name: FrontendReturnURL
|
|
39994
|
+
* * Display Name: Frontend Return URL
|
|
39995
|
+
* * SQL Data Type: nvarchar(1000)
|
|
39996
|
+
* * Description: URL to redirect the user to after OAuth completion. If set, the OAuth callback will redirect here instead of showing a static HTML page.
|
|
39997
|
+
*/
|
|
39998
|
+
get FrontendReturnURL(): string | null;
|
|
39999
|
+
set FrontendReturnURL(value: string | null);
|
|
40000
|
+
/**
|
|
40001
|
+
* * Field Name: __mj_CreatedAt
|
|
40002
|
+
* * Display Name: Created At
|
|
40003
|
+
* * SQL Data Type: datetimeoffset
|
|
40004
|
+
* * Default Value: getutcdate()
|
|
40005
|
+
*/
|
|
40006
|
+
get __mj_CreatedAt(): Date;
|
|
40007
|
+
/**
|
|
40008
|
+
* * Field Name: __mj_UpdatedAt
|
|
40009
|
+
* * Display Name: Updated At
|
|
40010
|
+
* * SQL Data Type: datetimeoffset
|
|
40011
|
+
* * Default Value: getutcdate()
|
|
40012
|
+
*/
|
|
40013
|
+
get __mj_UpdatedAt(): Date;
|
|
40014
|
+
/**
|
|
40015
|
+
* * Field Name: MCPServerConnection
|
|
40016
|
+
* * Display Name: MCP Server Connection
|
|
40017
|
+
* * SQL Data Type: nvarchar(255)
|
|
40018
|
+
*/
|
|
40019
|
+
get MCPServerConnection(): string;
|
|
40020
|
+
/**
|
|
40021
|
+
* * Field Name: User
|
|
40022
|
+
* * Display Name: User
|
|
40023
|
+
* * SQL Data Type: nvarchar(100)
|
|
40024
|
+
*/
|
|
40025
|
+
get User(): string;
|
|
40026
|
+
}
|
|
40027
|
+
/**
|
|
40028
|
+
* MJ: O Auth Client Registrations - strongly typed entity sub-class
|
|
40029
|
+
* * Schema: __mj
|
|
40030
|
+
* * Base Table: OAuthClientRegistration
|
|
40031
|
+
* * Base View: vwOAuthClientRegistrations
|
|
40032
|
+
* * @description Stores OAuth Dynamic Client Registration (DCR) results per RFC 7591.
|
|
40033
|
+
* * Primary Key: ID
|
|
40034
|
+
* @extends {BaseEntity}
|
|
40035
|
+
* @class
|
|
40036
|
+
* @public
|
|
40037
|
+
*/
|
|
40038
|
+
export declare class OAuthClientRegistrationEntity extends BaseEntity<OAuthClientRegistrationEntityType> {
|
|
40039
|
+
/**
|
|
40040
|
+
* Loads the MJ: O Auth Client Registrations record from the database
|
|
40041
|
+
* @param ID: string - primary key value to load the MJ: O Auth Client Registrations record.
|
|
40042
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40043
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40044
|
+
* @public
|
|
40045
|
+
* @async
|
|
40046
|
+
* @memberof OAuthClientRegistrationEntity
|
|
40047
|
+
* @method
|
|
40048
|
+
* @override
|
|
40049
|
+
*/
|
|
40050
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
40051
|
+
/**
|
|
40052
|
+
* * Field Name: ID
|
|
40053
|
+
* * Display Name: ID
|
|
40054
|
+
* * SQL Data Type: uniqueidentifier
|
|
40055
|
+
* * Default Value: newsequentialid()
|
|
40056
|
+
*/
|
|
40057
|
+
get ID(): string;
|
|
40058
|
+
set ID(value: string);
|
|
40059
|
+
/**
|
|
40060
|
+
* * Field Name: MCPServerConnectionID
|
|
40061
|
+
* * Display Name: MCP Server Connection ID
|
|
40062
|
+
* * SQL Data Type: uniqueidentifier
|
|
40063
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
40064
|
+
* * Description: The MCP Server Connection this registration belongs to.
|
|
40065
|
+
*/
|
|
40066
|
+
get MCPServerConnectionID(): string;
|
|
40067
|
+
set MCPServerConnectionID(value: string);
|
|
40068
|
+
/**
|
|
40069
|
+
* * Field Name: MCPServerID
|
|
40070
|
+
* * Display Name: MCP Server ID
|
|
40071
|
+
* * SQL Data Type: uniqueidentifier
|
|
40072
|
+
* * Related Entity/Foreign Key: MJ: MCP Servers (vwMCPServers.ID)
|
|
40073
|
+
*/
|
|
40074
|
+
get MCPServerID(): string;
|
|
40075
|
+
set MCPServerID(value: string);
|
|
40076
|
+
/**
|
|
40077
|
+
* * Field Name: IssuerURL
|
|
40078
|
+
* * Display Name: Issuer URL
|
|
40079
|
+
* * SQL Data Type: nvarchar(1000)
|
|
40080
|
+
*/
|
|
40081
|
+
get IssuerURL(): string;
|
|
40082
|
+
set IssuerURL(value: string);
|
|
40083
|
+
/**
|
|
40084
|
+
* * Field Name: ClientID
|
|
40085
|
+
* * Display Name: Client ID
|
|
40086
|
+
* * SQL Data Type: nvarchar(500)
|
|
40087
|
+
* * Description: OAuth client ID assigned by the authorization server.
|
|
40088
|
+
*/
|
|
40089
|
+
get ClientID(): string;
|
|
40090
|
+
set ClientID(value: string);
|
|
40091
|
+
/**
|
|
40092
|
+
* * Field Name: ClientSecretEncrypted
|
|
40093
|
+
* * Display Name: Client Secret Encrypted
|
|
40094
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40095
|
+
* * Description: OAuth client secret (encrypted at rest) for confidential clients.
|
|
40096
|
+
*/
|
|
40097
|
+
get ClientSecretEncrypted(): string | null;
|
|
40098
|
+
set ClientSecretEncrypted(value: string | null);
|
|
40099
|
+
/**
|
|
40100
|
+
* * Field Name: ClientIDIssuedAt
|
|
40101
|
+
* * Display Name: Client ID Issued At
|
|
40102
|
+
* * SQL Data Type: datetimeoffset
|
|
40103
|
+
*/
|
|
40104
|
+
get ClientIDIssuedAt(): Date | null;
|
|
40105
|
+
set ClientIDIssuedAt(value: Date | null);
|
|
40106
|
+
/**
|
|
40107
|
+
* * Field Name: ClientSecretExpiresAt
|
|
40108
|
+
* * Display Name: Client Secret Expires At
|
|
40109
|
+
* * SQL Data Type: datetimeoffset
|
|
40110
|
+
*/
|
|
40111
|
+
get ClientSecretExpiresAt(): Date | null;
|
|
40112
|
+
set ClientSecretExpiresAt(value: Date | null);
|
|
40113
|
+
/**
|
|
40114
|
+
* * Field Name: RegistrationAccessToken
|
|
40115
|
+
* * Display Name: Registration Access Token
|
|
40116
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40117
|
+
*/
|
|
40118
|
+
get RegistrationAccessToken(): string | null;
|
|
40119
|
+
set RegistrationAccessToken(value: string | null);
|
|
40120
|
+
/**
|
|
40121
|
+
* * Field Name: RegistrationClientURI
|
|
40122
|
+
* * Display Name: Registration Client URI
|
|
40123
|
+
* * SQL Data Type: nvarchar(1000)
|
|
40124
|
+
*/
|
|
40125
|
+
get RegistrationClientURI(): string | null;
|
|
40126
|
+
set RegistrationClientURI(value: string | null);
|
|
40127
|
+
/**
|
|
40128
|
+
* * Field Name: RedirectURIs
|
|
40129
|
+
* * Display Name: Redirect UR Is
|
|
40130
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40131
|
+
*/
|
|
40132
|
+
get RedirectURIs(): string;
|
|
40133
|
+
set RedirectURIs(value: string);
|
|
40134
|
+
/**
|
|
40135
|
+
* * Field Name: GrantTypes
|
|
40136
|
+
* * Display Name: Grant Types
|
|
40137
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40138
|
+
*/
|
|
40139
|
+
get GrantTypes(): string;
|
|
40140
|
+
set GrantTypes(value: string);
|
|
40141
|
+
/**
|
|
40142
|
+
* * Field Name: ResponseTypes
|
|
40143
|
+
* * Display Name: Response Types
|
|
40144
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40145
|
+
*/
|
|
40146
|
+
get ResponseTypes(): string;
|
|
40147
|
+
set ResponseTypes(value: string);
|
|
40148
|
+
/**
|
|
40149
|
+
* * Field Name: Scope
|
|
40150
|
+
* * Display Name: Scope
|
|
40151
|
+
* * SQL Data Type: nvarchar(500)
|
|
40152
|
+
*/
|
|
40153
|
+
get Scope(): string | null;
|
|
40154
|
+
set Scope(value: string | null);
|
|
40155
|
+
/**
|
|
40156
|
+
* * Field Name: Status
|
|
40157
|
+
* * Display Name: Status
|
|
40158
|
+
* * SQL Data Type: nvarchar(50)
|
|
40159
|
+
* * Default Value: Active
|
|
40160
|
+
* * Value List Type: List
|
|
40161
|
+
* * Possible Values
|
|
40162
|
+
* * Active
|
|
40163
|
+
* * Expired
|
|
40164
|
+
* * Revoked
|
|
40165
|
+
* * Description: Registration status: Active, Expired, or Revoked.
|
|
40166
|
+
*/
|
|
40167
|
+
get Status(): 'Active' | 'Expired' | 'Revoked';
|
|
40168
|
+
set Status(value: 'Active' | 'Expired' | 'Revoked');
|
|
40169
|
+
/**
|
|
40170
|
+
* * Field Name: RegistrationResponse
|
|
40171
|
+
* * Display Name: Registration Response
|
|
40172
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
40173
|
+
* * Description: Full DCR response JSON for debugging and extensibility.
|
|
40174
|
+
*/
|
|
40175
|
+
get RegistrationResponse(): string;
|
|
40176
|
+
set RegistrationResponse(value: string);
|
|
40177
|
+
/**
|
|
40178
|
+
* * Field Name: __mj_CreatedAt
|
|
40179
|
+
* * Display Name: Created At
|
|
40180
|
+
* * SQL Data Type: datetimeoffset
|
|
40181
|
+
* * Default Value: getutcdate()
|
|
40182
|
+
*/
|
|
40183
|
+
get __mj_CreatedAt(): Date;
|
|
40184
|
+
/**
|
|
40185
|
+
* * Field Name: __mj_UpdatedAt
|
|
40186
|
+
* * Display Name: Updated At
|
|
40187
|
+
* * SQL Data Type: datetimeoffset
|
|
40188
|
+
* * Default Value: getutcdate()
|
|
40189
|
+
*/
|
|
40190
|
+
get __mj_UpdatedAt(): Date;
|
|
40191
|
+
/**
|
|
40192
|
+
* * Field Name: MCPServerConnection
|
|
40193
|
+
* * Display Name: MCP Server Connection
|
|
40194
|
+
* * SQL Data Type: nvarchar(255)
|
|
40195
|
+
*/
|
|
40196
|
+
get MCPServerConnection(): string;
|
|
40197
|
+
/**
|
|
40198
|
+
* * Field Name: MCPServer
|
|
40199
|
+
* * Display Name: MCP Server
|
|
40200
|
+
* * SQL Data Type: nvarchar(255)
|
|
40201
|
+
*/
|
|
40202
|
+
get MCPServer(): string;
|
|
40203
|
+
}
|
|
40204
|
+
/**
|
|
40205
|
+
* MJ: O Auth Tokens - strongly typed entity sub-class
|
|
40206
|
+
* * Schema: __mj
|
|
40207
|
+
* * Base Table: OAuthToken
|
|
40208
|
+
* * Base View: vwOAuthTokens
|
|
40209
|
+
* * @description Stores OAuth token metadata for MCP server connections. Actual tokens are stored via CredentialEngine for consistent encryption and audit logging.
|
|
40210
|
+
* * Primary Key: ID
|
|
40211
|
+
* @extends {BaseEntity}
|
|
40212
|
+
* @class
|
|
40213
|
+
* @public
|
|
40214
|
+
*/
|
|
40215
|
+
export declare class OAuthTokenEntity extends BaseEntity<OAuthTokenEntityType> {
|
|
40216
|
+
/**
|
|
40217
|
+
* Loads the MJ: O Auth Tokens record from the database
|
|
40218
|
+
* @param ID: string - primary key value to load the MJ: O Auth Tokens record.
|
|
40219
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
40220
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
40221
|
+
* @public
|
|
40222
|
+
* @async
|
|
40223
|
+
* @memberof OAuthTokenEntity
|
|
40224
|
+
* @method
|
|
40225
|
+
* @override
|
|
40226
|
+
*/
|
|
40227
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
40228
|
+
/**
|
|
40229
|
+
* * Field Name: ID
|
|
40230
|
+
* * Display Name: ID
|
|
40231
|
+
* * SQL Data Type: uniqueidentifier
|
|
40232
|
+
* * Default Value: newsequentialid()
|
|
40233
|
+
*/
|
|
40234
|
+
get ID(): string;
|
|
40235
|
+
set ID(value: string);
|
|
40236
|
+
/**
|
|
40237
|
+
* * Field Name: MCPServerConnectionID
|
|
40238
|
+
* * Display Name: MCP Server Connection ID
|
|
40239
|
+
* * SQL Data Type: uniqueidentifier
|
|
40240
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
40241
|
+
*/
|
|
40242
|
+
get MCPServerConnectionID(): string;
|
|
40243
|
+
set MCPServerConnectionID(value: string);
|
|
40244
|
+
/**
|
|
40245
|
+
* * Field Name: CredentialID
|
|
40246
|
+
* * Display Name: Credential ID
|
|
40247
|
+
* * SQL Data Type: uniqueidentifier
|
|
40248
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
|
|
40249
|
+
* * Description: Foreign key to Credential table where the OAuth tokens (access and refresh) are stored securely via CredentialEngine.
|
|
40250
|
+
*/
|
|
40251
|
+
get CredentialID(): string | null;
|
|
40252
|
+
set CredentialID(value: string | null);
|
|
40253
|
+
/**
|
|
40254
|
+
* * Field Name: TokenType
|
|
40255
|
+
* * Display Name: Token Type
|
|
40256
|
+
* * SQL Data Type: nvarchar(50)
|
|
40257
|
+
* * Default Value: Bearer
|
|
40258
|
+
*/
|
|
40259
|
+
get TokenType(): string;
|
|
40260
|
+
set TokenType(value: string);
|
|
40261
|
+
/**
|
|
40262
|
+
* * Field Name: ExpiresAt
|
|
40263
|
+
* * Display Name: Expires At
|
|
40264
|
+
* * SQL Data Type: datetimeoffset
|
|
40265
|
+
* * Description: When the access token expires.
|
|
40266
|
+
*/
|
|
40267
|
+
get ExpiresAt(): Date;
|
|
40268
|
+
set ExpiresAt(value: Date);
|
|
40269
|
+
/**
|
|
40270
|
+
* * Field Name: Scope
|
|
40271
|
+
* * Display Name: Scope
|
|
40272
|
+
* * SQL Data Type: nvarchar(500)
|
|
40273
|
+
*/
|
|
40274
|
+
get Scope(): string | null;
|
|
40275
|
+
set Scope(value: string | null);
|
|
40276
|
+
/**
|
|
40277
|
+
* * Field Name: IssuerURL
|
|
40278
|
+
* * Display Name: Issuer URL
|
|
40279
|
+
* * SQL Data Type: nvarchar(1000)
|
|
40280
|
+
*/
|
|
40281
|
+
get IssuerURL(): string;
|
|
40282
|
+
set IssuerURL(value: string);
|
|
40283
|
+
/**
|
|
40284
|
+
* * Field Name: LastRefreshAt
|
|
40285
|
+
* * Display Name: Last Refresh At
|
|
40286
|
+
* * SQL Data Type: datetimeoffset
|
|
40287
|
+
*/
|
|
40288
|
+
get LastRefreshAt(): Date | null;
|
|
40289
|
+
set LastRefreshAt(value: Date | null);
|
|
40290
|
+
/**
|
|
40291
|
+
* * Field Name: RefreshCount
|
|
40292
|
+
* * Display Name: Refresh Count
|
|
40293
|
+
* * SQL Data Type: int
|
|
40294
|
+
* * Default Value: 0
|
|
40295
|
+
* * Description: Number of times the token has been refreshed.
|
|
40296
|
+
*/
|
|
40297
|
+
get RefreshCount(): number;
|
|
40298
|
+
set RefreshCount(value: number);
|
|
40299
|
+
/**
|
|
40300
|
+
* * Field Name: __mj_CreatedAt
|
|
40301
|
+
* * Display Name: Created At
|
|
40302
|
+
* * SQL Data Type: datetimeoffset
|
|
40303
|
+
* * Default Value: getutcdate()
|
|
40304
|
+
*/
|
|
40305
|
+
get __mj_CreatedAt(): Date;
|
|
40306
|
+
/**
|
|
40307
|
+
* * Field Name: __mj_UpdatedAt
|
|
40308
|
+
* * Display Name: Updated At
|
|
40309
|
+
* * SQL Data Type: datetimeoffset
|
|
40310
|
+
* * Default Value: getutcdate()
|
|
40311
|
+
*/
|
|
40312
|
+
get __mj_UpdatedAt(): Date;
|
|
40313
|
+
/**
|
|
40314
|
+
* * Field Name: MCPServerConnection
|
|
40315
|
+
* * Display Name: MCP Server Connection
|
|
40316
|
+
* * SQL Data Type: nvarchar(255)
|
|
40317
|
+
*/
|
|
40318
|
+
get MCPServerConnection(): string;
|
|
40319
|
+
/**
|
|
40320
|
+
* * Field Name: Credential
|
|
40321
|
+
* * Display Name: Credential
|
|
40322
|
+
* * SQL Data Type: nvarchar(200)
|
|
40323
|
+
*/
|
|
40324
|
+
get Credential(): string | null;
|
|
40325
|
+
}
|
|
39189
40326
|
/**
|
|
39190
40327
|
* MJ: Projects - strongly typed entity sub-class
|
|
39191
40328
|
* * Schema: __mj
|
|
@@ -42568,6 +43705,442 @@ export declare class UserSettingEntity extends BaseEntity<UserSettingEntityType>
|
|
|
42568
43705
|
*/
|
|
42569
43706
|
get User(): string;
|
|
42570
43707
|
}
|
|
43708
|
+
/**
|
|
43709
|
+
* MJ: Version Label Items - strongly typed entity sub-class
|
|
43710
|
+
* * Schema: __mj
|
|
43711
|
+
* * Base Table: VersionLabelItem
|
|
43712
|
+
* * Base View: vwVersionLabelItems
|
|
43713
|
+
* * @description Links a Version Label to the specific RecordChange snapshot for each record captured by that label. Denormalizes EntityID and RecordID for efficient querying.
|
|
43714
|
+
* * Primary Key: ID
|
|
43715
|
+
* @extends {BaseEntity}
|
|
43716
|
+
* @class
|
|
43717
|
+
* @public
|
|
43718
|
+
*/
|
|
43719
|
+
export declare class VersionLabelItemEntity extends BaseEntity<VersionLabelItemEntityType> {
|
|
43720
|
+
/**
|
|
43721
|
+
* Loads the MJ: Version Label Items record from the database
|
|
43722
|
+
* @param ID: string - primary key value to load the MJ: Version Label Items record.
|
|
43723
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
43724
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
43725
|
+
* @public
|
|
43726
|
+
* @async
|
|
43727
|
+
* @memberof VersionLabelItemEntity
|
|
43728
|
+
* @method
|
|
43729
|
+
* @override
|
|
43730
|
+
*/
|
|
43731
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
43732
|
+
/**
|
|
43733
|
+
* * Field Name: ID
|
|
43734
|
+
* * Display Name: ID
|
|
43735
|
+
* * SQL Data Type: uniqueidentifier
|
|
43736
|
+
* * Default Value: newsequentialid()
|
|
43737
|
+
*/
|
|
43738
|
+
get ID(): string;
|
|
43739
|
+
set ID(value: string);
|
|
43740
|
+
/**
|
|
43741
|
+
* * Field Name: VersionLabelID
|
|
43742
|
+
* * Display Name: Version Label
|
|
43743
|
+
* * SQL Data Type: uniqueidentifier
|
|
43744
|
+
* * Related Entity/Foreign Key: MJ: Version Labels (vwVersionLabels.ID)
|
|
43745
|
+
* * Description: The version label this item belongs to
|
|
43746
|
+
*/
|
|
43747
|
+
get VersionLabelID(): string;
|
|
43748
|
+
set VersionLabelID(value: string);
|
|
43749
|
+
/**
|
|
43750
|
+
* * Field Name: RecordChangeID
|
|
43751
|
+
* * Display Name: Record Change
|
|
43752
|
+
* * SQL Data Type: uniqueidentifier
|
|
43753
|
+
* * Related Entity/Foreign Key: Record Changes (vwRecordChanges.ID)
|
|
43754
|
+
* * Description: The specific RecordChange entry representing the record state at label creation time
|
|
43755
|
+
*/
|
|
43756
|
+
get RecordChangeID(): string;
|
|
43757
|
+
set RecordChangeID(value: string);
|
|
43758
|
+
/**
|
|
43759
|
+
* * Field Name: EntityID
|
|
43760
|
+
* * Display Name: Entity
|
|
43761
|
+
* * SQL Data Type: uniqueidentifier
|
|
43762
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
43763
|
+
* * Description: Denormalized entity reference for query performance
|
|
43764
|
+
*/
|
|
43765
|
+
get EntityID(): string;
|
|
43766
|
+
set EntityID(value: string);
|
|
43767
|
+
/**
|
|
43768
|
+
* * Field Name: RecordID
|
|
43769
|
+
* * Display Name: Record ID
|
|
43770
|
+
* * SQL Data Type: nvarchar(750)
|
|
43771
|
+
* * Description: Denormalized record primary key for query performance
|
|
43772
|
+
*/
|
|
43773
|
+
get RecordID(): string;
|
|
43774
|
+
set RecordID(value: string);
|
|
43775
|
+
/**
|
|
43776
|
+
* * Field Name: __mj_CreatedAt
|
|
43777
|
+
* * Display Name: Created At
|
|
43778
|
+
* * SQL Data Type: datetimeoffset
|
|
43779
|
+
* * Default Value: getutcdate()
|
|
43780
|
+
*/
|
|
43781
|
+
get __mj_CreatedAt(): Date;
|
|
43782
|
+
/**
|
|
43783
|
+
* * Field Name: __mj_UpdatedAt
|
|
43784
|
+
* * Display Name: Updated At
|
|
43785
|
+
* * SQL Data Type: datetimeoffset
|
|
43786
|
+
* * Default Value: getutcdate()
|
|
43787
|
+
*/
|
|
43788
|
+
get __mj_UpdatedAt(): Date;
|
|
43789
|
+
/**
|
|
43790
|
+
* * Field Name: VersionLabel
|
|
43791
|
+
* * Display Name: Version Label
|
|
43792
|
+
* * SQL Data Type: nvarchar(200)
|
|
43793
|
+
*/
|
|
43794
|
+
get VersionLabel(): string;
|
|
43795
|
+
/**
|
|
43796
|
+
* * Field Name: RecordChange
|
|
43797
|
+
* * Display Name: Record Change
|
|
43798
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
43799
|
+
*/
|
|
43800
|
+
get RecordChange(): string;
|
|
43801
|
+
/**
|
|
43802
|
+
* * Field Name: Entity
|
|
43803
|
+
* * Display Name: Entity
|
|
43804
|
+
* * SQL Data Type: nvarchar(255)
|
|
43805
|
+
*/
|
|
43806
|
+
get Entity(): string;
|
|
43807
|
+
}
|
|
43808
|
+
/**
|
|
43809
|
+
* MJ: Version Label Restores - strongly typed entity sub-class
|
|
43810
|
+
* * Schema: __mj
|
|
43811
|
+
* * Base Table: VersionLabelRestore
|
|
43812
|
+
* * Base View: vwVersionLabelRestores
|
|
43813
|
+
* * @description Audit trail for restore operations performed against version labels. Tracks progress, success/failure counts, and links to the safety-net pre-restore label.
|
|
43814
|
+
* * Primary Key: ID
|
|
43815
|
+
* @extends {BaseEntity}
|
|
43816
|
+
* @class
|
|
43817
|
+
* @public
|
|
43818
|
+
*/
|
|
43819
|
+
export declare class VersionLabelRestoreEntity extends BaseEntity<VersionLabelRestoreEntityType> {
|
|
43820
|
+
/**
|
|
43821
|
+
* Loads the MJ: Version Label Restores record from the database
|
|
43822
|
+
* @param ID: string - primary key value to load the MJ: Version Label Restores record.
|
|
43823
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
43824
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
43825
|
+
* @public
|
|
43826
|
+
* @async
|
|
43827
|
+
* @memberof VersionLabelRestoreEntity
|
|
43828
|
+
* @method
|
|
43829
|
+
* @override
|
|
43830
|
+
*/
|
|
43831
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
43832
|
+
/**
|
|
43833
|
+
* * Field Name: ID
|
|
43834
|
+
* * Display Name: ID
|
|
43835
|
+
* * SQL Data Type: uniqueidentifier
|
|
43836
|
+
* * Default Value: newsequentialid()
|
|
43837
|
+
*/
|
|
43838
|
+
get ID(): string;
|
|
43839
|
+
set ID(value: string);
|
|
43840
|
+
/**
|
|
43841
|
+
* * Field Name: VersionLabelID
|
|
43842
|
+
* * Display Name: Version Label ID
|
|
43843
|
+
* * SQL Data Type: uniqueidentifier
|
|
43844
|
+
* * Related Entity/Foreign Key: MJ: Version Labels (vwVersionLabels.ID)
|
|
43845
|
+
* * Description: The version label being restored to
|
|
43846
|
+
*/
|
|
43847
|
+
get VersionLabelID(): string;
|
|
43848
|
+
set VersionLabelID(value: string);
|
|
43849
|
+
/**
|
|
43850
|
+
* * Field Name: Status
|
|
43851
|
+
* * Display Name: Status
|
|
43852
|
+
* * SQL Data Type: nvarchar(50)
|
|
43853
|
+
* * Default Value: Pending
|
|
43854
|
+
* * Value List Type: List
|
|
43855
|
+
* * Possible Values
|
|
43856
|
+
* * Complete
|
|
43857
|
+
* * Error
|
|
43858
|
+
* * In Progress
|
|
43859
|
+
* * Partial
|
|
43860
|
+
* * Pending
|
|
43861
|
+
* * Description: Current status of the restore operation
|
|
43862
|
+
*/
|
|
43863
|
+
get Status(): 'Complete' | 'Error' | 'In Progress' | 'Partial' | 'Pending';
|
|
43864
|
+
set Status(value: 'Complete' | 'Error' | 'In Progress' | 'Partial' | 'Pending');
|
|
43865
|
+
/**
|
|
43866
|
+
* * Field Name: StartedAt
|
|
43867
|
+
* * Display Name: Started At
|
|
43868
|
+
* * SQL Data Type: datetimeoffset
|
|
43869
|
+
* * Default Value: getutcdate()
|
|
43870
|
+
* * Description: When the restore operation began
|
|
43871
|
+
*/
|
|
43872
|
+
get StartedAt(): Date;
|
|
43873
|
+
set StartedAt(value: Date);
|
|
43874
|
+
/**
|
|
43875
|
+
* * Field Name: EndedAt
|
|
43876
|
+
* * Display Name: Ended At
|
|
43877
|
+
* * SQL Data Type: datetimeoffset
|
|
43878
|
+
* * Description: When the restore operation completed or failed
|
|
43879
|
+
*/
|
|
43880
|
+
get EndedAt(): Date | null;
|
|
43881
|
+
set EndedAt(value: Date | null);
|
|
43882
|
+
/**
|
|
43883
|
+
* * Field Name: UserID
|
|
43884
|
+
* * Display Name: User ID
|
|
43885
|
+
* * SQL Data Type: uniqueidentifier
|
|
43886
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
43887
|
+
* * Description: The user who initiated the restore
|
|
43888
|
+
*/
|
|
43889
|
+
get UserID(): string;
|
|
43890
|
+
set UserID(value: string);
|
|
43891
|
+
/**
|
|
43892
|
+
* * Field Name: TotalItems
|
|
43893
|
+
* * Display Name: Total Items
|
|
43894
|
+
* * SQL Data Type: int
|
|
43895
|
+
* * Default Value: 0
|
|
43896
|
+
* * Description: Total number of records to restore
|
|
43897
|
+
*/
|
|
43898
|
+
get TotalItems(): number;
|
|
43899
|
+
set TotalItems(value: number);
|
|
43900
|
+
/**
|
|
43901
|
+
* * Field Name: CompletedItems
|
|
43902
|
+
* * Display Name: Completed Items
|
|
43903
|
+
* * SQL Data Type: int
|
|
43904
|
+
* * Default Value: 0
|
|
43905
|
+
* * Description: Number of records successfully restored so far
|
|
43906
|
+
*/
|
|
43907
|
+
get CompletedItems(): number;
|
|
43908
|
+
set CompletedItems(value: number);
|
|
43909
|
+
/**
|
|
43910
|
+
* * Field Name: FailedItems
|
|
43911
|
+
* * Display Name: Failed Items
|
|
43912
|
+
* * SQL Data Type: int
|
|
43913
|
+
* * Default Value: 0
|
|
43914
|
+
* * Description: Number of records that failed to restore
|
|
43915
|
+
*/
|
|
43916
|
+
get FailedItems(): number;
|
|
43917
|
+
set FailedItems(value: number);
|
|
43918
|
+
/**
|
|
43919
|
+
* * Field Name: ErrorLog
|
|
43920
|
+
* * Display Name: Error Log
|
|
43921
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
43922
|
+
* * Description: Detailed error information for failed restore items
|
|
43923
|
+
*/
|
|
43924
|
+
get ErrorLog(): string | null;
|
|
43925
|
+
set ErrorLog(value: string | null);
|
|
43926
|
+
/**
|
|
43927
|
+
* * Field Name: PreRestoreLabelID
|
|
43928
|
+
* * Display Name: Pre-Restore Label ID
|
|
43929
|
+
* * SQL Data Type: uniqueidentifier
|
|
43930
|
+
* * Related Entity/Foreign Key: MJ: Version Labels (vwVersionLabels.ID)
|
|
43931
|
+
* * Description: Reference to the automatically created safety-net label that captured state before the restore began
|
|
43932
|
+
*/
|
|
43933
|
+
get PreRestoreLabelID(): string | null;
|
|
43934
|
+
set PreRestoreLabelID(value: string | null);
|
|
43935
|
+
/**
|
|
43936
|
+
* * Field Name: __mj_CreatedAt
|
|
43937
|
+
* * Display Name: Created At
|
|
43938
|
+
* * SQL Data Type: datetimeoffset
|
|
43939
|
+
* * Default Value: getutcdate()
|
|
43940
|
+
*/
|
|
43941
|
+
get __mj_CreatedAt(): Date;
|
|
43942
|
+
/**
|
|
43943
|
+
* * Field Name: __mj_UpdatedAt
|
|
43944
|
+
* * Display Name: Updated At
|
|
43945
|
+
* * SQL Data Type: datetimeoffset
|
|
43946
|
+
* * Default Value: getutcdate()
|
|
43947
|
+
*/
|
|
43948
|
+
get __mj_UpdatedAt(): Date;
|
|
43949
|
+
/**
|
|
43950
|
+
* * Field Name: VersionLabel
|
|
43951
|
+
* * Display Name: Version Label
|
|
43952
|
+
* * SQL Data Type: nvarchar(200)
|
|
43953
|
+
*/
|
|
43954
|
+
get VersionLabel(): string;
|
|
43955
|
+
/**
|
|
43956
|
+
* * Field Name: User
|
|
43957
|
+
* * Display Name: User
|
|
43958
|
+
* * SQL Data Type: nvarchar(100)
|
|
43959
|
+
*/
|
|
43960
|
+
get User(): string;
|
|
43961
|
+
/**
|
|
43962
|
+
* * Field Name: PreRestoreLabel
|
|
43963
|
+
* * Display Name: Pre-Restore Label
|
|
43964
|
+
* * SQL Data Type: nvarchar(200)
|
|
43965
|
+
*/
|
|
43966
|
+
get PreRestoreLabel(): string | null;
|
|
43967
|
+
}
|
|
43968
|
+
/**
|
|
43969
|
+
* MJ: Version Labels - strongly typed entity sub-class
|
|
43970
|
+
* * Schema: __mj
|
|
43971
|
+
* * Base Table: VersionLabel
|
|
43972
|
+
* * Base View: vwVersionLabels
|
|
43973
|
+
* * @description A named point-in-time bookmark into the RecordChange history, used for versioning, diffing, and restoration.
|
|
43974
|
+
* * Primary Key: ID
|
|
43975
|
+
* @extends {BaseEntity}
|
|
43976
|
+
* @class
|
|
43977
|
+
* @public
|
|
43978
|
+
*/
|
|
43979
|
+
export declare class VersionLabelEntity extends BaseEntity<VersionLabelEntityType> {
|
|
43980
|
+
/**
|
|
43981
|
+
* Loads the MJ: Version Labels record from the database
|
|
43982
|
+
* @param ID: string - primary key value to load the MJ: Version Labels record.
|
|
43983
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
43984
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
43985
|
+
* @public
|
|
43986
|
+
* @async
|
|
43987
|
+
* @memberof VersionLabelEntity
|
|
43988
|
+
* @method
|
|
43989
|
+
* @override
|
|
43990
|
+
*/
|
|
43991
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
43992
|
+
/**
|
|
43993
|
+
* * Field Name: ID
|
|
43994
|
+
* * Display Name: ID
|
|
43995
|
+
* * SQL Data Type: uniqueidentifier
|
|
43996
|
+
* * Default Value: newsequentialid()
|
|
43997
|
+
*/
|
|
43998
|
+
get ID(): string;
|
|
43999
|
+
set ID(value: string);
|
|
44000
|
+
/**
|
|
44001
|
+
* * Field Name: Name
|
|
44002
|
+
* * Display Name: Name
|
|
44003
|
+
* * SQL Data Type: nvarchar(200)
|
|
44004
|
+
* * Description: Human-readable label name, e.g. Release 2.5, Pre-Refactor Snapshot
|
|
44005
|
+
*/
|
|
44006
|
+
get Name(): string;
|
|
44007
|
+
set Name(value: string);
|
|
44008
|
+
/**
|
|
44009
|
+
* * Field Name: Description
|
|
44010
|
+
* * Display Name: Description
|
|
44011
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
44012
|
+
* * Description: Optional longer description of what this label represents
|
|
44013
|
+
*/
|
|
44014
|
+
get Description(): string | null;
|
|
44015
|
+
set Description(value: string | null);
|
|
44016
|
+
/**
|
|
44017
|
+
* * Field Name: Scope
|
|
44018
|
+
* * Display Name: Scope
|
|
44019
|
+
* * SQL Data Type: nvarchar(50)
|
|
44020
|
+
* * Default Value: Record
|
|
44021
|
+
* * Value List Type: List
|
|
44022
|
+
* * Possible Values
|
|
44023
|
+
* * Entity
|
|
44024
|
+
* * Record
|
|
44025
|
+
* * System
|
|
44026
|
+
* * Description: Breadth of the label: Record (one record and its dependency graph, the primary use case), Entity (one entity type), or System (all entities). Parent grouping labels may use any scope as a logical container.
|
|
44027
|
+
*/
|
|
44028
|
+
get Scope(): 'Entity' | 'Record' | 'System';
|
|
44029
|
+
set Scope(value: 'Entity' | 'Record' | 'System');
|
|
44030
|
+
/**
|
|
44031
|
+
* * Field Name: EntityID
|
|
44032
|
+
* * Display Name: Entity
|
|
44033
|
+
* * SQL Data Type: uniqueidentifier
|
|
44034
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
44035
|
+
* * Description: When Scope is Entity or Record, identifies the target entity. NULL for System scope.
|
|
44036
|
+
*/
|
|
44037
|
+
get EntityID(): string | null;
|
|
44038
|
+
set EntityID(value: string | null);
|
|
44039
|
+
/**
|
|
44040
|
+
* * Field Name: RecordID
|
|
44041
|
+
* * Display Name: Record ID
|
|
44042
|
+
* * SQL Data Type: nvarchar(750)
|
|
44043
|
+
* * Description: When Scope is Record, identifies the specific record. NULL for System and Entity scopes.
|
|
44044
|
+
*/
|
|
44045
|
+
get RecordID(): string | null;
|
|
44046
|
+
set RecordID(value: string | null);
|
|
44047
|
+
/**
|
|
44048
|
+
* * Field Name: ParentID
|
|
44049
|
+
* * Display Name: Parent
|
|
44050
|
+
* * SQL Data Type: uniqueidentifier
|
|
44051
|
+
* * Related Entity/Foreign Key: MJ: Version Labels (vwVersionLabels.ID)
|
|
44052
|
+
* * Description: Self-referencing parent for grouping related labels. When a user labels multiple records of the same entity, a parent label is created as the container and each individual record label references it via ParentID.
|
|
44053
|
+
*/
|
|
44054
|
+
get ParentID(): string | null;
|
|
44055
|
+
set ParentID(value: string | null);
|
|
44056
|
+
/**
|
|
44057
|
+
* * Field Name: Status
|
|
44058
|
+
* * Display Name: Status
|
|
44059
|
+
* * SQL Data Type: nvarchar(50)
|
|
44060
|
+
* * Default Value: Active
|
|
44061
|
+
* * Value List Type: List
|
|
44062
|
+
* * Possible Values
|
|
44063
|
+
* * Active
|
|
44064
|
+
* * Archived
|
|
44065
|
+
* * Restored
|
|
44066
|
+
* * Description: Lifecycle state: Active (current), Archived (historical reference only), Restored (this label was used in a restore operation)
|
|
44067
|
+
*/
|
|
44068
|
+
get Status(): 'Active' | 'Archived' | 'Restored';
|
|
44069
|
+
set Status(value: 'Active' | 'Archived' | 'Restored');
|
|
44070
|
+
/**
|
|
44071
|
+
* * Field Name: CreatedByUserID
|
|
44072
|
+
* * Display Name: Created By User
|
|
44073
|
+
* * SQL Data Type: uniqueidentifier
|
|
44074
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
44075
|
+
* * Description: The user who created this version label
|
|
44076
|
+
*/
|
|
44077
|
+
get CreatedByUserID(): string;
|
|
44078
|
+
set CreatedByUserID(value: string);
|
|
44079
|
+
/**
|
|
44080
|
+
* * Field Name: ExternalSystemID
|
|
44081
|
+
* * Display Name: External System ID
|
|
44082
|
+
* * SQL Data Type: nvarchar(200)
|
|
44083
|
+
* * Description: Optional reference to an external system identifier such as a git SHA, release tag, or deployment ID
|
|
44084
|
+
*/
|
|
44085
|
+
get ExternalSystemID(): string | null;
|
|
44086
|
+
set ExternalSystemID(value: string | null);
|
|
44087
|
+
/**
|
|
44088
|
+
* * Field Name: ItemCount
|
|
44089
|
+
* * Display Name: Item Count
|
|
44090
|
+
* * SQL Data Type: int
|
|
44091
|
+
* * Default Value: 0
|
|
44092
|
+
* * Description: Total number of VersionLabelItem rows created for this label. Populated after label creation completes.
|
|
44093
|
+
*/
|
|
44094
|
+
get ItemCount(): number;
|
|
44095
|
+
set ItemCount(value: number);
|
|
44096
|
+
/**
|
|
44097
|
+
* * Field Name: CreationDurationMS
|
|
44098
|
+
* * Display Name: Creation Duration (ms)
|
|
44099
|
+
* * SQL Data Type: int
|
|
44100
|
+
* * Default Value: 0
|
|
44101
|
+
* * Description: Time in milliseconds taken to create this label and all its items. Used for estimation of future label creation operations.
|
|
44102
|
+
*/
|
|
44103
|
+
get CreationDurationMS(): number;
|
|
44104
|
+
set CreationDurationMS(value: number);
|
|
44105
|
+
/**
|
|
44106
|
+
* * Field Name: __mj_CreatedAt
|
|
44107
|
+
* * Display Name: Created At
|
|
44108
|
+
* * SQL Data Type: datetimeoffset
|
|
44109
|
+
* * Default Value: getutcdate()
|
|
44110
|
+
*/
|
|
44111
|
+
get __mj_CreatedAt(): Date;
|
|
44112
|
+
/**
|
|
44113
|
+
* * Field Name: __mj_UpdatedAt
|
|
44114
|
+
* * Display Name: Updated At
|
|
44115
|
+
* * SQL Data Type: datetimeoffset
|
|
44116
|
+
* * Default Value: getutcdate()
|
|
44117
|
+
*/
|
|
44118
|
+
get __mj_UpdatedAt(): Date;
|
|
44119
|
+
/**
|
|
44120
|
+
* * Field Name: Entity
|
|
44121
|
+
* * Display Name: Entity
|
|
44122
|
+
* * SQL Data Type: nvarchar(255)
|
|
44123
|
+
*/
|
|
44124
|
+
get Entity(): string | null;
|
|
44125
|
+
/**
|
|
44126
|
+
* * Field Name: Parent
|
|
44127
|
+
* * Display Name: Parent Name
|
|
44128
|
+
* * SQL Data Type: nvarchar(200)
|
|
44129
|
+
*/
|
|
44130
|
+
get Parent(): string | null;
|
|
44131
|
+
/**
|
|
44132
|
+
* * Field Name: CreatedByUser
|
|
44133
|
+
* * Display Name: Created By User Name
|
|
44134
|
+
* * SQL Data Type: nvarchar(100)
|
|
44135
|
+
*/
|
|
44136
|
+
get CreatedByUser(): string;
|
|
44137
|
+
/**
|
|
44138
|
+
* * Field Name: RootParentID
|
|
44139
|
+
* * Display Name: Root Parent
|
|
44140
|
+
* * SQL Data Type: uniqueidentifier
|
|
44141
|
+
*/
|
|
44142
|
+
get RootParentID(): string | null;
|
|
44143
|
+
}
|
|
42571
44144
|
/**
|
|
42572
44145
|
* Output Delivery Types - strongly typed entity sub-class
|
|
42573
44146
|
* * Schema: __mj
|
|
@@ -44179,7 +45752,7 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
|
|
|
44179
45752
|
set ID(value: string);
|
|
44180
45753
|
/**
|
|
44181
45754
|
* * Field Name: RecommendationRunID
|
|
44182
|
-
* * Display Name: Recommendation Run
|
|
45755
|
+
* * Display Name: Recommendation Run
|
|
44183
45756
|
* * SQL Data Type: uniqueidentifier
|
|
44184
45757
|
* * Related Entity/Foreign Key: Recommendation Runs (vwRecommendationRuns.ID)
|
|
44185
45758
|
*/
|
|
@@ -44187,7 +45760,7 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
|
|
|
44187
45760
|
set RecommendationRunID(value: string);
|
|
44188
45761
|
/**
|
|
44189
45762
|
* * Field Name: SourceEntityID
|
|
44190
|
-
* * Display Name: Source Entity
|
|
45763
|
+
* * Display Name: Source Entity
|
|
44191
45764
|
* * SQL Data Type: uniqueidentifier
|
|
44192
45765
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
44193
45766
|
*/
|
|
@@ -44195,7 +45768,7 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
|
|
|
44195
45768
|
set SourceEntityID(value: string);
|
|
44196
45769
|
/**
|
|
44197
45770
|
* * Field Name: SourceEntityRecordID
|
|
44198
|
-
* * Display Name: Source Entity Record
|
|
45771
|
+
* * Display Name: Source Entity Record
|
|
44199
45772
|
* * SQL Data Type: nvarchar(MAX)
|
|
44200
45773
|
* * Description: The record ID of the source entity
|
|
44201
45774
|
*/
|
|
@@ -44345,6 +45918,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
44345
45918
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
44346
45919
|
/**
|
|
44347
45920
|
* * Field Name: ID
|
|
45921
|
+
* * Display Name: ID
|
|
44348
45922
|
* * SQL Data Type: uniqueidentifier
|
|
44349
45923
|
* * Default Value: newsequentialid()
|
|
44350
45924
|
*/
|
|
@@ -44360,7 +45934,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
44360
45934
|
set EntityID(value: string);
|
|
44361
45935
|
/**
|
|
44362
45936
|
* * Field Name: RecordID
|
|
44363
|
-
* * Display Name: Record
|
|
45937
|
+
* * Display Name: Record ID
|
|
44364
45938
|
* * SQL Data Type: nvarchar(750)
|
|
44365
45939
|
* * Description: Field RecordID for entity Record Changes.
|
|
44366
45940
|
*/
|
|
@@ -44376,18 +45950,19 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
44376
45950
|
set UserID(value: string);
|
|
44377
45951
|
/**
|
|
44378
45952
|
* * Field Name: Type
|
|
44379
|
-
* * Display Name: Type
|
|
45953
|
+
* * Display Name: Change Type
|
|
44380
45954
|
* * SQL Data Type: nvarchar(20)
|
|
44381
45955
|
* * Default Value: Create
|
|
44382
45956
|
* * Value List Type: List
|
|
44383
45957
|
* * Possible Values
|
|
44384
45958
|
* * Create
|
|
44385
45959
|
* * Delete
|
|
45960
|
+
* * Snapshot
|
|
44386
45961
|
* * Update
|
|
44387
45962
|
* * Description: Create, Update, or Delete
|
|
44388
45963
|
*/
|
|
44389
|
-
get Type(): 'Create' | 'Delete' | 'Update';
|
|
44390
|
-
set Type(value: 'Create' | 'Delete' | 'Update');
|
|
45964
|
+
get Type(): 'Create' | 'Delete' | 'Snapshot' | 'Update';
|
|
45965
|
+
set Type(value: 'Create' | 'Delete' | 'Snapshot' | 'Update');
|
|
44391
45966
|
/**
|
|
44392
45967
|
* * Field Name: Source
|
|
44393
45968
|
* * Display Name: Source
|
|
@@ -44436,6 +46011,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
44436
46011
|
set FullRecordJSON(value: string);
|
|
44437
46012
|
/**
|
|
44438
46013
|
* * Field Name: Status
|
|
46014
|
+
* * Display Name: Status
|
|
44439
46015
|
* * SQL Data Type: nvarchar(50)
|
|
44440
46016
|
* * Default Value: Complete
|
|
44441
46017
|
* * Value List Type: List
|
|
@@ -44473,6 +46049,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
44473
46049
|
set IntegrationID(value: string | null);
|
|
44474
46050
|
/**
|
|
44475
46051
|
* * Field Name: Comments
|
|
46052
|
+
* * Display Name: Comments
|
|
44476
46053
|
* * SQL Data Type: nvarchar(MAX)
|
|
44477
46054
|
*/
|
|
44478
46055
|
get Comments(): string | null;
|
|
@@ -44552,7 +46129,7 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
|
|
|
44552
46129
|
set ID(value: string);
|
|
44553
46130
|
/**
|
|
44554
46131
|
* * Field Name: RecordMergeLogID
|
|
44555
|
-
* * Display Name: Record Merge Log
|
|
46132
|
+
* * Display Name: Record Merge Log
|
|
44556
46133
|
* * SQL Data Type: uniqueidentifier
|
|
44557
46134
|
* * Related Entity/Foreign Key: Record Merge Logs (vwRecordMergeLogs.ID)
|
|
44558
46135
|
*/
|
|
@@ -44560,7 +46137,7 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
|
|
|
44560
46137
|
set RecordMergeLogID(value: string);
|
|
44561
46138
|
/**
|
|
44562
46139
|
* * Field Name: DeletedRecordID
|
|
44563
|
-
* * Display Name: Deleted Record
|
|
46140
|
+
* * Display Name: Deleted Record
|
|
44564
46141
|
* * SQL Data Type: nvarchar(750)
|
|
44565
46142
|
* * Description: Field DeletedRecordID for entity Record Merge Deletion Logs.
|
|
44566
46143
|
*/
|
|
@@ -44603,7 +46180,7 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
|
|
|
44603
46180
|
get __mj_UpdatedAt(): Date;
|
|
44604
46181
|
/**
|
|
44605
46182
|
* * Field Name: RecordMergeLog
|
|
44606
|
-
* * Display Name:
|
|
46183
|
+
* * Display Name: Merge Log
|
|
44607
46184
|
* * SQL Data Type: nvarchar(450)
|
|
44608
46185
|
*/
|
|
44609
46186
|
get RecordMergeLog(): string;
|
|
@@ -45001,7 +46578,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45001
46578
|
set Description(value: string | null);
|
|
45002
46579
|
/**
|
|
45003
46580
|
* * Field Name: CategoryID
|
|
45004
|
-
* * Display Name: Category
|
|
46581
|
+
* * Display Name: Category
|
|
45005
46582
|
* * SQL Data Type: uniqueidentifier
|
|
45006
46583
|
* * Related Entity/Foreign Key: Report Categories (vwReportCategories.ID)
|
|
45007
46584
|
*/
|
|
@@ -45009,7 +46586,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45009
46586
|
set CategoryID(value: string | null);
|
|
45010
46587
|
/**
|
|
45011
46588
|
* * Field Name: UserID
|
|
45012
|
-
* * Display Name: User
|
|
46589
|
+
* * Display Name: User
|
|
45013
46590
|
* * SQL Data Type: uniqueidentifier
|
|
45014
46591
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
45015
46592
|
*/
|
|
@@ -45031,7 +46608,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45031
46608
|
set SharingScope(value: 'Everyone' | 'None' | 'Specific');
|
|
45032
46609
|
/**
|
|
45033
46610
|
* * Field Name: ConversationID
|
|
45034
|
-
* * Display Name: Conversation
|
|
46611
|
+
* * Display Name: Conversation
|
|
45035
46612
|
* * SQL Data Type: uniqueidentifier
|
|
45036
46613
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
45037
46614
|
*/
|
|
@@ -45039,7 +46616,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45039
46616
|
set ConversationID(value: string | null);
|
|
45040
46617
|
/**
|
|
45041
46618
|
* * Field Name: ConversationDetailID
|
|
45042
|
-
* * Display Name: Conversation Detail
|
|
46619
|
+
* * Display Name: Conversation Detail
|
|
45043
46620
|
* * SQL Data Type: uniqueidentifier
|
|
45044
46621
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
45045
46622
|
*/
|
|
@@ -45047,7 +46624,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45047
46624
|
set ConversationDetailID(value: string | null);
|
|
45048
46625
|
/**
|
|
45049
46626
|
* * Field Name: DataContextID
|
|
45050
|
-
* * Display Name: Data Context
|
|
46627
|
+
* * Display Name: Data Context
|
|
45051
46628
|
* * SQL Data Type: uniqueidentifier
|
|
45052
46629
|
* * Related Entity/Foreign Key: Data Contexts (vwDataContexts.ID)
|
|
45053
46630
|
*/
|
|
@@ -45063,7 +46640,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45063
46640
|
set Configuration(value: string | null);
|
|
45064
46641
|
/**
|
|
45065
46642
|
* * Field Name: OutputTriggerTypeID
|
|
45066
|
-
* * Display Name: Output Trigger Type
|
|
46643
|
+
* * Display Name: Output Trigger Type
|
|
45067
46644
|
* * SQL Data Type: uniqueidentifier
|
|
45068
46645
|
* * Related Entity/Foreign Key: Output Trigger Types (vwOutputTriggerTypes.ID)
|
|
45069
46646
|
*/
|
|
@@ -45071,7 +46648,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45071
46648
|
set OutputTriggerTypeID(value: string | null);
|
|
45072
46649
|
/**
|
|
45073
46650
|
* * Field Name: OutputFormatTypeID
|
|
45074
|
-
* * Display Name: Output Format Type
|
|
46651
|
+
* * Display Name: Output Format Type
|
|
45075
46652
|
* * SQL Data Type: uniqueidentifier
|
|
45076
46653
|
* * Related Entity/Foreign Key: Output Format Types (vwOutputFormatTypes.ID)
|
|
45077
46654
|
*/
|
|
@@ -45079,7 +46656,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45079
46656
|
set OutputFormatTypeID(value: string | null);
|
|
45080
46657
|
/**
|
|
45081
46658
|
* * Field Name: OutputDeliveryTypeID
|
|
45082
|
-
* * Display Name: Output Delivery Type
|
|
46659
|
+
* * Display Name: Output Delivery Type
|
|
45083
46660
|
* * SQL Data Type: uniqueidentifier
|
|
45084
46661
|
* * Related Entity/Foreign Key: Output Delivery Types (vwOutputDeliveryTypes.ID)
|
|
45085
46662
|
*/
|
|
@@ -45103,7 +46680,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45103
46680
|
set OutputTargetEmail(value: string | null);
|
|
45104
46681
|
/**
|
|
45105
46682
|
* * Field Name: OutputWorkflowID
|
|
45106
|
-
* * Display Name: Output Workflow
|
|
46683
|
+
* * Display Name: Output Workflow
|
|
45107
46684
|
* * SQL Data Type: uniqueidentifier
|
|
45108
46685
|
* * Related Entity/Foreign Key: Workflows (vwWorkflows.ID)
|
|
45109
46686
|
*/
|
|
@@ -45133,7 +46710,7 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
45133
46710
|
set Thumbnail(value: string | null);
|
|
45134
46711
|
/**
|
|
45135
46712
|
* * Field Name: EnvironmentID
|
|
45136
|
-
* * Display Name: Environment
|
|
46713
|
+
* * Display Name: Environment
|
|
45137
46714
|
* * SQL Data Type: uniqueidentifier
|
|
45138
46715
|
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
45139
46716
|
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|