@memberjunction/core-entities 0.9.171 → 0.9.173

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.
@@ -1503,6 +1503,7 @@ export declare class EntityEntity extends BaseEntity {
1503
1503
  * * Display Name: Base View Generated
1504
1504
  * * SQL Data Type: bit
1505
1505
  * * Default Value: 1
1506
+ * * Description: When set to 0, CodeGen no longer generates a base view for the entity.
1506
1507
  */
1507
1508
  get BaseViewGenerated(): boolean;
1508
1509
  set BaseViewGenerated(value: boolean);
@@ -1526,6 +1527,7 @@ export declare class EntityEntity extends BaseEntity {
1526
1527
  * * Display Name: Track Record Changes
1527
1528
  * * SQL Data Type: bit
1528
1529
  * * Default Value: 1
1530
+ * * Description: When set to 1, changes made via the MemberJunction architecture will result in tracking records being created in the RecordChange table
1529
1531
  */
1530
1532
  get TrackRecordChanges(): boolean;
1531
1533
  set TrackRecordChanges(value: boolean);
@@ -1534,6 +1536,7 @@ export declare class EntityEntity extends BaseEntity {
1534
1536
  * * Display Name: Audit Record Access
1535
1537
  * * SQL Data Type: bit
1536
1538
  * * Default Value: 1
1539
+ * * Description: When set to 1, accessing a record by an end-user will result in an Audit Log record being created
1537
1540
  */
1538
1541
  get AuditRecordAccess(): boolean;
1539
1542
  set AuditRecordAccess(value: boolean);
@@ -1542,6 +1545,7 @@ export declare class EntityEntity extends BaseEntity {
1542
1545
  * * Display Name: Audit View Runs
1543
1546
  * * SQL Data Type: bit
1544
1547
  * * Default Value: 1
1548
+ * * Description: When set to 1, users running a view against this entity will result in an Audit Log record being created.
1545
1549
  */
1546
1550
  get AuditViewRuns(): boolean;
1547
1551
  set AuditViewRuns(value: boolean);
@@ -1550,6 +1554,7 @@ export declare class EntityEntity extends BaseEntity {
1550
1554
  * * Display Name: Include In API
1551
1555
  * * SQL Data Type: bit
1552
1556
  * * Default Value: 0
1557
+ * * Description: If set to 0, the entity will not be available at all in the GraphQL API or the object model.
1553
1558
  */
1554
1559
  get IncludeInAPI(): boolean;
1555
1560
  set IncludeInAPI(value: boolean);
@@ -1558,6 +1563,7 @@ export declare class EntityEntity extends BaseEntity {
1558
1563
  * * Display Name: Allow All Rows API
1559
1564
  * * SQL Data Type: bit
1560
1565
  * * Default Value: 0
1566
+ * * Description: If set to 1, a GraphQL query will be enabled that allows access to all rows in the entity.
1561
1567
  */
1562
1568
  get AllowAllRowsAPI(): boolean;
1563
1569
  set AllowAllRowsAPI(value: boolean);
@@ -1566,6 +1572,7 @@ export declare class EntityEntity extends BaseEntity {
1566
1572
  * * Display Name: Allow Update API
1567
1573
  * * SQL Data Type: bit
1568
1574
  * * Default Value: 0
1575
+ * * Description: Global flag controlling if updates are allowed for any user, or not. If set to 1, a GraqhQL mutation and stored procedure are created. Permissions are still required to perform the action but if this flag is set to 0, no user will be able to perform the action.
1569
1576
  */
1570
1577
  get AllowUpdateAPI(): boolean;
1571
1578
  set AllowUpdateAPI(value: boolean);
@@ -1574,6 +1581,7 @@ export declare class EntityEntity extends BaseEntity {
1574
1581
  * * Display Name: Allow Create API
1575
1582
  * * SQL Data Type: bit
1576
1583
  * * Default Value: 0
1584
+ * * Description: Global flag controlling if creates are allowed for any user, or not. If set to 1, a GraqhQL mutation and stored procedure are created. Permissions are still required to perform the action but if this flag is set to 0, no user will be able to perform the action.
1577
1585
  */
1578
1586
  get AllowCreateAPI(): boolean;
1579
1587
  set AllowCreateAPI(value: boolean);
@@ -1582,6 +1590,7 @@ export declare class EntityEntity extends BaseEntity {
1582
1590
  * * Display Name: Allow Delete API
1583
1591
  * * SQL Data Type: bit
1584
1592
  * * Default Value: 0
1593
+ * * Description: Global flag controlling if deletes are allowed for any user, or not. If set to 1, a GraqhQL mutation and stored procedure are created. Permissions are still required to perform the action but if this flag is set to 0, no user will be able to perform the action.
1585
1594
  */
1586
1595
  get AllowDeleteAPI(): boolean;
1587
1596
  set AllowDeleteAPI(value: boolean);
@@ -1590,6 +1599,7 @@ export declare class EntityEntity extends BaseEntity {
1590
1599
  * * Display Name: Custom Resolver API
1591
1600
  * * SQL Data Type: bit
1592
1601
  * * Default Value: 0
1602
+ * * Description: Set to 1 if a custom resolver has been created for the entity.
1593
1603
  */
1594
1604
  get CustomResolverAPI(): boolean;
1595
1605
  set CustomResolverAPI(value: boolean);
@@ -1598,6 +1608,7 @@ export declare class EntityEntity extends BaseEntity {
1598
1608
  * * Display Name: Allow User Search API
1599
1609
  * * SQL Data Type: bit
1600
1610
  * * Default Value: 0
1611
+ * * Description: Enabling this bit will result in search being possible at the API and UI layers
1601
1612
  */
1602
1613
  get AllowUserSearchAPI(): boolean;
1603
1614
  set AllowUserSearchAPI(value: boolean);
@@ -1853,9 +1864,13 @@ export declare class UserEntity extends BaseEntity {
1853
1864
  /**
1854
1865
  * * Field Name: Type
1855
1866
  * * SQL Data Type: nchar(15)
1867
+ * * Value List Type: List
1868
+ * * Possible Values
1869
+ * * User
1870
+ * * Owner
1856
1871
  */
1857
- get Type(): string;
1858
- set Type(value: string);
1872
+ get Type(): 'User' | 'Owner';
1873
+ set Type(value: 'User' | 'Owner');
1859
1874
  /**
1860
1875
  * * Field Name: IsActive
1861
1876
  * * Display Name: Is Active
@@ -2019,9 +2034,13 @@ export declare class EntityRelationshipEntity extends BaseEntity {
2019
2034
  * * Field Name: Type
2020
2035
  * * SQL Data Type: nchar(20)
2021
2036
  * * Default Value: N'One To Many'
2037
+ * * Value List Type: List
2038
+ * * Possible Values
2039
+ * * One To Many
2040
+ * * Many To Many
2022
2041
  */
2023
- get Type(): string;
2024
- set Type(value: string);
2042
+ get Type(): 'One To Many' | 'Many To Many';
2043
+ set Type(value: 'One To Many' | 'Many To Many');
2025
2044
  /**
2026
2045
  * * Field Name: EntityKeyField
2027
2046
  * * Display Name: Entity Key Field
@@ -3308,9 +3327,18 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity {
3308
3327
  * * Field Name: RequestMethod
3309
3328
  * * Display Name: Request Method
3310
3329
  * * SQL Data Type: nvarchar(12)
3330
+ * * Value List Type: List
3331
+ * * Possible Values
3332
+ * * GET
3333
+ * * POST
3334
+ * * PUT
3335
+ * * DELETE
3336
+ * * PATCH
3337
+ * * HEAD
3338
+ * * OPTIONS
3311
3339
  */
3312
- get RequestMethod(): string | null;
3313
- set RequestMethod(value: string | null);
3340
+ get RequestMethod(): 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS' | null;
3341
+ set RequestMethod(value: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS' | null);
3314
3342
  /**
3315
3343
  * * Field Name: URL
3316
3344
  * * SQL Data Type: nvarchar(MAX)
@@ -3685,9 +3713,15 @@ export declare class WorkflowRunEntity extends BaseEntity {
3685
3713
  * * Field Name: Status
3686
3714
  * * SQL Data Type: nchar(10)
3687
3715
  * * Default Value: N'Pending'
3716
+ * * Value List Type: List
3717
+ * * Possible Values
3718
+ * * Pending
3719
+ * * In Progress
3720
+ * * Complete
3721
+ * * Failed
3688
3722
  */
3689
- get Status(): string;
3690
- set Status(value: string);
3723
+ get Status(): 'Pending' | 'In Progress' | 'Complete' | 'Failed';
3724
+ set Status(value: 'Pending' | 'In Progress' | 'Complete' | 'Failed');
3691
3725
  /**
3692
3726
  * * Field Name: Results
3693
3727
  * * SQL Data Type: nvarchar(MAX)
@@ -4013,9 +4047,13 @@ export declare class RecordChangeEntity extends BaseEntity {
4013
4047
  * * Field Name: Status
4014
4048
  * * SQL Data Type: nchar(15)
4015
4049
  * * Default Value: N'Complete'
4050
+ * * Value List Type: List
4051
+ * * Possible Values
4052
+ * * Pending
4053
+ * * Complete
4016
4054
  */
4017
- get Status(): string;
4018
- set Status(value: string);
4055
+ get Status(): 'Pending' | 'Complete';
4056
+ set Status(value: 'Pending' | 'Complete');
4019
4057
  /**
4020
4058
  * * Field Name: Comments
4021
4059
  * * SQL Data Type: nvarchar(MAX)
@@ -4251,9 +4289,13 @@ export declare class AuditLogEntity extends BaseEntity {
4251
4289
  * * Display Name: Status
4252
4290
  * * SQL Data Type: nvarchar(50)
4253
4291
  * * Default Value: N'Allow'
4292
+ * * Value List Type: List
4293
+ * * Possible Values
4294
+ * * Success
4295
+ * * Failed
4254
4296
  */
4255
- get Status(): string;
4256
- set Status(value: string);
4297
+ get Status(): 'Success' | 'Failed';
4298
+ set Status(value: 'Success' | 'Failed');
4257
4299
  /**
4258
4300
  * * Field Name: Description
4259
4301
  * * Display Name: Description
@@ -5090,9 +5132,13 @@ export declare class EntityAIActionEntity extends BaseEntity {
5090
5132
  * * Display Name: Trigger Event
5091
5133
  * * SQL Data Type: nchar(15)
5092
5134
  * * Default Value: N'After Save'
5135
+ * * Value List Type: List
5136
+ * * Possible Values
5137
+ * * after save
5138
+ * * before save
5093
5139
  */
5094
- get TriggerEvent(): string;
5095
- set TriggerEvent(value: string);
5140
+ get TriggerEvent(): 'after save' | 'before save';
5141
+ set TriggerEvent(value: 'after save' | 'before save');
5096
5142
  /**
5097
5143
  * * Field Name: UserMessage
5098
5144
  * * Display Name: User Message
@@ -5105,9 +5151,13 @@ export declare class EntityAIActionEntity extends BaseEntity {
5105
5151
  * * Display Name: Output Type
5106
5152
  * * SQL Data Type: nchar(10)
5107
5153
  * * Default Value: N'FIeld'
5154
+ * * Value List Type: List
5155
+ * * Possible Values
5156
+ * * entity
5157
+ * * field
5108
5158
  */
5109
- get OutputType(): string;
5110
- set OutputType(value: string);
5159
+ get OutputType(): 'entity' | 'field';
5160
+ set OutputType(value: 'entity' | 'field');
5111
5161
  /**
5112
5162
  * * Field Name: OutputField
5113
5163
  * * Display Name: Output Field
@@ -5527,9 +5577,14 @@ export declare class QueueTaskEntity extends BaseEntity {
5527
5577
  * * Display Name: Status
5528
5578
  * * SQL Data Type: nchar(10)
5529
5579
  * * Default Value: N'Pending'
5580
+ * * Value List Type: List
5581
+ * * Possible Values
5582
+ * * In Progress
5583
+ * * Completed
5584
+ * * Failed
5530
5585
  */
5531
- get Status(): string;
5532
- set Status(value: string);
5586
+ get Status(): 'In Progress' | 'Completed' | 'Failed';
5587
+ set Status(value: 'In Progress' | 'Completed' | 'Failed');
5533
5588
  /**
5534
5589
  * * Field Name: StartedAt
5535
5590
  * * Display Name: Started At
@@ -5917,9 +5972,14 @@ export declare class ReportEntity extends BaseEntity {
5917
5972
  * * Display Name: Sharing Scope
5918
5973
  * * SQL Data Type: nvarchar(20)
5919
5974
  * * Default Value: N'Personal'
5975
+ * * Value List Type: List
5976
+ * * Possible Values
5977
+ * * None
5978
+ * * Specific
5979
+ * * Everyone
5920
5980
  */
5921
- get SharingScope(): string;
5922
- set SharingScope(value: string);
5981
+ get SharingScope(): 'None' | 'Specific' | 'Everyone';
5982
+ set SharingScope(value: 'None' | 'Specific' | 'Everyone');
5923
5983
  /**
5924
5984
  * * Field Name: ConversationID
5925
5985
  * * Display Name: Conversation ID
@@ -6803,9 +6863,14 @@ export declare class ConversationDetailEntity extends BaseEntity {
6803
6863
  * * Display Name: Role
6804
6864
  * * SQL Data Type: nvarchar(20)
6805
6865
  * * Default Value: user_name()
6866
+ * * Value List Type: List
6867
+ * * Possible Values
6868
+ * * User
6869
+ * * AI
6870
+ * * Error
6806
6871
  */
6807
- get Role(): string;
6808
- set Role(value: string);
6872
+ get Role(): 'User' | 'AI' | 'Error';
6873
+ set Role(value: 'User' | 'AI' | 'Error');
6809
6874
  /**
6810
6875
  * * Field Name: Message
6811
6876
  * * Display Name: Message
@@ -7317,9 +7382,14 @@ export declare class RecordMergeLogEntity extends BaseEntity {
7317
7382
  * * Display Name: Approval Status
7318
7383
  * * SQL Data Type: nvarchar(10)
7319
7384
  * * Default Value: N'Pending'
7385
+ * * Value List Type: List
7386
+ * * Possible Values
7387
+ * * Pending
7388
+ * * Approved
7389
+ * * Rejected
7320
7390
  */
7321
- get ApprovalStatus(): string;
7322
- set ApprovalStatus(value: string);
7391
+ get ApprovalStatus(): 'Pending' | 'Approved' | 'Rejected';
7392
+ set ApprovalStatus(value: 'Pending' | 'Approved' | 'Rejected');
7323
7393
  /**
7324
7394
  * * Field Name: ApprovedByUserID
7325
7395
  * * Display Name: Approved By User ID
@@ -7332,9 +7402,14 @@ export declare class RecordMergeLogEntity extends BaseEntity {
7332
7402
  * * Display Name: Processing Status
7333
7403
  * * SQL Data Type: nvarchar(10)
7334
7404
  * * Default Value: N'Pending'
7405
+ * * Value List Type: List
7406
+ * * Possible Values
7407
+ * * Started
7408
+ * * Complete
7409
+ * * Error
7335
7410
  */
7336
- get ProcessingStatus(): string;
7337
- set ProcessingStatus(value: string);
7411
+ get ProcessingStatus(): 'Started' | 'Complete' | 'Error';
7412
+ set ProcessingStatus(value: 'Started' | 'Complete' | 'Error');
7338
7413
  /**
7339
7414
  * * Field Name: ProcessingStartedAt
7340
7415
  * * Display Name: Processing Started At
@@ -7449,9 +7524,14 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity {
7449
7524
  * * Display Name: Status
7450
7525
  * * SQL Data Type: nvarchar(10)
7451
7526
  * * Default Value: N'Pending'
7527
+ * * Value List Type: List
7528
+ * * Possible Values
7529
+ * * Pending
7530
+ * * Complete
7531
+ * * Error
7452
7532
  */
7453
- get Status(): string;
7454
- set Status(value: string);
7533
+ get Status(): 'Pending' | 'Complete' | 'Error';
7534
+ set Status(value: 'Pending' | 'Complete' | 'Error');
7455
7535
  /**
7456
7536
  * * Field Name: ProcessingLog
7457
7537
  * * Display Name: Processing Log
@@ -7788,9 +7868,15 @@ export declare class QueryEntity extends BaseEntity {
7788
7868
  * * Display Name: Status
7789
7869
  * * SQL Data Type: nvarchar(15)
7790
7870
  * * Default Value: N'Pending'
7871
+ * * Value List Type: List
7872
+ * * Possible Values
7873
+ * * Pending
7874
+ * * Approved
7875
+ * * Rejected
7876
+ * * Expired
7791
7877
  */
7792
- get Status(): string;
7793
- set Status(value: string);
7878
+ get Status(): 'Pending' | 'Approved' | 'Rejected' | 'Expired';
7879
+ set Status(value: 'Pending' | 'Approved' | 'Rejected' | 'Expired');
7794
7880
  /**
7795
7881
  * * Field Name: QualityRank
7796
7882
  * * Display Name: Quality Rank
@@ -8116,10 +8202,15 @@ export declare class EntityDocumentRunEntity extends BaseEntity {
8116
8202
  * * Display Name: Status
8117
8203
  * * SQL Data Type: nvarchar(15)
8118
8204
  * * Default Value: N'Pending'
8205
+ * * Value List Type: List
8206
+ * * Possible Values
8207
+ * * Pending
8208
+ * * Complete
8209
+ * * Failed
8119
8210
  * * Description: Can be Pending, In Progress, Completed, or Failed
8120
8211
  */
8121
- get Status(): string;
8122
- set Status(value: string);
8212
+ get Status(): 'Pending' | 'Complete' | 'Failed';
8213
+ set Status(value: 'Pending' | 'Complete' | 'Failed');
8123
8214
  /**
8124
8215
  * * Field Name: CreatedAt
8125
8216
  * * Display Name: Created At
@@ -8391,9 +8482,13 @@ export declare class EntityDocumentEntity extends BaseEntity {
8391
8482
  * * Display Name: Status
8392
8483
  * * SQL Data Type: nvarchar(15)
8393
8484
  * * Default Value: N'Pending'
8485
+ * * Value List Type: List
8486
+ * * Possible Values
8487
+ * * Active
8488
+ * * Inactive
8394
8489
  */
8395
- get Status(): string;
8396
- set Status(value: string);
8490
+ get Status(): 'Active' | 'Inactive';
8491
+ set Status(value: 'Active' | 'Inactive');
8397
8492
  /**
8398
8493
  * * Field Name: Template
8399
8494
  * * Display Name: Template
@@ -8480,10 +8575,17 @@ export declare class DataContextItemEntity extends BaseEntity {
8480
8575
  * * Field Name: Type
8481
8576
  * * Display Name: Type
8482
8577
  * * SQL Data Type: nvarchar(50)
8578
+ * * Value List Type: List
8579
+ * * Possible Values
8580
+ * * view
8581
+ * * sql
8582
+ * * query
8583
+ * * single_record
8584
+ * * full_entity
8483
8585
  * * Description: The type of the item, either "view", "query", "full_entity", "single_record", or "sql"
8484
8586
  */
8485
- get Type(): string;
8486
- set Type(value: string);
8587
+ get Type(): 'view' | 'sql' | 'query' | 'single_record' | 'full_entity';
8588
+ set Type(value: 'view' | 'sql' | 'query' | 'single_record' | 'full_entity');
8487
8589
  /**
8488
8590
  * * Field Name: ViewID
8489
8591
  * * Display Name: View ID
@@ -8740,6 +8842,7 @@ export declare class UserViewCategoryEntity extends BaseEntity {
8740
8842
  * * Field Name: EntityID
8741
8843
  * * Display Name: Entity ID
8742
8844
  * * SQL Data Type: int
8845
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
8743
8846
  */
8744
8847
  get EntityID(): number;
8745
8848
  set EntityID(value: number);
@@ -9324,10 +9427,14 @@ export declare class VersionInstallationEntity extends BaseEntity {
9324
9427
  * * Display Name: Type
9325
9428
  * * SQL Data Type: nvarchar(20)
9326
9429
  * * Default Value: N'System'
9430
+ * * Value List Type: List
9431
+ * * Possible Values
9432
+ * * New
9433
+ * * Upgrade
9327
9434
  * * Description: What type of installation was applied
9328
9435
  */
9329
- get Type(): string | null;
9330
- set Type(value: string | null);
9436
+ get Type(): 'New' | 'Upgrade' | null;
9437
+ set Type(value: 'New' | 'Upgrade' | null);
9331
9438
  /**
9332
9439
  * * Field Name: InstalledAt
9333
9440
  * * Display Name: Installed At
@@ -9340,10 +9447,16 @@ export declare class VersionInstallationEntity extends BaseEntity {
9340
9447
  * * Display Name: Status
9341
9448
  * * SQL Data Type: nvarchar(20)
9342
9449
  * * Default Value: N'Pending'
9450
+ * * Value List Type: List
9451
+ * * Possible Values
9452
+ * * Pending
9453
+ * * In Progress
9454
+ * * Complete
9455
+ * * Failed
9343
9456
  * * Description: Pending, Complete, Failed
9344
9457
  */
9345
- get Status(): string;
9346
- set Status(value: string);
9458
+ get Status(): 'Pending' | 'In Progress' | 'Complete' | 'Failed';
9459
+ set Status(value: 'Pending' | 'In Progress' | 'Complete' | 'Failed');
9347
9460
  /**
9348
9461
  * * Field Name: InstallLog
9349
9462
  * * Display Name: Install Log