@memberjunction/core-entities 0.9.170 → 0.9.172

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,13 @@ 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
6806
6870
  */
6807
- get Role(): string;
6808
- set Role(value: string);
6871
+ get Role(): 'User' | 'AI';
6872
+ set Role(value: 'User' | 'AI');
6809
6873
  /**
6810
6874
  * * Field Name: Message
6811
6875
  * * Display Name: Message
@@ -7317,9 +7381,14 @@ export declare class RecordMergeLogEntity extends BaseEntity {
7317
7381
  * * Display Name: Approval Status
7318
7382
  * * SQL Data Type: nvarchar(10)
7319
7383
  * * Default Value: N'Pending'
7384
+ * * Value List Type: List
7385
+ * * Possible Values
7386
+ * * Pending
7387
+ * * Approved
7388
+ * * Rejected
7320
7389
  */
7321
- get ApprovalStatus(): string;
7322
- set ApprovalStatus(value: string);
7390
+ get ApprovalStatus(): 'Pending' | 'Approved' | 'Rejected';
7391
+ set ApprovalStatus(value: 'Pending' | 'Approved' | 'Rejected');
7323
7392
  /**
7324
7393
  * * Field Name: ApprovedByUserID
7325
7394
  * * Display Name: Approved By User ID
@@ -7332,9 +7401,14 @@ export declare class RecordMergeLogEntity extends BaseEntity {
7332
7401
  * * Display Name: Processing Status
7333
7402
  * * SQL Data Type: nvarchar(10)
7334
7403
  * * Default Value: N'Pending'
7404
+ * * Value List Type: List
7405
+ * * Possible Values
7406
+ * * Started
7407
+ * * Complete
7408
+ * * Error
7335
7409
  */
7336
- get ProcessingStatus(): string;
7337
- set ProcessingStatus(value: string);
7410
+ get ProcessingStatus(): 'Started' | 'Complete' | 'Error';
7411
+ set ProcessingStatus(value: 'Started' | 'Complete' | 'Error');
7338
7412
  /**
7339
7413
  * * Field Name: ProcessingStartedAt
7340
7414
  * * Display Name: Processing Started At
@@ -7449,9 +7523,14 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity {
7449
7523
  * * Display Name: Status
7450
7524
  * * SQL Data Type: nvarchar(10)
7451
7525
  * * Default Value: N'Pending'
7526
+ * * Value List Type: List
7527
+ * * Possible Values
7528
+ * * Pending
7529
+ * * Complete
7530
+ * * Error
7452
7531
  */
7453
- get Status(): string;
7454
- set Status(value: string);
7532
+ get Status(): 'Pending' | 'Complete' | 'Error';
7533
+ set Status(value: 'Pending' | 'Complete' | 'Error');
7455
7534
  /**
7456
7535
  * * Field Name: ProcessingLog
7457
7536
  * * Display Name: Processing Log
@@ -7788,9 +7867,15 @@ export declare class QueryEntity extends BaseEntity {
7788
7867
  * * Display Name: Status
7789
7868
  * * SQL Data Type: nvarchar(15)
7790
7869
  * * Default Value: N'Pending'
7870
+ * * Value List Type: List
7871
+ * * Possible Values
7872
+ * * Pending
7873
+ * * Approved
7874
+ * * Rejected
7875
+ * * Expired
7791
7876
  */
7792
- get Status(): string;
7793
- set Status(value: string);
7877
+ get Status(): 'Pending' | 'Approved' | 'Rejected' | 'Expired';
7878
+ set Status(value: 'Pending' | 'Approved' | 'Rejected' | 'Expired');
7794
7879
  /**
7795
7880
  * * Field Name: QualityRank
7796
7881
  * * Display Name: Quality Rank
@@ -8116,10 +8201,15 @@ export declare class EntityDocumentRunEntity extends BaseEntity {
8116
8201
  * * Display Name: Status
8117
8202
  * * SQL Data Type: nvarchar(15)
8118
8203
  * * Default Value: N'Pending'
8204
+ * * Value List Type: List
8205
+ * * Possible Values
8206
+ * * Pending
8207
+ * * Complete
8208
+ * * Failed
8119
8209
  * * Description: Can be Pending, In Progress, Completed, or Failed
8120
8210
  */
