@memberjunction/server 2.73.0 → 2.75.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.
@@ -98,7 +98,7 @@ __decorate([
98
98
  __metadata("design:type", String)
99
99
  ], ScheduledAction_.prototype, "Month", void 0);
100
100
  __decorate([
101
- Field({ nullable: true }),
101
+ Field({ nullable: true, description: `Field CustomCronExpression for entity Scheduled Actions.` }),
102
102
  MaxLength(510),
103
103
  __metadata("design:type", String)
104
104
  ], ScheduledAction_.prototype, "CustomCronExpression", void 0);
@@ -477,12 +477,12 @@ __decorate([
477
477
  __metadata("design:type", String)
478
478
  ], ScheduledActionParam_.prototype, "ActionParamID", void 0);
479
479
  __decorate([
480
- Field(),
480
+ Field({ description: `Field ValueType for entity Scheduled Action Params.` }),
481
481
  MaxLength(40),
482
482
  __metadata("design:type", String)
483
483
  ], ScheduledActionParam_.prototype, "ValueType", void 0);
484
484
  __decorate([
485
- Field({ nullable: true }),
485
+ Field({ nullable: true, description: `Field Value for entity Scheduled Action Params.` }),
486
486
  __metadata("design:type", String)
487
487
  ], ScheduledActionParam_.prototype, "Value", void 0);
488
488
  __decorate([
@@ -510,7 +510,7 @@ __decorate([
510
510
  __metadata("design:type", String)
511
511
  ], ScheduledActionParam_.prototype, "ActionParam", void 0);
512
512
  ScheduledActionParam_ = __decorate([
513
- ObjectType()
513
+ ObjectType({ description: `Stores parameter values for scheduled action executions, configuring inputs for automated action runs.` })
514
514
  ], ScheduledActionParam_);
515
515
  export { ScheduledActionParam_ };
516
516
  let CreateScheduledActionParamInput = class CreateScheduledActionParamInput {
@@ -1389,7 +1389,7 @@ __decorate([
1389
1389
  __metadata("design:type", String)
1390
1390
  ], AIAgentModel_.prototype, "ModelID", void 0);
1391
1391
  __decorate([
1392
- Field(() => Boolean, { nullable: true }),
1392
+ Field(() => Boolean, { nullable: true, description: `Indicates whether this specific agent-model combination is currently enabled for use in AI operations.` }),
1393
1393
  __metadata("design:type", Boolean)
1394
1394
  ], AIAgentModel_.prototype, "Active", void 0);
1395
1395
  __decorate([
@@ -1669,7 +1669,7 @@ __decorate([
1669
1669
  __metadata("design:type", Array)
1670
1670
  ], AIAgentNoteType_.prototype, "AIAgentNotes_AgentNoteTypeIDArray", void 0);
1671
1671
  AIAgentNoteType_ = __decorate([
1672
- ObjectType()
1672
+ ObjectType({ description: `Defines categories and types for AI agent notes, enabling classification and organization of agent-generated observations, recommendations, and learnings.` })
1673
1673
  ], AIAgentNoteType_);
1674
1674
  export { AIAgentNoteType_ };
1675
1675
  let CreateAIAgentNoteTypeInput = class CreateAIAgentNoteTypeInput {
@@ -3568,13 +3568,11 @@ __decorate([
3568
3568
  __metadata("design:type", Number)
3569
3569
  ], AIAgent_.prototype, "MaxExecutionsPerRun", void 0);
3570
3570
  __decorate([
3571
- Field({ nullable: true, description: `Optional JSON schema validation to apply to the input payload before agent execution begins. Uses the same JSONValidator
3572
- format as FinalPayloadValidation.` }),
3571
+ Field({ nullable: true, description: `Optional JSON schema validation to apply to the input payload before agent execution begins. Uses the same JSONValidator format as FinalPayloadValidation.` }),
3573
3572
  __metadata("design:type", String)
3574
3573
  ], AIAgent_.prototype, "StartingPayloadValidation", void 0);
3575
3574
  __decorate([
3576
- Field({ description: `Determines how to handle StartingPayloadValidation failures. Fail = reject invalid input, Warn = log warning but
3577
- proceed.` }),
3575
+ Field({ description: `Determines how to handle StartingPayloadValidation failures. Fail = reject invalid input, Warn = log warning but proceed.` }),
3578
3576
  MaxLength(50),
3579
3577
  __metadata("design:type", String)
3580
3578
  ], AIAgent_.prototype, "StartingPayloadValidationMode", void 0);
@@ -5447,7 +5445,7 @@ __decorate([
5447
5445
  __metadata("design:type", String)
5448
5446
  ], AIAgentNote_.prototype, "AgentNoteTypeID", void 0);
5449
5447
  __decorate([
5450
- Field({ nullable: true }),
5448
+ Field({ nullable: true, description: `The content of the note, observation, or learning captured by the AI agent during its execution.` }),
5451
5449
  __metadata("design:type", String)
5452
5450
  ], AIAgentNote_.prototype, "Note", void 0);
5453
5451
  __decorate([
@@ -5486,7 +5484,7 @@ __decorate([
5486
5484
  __metadata("design:type", String)
5487
5485
  ], AIAgentNote_.prototype, "User", void 0);
5488
5486
  AIAgentNote_ = __decorate([
5489
- ObjectType()
5487
+ ObjectType({ description: `Stores notes, observations, and learnings generated by AI agents during their operations, linked to specific agent runs and categorized by note type. Can be user-specific or general.` })
5490
5488
  ], AIAgentNote_);
5491
5489
  export { AIAgentNote_ };
5492
5490
  let CreateAIAgentNoteInput = class CreateAIAgentNoteInput {
@@ -8383,17 +8381,17 @@ __decorate([
8383
8381
  __metadata("design:type", String)
8384
8382
  ], Company_.prototype, "Description", void 0);
8385
8383
  __decorate([
8386
- Field({ nullable: true }),
8384
+ Field({ nullable: true, description: `The primary website URL for this company or division.` }),
8387
8385
  MaxLength(200),
8388
8386
  __metadata("design:type", String)
8389
8387
  ], Company_.prototype, "Website", void 0);
8390
8388
  __decorate([
8391
- Field({ nullable: true }),
8389
+ Field({ nullable: true, description: `URL pointing to the company's logo image, used for branding in the UI.` }),
8392
8390
  MaxLength(1000),
8393
8391
  __metadata("design:type", String)
8394
8392
  ], Company_.prototype, "LogoURL", void 0);
8395
8393
  __decorate([
8396
- Field({ nullable: true }),
8394
+ Field({ nullable: true, description: `The primary email domain associated with this company, used for employee email validation and SSO configuration.` }),
8397
8395
  MaxLength(510),
8398
8396
  __metadata("design:type", String)
8399
8397
  ], Company_.prototype, "Domain", void 0);
@@ -8742,17 +8740,17 @@ __decorate([
8742
8740
  __metadata("design:type", String)
8743
8741
  ], Employee_.prototype, "ID", void 0);
8744
8742
  __decorate([
8745
- Field(),
8743
+ Field({ description: `Business Central Management ID - unique identifier for cross-system employee tracking.` }),
8746
8744
  MaxLength(16),
8747
8745
  __metadata("design:type", String)
8748
8746
  ], Employee_.prototype, "BCMID", void 0);
8749
8747
  __decorate([
8750
- Field(),
8748
+ Field({ description: `Employee's first name or given name.` }),
8751
8749
  MaxLength(60),
8752
8750
  __metadata("design:type", String)
8753
8751
  ], Employee_.prototype, "FirstName", void 0);
8754
8752
  __decorate([
8755
- Field(),
8753
+ Field({ description: `Employee's last name or surname.` }),
8756
8754
  MaxLength(100),
8757
8755
  __metadata("design:type", String)
8758
8756
  ], Employee_.prototype, "LastName", void 0);
@@ -8767,22 +8765,22 @@ __decorate([
8767
8765
  __metadata("design:type", String)
8768
8766
  ], Employee_.prototype, "SupervisorID", void 0);
8769
8767
  __decorate([
8770
- Field({ nullable: true }),
8768
+ Field({ nullable: true, description: `Employee's job title or position within the organization.` }),
8771
8769
  MaxLength(100),
8772
8770
  __metadata("design:type", String)
8773
8771
  ], Employee_.prototype, "Title", void 0);
8774
8772
  __decorate([
8775
- Field(),
8773
+ Field({ description: `Employee's primary email address, must be unique across the system.` }),
8776
8774
  MaxLength(200),
8777
8775
  __metadata("design:type", String)
8778
8776
  ], Employee_.prototype, "Email", void 0);
8779
8777
  __decorate([
8780
- Field({ nullable: true }),
8778
+ Field({ nullable: true, description: `Employee's primary phone number for business contact.` }),
8781
8779
  MaxLength(40),
8782
8780
  __metadata("design:type", String)
8783
8781
  ], Employee_.prototype, "Phone", void 0);
8784
8782
  __decorate([
8785
- Field(() => Boolean),
8783
+ Field(() => Boolean, { description: `Indicates whether the employee is currently active in the organization.` }),
8786
8784
  __metadata("design:type", Boolean)
8787
8785
  ], Employee_.prototype, "Active", void 0);
8788
8786
  __decorate([
@@ -9224,7 +9222,7 @@ __decorate([
9224
9222
  __metadata("design:type", String)
9225
9223
  ], UserFavorite_.prototype, "EntityID", void 0);
9226
9224
  __decorate([
9227
- Field(),
9225
+ Field({ description: `The ID of the favorited record.` }),
9228
9226
  MaxLength(900),
9229
9227
  __metadata("design:type", String)
9230
9228
  ], UserFavorite_.prototype, "RecordID", void 0);
@@ -9485,12 +9483,12 @@ __decorate([
9485
9483
  __metadata("design:type", String)
9486
9484
  ], EmployeeCompanyIntegration_.prototype, "CompanyIntegrationID", void 0);
9487
9485
  __decorate([
9488
- Field(),
9486
+ Field({ description: `The employee's unique identifier in the external integrated system.` }),
9489
9487
  MaxLength(1500),
9490
9488
  __metadata("design:type", String)
9491
9489
  ], EmployeeCompanyIntegration_.prototype, "ExternalSystemRecordID", void 0);
9492
9490
  __decorate([
9493
- Field(() => Boolean),
9491
+ Field(() => Boolean, { description: `Indicates if this employee integration mapping is currently active.` }),
9494
9492
  __metadata("design:type", Boolean)
9495
9493
  ], EmployeeCompanyIntegration_.prototype, "IsActive", void 0);
9496
9494
  __decorate([
@@ -9509,7 +9507,7 @@ __decorate([
9509
9507
  __metadata("design:type", String)
9510
9508
  ], EmployeeCompanyIntegration_.prototype, "CompanyIntegration", void 0);
9511
9509
  EmployeeCompanyIntegration_ = __decorate([
9512
- ObjectType()
9510
+ ObjectType({ description: `Maps employees to their external identifiers in integrated systems, maintaining synchronization across platforms.` })
9513
9511
  ], EmployeeCompanyIntegration_);
9514
9512
  export { EmployeeCompanyIntegration_ };
9515
9513
  let CreateEmployeeCompanyIntegrationInput = class CreateEmployeeCompanyIntegrationInput {
@@ -9763,7 +9761,7 @@ __decorate([
9763
9761
  __metadata("design:type", String)
9764
9762
  ], EmployeeRole_.prototype, "Role", void 0);
9765
9763
  EmployeeRole_ = __decorate([
9766
- ObjectType()
9764
+ ObjectType({ description: `Links employees to their assigned roles within the organization, managing role-based permissions and responsibilities.` })
9767
9765
  ], EmployeeRole_);
9768
9766
  export { EmployeeRole_ };
9769
9767
  let CreateEmployeeRoleInput = class CreateEmployeeRoleInput {
@@ -9997,7 +9995,7 @@ __decorate([
9997
9995
  __metadata("design:type", String)
9998
9996
  ], EmployeeSkill_.prototype, "Skill", void 0);
9999
9997
  EmployeeSkill_ = __decorate([
10000
- ObjectType()
9998
+ ObjectType({ description: `Tracks skills, competencies, and certifications associated with employees for resource planning and team composition.` })
10001
9999
  ], EmployeeSkill_);
10002
10000
  export { EmployeeSkill_ };
10003
10001
  let CreateEmployeeSkillInput = class CreateEmployeeSkillInput {
@@ -11212,26 +11210,26 @@ __decorate([
11212
11210
  __metadata("design:type", String)
11213
11211
  ], Integration_.prototype, "Description", void 0);
11214
11212
  __decorate([
11215
- Field({ nullable: true }),
11213
+ Field({ nullable: true, description: `Base URL for navigating to records in the external system from MemberJunction.` }),
11216
11214
  MaxLength(1000),
11217
11215
  __metadata("design:type", String)
11218
11216
  ], Integration_.prototype, "NavigationBaseURL", void 0);
11219
11217
  __decorate([
11220
- Field({ nullable: true }),
11218
+ Field({ nullable: true, description: `The TypeScript/JavaScript class name implementing this integration.` }),
11221
11219
  MaxLength(200),
11222
11220
  __metadata("design:type", String)
11223
11221
  ], Integration_.prototype, "ClassName", void 0);
11224
11222
  __decorate([
11225
- Field({ nullable: true }),
11223
+ Field({ nullable: true, description: `Module import path for the integration class in the codebase.` }),
11226
11224
  MaxLength(200),
11227
11225
  __metadata("design:type", String)
11228
11226
  ], Integration_.prototype, "ImportPath", void 0);
11229
11227
  __decorate([
11230
- Field(() => Int),
11228
+ Field(() => Int, { description: `Maximum number of API requests to batch together, -1 for no limit.` }),
11231
11229
  __metadata("design:type", Number)
11232
11230
  ], Integration_.prototype, "BatchMaxRequestCount", void 0);
11233
11231
  __decorate([
11234
- Field(() => Int),
11232
+ Field(() => Int, { description: `Milliseconds to wait before sending a batch of requests, -1 to disable batching.` }),
11235
11233
  __metadata("design:type", Number)
11236
11234
  ], Integration_.prototype, "BatchRequestWaitTime", void 0);
11237
11235
  __decorate([
@@ -11619,50 +11617,50 @@ __decorate([
11619
11617
  __metadata("design:type", String)
11620
11618
  ], CompanyIntegration_.prototype, "IntegrationID", void 0);
11621
11619
  __decorate([
11622
- Field(() => Boolean, { nullable: true }),
11620
+ Field(() => Boolean, { nullable: true, description: `Controls whether this integration is currently active for the company.` }),
11623
11621
  __metadata("design:type", Boolean)
11624
11622
  ], CompanyIntegration_.prototype, "IsActive", void 0);
11625
11623
  __decorate([
11626
- Field({ nullable: true }),
11624
+ Field({ nullable: true, description: `OAuth access token for authenticating with the external system.` }),
11627
11625
  MaxLength(510),
11628
11626
  __metadata("design:type", String)
11629
11627
  ], CompanyIntegration_.prototype, "AccessToken", void 0);
11630
11628
  __decorate([
11631
- Field({ nullable: true }),
11629
+ Field({ nullable: true, description: `OAuth refresh token used to obtain new access tokens when they expire.` }),
11632
11630
  MaxLength(510),
11633
11631
  __metadata("design:type", String)
11634
11632
  ], CompanyIntegration_.prototype, "RefreshToken", void 0);
11635
11633
  __decorate([
11636
- Field({ nullable: true }),
11634
+ Field({ nullable: true, description: `Timestamp when the current access token expires and needs to be refreshed.` }),
11637
11635
  MaxLength(8),
11638
11636
  __metadata("design:type", Date)
11639
11637
  ], CompanyIntegration_.prototype, "TokenExpirationDate", void 0);
11640
11638
  __decorate([
11641
- Field({ nullable: true }),
11639
+ Field({ nullable: true, description: `API key for systems using key-based authentication instead of OAuth.` }),
11642
11640
  MaxLength(510),
11643
11641
  __metadata("design:type", String)
11644
11642
  ], CompanyIntegration_.prototype, "APIKey", void 0);
11645
11643
  __decorate([
11646
- Field({ nullable: true }),
11644
+ Field({ nullable: true, description: `The company's identifier in the external system, used for API calls.` }),
11647
11645
  MaxLength(200),
11648
11646
  __metadata("design:type", String)
11649
11647
  ], CompanyIntegration_.prototype, "ExternalSystemID", void 0);
11650
11648
  __decorate([
11651
- Field(() => Boolean),
11649
+ Field(() => Boolean, { description: `Indicates if data can only be read from the external system, not written back.` }),
11652
11650
  __metadata("design:type", Boolean)
11653
11651
  ], CompanyIntegration_.prototype, "IsExternalSystemReadOnly", void 0);
11654
11652
  __decorate([
11655
- Field({ nullable: true }),
11653
+ Field({ nullable: true, description: `OAuth client ID for this integration instance.` }),
11656
11654
  MaxLength(510),
11657
11655
  __metadata("design:type", String)
11658
11656
  ], CompanyIntegration_.prototype, "ClientID", void 0);
11659
11657
  __decorate([
11660
- Field({ nullable: true }),
11658
+ Field({ nullable: true, description: `OAuth client secret for authentication, should be encrypted at rest.` }),
11661
11659
  MaxLength(510),
11662
11660
  __metadata("design:type", String)
11663
11661
  ], CompanyIntegration_.prototype, "ClientSecret", void 0);
11664
11662
  __decorate([
11665
- Field({ nullable: true }),
11663
+ Field({ nullable: true, description: `Flexible field for storing integration-specific configuration or metadata.` }),
11666
11664
  MaxLength(510),
11667
11665
  __metadata("design:type", String)
11668
11666
  ], CompanyIntegration_.prototype, "CustomAttribute1", void 0);
@@ -12321,7 +12319,7 @@ __decorate([
12321
12319
  __metadata("design:type", Boolean)
12322
12320
  ], EntityField_.prototype, "IncludeRelatedEntityNameFieldInBaseView", void 0);
12323
12321
  __decorate([
12324
- Field({ nullable: true }),
12322
+ Field({ nullable: true, description: `For foreign key fields, maps which field in the related entity contains the display name. This is used by CodeGen to automatically add in virtual fields for the "Name Field" of the related entity.` }),
12325
12323
  MaxLength(510),
12326
12324
  __metadata("design:type", String)
12327
12325
  ], EntityField_.prototype, "RelatedEntityNameFieldMap", void 0);
@@ -13054,7 +13052,7 @@ __decorate([
13054
13052
  __metadata("design:type", String)
13055
13053
  ], Entity_.prototype, "Name", void 0);
13056
13054
  __decorate([
13057
- Field({ nullable: true }),
13055
+ Field({ nullable: true, description: `Optional suffix appended to entity names for display purposes.` }),
13058
13056
  MaxLength(510),
13059
13057
  __metadata("design:type", String)
13060
13058
  ], Entity_.prototype, "NameSuffix", void 0);
@@ -13067,12 +13065,12 @@ __decorate([
13067
13065
  __metadata("design:type", Boolean)
13068
13066
  ], Entity_.prototype, "AutoUpdateDescription", void 0);
13069
13067
  __decorate([
13070
- Field(),
13068
+ Field({ description: `The underlying database table name for this entity.` }),
13071
13069
  MaxLength(510),
13072
13070
  __metadata("design:type", String)
13073
13071
  ], Entity_.prototype, "BaseTable", void 0);
13074
13072
  __decorate([
13075
- Field(),
13073
+ Field({ description: `The "wrapper" database view used for querying this entity with joins and computed fields.` }),
13076
13074
  MaxLength(510),
13077
13075
  __metadata("design:type", String)
13078
13076
  ], Entity_.prototype, "BaseView", void 0);
@@ -13081,12 +13079,12 @@ __decorate([
13081
13079
  __metadata("design:type", Boolean)
13082
13080
  ], Entity_.prototype, "BaseViewGenerated", void 0);
13083
13081
  __decorate([
13084
- Field(),
13082
+ Field({ description: `Database schema containing this entity's table and view.` }),
13085
13083
  MaxLength(510),
13086
13084
  __metadata("design:type", String)
13087
13085
  ], Entity_.prototype, "SchemaName", void 0);
13088
13086
  __decorate([
13089
- Field(() => Boolean),
13087
+ Field(() => Boolean, { description: `Indicates if this is a virtual entity without a physical database table.` }),
13090
13088
  __metadata("design:type", Boolean)
13091
13089
  ], Entity_.prototype, "VirtualEntity", void 0);
13092
13090
  __decorate([
@@ -13130,65 +13128,65 @@ __decorate([
13130
13128
  __metadata("design:type", Boolean)
13131
13129
  ], Entity_.prototype, "AllowUserSearchAPI", void 0);
13132
13130
  __decorate([
13133
- Field(() => Boolean),
13131
+ Field(() => Boolean, { description: `Whether full-text search indexing is enabled for this entity.` }),
13134
13132
  __metadata("design:type", Boolean)
13135
13133
  ], Entity_.prototype, "FullTextSearchEnabled", void 0);
13136
13134
  __decorate([
13137
- Field({ nullable: true }),
13135
+ Field({ nullable: true, description: `Name of the SQL Server full-text catalog if search is enabled.` }),
13138
13136
  MaxLength(510),
13139
13137
  __metadata("design:type", String)
13140
13138
  ], Entity_.prototype, "FullTextCatalog", void 0);
13141
13139
  __decorate([
13142
- Field(() => Boolean),
13140
+ Field(() => Boolean, { description: `Indicates if the full-text catalog was auto-generated by CodeGen.` }),
13143
13141
  __metadata("design:type", Boolean)
13144
13142
  ], Entity_.prototype, "FullTextCatalogGenerated", void 0);
13145
13143
  __decorate([
13146
- Field({ nullable: true }),
13144
+ Field({ nullable: true, description: `Name of the full-text index on this entity's table.` }),
13147
13145
  MaxLength(510),
13148
13146
  __metadata("design:type", String)
13149
13147
  ], Entity_.prototype, "FullTextIndex", void 0);
13150
13148
  __decorate([
13151
- Field(() => Boolean),
13149
+ Field(() => Boolean, { description: `Indicates if the full-text index was auto-generated by CodeGen.` }),
13152
13150
  __metadata("design:type", Boolean)
13153
13151
  ], Entity_.prototype, "FullTextIndexGenerated", void 0);
13154
13152
  __decorate([
13155
- Field({ nullable: true }),
13153
+ Field({ nullable: true, description: `Name of the function used for full-text searching this entity.` }),
13156
13154
  MaxLength(510),
13157
13155
  __metadata("design:type", String)
13158
13156
  ], Entity_.prototype, "FullTextSearchFunction", void 0);
13159
13157
  __decorate([
13160
- Field(() => Boolean),
13158
+ Field(() => Boolean, { description: `Indicates if the search function was auto-generated by CodeGen.` }),
13161
13159
  __metadata("design:type", Boolean)
13162
13160
  ], Entity_.prototype, "FullTextSearchFunctionGenerated", void 0);
13163
13161
  __decorate([
13164
- Field(() => Int, { nullable: true }),
13162
+ Field(() => Int, { nullable: true, description: `Maximum number of rows to return in user-created views for this entity.` }),
13165
13163
  __metadata("design:type", Number)
13166
13164
  ], Entity_.prototype, "UserViewMaxRows", void 0);
13167
13165
  __decorate([
13168
- Field({ nullable: true }),
13166
+ Field({ nullable: true, description: `Name of the stored procedure for creating records in this entity.` }),
13169
13167
  MaxLength(510),
13170
13168
  __metadata("design:type", String)
13171
13169
  ], Entity_.prototype, "spCreate", void 0);
13172
13170
  __decorate([
13173
- Field({ nullable: true }),
13171
+ Field({ nullable: true, description: `Name of the stored procedure for updating records in this entity.` }),
13174
13172
  MaxLength(510),
13175
13173
  __metadata("design:type", String)
13176
13174
  ], Entity_.prototype, "spUpdate", void 0);
13177
13175
  __decorate([
13178
- Field({ nullable: true }),
13176
+ Field({ nullable: true, description: `Name of the stored procedure for deleting records in this entity.` }),
13179
13177
  MaxLength(510),
13180
13178
  __metadata("design:type", String)
13181
13179
  ], Entity_.prototype, "spDelete", void 0);
13182
13180
  __decorate([
13183
- Field(() => Boolean),
13181
+ Field(() => Boolean, { description: `Indicates if the create procedure was auto-generated by CodeGen.` }),
13184
13182
  __metadata("design:type", Boolean)
13185
13183
  ], Entity_.prototype, "spCreateGenerated", void 0);
13186
13184
  __decorate([
13187
- Field(() => Boolean),
13185
+ Field(() => Boolean, { description: `Indicates if the update procedure was auto-generated by CodeGen.` }),
13188
13186
  __metadata("design:type", Boolean)
13189
13187
  ], Entity_.prototype, "spUpdateGenerated", void 0);
13190
13188
  __decorate([
13191
- Field(() => Boolean),
13189
+ Field(() => Boolean, { description: `Indicates if the delete procedure was auto-generated by CodeGen.` }),
13192
13190
  __metadata("design:type", Boolean)
13193
13191
  ], Entity_.prototype, "spDeleteGenerated", void 0);
13194
13192
  __decorate([
@@ -13215,16 +13213,16 @@ __decorate([
13215
13213
  __metadata("design:type", String)
13216
13214
  ], Entity_.prototype, "RelationshipDefaultDisplayType", void 0);
13217
13215
  __decorate([
13218
- Field(() => Boolean),
13216
+ Field(() => Boolean, { description: `Indicates if the default user form was auto-generated for this entity.` }),
13219
13217
  __metadata("design:type", Boolean)
13220
13218
  ], Entity_.prototype, "UserFormGenerated", void 0);
13221
13219
  __decorate([
13222
- Field({ nullable: true }),
13220
+ Field({ nullable: true, description: `TypeScript class name for the entity subclass in the codebase.` }),
13223
13221
  MaxLength(510),
13224
13222
  __metadata("design:type", String)
13225
13223
  ], Entity_.prototype, "EntityObjectSubclassName", void 0);
13226
13224
  __decorate([
13227
- Field({ nullable: true }),
13225
+ Field({ nullable: true, description: `Import path for the entity subclass in the TypeScript codebase.` }),
13228
13226
  MaxLength(510),
13229
13227
  __metadata("design:type", String)
13230
13228
  ], Entity_.prototype, "EntityObjectSubclassImport", void 0);
@@ -14870,17 +14868,17 @@ __decorate([
14870
14868
  __metadata("design:type", String)
14871
14869
  ], User_.prototype, "Name", void 0);
14872
14870
  __decorate([
14873
- Field({ nullable: true }),
14871
+ Field({ nullable: true, description: `User's first name or given name.` }),
14874
14872
  MaxLength(100),
14875
14873
  __metadata("design:type", String)
14876
14874
  ], User_.prototype, "FirstName", void 0);
14877
14875
  __decorate([
14878
- Field({ nullable: true }),
14876
+ Field({ nullable: true, description: `User's last name or surname.` }),
14879
14877
  MaxLength(100),
14880
14878
  __metadata("design:type", String)
14881
14879
  ], User_.prototype, "LastName", void 0);
14882
14880
  __decorate([
14883
- Field({ nullable: true }),
14881
+ Field({ nullable: true, description: `User's professional title or salutation.` }),
14884
14882
  MaxLength(100),
14885
14883
  __metadata("design:type", String)
14886
14884
  ], User_.prototype, "Title", void 0);
@@ -14890,16 +14888,16 @@ __decorate([
14890
14888
  __metadata("design:type", String)
14891
14889
  ], User_.prototype, "Email", void 0);
14892
14890
  __decorate([
14893
- Field(),
14891
+ Field({ description: `User account type (User, Guest, System, API).` }),
14894
14892
  MaxLength(30),
14895
14893
  __metadata("design:type", String)
14896
14894
  ], User_.prototype, "Type", void 0);
14897
14895
  __decorate([
14898
- Field(() => Boolean),
14896
+ Field(() => Boolean, { description: `Whether this user account is currently active and can log in.` }),
14899
14897
  __metadata("design:type", Boolean)
14900
14898
  ], User_.prototype, "IsActive", void 0);
14901
14899
  __decorate([
14902
- Field(),
14900
+ Field({ description: `Type of record this user is linked to (None, Employee, Contact, etc.).` }),
14903
14901
  MaxLength(20),
14904
14902
  __metadata("design:type", String)
14905
14903
  ], User_.prototype, "LinkedRecordType", void 0);
@@ -14909,7 +14907,7 @@ __decorate([
14909
14907
  __metadata("design:type", String)
14910
14908
  ], User_.prototype, "LinkedEntityID", void 0);
14911
14909
  __decorate([
14912
- Field({ nullable: true }),
14910
+ Field({ nullable: true, description: `ID of the specific record this user is linked to.` }),
14913
14911
  MaxLength(900),
14914
14912
  __metadata("design:type", String)
14915
14913
  ], User_.prototype, "LinkedEntityRecordID", void 0);
@@ -16197,40 +16195,40 @@ __decorate([
16197
16195
  __metadata("design:type", String)
16198
16196
  ], EntityRelationship_.prototype, "RelatedEntityID", void 0);
16199
16197
  __decorate([
16200
- Field(() => Boolean),
16198
+ Field(() => Boolean, { description: `Whether to include related records when fetching the parent entity via API.` }),
16201
16199
  __metadata("design:type", Boolean)
16202
16200
  ], EntityRelationship_.prototype, "BundleInAPI", void 0);
16203
16201
  __decorate([
16204
- Field(() => Boolean),
16202
+ Field(() => Boolean, { description: `Whether to include this relationship when querying all fields of the parent entity.` }),
16205
16203
  __metadata("design:type", Boolean)
16206
16204
  ], EntityRelationship_.prototype, "IncludeInParentAllQuery", void 0);
16207
16205
  __decorate([
16208
- Field(),
16206
+ Field({ description: `The cardinality of the relationship (One To Many, Many To Many, One To One).` }),
16209
16207
  MaxLength(40),
16210
16208
  __metadata("design:type", String)
16211
16209
  ], EntityRelationship_.prototype, "Type", void 0);
16212
16210
  __decorate([
16213
- Field({ nullable: true }),
16211
+ Field({ nullable: true, description: `The primary key field of the parent entity in this relationship.` }),
16214
16212
  MaxLength(510),
16215
16213
  __metadata("design:type", String)
16216
16214
  ], EntityRelationship_.prototype, "EntityKeyField", void 0);
16217
16215
  __decorate([
16218
- Field(),
16216
+ Field({ description: `The foreign key field in the related entity that references the parent.` }),
16219
16217
  MaxLength(510),
16220
16218
  __metadata("design:type", String)
16221
16219
  ], EntityRelationship_.prototype, "RelatedEntityJoinField", void 0);
16222
16220
  __decorate([
16223
- Field({ nullable: true }),
16221
+ Field({ nullable: true, description: `For many-to-many relationships, the view containing the junction data.` }),
16224
16222
  MaxLength(510),
16225
16223
  __metadata("design:type", String)
16226
16224
  ], EntityRelationship_.prototype, "JoinView", void 0);
16227
16225
  __decorate([
16228
- Field({ nullable: true }),
16226
+ Field({ nullable: true, description: `For many-to-many, the field in the junction table linking to the parent entity.` }),
16229
16227
  MaxLength(510),
16230
16228
  __metadata("design:type", String)
16231
16229
  ], EntityRelationship_.prototype, "JoinEntityJoinField", void 0);
16232
16230
  __decorate([
16233
- Field({ nullable: true }),
16231
+ Field({ nullable: true, description: `For many-to-many, the field in the junction table linking to the related entity.` }),
16234
16232
  MaxLength(510),
16235
16233
  __metadata("design:type", String)
16236
16234
  ], EntityRelationship_.prototype, "JoinEntityInverseJoinField", void 0);
@@ -16239,7 +16237,7 @@ __decorate([
16239
16237
  __metadata("design:type", Boolean)
16240
16238
  ], EntityRelationship_.prototype, "DisplayInForm", void 0);
16241
16239
  __decorate([
16242
- Field(),
16240
+ Field({ description: `Where to display this relationship in the UI relative to other entity elements.` }),
16243
16241
  MaxLength(100),
16244
16242
  __metadata("design:type", String)
16245
16243
  ], EntityRelationship_.prototype, "DisplayLocation", void 0);
@@ -16748,22 +16746,22 @@ __decorate([
16748
16746
  __metadata("design:type", String)
16749
16747
  ], UserRecordLog_.prototype, "EntityID", void 0);
16750
16748
  __decorate([
16751
- Field(),
16749
+ Field({ description: `The ID of the accessed record.` }),
16752
16750
  MaxLength(900),
16753
16751
  __metadata("design:type", String)
16754
16752
  ], UserRecordLog_.prototype, "RecordID", void 0);
16755
16753
  __decorate([
16756
- Field(),
16754
+ Field({ description: `Field EarliestAt for entity User Record Logs.` }),
16757
16755
  MaxLength(8),
16758
16756
  __metadata("design:type", Date)
16759
16757
  ], UserRecordLog_.prototype, "EarliestAt", void 0);
16760
16758
  __decorate([
16761
- Field(),
16759
+ Field({ description: `Field LatestAt for entity User Record Logs.` }),
16762
16760
  MaxLength(8),
16763
16761
  __metadata("design:type", Date)
16764
16762
  ], UserRecordLog_.prototype, "LatestAt", void 0);
16765
16763
  __decorate([
16766
- Field(() => Int),
16764
+ Field(() => Int, { description: `Field TotalCount for entity User Record Logs.` }),
16767
16765
  __metadata("design:type", Number)
16768
16766
  ], UserRecordLog_.prototype, "TotalCount", void 0);
16769
16767
  __decorate([
@@ -16807,7 +16805,7 @@ __decorate([
16807
16805
  __metadata("design:type", String)
16808
16806
  ], UserRecordLog_.prototype, "UserSupervisorEmail", void 0);
16809
16807
  UserRecordLog_ = __decorate([
16810
- ObjectType()
16808
+ ObjectType({ description: `Tracks user interactions with specific records, maintaining an audit trail of views or other operations. Changes are managed separately in the Record Changes entity.` })
16811
16809
  ], UserRecordLog_);
16812
16810
  export { UserRecordLog_ };
16813
16811
  let CreateUserRecordLogInput = class CreateUserRecordLogInput {
@@ -17104,51 +17102,51 @@ __decorate([
17104
17102
  __metadata("design:type", String)
17105
17103
  ], UserView_.prototype, "CategoryID", void 0);
17106
17104
  __decorate([
17107
- Field(() => Boolean),
17105
+ Field(() => Boolean, { description: `Whether this view is shared with other users.` }),
17108
17106
  __metadata("design:type", Boolean)
17109
17107
  ], UserView_.prototype, "IsShared", void 0);
17110
17108
  __decorate([
17111
- Field(() => Boolean),
17109
+ Field(() => Boolean, { description: `Whether this is the user's default view for the entity.` }),
17112
17110
  __metadata("design:type", Boolean)
17113
17111
  ], UserView_.prototype, "IsDefault", void 0);
17114
17112
  __decorate([
17115
- Field({ nullable: true }),
17113
+ Field({ nullable: true, description: `JSON storing complete grid configuration including columns, widths, and formatting.` }),
17116
17114
  __metadata("design:type", String)
17117
17115
  ], UserView_.prototype, "GridState", void 0);
17118
17116
  __decorate([
17119
- Field({ nullable: true }),
17117
+ Field({ nullable: true, description: `JSON storing the view's filter configuration.` }),
17120
17118
  __metadata("design:type", String)
17121
17119
  ], UserView_.prototype, "FilterState", void 0);
17122
17120
  __decorate([
17123
- Field(() => Boolean),
17121
+ Field(() => Boolean, { description: `Indicates if custom filters beyond standard options are applied.` }),
17124
17122
  __metadata("design:type", Boolean)
17125
17123
  ], UserView_.prototype, "CustomFilterState", void 0);
17126
17124
  __decorate([
17127
- Field(() => Boolean),
17125
+ Field(() => Boolean, { description: `Whether AI-powered smart filtering is enabled for this view.` }),
17128
17126
  __metadata("design:type", Boolean)
17129
17127
  ], UserView_.prototype, "SmartFilterEnabled", void 0);
17130
17128
  __decorate([
17131
- Field({ nullable: true }),
17129
+ Field({ nullable: true, description: `Natural language prompt for AI-powered filtering.` }),
17132
17130
  __metadata("design:type", String)
17133
17131
  ], UserView_.prototype, "SmartFilterPrompt", void 0);
17134
17132
  __decorate([
17135
- Field({ nullable: true }),
17133
+ Field({ nullable: true, description: `Generated WHERE clause from smart filter processing.` }),
17136
17134
  __metadata("design:type", String)
17137
17135
  ], UserView_.prototype, "SmartFilterWhereClause", void 0);
17138
17136
  __decorate([
17139
- Field({ nullable: true }),
17137
+ Field({ nullable: true, description: `AI-generated explanation of what the smart filter does.` }),
17140
17138
  __metadata("design:type", String)
17141
17139
  ], UserView_.prototype, "SmartFilterExplanation", void 0);
17142
17140
  __decorate([
17143
- Field({ nullable: true }),
17141
+ Field({ nullable: true, description: `Direct SQL WHERE clause for the view filter.` }),
17144
17142
  __metadata("design:type", String)
17145
17143
  ], UserView_.prototype, "WhereClause", void 0);
17146
17144
  __decorate([
17147
- Field(() => Boolean),
17145
+ Field(() => Boolean, { description: `Indicates if a custom WHERE clause is used instead of standard filters.` }),
17148
17146
  __metadata("design:type", Boolean)
17149
17147
  ], UserView_.prototype, "CustomWhereClause", void 0);
17150
17148
  __decorate([
17151
- Field({ nullable: true }),
17149
+ Field({ nullable: true, description: `JSON storing the view's sort configuration.` }),
17152
17150
  __metadata("design:type", String)
17153
17151
  ], UserView_.prototype, "SortState", void 0);
17154
17152
  __decorate([
@@ -17676,7 +17674,7 @@ __decorate([
17676
17674
  __metadata("design:type", Date)
17677
17675
  ], CompanyIntegrationRun_.prototype, "EndedAt", void 0);
17678
17676
  __decorate([
17679
- Field(() => Int),
17677
+ Field(() => Int, { description: `The total number of records processed during this integration run.` }),
17680
17678
  __metadata("design:type", Number)
17681
17679
  ], CompanyIntegrationRun_.prototype, "TotalRecords", void 0);
17682
17680
  __decorate([
@@ -17734,7 +17732,7 @@ __decorate([
17734
17732
  __metadata("design:type", Array)
17735
17733
  ], CompanyIntegrationRun_.prototype, "CompanyIntegrationRunAPILogs_CompanyIntegrationRunIDArray", void 0);
17736
17734
  CompanyIntegrationRun_ = __decorate([
17737
- ObjectType()
17735
+ ObjectType({ description: `Records execution history of company integrations, including start/end times, overall status, and aggregate statistics for monitoring and troubleshooting.` })
17738
17736
  ], CompanyIntegrationRun_);
17739
17737
  export { CompanyIntegrationRun_ };
17740
17738
  let CreateCompanyIntegrationRunInput = class CreateCompanyIntegrationRunInput {
@@ -18081,22 +18079,22 @@ __decorate([
18081
18079
  __metadata("design:type", String)
18082
18080
  ], CompanyIntegrationRunDetail_.prototype, "EntityID", void 0);
18083
18081
  __decorate([
18084
- Field(),
18082
+ Field({ description: `The ID of the specific record being processed in this integration operation.` }),
18085
18083
  MaxLength(900),
18086
18084
  __metadata("design:type", String)
18087
18085
  ], CompanyIntegrationRunDetail_.prototype, "RecordID", void 0);
18088
18086
  __decorate([
18089
- Field(),
18087
+ Field({ description: `The type of operation performed (INSERT, UPDATE, DELETE, SYNC).` }),
18090
18088
  MaxLength(40),
18091
18089
  __metadata("design:type", String)
18092
18090
  ], CompanyIntegrationRunDetail_.prototype, "Action", void 0);
18093
18091
  __decorate([
18094
- Field(),
18092
+ Field({ description: `Timestamp when this specific record operation was executed.` }),
18095
18093
  MaxLength(8),
18096
18094
  __metadata("design:type", Date)
18097
18095
  ], CompanyIntegrationRunDetail_.prototype, "ExecutedAt", void 0);
18098
18096
  __decorate([
18099
- Field(() => Boolean),
18097
+ Field(() => Boolean, { description: `Indicates whether this individual record operation succeeded or failed.` }),
18100
18098
  __metadata("design:type", Boolean)
18101
18099
  ], CompanyIntegrationRunDetail_.prototype, "IsSuccess", void 0);
18102
18100
  __decorate([
@@ -18129,7 +18127,7 @@ __decorate([
18129
18127
  __metadata("design:type", Array)
18130
18128
  ], CompanyIntegrationRunDetail_.prototype, "ErrorLogs_CompanyIntegrationRunDetailIDArray", void 0);
18131
18129
  CompanyIntegrationRunDetail_ = __decorate([
18132
- ObjectType()
18130
+ ObjectType({ description: `Tracks individual record-level operations within an integration run, including success/failure status and error details for each processed item.` })
18133
18131
  ], CompanyIntegrationRunDetail_);
18134
18132
  export { CompanyIntegrationRunDetail_ };
18135
18133
  let CreateCompanyIntegrationRunDetailInput = class CreateCompanyIntegrationRunDetailInput {
@@ -18410,16 +18408,16 @@ __decorate([
18410
18408
  __metadata("design:type", String)
18411
18409
  ], ErrorLog_.prototype, "CompanyIntegrationRunDetailID", void 0);
18412
18410
  __decorate([
18413
- Field({ nullable: true }),
18411
+ Field({ nullable: true, description: `Error code for categorizing and handling specific error types.` }),
18414
18412
  MaxLength(40),
18415
18413
  __metadata("design:type", String)
18416
18414
  ], ErrorLog_.prototype, "Code", void 0);
18417
18415
  __decorate([
18418
- Field({ nullable: true }),
18416
+ Field({ nullable: true, description: `The primary error message describing what went wrong.` }),
18419
18417
  __metadata("design:type", String)
18420
18418
  ], ErrorLog_.prototype, "Message", void 0);
18421
18419
  __decorate([
18422
- Field({ nullable: true }),
18420
+ Field({ nullable: true, description: `User or system process that encountered this error.` }),
18423
18421
  MaxLength(100),
18424
18422
  __metadata("design:type", String)
18425
18423
  ], ErrorLog_.prototype, "CreatedBy", void 0);
@@ -18429,12 +18427,12 @@ __decorate([
18429
18427
  __metadata("design:type", String)
18430
18428
  ], ErrorLog_.prototype, "Status", void 0);
18431
18429
  __decorate([
18432
- Field({ nullable: true }),
18430
+ Field({ nullable: true, description: `High-level category for grouping related errors (Database, API, Validation, etc.).` }),
18433
18431
  MaxLength(40),
18434
18432
  __metadata("design:type", String)
18435
18433
  ], ErrorLog_.prototype, "Category", void 0);
18436
18434
  __decorate([
18437
- Field({ nullable: true }),
18435
+ Field({ nullable: true, description: `Full error details including stack trace, inner exceptions, and context data.` }),
18438
18436
  __metadata("design:type", String)
18439
18437
  ], ErrorLog_.prototype, "Details", void 0);
18440
18438
  __decorate([
@@ -18448,7 +18446,7 @@ __decorate([
18448
18446
  __metadata("design:type", Date)
18449
18447
  ], ErrorLog_.prototype, "_mj__UpdatedAt", void 0);
18450
18448
  ErrorLog_ = __decorate([
18451
- ObjectType()
18449
+ ObjectType({ description: `Captures system errors, exceptions, and failures with stack traces, context, and debugging info.` })
18452
18450
  ], ErrorLog_);
18453
18451
  export { ErrorLog_ };
18454
18452
  let CreateErrorLogInput = class CreateErrorLogInput {
@@ -19133,7 +19131,7 @@ __decorate([
19133
19131
  __metadata("design:type", String)
19134
19132
  ], ApplicationEntity_.prototype, "EntityID", void 0);
19135
19133
  __decorate([
19136
- Field(() => Int),
19134
+ Field(() => Int, { description: `Display order of this entity within the application, lower numbers appear first in navigation and menus.` }),
19137
19135
  __metadata("design:type", Number)
19138
19136
  ], ApplicationEntity_.prototype, "Sequence", void 0);
19139
19137
  __decorate([
@@ -19431,19 +19429,19 @@ __decorate([
19431
19429
  __metadata("design:type", String)
19432
19430
  ], EntityPermission_.prototype, "RoleID", void 0);
19433
19431
  __decorate([
19434
- Field(() => Boolean),
19432
+ Field(() => Boolean, { description: `Whether the role/user can create new records in this entity.` }),
19435
19433
  __metadata("design:type", Boolean)
19436
19434
  ], EntityPermission_.prototype, "CanCreate", void 0);
19437
19435
  __decorate([
19438
- Field(() => Boolean),
19436
+ Field(() => Boolean, { description: `Whether the role/user can read/view records in this entity.` }),
19439
19437
  __metadata("design:type", Boolean)
19440
19438
  ], EntityPermission_.prototype, "CanRead", void 0);
19441
19439
  __decorate([
19442
- Field(() => Boolean),
19440
+ Field(() => Boolean, { description: `Whether the role/user can update existing records in this entity.` }),
19443
19441
  __metadata("design:type", Boolean)
19444
19442
  ], EntityPermission_.prototype, "CanUpdate", void 0);
19445
19443
  __decorate([
19446
- Field(() => Boolean),
19444
+ Field(() => Boolean, { description: `Whether the role/user can delete records from this entity.` }),
19447
19445
  __metadata("design:type", Boolean)
19448
19446
  ], EntityPermission_.prototype, "CanDelete", void 0);
19449
19447
  __decorate([
@@ -19830,7 +19828,7 @@ __decorate([
19830
19828
  __metadata("design:type", String)
19831
19829
  ], UserApplicationEntity_.prototype, "EntityID", void 0);
19832
19830
  __decorate([
19833
- Field(() => Int),
19831
+ Field(() => Int, { description: `Display order of this entity for the user within the application.` }),
19834
19832
  __metadata("design:type", Number)
19835
19833
  ], UserApplicationEntity_.prototype, "Sequence", void 0);
19836
19834
  __decorate([
@@ -19859,7 +19857,7 @@ __decorate([
19859
19857
  __metadata("design:type", String)
19860
19858
  ], UserApplicationEntity_.prototype, "Entity", void 0);
19861
19859
  UserApplicationEntity_ = __decorate([
19862
- ObjectType()
19860
+ ObjectType({ description: `Links users to specific entities within applications, managing entity-level personalization.` })
19863
19861
  ], UserApplicationEntity_);
19864
19862
  export { UserApplicationEntity_ };
19865
19863
  let CreateUserApplicationEntityInput = class CreateUserApplicationEntityInput {
@@ -20092,11 +20090,11 @@ __decorate([
20092
20090
  __metadata("design:type", String)
20093
20091
  ], UserApplication_.prototype, "ApplicationID", void 0);
20094
20092
  __decorate([
20095
- Field(() => Int),
20093
+ Field(() => Int, { description: `Display order of this application in the user's navigation.` }),
20096
20094
  __metadata("design:type", Number)
20097
20095
  ], UserApplication_.prototype, "Sequence", void 0);
20098
20096
  __decorate([
20099
- Field(() => Boolean),
20097
+ Field(() => Boolean, { description: `Whether this application is currently visible to the user.` }),
20100
20098
  __metadata("design:type", Boolean)
20101
20099
  ], UserApplication_.prototype, "IsActive", void 0);
20102
20100
  __decorate([
@@ -20124,7 +20122,7 @@ __decorate([
20124
20122
  __metadata("design:type", Array)
20125
20123
  ], UserApplication_.prototype, "UserApplicationEntities_UserApplicationIDArray", void 0);
20126
20124
  UserApplication_ = __decorate([
20127
- ObjectType()
20125
+ ObjectType({ description: `Tracks which applications users have configured to display.` })
20128
20126
  ], UserApplication_);
20129
20127
  export { UserApplication_ };
20130
20128
  let CreateUserApplicationInput = class CreateUserApplicationInput {
@@ -20378,25 +20376,25 @@ __decorate([
20378
20376
  __metadata("design:type", String)
20379
20377
  ], CompanyIntegrationRunAPILog_.prototype, "CompanyIntegrationRunID", void 0);
20380
20378
  __decorate([
20381
- Field(),
20379
+ Field({ description: `Timestamp when this API call was executed during the integration run.` }),
20382
20380
  MaxLength(8),
20383
20381
  __metadata("design:type", Date)
20384
20382
  ], CompanyIntegrationRunAPILog_.prototype, "ExecutedAt", void 0);
20385
20383
  __decorate([
20386
- Field(() => Boolean),
20384
+ Field(() => Boolean, { description: `Indicates whether the API call completed successfully or encountered an error.` }),
20387
20385
  __metadata("design:type", Boolean)
20388
20386
  ], CompanyIntegrationRunAPILog_.prototype, "IsSuccess", void 0);
20389
20387
  __decorate([
20390
- Field({ nullable: true }),
20388
+ Field({ nullable: true, description: `HTTP method used for the API call (GET, POST, PUT, DELETE, PATCH).` }),
20391
20389
  MaxLength(24),
20392
20390
  __metadata("design:type", String)
20393
20391
  ], CompanyIntegrationRunAPILog_.prototype, "RequestMethod", void 0);
20394
20392
  __decorate([
20395
- Field({ nullable: true }),
20393
+ Field({ nullable: true, description: `The complete URL that was called, including query parameters.` }),
20396
20394
  __metadata("design:type", String)
20397
20395
  ], CompanyIntegrationRunAPILog_.prototype, "URL", void 0);
20398
20396
  __decorate([
20399
- Field({ nullable: true }),
20397
+ Field({ nullable: true, description: `JSON-formatted request body or parameters sent with the API call.` }),
20400
20398
  __metadata("design:type", String)
20401
20399
  ], CompanyIntegrationRunAPILog_.prototype, "Parameters", void 0);
20402
20400
  __decorate([
@@ -20410,7 +20408,7 @@ __decorate([
20410
20408
  __metadata("design:type", Date)
20411
20409
  ], CompanyIntegrationRunAPILog_.prototype, "_mj__UpdatedAt", void 0);
20412
20410
  CompanyIntegrationRunAPILog_ = __decorate([
20413
- ObjectType()
20411
+ ObjectType({ description: `Logs detailed API calls and responses during integration runs, including request/response payloads, status codes, and timing information.` })
20414
20412
  ], CompanyIntegrationRunAPILog_);
20415
20413
  export { CompanyIntegrationRunAPILog_ };
20416
20414
  let CreateCompanyIntegrationRunAPILogInput = class CreateCompanyIntegrationRunAPILogInput {
@@ -20693,7 +20691,7 @@ __decorate([
20693
20691
  __metadata("design:type", String)
20694
20692
  ], List_.prototype, "CategoryID", void 0);
20695
20693
  __decorate([
20696
- Field({ nullable: true }),
20694
+ Field({ nullable: true, description: `Identifier for this list in an external system, used for synchronization.` }),
20697
20695
  MaxLength(200),
20698
20696
  __metadata("design:type", String)
20699
20697
  ], List_.prototype, "ExternalSystemRecordID", void 0);
@@ -21042,12 +21040,12 @@ __decorate([
21042
21040
  __metadata("design:type", String)
21043
21041
  ], ListDetail_.prototype, "ListID", void 0);
21044
21042
  __decorate([
21045
- Field(),
21043
+ Field({ description: `The ID of the record included in this list.` }),
21046
21044
  MaxLength(890),
21047
21045
  __metadata("design:type", String)
21048
21046
  ], ListDetail_.prototype, "RecordID", void 0);
21049
21047
  __decorate([
21050
- Field(() => Int),
21048
+ Field(() => Int, { description: `Order of this record within the list, for maintaining user-defined sorting.` }),
21051
21049
  __metadata("design:type", Number)
21052
21050
  ], ListDetail_.prototype, "Sequence", void 0);
21053
21051
  __decorate([
@@ -21322,7 +21320,7 @@ __decorate([
21322
21320
  __metadata("design:type", String)
21323
21321
  ], UserViewRun_.prototype, "UserViewID", void 0);
21324
21322
  __decorate([
21325
- Field(),
21323
+ Field({ description: `Timestamp when the view was executed.` }),
21326
21324
  MaxLength(8),
21327
21325
  __metadata("design:type", Date)
21328
21326
  ], UserViewRun_.prototype, "RunAt", void 0);
@@ -21598,7 +21596,7 @@ __decorate([
21598
21596
  __metadata("design:type", String)
21599
21597
  ], UserViewRunDetail_.prototype, "UserViewRunID", void 0);
21600
21598
  __decorate([
21601
- Field(),
21599
+ Field({ description: `Field RecordID for entity User View Run Details.` }),
21602
21600
  MaxLength(900),
21603
21601
  __metadata("design:type", String)
21604
21602
  ], UserViewRunDetail_.prototype, "RecordID", void 0);
@@ -21842,7 +21840,7 @@ __decorate([
21842
21840
  __metadata("design:type", String)
21843
21841
  ], WorkflowRun_.prototype, "WorkflowID", void 0);
21844
21842
  __decorate([
21845
- Field(),
21843
+ Field({ description: `Field ExternalSystemRecordID for entity Workflow Runs.` }),
21846
21844
  MaxLength(1000),
21847
21845
  __metadata("design:type", String)
21848
21846
  ], WorkflowRun_.prototype, "ExternalSystemRecordID", void 0);
@@ -21862,7 +21860,7 @@ __decorate([
21862
21860
  __metadata("design:type", String)
21863
21861
  ], WorkflowRun_.prototype, "Status", void 0);
21864
21862
  __decorate([
21865
- Field({ nullable: true }),
21863
+ Field({ nullable: true, description: `JSON-formatted detailed results from the workflow execution, including outputs from each step and any error information.` }),
21866
21864
  __metadata("design:type", String)
21867
21865
  ], WorkflowRun_.prototype, "Results", void 0);
21868
21866
  __decorate([
@@ -21886,7 +21884,7 @@ __decorate([
21886
21884
  __metadata("design:type", String)
21887
21885
  ], WorkflowRun_.prototype, "WorkflowEngineName", void 0);
21888
21886
  WorkflowRun_ = __decorate([
21889
- ObjectType()
21887
+ ObjectType({ description: `Tracks execution instances of workflows including status, timing, context data, and detailed step-by-step results.` })
21890
21888
  ], WorkflowRun_);
21891
21889
  export { WorkflowRun_ };
21892
21890
  let CreateWorkflowRunInput = class CreateWorkflowRunInput {
@@ -22157,7 +22155,7 @@ __decorate([
22157
22155
  __metadata("design:type", String)
22158
22156
  ], Workflow_.prototype, "WorkflowEngineID", void 0);
22159
22157
  __decorate([
22160
- Field(),
22158
+ Field({ description: `The unique identifier of this workflow in an external system, used for synchronization with external workflow engines.` }),
22161
22159
  MaxLength(200),
22162
22160
  __metadata("design:type", String)
22163
22161
  ], Workflow_.prototype, "ExternalSystemRecordID", void 0);
@@ -22202,7 +22200,7 @@ __decorate([
22202
22200
  __metadata("design:type", Array)
22203
22201
  ], Workflow_.prototype, "WorkflowRuns_WorkflowNameArray", void 0);
22204
22202
  Workflow_ = __decorate([
22205
- ObjectType()
22203
+ ObjectType({ description: `Defines automated workflows with steps, conditions, and actions for orchestrating complex business processes.` })
22206
22204
  ], Workflow_);
22207
22205
  export { Workflow_ };
22208
22206
  let CreateWorkflowInput = class CreateWorkflowInput {
@@ -22516,12 +22514,12 @@ __decorate([
22516
22514
  __metadata("design:type", String)
22517
22515
  ], WorkflowEngine_.prototype, "Description", void 0);
22518
22516
  __decorate([
22519
- Field(),
22517
+ Field({ description: `Import path for the workflow engine driver.` }),
22520
22518
  MaxLength(1000),
22521
22519
  __metadata("design:type", String)
22522
22520
  ], WorkflowEngine_.prototype, "DriverPath", void 0);
22523
22521
  __decorate([
22524
- Field(),
22522
+ Field({ description: `Class name implementing the workflow engine interface.` }),
22525
22523
  MaxLength(200),
22526
22524
  __metadata("design:type", String)
22527
22525
  ], WorkflowEngine_.prototype, "DriverClass", void 0);
@@ -22540,7 +22538,7 @@ __decorate([
22540
22538
  __metadata("design:type", Array)
22541
22539
  ], WorkflowEngine_.prototype, "Workflows_WorkflowEngineNameArray", void 0);
22542
22540
  WorkflowEngine_ = __decorate([
22543
- ObjectType()
22541
+ ObjectType({ description: `Registers available workflow execution engines with their capabilities, configuration, and supported workflow types.` })
22544
22542
  ], WorkflowEngine_);
22545
22543
  export { WorkflowEngine_ };
22546
22544
  let CreateWorkflowEngineInput = class CreateWorkflowEngineInput {
@@ -22805,7 +22803,7 @@ __decorate([
22805
22803
  __metadata("design:type", String)
22806
22804
  ], RecordChange_.prototype, "EntityID", void 0);
22807
22805
  __decorate([
22808
- Field(),
22806
+ Field({ description: `Field RecordID for entity Record Changes.` }),
22809
22807
  MaxLength(1500),
22810
22808
  __metadata("design:type", String)
22811
22809
  ], RecordChange_.prototype, "RecordID", void 0);
@@ -22847,7 +22845,7 @@ __decorate([
22847
22845
  __metadata("design:type", String)
22848
22846
  ], RecordChange_.prototype, "Status", void 0);
22849
22847
  __decorate([
22850
- Field({ nullable: true }),
22848
+ Field({ nullable: true, description: `Field ErrorLog for entity Record Changes.` }),
22851
22849
  __metadata("design:type", String)
22852
22850
  ], RecordChange_.prototype, "ErrorLog", void 0);
22853
22851
  __decorate([
@@ -22865,12 +22863,12 @@ __decorate([
22865
22863
  __metadata("design:type", String)
22866
22864
  ], RecordChange_.prototype, "Comments", void 0);
22867
22865
  __decorate([
22868
- Field(),
22866
+ Field({ description: `Field CreatedAt for entity Record Changes.` }),
22869
22867
  MaxLength(10),
22870
22868
  __metadata("design:type", Date)
22871
22869
  ], RecordChange_.prototype, "CreatedAt", void 0);
22872
22870
  __decorate([
22873
- Field(),
22871
+ Field({ description: `Field UpdatedAt for entity Record Changes.` }),
22874
22872
  MaxLength(10),
22875
22873
  __metadata("design:type", Date)
22876
22874
  ], RecordChange_.prototype, "UpdatedAt", void 0);
@@ -23250,7 +23248,7 @@ __decorate([
23250
23248
  __metadata("design:type", String)
23251
23249
  ], UserRole_.prototype, "Role", void 0);
23252
23250
  UserRole_ = __decorate([
23253
- ObjectType()
23251
+ ObjectType({ description: `Associates users with roles in the system, managing role-based access control and permission inheritance.` })
23254
23252
  ], UserRole_);
23255
23253
  export { UserRole_ };
23256
23254
  let CreateUserRoleInput = class CreateUserRoleInput {
@@ -23485,7 +23483,7 @@ __decorate([
23485
23483
  __metadata("design:type", String)
23486
23484
  ], RowLevelSecurityFilter_.prototype, "Description", void 0);
23487
23485
  __decorate([
23488
- Field({ nullable: true }),
23486
+ Field({ nullable: true, description: `SQL WHERE clause template that filters records based on user context variables.` }),
23489
23487
  __metadata("design:type", String)
23490
23488
  ], RowLevelSecurityFilter_.prototype, "FilterText", void 0);
23491
23489
  __decorate([
@@ -23503,7 +23501,7 @@ __decorate([
23503
23501
  __metadata("design:type", Array)
23504
23502
  ], RowLevelSecurityFilter_.prototype, "EntityPermissions_ReadRLSFilterIDArray", void 0);
23505
23503
  RowLevelSecurityFilter_ = __decorate([
23506
- ObjectType()
23504
+ ObjectType({ description: `Defines data access rules that filter records based on user context, implementing fine-grained security at the row level.` })
23507
23505
  ], RowLevelSecurityFilter_);
23508
23506
  export { RowLevelSecurityFilter_ };
23509
23507
  let CreateRowLevelSecurityFilterInput = class CreateRowLevelSecurityFilterInput {
@@ -23788,7 +23786,7 @@ __decorate([
23788
23786
  __metadata("design:type", String)
23789
23787
  ], AuditLog_.prototype, "Description", void 0);
23790
23788
  __decorate([
23791
- Field({ nullable: true }),
23789
+ Field({ nullable: true, description: `JSON-formatted additional context about the audited event, including before/after values, parameters, or other relevant data.` }),
23792
23790
  __metadata("design:type", String)
23793
23791
  ], AuditLog_.prototype, "Details", void 0);
23794
23792
  __decorate([
@@ -23797,7 +23795,7 @@ __decorate([
23797
23795
  __metadata("design:type", String)
23798
23796
  ], AuditLog_.prototype, "EntityID", void 0);
23799
23797
  __decorate([
23800
- Field({ nullable: true }),
23798
+ Field({ nullable: true, description: `The primary key value of the record that was affected by this audited action, enabling direct lookup of the modified data.` }),
23801
23799
  MaxLength(900),
23802
23800
  __metadata("design:type", String)
23803
23801
  ], AuditLog_.prototype, "RecordID", void 0);
@@ -23832,7 +23830,7 @@ __decorate([
23832
23830
  __metadata("design:type", String)
23833
23831
  ], AuditLog_.prototype, "Entity", void 0);
23834
23832
  AuditLog_ = __decorate([
23835
- ObjectType()
23833
+ ObjectType({ description: `Tracks system events and user actions for security, compliance, and debugging purposes, providing a complete audit trail. Any application can write entries to this entity.` })
23836
23834
  ], AuditLog_);
23837
23835
  export { AuditLog_ };
23838
23836
  let CreateAuditLogInput = class CreateAuditLogInput {
@@ -24119,7 +24117,7 @@ __decorate([
24119
24117
  __metadata("design:type", String)
24120
24118
  ], Authorization_.prototype, "Name", void 0);
24121
24119
  __decorate([
24122
- Field(() => Boolean),
24120
+ Field(() => Boolean, { description: `Indicates whether this authorization is currently active and can be granted to users or roles.` }),
24123
24121
  __metadata("design:type", Boolean)
24124
24122
  ], Authorization_.prototype, "IsActive", void 0);
24125
24123
  __decorate([
@@ -24166,7 +24164,7 @@ __decorate([
24166
24164
  __metadata("design:type", Array)
24167
24165
  ], Authorization_.prototype, "AuditLogTypes_AuthorizationNameArray", void 0);
24168
24166
  Authorization_ = __decorate([
24169
- ObjectType()
24167
+ ObjectType({ description: `Stores the fundamental permissions and access rights that can be granted to users and roles throughout the system.` })
24170
24168
  ], Authorization_);
24171
24169
  export { Authorization_ };
24172
24170
  let CreateAuthorizationInput = class CreateAuthorizationInput {
@@ -24518,7 +24516,7 @@ __decorate([
24518
24516
  __metadata("design:type", String)
24519
24517
  ], AuthorizationRole_.prototype, "RoleID", void 0);
24520
24518
  __decorate([
24521
- Field(),
24519
+ Field({ description: `Specifies whether this authorization is granted to ('grant') or explicitly denied ('deny') for the role.` }),
24522
24520
  MaxLength(20),
24523
24521
  __metadata("design:type", String)
24524
24522
  ], AuthorizationRole_.prototype, "Type", void 0);
@@ -24543,7 +24541,7 @@ __decorate([
24543
24541
  __metadata("design:type", String)
24544
24542
  ], AuthorizationRole_.prototype, "Role", void 0);
24545
24543
  AuthorizationRole_ = __decorate([
24546
- ObjectType()
24544
+ ObjectType({ description: `Links authorizations to roles, defining which permissions are granted to users assigned to specific roles in the system.` })
24547
24545
  ], AuthorizationRole_);
24548
24546
  export { AuthorizationRole_ };
24549
24547
  let CreateAuthorizationRoleInput = class CreateAuthorizationRoleInput {
@@ -24830,7 +24828,7 @@ __decorate([
24830
24828
  __metadata("design:type", Array)
24831
24829
  ], AuditLogType_.prototype, "AuditLogs_AuditLogTypeNameArray", void 0);
24832
24830
  AuditLogType_ = __decorate([
24833
- ObjectType()
24831
+ ObjectType({ description: `Defines the types of events that can be recorded in the audit log, enabling categorization and filtering of system activities.` })
24834
24832
  ], AuditLogType_);
24835
24833
  export { AuditLogType_ };
24836
24834
  let CreateAuditLogTypeInput = class CreateAuditLogTypeInput {
@@ -25119,16 +25117,16 @@ __decorate([
25119
25117
  __metadata("design:type", String)
25120
25118
  ], EntityFieldValue_.prototype, "EntityFieldID", void 0);
25121
25119
  __decorate([
25122
- Field(() => Int),
25120
+ Field(() => Int, { description: `Display order for this value in dropdown lists and UI elements.` }),
25123
25121
  __metadata("design:type", Number)
25124
25122
  ], EntityFieldValue_.prototype, "Sequence", void 0);
25125
25123
  __decorate([
25126
- Field(),
25124
+ Field({ description: `The actual value stored in the database for this option.` }),
25127
25125
  MaxLength(510),
25128
25126
  __metadata("design:type", String)
25129
25127
  ], EntityFieldValue_.prototype, "Value", void 0);
25130
25128
  __decorate([
25131
- Field({ nullable: true }),
25129
+ Field({ nullable: true, description: `Optional code identifier for this value, useful for programmatic access. If not specified, same as Value` }),
25132
25130
  MaxLength(100),
25133
25131
  __metadata("design:type", String)
25134
25132
  ], EntityFieldValue_.prototype, "Code", void 0);
@@ -25162,7 +25160,7 @@ __decorate([
25162
25160
  __metadata("design:type", String)
25163
25161
  ], EntityFieldValue_.prototype, "EntityID", void 0);
25164
25162
  EntityFieldValue_ = __decorate([
25165
- ObjectType()
25163
+ ObjectType({ description: `Defines allowed values for entity fields with value lists, supporting dropdowns, validations, and data integrity constraints. MJ CodeGen automatically maintains this for columns that have CHECK constraints with IN lists such as "Status IN (A, B, C)"` })
25166
25164
  ], EntityFieldValue_);
25167
25165
  export { EntityFieldValue_ };
25168
25166
  let CreateEntityFieldValueInput = class CreateEntityFieldValueInput {
@@ -25461,7 +25459,7 @@ __decorate([
25461
25459
  __metadata("design:type", Number)
25462
25460
  ], AIModel_.prototype, "PowerRank", void 0);
25463
25461
  __decorate([
25464
- Field(() => Boolean),
25462
+ Field(() => Boolean, { description: `Controls whether this AI model is available for use in the system.` }),
25465
25463
  __metadata("design:type", Boolean)
25466
25464
  ], AIModel_.prototype, "IsActive", void 0);
25467
25465
  __decorate([
@@ -26097,7 +26095,7 @@ __decorate([
26097
26095
  __metadata("design:type", String)
26098
26096
  ], AIAction_.prototype, "Description", void 0);
26099
26097
  __decorate([
26100
- Field({ nullable: true }),
26098
+ Field({ nullable: true, description: `The standard prompt template used when invoking this AI action, can include placeholders for dynamic values.` }),
26101
26099
  __metadata("design:type", String)
26102
26100
  ], AIAction_.prototype, "DefaultPrompt", void 0);
26103
26101
  __decorate([
@@ -26106,7 +26104,7 @@ __decorate([
26106
26104
  __metadata("design:type", String)
26107
26105
  ], AIAction_.prototype, "DefaultModelID", void 0);
26108
26106
  __decorate([
26109
- Field(() => Boolean),
26107
+ Field(() => Boolean, { description: `Controls whether this AI action is currently available for use across the system.` }),
26110
26108
  __metadata("design:type", Boolean)
26111
26109
  ], AIAction_.prototype, "IsActive", void 0);
26112
26110
  __decorate([
@@ -26434,7 +26432,7 @@ __decorate([
26434
26432
  __metadata("design:type", String)
26435
26433
  ], AIModelAction_.prototype, "AIActionID", void 0);
26436
26434
  __decorate([
26437
- Field(() => Boolean),
26435
+ Field(() => Boolean, { description: `Determines if this specific action is currently enabled for the associated AI model.` }),
26438
26436
  __metadata("design:type", Boolean)
26439
26437
  ], AIModelAction_.prototype, "IsActive", void 0);
26440
26438
  __decorate([
@@ -26726,30 +26724,30 @@ __decorate([
26726
26724
  __metadata("design:type", String)
26727
26725
  ], EntityAIAction_.prototype, "Name", void 0);
26728
26726
  __decorate([
26729
- Field({ nullable: true }),
26727
+ Field({ nullable: true, description: `The AI prompt template used when this action is triggered by entity changes.` }),
26730
26728
  __metadata("design:type", String)
26731
26729
  ], EntityAIAction_.prototype, "Prompt", void 0);
26732
26730
  __decorate([
26733
- Field(),
26731
+ Field({ description: `The entity event that triggers this AI action (After Save, Before Delete, etc.).` }),
26734
26732
  MaxLength(30),
26735
26733
  __metadata("design:type", String)
26736
26734
  ], EntityAIAction_.prototype, "TriggerEvent", void 0);
26737
26735
  __decorate([
26738
- Field(),
26736
+ Field({ description: `Message shown to users when this AI action is executed.` }),
26739
26737
  __metadata("design:type", String)
26740
26738
  ], EntityAIAction_.prototype, "UserMessage", void 0);
26741
26739
  __decorate([
26742
- Field(),
26740
+ Field({ description: `Where the AI output should be stored (Field, Message, File).` }),
26743
26741
  MaxLength(20),
26744
26742
  __metadata("design:type", String)
26745
26743
  ], EntityAIAction_.prototype, "OutputType", void 0);
26746
26744
  __decorate([
26747
- Field({ nullable: true }),
26745
+ Field({ nullable: true, description: `The field name where AI output should be stored if OutputType is Field.` }),
26748
26746
  MaxLength(100),
26749
26747
  __metadata("design:type", String)
26750
26748
  ], EntityAIAction_.prototype, "OutputField", void 0);
26751
26749
  __decorate([
26752
- Field(() => Boolean),
26750
+ Field(() => Boolean, { description: `Whether to skip AI processing if the output field already contains data.` }),
26753
26751
  __metadata("design:type", Boolean)
26754
26752
  ], EntityAIAction_.prototype, "SkipIfOutputFieldNotEmpty", void 0);
26755
26753
  __decorate([
@@ -27416,17 +27414,17 @@ __decorate([
27416
27414
  __metadata("design:type", String)
27417
27415
  ], QueueType_.prototype, "Description", void 0);
27418
27416
  __decorate([
27419
- Field(),
27417
+ Field({ description: `Field DriverClass for entity Queue Types.` }),
27420
27418
  MaxLength(200),
27421
27419
  __metadata("design:type", String)
27422
27420
  ], QueueType_.prototype, "DriverClass", void 0);
27423
27421
  __decorate([
27424
- Field({ nullable: true }),
27422
+ Field({ nullable: true, description: `Field DriverImportPath for entity Queue Types.` }),
27425
27423
  MaxLength(400),
27426
27424
  __metadata("design:type", String)
27427
27425
  ], QueueType_.prototype, "DriverImportPath", void 0);
27428
27426
  __decorate([
27429
- Field(() => Boolean),
27427
+ Field(() => Boolean, { description: `Field IsActive for entity Queue Types.` }),
27430
27428
  __metadata("design:type", Boolean)
27431
27429
  ], QueueType_.prototype, "IsActive", void 0);
27432
27430
  __decorate([
@@ -27444,7 +27442,7 @@ __decorate([
27444
27442
  __metadata("design:type", Array)
27445
27443
  ], QueueType_.prototype, "Queues_QueueTypeIDArray", void 0);
27446
27444
  QueueType_ = __decorate([
27447
- ObjectType()
27445
+ ObjectType({ description: `Defines different types of processing queues with specific behaviors, priorities, and processing rules for task management.` })
27448
27446
  ], QueueType_);
27449
27447
  export { QueueType_ };
27450
27448
  let CreateQueueTypeInput = class CreateQueueTypeInput {
@@ -27729,65 +27727,65 @@ __decorate([
27729
27727
  __metadata("design:type", String)
27730
27728
  ], Queue_.prototype, "QueueTypeID", void 0);
27731
27729
  __decorate([
27732
- Field(() => Boolean),
27730
+ Field(() => Boolean, { description: `Field IsActive for entity Queues.` }),
27733
27731
  __metadata("design:type", Boolean)
27734
27732
  ], Queue_.prototype, "IsActive", void 0);
27735
27733
  __decorate([
27736
- Field(() => Int, { nullable: true }),
27734
+ Field(() => Int, { nullable: true, description: `Field ProcessPID for entity Queues.` }),
27737
27735
  __metadata("design:type", Number)
27738
27736
  ], Queue_.prototype, "ProcessPID", void 0);
27739
27737
  __decorate([
27740
- Field({ nullable: true }),
27738
+ Field({ nullable: true, description: `Field ProcessPlatform for entity Queues.` }),
27741
27739
  MaxLength(60),
27742
27740
  __metadata("design:type", String)
27743
27741
  ], Queue_.prototype, "ProcessPlatform", void 0);
27744
27742
  __decorate([
27745
- Field({ nullable: true }),
27743
+ Field({ nullable: true, description: `Field ProcessVersion for entity Queues.` }),
27746
27744
  MaxLength(30),
27747
27745
  __metadata("design:type", String)
27748
27746
  ], Queue_.prototype, "ProcessVersion", void 0);
27749
27747
  __decorate([
27750
- Field({ nullable: true }),
27748
+ Field({ nullable: true, description: `Field ProcessCwd for entity Queues.` }),
27751
27749
  MaxLength(200),
27752
27750
  __metadata("design:type", String)
27753
27751
  ], Queue_.prototype, "ProcessCwd", void 0);
27754
27752
  __decorate([
27755
- Field({ nullable: true }),
27753
+ Field({ nullable: true, description: `Field ProcessIPAddress for entity Queues.` }),
27756
27754
  MaxLength(100),
27757
27755
  __metadata("design:type", String)
27758
27756
  ], Queue_.prototype, "ProcessIPAddress", void 0);
27759
27757
  __decorate([
27760
- Field({ nullable: true }),
27758
+ Field({ nullable: true, description: `Field ProcessMacAddress for entity Queues.` }),
27761
27759
  MaxLength(100),
27762
27760
  __metadata("design:type", String)
27763
27761
  ], Queue_.prototype, "ProcessMacAddress", void 0);
27764
27762
  __decorate([
27765
- Field({ nullable: true }),
27763
+ Field({ nullable: true, description: `Field ProcessOSName for entity Queues.` }),
27766
27764
  MaxLength(50),
27767
27765
  __metadata("design:type", String)
27768
27766
  ], Queue_.prototype, "ProcessOSName", void 0);
27769
27767
  __decorate([
27770
- Field({ nullable: true }),
27768
+ Field({ nullable: true, description: `Field ProcessOSVersion for entity Queues.` }),
27771
27769
  MaxLength(20),
27772
27770
  __metadata("design:type", String)
27773
27771
  ], Queue_.prototype, "ProcessOSVersion", void 0);
27774
27772
  __decorate([
27775
- Field({ nullable: true }),
27773
+ Field({ nullable: true, description: `Field ProcessHostName for entity Queues.` }),
27776
27774
  MaxLength(100),
27777
27775
  __metadata("design:type", String)
27778
27776
  ], Queue_.prototype, "ProcessHostName", void 0);
27779
27777
  __decorate([
27780
- Field({ nullable: true }),
27778
+ Field({ nullable: true, description: `Field ProcessUserID for entity Queues.` }),
27781
27779
  MaxLength(50),
27782
27780
  __metadata("design:type", String)
27783
27781
  ], Queue_.prototype, "ProcessUserID", void 0);
27784
27782
  __decorate([
27785
- Field({ nullable: true }),
27783
+ Field({ nullable: true, description: `Field ProcessUserName for entity Queues.` }),
27786
27784
  MaxLength(100),
27787
27785
  __metadata("design:type", String)
27788
27786
  ], Queue_.prototype, "ProcessUserName", void 0);
27789
27787
  __decorate([
27790
- Field(),
27788
+ Field({ description: `Field LastHeartbeat for entity Queues.` }),
27791
27789
  MaxLength(8),
27792
27790
  __metadata("design:type", Date)
27793
27791
  ], Queue_.prototype, "LastHeartbeat", void 0);
@@ -28204,19 +28202,19 @@ __decorate([
28204
28202
  __metadata("design:type", Date)
28205
28203
  ], QueueTask_.prototype, "EndedAt", void 0);
28206
28204
  __decorate([
28207
- Field({ nullable: true }),
28205
+ Field({ nullable: true, description: `JSON payload containing the data needed to process this task.` }),
28208
28206
  __metadata("design:type", String)
28209
28207
  ], QueueTask_.prototype, "Data", void 0);
28210
28208
  __decorate([
28211
- Field({ nullable: true }),
28209
+ Field({ nullable: true, description: `JSON configuration options for how this task should be processed.` }),
28212
28210
  __metadata("design:type", String)
28213
28211
  ], QueueTask_.prototype, "Options", void 0);
28214
28212
  __decorate([
28215
- Field({ nullable: true }),
28213
+ Field({ nullable: true, description: `Result data from task execution, typically in JSON format.` }),
28216
28214
  __metadata("design:type", String)
28217
28215
  ], QueueTask_.prototype, "Output", void 0);
28218
28216
  __decorate([
28219
- Field({ nullable: true }),
28217
+ Field({ nullable: true, description: `Error details if the task failed during processing.` }),
28220
28218
  __metadata("design:type", String)
28221
28219
  ], QueueTask_.prototype, "ErrorMessage", void 0);
28222
28220
  __decorate([
@@ -28239,7 +28237,7 @@ __decorate([
28239
28237
  __metadata("design:type", String)
28240
28238
  ], QueueTask_.prototype, "Queue", void 0);
28241
28239
  QueueTask_ = __decorate([
28242
- ObjectType()
28240
+ ObjectType({ description: `Manages asynchronous tasks in processing queues, tracking status, priority, and execution details for background operations.` })
28243
28241
  ], QueueTask_);
28244
28242
  export { QueueTask_ };
28245
28243
  let CreateQueueTaskInput = class CreateQueueTaskInput {
@@ -28550,7 +28548,7 @@ __decorate([
28550
28548
  __metadata("design:type", String)
28551
28549
  ], Dashboard_.prototype, "CategoryID", void 0);
28552
28550
  __decorate([
28553
- Field(),
28551
+ Field({ description: `JSON configuration defining the dashboard layout, widgets, data sources, and display options.` }),
28554
28552
  __metadata("design:type", String)
28555
28553
  ], Dashboard_.prototype, "UIConfigDetails", void 0);
28556
28554
  __decorate([
@@ -28972,7 +28970,7 @@ __decorate([
28972
28970
  __metadata("design:type", Array)
28973
28971
  ], OutputTriggerType_.prototype, "Reports_OutputTriggerTypeIDArray", void 0);
28974
28972
  OutputTriggerType_ = __decorate([
28975
- ObjectType()
28973
+ ObjectType({ description: `Defines events that can trigger output generation such as schedules, data changes, or manual requests.` })
28976
28974
  ], OutputTriggerType_);
28977
28975
  export { OutputTriggerType_ };
28978
28976
  let CreateOutputTriggerTypeInput = class CreateOutputTriggerTypeInput {
@@ -29208,7 +29206,7 @@ __decorate([
29208
29206
  __metadata("design:type", String)
29209
29207
  ], OutputFormatType_.prototype, "Description", void 0);
29210
29208
  __decorate([
29211
- Field({ nullable: true }),
29209
+ Field({ nullable: true, description: `Configuration or template for how data should be formatted in this output type.` }),
29212
29210
  __metadata("design:type", String)
29213
29211
  ], OutputFormatType_.prototype, "DisplayFormat", void 0);
29214
29212
  __decorate([
@@ -29226,7 +29224,7 @@ __decorate([
29226
29224
  __metadata("design:type", Array)
29227
29225
  ], OutputFormatType_.prototype, "Reports_OutputFormatTypeIDArray", void 0);
29228
29226
  OutputFormatType_ = __decorate([
29229
- ObjectType()
29227
+ ObjectType({ description: `Specifies available output formats for generated content including PDF, Excel, CSV, JSON, and custom formats.` })
29230
29228
  ], OutputFormatType_);
29231
29229
  export { OutputFormatType_ };
29232
29230
  let CreateOutputFormatTypeInput = class CreateOutputFormatTypeInput {
@@ -29485,7 +29483,7 @@ __decorate([
29485
29483
  __metadata("design:type", Array)
29486
29484
  ], OutputDeliveryType_.prototype, "Reports_OutputDeliveryTypeIDArray", void 0);
29487
29485
  OutputDeliveryType_ = __decorate([
29488
- ObjectType()
29486
+ ObjectType({ description: `Defines methods for delivering generated outputs such as email, file storage, API endpoints, or messaging platforms.` })
29489
29487
  ], OutputDeliveryType_);
29490
29488
  export { OutputDeliveryType_ };
29491
29489
  let CreateOutputDeliveryTypeInput = class CreateOutputDeliveryTypeInput {
@@ -29754,7 +29752,7 @@ __decorate([
29754
29752
  __metadata("design:type", String)
29755
29753
  ], Report_.prototype, "UserID", void 0);
29756
29754
  __decorate([
29757
- Field(),
29755
+ Field({ description: `Field SharingScope for entity Reports.` }),
29758
29756
  MaxLength(40),
29759
29757
  __metadata("design:type", String)
29760
29758
  ], Report_.prototype, "SharingScope", void 0);
@@ -29774,7 +29772,7 @@ __decorate([
29774
29772
  __metadata("design:type", String)
29775
29773
  ], Report_.prototype, "DataContextID", void 0);
29776
29774
  __decorate([
29777
- Field({ nullable: true }),
29775
+ Field({ nullable: true, description: `Field Configuration for entity Reports.` }),
29778
29776
  __metadata("design:type", String)
29779
29777
  ], Report_.prototype, "Configuration", void 0);
29780
29778
  __decorate([
@@ -29793,12 +29791,12 @@ __decorate([
29793
29791
  __metadata("design:type", String)
29794
29792
  ], Report_.prototype, "OutputDeliveryTypeID", void 0);
29795
29793
  __decorate([
29796
- Field({ nullable: true }),
29794
+ Field({ nullable: true, description: `For scheduled reports, the frequency of generation (Daily, Weekly, Monthly, etc.).` }),
29797
29795
  MaxLength(100),
29798
29796
  __metadata("design:type", String)
29799
29797
  ], Report_.prototype, "OutputFrequency", void 0);
29800
29798
  __decorate([
29801
- Field({ nullable: true }),
29799
+ Field({ nullable: true, description: `Email address(es) to send the report to when using email delivery.` }),
29802
29800
  MaxLength(510),
29803
29801
  __metadata("design:type", String)
29804
29802
  ], Report_.prototype, "OutputTargetEmail", void 0);
@@ -29874,7 +29872,7 @@ __decorate([
29874
29872
  __metadata("design:type", Array)
29875
29873
  ], Report_.prototype, "MJ_ReportUserStates_ReportIDArray", void 0);
29876
29874
  Report_ = __decorate([
29877
- ObjectType()
29875
+ ObjectType({ description: `Defines report configurations including data sources, layouts, filters, and scheduling for automated report generation.` })
29878
29876
  ], Report_);
29879
29877
  export { Report_ };
29880
29878
  let CreateReportInput = class CreateReportInput {
@@ -30281,7 +30279,7 @@ __decorate([
30281
30279
  __metadata("design:type", String)
30282
30280
  ], ReportSnapshot_.prototype, "ReportID", void 0);
30283
30281
  __decorate([
30284
- Field(),
30282
+ Field({ description: `Field ResultSet for entity Report Snapshots.` }),
30285
30283
  __metadata("design:type", String)
30286
30284
  ], ReportSnapshot_.prototype, "ResultSet", void 0);
30287
30285
  __decorate([
@@ -30310,7 +30308,7 @@ __decorate([
30310
30308
  __metadata("design:type", String)
30311
30309
  ], ReportSnapshot_.prototype, "User", void 0);
30312
30310
  ReportSnapshot_ = __decorate([
30313
- ObjectType()
30311
+ ObjectType({ description: `Stores point-in-time captures of report outputs, preserving historical data and enabling comparison over time.` })
30314
30312
  ], ReportSnapshot_);
30315
30313
  export { ReportSnapshot_ };
30316
30314
  let CreateReportSnapshotInput = class CreateReportSnapshotInput {
@@ -30543,7 +30541,7 @@ __decorate([
30543
30541
  __metadata("design:type", String)
30544
30542
  ], ResourceType_.prototype, "Name", void 0);
30545
30543
  __decorate([
30546
- Field(),
30544
+ Field({ description: `Field DisplayName for entity Resource Types.` }),
30547
30545
  MaxLength(510),
30548
30546
  __metadata("design:type", String)
30549
30547
  ], ResourceType_.prototype, "DisplayName", void 0);
@@ -30552,7 +30550,7 @@ __decorate([
30552
30550
  __metadata("design:type", String)
30553
30551
  ], ResourceType_.prototype, "Description", void 0);
30554
30552
  __decorate([
30555
- Field({ nullable: true }),
30553
+ Field({ nullable: true, description: `Icon identifier for displaying this resource type in the UI.` }),
30556
30554
  MaxLength(200),
30557
30555
  __metadata("design:type", String)
30558
30556
  ], ResourceType_.prototype, "Icon", void 0);
@@ -30603,7 +30601,7 @@ __decorate([
30603
30601
  __metadata("design:type", Array)
30604
30602
  ], ResourceType_.prototype, "ResourcePermissions_ResourceTypeIDArray", void 0);
30605
30603
  ResourceType_ = __decorate([
30606
- ObjectType()
30604
+ ObjectType({ description: `Tracks types of system resources such as records, dashboards, and reports.` })
30607
30605
  ], ResourceType_);
30608
30606
  export { ResourceType_ };
30609
30607
  let CreateResourceTypeInput = class CreateResourceTypeInput {
@@ -30934,7 +30932,7 @@ __decorate([
30934
30932
  __metadata("design:type", String)
30935
30933
  ], Tag_.prototype, "ParentID", void 0);
30936
30934
  __decorate([
30937
- Field(),
30935
+ Field({ description: `Field DisplayName for entity Tags.` }),
30938
30936
  MaxLength(510),
30939
30937
  __metadata("design:type", String)
30940
30938
  ], Tag_.prototype, "DisplayName", void 0);
@@ -31241,7 +31239,7 @@ __decorate([
31241
31239
  __metadata("design:type", String)
31242
31240
  ], TaggedItem_.prototype, "EntityID", void 0);
31243
31241
  __decorate([
31244
- Field(),
31242
+ Field({ description: `Field RecordID for entity Tagged Items.` }),
31245
31243
  MaxLength(900),
31246
31244
  __metadata("design:type", String)
31247
31245
  ], TaggedItem_.prototype, "RecordID", void 0);
@@ -31781,16 +31779,16 @@ __decorate([
31781
31779
  __metadata("design:type", String)
31782
31780
  ], WorkspaceItem_.prototype, "ResourceTypeID", void 0);
31783
31781
  __decorate([
31784
- Field({ nullable: true }),
31782
+ Field({ nullable: true, description: `The ID of the resource (such as a view, dashboard, or other entity record) that is included in this workspace.` }),
31785
31783
  MaxLength(4000),
31786
31784
  __metadata("design:type", String)
31787
31785
  ], WorkspaceItem_.prototype, "ResourceRecordID", void 0);
31788
31786
  __decorate([
31789
- Field(() => Int),
31787
+ Field(() => Int, { description: `The display order of this item within the workspace, used for arranging resources in the user interface.` }),
31790
31788
  __metadata("design:type", Number)
31791
31789
  ], WorkspaceItem_.prototype, "Sequence", void 0);
31792
31790
  __decorate([
31793
- Field({ nullable: true }),
31791
+ Field({ nullable: true, description: `JSON configuration data specific to this workspace item, storing custom settings and state information.` }),
31794
31792
  __metadata("design:type", String)
31795
31793
  ], WorkspaceItem_.prototype, "Configuration", void 0);
31796
31794
  __decorate([
@@ -32329,7 +32327,7 @@ __decorate([
32329
32327
  __metadata("design:type", String)
32330
32328
  ], DatasetItem_.prototype, "ID", void 0);
32331
32329
  __decorate([
32332
- Field(),
32330
+ Field({ description: `Unique code identifier for this dataset item within its parent dataset.` }),
32333
32331
  MaxLength(100),
32334
32332
  __metadata("design:type", String)
32335
32333
  ], DatasetItem_.prototype, "Code", void 0);
@@ -32339,7 +32337,7 @@ __decorate([
32339
32337
  __metadata("design:type", String)
32340
32338
  ], DatasetItem_.prototype, "DatasetID", void 0);
32341
32339
  __decorate([
32342
- Field(() => Int),
32340
+ Field(() => Int, { description: `Order in which this item should be processed or displayed within the dataset.` }),
32343
32341
  __metadata("design:type", Number)
32344
32342
  ], DatasetItem_.prototype, "Sequence", void 0);
32345
32343
  __decorate([
@@ -32348,11 +32346,11 @@ __decorate([
32348
32346
  __metadata("design:type", String)
32349
32347
  ], DatasetItem_.prototype, "EntityID", void 0);
32350
32348
  __decorate([
32351
- Field({ nullable: true }),
32349
+ Field({ nullable: true, description: `SQL WHERE clause to filter data when this dataset item is sourced from a query.` }),
32352
32350
  __metadata("design:type", String)
32353
32351
  ], DatasetItem_.prototype, "WhereClause", void 0);
32354
32352
  __decorate([
32355
- Field(),
32353
+ Field({ description: `The date field name used for incremental updates and change detection.` }),
32356
32354
  MaxLength(200),
32357
32355
  __metadata("design:type", String)
32358
32356
  ], DatasetItem_.prototype, "DateFieldToCheck", void 0);
@@ -32675,25 +32673,25 @@ __decorate([
32675
32673
  __metadata("design:type", String)
32676
32674
  ], ConversationDetail_.prototype, "ConversationID", void 0);
32677
32675
  __decorate([
32678
- Field({ nullable: true }),
32676
+ Field({ nullable: true, description: `External system identifier for this message, used for integration scenarios.` }),
32679
32677
  MaxLength(200),
32680
32678
  __metadata("design:type", String)
32681
32679
  ], ConversationDetail_.prototype, "ExternalID", void 0);
32682
32680
  __decorate([
32683
- Field(),
32681
+ Field({ description: `The role of the message sender (user, assistant, system, function).` }),
32684
32682
  MaxLength(40),
32685
32683
  __metadata("design:type", String)
32686
32684
  ], ConversationDetail_.prototype, "Role", void 0);
32687
32685
  __decorate([
32688
- Field(),
32686
+ Field({ description: `The actual content of the message in the conversation.` }),
32689
32687
  __metadata("design:type", String)
32690
32688
  ], ConversationDetail_.prototype, "Message", void 0);
32691
32689
  __decorate([
32692
- Field({ nullable: true }),
32690
+ Field({ nullable: true, description: `Error message if this conversation turn encountered a problem.` }),
32693
32691
  __metadata("design:type", String)
32694
32692
  ], ConversationDetail_.prototype, "Error", void 0);
32695
32693
  __decorate([
32696
- Field(() => Boolean),
32694
+ Field(() => Boolean, { description: `Flag indicating if this message should be hidden from end users (system messages, function calls, etc.).` }),
32697
32695
  __metadata("design:type", Boolean)
32698
32696
  ], ConversationDetail_.prototype, "HiddenToUser", void 0);
32699
32697
  __decorate([
@@ -32765,7 +32763,7 @@ __decorate([
32765
32763
  __metadata("design:type", Array)
32766
32764
  ], ConversationDetail_.prototype, "MJ_AIAgentRuns_ConversationDetailIDArray", void 0);
32767
32765
  ConversationDetail_ = __decorate([
32768
- ObjectType()
32766
+ ObjectType({ description: `Stores individual messages, responses, and interactions within a conversation, maintaining the complete dialogue history with timestamps.` })
32769
32767
  ], ConversationDetail_);
32770
32768
  export { ConversationDetail_ };
32771
32769
  let CreateConversationDetailInput = class CreateConversationDetailInput {
@@ -33147,7 +33145,7 @@ __decorate([
33147
33145
  __metadata("design:type", String)
33148
33146
  ], Conversation_.prototype, "UserID", void 0);
33149
33147
  __decorate([
33150
- Field({ nullable: true }),
33148
+ Field({ nullable: true, description: `External system identifier for cross-system conversation tracking.` }),
33151
33149
  MaxLength(1000),
33152
33150
  __metadata("design:type", String)
33153
33151
  ], Conversation_.prototype, "ExternalID", void 0);
@@ -33161,12 +33159,12 @@ __decorate([
33161
33159
  __metadata("design:type", String)
33162
33160
  ], Conversation_.prototype, "Description", void 0);
33163
33161
  __decorate([
33164
- Field(),
33162
+ Field({ description: `The type or category of conversation (Skip, Support, Chat, etc.).` }),
33165
33163
  MaxLength(100),
33166
33164
  __metadata("design:type", String)
33167
33165
  ], Conversation_.prototype, "Type", void 0);
33168
33166
  __decorate([
33169
- Field(() => Boolean),
33167
+ Field(() => Boolean, { description: `Indicates if this conversation has been archived and should not appear in active lists.` }),
33170
33168
  __metadata("design:type", Boolean)
33171
33169
  ], Conversation_.prototype, "IsArchived", void 0);
33172
33170
  __decorate([
@@ -33175,7 +33173,7 @@ __decorate([
33175
33173
  __metadata("design:type", String)
33176
33174
  ], Conversation_.prototype, "LinkedEntityID", void 0);
33177
33175
  __decorate([
33178
- Field({ nullable: true }),
33176
+ Field({ nullable: true, description: `ID of a related record this conversation is about (support ticket, order, etc.).` }),
33179
33177
  MaxLength(1000),
33180
33178
  __metadata("design:type", String)
33181
33179
  ], Conversation_.prototype, "LinkedRecordID", void 0);
@@ -33231,7 +33229,7 @@ __decorate([
33231
33229
  __metadata("design:type", Array)
33232
33230
  ], Conversation_.prototype, "MJ_AIAgentRuns_ConversationIDArray", void 0);
33233
33231
  Conversation_ = __decorate([
33234
- ObjectType()
33232
+ ObjectType({ description: `Tracks conversation sessions between users and AI agents or between users, including context, participants, and metadata.` })
33235
33233
  ], Conversation_);
33236
33234
  export { Conversation_ };
33237
33235
  let CreateConversationInput = class CreateConversationInput {
@@ -33600,12 +33598,12 @@ __decorate([
33600
33598
  __metadata("design:type", String)
33601
33599
  ], UserNotification_.prototype, "UserID", void 0);
33602
33600
  __decorate([
33603
- Field({ nullable: true }),
33601
+ Field({ nullable: true, description: `Brief title or subject of the notification.` }),
33604
33602
  MaxLength(510),
33605
33603
  __metadata("design:type", String)
33606
33604
  ], UserNotification_.prototype, "Title", void 0);
33607
33605
  __decorate([
33608
- Field({ nullable: true }),
33606
+ Field({ nullable: true, description: `Full notification message content.` }),
33609
33607
  __metadata("design:type", String)
33610
33608
  ], UserNotification_.prototype, "Message", void 0);
33611
33609
  __decorate([
@@ -33614,15 +33612,15 @@ __decorate([
33614
33612
  __metadata("design:type", String)
33615
33613
  ], UserNotification_.prototype, "ResourceTypeID", void 0);
33616
33614
  __decorate([
33617
- Field({ nullable: true }),
33615
+ Field({ nullable: true, description: `Field ResourceConfiguration for entity User Notifications.` }),
33618
33616
  __metadata("design:type", String)
33619
33617
  ], UserNotification_.prototype, "ResourceConfiguration", void 0);
33620
33618
  __decorate([
33621
- Field(() => Boolean),
33619
+ Field(() => Boolean, { description: `Field Unread for entity User Notifications.` }),
33622
33620
  __metadata("design:type", Boolean)
33623
33621
  ], UserNotification_.prototype, "Unread", void 0);
33624
33622
  __decorate([
33625
- Field({ nullable: true }),
33623
+ Field({ nullable: true, description: `Timestamp when the user read this notification.` }),
33626
33624
  MaxLength(8),
33627
33625
  __metadata("design:type", Date)
33628
33626
  ], UserNotification_.prototype, "ReadAt", void 0);
@@ -33637,7 +33635,7 @@ __decorate([
33637
33635
  __metadata("design:type", Date)
33638
33636
  ], UserNotification_.prototype, "_mj__UpdatedAt", void 0);
33639
33637
  __decorate([
33640
- Field({ nullable: true }),
33638
+ Field({ nullable: true, description: `ID of the specific record this notification is about.` }),
33641
33639
  MaxLength(16),
33642
33640
  __metadata("design:type", String)
33643
33641
  ], UserNotification_.prototype, "ResourceRecordID", void 0);
@@ -33652,7 +33650,7 @@ __decorate([
33652
33650
  __metadata("design:type", String)
33653
33651
  ], UserNotification_.prototype, "ResourceType", void 0);
33654
33652
  UserNotification_ = __decorate([
33655
- ObjectType()
33653
+ ObjectType({ description: `Manages notifications sent to users including alerts, messages, and system updates with read status and priority.` })
33656
33654
  ], UserNotification_);
33657
33655
  export { UserNotification_ };
33658
33656
  let CreateUserNotificationInput = class CreateUserNotificationInput {
@@ -33922,16 +33920,16 @@ __decorate([
33922
33920
  __metadata("design:type", String)
33923
33921
  ], SchemaInfo_.prototype, "ID", void 0);
33924
33922
  __decorate([
33925
- Field(),
33923
+ Field({ description: `The database schema this information applies to.` }),
33926
33924
  MaxLength(100),
33927
33925
  __metadata("design:type", String)
33928
33926
  ], SchemaInfo_.prototype, "SchemaName", void 0);
33929
33927
  __decorate([
33930
- Field(() => Int),
33928
+ Field(() => Int, { description: `Field EntityIDMin for entity Schema Info.` }),
33931
33929
  __metadata("design:type", Number)
33932
33930
  ], SchemaInfo_.prototype, "EntityIDMin", void 0);
33933
33931
  __decorate([
33934
- Field(() => Int),
33932
+ Field(() => Int, { description: `Field EntityIDMax for entity Schema Info.` }),
33935
33933
  __metadata("design:type", Number)
33936
33934
  ], SchemaInfo_.prototype, "EntityIDMax", void 0);
33937
33935
  __decorate([
@@ -34186,7 +34184,7 @@ __decorate([
34186
34184
  __metadata("design:type", String)
34187
34185
  ], CompanyIntegrationRecordMap_.prototype, "CompanyIntegrationID", void 0);
34188
34186
  __decorate([
34189
- Field(),
34187
+ Field({ description: `The unique identifier for this record in the external integrated system.` }),
34190
34188
  MaxLength(1500),
34191
34189
  __metadata("design:type", String)
34192
34190
  ], CompanyIntegrationRecordMap_.prototype, "ExternalSystemRecordID", void 0);
@@ -34196,7 +34194,7 @@ __decorate([
34196
34194
  __metadata("design:type", String)
34197
34195
  ], CompanyIntegrationRecordMap_.prototype, "EntityID", void 0);
34198
34196
  __decorate([
34199
- Field(),
34197
+ Field({ description: `The internal MemberJunction record ID that corresponds to the external system record.` }),
34200
34198
  MaxLength(1500),
34201
34199
  __metadata("design:type", String)
34202
34200
  ], CompanyIntegrationRecordMap_.prototype, "EntityRecordID", void 0);
@@ -34221,7 +34219,7 @@ __decorate([
34221
34219
  __metadata("design:type", String)
34222
34220
  ], CompanyIntegrationRecordMap_.prototype, "Entity", void 0);
34223
34221
  CompanyIntegrationRecordMap_ = __decorate([
34224
- ObjectType()
34222
+ ObjectType({ description: `Maps records between internal entities and external system identifiers, maintaining synchronization between MemberJunction and integrated platforms.` })
34225
34223
  ], CompanyIntegrationRecordMap_);
34226
34224
  export { CompanyIntegrationRecordMap_ };
34227
34225
  let CreateCompanyIntegrationRecordMapInput = class CreateCompanyIntegrationRecordMapInput {
@@ -34467,7 +34465,7 @@ __decorate([
34467
34465
  __metadata("design:type", String)
34468
34466
  ], RecordMergeLog_.prototype, "EntityID", void 0);
34469
34467
  __decorate([
34470
- Field(),
34468
+ Field({ description: `The ID of the record that survived the merge and contains the consolidated data.` }),
34471
34469
  MaxLength(900),
34472
34470
  __metadata("design:type", String)
34473
34471
  ], RecordMergeLog_.prototype, "SurvivingRecordID", void 0);
@@ -34477,7 +34475,7 @@ __decorate([
34477
34475
  __metadata("design:type", String)
34478
34476
  ], RecordMergeLog_.prototype, "InitiatedByUserID", void 0);
34479
34477
  __decorate([
34480
- Field(),
34478
+ Field({ description: `Field ApprovalStatus for entity Record Merge Logs.` }),
34481
34479
  MaxLength(20),
34482
34480
  __metadata("design:type", String)
34483
34481
  ], RecordMergeLog_.prototype, "ApprovalStatus", void 0);
@@ -34487,22 +34485,22 @@ __decorate([
34487
34485
  __metadata("design:type", String)
34488
34486
  ], RecordMergeLog_.prototype, "ApprovedByUserID", void 0);
34489
34487
  __decorate([
34490
- Field(),
34488
+ Field({ description: `Field ProcessingStatus for entity Record Merge Logs.` }),
34491
34489
  MaxLength(20),
34492
34490
  __metadata("design:type", String)
34493
34491
  ], RecordMergeLog_.prototype, "ProcessingStatus", void 0);
34494
34492
  __decorate([
34495
- Field(),
34493
+ Field({ description: `Field ProcessingStartedAt for entity Record Merge Logs.` }),
34496
34494
  MaxLength(8),
34497
34495
  __metadata("design:type", Date)
34498
34496
  ], RecordMergeLog_.prototype, "ProcessingStartedAt", void 0);
34499
34497
  __decorate([
34500
- Field({ nullable: true }),
34498
+ Field({ nullable: true, description: `Field ProcessingEndedAt for entity Record Merge Logs.` }),
34501
34499
  MaxLength(8),
34502
34500
  __metadata("design:type", Date)
34503
34501
  ], RecordMergeLog_.prototype, "ProcessingEndedAt", void 0);
34504
34502
  __decorate([
34505
- Field({ nullable: true }),
34503
+ Field({ nullable: true, description: `Detailed log of the merge process including field mappings and decisions.` }),
34506
34504
  __metadata("design:type", String)
34507
34505
  ], RecordMergeLog_.prototype, "ProcessingLog", void 0);
34508
34506
  __decorate([
@@ -34543,7 +34541,7 @@ __decorate([
34543
34541
  __metadata("design:type", Array)
34544
34542
  ], RecordMergeLog_.prototype, "DuplicateRunDetailMatches_RecordMergeLogIDArray", void 0);
34545
34543
  RecordMergeLog_ = __decorate([
34546
- ObjectType()
34544
+ ObjectType({ description: `Records the history of record merge operations including source records, target records, and merge rules applied.` })
34547
34545
  ], RecordMergeLog_);
34548
34546
  export { RecordMergeLog_ };
34549
34547
  let CreateRecordMergeLogInput = class CreateRecordMergeLogInput {
@@ -34872,7 +34870,7 @@ __decorate([
34872
34870
  __metadata("design:type", String)
34873
34871
  ], RecordMergeDeletionLog_.prototype, "RecordMergeLogID", void 0);
34874
34872
  __decorate([
34875
- Field(),
34873
+ Field({ description: `Field DeletedRecordID for entity Record Merge Deletion Logs.` }),
34876
34874
  MaxLength(1500),
34877
34875
  __metadata("design:type", String)
34878
34876
  ], RecordMergeDeletionLog_.prototype, "DeletedRecordID", void 0);
@@ -34882,7 +34880,7 @@ __decorate([
34882
34880
  __metadata("design:type", String)
34883
34881
  ], RecordMergeDeletionLog_.prototype, "Status", void 0);
34884
34882
  __decorate([
34885
- Field({ nullable: true }),
34883
+ Field({ nullable: true, description: `Field ProcessingLog for entity Record Merge Deletion Logs.` }),
34886
34884
  __metadata("design:type", String)
34887
34885
  ], RecordMergeDeletionLog_.prototype, "ProcessingLog", void 0);
34888
34886
  __decorate([
@@ -34896,7 +34894,7 @@ __decorate([
34896
34894
  __metadata("design:type", Date)
34897
34895
  ], RecordMergeDeletionLog_.prototype, "_mj__UpdatedAt", void 0);
34898
34896
  RecordMergeDeletionLog_ = __decorate([
34899
- ObjectType()
34897
+ ObjectType({ description: `Tracks records deleted during merge operations, maintaining an audit trail of data consolidation activities.` })
34900
34898
  ], RecordMergeDeletionLog_);
34901
34899
  export { RecordMergeDeletionLog_ };
34902
34900
  let CreateRecordMergeDeletionLogInput = class CreateRecordMergeDeletionLogInput {
@@ -35127,6 +35125,8 @@ let QueryField_ = class QueryField_ {
35127
35125
  SummaryDescription;
35128
35126
  _mj__CreatedAt;
35129
35127
  _mj__UpdatedAt;
35128
+ DetectionMethod;
35129
+ AutoDetectConfidenceScore;
35130
35130
  Query;
35131
35131
  SourceEntity;
35132
35132
  };
@@ -35150,7 +35150,7 @@ __decorate([
35150
35150
  __metadata("design:type", String)
35151
35151
  ], QueryField_.prototype, "Description", void 0);
35152
35152
  __decorate([
35153
- Field(() => Int),
35153
+ Field(() => Int, { description: `Display order of this field in query results.` }),
35154
35154
  __metadata("design:type", Number)
35155
35155
  ], QueryField_.prototype, "Sequence", void 0);
35156
35156
  __decorate([
@@ -35169,24 +35169,24 @@ __decorate([
35169
35169
  __metadata("design:type", String)
35170
35170
  ], QueryField_.prototype, "SourceEntityID", void 0);
35171
35171
  __decorate([
35172
- Field({ nullable: true }),
35172
+ Field({ nullable: true, description: `The original field name from the SQL query if different from the display name.` }),
35173
35173
  MaxLength(510),
35174
35174
  __metadata("design:type", String)
35175
35175
  ], QueryField_.prototype, "SourceFieldName", void 0);
35176
35176
  __decorate([
35177
- Field(() => Boolean),
35177
+ Field(() => Boolean, { description: `Indicates if this field is calculated from other fields rather than directly from the database.` }),
35178
35178
  __metadata("design:type", Boolean)
35179
35179
  ], QueryField_.prototype, "IsComputed", void 0);
35180
35180
  __decorate([
35181
- Field({ nullable: true }),
35181
+ Field({ nullable: true, description: `Explanation of how this computed field is calculated.` }),
35182
35182
  __metadata("design:type", String)
35183
35183
  ], QueryField_.prototype, "ComputationDescription", void 0);
35184
35184
  __decorate([
35185
- Field(() => Boolean),
35185
+ Field(() => Boolean, { description: `Whether this field represents an aggregate or summary value.` }),
35186
35186
  __metadata("design:type", Boolean)
35187
35187
  ], QueryField_.prototype, "IsSummary", void 0);
35188
35188
  __decorate([
35189
- Field({ nullable: true }),
35189
+ Field({ nullable: true, description: `Description of what this summary field represents and how it's aggregated.` }),
35190
35190
  __metadata("design:type", String)
35191
35191
  ], QueryField_.prototype, "SummaryDescription", void 0);
35192
35192
  __decorate([
@@ -35199,6 +35199,15 @@ __decorate([
35199
35199
  MaxLength(10),
35200
35200
  __metadata("design:type", Date)
35201
35201
  ], QueryField_.prototype, "_mj__UpdatedAt", void 0);
35202
+ __decorate([
35203
+ Field({ description: `Indicates how this field was identified in the query output. "AI" means the QueryEntityServer used LLM analysis to parse the SELECT clause and determine field names, types, and their source entities/columns. This includes handling aliased columns, computed expressions, aggregations, and CASE statements. "Manual" means a user explicitly defined this output field. AI detection ensures the field list stays synchronized with query changes.` }),
35204
+ MaxLength(100),
35205
+ __metadata("design:type", String)
35206
+ ], QueryField_.prototype, "DetectionMethod", void 0);
35207
+ __decorate([
35208
+ Field(() => Float, { nullable: true, description: `Confidence score (0.00-1.00) indicating how certain the AI was about this field detection. Only populated when DetectionMethod="AI". Factors include: clarity of the SELECT clause, complexity of any expressions or transformations, confidence in type inference, and ability to trace back to source entity/column. Complex computed fields or ambiguous aliases result in lower scores. This helps identify fields that may need manual verification.` }),
35209
+ __metadata("design:type", Number)
35210
+ ], QueryField_.prototype, "AutoDetectConfidenceScore", void 0);
35202
35211
  __decorate([
35203
35212
  Field(),
35204
35213
  MaxLength(510),
@@ -35210,7 +35219,7 @@ __decorate([
35210
35219
  __metadata("design:type", String)
35211
35220
  ], QueryField_.prototype, "SourceEntity", void 0);
35212
35221
  QueryField_ = __decorate([
35213
- ObjectType()
35222
+ ObjectType({ description: `Stores field-level metadata for queries including display names, data types, and formatting rules for result presentation.` })
35214
35223
  ], QueryField_);
35215
35224
  export { QueryField_ };
35216
35225
  let CreateQueryFieldInput = class CreateQueryFieldInput {
@@ -35227,6 +35236,8 @@ let CreateQueryFieldInput = class CreateQueryFieldInput {
35227
35236
  ComputationDescription;
35228
35237
  IsSummary;
35229
35238
  SummaryDescription;
35239
+ DetectionMethod;
35240
+ AutoDetectConfidenceScore;
35230
35241
  };
35231
35242
  __decorate([
35232
35243
  Field({ nullable: true }),
@@ -35280,6 +35291,14 @@ __decorate([
35280
35291
  Field({ nullable: true }),
35281
35292
  __metadata("design:type", String)
35282
35293
  ], CreateQueryFieldInput.prototype, "SummaryDescription", void 0);
35294
+ __decorate([
35295
+ Field({ nullable: true }),
35296
+ __metadata("design:type", String)
35297
+ ], CreateQueryFieldInput.prototype, "DetectionMethod", void 0);
35298
+ __decorate([
35299
+ Field(() => Float, { nullable: true }),
35300
+ __metadata("design:type", Number)
35301
+ ], CreateQueryFieldInput.prototype, "AutoDetectConfidenceScore", void 0);
35283
35302
  CreateQueryFieldInput = __decorate([
35284
35303
  InputType()
35285
35304
  ], CreateQueryFieldInput);
@@ -35298,6 +35317,8 @@ let UpdateQueryFieldInput = class UpdateQueryFieldInput {
35298
35317
  ComputationDescription;
35299
35318
  IsSummary;
35300
35319
  SummaryDescription;
35320
+ DetectionMethod;
35321
+ AutoDetectConfidenceScore;
35301
35322
  OldValues___;
35302
35323
  };
35303
35324
  __decorate([
@@ -35352,6 +35373,14 @@ __decorate([
35352
35373
  Field({ nullable: true }),
35353
35374
  __metadata("design:type", String)
35354
35375
  ], UpdateQueryFieldInput.prototype, "SummaryDescription", void 0);
35376
+ __decorate([
35377
+ Field({ nullable: true }),
35378
+ __metadata("design:type", String)
35379
+ ], UpdateQueryFieldInput.prototype, "DetectionMethod", void 0);
35380
+ __decorate([
35381
+ Field(() => Float, { nullable: true }),
35382
+ __metadata("design:type", Number)
35383
+ ], UpdateQueryFieldInput.prototype, "AutoDetectConfidenceScore", void 0);
35355
35384
  __decorate([
35356
35385
  Field(() => [KeyValuePairInput], { nullable: true }),
35357
35386
  __metadata("design:type", Array)
@@ -35571,7 +35600,7 @@ __decorate([
35571
35600
  __metadata("design:type", Array)
35572
35601
  ], QueryCategory_.prototype, "Queries_CategoryIDArray", void 0);
35573
35602
  QueryCategory_ = __decorate([
35574
- ObjectType()
35603
+ ObjectType({ description: `Organizes saved queries into categories for discovery and management, supporting folder-like organization of queries.` })
35575
35604
  ], QueryCategory_);
35576
35605
  export { QueryCategory_ };
35577
35606
  let CreateQueryCategoryInput = class CreateQueryCategoryInput {
@@ -35835,10 +35864,12 @@ let Query_ = class Query_ {
35835
35864
  ExecutionCostRank;
35836
35865
  _mj__CreatedAt;
35837
35866
  _mj__UpdatedAt;
35867
+ UsesTemplate;
35838
35868
  Category;
35839
35869
  QueryFields_QueryIDArray;
35840
35870
  DataContextItems_QueryIDArray;
35841
35871
  QueryPermissions_QueryIDArray;
35872
+ MJ_QueryParameters_QueryIDArray;
35842
35873
  QueryEntities_QueryIDArray;
35843
35874
  };
35844
35875
  __decorate([
@@ -35857,7 +35888,7 @@ __decorate([
35857
35888
  __metadata("design:type", String)
35858
35889
  ], Query_.prototype, "CategoryID", void 0);
35859
35890
  __decorate([
35860
- Field({ nullable: true }),
35891
+ Field({ nullable: true, description: `The natural language question this query answers, used for AI query selection.` }),
35861
35892
  __metadata("design:type", String)
35862
35893
  ], Query_.prototype, "UserQuestion", void 0);
35863
35894
  __decorate([
@@ -35865,19 +35896,19 @@ __decorate([
35865
35896
  __metadata("design:type", String)
35866
35897
  ], Query_.prototype, "Description", void 0);
35867
35898
  __decorate([
35868
- Field({ nullable: true }),
35899
+ Field({ nullable: true, description: `The actual SQL query text to execute, may include parameters.` }),
35869
35900
  __metadata("design:type", String)
35870
35901
  ], Query_.prototype, "SQL", void 0);
35871
35902
  __decorate([
35872
- Field({ nullable: true }),
35903
+ Field({ nullable: true, description: `Technical documentation of the query logic, performance considerations, and parameter usage.` }),
35873
35904
  __metadata("design:type", String)
35874
35905
  ], Query_.prototype, "TechnicalDescription", void 0);
35875
35906
  __decorate([
35876
- Field({ nullable: true }),
35907
+ Field({ nullable: true, description: `The original SQL before any optimization or modification, kept for reference.` }),
35877
35908
  __metadata("design:type", String)
35878
35909
  ], Query_.prototype, "OriginalSQL", void 0);
35879
35910
  __decorate([
35880
- Field({ nullable: true }),
35911
+ Field({ nullable: true, description: `User feedback on query accuracy, performance, or suggested improvements.` }),
35881
35912
  __metadata("design:type", String)
35882
35913
  ], Query_.prototype, "Feedback", void 0);
35883
35914
  __decorate([
@@ -35903,6 +35934,10 @@ __decorate([
35903
35934
  MaxLength(10),
35904
35935
  __metadata("design:type", Date)
35905
35936
  ], Query_.prototype, "_mj__UpdatedAt", void 0);
35937
+ __decorate([
35938
+ Field(() => Boolean, { nullable: true, description: `Automatically set to true when the SQL column contains Nunjucks template markers (e.g., {{ paramName }}). This flag is maintained by the QueryEntityServer for performance optimization and discovery purposes. It allows quick filtering of parameterized queries and enables the UI to show parameter inputs only when needed. The system will automatically update this flag when the SQL content changes.` }),
35939
+ __metadata("design:type", Boolean)
35940
+ ], Query_.prototype, "UsesTemplate", void 0);
35906
35941
  __decorate([
35907
35942
  Field({ nullable: true }),
35908
35943
  MaxLength(100),
@@ -35920,6 +35955,10 @@ __decorate([
35920
35955
  Field(() => [QueryPermission_]),
35921
35956
  __metadata("design:type", Array)
35922
35957
  ], Query_.prototype, "QueryPermissions_QueryIDArray", void 0);
35958
+ __decorate([
35959
+ Field(() => [QueryParameter_]),
35960
+ __metadata("design:type", Array)
35961
+ ], Query_.prototype, "MJ_QueryParameters_QueryIDArray", void 0);
35923
35962
  __decorate([
35924
35963
  Field(() => [QueryEntity_]),
35925
35964
  __metadata("design:type", Array)
@@ -35941,6 +35980,7 @@ let CreateQueryInput = class CreateQueryInput {
35941
35980
  Status;
35942
35981
  QualityRank;
35943
35982
  ExecutionCostRank;
35983
+ UsesTemplate;
35944
35984
  };
35945
35985
  __decorate([
35946
35986
  Field({ nullable: true }),
@@ -35990,6 +36030,10 @@ __decorate([
35990
36030
  Field(() => Int, { nullable: true }),
35991
36031
  __metadata("design:type", Number)
35992
36032
  ], CreateQueryInput.prototype, "ExecutionCostRank", void 0);
36033
+ __decorate([
36034
+ Field(() => Boolean, { nullable: true }),
36035
+ __metadata("design:type", Boolean)
36036
+ ], CreateQueryInput.prototype, "UsesTemplate", void 0);
35993
36037
  CreateQueryInput = __decorate([
35994
36038
  InputType()
35995
36039
  ], CreateQueryInput);
@@ -36007,6 +36051,7 @@ let UpdateQueryInput = class UpdateQueryInput {
36007
36051
  Status;
36008
36052
  QualityRank;
36009
36053
  ExecutionCostRank;
36054
+ UsesTemplate;
36010
36055
  OldValues___;
36011
36056
  };
36012
36057
  __decorate([
@@ -36057,6 +36102,10 @@ __decorate([
36057
36102
  Field(() => Int, { nullable: true }),
36058
36103
  __metadata("design:type", Number)
36059
36104
  ], UpdateQueryInput.prototype, "ExecutionCostRank", void 0);
36105
+ __decorate([
36106
+ Field(() => Boolean, { nullable: true }),
36107
+ __metadata("design:type", Boolean)
36108
+ ], UpdateQueryInput.prototype, "UsesTemplate", void 0);
36060
36109
  __decorate([
36061
36110
  Field(() => [KeyValuePairInput], { nullable: true }),
36062
36111
  __metadata("design:type", Array)
@@ -36152,6 +36201,14 @@ let QueryResolver = class QueryResolver extends ResolverBase {
36152
36201
  const result = this.ArrayMapFieldNamesToCodeNames('Query Permissions', rows);
36153
36202
  return result;
36154
36203
  }
36204
+ async MJ_QueryParameters_QueryIDArray(query_, { dataSources, userPayload }, pubSub) {
36205
+ this.CheckUserReadPermissions('MJ: Query Parameters', userPayload);
36206
+ const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
36207
+ const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwQueryParameters] WHERE [QueryID]='${query_.ID}' ` + this.getRowLevelSecurityWhereClause('MJ: Query Parameters', userPayload, EntityPermissionType.Read, 'AND');
36208
+ const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
36209
+ const result = this.ArrayMapFieldNamesToCodeNames('MJ: Query Parameters', rows);
36210
+ return result;
36211
+ }
36155
36212
  async QueryEntities_QueryIDArray(query_, { dataSources, userPayload }, pubSub) {
36156
36213
  this.CheckUserReadPermissions('Query Entities', userPayload);
36157
36214
  const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
@@ -36237,6 +36294,15 @@ __decorate([
36237
36294
  __metadata("design:paramtypes", [Query_, Object, PubSubEngine]),
36238
36295
  __metadata("design:returntype", Promise)
36239
36296
  ], QueryResolver.prototype, "QueryPermissions_QueryIDArray", null);
36297
+ __decorate([
36298
+ FieldResolver(() => [QueryParameter_]),
36299
+ __param(0, Root()),
36300
+ __param(1, Ctx()),
36301
+ __param(2, PubSub()),
36302
+ __metadata("design:type", Function),
36303
+ __metadata("design:paramtypes", [Query_, Object, PubSubEngine]),
36304
+ __metadata("design:returntype", Promise)
36305
+ ], QueryResolver.prototype, "MJ_QueryParameters_QueryIDArray", null);
36240
36306
  __decorate([
36241
36307
  FieldResolver(() => [QueryEntity_]),
36242
36308
  __param(0, Root()),
@@ -36323,7 +36389,7 @@ __decorate([
36323
36389
  __metadata("design:type", String)
36324
36390
  ], QueryPermission_.prototype, "Role", void 0);
36325
36391
  QueryPermission_ = __decorate([
36326
- ObjectType()
36392
+ ObjectType({ description: `Controls access to queries by defining which users and roles can run specific queries.` })
36327
36393
  ], QueryPermission_);
36328
36394
  export { QueryPermission_ };
36329
36395
  let CreateQueryPermissionInput = class CreateQueryPermissionInput {
@@ -36579,7 +36645,7 @@ __decorate([
36579
36645
  __metadata("design:type", Array)
36580
36646
  ], VectorIndex_.prototype, "EntityRecordDocuments_VectorIndexIDArray", void 0);
36581
36647
  VectorIndex_ = __decorate([
36582
- ObjectType()
36648
+ ObjectType({ description: `Defines vector indexes within a given Vector Database.` })
36583
36649
  ], VectorIndex_);
36584
36650
  export { VectorIndex_ };
36585
36651
  let CreateVectorIndexInput = class CreateVectorIndexInput {
@@ -36848,7 +36914,7 @@ __decorate([
36848
36914
  __metadata("design:type", Array)
36849
36915
  ], EntityDocumentType_.prototype, "EntityDocuments_TypeIDArray", void 0);
36850
36916
  EntityDocumentType_ = __decorate([
36851
- ObjectType()
36917
+ ObjectType({ description: `Defines types of documents that can be generated from entity data.` })
36852
36918
  ], EntityDocumentType_);
36853
36919
  export { EntityDocumentType_ };
36854
36920
  let CreateEntityDocumentTypeInput = class CreateEntityDocumentTypeInput {
@@ -37111,7 +37177,7 @@ __decorate([
37111
37177
  __metadata("design:type", String)
37112
37178
  ], EntityDocumentRun_.prototype, "EntityDocument", void 0);
37113
37179
  EntityDocumentRun_ = __decorate([
37114
- ObjectType()
37180
+ ObjectType({ description: `Records execution history of document generation processes for entity records, tracking status, timing, and output details.` })
37115
37181
  ], EntityDocumentRun_);
37116
37182
  export { EntityDocumentRun_ };
37117
37183
  let CreateEntityDocumentRunInput = class CreateEntityDocumentRunInput {
@@ -37352,12 +37418,12 @@ __decorate([
37352
37418
  __metadata("design:type", String)
37353
37419
  ], VectorDatabase_.prototype, "Description", void 0);
37354
37420
  __decorate([
37355
- Field({ nullable: true }),
37421
+ Field({ nullable: true, description: `Field DefaultURL for entity Vector Databases.` }),
37356
37422
  MaxLength(510),
37357
37423
  __metadata("design:type", String)
37358
37424
  ], VectorDatabase_.prototype, "DefaultURL", void 0);
37359
37425
  __decorate([
37360
- Field({ nullable: true }),
37426
+ Field({ nullable: true, description: `Field ClassKey for entity Vector Databases.` }),
37361
37427
  MaxLength(200),
37362
37428
  __metadata("design:type", String)
37363
37429
  ], VectorDatabase_.prototype, "ClassKey", void 0);
@@ -37380,7 +37446,7 @@ __decorate([
37380
37446
  __metadata("design:type", Array)
37381
37447
  ], VectorDatabase_.prototype, "VectorIndexes_VectorDatabaseIDArray", void 0);
37382
37448
  VectorDatabase_ = __decorate([
37383
- ObjectType()
37449
+ ObjectType({ description: `Configures connections to vector database systems for AI embeddings, similarity search, and semantic operations.` })
37384
37450
  ], VectorDatabase_);
37385
37451
  export { VectorDatabase_ };
37386
37452
  let CreateVectorDatabaseInput = class CreateVectorDatabaseInput {
@@ -37656,7 +37722,7 @@ __decorate([
37656
37722
  __metadata("design:type", String)
37657
37723
  ], EntityRecordDocument_.prototype, "EntityID", void 0);
37658
37724
  __decorate([
37659
- Field(),
37725
+ Field({ description: `The ID of the entity record this document was generated for.` }),
37660
37726
  MaxLength(900),
37661
37727
  __metadata("design:type", String)
37662
37728
  ], EntityRecordDocument_.prototype, "RecordID", void 0);
@@ -37666,7 +37732,7 @@ __decorate([
37666
37732
  __metadata("design:type", String)
37667
37733
  ], EntityRecordDocument_.prototype, "EntityDocumentID", void 0);
37668
37734
  __decorate([
37669
- Field({ nullable: true }),
37735
+ Field({ nullable: true, description: `The generated document text after template processing.` }),
37670
37736
  __metadata("design:type", String)
37671
37737
  ], EntityRecordDocument_.prototype, "DocumentText", void 0);
37672
37738
  __decorate([
@@ -37675,16 +37741,16 @@ __decorate([
37675
37741
  __metadata("design:type", String)
37676
37742
  ], EntityRecordDocument_.prototype, "VectorIndexID", void 0);
37677
37743
  __decorate([
37678
- Field({ nullable: true }),
37744
+ Field({ nullable: true, description: `Reference to the vector embedding of this document if AI search is enabled.` }),
37679
37745
  MaxLength(100),
37680
37746
  __metadata("design:type", String)
37681
37747
  ], EntityRecordDocument_.prototype, "VectorID", void 0);
37682
37748
  __decorate([
37683
- Field({ nullable: true }),
37749
+ Field({ nullable: true, description: `JSON representation of the vector embedding for this document.` }),
37684
37750
  __metadata("design:type", String)
37685
37751
  ], EntityRecordDocument_.prototype, "VectorJSON", void 0);
37686
37752
  __decorate([
37687
- Field(),
37753
+ Field({ description: `Timestamp of when the source entity record was last updated.` }),
37688
37754
  MaxLength(8),
37689
37755
  __metadata("design:type", Date)
37690
37756
  ], EntityRecordDocument_.prototype, "EntityRecordUpdatedAt", void 0);
@@ -37714,7 +37780,7 @@ __decorate([
37714
37780
  __metadata("design:type", String)
37715
37781
  ], EntityRecordDocument_.prototype, "VectorIndex", void 0);
37716
37782
  EntityRecordDocument_ = __decorate([
37717
- ObjectType()
37783
+ ObjectType({ description: `Stores the output for a given entity record for a specific Entity Document. For example if a "Person" entity had a particular template that outputted First and Last name like "#{{FirstName}}\n#{{LastName}}" the Entity Record Document would have a row for each entity record in the Person entity that was run through that particular document and have row values such as "#Jane\n#Doe" and "#Mark\n#Smith".` })
37718
37784
  ], EntityRecordDocument_);
37719
37785
  export { EntityRecordDocument_ };
37720
37786
  let CreateEntityRecordDocumentInput = class CreateEntityRecordDocumentInput {
@@ -38087,7 +38153,7 @@ __decorate([
38087
38153
  __metadata("design:type", Array)
38088
38154
  ], EntityDocument_.prototype, "EntityRecordDocuments_EntityDocumentIDArray", void 0);
38089
38155
  EntityDocument_ = __decorate([
38090
- ObjectType()
38156
+ ObjectType({ description: `Stores templates for converting structured entity data into unstructured documents.` })
38091
38157
  ], EntityDocument_);
38092
38158
  export { EntityDocument_ };
38093
38159
  let CreateEntityDocumentInput = class CreateEntityDocumentInput {
@@ -38829,7 +38895,7 @@ __decorate([
38829
38895
  __metadata("design:type", String)
38830
38896
  ], DataContext_.prototype, "UserID", void 0);
38831
38897
  __decorate([
38832
- Field({ nullable: true }),
38898
+ Field({ nullable: true, description: `Timestamp of when the data in this context was last refreshed or recalculated.` }),
38833
38899
  MaxLength(8),
38834
38900
  __metadata("design:type", Date)
38835
38901
  ], DataContext_.prototype, "LastRefreshedAt", void 0);
@@ -39205,7 +39271,7 @@ __decorate([
39205
39271
  __metadata("design:type", Array)
39206
39272
  ], UserViewCategory_.prototype, "UserViews_CategoryIDArray", void 0);
39207
39273
  UserViewCategory_ = __decorate([
39208
- ObjectType()
39274
+ ObjectType({ description: `Organizes user-created views into categories for personal organization and sharing within teams.` })
39209
39275
  ], UserViewCategory_);
39210
39276
  export { UserViewCategory_ };
39211
39277
  let CreateUserViewCategoryInput = class CreateUserViewCategoryInput {
@@ -39530,7 +39596,7 @@ __decorate([
39530
39596
  __metadata("design:type", Array)
39531
39597
  ], DashboardCategory_.prototype, "Dashboards_CategoryIDArray", void 0);
39532
39598
  DashboardCategory_ = __decorate([
39533
- ObjectType()
39599
+ ObjectType({ description: `Organizes dashboards into logical groupings for navigation and access control, supporting hierarchical categorization.` })
39534
39600
  ], DashboardCategory_);
39535
39601
  export { DashboardCategory_ };
39536
39602
  let CreateDashboardCategoryInput = class CreateDashboardCategoryInput {
@@ -39845,7 +39911,7 @@ __decorate([
39845
39911
  __metadata("design:type", Array)
39846
39912
  ], ReportCategory_.prototype, "Reports_CategoryIDArray", void 0);
39847
39913
  ReportCategory_ = __decorate([
39848
- ObjectType()
39914
+ ObjectType({ description: `Organizes reports into logical groupings for navigation, access control, and discovery within the reporting system.` })
39849
39915
  ], ReportCategory_);
39850
39916
  export { ReportCategory_ };
39851
39917
  let CreateReportCategoryInput = class CreateReportCategoryInput {
@@ -40121,21 +40187,21 @@ __decorate([
40121
40187
  __metadata("design:type", String)
40122
40188
  ], FileStorageProvider_.prototype, "Description", void 0);
40123
40189
  __decorate([
40124
- Field(),
40190
+ Field({ description: `Identifier for the server-side driver implementation for this storage provider.` }),
40125
40191
  MaxLength(200),
40126
40192
  __metadata("design:type", String)
40127
40193
  ], FileStorageProvider_.prototype, "ServerDriverKey", void 0);
40128
40194
  __decorate([
40129
- Field(),
40195
+ Field({ description: `Identifier for the client-side driver implementation for this storage provider.` }),
40130
40196
  MaxLength(200),
40131
40197
  __metadata("design:type", String)
40132
40198
  ], FileStorageProvider_.prototype, "ClientDriverKey", void 0);
40133
40199
  __decorate([
40134
- Field(() => Int),
40200
+ Field(() => Int, { description: `Priority order for selecting storage providers, lower numbers are preferred.` }),
40135
40201
  __metadata("design:type", Number)
40136
40202
  ], FileStorageProvider_.prototype, "Priority", void 0);
40137
40203
  __decorate([
40138
- Field(() => Boolean),
40204
+ Field(() => Boolean, { description: `Whether this storage provider is currently available for use.` }),
40139
40205
  __metadata("design:type", Boolean)
40140
40206
  ], FileStorageProvider_.prototype, "IsActive", void 0);
40141
40207
  __decorate([
@@ -40153,7 +40219,7 @@ __decorate([
40153
40219
  __metadata("design:type", Array)
40154
40220
  ], FileStorageProvider_.prototype, "Files_ProviderIDArray", void 0);
40155
40221
  FileStorageProvider_ = __decorate([
40156
- ObjectType()
40222
+ ObjectType({ description: `Configures connections to file storage systems including local, cloud, and network storage with authentication and access rules.` })
40157
40223
  ], FileStorageProvider_);
40158
40224
  export { FileStorageProvider_ };
40159
40225
  let CreateFileStorageProviderInput = class CreateFileStorageProviderInput {
@@ -40445,12 +40511,12 @@ __decorate([
40445
40511
  __metadata("design:type", String)
40446
40512
  ], File_.prototype, "ProviderID", void 0);
40447
40513
  __decorate([
40448
- Field({ nullable: true }),
40514
+ Field({ nullable: true, description: `MIME type of the file content (e.g., image/jpeg, application/pdf).` }),
40449
40515
  MaxLength(510),
40450
40516
  __metadata("design:type", String)
40451
40517
  ], File_.prototype, "ContentType", void 0);
40452
40518
  __decorate([
40453
- Field({ nullable: true }),
40519
+ Field({ nullable: true, description: `Storage provider-specific identifier or path for this file.` }),
40454
40520
  MaxLength(1000),
40455
40521
  __metadata("design:type", String)
40456
40522
  ], File_.prototype, "ProviderKey", void 0);
@@ -40484,7 +40550,7 @@ __decorate([
40484
40550
  __metadata("design:type", Array)
40485
40551
  ], File_.prototype, "FileEntityRecordLinks_FileIDArray", void 0);
40486
40552
  File_ = __decorate([
40487
- ObjectType()
40553
+ ObjectType({ description: `Manages file metadata, storage locations, and access control for all files stored within or referenced by the system.` })
40488
40554
  ], File_);
40489
40555
  export { File_ };
40490
40556
  let CreateFileInput = class CreateFileInput {
@@ -40800,7 +40866,7 @@ __decorate([
40800
40866
  __metadata("design:type", Array)
40801
40867
  ], FileCategory_.prototype, "FileCategories_ParentIDArray", void 0);
40802
40868
  FileCategory_ = __decorate([
40803
- ObjectType()
40869
+ ObjectType({ description: `Organizes files into categories for classification, access control, and lifecycle management across the file storage system.` })
40804
40870
  ], FileCategory_);
40805
40871
  export { FileCategory_ };
40806
40872
  let CreateFileCategoryInput = class CreateFileCategoryInput {
@@ -41065,7 +41131,7 @@ __decorate([
41065
41131
  __metadata("design:type", String)
41066
41132
  ], FileEntityRecordLink_.prototype, "EntityID", void 0);
41067
41133
  __decorate([
41068
- Field(),
41134
+ Field({ description: `The ID of the entity record this file is attached to.` }),
41069
41135
  MaxLength(1500),
41070
41136
  __metadata("design:type", String)
41071
41137
  ], FileEntityRecordLink_.prototype, "RecordID", void 0);
@@ -41090,7 +41156,7 @@ __decorate([
41090
41156
  __metadata("design:type", String)
41091
41157
  ], FileEntityRecordLink_.prototype, "Entity", void 0);
41092
41158
  FileEntityRecordLink_ = __decorate([
41093
- ObjectType()
41159
+ ObjectType({ description: `Associates files with entity records, enabling attachment management and document relationships throughout the system.` })
41094
41160
  ], FileEntityRecordLink_);
41095
41161
  export { FileEntityRecordLink_ };
41096
41162
  let CreateFileEntityRecordLinkInput = class CreateFileEntityRecordLinkInput {
@@ -41315,15 +41381,15 @@ __decorate([
41315
41381
  __metadata("design:type", String)
41316
41382
  ], VersionInstallation_.prototype, "ID", void 0);
41317
41383
  __decorate([
41318
- Field(() => Int),
41384
+ Field(() => Int, { description: `Major version number installed.` }),
41319
41385
  __metadata("design:type", Number)
41320
41386
  ], VersionInstallation_.prototype, "MajorVersion", void 0);
41321
41387
  __decorate([
41322
- Field(() => Int),
41388
+ Field(() => Int, { description: `Minor version number installed.` }),
41323
41389
  __metadata("design:type", Number)
41324
41390
  ], VersionInstallation_.prototype, "MinorVersion", void 0);
41325
41391
  __decorate([
41326
- Field(() => Int),
41392
+ Field(() => Int, { description: `Patch version number installed.` }),
41327
41393
  __metadata("design:type", Number)
41328
41394
  ], VersionInstallation_.prototype, "PatchVersion", void 0);
41329
41395
  __decorate([
@@ -41332,7 +41398,7 @@ __decorate([
41332
41398
  __metadata("design:type", String)
41333
41399
  ], VersionInstallation_.prototype, "Type", void 0);
41334
41400
  __decorate([
41335
- Field(),
41401
+ Field({ description: `Timestamp when this version was installed.` }),
41336
41402
  MaxLength(8),
41337
41403
  __metadata("design:type", Date)
41338
41404
  ], VersionInstallation_.prototype, "InstalledAt", void 0);
@@ -41365,7 +41431,7 @@ __decorate([
41365
41431
  __metadata("design:type", String)
41366
41432
  ], VersionInstallation_.prototype, "CompleteVersion", void 0);
41367
41433
  VersionInstallation_ = __decorate([
41368
- ObjectType()
41434
+ ObjectType({ description: `Records installation history of system versions, tracking deployments, rollbacks, and version-specific configurations.` })
41369
41435
  ], VersionInstallation_);
41370
41436
  export { VersionInstallation_ };
41371
41437
  let CreateVersionInstallationInput = class CreateVersionInstallationInput {
@@ -41651,7 +41717,7 @@ __decorate([
41651
41717
  __metadata("design:type", String)
41652
41718
  ], DuplicateRunDetailMatch_.prototype, "MatchSource", void 0);
41653
41719
  __decorate([
41654
- Field(),
41720
+ Field({ description: `The ID of the record identified as a potential duplicate match.` }),
41655
41721
  MaxLength(1000),
41656
41722
  __metadata("design:type", String)
41657
41723
  ], DuplicateRunDetailMatch_.prototype, "MatchRecordID", void 0);
@@ -41660,17 +41726,17 @@ __decorate([
41660
41726
  __metadata("design:type", Number)
41661
41727
  ], DuplicateRunDetailMatch_.prototype, "MatchProbability", void 0);
41662
41728
  __decorate([
41663
- Field(),
41729
+ Field({ description: `Timestamp when this duplicate match was identified.` }),
41664
41730
  MaxLength(8),
41665
41731
  __metadata("design:type", Date)
41666
41732
  ], DuplicateRunDetailMatch_.prototype, "MatchedAt", void 0);
41667
41733
  __decorate([
41668
- Field(),
41734
+ Field({ description: `The action to take for this match (Ignore, Merge, Delete).` }),
41669
41735
  MaxLength(40),
41670
41736
  __metadata("design:type", String)
41671
41737
  ], DuplicateRunDetailMatch_.prototype, "Action", void 0);
41672
41738
  __decorate([
41673
- Field(),
41739
+ Field({ description: `Current approval status of the proposed action (Pending, Approved, Rejected).` }),
41674
41740
  MaxLength(40),
41675
41741
  __metadata("design:type", String)
41676
41742
  ], DuplicateRunDetailMatch_.prototype, "ApprovalStatus", void 0);
@@ -41680,12 +41746,12 @@ __decorate([
41680
41746
  __metadata("design:type", String)
41681
41747
  ], DuplicateRunDetailMatch_.prototype, "RecordMergeLogID", void 0);
41682
41748
  __decorate([
41683
- Field(),
41749
+ Field({ description: `Status of the merge operation if Action is Merge (Pending, Complete, Failed).` }),
41684
41750
  MaxLength(40),
41685
41751
  __metadata("design:type", String)
41686
41752
  ], DuplicateRunDetailMatch_.prototype, "MergeStatus", void 0);
41687
41753
  __decorate([
41688
- Field(),
41754
+ Field({ description: `Timestamp when records were merged, if applicable.` }),
41689
41755
  MaxLength(8),
41690
41756
  __metadata("design:type", Date)
41691
41757
  ], DuplicateRunDetailMatch_.prototype, "MergedAt", void 0);
@@ -41700,7 +41766,7 @@ __decorate([
41700
41766
  __metadata("design:type", Date)
41701
41767
  ], DuplicateRunDetailMatch_.prototype, "_mj__UpdatedAt", void 0);
41702
41768
  DuplicateRunDetailMatch_ = __decorate([
41703
- ObjectType()
41769
+ ObjectType({ description: `Records individual matching pairs of potentially duplicate records identified during a duplicate detection run with confidence scores.` })
41704
41770
  ], DuplicateRunDetailMatch_);
41705
41771
  export { DuplicateRunDetailMatch_ };
41706
41772
  let CreateDuplicateRunDetailMatchInput = class CreateDuplicateRunDetailMatchInput {
@@ -42001,7 +42067,7 @@ __decorate([
42001
42067
  __metadata("design:type", String)
42002
42068
  ], EntityDocumentSetting_.prototype, "Name", void 0);
42003
42069
  __decorate([
42004
- Field(),
42070
+ Field({ description: `JSON configuration value for this document generation setting.` }),
42005
42071
  __metadata("design:type", String)
42006
42072
  ], EntityDocumentSetting_.prototype, "Value", void 0);
42007
42073
  __decorate([
@@ -42024,7 +42090,7 @@ __decorate([
42024
42090
  __metadata("design:type", String)
42025
42091
  ], EntityDocumentSetting_.prototype, "EntityDocument", void 0);
42026
42092
  EntityDocumentSetting_ = __decorate([
42027
- ObjectType()
42093
+ ObjectType({ description: `Stores configuration for entity-specific document generation.` })
42028
42094
  ], EntityDocumentSetting_);
42029
42095
  export { EntityDocumentSetting_ };
42030
42096
  let CreateEntityDocumentSettingInput = class CreateEntityDocumentSettingInput {
@@ -42265,7 +42331,7 @@ __decorate([
42265
42331
  __metadata("design:type", String)
42266
42332
  ], EntitySetting_.prototype, "Name", void 0);
42267
42333
  __decorate([
42268
- Field(),
42334
+ Field({ description: `The configuration value for this entity setting, often in JSON format.` }),
42269
42335
  __metadata("design:type", String)
42270
42336
  ], EntitySetting_.prototype, "Value", void 0);
42271
42337
  __decorate([
@@ -42288,7 +42354,7 @@ __decorate([
42288
42354
  __metadata("design:type", String)
42289
42355
  ], EntitySetting_.prototype, "Entity", void 0);
42290
42356
  EntitySetting_ = __decorate([
42291
- ObjectType()
42357
+ ObjectType({ description: `Stores entity-specific configuration settings, allowing customization of how entities function.` })
42292
42358
  ], EntitySetting_);
42293
42359
  export { EntitySetting_ };
42294
42360
  let CreateEntitySettingInput = class CreateEntitySettingInput {
@@ -42554,12 +42620,12 @@ __decorate([
42554
42620
  __metadata("design:type", Date)
42555
42621
  ], DuplicateRun_.prototype, "EndedAt", void 0);
42556
42622
  __decorate([
42557
- Field(),
42623
+ Field({ description: `Overall approval status for the duplicate run results (Pending, Approved, Rejected).` }),
42558
42624
  MaxLength(40),
42559
42625
  __metadata("design:type", String)
42560
42626
  ], DuplicateRun_.prototype, "ApprovalStatus", void 0);
42561
42627
  __decorate([
42562
- Field({ nullable: true }),
42628
+ Field({ nullable: true, description: `Comments or notes regarding the approval decision for this duplicate run.` }),
42563
42629
  __metadata("design:type", String)
42564
42630
  ], DuplicateRun_.prototype, "ApprovalComments", void 0);
42565
42631
  __decorate([
@@ -42568,12 +42634,12 @@ __decorate([
42568
42634
  __metadata("design:type", String)
42569
42635
  ], DuplicateRun_.prototype, "ApprovedByUserID", void 0);
42570
42636
  __decorate([
42571
- Field(),
42637
+ Field({ description: `Current processing status of the duplicate detection run (Pending, Running, Complete, Failed).` }),
42572
42638
  MaxLength(40),
42573
42639
  __metadata("design:type", String)
42574
42640
  ], DuplicateRun_.prototype, "ProcessingStatus", void 0);
42575
42641
  __decorate([
42576
- Field({ nullable: true }),
42642
+ Field({ nullable: true, description: `Error details if the duplicate detection run failed.` }),
42577
42643
  __metadata("design:type", String)
42578
42644
  ], DuplicateRun_.prototype, "ProcessingErrorMessage", void 0);
42579
42645
  __decorate([
@@ -42611,7 +42677,7 @@ __decorate([
42611
42677
  __metadata("design:type", Array)
42612
42678
  ], DuplicateRun_.prototype, "DuplicateRunDetails_DuplicateRunIDArray", void 0);
42613
42679
  DuplicateRun_ = __decorate([
42614
- ObjectType()
42680
+ ObjectType({ description: `Manages execution of duplicate detection processes across entities, tracking configuration, progress, and summary results.` })
42615
42681
  ], DuplicateRun_);
42616
42682
  export { DuplicateRun_ };
42617
42683
  let CreateDuplicateRunInput = class CreateDuplicateRunInput {
@@ -42927,12 +42993,12 @@ __decorate([
42927
42993
  __metadata("design:type", String)
42928
42994
  ], DuplicateRunDetail_.prototype, "DuplicateRunID", void 0);
42929
42995
  __decorate([
42930
- Field(),
42996
+ Field({ description: `The ID of the record being analyzed for duplicates.` }),
42931
42997
  MaxLength(1000),
42932
42998
  __metadata("design:type", String)
42933
42999
  ], DuplicateRunDetail_.prototype, "RecordID", void 0);
42934
43000
  __decorate([
42935
- Field(),
43001
+ Field({ description: `Status of duplicate analysis for this record (Pending, Complete, Error).` }),
42936
43002
  MaxLength(40),
42937
43003
  __metadata("design:type", String)
42938
43004
  ], DuplicateRunDetail_.prototype, "MatchStatus", void 0);
@@ -42945,12 +43011,12 @@ __decorate([
42945
43011
  __metadata("design:type", String)
42946
43012
  ], DuplicateRunDetail_.prototype, "MatchErrorMessage", void 0);
42947
43013
  __decorate([
42948
- Field(),
43014
+ Field({ description: `Status of any merge operations for this record (Not Applicable, Pending, Complete, Failed).` }),
42949
43015
  MaxLength(40),
42950
43016
  __metadata("design:type", String)
42951
43017
  ], DuplicateRunDetail_.prototype, "MergeStatus", void 0);
42952
43018
  __decorate([
42953
- Field({ nullable: true }),
43019
+ Field({ nullable: true, description: `Error details if merge operation failed for this record.` }),
42954
43020
  __metadata("design:type", String)
42955
43021
  ], DuplicateRunDetail_.prototype, "MergeErrorMessage", void 0);
42956
43022
  __decorate([
@@ -42968,7 +43034,7 @@ __decorate([
42968
43034
  __metadata("design:type", Array)
42969
43035
  ], DuplicateRunDetail_.prototype, "DuplicateRunDetailMatches_DuplicateRunDetailIDArray", void 0);
42970
43036
  DuplicateRunDetail_ = __decorate([
42971
- ObjectType()
43037
+ ObjectType({ description: `Stores detailed results for each record analyzed in a duplicate detection run, including match status and processing metadata.` })
42972
43038
  ], DuplicateRunDetail_);
42973
43039
  export { DuplicateRunDetail_ };
42974
43040
  let CreateDuplicateRunDetailInput = class CreateDuplicateRunDetailInput {
@@ -43256,7 +43322,7 @@ __decorate([
43256
43322
  __metadata("design:type", String)
43257
43323
  ], ApplicationSetting_.prototype, "Name", void 0);
43258
43324
  __decorate([
43259
- Field(),
43325
+ Field({ description: `The setting value, can be simple text, numbers, booleans, or JSON for complex configuration objects.` }),
43260
43326
  __metadata("design:type", String)
43261
43327
  ], ApplicationSetting_.prototype, "Value", void 0);
43262
43328
  __decorate([
@@ -43279,7 +43345,7 @@ __decorate([
43279
43345
  __metadata("design:type", String)
43280
43346
  ], ApplicationSetting_.prototype, "Application", void 0);
43281
43347
  ApplicationSetting_ = __decorate([
43282
- ObjectType()
43348
+ ObjectType({ description: `Stores configuration settings and preferences for applications, including key-value pairs for runtime parameters and user-specific customizations.` })
43283
43349
  ], ApplicationSetting_);
43284
43350
  export { ApplicationSetting_ };
43285
43351
  let CreateApplicationSettingInput = class CreateApplicationSettingInput {
@@ -44654,7 +44720,7 @@ __decorate([
44654
44720
  __metadata("design:type", String)
44655
44721
  ], EntityActionInvocationType_.prototype, "Description", void 0);
44656
44722
  __decorate([
44657
- Field(() => Int),
44723
+ Field(() => Int, { description: `Order in which this invocation type appears in UI lists and menus.` }),
44658
44724
  __metadata("design:type", Number)
44659
44725
  ], EntityActionInvocationType_.prototype, "DisplaySequence", void 0);
44660
44726
  __decorate([
@@ -44956,7 +45022,7 @@ __decorate([
44956
45022
  __metadata("design:type", String)
44957
45023
  ], Action_.prototype, "Type", void 0);
44958
45024
  __decorate([
44959
- Field({ nullable: true }),
45025
+ Field({ nullable: true, description: `The natural language prompt provided by the user describing what the action should accomplish, used for AI code generation.` }),
44960
45026
  __metadata("design:type", String)
44961
45027
  ], Action_.prototype, "UserPrompt", void 0);
44962
45028
  __decorate([
@@ -44964,7 +45030,7 @@ __decorate([
44964
45030
  __metadata("design:type", String)
44965
45031
  ], Action_.prototype, "UserComments", void 0);
44966
45032
  __decorate([
44967
- Field({ nullable: true }),
45033
+ Field({ nullable: true, description: `The generated or manually written code that implements the action logic, typically TypeScript/JavaScript that will be executed.` }),
44968
45034
  __metadata("design:type", String)
44969
45035
  ], Action_.prototype, "Code", void 0);
44970
45036
  __decorate([
@@ -45898,19 +45964,19 @@ __decorate([
45898
45964
  __metadata("design:type", String)
45899
45965
  ], ActionFilter_.prototype, "ID", void 0);
45900
45966
  __decorate([
45901
- Field(),
45967
+ Field({ description: `Human-readable explanation of what this filter checks and when it should prevent action execution, written for non-technical users.` }),
45902
45968
  __metadata("design:type", String)
45903
45969
  ], ActionFilter_.prototype, "UserDescription", void 0);
45904
45970
  __decorate([
45905
- Field({ nullable: true }),
45971
+ Field({ nullable: true, description: `Additional notes or implementation details about the filter logic, including examples or edge cases to consider.` }),
45906
45972
  __metadata("design:type", String)
45907
45973
  ], ActionFilter_.prototype, "UserComments", void 0);
45908
45974
  __decorate([
45909
- Field(),
45975
+ Field({ description: `JavaScript code that evaluates to true (allow action) or false (prevent action), executed in the same context as the action.` }),
45910
45976
  __metadata("design:type", String)
45911
45977
  ], ActionFilter_.prototype, "Code", void 0);
45912
45978
  __decorate([
45913
- Field({ nullable: true }),
45979
+ Field({ nullable: true, description: `Technical documentation of the filter code logic, including expected inputs, outputs, and any dependencies or assumptions.` }),
45914
45980
  __metadata("design:type", String)
45915
45981
  ], ActionFilter_.prototype, "CodeExplanation", void 0);
45916
45982
  __decorate([
@@ -46430,7 +46496,7 @@ __decorate([
46430
46496
  __metadata("design:type", String)
46431
46497
  ], ActionResultCode_.prototype, "ActionID", void 0);
46432
46498
  __decorate([
46433
- Field(),
46499
+ Field({ description: `The unique code string returned by the action to indicate specific outcomes, used for programmatic handling of results.` }),
46434
46500
  MaxLength(510),
46435
46501
  __metadata("design:type", String)
46436
46502
  ], ActionResultCode_.prototype, "ResultCode", void 0);
@@ -46965,11 +47031,11 @@ __decorate([
46965
47031
  __metadata("design:type", Date)
46966
47032
  ], ActionExecutionLog_.prototype, "EndedAt", void 0);
46967
47033
  __decorate([
46968
- Field({ nullable: true }),
47034
+ Field({ nullable: true, description: `JSON-formatted input parameters passed to the action during execution, storing the exact values used for this specific run.` }),
46969
47035
  __metadata("design:type", String)
46970
47036
  ], ActionExecutionLog_.prototype, "Params", void 0);
46971
47037
  __decorate([
46972
- Field({ nullable: true }),
47038
+ Field({ nullable: true, description: `The outcome code returned by the action execution, indicating success, failure, or specific error conditions as defined in Action Result Codes.` }),
46973
47039
  MaxLength(510),
46974
47040
  __metadata("design:type", String)
46975
47041
  ], ActionExecutionLog_.prototype, "ResultCode", void 0);
@@ -47294,11 +47360,11 @@ __decorate([
47294
47360
  __metadata("design:type", String)
47295
47361
  ], ActionParam_.prototype, "Name", void 0);
47296
47362
  __decorate([
47297
- Field({ nullable: true }),
47363
+ Field({ nullable: true, description: `The default value for this parameter if not provided during action execution, can be a literal value or JSON for complex types.` }),
47298
47364
  __metadata("design:type", String)
47299
47365
  ], ActionParam_.prototype, "DefaultValue", void 0);
47300
47366
  __decorate([
47301
- Field(),
47367
+ Field({ description: `Specifies whether this parameter is used for Input, Output, or Both directions in the action execution flow.` }),
47302
47368
  MaxLength(20),
47303
47369
  __metadata("design:type", String)
47304
47370
  ], ActionParam_.prototype, "Type", void 0);
@@ -47308,7 +47374,7 @@ __decorate([
47308
47374
  __metadata("design:type", String)
47309
47375
  ], ActionParam_.prototype, "ValueType", void 0);
47310
47376
  __decorate([
47311
- Field(() => Boolean),
47377
+ Field(() => Boolean, { description: `Indicates whether this parameter accepts or returns an array of values rather than a single value.` }),
47312
47378
  __metadata("design:type", Boolean)
47313
47379
  ], ActionParam_.prototype, "IsArray", void 0);
47314
47380
  __decorate([
@@ -47316,7 +47382,7 @@ __decorate([
47316
47382
  __metadata("design:type", String)
47317
47383
  ], ActionParam_.prototype, "Description", void 0);
47318
47384
  __decorate([
47319
- Field(() => Boolean),
47385
+ Field(() => Boolean, { description: `Determines if this parameter must be provided for input parameters or will always be populated for output parameters.` }),
47320
47386
  __metadata("design:type", Boolean)
47321
47387
  ], ActionParam_.prototype, "IsRequired", void 0);
47322
47388
  __decorate([
@@ -48270,7 +48336,7 @@ __decorate([
48270
48336
  __metadata("design:type", Array)
48271
48337
  ], ListCategory_.prototype, "Lists_CategoryIDArray", void 0);
48272
48338
  ListCategory_ = __decorate([
48273
- ObjectType()
48339
+ ObjectType({ description: `Groups lists into categories for organization and navigation, supporting hierarchical categorization of user-created lists.` })
48274
48340
  ], ListCategory_);
48275
48341
  export { ListCategory_ };
48276
48342
  let CreateListCategoryInput = class CreateListCategoryInput {
@@ -49876,7 +49942,7 @@ __decorate([
49876
49942
  __metadata("design:type", String)
49877
49943
  ], CommunicationBaseMessageType_.prototype, "ID", void 0);
49878
49944
  __decorate([
49879
- Field(),
49945
+ Field({ description: `The unique identifier for this message type, used for routing and processing communications.` }),
49880
49946
  MaxLength(200),
49881
49947
  __metadata("design:type", String)
49882
49948
  ], CommunicationBaseMessageType_.prototype, "Type", void 0);
@@ -51266,7 +51332,7 @@ __decorate([
51266
51332
  __metadata("design:type", String)
51267
51333
  ], TemplateParam_.prototype, "DefaultValue", void 0);
51268
51334
  __decorate([
51269
- Field(() => Boolean),
51335
+ Field(() => Boolean, { description: `Whether this parameter must be provided when using the template.` }),
51270
51336
  __metadata("design:type", Boolean)
51271
51337
  ], TemplateParam_.prototype, "IsRequired", void 0);
51272
51338
  __decorate([
@@ -56840,6 +56906,8 @@ let QueryEntity_ = class QueryEntity_ {
56840
56906
  EntityID;
56841
56907
  _mj__CreatedAt;
56842
56908
  _mj__UpdatedAt;
56909
+ DetectionMethod;
56910
+ AutoDetectConfidenceScore;
56843
56911
  Query;
56844
56912
  Entity;
56845
56913
  };
@@ -56868,6 +56936,15 @@ __decorate([
56868
56936
  MaxLength(10),
56869
56937
  __metadata("design:type", Date)
56870
56938
  ], QueryEntity_.prototype, "_mj__UpdatedAt", void 0);
56939
+ __decorate([
56940
+ Field({ description: `Indicates how this entity-query relationship was identified. "AI" means the QueryEntityServer used LLM analysis to parse the SQL/template and identify which MemberJunction entities are referenced (by analyzing table names, joins, and query structure). "Manual" means a user explicitly marked this entity as being used by the query. AI detection helps maintain accurate metadata automatically as queries evolve.` }),
56941
+ MaxLength(100),
56942
+ __metadata("design:type", String)
56943
+ ], QueryEntity_.prototype, "DetectionMethod", void 0);
56944
+ __decorate([
56945
+ Field(() => Float, { nullable: true, description: `Confidence score (0.00-1.00) indicating how certain the AI was that this entity is actually used in the query. Only populated when DetectionMethod="AI". Considers factors like: direct table references vs indirect joins, clear entity names vs ambiguous aliases, and context from the query purpose. Lower scores might indicate the entity is only peripherally involved or the detection was uncertain.` }),
56946
+ __metadata("design:type", Number)
56947
+ ], QueryEntity_.prototype, "AutoDetectConfidenceScore", void 0);
56871
56948
  __decorate([
56872
56949
  Field(),
56873
56950
  MaxLength(510),
@@ -56886,6 +56963,8 @@ let CreateQueryEntityInput = class CreateQueryEntityInput {
56886
56963
  ID;
56887
56964
  QueryID;
56888
56965
  EntityID;
56966
+ DetectionMethod;
56967
+ AutoDetectConfidenceScore;
56889
56968
  };
56890
56969
  __decorate([
56891
56970
  Field({ nullable: true }),
@@ -56899,6 +56978,14 @@ __decorate([
56899
56978
  Field({ nullable: true }),
56900
56979
  __metadata("design:type", String)
56901
56980
  ], CreateQueryEntityInput.prototype, "EntityID", void 0);
56981
+ __decorate([
56982
+ Field({ nullable: true }),
56983
+ __metadata("design:type", String)
56984
+ ], CreateQueryEntityInput.prototype, "DetectionMethod", void 0);
56985
+ __decorate([
56986
+ Field(() => Float, { nullable: true }),
56987
+ __metadata("design:type", Number)
56988
+ ], CreateQueryEntityInput.prototype, "AutoDetectConfidenceScore", void 0);
56902
56989
  CreateQueryEntityInput = __decorate([
56903
56990
  InputType()
56904
56991
  ], CreateQueryEntityInput);
@@ -56907,6 +56994,8 @@ let UpdateQueryEntityInput = class UpdateQueryEntityInput {
56907
56994
  ID;
56908
56995
  QueryID;
56909
56996
  EntityID;
56997
+ DetectionMethod;
56998
+ AutoDetectConfidenceScore;
56910
56999
  OldValues___;
56911
57000
  };
56912
57001
  __decorate([
@@ -56921,6 +57010,14 @@ __decorate([
56921
57010
  Field({ nullable: true }),
56922
57011
  __metadata("design:type", String)
56923
57012
  ], UpdateQueryEntityInput.prototype, "EntityID", void 0);
57013
+ __decorate([
57014
+ Field({ nullable: true }),
57015
+ __metadata("design:type", String)
57016
+ ], UpdateQueryEntityInput.prototype, "DetectionMethod", void 0);
57017
+ __decorate([
57018
+ Field(() => Float, { nullable: true }),
57019
+ __metadata("design:type", Number)
57020
+ ], UpdateQueryEntityInput.prototype, "AutoDetectConfidenceScore", void 0);
56924
57021
  __decorate([
56925
57022
  Field(() => [KeyValuePairInput], { nullable: true }),
56926
57023
  __metadata("design:type", Array)
@@ -58880,6 +58977,362 @@ DashboardUserPreferenceResolver = __decorate([
58880
58977
  Resolver(DashboardUserPreference_)
58881
58978
  ], DashboardUserPreferenceResolver);
58882
58979
  export { DashboardUserPreferenceResolver };
58980
+ let QueryParameter_ = class QueryParameter_ {
58981
+ ID;
58982
+ QueryID;
58983
+ Name;
58984
+ Type;
58985
+ IsRequired;
58986
+ DefaultValue;
58987
+ Description;
58988
+ SampleValue;
58989
+ ValidationFilters;
58990
+ DetectionMethod;
58991
+ AutoDetectConfidenceScore;
58992
+ _mj__CreatedAt;
58993
+ _mj__UpdatedAt;
58994
+ Query;
58995
+ };
58996
+ __decorate([
58997
+ Field(),
58998
+ MaxLength(16),
58999
+ __metadata("design:type", String)
59000
+ ], QueryParameter_.prototype, "ID", void 0);
59001
+ __decorate([
59002
+ Field(),
59003
+ MaxLength(16),
59004
+ __metadata("design:type", String)
59005
+ ], QueryParameter_.prototype, "QueryID", void 0);
59006
+ __decorate([
59007
+ Field({ description: `The name of the parameter as it appears in the Nunjucks template. This must match exactly with the parameter reference in the SQL template. For example, if the template contains {{ userEmail | required | email }}, the Name would be "userEmail". Parameter names should follow JavaScript identifier rules: start with a letter, and contain only letters, numbers, and underscores.` }),
59008
+ MaxLength(510),
59009
+ __metadata("design:type", String)
59010
+ ], QueryParameter_.prototype, "Name", void 0);
59011
+ __decorate([
59012
+ Field({ description: `The data type of the parameter used for validation and type conversion. Valid values are: "string" for text values, "number" for integers or decimals, "date" for date/datetime values (ISO 8601 format expected), "boolean" for true/false values, and "array" for multiple values (typically used with IN clauses). The type determines which validation filters can be applied and how the parameter is processed.` }),
59013
+ MaxLength(100),
59014
+ __metadata("design:type", String)
59015
+ ], QueryParameter_.prototype, "Type", void 0);
59016
+ __decorate([
59017
+ Field(() => Boolean, { nullable: true, description: `Indicates whether this parameter must be provided when executing the query. When true, the query execution will fail if the parameter is not supplied and no DefaultValue is set. This is automatically determined by the presence of the "required" filter in the template, but can be manually overridden. Required parameters ensure data integrity and prevent unintended query behavior.` }),
59018
+ __metadata("design:type", Boolean)
59019
+ ], QueryParameter_.prototype, "IsRequired", void 0);
59020
+ __decorate([
59021
+ Field({ nullable: true, description: `The default value to use when the parameter is not provided during query execution. This value must be compatible with the parameter Type. For arrays, use JSON format like ["value1","value2"]. Default values allow queries to have sensible fallbacks while still accepting custom inputs. If a parameter is required (IsRequired=true), the default value is ignored.` }),
59022
+ __metadata("design:type", String)
59023
+ ], QueryParameter_.prototype, "DefaultValue", void 0);
59024
+ __decorate([
59025
+ Field({ nullable: true, description: `Human-readable description explaining the purpose and usage of this parameter. This is typically generated by LLM analysis of the query context but can be manually edited. Good descriptions include: what the parameter filters or controls, valid value ranges or formats, business meaning, and any special considerations. This text is shown in UI to help users understand what value to provide.` }),
59026
+ __metadata("design:type", String)
59027
+ ], QueryParameter_.prototype, "Description", void 0);
59028
+ __decorate([
59029
+ Field({ nullable: true, description: `A concrete example value demonstrating the proper format for this parameter. Generated by LLM based on the query context and validation filters. For example: "john@example.com" for an email parameter, "2024-01-15" for a date, or "["active","pending"]" for a status array. Sample values help users understand the expected format and can be used in API documentation.` }),
59030
+ __metadata("design:type", String)
59031
+ ], QueryParameter_.prototype, "SampleValue", void 0);
59032
+ __decorate([
59033
+ Field({ nullable: true, description: `JSON array of Nunjucks filter definitions that validate and transform the parameter value. Each filter is an object with "name" and optional "args" properties. Filters are applied in order and can include: validation (required, email, min, max), transformation (trim, upper, lower), SQL safety (sqlsafe, sqljoin), and type conversion (number, date). Example: [{"name":"required"},{"name":"email"},{"name":"sqlsafe"}]. The filter chain ensures type safety and prevents SQL injection.` }),
59034
+ __metadata("design:type", String)
59035
+ ], QueryParameter_.prototype, "ValidationFilters", void 0);
59036
+ __decorate([
59037
+ Field({ description: `Indicates how this parameter was identified and added to the system. "AI" means it was automatically detected by LLM analysis of the query template, including extraction of parameter name, type inference from filters, and generation of description. "Manual" means it was explicitly defined by a user. This helps track which parameters might need human review and provides transparency about the source of metadata.` }),
59038
+ MaxLength(100),
59039
+ __metadata("design:type", String)
59040
+ ], QueryParameter_.prototype, "DetectionMethod", void 0);
59041
+ __decorate([
59042
+ Field(() => Float, { nullable: true, description: `Confidence score (0.00-1.00) indicating how certain the AI was about this parameter detection. Only populated when DetectionMethod="AI". Higher scores indicate the LLM was more confident about the parameter name, type, and usage. Scores above 0.80 are generally reliable, 0.60-0.80 may benefit from human review, and below 0.60 should be manually verified. This helps prioritize which auto-detected parameters need human attention.` }),
59043
+ __metadata("design:type", Number)
59044
+ ], QueryParameter_.prototype, "AutoDetectConfidenceScore", void 0);
59045
+ __decorate([
59046
+ Field(),
59047
+ MaxLength(10),
59048
+ __metadata("design:type", Date)
59049
+ ], QueryParameter_.prototype, "_mj__CreatedAt", void 0);
59050
+ __decorate([
59051
+ Field(),
59052
+ MaxLength(10),
59053
+ __metadata("design:type", Date)
59054
+ ], QueryParameter_.prototype, "_mj__UpdatedAt", void 0);
59055
+ __decorate([
59056
+ Field(),
59057
+ MaxLength(510),
59058
+ __metadata("design:type", String)
59059
+ ], QueryParameter_.prototype, "Query", void 0);
59060
+ QueryParameter_ = __decorate([
59061
+ ObjectType({ description: `Stores parameter definitions for parameterized queries that use Nunjucks templates. Each parameter represents a dynamic value that can be passed when executing the query. Parameters are automatically extracted from the query template by the QueryEntityServer using LLM analysis, or can be manually defined. The combination of parameter metadata and validation filters creates a self-documenting, type-safe query execution system.` })
59062
+ ], QueryParameter_);
59063
+ export { QueryParameter_ };
59064
+ let CreateQueryParameterInput = class CreateQueryParameterInput {
59065
+ ID;
59066
+ QueryID;
59067
+ Name;
59068
+ Type;
59069
+ IsRequired;
59070
+ DefaultValue;
59071
+ Description;
59072
+ SampleValue;
59073
+ ValidationFilters;
59074
+ DetectionMethod;
59075
+ AutoDetectConfidenceScore;
59076
+ };
59077
+ __decorate([
59078
+ Field({ nullable: true }),
59079
+ __metadata("design:type", String)
59080
+ ], CreateQueryParameterInput.prototype, "ID", void 0);
59081
+ __decorate([
59082
+ Field({ nullable: true }),
59083
+ __metadata("design:type", String)
59084
+ ], CreateQueryParameterInput.prototype, "QueryID", void 0);
59085
+ __decorate([
59086
+ Field({ nullable: true }),
59087
+ __metadata("design:type", String)
59088
+ ], CreateQueryParameterInput.prototype, "Name", void 0);
59089
+ __decorate([
59090
+ Field({ nullable: true }),
59091
+ __metadata("design:type", String)
59092
+ ], CreateQueryParameterInput.prototype, "Type", void 0);
59093
+ __decorate([
59094
+ Field(() => Boolean, { nullable: true }),
59095
+ __metadata("design:type", Boolean)
59096
+ ], CreateQueryParameterInput.prototype, "IsRequired", void 0);
59097
+ __decorate([
59098
+ Field({ nullable: true }),
59099
+ __metadata("design:type", String)
59100
+ ], CreateQueryParameterInput.prototype, "DefaultValue", void 0);
59101
+ __decorate([
59102
+ Field({ nullable: true }),
59103
+ __metadata("design:type", String)
59104
+ ], CreateQueryParameterInput.prototype, "Description", void 0);
59105
+ __decorate([
59106
+ Field({ nullable: true }),
59107
+ __metadata("design:type", String)
59108
+ ], CreateQueryParameterInput.prototype, "SampleValue", void 0);
59109
+ __decorate([
59110
+ Field({ nullable: true }),
59111
+ __metadata("design:type", String)
59112
+ ], CreateQueryParameterInput.prototype, "ValidationFilters", void 0);
59113
+ __decorate([
59114
+ Field({ nullable: true }),
59115
+ __metadata("design:type", String)
59116
+ ], CreateQueryParameterInput.prototype, "DetectionMethod", void 0);
59117
+ __decorate([
59118
+ Field(() => Float, { nullable: true }),
59119
+ __metadata("design:type", Number)
59120
+ ], CreateQueryParameterInput.prototype, "AutoDetectConfidenceScore", void 0);
59121
+ CreateQueryParameterInput = __decorate([
59122
+ InputType()
59123
+ ], CreateQueryParameterInput);
59124
+ export { CreateQueryParameterInput };
59125
+ let UpdateQueryParameterInput = class UpdateQueryParameterInput {
59126
+ ID;
59127
+ QueryID;
59128
+ Name;
59129
+ Type;
59130
+ IsRequired;
59131
+ DefaultValue;
59132
+ Description;
59133
+ SampleValue;
59134
+ ValidationFilters;
59135
+ DetectionMethod;
59136
+ AutoDetectConfidenceScore;
59137
+ OldValues___;
59138
+ };
59139
+ __decorate([
59140
+ Field(),
59141
+ __metadata("design:type", String)
59142
+ ], UpdateQueryParameterInput.prototype, "ID", void 0);
59143
+ __decorate([
59144
+ Field({ nullable: true }),
59145
+ __metadata("design:type", String)
59146
+ ], UpdateQueryParameterInput.prototype, "QueryID", void 0);
59147
+ __decorate([
59148
+ Field({ nullable: true }),
59149
+ __metadata("design:type", String)
59150
+ ], UpdateQueryParameterInput.prototype, "Name", void 0);
59151
+ __decorate([
59152
+ Field({ nullable: true }),
59153
+ __metadata("design:type", String)
59154
+ ], UpdateQueryParameterInput.prototype, "Type", void 0);
59155
+ __decorate([
59156
+ Field(() => Boolean, { nullable: true }),
59157
+ __metadata("design:type", Boolean)
59158
+ ], UpdateQueryParameterInput.prototype, "IsRequired", void 0);
59159
+ __decorate([
59160
+ Field({ nullable: true }),
59161
+ __metadata("design:type", String)
59162
+ ], UpdateQueryParameterInput.prototype, "DefaultValue", void 0);
59163
+ __decorate([
59164
+ Field({ nullable: true }),
59165
+ __metadata("design:type", String)
59166
+ ], UpdateQueryParameterInput.prototype, "Description", void 0);
59167
+ __decorate([
59168
+ Field({ nullable: true }),
59169
+ __metadata("design:type", String)
59170
+ ], UpdateQueryParameterInput.prototype, "SampleValue", void 0);
59171
+ __decorate([
59172
+ Field({ nullable: true }),
59173
+ __metadata("design:type", String)
59174
+ ], UpdateQueryParameterInput.prototype, "ValidationFilters", void 0);
59175
+ __decorate([
59176
+ Field({ nullable: true }),
59177
+ __metadata("design:type", String)
59178
+ ], UpdateQueryParameterInput.prototype, "DetectionMethod", void 0);
59179
+ __decorate([
59180
+ Field(() => Float, { nullable: true }),
59181
+ __metadata("design:type", Number)
59182
+ ], UpdateQueryParameterInput.prototype, "AutoDetectConfidenceScore", void 0);
59183
+ __decorate([
59184
+ Field(() => [KeyValuePairInput], { nullable: true }),
59185
+ __metadata("design:type", Array)
59186
+ ], UpdateQueryParameterInput.prototype, "OldValues___", void 0);
59187
+ UpdateQueryParameterInput = __decorate([
59188
+ InputType()
59189
+ ], UpdateQueryParameterInput);
59190
+ export { UpdateQueryParameterInput };
59191
+ let RunQueryParameterViewResult = class RunQueryParameterViewResult {
59192
+ Results;
59193
+ UserViewRunID;
59194
+ RowCount;
59195
+ TotalRowCount;
59196
+ ExecutionTime;
59197
+ ErrorMessage;
59198
+ Success;
59199
+ };
59200
+ __decorate([
59201
+ Field(() => [QueryParameter_]),
59202
+ __metadata("design:type", Array)
59203
+ ], RunQueryParameterViewResult.prototype, "Results", void 0);
59204
+ __decorate([
59205
+ Field(() => String, { nullable: true }),
59206
+ __metadata("design:type", String)
59207
+ ], RunQueryParameterViewResult.prototype, "UserViewRunID", void 0);
59208
+ __decorate([
59209
+ Field(() => Int, { nullable: true }),
59210
+ __metadata("design:type", Number)
59211
+ ], RunQueryParameterViewResult.prototype, "RowCount", void 0);
59212
+ __decorate([
59213
+ Field(() => Int, { nullable: true }),
59214
+ __metadata("design:type", Number)
59215
+ ], RunQueryParameterViewResult.prototype, "TotalRowCount", void 0);
59216
+ __decorate([
59217
+ Field(() => Int, { nullable: true }),
59218
+ __metadata("design:type", Number)
59219
+ ], RunQueryParameterViewResult.prototype, "ExecutionTime", void 0);
59220
+ __decorate([
59221
+ Field({ nullable: true }),
59222
+ __metadata("design:type", String)
59223
+ ], RunQueryParameterViewResult.prototype, "ErrorMessage", void 0);
59224
+ __decorate([
59225
+ Field(() => Boolean, { nullable: false }),
59226
+ __metadata("design:type", Boolean)
59227
+ ], RunQueryParameterViewResult.prototype, "Success", void 0);
59228
+ RunQueryParameterViewResult = __decorate([
59229
+ ObjectType()
59230
+ ], RunQueryParameterViewResult);
59231
+ export { RunQueryParameterViewResult };
59232
+ let QueryParameterResolver = class QueryParameterResolver extends ResolverBase {
59233
+ async RunQueryParameterViewByID(input, { dataSources, userPayload }, pubSub) {
59234
+ const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
59235
+ return super.RunViewByIDGeneric(input, connPool, userPayload, pubSub);
59236
+ }
59237
+ async RunQueryParameterViewByName(input, { dataSources, userPayload }, pubSub) {
59238
+ const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
59239
+ return super.RunViewByNameGeneric(input, connPool, userPayload, pubSub);
59240
+ }
59241
+ async RunQueryParameterDynamicView(input, { dataSources, userPayload }, pubSub) {
59242
+ const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
59243
+ input.EntityName = 'MJ: Query Parameters';
59244
+ return super.RunDynamicViewGeneric(input, connPool, userPayload, pubSub);
59245
+ }
59246
+ async QueryParameter(ID, { dataSources, userPayload }, pubSub) {
59247
+ this.CheckUserReadPermissions('MJ: Query Parameters', userPayload);
59248
+ const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
59249
+ const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwQueryParameters] WHERE [ID]='${ID}' ` + this.getRowLevelSecurityWhereClause('MJ: Query Parameters', userPayload, EntityPermissionType.Read, 'AND');
59250
+ const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
59251
+ const result = this.MapFieldNamesToCodeNames('MJ: Query Parameters', rows && rows.length > 0 ? rows[0] : {});
59252
+ return result;
59253
+ }
59254
+ async CreateQueryParameter(input, { dataSources, userPayload }, pubSub) {
59255
+ const connPool = GetReadWriteDataSource(dataSources);
59256
+ return this.CreateRecord('MJ: Query Parameters', input, connPool, userPayload, pubSub);
59257
+ }
59258
+ async UpdateQueryParameter(input, { dataSources, userPayload }, pubSub) {
59259
+ const connPool = GetReadWriteDataSource(dataSources);
59260
+ return this.UpdateRecord('MJ: Query Parameters', input, connPool, userPayload, pubSub);
59261
+ }
59262
+ async DeleteQueryParameter(ID, options, { dataSources, userPayload }, pubSub) {
59263
+ const connPool = GetReadWriteDataSource(dataSources);
59264
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
59265
+ return this.DeleteRecord('MJ: Query Parameters', key, options, connPool, userPayload, pubSub);
59266
+ }
59267
+ };
59268
+ __decorate([
59269
+ Query(() => RunQueryParameterViewResult),
59270
+ __param(0, Arg('input', () => RunViewByIDInput)),
59271
+ __param(1, Ctx()),
59272
+ __param(2, PubSub()),
59273
+ __metadata("design:type", Function),
59274
+ __metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
59275
+ __metadata("design:returntype", Promise)
59276
+ ], QueryParameterResolver.prototype, "RunQueryParameterViewByID", null);
59277
+ __decorate([
59278
+ Query(() => RunQueryParameterViewResult),
59279
+ __param(0, Arg('input', () => RunViewByNameInput)),
59280
+ __param(1, Ctx()),
59281
+ __param(2, PubSub()),
59282
+ __metadata("design:type", Function),
59283
+ __metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
59284
+ __metadata("design:returntype", Promise)
59285
+ ], QueryParameterResolver.prototype, "RunQueryParameterViewByName", null);
59286
+ __decorate([
59287
+ Query(() => RunQueryParameterViewResult),
59288
+ __param(0, Arg('input', () => RunDynamicViewInput)),
59289
+ __param(1, Ctx()),
59290
+ __param(2, PubSub()),
59291
+ __metadata("design:type", Function),
59292
+ __metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
59293
+ __metadata("design:returntype", Promise)
59294
+ ], QueryParameterResolver.prototype, "RunQueryParameterDynamicView", null);
59295
+ __decorate([
59296
+ Query(() => QueryParameter_, { nullable: true }),
59297
+ __param(0, Arg('ID', () => String)),
59298
+ __param(1, Ctx()),
59299
+ __param(2, PubSub()),
59300
+ __metadata("design:type", Function),
59301
+ __metadata("design:paramtypes", [String, Object, PubSubEngine]),
59302
+ __metadata("design:returntype", Promise)
59303
+ ], QueryParameterResolver.prototype, "QueryParameter", null);
59304
+ __decorate([
59305
+ Mutation(() => QueryParameter_),
59306
+ __param(0, Arg('input', () => CreateQueryParameterInput)),
59307
+ __param(1, Ctx()),
59308
+ __param(2, PubSub()),
59309
+ __metadata("design:type", Function),
59310
+ __metadata("design:paramtypes", [CreateQueryParameterInput, Object, PubSubEngine]),
59311
+ __metadata("design:returntype", Promise)
59312
+ ], QueryParameterResolver.prototype, "CreateQueryParameter", null);
59313
+ __decorate([
59314
+ Mutation(() => QueryParameter_),
59315
+ __param(0, Arg('input', () => UpdateQueryParameterInput)),
59316
+ __param(1, Ctx()),
59317
+ __param(2, PubSub()),
59318
+ __metadata("design:type", Function),
59319
+ __metadata("design:paramtypes", [UpdateQueryParameterInput, Object, PubSubEngine]),
59320
+ __metadata("design:returntype", Promise)
59321
+ ], QueryParameterResolver.prototype, "UpdateQueryParameter", null);
59322
+ __decorate([
59323
+ Mutation(() => QueryParameter_),
59324
+ __param(0, Arg('ID', () => String)),
59325
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
59326
+ __param(2, Ctx()),
59327
+ __param(3, PubSub()),
59328
+ __metadata("design:type", Function),
59329
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
59330
+ __metadata("design:returntype", Promise)
59331
+ ], QueryParameterResolver.prototype, "DeleteQueryParameter", null);
59332
+ QueryParameterResolver = __decorate([
59333
+ Resolver(QueryParameter_)
59334
+ ], QueryParameterResolver);
59335
+ export { QueryParameterResolver };
58883
59336
  let ContentProcessRun_ = class ContentProcessRun_ {
58884
59337
  ID;
58885
59338
  SourceID;
@@ -58902,12 +59355,12 @@ __decorate([
58902
59355
  __metadata("design:type", String)
58903
59356
  ], ContentProcessRun_.prototype, "SourceID", void 0);
58904
59357
  __decorate([
58905
- Field({ nullable: true }),
59358
+ Field({ nullable: true, description: `Timestamp when the content processing workflow began execution.` }),
58906
59359
  MaxLength(8),
58907
59360
  __metadata("design:type", Date)
58908
59361
  ], ContentProcessRun_.prototype, "StartTime", void 0);
58909
59362
  __decorate([
58910
- Field({ nullable: true }),
59363
+ Field({ nullable: true, description: `Timestamp when the content processing workflow completed or failed.` }),
58911
59364
  MaxLength(8),
58912
59365
  __metadata("design:type", Date)
58913
59366
  ], ContentProcessRun_.prototype, "EndTime", void 0);
@@ -58917,7 +59370,7 @@ __decorate([
58917
59370
  __metadata("design:type", String)
58918
59371
  ], ContentProcessRun_.prototype, "Status", void 0);
58919
59372
  __decorate([
58920
- Field(() => Int, { nullable: true }),
59373
+ Field(() => Int, { nullable: true, description: `Count of content items successfully processed during this run.` }),
58921
59374
  __metadata("design:type", Number)
58922
59375
  ], ContentProcessRun_.prototype, "ProcessedItems", void 0);
58923
59376
  __decorate([
@@ -58936,7 +59389,7 @@ __decorate([
58936
59389
  __metadata("design:type", String)
58937
59390
  ], ContentProcessRun_.prototype, "Source", void 0);
58938
59391
  ContentProcessRun_ = __decorate([
58939
- ObjectType()
59392
+ ObjectType({ description: `Tracks execution of content tagging workflows, logging the status and details of each execution and ensuring efficient processing of content.` })
58940
59393
  ], ContentProcessRun_);
58941
59394
  export { ContentProcessRun_ };
58942
59395
  let CreateContentProcessRunInput = class CreateContentProcessRunInput {
@@ -59203,7 +59656,7 @@ __decorate([
59203
59656
  __metadata("design:type", String)
59204
59657
  ], ContentSource_.prototype, "ContentFileTypeID", void 0);
59205
59658
  __decorate([
59206
- Field(),
59659
+ Field({ description: `Base URL or connection string for accessing this content source.` }),
59207
59660
  MaxLength(4000),
59208
59661
  __metadata("design:type", String)
59209
59662
  ], ContentSource_.prototype, "URL", void 0);
@@ -59245,7 +59698,7 @@ __decorate([
59245
59698
  __metadata("design:type", Array)
59246
59699
  ], ContentSource_.prototype, "ContentItems_ContentSourceIDArray", void 0);
59247
59700
  ContentSource_ = __decorate([
59248
- ObjectType()
59701
+ ObjectType({ description: `Configures connections to external content repositories and systems from which content is imported, synchronized, and tagged.` })
59249
59702
  ], ContentSource_);
59250
59703
  export { ContentSource_ };
59251
59704
  let CreateContentSourceInput = class CreateContentSourceInput {
@@ -59541,12 +59994,12 @@ __decorate([
59541
59994
  __metadata("design:type", String)
59542
59995
  ], ContentSourceParam_.prototype, "ContentSourceID", void 0);
59543
59996
  __decorate([
59544
- Field(),
59997
+ Field({ description: `Reference to the parameter definition in Content Source Type Params.` }),
59545
59998
  MaxLength(16),
59546
59999
  __metadata("design:type", String)
59547
60000
  ], ContentSourceParam_.prototype, "ContentSourceTypeParamID", void 0);
59548
60001
  __decorate([
59549
- Field(),
60002
+ Field({ description: `The configured value for this parameter on this specific content source.` }),
59550
60003
  __metadata("design:type", String)
59551
60004
  ], ContentSourceParam_.prototype, "Value", void 0);
59552
60005
  __decorate([
@@ -59565,7 +60018,7 @@ __decorate([
59565
60018
  __metadata("design:type", String)
59566
60019
  ], ContentSourceParam_.prototype, "ContentSource", void 0);
59567
60020
  ContentSourceParam_ = __decorate([
59568
- ObjectType()
60021
+ ObjectType({ description: `Stores configuration parameters for specific content source instances, customizing how content is retrieved and processed from each source.` })
59569
60022
  ], ContentSourceParam_);
59570
60023
  export { ContentSourceParam_ };
59571
60024
  let CreateContentSourceParamInput = class CreateContentSourceParamInput {
@@ -59813,7 +60266,7 @@ __decorate([
59813
60266
  __metadata("design:type", Array)
59814
60267
  ], ContentSourceType_.prototype, "ContentItems_ContentSourceTypeIDArray", void 0);
59815
60268
  ContentSourceType_ = __decorate([
59816
- ObjectType()
60269
+ ObjectType({ description: `Catalogs available content source types such as file systems, APIs, websites, databases, and cloud storage platforms with their capabilities.` })
59817
60270
  ], ContentSourceType_);
59818
60271
  export { ContentSourceType_ };
59819
60272
  let CreateContentSourceTypeInput = class CreateContentSourceTypeInput {
@@ -60067,16 +60520,16 @@ __decorate([
60067
60520
  __metadata("design:type", String)
60068
60521
  ], ContentSourceTypeParam_.prototype, "Description", void 0);
60069
60522
  __decorate([
60070
- Field({ nullable: true }),
60523
+ Field({ nullable: true, description: `Data type of the parameter (string, number, boolean, date, etc.).` }),
60071
60524
  MaxLength(100),
60072
60525
  __metadata("design:type", String)
60073
60526
  ], ContentSourceTypeParam_.prototype, "Type", void 0);
60074
60527
  __decorate([
60075
- Field({ nullable: true }),
60528
+ Field({ nullable: true, description: `Default value to use if not specified when configuring a content source.` }),
60076
60529
  __metadata("design:type", String)
60077
60530
  ], ContentSourceTypeParam_.prototype, "DefaultValue", void 0);
60078
60531
  __decorate([
60079
- Field(() => Boolean),
60532
+ Field(() => Boolean, { description: `Indicates whether this parameter must be provided when setting up a content source.` }),
60080
60533
  __metadata("design:type", Boolean)
60081
60534
  ], ContentSourceTypeParam_.prototype, "IsRequired", void 0);
60082
60535
  __decorate([
@@ -60090,7 +60543,7 @@ __decorate([
60090
60543
  __metadata("design:type", Date)
60091
60544
  ], ContentSourceTypeParam_.prototype, "_mj__UpdatedAt", void 0);
60092
60545
  ContentSourceTypeParam_ = __decorate([
60093
- ObjectType()
60546
+ ObjectType({ description: `Defines required and optional parameters for content source types, establishing the configuration for each source type.` })
60094
60547
  ], ContentSourceTypeParam_);
60095
60548
  export { ContentSourceTypeParam_ };
60096
60549
  let CreateContentSourceTypeParamInput = class CreateContentSourceTypeParamInput {
@@ -60348,11 +60801,11 @@ __decorate([
60348
60801
  __metadata("design:type", String)
60349
60802
  ], ContentType_.prototype, "AIModelID", void 0);
60350
60803
  __decorate([
60351
- Field(() => Int),
60804
+ Field(() => Int, { description: `Minimum number of tags that must be applied to content of this type.` }),
60352
60805
  __metadata("design:type", Number)
60353
60806
  ], ContentType_.prototype, "MinTags", void 0);
60354
60807
  __decorate([
60355
- Field(() => Int),
60808
+ Field(() => Int, { description: `Maximum number of tags allowed on content of this type.` }),
60356
60809
  __metadata("design:type", Number)
60357
60810
  ], ContentType_.prototype, "MaxTags", void 0);
60358
60811
  __decorate([
@@ -60379,7 +60832,7 @@ __decorate([
60379
60832
  __metadata("design:type", Array)
60380
60833
  ], ContentType_.prototype, "ContentItems_ContentTypeIDArray", void 0);
60381
60834
  ContentType_ = __decorate([
60382
- ObjectType()
60835
+ ObjectType({ description: `Defines categories of content with specific schemas, behaviors, and processing rules for structured content management.` })
60383
60836
  ], ContentType_);
60384
60837
  export { ContentType_ };
60385
60838
  let CreateContentTypeInput = class CreateContentTypeInput {
@@ -60653,7 +61106,7 @@ __decorate([
60653
61106
  __metadata("design:type", String)
60654
61107
  ], ContentTypeAttribute_.prototype, "ID", void 0);
60655
61108
  __decorate([
60656
- Field(),
61109
+ Field({ description: `Reference to the Content Type this attribute belongs to.` }),
60657
61110
  MaxLength(16),
60658
61111
  __metadata("design:type", String)
60659
61112
  ], ContentTypeAttribute_.prototype, "ContentTypeID", void 0);
@@ -60663,7 +61116,7 @@ __decorate([
60663
61116
  __metadata("design:type", String)
60664
61117
  ], ContentTypeAttribute_.prototype, "Name", void 0);
60665
61118
  __decorate([
60666
- Field(),
61119
+ Field({ description: `The AI prompt template used to extract this attribute from content.` }),
60667
61120
  __metadata("design:type", String)
60668
61121
  ], ContentTypeAttribute_.prototype, "Prompt", void 0);
60669
61122
  __decorate([
@@ -60681,7 +61134,7 @@ __decorate([
60681
61134
  __metadata("design:type", Date)
60682
61135
  ], ContentTypeAttribute_.prototype, "_mj__UpdatedAt", void 0);
60683
61136
  ContentTypeAttribute_ = __decorate([
60684
- ObjectType()
61137
+ ObjectType({ description: `Defines the attributes available for extraction via prompt for each content type.` })
60685
61138
  ], ContentTypeAttribute_);
60686
61139
  export { ContentTypeAttribute_ };
60687
61140
  let CreateContentTypeAttributeInput = class CreateContentTypeAttributeInput {
@@ -60916,7 +61369,7 @@ __decorate([
60916
61369
  __metadata("design:type", String)
60917
61370
  ], ContentFileType_.prototype, "Name", void 0);
60918
61371
  __decorate([
60919
- Field({ nullable: true }),
61372
+ Field({ nullable: true, description: `The file extension (e.g., .pdf, .docx, .jpg) used to identify this content type.` }),
60920
61373
  MaxLength(510),
60921
61374
  __metadata("design:type", String)
60922
61375
  ], ContentFileType_.prototype, "FileExtension", void 0);
@@ -60939,7 +61392,7 @@ __decorate([
60939
61392
  __metadata("design:type", Array)
60940
61393
  ], ContentFileType_.prototype, "ContentItems_ContentFileTypeIDArray", void 0);
60941
61394
  ContentFileType_ = __decorate([
60942
- ObjectType()
61395
+ ObjectType({ description: `Defines supported file types for content management, including extensions and processing rules for different content formats.` })
60943
61396
  ], ContentFileType_);
60944
61397
  export { ContentFileType_ };
60945
61398
  let CreateContentFileTypeInput = class CreateContentFileTypeInput {
@@ -61223,17 +61676,17 @@ __decorate([
61223
61676
  __metadata("design:type", String)
61224
61677
  ], ContentItem_.prototype, "ContentFileTypeID", void 0);
61225
61678
  __decorate([
61226
- Field({ nullable: true }),
61679
+ Field({ nullable: true, description: `Hash value of the content used to detect changes and prevent duplicate processing.` }),
61227
61680
  MaxLength(200),
61228
61681
  __metadata("design:type", String)
61229
61682
  ], ContentItem_.prototype, "Checksum", void 0);
61230
61683
  __decorate([
61231
- Field(),
61684
+ Field({ description: `The source location URL where this content was retrieved from.` }),
61232
61685
  MaxLength(4000),
61233
61686
  __metadata("design:type", String)
61234
61687
  ], ContentItem_.prototype, "URL", void 0);
61235
61688
  __decorate([
61236
- Field({ nullable: true }),
61689
+ Field({ nullable: true, description: `The extracted text content from the source document or file.` }),
61237
61690
  __metadata("design:type", String)
61238
61691
  ], ContentItem_.prototype, "Text", void 0);
61239
61692
  __decorate([
@@ -61275,7 +61728,7 @@ __decorate([
61275
61728
  __metadata("design:type", Array)
61276
61729
  ], ContentItem_.prototype, "ContentItemTags_ItemIDArray", void 0);
61277
61730
  ContentItem_ = __decorate([
61278
- ObjectType()
61731
+ ObjectType({ description: `Stores extracted text from content assets, as well as the source location, versioning, and links to extracted tags and attributes.` })
61279
61732
  ], ContentItem_);
61280
61733
  export { ContentItem_ };
61281
61734
  let CreateContentItemInput = class CreateContentItemInput {
@@ -61599,7 +62052,7 @@ __decorate([
61599
62052
  __metadata("design:type", String)
61600
62053
  ], ContentItemAttribute_.prototype, "Name", void 0);
61601
62054
  __decorate([
61602
- Field(),
62055
+ Field({ description: `The extracted or assigned value for this attribute on the content item.` }),
61603
62056
  __metadata("design:type", String)
61604
62057
  ], ContentItemAttribute_.prototype, "Value", void 0);
61605
62058
  __decorate([
@@ -61618,7 +62071,7 @@ __decorate([
61618
62071
  __metadata("design:type", String)
61619
62072
  ], ContentItemAttribute_.prototype, "ContentItem", void 0);
61620
62073
  ContentItemAttribute_ = __decorate([
61621
- ObjectType()
62074
+ ObjectType({ description: `Stores metadata attributes extracted with prompting for content items, enabling flexible key-value properties and custom fields for content classification.` })
61622
62075
  ], ContentItemAttribute_);
61623
62076
  export { ContentItemAttribute_ };
61624
62077
  let CreateContentItemAttributeInput = class CreateContentItemAttributeInput {
@@ -61842,7 +62295,7 @@ __decorate([
61842
62295
  __metadata("design:type", String)
61843
62296
  ], ContentItemTag_.prototype, "ItemID", void 0);
61844
62297
  __decorate([
61845
- Field(),
62298
+ Field({ description: `The tag text applied to the content item for categorization and search.` }),
61846
62299
  MaxLength(400),
61847
62300
  __metadata("design:type", String)
61848
62301
  ], ContentItemTag_.prototype, "Tag", void 0);
@@ -61862,7 +62315,7 @@ __decorate([
61862
62315
  __metadata("design:type", String)
61863
62316
  ], ContentItemTag_.prototype, "Item", void 0);
61864
62317
  ContentItemTag_ = __decorate([
61865
- ObjectType()
62318
+ ObjectType({ description: `Links tags to content items for categorization, searchability, and content discovery across the system.` })
61866
62319
  ], ContentItemTag_);
61867
62320
  export { ContentItemTag_ };
61868
62321
  let CreateContentItemTagInput = class CreateContentItemTagInput {
@@ -62119,7 +62572,7 @@ __decorate([
62119
62572
  __metadata("design:type", String)
62120
62573
  ], GeneratedCode_.prototype, "LinkedEntityID", void 0);
62121
62574
  __decorate([
62122
- Field({ nullable: true }),
62575
+ Field({ nullable: true, description: `JSON containing the primary key(s) of the record this generated code is associated with.` }),
62123
62576
  __metadata("design:type", String)
62124
62577
  ], GeneratedCode_.prototype, "LinkedRecordPrimaryKey", void 0);
62125
62578
  __decorate([
@@ -62504,6 +62957,7 @@ let AIPromptRun_ = class AIPromptRun_ {
62504
62957
  OriginalModelID;
62505
62958
  OriginalRequestStartTime;
62506
62959
  TotalFailoverDuration;
62960
+ RerunFromPromptRunID;
62507
62961
  Prompt;
62508
62962
  Model;
62509
62963
  Vendor;
@@ -62776,6 +63230,11 @@ __decorate([
62776
63230
  Field(() => Int, { nullable: true, description: `Total time spent in failover attempts in milliseconds` }),
62777
63231
  __metadata("design:type", Number)
62778
63232
  ], AIPromptRun_.prototype, "TotalFailoverDuration", void 0);
63233
+ __decorate([
63234
+ Field({ nullable: true, description: `If this run was initiated as a re-run of another prompt run, this field links back to the original run ID` }),
63235
+ MaxLength(16),
63236
+ __metadata("design:type", String)
63237
+ ], AIPromptRun_.prototype, "RerunFromPromptRunID", void 0);
62779
63238
  __decorate([
62780
63239
  Field(),
62781
63240
  MaxLength(510),
@@ -62877,6 +63336,7 @@ let CreateAIPromptRunInput = class CreateAIPromptRunInput {
62877
63336
  OriginalModelID;
62878
63337
  OriginalRequestStartTime;
62879
63338
  TotalFailoverDuration;
63339
+ RerunFromPromptRunID;
62880
63340
  };
62881
63341
  __decorate([
62882
63342
  Field({ nullable: true }),
@@ -63110,6 +63570,10 @@ __decorate([
63110
63570
  Field(() => Int, { nullable: true }),
63111
63571
  __metadata("design:type", Number)
63112
63572
  ], CreateAIPromptRunInput.prototype, "TotalFailoverDuration", void 0);
63573
+ __decorate([
63574
+ Field({ nullable: true }),
63575
+ __metadata("design:type", String)
63576
+ ], CreateAIPromptRunInput.prototype, "RerunFromPromptRunID", void 0);
63113
63577
  CreateAIPromptRunInput = __decorate([
63114
63578
  InputType()
63115
63579
  ], CreateAIPromptRunInput);
@@ -63173,6 +63637,7 @@ let UpdateAIPromptRunInput = class UpdateAIPromptRunInput {
63173
63637
  OriginalModelID;
63174
63638
  OriginalRequestStartTime;
63175
63639
  TotalFailoverDuration;
63640
+ RerunFromPromptRunID;
63176
63641
  OldValues___;
63177
63642
  };
63178
63643
  __decorate([
@@ -63407,6 +63872,10 @@ __decorate([
63407
63872
  Field(() => Int, { nullable: true }),
63408
63873
  __metadata("design:type", Number)
63409
63874
  ], UpdateAIPromptRunInput.prototype, "TotalFailoverDuration", void 0);
63875
+ __decorate([
63876
+ Field({ nullable: true }),
63877
+ __metadata("design:type", String)
63878
+ ], UpdateAIPromptRunInput.prototype, "RerunFromPromptRunID", void 0);
63410
63879
  __decorate([
63411
63880
  Field(() => [KeyValuePairInput], { nullable: true }),
63412
63881
  __metadata("design:type", Array)