8121
- get Status(): string;
8122
- set Status(value: string);
8211
+ get Status(): 'Pending' | 'Complete' | 'Failed';
8212
+ set Status(value: 'Pending' | 'Complete' | 'Failed');
8123
8213
  /**
8124
8214
  * * Field Name: CreatedAt
8125
8215
  * * Display Name: Created At
@@ -8391,9 +8481,13 @@ export declare class EntityDocumentEntity extends BaseEntity {
8391
8481
  * * Display Name: Status
8392
8482
  * * SQL Data Type: nvarchar(15)
8393
8483
  * * Default Value: N'Pending'
8484
+ * * Value List Type: List
8485
+ * * Possible Values
8486
+ * * Active
8487
+ * * Inactive
8394
8488
  */
8395
- get Status(): string;
8396
- set Status(value: string);
8489
+ get Status(): 'Active' | 'Inactive';
8490
+ set Status(value: 'Active' | 'Inactive');
8397
8491
  /**
8398
8492
  * * Field Name: Template
8399
8493
  * * Display Name: Template
@@ -8480,10 +8574,17 @@ export declare class DataContextItemEntity extends BaseEntity {
8480
8574
  * * Field Name: Type
8481
8575
  * * Display Name: Type
8482
8576
  * * SQL Data Type: nvarchar(50)
8577
+ * * Value List Type: List
8578
+ * * Possible Values
8579
+ * * view
8580
+ * * sql
8581
+ * * query
8582
+ * * single_record
8583
+ * * full_entity
8483
8584
  * * Description: The type of the item, either "view", "query", "full_entity", "single_record", or "sql"
8484
8585
  */
8485
- get Type(): string;
8486
- set Type(value: string);
8586
+ get Type(): 'view' | 'sql' | 'query' | 'single_record' | 'full_entity';
8587
+ set Type(value: 'view' | 'sql' | 'query' | 'single_record' | 'full_entity');
8487
8588
  /**
8488
8589
  * * Field Name: ViewID
8489
8590
  * * Display Name: View ID
@@ -8740,6 +8841,7 @@ export declare class UserViewCategoryEntity extends BaseEntity {
8740
8841
  * * Field Name: EntityID
8741
8842
  * * Display Name: Entity ID
8742
8843
  * * SQL Data Type: int
8844
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
8743
8845
  */
8744
8846
  get EntityID(): number;
8745
8847
  set EntityID(value: number);
@@ -9324,10 +9426,14 @@ export declare class VersionInstallationEntity extends BaseEntity {
9324
9426
  * * Display Name: Type
9325
9427
  * * SQL Data Type: nvarchar(20)
9326
9428
  * * Default Value: N'System'
9429
+ * * Value List Type: List
9430
+ * * Possible Values
9431
+ * * New
9432
+ * * Upgrade
9327
9433
  * * Description: What type of installation was applied
9328
9434
  */
9329
- get Type(): string | null;
9330
- set Type(value: string | null);
9435
+ get Type(): 'New' | 'Upgrade' | null;
9436
+ set Type(value: 'New' | 'Upgrade' | null);
9331
9437
  /**
9332
9438
  * * Field Name: InstalledAt
9333
9439
  * * Display Name: Installed At
@@ -9340,10 +9446,16 @@ export declare class VersionInstallationEntity extends BaseEntity {
9340
9446
  * * Display Name: Status
9341
9447
  * * SQL Data Type: nvarchar(20)
9342
9448
  * * Default Value: N'Pending'
9449
+ * * Value List Type: List
9450
+ * * Possible Values
9451
+ * * Pending
9452
+ * * In Progress
9453
+ * * Complete
9454
+ * * Failed
9343
9455
  * * Description: Pending, Complete, Failed
9344
9456
  */
9345
- get Status(): string;
9346
- set Status(value: string);
9457
+ get Status(): 'Pending' | 'In Progress' | 'Complete' | 'Failed';
9458
+ set Status(value: 'Pending' | 'In Progress' | 'Complete' | 'Failed');
9347
9459
  /**
9348
9460
  * * Field Name: InstallLog
9349
9461
  * * Display Name: Install Log