@memberjunction/server 2.56.0 → 2.58.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.
@@ -3243,6 +3243,7 @@ let AIAgent_ = class AIAgent_ {
3243
3243
  Status;
3244
3244
  DriverClass;
3245
3245
  IconClass;
3246
+ ModelSelectionMode;
3246
3247
  Parent;
3247
3248
  ContextCompressionPrompt;
3248
3249
  Type;
@@ -3341,6 +3342,11 @@ __decorate([
3341
3342
  MaxLength(200),
3342
3343
  __metadata("design:type", String)
3343
3344
  ], AIAgent_.prototype, "IconClass", void 0);
3345
+ __decorate([
3346
+ Field({ description: `Controls whether model selection is driven by the Agent Type's system prompt or the Agent's specific prompt. Default is Agent Type for backward compatibility.` }),
3347
+ MaxLength(100),
3348
+ __metadata("design:type", String)
3349
+ ], AIAgent_.prototype, "ModelSelectionMode", void 0);
3344
3350
  __decorate([
3345
3351
  Field({ nullable: true }),
3346
3352
  MaxLength(510),
@@ -3417,6 +3423,7 @@ let CreateAIAgentInput = class CreateAIAgentInput {
3417
3423
  Status;
3418
3424
  DriverClass;
3419
3425
  IconClass;
3426
+ ModelSelectionMode;
3420
3427
  };
3421
3428
  __decorate([
3422
3429
  Field({ nullable: true }),
@@ -3482,6 +3489,10 @@ __decorate([
3482
3489
  Field({ nullable: true }),
3483
3490
  __metadata("design:type", String)
3484
3491
  ], CreateAIAgentInput.prototype, "IconClass", void 0);
3492
+ __decorate([
3493
+ Field({ nullable: true }),
3494
+ __metadata("design:type", String)
3495
+ ], CreateAIAgentInput.prototype, "ModelSelectionMode", void 0);
3485
3496
  CreateAIAgentInput = __decorate([
3486
3497
  InputType()
3487
3498
  ], CreateAIAgentInput);
@@ -3503,6 +3514,7 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
3503
3514
  Status;
3504
3515
  DriverClass;
3505
3516
  IconClass;
3517
+ ModelSelectionMode;
3506
3518
  OldValues___;
3507
3519
  };
3508
3520
  __decorate([
@@ -3569,6 +3581,10 @@ __decorate([
3569
3581
  Field({ nullable: true }),
3570
3582
  __metadata("design:type", String)
3571
3583
  ], UpdateAIAgentInput.prototype, "IconClass", void 0);
3584
+ __decorate([
3585
+ Field({ nullable: true }),
3586
+ __metadata("design:type", String)
3587
+ ], UpdateAIAgentInput.prototype, "ModelSelectionMode", void 0);
3572
3588
  __decorate([
3573
3589
  Field(() => [KeyValuePairInput], { nullable: true }),
3574
3590
  __metadata("design:type", Array)
@@ -8991,6 +9007,37 @@ EmployeeCompanyIntegration_ = __decorate([
8991
9007
  ObjectType()
8992
9008
  ], EmployeeCompanyIntegration_);
8993
9009
  export { EmployeeCompanyIntegration_ };
9010
+ let CreateEmployeeCompanyIntegrationInput = class CreateEmployeeCompanyIntegrationInput {
9011
+ ID;
9012
+ EmployeeID;
9013
+ CompanyIntegrationID;
9014
+ ExternalSystemRecordID;
9015
+ IsActive;
9016
+ };
9017
+ __decorate([
9018
+ Field({ nullable: true }),
9019
+ __metadata("design:type", String)
9020
+ ], CreateEmployeeCompanyIntegrationInput.prototype, "ID", void 0);
9021
+ __decorate([
9022
+ Field({ nullable: true }),
9023
+ __metadata("design:type", String)
9024
+ ], CreateEmployeeCompanyIntegrationInput.prototype, "EmployeeID", void 0);
9025
+ __decorate([
9026
+ Field({ nullable: true }),
9027
+ __metadata("design:type", String)
9028
+ ], CreateEmployeeCompanyIntegrationInput.prototype, "CompanyIntegrationID", void 0);
9029
+ __decorate([
9030
+ Field({ nullable: true }),
9031
+ __metadata("design:type", String)
9032
+ ], CreateEmployeeCompanyIntegrationInput.prototype, "ExternalSystemRecordID", void 0);
9033
+ __decorate([
9034
+ Field(() => Boolean, { nullable: true }),
9035
+ __metadata("design:type", Boolean)
9036
+ ], CreateEmployeeCompanyIntegrationInput.prototype, "IsActive", void 0);
9037
+ CreateEmployeeCompanyIntegrationInput = __decorate([
9038
+ InputType()
9039
+ ], CreateEmployeeCompanyIntegrationInput);
9040
+ export { CreateEmployeeCompanyIntegrationInput };
8994
9041
  let UpdateEmployeeCompanyIntegrationInput = class UpdateEmployeeCompanyIntegrationInput {
8995
9042
  ID;
8996
9043
  EmployeeID;
@@ -9090,10 +9137,19 @@ let EmployeeCompanyIntegrationResolver = class EmployeeCompanyIntegrationResolve
9090
9137
  const result = this.MapFieldNamesToCodeNames('Employee Company Integrations', rows && rows.length > 0 ? rows[0] : {});
9091
9138
  return result;
9092
9139
  }
9140
+ async CreateEmployeeCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
9141
+ const connPool = GetReadWriteDataSource(dataSources);
9142
+ return this.CreateRecord('Employee Company Integrations', input, connPool, userPayload, pubSub);
9143
+ }
9093
9144
  async UpdateEmployeeCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
9094
9145
  const connPool = GetReadWriteDataSource(dataSources);
9095
9146
  return this.UpdateRecord('Employee Company Integrations', input, connPool, userPayload, pubSub);
9096
9147
  }
9148
+ async DeleteEmployeeCompanyIntegration(ID, options, { dataSources, userPayload }, pubSub) {
9149
+ const connPool = GetReadWriteDataSource(dataSources);
9150
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
9151
+ return this.DeleteRecord('Employee Company Integrations', key, options, connPool, userPayload, pubSub);
9152
+ }
9097
9153
  };
9098
9154
  __decorate([
9099
9155
  Query(() => RunEmployeeCompanyIntegrationViewResult),
@@ -9131,6 +9187,15 @@ __decorate([
9131
9187
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
9132
9188
  __metadata("design:returntype", Promise)
9133
9189
  ], EmployeeCompanyIntegrationResolver.prototype, "EmployeeCompanyIntegration", null);
9190
+ __decorate([
9191
+ Mutation(() => EmployeeCompanyIntegration_),
9192
+ __param(0, Arg('input', () => CreateEmployeeCompanyIntegrationInput)),
9193
+ __param(1, Ctx()),
9194
+ __param(2, PubSub()),
9195
+ __metadata("design:type", Function),
9196
+ __metadata("design:paramtypes", [CreateEmployeeCompanyIntegrationInput, Object, PubSubEngine]),
9197
+ __metadata("design:returntype", Promise)
9198
+ ], EmployeeCompanyIntegrationResolver.prototype, "CreateEmployeeCompanyIntegration", null);
9134
9199
  __decorate([
9135
9200
  Mutation(() => EmployeeCompanyIntegration_),
9136
9201
  __param(0, Arg('input', () => UpdateEmployeeCompanyIntegrationInput)),
@@ -9140,6 +9205,16 @@ __decorate([
9140
9205
  __metadata("design:paramtypes", [UpdateEmployeeCompanyIntegrationInput, Object, PubSubEngine]),
9141
9206
  __metadata("design:returntype", Promise)
9142
9207
  ], EmployeeCompanyIntegrationResolver.prototype, "UpdateEmployeeCompanyIntegration", null);
9208
+ __decorate([
9209
+ Mutation(() => EmployeeCompanyIntegration_),
9210
+ __param(0, Arg('ID', () => String)),
9211
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
9212
+ __param(2, Ctx()),
9213
+ __param(3, PubSub()),
9214
+ __metadata("design:type", Function),
9215
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
9216
+ __metadata("design:returntype", Promise)
9217
+ ], EmployeeCompanyIntegrationResolver.prototype, "DeleteEmployeeCompanyIntegration", null);
9143
9218
  EmployeeCompanyIntegrationResolver = __decorate([
9144
9219
  Resolver(EmployeeCompanyIntegration_)
9145
9220
  ], EmployeeCompanyIntegrationResolver);
@@ -9186,6 +9261,27 @@ EmployeeRole_ = __decorate([
9186
9261
  ObjectType()
9187
9262
  ], EmployeeRole_);
9188
9263
  export { EmployeeRole_ };
9264
+ let CreateEmployeeRoleInput = class CreateEmployeeRoleInput {
9265
+ ID;
9266
+ EmployeeID;
9267
+ RoleID;
9268
+ };
9269
+ __decorate([
9270
+ Field({ nullable: true }),
9271
+ __metadata("design:type", String)
9272
+ ], CreateEmployeeRoleInput.prototype, "ID", void 0);
9273
+ __decorate([
9274
+ Field({ nullable: true }),
9275
+ __metadata("design:type", String)
9276
+ ], CreateEmployeeRoleInput.prototype, "EmployeeID", void 0);
9277
+ __decorate([
9278
+ Field({ nullable: true }),
9279
+ __metadata("design:type", String)
9280
+ ], CreateEmployeeRoleInput.prototype, "RoleID", void 0);
9281
+ CreateEmployeeRoleInput = __decorate([
9282
+ InputType()
9283
+ ], CreateEmployeeRoleInput);
9284
+ export { CreateEmployeeRoleInput };
9189
9285
  let UpdateEmployeeRoleInput = class UpdateEmployeeRoleInput {
9190
9286
  ID;
9191
9287
  EmployeeID;
@@ -9275,6 +9371,10 @@ let EmployeeRoleResolver = class EmployeeRoleResolver extends ResolverBase {
9275
9371
  const result = this.MapFieldNamesToCodeNames('Employee Roles', rows && rows.length > 0 ? rows[0] : {});
9276
9372
  return result;
9277
9373
  }
9374
+ async CreateEmployeeRole(input, { dataSources, userPayload }, pubSub) {
9375
+ const connPool = GetReadWriteDataSource(dataSources);
9376
+ return this.CreateRecord('Employee Roles', input, connPool, userPayload, pubSub);
9377
+ }
9278
9378
  async UpdateEmployeeRole(input, { dataSources, userPayload }, pubSub) {
9279
9379
  const connPool = GetReadWriteDataSource(dataSources);
9280
9380
  return this.UpdateRecord('Employee Roles', input, connPool, userPayload, pubSub);
@@ -9321,6 +9421,15 @@ __decorate([
9321
9421
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
9322
9422
  __metadata("design:returntype", Promise)
9323
9423
  ], EmployeeRoleResolver.prototype, "EmployeeRole", null);
9424
+ __decorate([
9425
+ Mutation(() => EmployeeRole_),
9426
+ __param(0, Arg('input', () => CreateEmployeeRoleInput)),
9427
+ __param(1, Ctx()),
9428
+ __param(2, PubSub()),
9429
+ __metadata("design:type", Function),
9430
+ __metadata("design:paramtypes", [CreateEmployeeRoleInput, Object, PubSubEngine]),
9431
+ __metadata("design:returntype", Promise)
9432
+ ], EmployeeRoleResolver.prototype, "CreateEmployeeRole", null);
9324
9433
  __decorate([
9325
9434
  Mutation(() => EmployeeRole_),
9326
9435
  __param(0, Arg('input', () => UpdateEmployeeRoleInput)),
@@ -9386,6 +9495,27 @@ EmployeeSkill_ = __decorate([
9386
9495
  ObjectType()
9387
9496
  ], EmployeeSkill_);
9388
9497
  export { EmployeeSkill_ };
9498
+ let CreateEmployeeSkillInput = class CreateEmployeeSkillInput {
9499
+ ID;
9500
+ EmployeeID;
9501
+ SkillID;
9502
+ };
9503
+ __decorate([
9504
+ Field({ nullable: true }),
9505
+ __metadata("design:type", String)
9506
+ ], CreateEmployeeSkillInput.prototype, "ID", void 0);
9507
+ __decorate([
9508
+ Field({ nullable: true }),
9509
+ __metadata("design:type", String)
9510
+ ], CreateEmployeeSkillInput.prototype, "EmployeeID", void 0);
9511
+ __decorate([
9512
+ Field({ nullable: true }),
9513
+ __metadata("design:type", String)
9514
+ ], CreateEmployeeSkillInput.prototype, "SkillID", void 0);
9515
+ CreateEmployeeSkillInput = __decorate([
9516
+ InputType()
9517
+ ], CreateEmployeeSkillInput);
9518
+ export { CreateEmployeeSkillInput };
9389
9519
  let UpdateEmployeeSkillInput = class UpdateEmployeeSkillInput {
9390
9520
  ID;
9391
9521
  EmployeeID;
@@ -9475,6 +9605,10 @@ let EmployeeSkillResolver = class EmployeeSkillResolver extends ResolverBase {
9475
9605
  const result = this.MapFieldNamesToCodeNames('Employee Skills', rows && rows.length > 0 ? rows[0] : {});
9476
9606
  return result;
9477
9607
  }
9608
+ async CreateEmployeeSkill(input, { dataSources, userPayload }, pubSub) {
9609
+ const connPool = GetReadWriteDataSource(dataSources);
9610
+ return this.CreateRecord('Employee Skills', input, connPool, userPayload, pubSub);
9611
+ }
9478
9612
  async UpdateEmployeeSkill(input, { dataSources, userPayload }, pubSub) {
9479
9613
  const connPool = GetReadWriteDataSource(dataSources);
9480
9614
  return this.UpdateRecord('Employee Skills', input, connPool, userPayload, pubSub);
@@ -9521,6 +9655,15 @@ __decorate([
9521
9655
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
9522
9656
  __metadata("design:returntype", Promise)
9523
9657
  ], EmployeeSkillResolver.prototype, "EmployeeSkill", null);
9658
+ __decorate([
9659
+ Mutation(() => EmployeeSkill_),
9660
+ __param(0, Arg('input', () => CreateEmployeeSkillInput)),
9661
+ __param(1, Ctx()),
9662
+ __param(2, PubSub()),
9663
+ __metadata("design:type", Function),
9664
+ __metadata("design:paramtypes", [CreateEmployeeSkillInput, Object, PubSubEngine]),
9665
+ __metadata("design:returntype", Promise)
9666
+ ], EmployeeSkillResolver.prototype, "CreateEmployeeSkill", null);
9524
9667
  __decorate([
9525
9668
  Mutation(() => EmployeeSkill_),
9526
9669
  __param(0, Arg('input', () => UpdateEmployeeSkillInput)),
@@ -10003,6 +10146,53 @@ Skill_ = __decorate([
10003
10146
  ObjectType({ description: `A hierarchical list of possible skills that are linked to Employees and can also be linked to any other entity` })
10004
10147
  ], Skill_);
10005
10148
  export { Skill_ };
10149
+ let CreateSkillInput = class CreateSkillInput {
10150
+ ID;
10151
+ Name;
10152
+ ParentID;
10153
+ };
10154
+ __decorate([
10155
+ Field({ nullable: true }),
10156
+ __metadata("design:type", String)
10157
+ ], CreateSkillInput.prototype, "ID", void 0);
10158
+ __decorate([
10159
+ Field({ nullable: true }),
10160
+ __metadata("design:type", String)
10161
+ ], CreateSkillInput.prototype, "Name", void 0);
10162
+ __decorate([
10163
+ Field({ nullable: true }),
10164
+ __metadata("design:type", String)
10165
+ ], CreateSkillInput.prototype, "ParentID", void 0);
10166
+ CreateSkillInput = __decorate([
10167
+ InputType()
10168
+ ], CreateSkillInput);
10169
+ export { CreateSkillInput };
10170
+ let UpdateSkillInput = class UpdateSkillInput {
10171
+ ID;
10172
+ Name;
10173
+ ParentID;
10174
+ OldValues___;
10175
+ };
10176
+ __decorate([
10177
+ Field(),
10178
+ __metadata("design:type", String)
10179
+ ], UpdateSkillInput.prototype, "ID", void 0);
10180
+ __decorate([
10181
+ Field({ nullable: true }),
10182
+ __metadata("design:type", String)
10183
+ ], UpdateSkillInput.prototype, "Name", void 0);
10184
+ __decorate([
10185
+ Field({ nullable: true }),
10186
+ __metadata("design:type", String)
10187
+ ], UpdateSkillInput.prototype, "ParentID", void 0);
10188
+ __decorate([
10189
+ Field(() => [KeyValuePairInput], { nullable: true }),
10190
+ __metadata("design:type", Array)
10191
+ ], UpdateSkillInput.prototype, "OldValues___", void 0);
10192
+ UpdateSkillInput = __decorate([
10193
+ InputType()
10194
+ ], UpdateSkillInput);
10195
+ export { UpdateSkillInput };
10006
10196
  let RunSkillViewResult = class RunSkillViewResult {
10007
10197
  Results;
10008
10198
  UserViewRunID;
@@ -10090,6 +10280,19 @@ let SkillResolver = class SkillResolver extends ResolverBase {
10090
10280
  const result = this.ArrayMapFieldNamesToCodeNames('Skills', rows);
10091
10281
  return result;
10092
10282
  }
10283
+ async CreateSkill(input, { dataSources, userPayload }, pubSub) {
10284
+ const connPool = GetReadWriteDataSource(dataSources);
10285
+ return this.CreateRecord('Skills', input, connPool, userPayload, pubSub);
10286
+ }
10287
+ async UpdateSkill(input, { dataSources, userPayload }, pubSub) {
10288
+ const connPool = GetReadWriteDataSource(dataSources);
10289
+ return this.UpdateRecord('Skills', input, connPool, userPayload, pubSub);
10290
+ }
10291
+ async DeleteSkill(ID, options, { dataSources, userPayload }, pubSub) {
10292
+ const connPool = GetReadWriteDataSource(dataSources);
10293
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
10294
+ return this.DeleteRecord('Skills', key, options, connPool, userPayload, pubSub);
10295
+ }
10093
10296
  };
10094
10297
  __decorate([
10095
10298
  Query(() => RunSkillViewResult),
@@ -10153,6 +10356,34 @@ __decorate([
10153
10356
  __metadata("design:paramtypes", [Skill_, Object, PubSubEngine]),
10154
10357
  __metadata("design:returntype", Promise)
10155
10358
  ], SkillResolver.prototype, "Skills_ParentIDArray", null);
10359
+ __decorate([
10360
+ Mutation(() => Skill_),
10361
+ __param(0, Arg('input', () => CreateSkillInput)),
10362
+ __param(1, Ctx()),
10363
+ __param(2, PubSub()),
10364
+ __metadata("design:type", Function),
10365
+ __metadata("design:paramtypes", [CreateSkillInput, Object, PubSubEngine]),
10366
+ __metadata("design:returntype", Promise)
10367
+ ], SkillResolver.prototype, "CreateSkill", null);
10368
+ __decorate([
10369
+ Mutation(() => Skill_),
10370
+ __param(0, Arg('input', () => UpdateSkillInput)),
10371
+ __param(1, Ctx()),
10372
+ __param(2, PubSub()),
10373
+ __metadata("design:type", Function),
10374
+ __metadata("design:paramtypes", [UpdateSkillInput, Object, PubSubEngine]),
10375
+ __metadata("design:returntype", Promise)
10376
+ ], SkillResolver.prototype, "UpdateSkill", null);
10377
+ __decorate([
10378
+ Mutation(() => Skill_),
10379
+ __param(0, Arg('ID', () => String)),
10380
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
10381
+ __param(2, Ctx()),
10382
+ __param(3, PubSub()),
10383
+ __metadata("design:type", Function),
10384
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
10385
+ __metadata("design:returntype", Promise)
10386
+ ], SkillResolver.prototype, "DeleteSkill", null);
10156
10387
  SkillResolver = __decorate([
10157
10388
  Resolver(Skill_)
10158
10389
  ], SkillResolver);
@@ -10222,6 +10453,37 @@ IntegrationURLFormat_ = __decorate([
10222
10453
  ObjectType({ description: `Used to generate web links for end users to easily access resources in a source system. URL Formats support templating to inject various field values at run-time to take a user directly to a resource in a source system.` })
10223
10454
  ], IntegrationURLFormat_);
10224
10455
  export { IntegrationURLFormat_ };
10456
+ let CreateIntegrationURLFormatInput = class CreateIntegrationURLFormatInput {
10457
+ ID;
10458
+ IntegrationID;
10459
+ EntityID;
10460
+ URLFormat;
10461
+ Comments;
10462
+ };
10463
+ __decorate([
10464
+ Field({ nullable: true }),
10465
+ __metadata("design:type", String)
10466
+ ], CreateIntegrationURLFormatInput.prototype, "ID", void 0);
10467
+ __decorate([
10468
+ Field({ nullable: true }),
10469
+ __metadata("design:type", String)
10470
+ ], CreateIntegrationURLFormatInput.prototype, "IntegrationID", void 0);
10471
+ __decorate([
10472
+ Field({ nullable: true }),
10473
+ __metadata("design:type", String)
10474
+ ], CreateIntegrationURLFormatInput.prototype, "EntityID", void 0);
10475
+ __decorate([
10476
+ Field({ nullable: true }),
10477
+ __metadata("design:type", String)
10478
+ ], CreateIntegrationURLFormatInput.prototype, "URLFormat", void 0);
10479
+ __decorate([
10480
+ Field({ nullable: true }),
10481
+ __metadata("design:type", String)
10482
+ ], CreateIntegrationURLFormatInput.prototype, "Comments", void 0);
10483
+ CreateIntegrationURLFormatInput = __decorate([
10484
+ InputType()
10485
+ ], CreateIntegrationURLFormatInput);
10486
+ export { CreateIntegrationURLFormatInput };
10225
10487
  let UpdateIntegrationURLFormatInput = class UpdateIntegrationURLFormatInput {
10226
10488
  ID;
10227
10489
  IntegrationID;
@@ -10329,6 +10591,10 @@ let IntegrationURLFormatResolver = class IntegrationURLFormatResolver extends Re
10329
10591
  const result = this.ArrayMapFieldNamesToCodeNames('Integration URL Formats', rows);
10330
10592
  return result;
10331
10593
  }
10594
+ async CreateIntegrationURLFormat(input, { dataSources, userPayload }, pubSub) {
10595
+ const connPool = GetReadWriteDataSource(dataSources);
10596
+ return this.CreateRecord('Integration URL Formats', input, connPool, userPayload, pubSub);
10597
+ }
10332
10598
  async UpdateIntegrationURLFormat(input, { dataSources, userPayload }, pubSub) {
10333
10599
  const connPool = GetReadWriteDataSource(dataSources);
10334
10600
  return this.UpdateRecord('Integration URL Formats', input, connPool, userPayload, pubSub);
@@ -10383,6 +10649,15 @@ __decorate([
10383
10649
  __metadata("design:paramtypes", [Object, PubSubEngine]),
10384
10650
  __metadata("design:returntype", Promise)
10385
10651
  ], IntegrationURLFormatResolver.prototype, "AllIntegrationURLFormats", null);
10652
+ __decorate([
10653
+ Mutation(() => IntegrationURLFormat_),
10654
+ __param(0, Arg('input', () => CreateIntegrationURLFormatInput)),
10655
+ __param(1, Ctx()),
10656
+ __param(2, PubSub()),
10657
+ __metadata("design:type", Function),
10658
+ __metadata("design:paramtypes", [CreateIntegrationURLFormatInput, Object, PubSubEngine]),
10659
+ __metadata("design:returntype", Promise)
10660
+ ], IntegrationURLFormatResolver.prototype, "CreateIntegrationURLFormat", null);
10386
10661
  __decorate([
10387
10662
  Mutation(() => IntegrationURLFormat_),
10388
10663
  __param(0, Arg('input', () => UpdateIntegrationURLFormatInput)),
@@ -10485,6 +10760,52 @@ Integration_ = __decorate([
10485
10760
  ObjectType({ description: `Catalog of all integrations that have been configured in the system.` })
10486
10761
  ], Integration_);
10487
10762
  export { Integration_ };
10763
+ let CreateIntegrationInput = class CreateIntegrationInput {
10764
+ Name;
10765
+ Description;
10766
+ NavigationBaseURL;
10767
+ ClassName;
10768
+ ImportPath;
10769
+ BatchMaxRequestCount;
10770
+ BatchRequestWaitTime;
10771
+ ID;
10772
+ };
10773
+ __decorate([
10774
+ Field({ nullable: true }),
10775
+ __metadata("design:type", String)
10776
+ ], CreateIntegrationInput.prototype, "Name", void 0);
10777
+ __decorate([
10778
+ Field({ nullable: true }),
10779
+ __metadata("design:type", String)
10780
+ ], CreateIntegrationInput.prototype, "Description", void 0);
10781
+ __decorate([
10782
+ Field({ nullable: true }),
10783
+ __metadata("design:type", String)
10784
+ ], CreateIntegrationInput.prototype, "NavigationBaseURL", void 0);
10785
+ __decorate([
10786
+ Field({ nullable: true }),
10787
+ __metadata("design:type", String)
10788
+ ], CreateIntegrationInput.prototype, "ClassName", void 0);
10789
+ __decorate([
10790
+ Field({ nullable: true }),
10791
+ __metadata("design:type", String)
10792
+ ], CreateIntegrationInput.prototype, "ImportPath", void 0);
10793
+ __decorate([
10794
+ Field(() => Int, { nullable: true }),
10795
+ __metadata("design:type", Number)
10796
+ ], CreateIntegrationInput.prototype, "BatchMaxRequestCount", void 0);
10797
+ __decorate([
10798
+ Field(() => Int, { nullable: true }),
10799
+ __metadata("design:type", Number)
10800
+ ], CreateIntegrationInput.prototype, "BatchRequestWaitTime", void 0);
10801
+ __decorate([
10802
+ Field({ nullable: true }),
10803
+ __metadata("design:type", String)
10804
+ ], CreateIntegrationInput.prototype, "ID", void 0);
10805
+ CreateIntegrationInput = __decorate([
10806
+ InputType()
10807
+ ], CreateIntegrationInput);
10808
+ export { CreateIntegrationInput };
10488
10809
  let UpdateIntegrationInput = class UpdateIntegrationInput {
10489
10810
  Name;
10490
10811
  Description;
@@ -10631,6 +10952,10 @@ let IntegrationResolver = class IntegrationResolver extends ResolverBase {
10631
10952
  const result = this.ArrayMapFieldNamesToCodeNames('Record Changes', rows);
10632
10953
  return result;
10633
10954
  }
10955
+ async CreateIntegration(input, { dataSources, userPayload }, pubSub) {
10956
+ const connPool = GetReadWriteDataSource(dataSources);
10957
+ return this.CreateRecord('Integrations', input, connPool, userPayload, pubSub);
10958
+ }
10634
10959
  async UpdateIntegration(input, { dataSources, userPayload }, pubSub) {
10635
10960
  const connPool = GetReadWriteDataSource(dataSources);
10636
10961
  return this.UpdateRecord('Integrations', input, connPool, userPayload, pubSub);
@@ -10712,6 +11037,15 @@ __decorate([
10712
11037
  __metadata("design:paramtypes", [Integration_, Object, PubSubEngine]),
10713
11038
  __metadata("design:returntype", Promise)
10714
11039
  ], IntegrationResolver.prototype, "RecordChanges_IntegrationIDArray", null);
11040
+ __decorate([
11041
+ Mutation(() => Integration_),
11042
+ __param(0, Arg('input', () => CreateIntegrationInput)),
11043
+ __param(1, Ctx()),
11044
+ __param(2, PubSub()),
11045
+ __metadata("design:type", Function),
11046
+ __metadata("design:paramtypes", [CreateIntegrationInput, Object, PubSubEngine]),
11047
+ __metadata("design:returntype", Promise)
11048
+ ], IntegrationResolver.prototype, "CreateIntegration", null);
10715
11049
  __decorate([
10716
11050
  Mutation(() => Integration_),
10717
11051
  __param(0, Arg('input', () => UpdateIntegrationInput)),
@@ -10891,6 +11225,77 @@ CompanyIntegration_ = __decorate([
10891
11225
  ObjectType({ description: `Links individual company records to specific integrations` })
10892
11226
  ], CompanyIntegration_);
10893
11227
  export { CompanyIntegration_ };
11228
+ let CreateCompanyIntegrationInput = class CreateCompanyIntegrationInput {
11229
+ ID;
11230
+ CompanyID;
11231
+ IntegrationID;
11232
+ IsActive;
11233
+ AccessToken;
11234
+ RefreshToken;
11235
+ TokenExpirationDate;
11236
+ APIKey;
11237
+ ExternalSystemID;
11238
+ IsExternalSystemReadOnly;
11239
+ ClientID;
11240
+ ClientSecret;
11241
+ CustomAttribute1;
11242
+ };
11243
+ __decorate([
11244
+ Field({ nullable: true }),
11245
+ __metadata("design:type", String)
11246
+ ], CreateCompanyIntegrationInput.prototype, "ID", void 0);
11247
+ __decorate([
11248
+ Field({ nullable: true }),
11249
+ __metadata("design:type", String)
11250
+ ], CreateCompanyIntegrationInput.prototype, "CompanyID", void 0);
11251
+ __decorate([
11252
+ Field({ nullable: true }),
11253
+ __metadata("design:type", String)
11254
+ ], CreateCompanyIntegrationInput.prototype, "IntegrationID", void 0);
11255
+ __decorate([
11256
+ Field(() => Boolean, { nullable: true }),
11257
+ __metadata("design:type", Boolean)
11258
+ ], CreateCompanyIntegrationInput.prototype, "IsActive", void 0);
11259
+ __decorate([
11260
+ Field({ nullable: true }),
11261
+ __metadata("design:type", String)
11262
+ ], CreateCompanyIntegrationInput.prototype, "AccessToken", void 0);
11263
+ __decorate([
11264
+ Field({ nullable: true }),
11265
+ __metadata("design:type", String)
11266
+ ], CreateCompanyIntegrationInput.prototype, "RefreshToken", void 0);
11267
+ __decorate([
11268
+ Field({ nullable: true }),
11269
+ __metadata("design:type", Date)
11270
+ ], CreateCompanyIntegrationInput.prototype, "TokenExpirationDate", void 0);
11271
+ __decorate([
11272
+ Field({ nullable: true }),
11273
+ __metadata("design:type", String)
11274
+ ], CreateCompanyIntegrationInput.prototype, "APIKey", void 0);
11275
+ __decorate([
11276
+ Field({ nullable: true }),
11277
+ __metadata("design:type", String)
11278
+ ], CreateCompanyIntegrationInput.prototype, "ExternalSystemID", void 0);
11279
+ __decorate([
11280
+ Field(() => Boolean, { nullable: true }),
11281
+ __metadata("design:type", Boolean)
11282
+ ], CreateCompanyIntegrationInput.prototype, "IsExternalSystemReadOnly", void 0);
11283
+ __decorate([
11284
+ Field({ nullable: true }),
11285
+ __metadata("design:type", String)
11286
+ ], CreateCompanyIntegrationInput.prototype, "ClientID", void 0);
11287
+ __decorate([
11288
+ Field({ nullable: true }),
11289
+ __metadata("design:type", String)
11290
+ ], CreateCompanyIntegrationInput.prototype, "ClientSecret", void 0);
11291
+ __decorate([
11292
+ Field({ nullable: true }),
11293
+ __metadata("design:type", String)
11294
+ ], CreateCompanyIntegrationInput.prototype, "CustomAttribute1", void 0);
11295
+ CreateCompanyIntegrationInput = __decorate([
11296
+ InputType()
11297
+ ], CreateCompanyIntegrationInput);
11298
+ export { CreateCompanyIntegrationInput };
10894
11299
  let UpdateCompanyIntegrationInput = class UpdateCompanyIntegrationInput {
10895
11300
  ID;
10896
11301
  CompanyID;
@@ -11062,6 +11467,10 @@ let CompanyIntegrationResolver = class CompanyIntegrationResolver extends Resolv
11062
11467
  const result = this.ArrayMapFieldNamesToCodeNames('Employee Company Integrations', rows);
11063
11468
  return result;
11064
11469
  }
11470
+ async CreateCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
11471
+ const connPool = GetReadWriteDataSource(dataSources);
11472
+ return this.CreateRecord('Company Integrations', input, connPool, userPayload, pubSub);
11473
+ }
11065
11474
  async UpdateCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
11066
11475
  const connPool = GetReadWriteDataSource(dataSources);
11067
11476
  return this.UpdateRecord('Company Integrations', input, connPool, userPayload, pubSub);
@@ -11144,6 +11553,15 @@ __decorate([
11144
11553
  __metadata("design:paramtypes", [CompanyIntegration_, Object, PubSubEngine]),
11145
11554
  __metadata("design:returntype", Promise)
11146
11555
  ], CompanyIntegrationResolver.prototype, "EmployeeCompanyIntegrations_CompanyIntegrationIDArray", null);
11556
+ __decorate([
11557
+ Mutation(() => CompanyIntegration_),
11558
+ __param(0, Arg('input', () => CreateCompanyIntegrationInput)),
11559
+ __param(1, Ctx()),
11560
+ __param(2, PubSub()),
11561
+ __metadata("design:type", Function),
11562
+ __metadata("design:paramtypes", [CreateCompanyIntegrationInput, Object, PubSubEngine]),
11563
+ __metadata("design:returntype", Promise)
11564
+ ], CompanyIntegrationResolver.prototype, "CreateCompanyIntegration", null);
11147
11565
  __decorate([
11148
11566
  Mutation(() => CompanyIntegration_),
11149
11567
  __param(0, Arg('input', () => UpdateCompanyIntegrationInput)),
@@ -15871,6 +16289,47 @@ UserRecordLog_ = __decorate([
15871
16289
  ObjectType()
15872
16290
  ], UserRecordLog_);
15873
16291
  export { UserRecordLog_ };
16292
+ let CreateUserRecordLogInput = class CreateUserRecordLogInput {
16293
+ ID;
16294
+ UserID;
16295
+ EntityID;
16296
+ RecordID;
16297
+ EarliestAt;
16298
+ LatestAt;
16299
+ TotalCount;
16300
+ };
16301
+ __decorate([
16302
+ Field({ nullable: true }),
16303
+ __metadata("design:type", String)
16304
+ ], CreateUserRecordLogInput.prototype, "ID", void 0);
16305
+ __decorate([
16306
+ Field({ nullable: true }),
16307
+ __metadata("design:type", String)
16308
+ ], CreateUserRecordLogInput.prototype, "UserID", void 0);
16309
+ __decorate([
16310
+ Field({ nullable: true }),
16311
+ __metadata("design:type", String)
16312
+ ], CreateUserRecordLogInput.prototype, "EntityID", void 0);
16313
+ __decorate([
16314
+ Field({ nullable: true }),
16315
+ __metadata("design:type", String)
16316
+ ], CreateUserRecordLogInput.prototype, "RecordID", void 0);
16317
+ __decorate([
16318
+ Field({ nullable: true }),
16319
+ __metadata("design:type", Date)
16320
+ ], CreateUserRecordLogInput.prototype, "EarliestAt", void 0);
16321
+ __decorate([
16322
+ Field({ nullable: true }),
16323
+ __metadata("design:type", Date)
16324
+ ], CreateUserRecordLogInput.prototype, "LatestAt", void 0);
16325
+ __decorate([
16326
+ Field(() => Int, { nullable: true }),
16327
+ __metadata("design:type", Number)
16328
+ ], CreateUserRecordLogInput.prototype, "TotalCount", void 0);
16329
+ CreateUserRecordLogInput = __decorate([
16330
+ InputType()
16331
+ ], CreateUserRecordLogInput);
16332
+ export { CreateUserRecordLogInput };
15874
16333
  let UpdateUserRecordLogInput = class UpdateUserRecordLogInput {
15875
16334
  ID;
15876
16335
  UserID;
@@ -15980,10 +16439,19 @@ let UserRecordLogResolver = class UserRecordLogResolver extends ResolverBase {
15980
16439
  const result = this.MapFieldNamesToCodeNames('User Record Logs', rows && rows.length > 0 ? rows[0] : {});
15981
16440
  return result;
15982
16441
  }
16442
+ async CreateUserRecordLog(input, { dataSources, userPayload }, pubSub) {
16443
+ const connPool = GetReadWriteDataSource(dataSources);
16444
+ return this.CreateRecord('User Record Logs', input, connPool, userPayload, pubSub);
16445
+ }
15983
16446
  async UpdateUserRecordLog(input, { dataSources, userPayload }, pubSub) {
15984
16447
  const connPool = GetReadWriteDataSource(dataSources);
15985
16448
  return this.UpdateRecord('User Record Logs', input, connPool, userPayload, pubSub);
15986
16449
  }
16450
+ async DeleteUserRecordLog(ID, options, { dataSources, userPayload }, pubSub) {
16451
+ const connPool = GetReadWriteDataSource(dataSources);
16452
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
16453
+ return this.DeleteRecord('User Record Logs', key, options, connPool, userPayload, pubSub);
16454
+ }
15987
16455
  };
15988
16456
  __decorate([
15989
16457
  Query(() => RunUserRecordLogViewResult),
@@ -16021,6 +16489,15 @@ __decorate([
16021
16489
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
16022
16490
  __metadata("design:returntype", Promise)
16023
16491
  ], UserRecordLogResolver.prototype, "UserRecordLog", null);
16492
+ __decorate([
16493
+ Mutation(() => UserRecordLog_),
16494
+ __param(0, Arg('input', () => CreateUserRecordLogInput)),
16495
+ __param(1, Ctx()),
16496
+ __param(2, PubSub()),
16497
+ __metadata("design:type", Function),
16498
+ __metadata("design:paramtypes", [CreateUserRecordLogInput, Object, PubSubEngine]),
16499
+ __metadata("design:returntype", Promise)
16500
+ ], UserRecordLogResolver.prototype, "CreateUserRecordLog", null);
16024
16501
  __decorate([
16025
16502
  Mutation(() => UserRecordLog_),
16026
16503
  __param(0, Arg('input', () => UpdateUserRecordLogInput)),
@@ -16030,6 +16507,16 @@ __decorate([
16030
16507
  __metadata("design:paramtypes", [UpdateUserRecordLogInput, Object, PubSubEngine]),
16031
16508
  __metadata("design:returntype", Promise)
16032
16509
  ], UserRecordLogResolver.prototype, "UpdateUserRecordLog", null);
16510
+ __decorate([
16511
+ Mutation(() => UserRecordLog_),
16512
+ __param(0, Arg('ID', () => String)),
16513
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
16514
+ __param(2, Ctx()),
16515
+ __param(3, PubSub()),
16516
+ __metadata("design:type", Function),
16517
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
16518
+ __metadata("design:returntype", Promise)
16519
+ ], UserRecordLogResolver.prototype, "DeleteUserRecordLog", null);
16033
16520
  UserRecordLogResolver = __decorate([
16034
16521
  Resolver(UserRecordLog_)
16035
16522
  ], UserRecordLogResolver);
@@ -16941,6 +17428,11 @@ let CompanyIntegrationRunResolver = class CompanyIntegrationRunResolver extends
16941
17428
  const connPool = GetReadWriteDataSource(dataSources);
16942
17429
  return this.UpdateRecord('Company Integration Runs', input, connPool, userPayload, pubSub);
16943
17430
  }
17431
+ async DeleteCompanyIntegrationRun(ID, options, { dataSources, userPayload }, pubSub) {
17432
+ const connPool = GetReadWriteDataSource(dataSources);
17433
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
17434
+ return this.DeleteRecord('Company Integration Runs', key, options, connPool, userPayload, pubSub);
17435
+ }
16944
17436
  };
16945
17437
  __decorate([
16946
17438
  Query(() => RunCompanyIntegrationRunViewResult),
@@ -17023,6 +17515,16 @@ __decorate([
17023
17515
  __metadata("design:paramtypes", [UpdateCompanyIntegrationRunInput, Object, PubSubEngine]),
17024
17516
  __metadata("design:returntype", Promise)
17025
17517
  ], CompanyIntegrationRunResolver.prototype, "UpdateCompanyIntegrationRun", null);
17518
+ __decorate([
17519
+ Mutation(() => CompanyIntegrationRun_),
17520
+ __param(0, Arg('ID', () => String)),
17521
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
17522
+ __param(2, Ctx()),
17523
+ __param(3, PubSub()),
17524
+ __metadata("design:type", Function),
17525
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
17526
+ __metadata("design:returntype", Promise)
17527
+ ], CompanyIntegrationRunResolver.prototype, "DeleteCompanyIntegrationRun", null);
17026
17528
  CompanyIntegrationRunResolver = __decorate([
17027
17529
  Resolver(CompanyIntegrationRun_)
17028
17530
  ], CompanyIntegrationRunResolver);
@@ -17275,6 +17777,11 @@ let CompanyIntegrationRunDetailResolver = class CompanyIntegrationRunDetailResol
17275
17777
  const connPool = GetReadWriteDataSource(dataSources);
17276
17778
  return this.UpdateRecord('Company Integration Run Details', input, connPool, userPayload, pubSub);
17277
17779
  }
17780
+ async DeleteCompanyIntegrationRunDetail(ID, options, { dataSources, userPayload }, pubSub) {
17781
+ const connPool = GetReadWriteDataSource(dataSources);
17782
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
17783
+ return this.DeleteRecord('Company Integration Run Details', key, options, connPool, userPayload, pubSub);
17784
+ }
17278
17785
  };
17279
17786
  __decorate([
17280
17787
  Query(() => RunCompanyIntegrationRunDetailViewResult),
@@ -17339,6 +17846,16 @@ __decorate([
17339
17846
  __metadata("design:paramtypes", [UpdateCompanyIntegrationRunDetailInput, Object, PubSubEngine]),
17340
17847
  __metadata("design:returntype", Promise)
17341
17848
  ], CompanyIntegrationRunDetailResolver.prototype, "UpdateCompanyIntegrationRunDetail", null);
17849
+ __decorate([
17850
+ Mutation(() => CompanyIntegrationRunDetail_),
17851
+ __param(0, Arg('ID', () => String)),
17852
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
17853
+ __param(2, Ctx()),
17854
+ __param(3, PubSub()),
17855
+ __metadata("design:type", Function),
17856
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
17857
+ __metadata("design:returntype", Promise)
17858
+ ], CompanyIntegrationRunDetailResolver.prototype, "DeleteCompanyIntegrationRunDetail", null);
17342
17859
  CompanyIntegrationRunDetailResolver = __decorate([
17343
17860
  Resolver(CompanyIntegrationRunDetail_)
17344
17861
  ], CompanyIntegrationRunDetailResolver);
@@ -17591,6 +18108,11 @@ let ErrorLogResolver = class ErrorLogResolver extends ResolverBase {
17591
18108
  const connPool = GetReadWriteDataSource(dataSources);
17592
18109
  return this.UpdateRecord('Error Logs', input, connPool, userPayload, pubSub);
17593
18110
  }
18111
+ async DeleteErrorLog(ID, options, { dataSources, userPayload }, pubSub) {
18112
+ const connPool = GetReadWriteDataSource(dataSources);
18113
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
18114
+ return this.DeleteRecord('Error Logs', key, options, connPool, userPayload, pubSub);
18115
+ }
17594
18116
  };
17595
18117
  __decorate([
17596
18118
  Query(() => RunErrorLogViewResult),
@@ -17646,6 +18168,16 @@ __decorate([
17646
18168
  __metadata("design:paramtypes", [UpdateErrorLogInput, Object, PubSubEngine]),
17647
18169
  __metadata("design:returntype", Promise)
17648
18170
  ], ErrorLogResolver.prototype, "UpdateErrorLog", null);
18171
+ __decorate([
18172
+ Mutation(() => ErrorLog_),
18173
+ __param(0, Arg('ID', () => String)),
18174
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
18175
+ __param(2, Ctx()),
18176
+ __param(3, PubSub()),
18177
+ __metadata("design:type", Function),
18178
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
18179
+ __metadata("design:returntype", Promise)
18180
+ ], ErrorLogResolver.prototype, "DeleteErrorLog", null);
17649
18181
  ErrorLogResolver = __decorate([
17650
18182
  Resolver(ErrorLog_)
17651
18183
  ], ErrorLogResolver);
@@ -19518,6 +20050,11 @@ let CompanyIntegrationRunAPILogResolver = class CompanyIntegrationRunAPILogResol
19518
20050
  const connPool = GetReadWriteDataSource(dataSources);
19519
20051
  return this.UpdateRecord('Company Integration Run API Logs', input, connPool, userPayload, pubSub);
19520
20052
  }
20053
+ async DeleteCompanyIntegrationRunAPILog(ID, options, { dataSources, userPayload }, pubSub) {
20054
+ const connPool = GetReadWriteDataSource(dataSources);
20055
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
20056
+ return this.DeleteRecord('Company Integration Run API Logs', key, options, connPool, userPayload, pubSub);
20057
+ }
19521
20058
  };
19522
20059
  __decorate([
19523
20060
  Query(() => RunCompanyIntegrationRunAPILogViewResult),
@@ -19573,6 +20110,16 @@ __decorate([
19573
20110
  __metadata("design:paramtypes", [UpdateCompanyIntegrationRunAPILogInput, Object, PubSubEngine]),
19574
20111
  __metadata("design:returntype", Promise)
19575
20112
  ], CompanyIntegrationRunAPILogResolver.prototype, "UpdateCompanyIntegrationRunAPILog", null);
20113
+ __decorate([
20114
+ Mutation(() => CompanyIntegrationRunAPILog_),
20115
+ __param(0, Arg('ID', () => String)),
20116
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
20117
+ __param(2, Ctx()),
20118
+ __param(3, PubSub()),
20119
+ __metadata("design:type", Function),
20120
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
20121
+ __metadata("design:returntype", Promise)
20122
+ ], CompanyIntegrationRunAPILogResolver.prototype, "DeleteCompanyIntegrationRunAPILog", null);
19576
20123
  CompanyIntegrationRunAPILogResolver = __decorate([
19577
20124
  Resolver(CompanyIntegrationRunAPILog_)
19578
20125
  ], CompanyIntegrationRunAPILogResolver);
@@ -20421,6 +20968,11 @@ let UserViewRunResolver = class UserViewRunResolver extends ResolverBase {
20421
20968
  const connPool = GetReadWriteDataSource(dataSources);
20422
20969
  return this.UpdateRecord('User View Runs', input, connPool, userPayload, pubSub);
20423
20970
  }
20971
+ async DeleteUserViewRun(ID, options, { dataSources, userPayload }, pubSub) {
20972
+ const connPool = GetReadWriteDataSource(dataSources);
20973
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
20974
+ return this.DeleteRecord('User View Runs', key, options, connPool, userPayload, pubSub);
20975
+ }
20424
20976
  };
20425
20977
  __decorate([
20426
20978
  Query(() => RunUserViewRunViewResult),
@@ -20485,6 +21037,16 @@ __decorate([
20485
21037
  __metadata("design:paramtypes", [UpdateUserViewRunInput, Object, PubSubEngine]),
20486
21038
  __metadata("design:returntype", Promise)
20487
21039
  ], UserViewRunResolver.prototype, "UpdateUserViewRun", null);
21040
+ __decorate([
21041
+ Mutation(() => UserViewRun_),
21042
+ __param(0, Arg('ID', () => String)),
21043
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
21044
+ __param(2, Ctx()),
21045
+ __param(3, PubSub()),
21046
+ __metadata("design:type", Function),
21047
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
21048
+ __metadata("design:returntype", Promise)
21049
+ ], UserViewRunResolver.prototype, "DeleteUserViewRun", null);
20488
21050
  UserViewRunResolver = __decorate([
20489
21051
  Resolver(UserViewRun_)
20490
21052
  ], UserViewRunResolver);
@@ -20655,6 +21217,11 @@ let UserViewRunDetailResolver = class UserViewRunDetailResolver extends Resolver
20655
21217
  const connPool = GetReadWriteDataSource(dataSources);
20656
21218
  return this.UpdateRecord('User View Run Details', input, connPool, userPayload, pubSub);
20657
21219
  }
21220
+ async DeleteUserViewRunDetail(ID, options, { dataSources, userPayload }, pubSub) {
21221
+ const connPool = GetReadWriteDataSource(dataSources);
21222
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
21223
+ return this.DeleteRecord('User View Run Details', key, options, connPool, userPayload, pubSub);
21224
+ }
20658
21225
  };
20659
21226
  __decorate([
20660
21227
  Query(() => RunUserViewRunDetailViewResult),
@@ -20710,6 +21277,16 @@ __decorate([
20710
21277
  __metadata("design:paramtypes", [UpdateUserViewRunDetailInput, Object, PubSubEngine]),
20711
21278
  __metadata("design:returntype", Promise)
20712
21279
  ], UserViewRunDetailResolver.prototype, "UpdateUserViewRunDetail", null);
21280
+ __decorate([
21281
+ Mutation(() => UserViewRunDetail_),
21282
+ __param(0, Arg('ID', () => String)),
21283
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
21284
+ __param(2, Ctx()),
21285
+ __param(3, PubSub()),
21286
+ __metadata("design:type", Function),
21287
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
21288
+ __metadata("design:returntype", Promise)
21289
+ ], UserViewRunDetailResolver.prototype, "DeleteUserViewRunDetail", null);
20713
21290
  UserViewRunDetailResolver = __decorate([
20714
21291
  Resolver(UserViewRunDetail_)
20715
21292
  ], UserViewRunDetailResolver);
@@ -20785,6 +21362,47 @@ WorkflowRun_ = __decorate([
20785
21362
  ObjectType()
20786
21363
  ], WorkflowRun_);
20787
21364
  export { WorkflowRun_ };
21365
+ let CreateWorkflowRunInput = class CreateWorkflowRunInput {
21366
+ ID;
21367
+ WorkflowID;
21368
+ ExternalSystemRecordID;
21369
+ StartedAt;
21370
+ EndedAt;
21371
+ Status;
21372
+ Results;
21373
+ };
21374
+ __decorate([
21375
+ Field({ nullable: true }),
21376
+ __metadata("design:type", String)
21377
+ ], CreateWorkflowRunInput.prototype, "ID", void 0);
21378
+ __decorate([
21379
+ Field({ nullable: true }),
21380
+ __metadata("design:type", String)
21381
+ ], CreateWorkflowRunInput.prototype, "WorkflowID", void 0);
21382
+ __decorate([
21383
+ Field({ nullable: true }),
21384
+ __metadata("design:type", String)
21385
+ ], CreateWorkflowRunInput.prototype, "ExternalSystemRecordID", void 0);
21386
+ __decorate([
21387
+ Field({ nullable: true }),
21388
+ __metadata("design:type", Date)
21389
+ ], CreateWorkflowRunInput.prototype, "StartedAt", void 0);
21390
+ __decorate([
21391
+ Field({ nullable: true }),
21392
+ __metadata("design:type", Date)
21393
+ ], CreateWorkflowRunInput.prototype, "EndedAt", void 0);
21394
+ __decorate([
21395
+ Field({ nullable: true }),
21396
+ __metadata("design:type", String)
21397
+ ], CreateWorkflowRunInput.prototype, "Status", void 0);
21398
+ __decorate([
21399
+ Field({ nullable: true }),
21400
+ __metadata("design:type", String)
21401
+ ], CreateWorkflowRunInput.prototype, "Results", void 0);
21402
+ CreateWorkflowRunInput = __decorate([
21403
+ InputType()
21404
+ ], CreateWorkflowRunInput);
21405
+ export { CreateWorkflowRunInput };
20788
21406
  let UpdateWorkflowRunInput = class UpdateWorkflowRunInput {
20789
21407
  ID;
20790
21408
  WorkflowID;
@@ -20894,10 +21512,19 @@ let WorkflowRunResolver = class WorkflowRunResolver extends ResolverBase {
20894
21512
  const result = this.MapFieldNamesToCodeNames('Workflow Runs', rows && rows.length > 0 ? rows[0] : {});
20895
21513
  return result;
20896
21514
  }
21515
+ async CreateWorkflowRun(input, { dataSources, userPayload }, pubSub) {
21516
+ const connPool = GetReadWriteDataSource(dataSources);
21517
+ return this.CreateRecord('Workflow Runs', input, connPool, userPayload, pubSub);
21518
+ }
20897
21519
  async UpdateWorkflowRun(input, { dataSources, userPayload }, pubSub) {
20898
21520
  const connPool = GetReadWriteDataSource(dataSources);
20899
21521
  return this.UpdateRecord('Workflow Runs', input, connPool, userPayload, pubSub);
20900
21522
  }
21523
+ async DeleteWorkflowRun(ID, options, { dataSources, userPayload }, pubSub) {
21524
+ const connPool = GetReadWriteDataSource(dataSources);
21525
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
21526
+ return this.DeleteRecord('Workflow Runs', key, options, connPool, userPayload, pubSub);
21527
+ }
20901
21528
  };
20902
21529
  __decorate([
20903
21530
  Query(() => RunWorkflowRunViewResult),
@@ -20935,6 +21562,15 @@ __decorate([
20935
21562
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
20936
21563
  __metadata("design:returntype", Promise)
20937
21564
  ], WorkflowRunResolver.prototype, "WorkflowRun", null);
21565
+ __decorate([
21566
+ Mutation(() => WorkflowRun_),
21567
+ __param(0, Arg('input', () => CreateWorkflowRunInput)),
21568
+ __param(1, Ctx()),
21569
+ __param(2, PubSub()),
21570
+ __metadata("design:type", Function),
21571
+ __metadata("design:paramtypes", [CreateWorkflowRunInput, Object, PubSubEngine]),
21572
+ __metadata("design:returntype", Promise)
21573
+ ], WorkflowRunResolver.prototype, "CreateWorkflowRun", null);
20938
21574
  __decorate([
20939
21575
  Mutation(() => WorkflowRun_),
20940
21576
  __param(0, Arg('input', () => UpdateWorkflowRunInput)),
@@ -20944,6 +21580,16 @@ __decorate([
20944
21580
  __metadata("design:paramtypes", [UpdateWorkflowRunInput, Object, PubSubEngine]),
20945
21581
  __metadata("design:returntype", Promise)
20946
21582
  ], WorkflowRunResolver.prototype, "UpdateWorkflowRun", null);
21583
+ __decorate([
21584
+ Mutation(() => WorkflowRun_),
21585
+ __param(0, Arg('ID', () => String)),
21586
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
21587
+ __param(2, Ctx()),
21588
+ __param(3, PubSub()),
21589
+ __metadata("design:type", Function),
21590
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
21591
+ __metadata("design:returntype", Promise)
21592
+ ], WorkflowRunResolver.prototype, "DeleteWorkflowRun", null);
20947
21593
  WorkflowRunResolver = __decorate([
20948
21594
  Resolver(WorkflowRun_)
20949
21595
  ], WorkflowRunResolver);
@@ -21032,6 +21678,57 @@ Workflow_ = __decorate([
21032
21678
  ObjectType()
21033
21679
  ], Workflow_);
21034
21680
  export { Workflow_ };
21681
+ let CreateWorkflowInput = class CreateWorkflowInput {
21682
+ ID;
21683
+ Name;
21684
+ Description;
21685
+ WorkflowEngineID;
21686
+ ExternalSystemRecordID;
21687
+ AutoRunEnabled;
21688
+ AutoRunIntervalUnits;
21689
+ AutoRunInterval;
21690
+ SubclassName;
21691
+ };
21692
+ __decorate([
21693
+ Field({ nullable: true }),
21694
+ __metadata("design:type", String)
21695
+ ], CreateWorkflowInput.prototype, "ID", void 0);
21696
+ __decorate([
21697
+ Field({ nullable: true }),
21698
+ __metadata("design:type", String)
21699
+ ], CreateWorkflowInput.prototype, "Name", void 0);
21700
+ __decorate([
21701
+ Field({ nullable: true }),
21702
+ __metadata("design:type", String)
21703
+ ], CreateWorkflowInput.prototype, "Description", void 0);
21704
+ __decorate([
21705
+ Field({ nullable: true }),
21706
+ __metadata("design:type", String)
21707
+ ], CreateWorkflowInput.prototype, "WorkflowEngineID", void 0);
21708
+ __decorate([
21709
+ Field({ nullable: true }),
21710
+ __metadata("design:type", String)
21711
+ ], CreateWorkflowInput.prototype, "ExternalSystemRecordID", void 0);
21712
+ __decorate([
21713
+ Field(() => Boolean, { nullable: true }),
21714
+ __metadata("design:type", Boolean)
21715
+ ], CreateWorkflowInput.prototype, "AutoRunEnabled", void 0);
21716
+ __decorate([
21717
+ Field({ nullable: true }),
21718
+ __metadata("design:type", String)
21719
+ ], CreateWorkflowInput.prototype, "AutoRunIntervalUnits", void 0);
21720
+ __decorate([
21721
+ Field(() => Int, { nullable: true }),
21722
+ __metadata("design:type", Number)
21723
+ ], CreateWorkflowInput.prototype, "AutoRunInterval", void 0);
21724
+ __decorate([
21725
+ Field({ nullable: true }),
21726
+ __metadata("design:type", String)
21727
+ ], CreateWorkflowInput.prototype, "SubclassName", void 0);
21728
+ CreateWorkflowInput = __decorate([
21729
+ InputType()
21730
+ ], CreateWorkflowInput);
21731
+ export { CreateWorkflowInput };
21035
21732
  let UpdateWorkflowInput = class UpdateWorkflowInput {
21036
21733
  ID;
21037
21734
  Name;
@@ -21167,10 +21864,19 @@ let WorkflowResolver = class WorkflowResolver extends ResolverBase {
21167
21864
  const result = this.ArrayMapFieldNamesToCodeNames('Workflow Runs', rows);
21168
21865
  return result;
21169
21866
  }
21867
+ async CreateWorkflow(input, { dataSources, userPayload }, pubSub) {
21868
+ const connPool = GetReadWriteDataSource(dataSources);
21869
+ return this.CreateRecord('Workflows', input, connPool, userPayload, pubSub);
21870
+ }
21170
21871
  async UpdateWorkflow(input, { dataSources, userPayload }, pubSub) {
21171
21872
  const connPool = GetReadWriteDataSource(dataSources);
21172
21873
  return this.UpdateRecord('Workflows', input, connPool, userPayload, pubSub);
21173
21874
  }
21875
+ async DeleteWorkflow(ID, options, { dataSources, userPayload }, pubSub) {
21876
+ const connPool = GetReadWriteDataSource(dataSources);
21877
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
21878
+ return this.DeleteRecord('Workflows', key, options, connPool, userPayload, pubSub);
21879
+ }
21174
21880
  };
21175
21881
  __decorate([
21176
21882
  Query(() => RunWorkflowViewResult),
@@ -21226,6 +21932,15 @@ __decorate([
21226
21932
  __metadata("design:paramtypes", [Workflow_, Object, PubSubEngine]),
21227
21933
  __metadata("design:returntype", Promise)
21228
21934
  ], WorkflowResolver.prototype, "WorkflowRuns_WorkflowNameArray", null);
21935
+ __decorate([
21936
+ Mutation(() => Workflow_),
21937
+ __param(0, Arg('input', () => CreateWorkflowInput)),
21938
+ __param(1, Ctx()),
21939
+ __param(2, PubSub()),
21940
+ __metadata("design:type", Function),
21941
+ __metadata("design:paramtypes", [CreateWorkflowInput, Object, PubSubEngine]),
21942
+ __metadata("design:returntype", Promise)
21943
+ ], WorkflowResolver.prototype, "CreateWorkflow", null);
21229
21944
  __decorate([
21230
21945
  Mutation(() => Workflow_),
21231
21946
  __param(0, Arg('input', () => UpdateWorkflowInput)),
@@ -21235,6 +21950,16 @@ __decorate([
21235
21950
  __metadata("design:paramtypes", [UpdateWorkflowInput, Object, PubSubEngine]),
21236
21951
  __metadata("design:returntype", Promise)
21237
21952
  ], WorkflowResolver.prototype, "UpdateWorkflow", null);
21953
+ __decorate([
21954
+ Mutation(() => Workflow_),
21955
+ __param(0, Arg('ID', () => String)),
21956
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
21957
+ __param(2, Ctx()),
21958
+ __param(3, PubSub()),
21959
+ __metadata("design:type", Function),
21960
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
21961
+ __metadata("design:returntype", Promise)
21962
+ ], WorkflowResolver.prototype, "DeleteWorkflow", null);
21238
21963
  WorkflowResolver = __decorate([
21239
21964
  Resolver(Workflow_)
21240
21965
  ], WorkflowResolver);
@@ -21291,6 +22016,37 @@ WorkflowEngine_ = __decorate([
21291
22016
  ObjectType()
21292
22017
  ], WorkflowEngine_);
21293
22018
  export { WorkflowEngine_ };
22019
+ let CreateWorkflowEngineInput = class CreateWorkflowEngineInput {
22020
+ ID;
22021
+ Name;
22022
+ Description;
22023
+ DriverPath;
22024
+ DriverClass;
22025
+ };
22026
+ __decorate([
22027
+ Field({ nullable: true }),
22028
+ __metadata("design:type", String)
22029
+ ], CreateWorkflowEngineInput.prototype, "ID", void 0);
22030
+ __decorate([
22031
+ Field({ nullable: true }),
22032
+ __metadata("design:type", String)
22033
+ ], CreateWorkflowEngineInput.prototype, "Name", void 0);
22034
+ __decorate([
22035
+ Field({ nullable: true }),
22036
+ __metadata("design:type", String)
22037
+ ], CreateWorkflowEngineInput.prototype, "Description", void 0);
22038
+ __decorate([
22039
+ Field({ nullable: true }),
22040
+ __metadata("design:type", String)
22041
+ ], CreateWorkflowEngineInput.prototype, "DriverPath", void 0);
22042
+ __decorate([
22043
+ Field({ nullable: true }),
22044
+ __metadata("design:type", String)
22045
+ ], CreateWorkflowEngineInput.prototype, "DriverClass", void 0);
22046
+ CreateWorkflowEngineInput = __decorate([
22047
+ InputType()
22048
+ ], CreateWorkflowEngineInput);
22049
+ export { CreateWorkflowEngineInput };
21294
22050
  let UpdateWorkflowEngineInput = class UpdateWorkflowEngineInput {
21295
22051
  ID;
21296
22052
  Name;
@@ -21398,6 +22154,10 @@ let WorkflowEngineResolver = class WorkflowEngineResolver extends ResolverBase {
21398
22154
  const result = this.ArrayMapFieldNamesToCodeNames('Workflows', rows);
21399
22155
  return result;
21400
22156
  }
22157
+ async CreateWorkflowEngine(input, { dataSources, userPayload }, pubSub) {
22158
+ const connPool = GetReadWriteDataSource(dataSources);
22159
+ return this.CreateRecord('Workflow Engines', input, connPool, userPayload, pubSub);
22160
+ }
21401
22161
  async UpdateWorkflowEngine(input, { dataSources, userPayload }, pubSub) {
21402
22162
  const connPool = GetReadWriteDataSource(dataSources);
21403
22163
  return this.UpdateRecord('Workflow Engines', input, connPool, userPayload, pubSub);
@@ -21453,6 +22213,15 @@ __decorate([
21453
22213
  __metadata("design:paramtypes", [WorkflowEngine_, Object, PubSubEngine]),
21454
22214
  __metadata("design:returntype", Promise)
21455
22215
  ], WorkflowEngineResolver.prototype, "Workflows_WorkflowEngineNameArray", null);
22216
+ __decorate([
22217
+ Mutation(() => WorkflowEngine_),
22218
+ __param(0, Arg('input', () => CreateWorkflowEngineInput)),
22219
+ __param(1, Ctx()),
22220
+ __param(2, PubSub()),
22221
+ __metadata("design:type", Function),
22222
+ __metadata("design:paramtypes", [CreateWorkflowEngineInput, Object, PubSubEngine]),
22223
+ __metadata("design:returntype", Promise)
22224
+ ], WorkflowEngineResolver.prototype, "CreateWorkflowEngine", null);
21456
22225
  __decorate([
21457
22226
  Mutation(() => WorkflowEngine_),
21458
22227
  __param(0, Arg('input', () => UpdateWorkflowEngineInput)),
@@ -21835,6 +22604,11 @@ let RecordChangeResolver = class RecordChangeResolver extends ResolverBase {
21835
22604
  const connPool = GetReadWriteDataSource(dataSources);
21836
22605
  return this.UpdateRecord('Record Changes', input, connPool, userPayload, pubSub);
21837
22606
  }
22607
+ async DeleteRecordChange(ID, options, { dataSources, userPayload }, pubSub) {
22608
+ const connPool = GetReadWriteDataSource(dataSources);
22609
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
22610
+ return this.DeleteRecord('Record Changes', key, options, connPool, userPayload, pubSub);
22611
+ }
21838
22612
  };
21839
22613
  __decorate([
21840
22614
  Query(() => RunRecordChangeViewResult),
@@ -21890,6 +22664,16 @@ __decorate([
21890
22664
  __metadata("design:paramtypes", [UpdateRecordChangeInput, Object, PubSubEngine]),
21891
22665
  __metadata("design:returntype", Promise)
21892
22666
  ], RecordChangeResolver.prototype, "UpdateRecordChange", null);
22667
+ __decorate([
22668
+ Mutation(() => RecordChange_),
22669
+ __param(0, Arg('ID', () => String)),
22670
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
22671
+ __param(2, Ctx()),
22672
+ __param(3, PubSub()),
22673
+ __metadata("design:type", Function),
22674
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
22675
+ __metadata("design:returntype", Promise)
22676
+ ], RecordChangeResolver.prototype, "DeleteRecordChange", null);
21893
22677
  RecordChangeResolver = __decorate([
21894
22678
  Resolver(RecordChange_)
21895
22679
  ], RecordChangeResolver);
@@ -21963,6 +22747,32 @@ CreateUserRoleInput = __decorate([
21963
22747
  InputType()
21964
22748
  ], CreateUserRoleInput);
21965
22749
  export { CreateUserRoleInput };
22750
+ let UpdateUserRoleInput = class UpdateUserRoleInput {
22751
+ ID;
22752
+ UserID;
22753
+ RoleID;
22754
+ OldValues___;
22755
+ };
22756
+ __decorate([
22757
+ Field(),
22758
+ __metadata("design:type", String)
22759
+ ], UpdateUserRoleInput.prototype, "ID", void 0);
22760
+ __decorate([
22761
+ Field({ nullable: true }),
22762
+ __metadata("design:type", String)
22763
+ ], UpdateUserRoleInput.prototype, "UserID", void 0);
22764
+ __decorate([
22765
+ Field({ nullable: true }),
22766
+ __metadata("design:type", String)
22767
+ ], UpdateUserRoleInput.prototype, "RoleID", void 0);
22768
+ __decorate([
22769
+ Field(() => [KeyValuePairInput], { nullable: true }),
22770
+ __metadata("design:type", Array)
22771
+ ], UpdateUserRoleInput.prototype, "OldValues___", void 0);
22772
+ UpdateUserRoleInput = __decorate([
22773
+ InputType()
22774
+ ], UpdateUserRoleInput);
22775
+ export { UpdateUserRoleInput };
21966
22776
  let RunUserRoleViewResult = class RunUserRoleViewResult {
21967
22777
  Results;
21968
22778
  UserViewRunID;
@@ -22038,6 +22848,10 @@ let UserRoleResolver = class UserRoleResolver extends ResolverBase {
22038
22848
  const connPool = GetReadWriteDataSource(dataSources);
22039
22849
  return this.CreateRecord('User Roles', input, connPool, userPayload, pubSub);
22040
22850
  }
22851
+ async UpdateUserRole(input, { dataSources, userPayload }, pubSub) {
22852
+ const connPool = GetReadWriteDataSource(dataSources);
22853
+ return this.UpdateRecord('User Roles', input, connPool, userPayload, pubSub);
22854
+ }
22041
22855
  async DeleteUserRole(ID, options, { dataSources, userPayload }, pubSub) {
22042
22856
  const connPool = GetReadWriteDataSource(dataSources);
22043
22857
  const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
@@ -22097,6 +22911,15 @@ __decorate([
22097
22911
  __metadata("design:paramtypes", [CreateUserRoleInput, Object, PubSubEngine]),
22098
22912
  __metadata("design:returntype", Promise)
22099
22913
  ], UserRoleResolver.prototype, "CreateUserRole", null);
22914
+ __decorate([
22915
+ Mutation(() => UserRole_),
22916
+ __param(0, Arg('input', () => UpdateUserRoleInput)),
22917
+ __param(1, Ctx()),
22918
+ __param(2, PubSub()),
22919
+ __metadata("design:type", Function),
22920
+ __metadata("design:paramtypes", [UpdateUserRoleInput, Object, PubSubEngine]),
22921
+ __metadata("design:returntype", Promise)
22922
+ ], UserRoleResolver.prototype, "UpdateUserRole", null);
22100
22923
  __decorate([
22101
22924
  Mutation(() => UserRole_),
22102
22925
  __param(0, Arg('ID', () => String)),
@@ -22156,6 +22979,63 @@ RowLevelSecurityFilter_ = __decorate([
22156
22979
  ObjectType()
22157
22980
  ], RowLevelSecurityFilter_);
22158
22981
  export { RowLevelSecurityFilter_ };
22982
+ let CreateRowLevelSecurityFilterInput = class CreateRowLevelSecurityFilterInput {
22983
+ ID;
22984
+ Name;
22985
+ Description;
22986
+ FilterText;
22987
+ };
22988
+ __decorate([
22989
+ Field({ nullable: true }),
22990
+ __metadata("design:type", String)
22991
+ ], CreateRowLevelSecurityFilterInput.prototype, "ID", void 0);
22992
+ __decorate([
22993
+ Field({ nullable: true }),
22994
+ __metadata("design:type", String)
22995
+ ], CreateRowLevelSecurityFilterInput.prototype, "Name", void 0);
22996
+ __decorate([
22997
+ Field({ nullable: true }),
22998
+ __metadata("design:type", String)
22999
+ ], CreateRowLevelSecurityFilterInput.prototype, "Description", void 0);
23000
+ __decorate([
23001
+ Field({ nullable: true }),
23002
+ __metadata("design:type", String)
23003
+ ], CreateRowLevelSecurityFilterInput.prototype, "FilterText", void 0);
23004
+ CreateRowLevelSecurityFilterInput = __decorate([
23005
+ InputType()
23006
+ ], CreateRowLevelSecurityFilterInput);
23007
+ export { CreateRowLevelSecurityFilterInput };
23008
+ let UpdateRowLevelSecurityFilterInput = class UpdateRowLevelSecurityFilterInput {
23009
+ ID;
23010
+ Name;
23011
+ Description;
23012
+ FilterText;
23013
+ OldValues___;
23014
+ };
23015
+ __decorate([
23016
+ Field(),
23017
+ __metadata("design:type", String)
23018
+ ], UpdateRowLevelSecurityFilterInput.prototype, "ID", void 0);
23019
+ __decorate([
23020
+ Field({ nullable: true }),
23021
+ __metadata("design:type", String)
23022
+ ], UpdateRowLevelSecurityFilterInput.prototype, "Name", void 0);
23023
+ __decorate([
23024
+ Field({ nullable: true }),
23025
+ __metadata("design:type", String)
23026
+ ], UpdateRowLevelSecurityFilterInput.prototype, "Description", void 0);
23027
+ __decorate([
23028
+ Field({ nullable: true }),
23029
+ __metadata("design:type", String)
23030
+ ], UpdateRowLevelSecurityFilterInput.prototype, "FilterText", void 0);
23031
+ __decorate([
23032
+ Field(() => [KeyValuePairInput], { nullable: true }),
23033
+ __metadata("design:type", Array)
23034
+ ], UpdateRowLevelSecurityFilterInput.prototype, "OldValues___", void 0);
23035
+ UpdateRowLevelSecurityFilterInput = __decorate([
23036
+ InputType()
23037
+ ], UpdateRowLevelSecurityFilterInput);
23038
+ export { UpdateRowLevelSecurityFilterInput };
22159
23039
  let RunRowLevelSecurityFilterViewResult = class RunRowLevelSecurityFilterViewResult {
22160
23040
  Results;
22161
23041
  UserViewRunID;
@@ -22235,6 +23115,19 @@ let RowLevelSecurityFilterResolver = class RowLevelSecurityFilterResolver extend
22235
23115
  const result = this.ArrayMapFieldNamesToCodeNames('Entity Permissions', rows);
22236
23116
  return result;
22237
23117
  }
23118
+ async CreateRowLevelSecurityFilter(input, { dataSources, userPayload }, pubSub) {
23119
+ const connPool = GetReadWriteDataSource(dataSources);
23120
+ return this.CreateRecord('Row Level Security Filters', input, connPool, userPayload, pubSub);
23121
+ }
23122
+ async UpdateRowLevelSecurityFilter(input, { dataSources, userPayload }, pubSub) {
23123
+ const connPool = GetReadWriteDataSource(dataSources);
23124
+ return this.UpdateRecord('Row Level Security Filters', input, connPool, userPayload, pubSub);
23125
+ }
23126
+ async DeleteRowLevelSecurityFilter(ID, options, { dataSources, userPayload }, pubSub) {
23127
+ const connPool = GetReadWriteDataSource(dataSources);
23128
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
23129
+ return this.DeleteRecord('Row Level Security Filters', key, options, connPool, userPayload, pubSub);
23130
+ }
22238
23131
  };
22239
23132
  __decorate([
22240
23133
  Query(() => RunRowLevelSecurityFilterViewResult),
@@ -22289,6 +23182,34 @@ __decorate([
22289
23182
  __metadata("design:paramtypes", [RowLevelSecurityFilter_, Object, PubSubEngine]),
22290
23183
  __metadata("design:returntype", Promise)
22291
23184
  ], RowLevelSecurityFilterResolver.prototype, "EntityPermissions_ReadRLSFilterIDArray", null);
23185
+ __decorate([
23186
+ Mutation(() => RowLevelSecurityFilter_),
23187
+ __param(0, Arg('input', () => CreateRowLevelSecurityFilterInput)),
23188
+ __param(1, Ctx()),
23189
+ __param(2, PubSub()),
23190
+ __metadata("design:type", Function),
23191
+ __metadata("design:paramtypes", [CreateRowLevelSecurityFilterInput, Object, PubSubEngine]),
23192
+ __metadata("design:returntype", Promise)
23193
+ ], RowLevelSecurityFilterResolver.prototype, "CreateRowLevelSecurityFilter", null);
23194
+ __decorate([
23195
+ Mutation(() => RowLevelSecurityFilter_),
23196
+ __param(0, Arg('input', () => UpdateRowLevelSecurityFilterInput)),
23197
+ __param(1, Ctx()),
23198
+ __param(2, PubSub()),
23199
+ __metadata("design:type", Function),
23200
+ __metadata("design:paramtypes", [UpdateRowLevelSecurityFilterInput, Object, PubSubEngine]),
23201
+ __metadata("design:returntype", Promise)
23202
+ ], RowLevelSecurityFilterResolver.prototype, "UpdateRowLevelSecurityFilter", null);
23203
+ __decorate([
23204
+ Mutation(() => RowLevelSecurityFilter_),
23205
+ __param(0, Arg('ID', () => String)),
23206
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
23207
+ __param(2, Ctx()),
23208
+ __param(3, PubSub()),
23209
+ __metadata("design:type", Function),
23210
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
23211
+ __metadata("design:returntype", Promise)
23212
+ ], RowLevelSecurityFilterResolver.prototype, "DeleteRowLevelSecurityFilter", null);
22292
23213
  RowLevelSecurityFilterResolver = __decorate([
22293
23214
  Resolver(RowLevelSecurityFilter_)
22294
23215
  ], RowLevelSecurityFilterResolver);
@@ -22565,6 +23486,11 @@ let AuditLogResolver = class AuditLogResolver extends ResolverBase {
22565
23486
  const connPool = GetReadWriteDataSource(dataSources);
22566
23487
  return this.UpdateRecord('Audit Logs', input, connPool, userPayload, pubSub);
22567
23488
  }
23489
+ async DeleteAuditLog(ID, options, { dataSources, userPayload }, pubSub) {
23490
+ const connPool = GetReadWriteDataSource(dataSources);
23491
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
23492
+ return this.DeleteRecord('Audit Logs', key, options, connPool, userPayload, pubSub);
23493
+ }
22568
23494
  };
22569
23495
  __decorate([
22570
23496
  Query(() => RunAuditLogViewResult),
@@ -22620,6 +23546,16 @@ __decorate([
22620
23546
  __metadata("design:paramtypes", [UpdateAuditLogInput, Object, PubSubEngine]),
22621
23547
  __metadata("design:returntype", Promise)
22622
23548
  ], AuditLogResolver.prototype, "UpdateAuditLog", null);
23549
+ __decorate([
23550
+ Mutation(() => AuditLog_),
23551
+ __param(0, Arg('ID', () => String)),
23552
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
23553
+ __param(2, Ctx()),
23554
+ __param(3, PubSub()),
23555
+ __metadata("design:type", Function),
23556
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
23557
+ __metadata("design:returntype", Promise)
23558
+ ], AuditLogResolver.prototype, "DeleteAuditLog", null);
22623
23559
  AuditLogResolver = __decorate([
22624
23560
  Resolver(AuditLog_)
22625
23561
  ], AuditLogResolver);
@@ -22706,6 +23642,83 @@ Authorization_ = __decorate([
22706
23642
  ObjectType()
22707
23643
  ], Authorization_);
22708
23644
  export { Authorization_ };
23645
+ let CreateAuthorizationInput = class CreateAuthorizationInput {
23646
+ ID;
23647
+ ParentID;
23648
+ Name;
23649
+ IsActive;
23650
+ UseAuditLog;
23651
+ Description;
23652
+ };
23653
+ __decorate([
23654
+ Field({ nullable: true }),
23655
+ __metadata("design:type", String)
23656
+ ], CreateAuthorizationInput.prototype, "ID", void 0);
23657
+ __decorate([
23658
+ Field({ nullable: true }),
23659
+ __metadata("design:type", String)
23660
+ ], CreateAuthorizationInput.prototype, "ParentID", void 0);
23661
+ __decorate([
23662
+ Field({ nullable: true }),
23663
+ __metadata("design:type", String)
23664
+ ], CreateAuthorizationInput.prototype, "Name", void 0);
23665
+ __decorate([
23666
+ Field(() => Boolean, { nullable: true }),
23667
+ __metadata("design:type", Boolean)
23668
+ ], CreateAuthorizationInput.prototype, "IsActive", void 0);
23669
+ __decorate([
23670
+ Field(() => Boolean, { nullable: true }),
23671
+ __metadata("design:type", Boolean)
23672
+ ], CreateAuthorizationInput.prototype, "UseAuditLog", void 0);
23673
+ __decorate([
23674
+ Field({ nullable: true }),
23675
+ __metadata("design:type", String)
23676
+ ], CreateAuthorizationInput.prototype, "Description", void 0);
23677
+ CreateAuthorizationInput = __decorate([
23678
+ InputType()
23679
+ ], CreateAuthorizationInput);
23680
+ export { CreateAuthorizationInput };
23681
+ let UpdateAuthorizationInput = class UpdateAuthorizationInput {
23682
+ ID;
23683
+ ParentID;
23684
+ Name;
23685
+ IsActive;
23686
+ UseAuditLog;
23687
+ Description;
23688
+ OldValues___;
23689
+ };
23690
+ __decorate([
23691
+ Field(),
23692
+ __metadata("design:type", String)
23693
+ ], UpdateAuthorizationInput.prototype, "ID", void 0);
23694
+ __decorate([
23695
+ Field({ nullable: true }),
23696
+ __metadata("design:type", String)
23697
+ ], UpdateAuthorizationInput.prototype, "ParentID", void 0);
23698
+ __decorate([
23699
+ Field({ nullable: true }),
23700
+ __metadata("design:type", String)
23701
+ ], UpdateAuthorizationInput.prototype, "Name", void 0);
23702
+ __decorate([
23703
+ Field(() => Boolean, { nullable: true }),
23704
+ __metadata("design:type", Boolean)
23705
+ ], UpdateAuthorizationInput.prototype, "IsActive", void 0);
23706
+ __decorate([
23707
+ Field(() => Boolean, { nullable: true }),
23708
+ __metadata("design:type", Boolean)
23709
+ ], UpdateAuthorizationInput.prototype, "UseAuditLog", void 0);
23710
+ __decorate([
23711
+ Field({ nullable: true }),
23712
+ __metadata("design:type", String)
23713
+ ], UpdateAuthorizationInput.prototype, "Description", void 0);
23714
+ __decorate([
23715
+ Field(() => [KeyValuePairInput], { nullable: true }),
23716
+ __metadata("design:type", Array)
23717
+ ], UpdateAuthorizationInput.prototype, "OldValues___", void 0);
23718
+ UpdateAuthorizationInput = __decorate([
23719
+ InputType()
23720
+ ], UpdateAuthorizationInput);
23721
+ export { UpdateAuthorizationInput };
22709
23722
  let RunAuthorizationViewResult = class RunAuthorizationViewResult {
22710
23723
  Results;
22711
23724
  UserViewRunID;
@@ -22817,6 +23830,19 @@ let AuthorizationResolver = class AuthorizationResolver extends ResolverBase {
22817
23830
  const result = this.ArrayMapFieldNamesToCodeNames('Audit Log Types', rows);
22818
23831
  return result;
22819
23832
  }
23833
+ async CreateAuthorization(input, { dataSources, userPayload }, pubSub) {
23834
+ const connPool = GetReadWriteDataSource(dataSources);
23835
+ return this.CreateRecord('Authorizations', input, connPool, userPayload, pubSub);
23836
+ }
23837
+ async UpdateAuthorization(input, { dataSources, userPayload }, pubSub) {
23838
+ const connPool = GetReadWriteDataSource(dataSources);
23839
+ return this.UpdateRecord('Authorizations', input, connPool, userPayload, pubSub);
23840
+ }
23841
+ async DeleteAuthorization(ID, options, { dataSources, userPayload }, pubSub) {
23842
+ const connPool = GetReadWriteDataSource(dataSources);
23843
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
23844
+ return this.DeleteRecord('Authorizations', key, options, connPool, userPayload, pubSub);
23845
+ }
22820
23846
  };
22821
23847
  __decorate([
22822
23848
  Query(() => RunAuthorizationViewResult),
@@ -22907,6 +23933,34 @@ __decorate([
22907
23933
  __metadata("design:paramtypes", [Authorization_, Object, PubSubEngine]),
22908
23934
  __metadata("design:returntype", Promise)
22909
23935
  ], AuthorizationResolver.prototype, "AuditLogTypes_AuthorizationNameArray", null);
23936
+ __decorate([
23937
+ Mutation(() => Authorization_),
23938
+ __param(0, Arg('input', () => CreateAuthorizationInput)),
23939
+ __param(1, Ctx()),
23940
+ __param(2, PubSub()),
23941
+ __metadata("design:type", Function),
23942
+ __metadata("design:paramtypes", [CreateAuthorizationInput, Object, PubSubEngine]),
23943
+ __metadata("design:returntype", Promise)
23944
+ ], AuthorizationResolver.prototype, "CreateAuthorization", null);
23945
+ __decorate([
23946
+ Mutation(() => Authorization_),
23947
+ __param(0, Arg('input', () => UpdateAuthorizationInput)),
23948
+ __param(1, Ctx()),
23949
+ __param(2, PubSub()),
23950
+ __metadata("design:type", Function),
23951
+ __metadata("design:paramtypes", [UpdateAuthorizationInput, Object, PubSubEngine]),
23952
+ __metadata("design:returntype", Promise)
23953
+ ], AuthorizationResolver.prototype, "UpdateAuthorization", null);
23954
+ __decorate([
23955
+ Mutation(() => Authorization_),
23956
+ __param(0, Arg('ID', () => String)),
23957
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
23958
+ __param(2, Ctx()),
23959
+ __param(3, PubSub()),
23960
+ __metadata("design:type", Function),
23961
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
23962
+ __metadata("design:returntype", Promise)
23963
+ ], AuthorizationResolver.prototype, "DeleteAuthorization", null);
22910
23964
  AuthorizationResolver = __decorate([
22911
23965
  Resolver(Authorization_)
22912
23966
  ], AuthorizationResolver);
@@ -22965,6 +24019,63 @@ AuthorizationRole_ = __decorate([
22965
24019
  ObjectType()
22966
24020
  ], AuthorizationRole_);
22967
24021
  export { AuthorizationRole_ };
24022
+ let CreateAuthorizationRoleInput = class CreateAuthorizationRoleInput {
24023
+ ID;
24024
+ AuthorizationID;
24025
+ RoleID;
24026
+ Type;
24027
+ };
24028
+ __decorate([
24029
+ Field({ nullable: true }),
24030
+ __metadata("design:type", String)
24031
+ ], CreateAuthorizationRoleInput.prototype, "ID", void 0);
24032
+ __decorate([
24033
+ Field({ nullable: true }),
24034
+ __metadata("design:type", String)
24035
+ ], CreateAuthorizationRoleInput.prototype, "AuthorizationID", void 0);
24036
+ __decorate([
24037
+ Field({ nullable: true }),
24038
+ __metadata("design:type", String)
24039
+ ], CreateAuthorizationRoleInput.prototype, "RoleID", void 0);
24040
+ __decorate([
24041
+ Field({ nullable: true }),
24042
+ __metadata("design:type", String)
24043
+ ], CreateAuthorizationRoleInput.prototype, "Type", void 0);
24044
+ CreateAuthorizationRoleInput = __decorate([
24045
+ InputType()
24046
+ ], CreateAuthorizationRoleInput);
24047
+ export { CreateAuthorizationRoleInput };
24048
+ let UpdateAuthorizationRoleInput = class UpdateAuthorizationRoleInput {
24049
+ ID;
24050
+ AuthorizationID;
24051
+ RoleID;
24052
+ Type;
24053
+ OldValues___;
24054
+ };
24055
+ __decorate([
24056
+ Field(),
24057
+ __metadata("design:type", String)
24058
+ ], UpdateAuthorizationRoleInput.prototype, "ID", void 0);
24059
+ __decorate([
24060
+ Field({ nullable: true }),
24061
+ __metadata("design:type", String)
24062
+ ], UpdateAuthorizationRoleInput.prototype, "AuthorizationID", void 0);
24063
+ __decorate([
24064
+ Field({ nullable: true }),
24065
+ __metadata("design:type", String)
24066
+ ], UpdateAuthorizationRoleInput.prototype, "RoleID", void 0);
24067
+ __decorate([
24068
+ Field({ nullable: true }),
24069
+ __metadata("design:type", String)
24070
+ ], UpdateAuthorizationRoleInput.prototype, "Type", void 0);
24071
+ __decorate([
24072
+ Field(() => [KeyValuePairInput], { nullable: true }),
24073
+ __metadata("design:type", Array)
24074
+ ], UpdateAuthorizationRoleInput.prototype, "OldValues___", void 0);
24075
+ UpdateAuthorizationRoleInput = __decorate([
24076
+ InputType()
24077
+ ], UpdateAuthorizationRoleInput);
24078
+ export { UpdateAuthorizationRoleInput };
22968
24079
  let RunAuthorizationRoleViewResult = class RunAuthorizationRoleViewResult {
22969
24080
  Results;
22970
24081
  UserViewRunID;
@@ -23036,6 +24147,19 @@ let AuthorizationRoleResolver = class AuthorizationRoleResolver extends Resolver
23036
24147
  const result = this.ArrayMapFieldNamesToCodeNames('Authorization Roles', rows);
23037
24148
  return result;
23038
24149
  }
24150
+ async CreateAuthorizationRole(input, { dataSources, userPayload }, pubSub) {
24151
+ const connPool = GetReadWriteDataSource(dataSources);
24152
+ return this.CreateRecord('Authorization Roles', input, connPool, userPayload, pubSub);
24153
+ }
24154
+ async UpdateAuthorizationRole(input, { dataSources, userPayload }, pubSub) {
24155
+ const connPool = GetReadWriteDataSource(dataSources);
24156
+ return this.UpdateRecord('Authorization Roles', input, connPool, userPayload, pubSub);
24157
+ }
24158
+ async DeleteAuthorizationRole(ID, options, { dataSources, userPayload }, pubSub) {
24159
+ const connPool = GetReadWriteDataSource(dataSources);
24160
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
24161
+ return this.DeleteRecord('Authorization Roles', key, options, connPool, userPayload, pubSub);
24162
+ }
23039
24163
  };
23040
24164
  __decorate([
23041
24165
  Query(() => RunAuthorizationRoleViewResult),
@@ -23081,6 +24205,34 @@ __decorate([
23081
24205
  __metadata("design:paramtypes", [Object, PubSubEngine]),
23082
24206
  __metadata("design:returntype", Promise)
23083
24207
  ], AuthorizationRoleResolver.prototype, "AllAuthorizationRoles", null);
24208
+ __decorate([
24209
+ Mutation(() => AuthorizationRole_),
24210
+ __param(0, Arg('input', () => CreateAuthorizationRoleInput)),
24211
+ __param(1, Ctx()),
24212
+ __param(2, PubSub()),
24213
+ __metadata("design:type", Function),
24214
+ __metadata("design:paramtypes", [CreateAuthorizationRoleInput, Object, PubSubEngine]),
24215
+ __metadata("design:returntype", Promise)
24216
+ ], AuthorizationRoleResolver.prototype, "CreateAuthorizationRole", null);
24217
+ __decorate([
24218
+ Mutation(() => AuthorizationRole_),
24219
+ __param(0, Arg('input', () => UpdateAuthorizationRoleInput)),
24220
+ __param(1, Ctx()),
24221
+ __param(2, PubSub()),
24222
+ __metadata("design:type", Function),
24223
+ __metadata("design:paramtypes", [UpdateAuthorizationRoleInput, Object, PubSubEngine]),
24224
+ __metadata("design:returntype", Promise)
24225
+ ], AuthorizationRoleResolver.prototype, "UpdateAuthorizationRole", null);
24226
+ __decorate([
24227
+ Mutation(() => AuthorizationRole_),
24228
+ __param(0, Arg('ID', () => String)),
24229
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
24230
+ __param(2, Ctx()),
24231
+ __param(3, PubSub()),
24232
+ __metadata("design:type", Function),
24233
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
24234
+ __metadata("design:returntype", Promise)
24235
+ ], AuthorizationRoleResolver.prototype, "DeleteAuthorizationRole", null);
23084
24236
  AuthorizationRoleResolver = __decorate([
23085
24237
  Resolver(AuthorizationRole_)
23086
24238
  ], AuthorizationRoleResolver);
@@ -23154,6 +24306,73 @@ AuditLogType_ = __decorate([
23154
24306
  ObjectType()
23155
24307
  ], AuditLogType_);
23156
24308
  export { AuditLogType_ };
24309
+ let CreateAuditLogTypeInput = class CreateAuditLogTypeInput {
24310
+ ID;
24311
+ Name;
24312
+ Description;
24313
+ ParentID;
24314
+ AuthorizationID;
24315
+ };
24316
+ __decorate([
24317
+ Field({ nullable: true }),
24318
+ __metadata("design:type", String)
24319
+ ], CreateAuditLogTypeInput.prototype, "ID", void 0);
24320
+ __decorate([
24321
+ Field({ nullable: true }),
24322
+ __metadata("design:type", String)
24323
+ ], CreateAuditLogTypeInput.prototype, "Name", void 0);
24324
+ __decorate([
24325
+ Field({ nullable: true }),
24326
+ __metadata("design:type", String)
24327
+ ], CreateAuditLogTypeInput.prototype, "Description", void 0);
24328
+ __decorate([
24329
+ Field({ nullable: true }),
24330
+ __metadata("design:type", String)
24331
+ ], CreateAuditLogTypeInput.prototype, "ParentID", void 0);
24332
+ __decorate([
24333
+ Field({ nullable: true }),
24334
+ __metadata("design:type", String)
24335
+ ], CreateAuditLogTypeInput.prototype, "AuthorizationID", void 0);
24336
+ CreateAuditLogTypeInput = __decorate([
24337
+ InputType()
24338
+ ], CreateAuditLogTypeInput);
24339
+ export { CreateAuditLogTypeInput };
24340
+ let UpdateAuditLogTypeInput = class UpdateAuditLogTypeInput {
24341
+ ID;
24342
+ Name;
24343
+ Description;
24344
+ ParentID;
24345
+ AuthorizationID;
24346
+ OldValues___;
24347
+ };
24348
+ __decorate([
24349
+ Field(),
24350
+ __metadata("design:type", String)
24351
+ ], UpdateAuditLogTypeInput.prototype, "ID", void 0);
24352
+ __decorate([
24353
+ Field({ nullable: true }),
24354
+ __metadata("design:type", String)
24355
+ ], UpdateAuditLogTypeInput.prototype, "Name", void 0);
24356
+ __decorate([
24357
+ Field({ nullable: true }),
24358
+ __metadata("design:type", String)
24359
+ ], UpdateAuditLogTypeInput.prototype, "Description", void 0);
24360
+ __decorate([
24361
+ Field({ nullable: true }),
24362
+ __metadata("design:type", String)
24363
+ ], UpdateAuditLogTypeInput.prototype, "ParentID", void 0);
24364
+ __decorate([
24365
+ Field({ nullable: true }),
24366
+ __metadata("design:type", String)
24367
+ ], UpdateAuditLogTypeInput.prototype, "AuthorizationID", void 0);
24368
+ __decorate([
24369
+ Field(() => [KeyValuePairInput], { nullable: true }),
24370
+ __metadata("design:type", Array)
24371
+ ], UpdateAuditLogTypeInput.prototype, "OldValues___", void 0);
24372
+ UpdateAuditLogTypeInput = __decorate([
24373
+ InputType()
24374
+ ], UpdateAuditLogTypeInput);
24375
+ export { UpdateAuditLogTypeInput };
23157
24376
  let RunAuditLogTypeViewResult = class RunAuditLogTypeViewResult {
23158
24377
  Results;
23159
24378
  UserViewRunID;
@@ -23241,6 +24460,19 @@ let AuditLogTypeResolver = class AuditLogTypeResolver extends ResolverBase {
23241
24460
  const result = this.ArrayMapFieldNamesToCodeNames('Audit Logs', rows);
23242
24461
  return result;
23243
24462
  }
24463
+ async CreateAuditLogType(input, { dataSources, userPayload }, pubSub) {
24464
+ const connPool = GetReadWriteDataSource(dataSources);
24465
+ return this.CreateRecord('Audit Log Types', input, connPool, userPayload, pubSub);
24466
+ }
24467
+ async UpdateAuditLogType(input, { dataSources, userPayload }, pubSub) {
24468
+ const connPool = GetReadWriteDataSource(dataSources);
24469
+ return this.UpdateRecord('Audit Log Types', input, connPool, userPayload, pubSub);
24470
+ }
24471
+ async DeleteAuditLogType(ID, options, { dataSources, userPayload }, pubSub) {
24472
+ const connPool = GetReadWriteDataSource(dataSources);
24473
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
24474
+ return this.DeleteRecord('Audit Log Types', key, options, connPool, userPayload, pubSub);
24475
+ }
23244
24476
  };
23245
24477
  __decorate([
23246
24478
  Query(() => RunAuditLogTypeViewResult),
@@ -23304,6 +24536,34 @@ __decorate([
23304
24536
  __metadata("design:paramtypes", [AuditLogType_, Object, PubSubEngine]),
23305
24537
  __metadata("design:returntype", Promise)
23306
24538
  ], AuditLogTypeResolver.prototype, "AuditLogs_AuditLogTypeNameArray", null);
24539
+ __decorate([
24540
+ Mutation(() => AuditLogType_),
24541
+ __param(0, Arg('input', () => CreateAuditLogTypeInput)),
24542
+ __param(1, Ctx()),
24543
+ __param(2, PubSub()),
24544
+ __metadata("design:type", Function),
24545
+ __metadata("design:paramtypes", [CreateAuditLogTypeInput, Object, PubSubEngine]),
24546
+ __metadata("design:returntype", Promise)
24547
+ ], AuditLogTypeResolver.prototype, "CreateAuditLogType", null);
24548
+ __decorate([
24549
+ Mutation(() => AuditLogType_),
24550
+ __param(0, Arg('input', () => UpdateAuditLogTypeInput)),
24551
+ __param(1, Ctx()),
24552
+ __param(2, PubSub()),
24553
+ __metadata("design:type", Function),
24554
+ __metadata("design:paramtypes", [UpdateAuditLogTypeInput, Object, PubSubEngine]),
24555
+ __metadata("design:returntype", Promise)
24556
+ ], AuditLogTypeResolver.prototype, "UpdateAuditLogType", null);
24557
+ __decorate([
24558
+ Mutation(() => AuditLogType_),
24559
+ __param(0, Arg('ID', () => String)),
24560
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
24561
+ __param(2, Ctx()),
24562
+ __param(3, PubSub()),
24563
+ __metadata("design:type", Function),
24564
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
24565
+ __metadata("design:returntype", Promise)
24566
+ ], AuditLogTypeResolver.prototype, "DeleteAuditLogType", null);
23307
24567
  AuditLogTypeResolver = __decorate([
23308
24568
  Resolver(AuditLogType_)
23309
24569
  ], AuditLogTypeResolver);
@@ -23378,6 +24638,42 @@ EntityFieldValue_ = __decorate([
23378
24638
  ObjectType()
23379
24639
  ], EntityFieldValue_);
23380
24640
  export { EntityFieldValue_ };
24641
+ let CreateEntityFieldValueInput = class CreateEntityFieldValueInput {
24642
+ ID;
24643
+ EntityFieldID;
24644
+ Sequence;
24645
+ Value;
24646
+ Code;
24647
+ Description;
24648
+ };
24649
+ __decorate([
24650
+ Field({ nullable: true }),
24651
+ __metadata("design:type", String)
24652
+ ], CreateEntityFieldValueInput.prototype, "ID", void 0);
24653
+ __decorate([
24654
+ Field({ nullable: true }),
24655
+ __metadata("design:type", String)
24656
+ ], CreateEntityFieldValueInput.prototype, "EntityFieldID", void 0);
24657
+ __decorate([
24658
+ Field(() => Int, { nullable: true }),
24659
+ __metadata("design:type", Number)
24660
+ ], CreateEntityFieldValueInput.prototype, "Sequence", void 0);
24661
+ __decorate([
24662
+ Field({ nullable: true }),
24663
+ __metadata("design:type", String)
24664
+ ], CreateEntityFieldValueInput.prototype, "Value", void 0);
24665
+ __decorate([
24666
+ Field({ nullable: true }),
24667
+ __metadata("design:type", String)
24668
+ ], CreateEntityFieldValueInput.prototype, "Code", void 0);
24669
+ __decorate([
24670
+ Field({ nullable: true }),
24671
+ __metadata("design:type", String)
24672
+ ], CreateEntityFieldValueInput.prototype, "Description", void 0);
24673
+ CreateEntityFieldValueInput = __decorate([
24674
+ InputType()
24675
+ ], CreateEntityFieldValueInput);
24676
+ export { CreateEntityFieldValueInput };
23381
24677
  let UpdateEntityFieldValueInput = class UpdateEntityFieldValueInput {
23382
24678
  ID;
23383
24679
  EntityFieldID;
@@ -23490,10 +24786,19 @@ let EntityFieldValueResolver = class EntityFieldValueResolver extends ResolverBa
23490
24786
  const result = this.ArrayMapFieldNamesToCodeNames('Entity Field Values', rows);
23491
24787
  return result;
23492
24788
  }
24789
+ async CreateEntityFieldValue(input, { dataSources, userPayload }, pubSub) {
24790
+ const connPool = GetReadWriteDataSource(dataSources);
24791
+ return this.CreateRecord('Entity Field Values', input, connPool, userPayload, pubSub);
24792
+ }
23493
24793
  async UpdateEntityFieldValue(input, { dataSources, userPayload }, pubSub) {
23494
24794
  const connPool = GetReadWriteDataSource(dataSources);
23495
24795
  return this.UpdateRecord('Entity Field Values', input, connPool, userPayload, pubSub);
23496
24796
  }
24797
+ async DeleteEntityFieldValue(ID, options, { dataSources, userPayload }, pubSub) {
24798
+ const connPool = GetReadWriteDataSource(dataSources);
24799
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
24800
+ return this.DeleteRecord('Entity Field Values', key, options, connPool, userPayload, pubSub);
24801
+ }
23497
24802
  };
23498
24803
  __decorate([
23499
24804
  Query(() => RunEntityFieldValueViewResult),
@@ -23539,6 +24844,15 @@ __decorate([
23539
24844
  __metadata("design:paramtypes", [Object, PubSubEngine]),
23540
24845
  __metadata("design:returntype", Promise)
23541
24846
  ], EntityFieldValueResolver.prototype, "AllEntityFieldValues", null);
24847
+ __decorate([
24848
+ Mutation(() => EntityFieldValue_),
24849
+ __param(0, Arg('input', () => CreateEntityFieldValueInput)),
24850
+ __param(1, Ctx()),
24851
+ __param(2, PubSub()),
24852
+ __metadata("design:type", Function),
24853
+ __metadata("design:paramtypes", [CreateEntityFieldValueInput, Object, PubSubEngine]),
24854
+ __metadata("design:returntype", Promise)
24855
+ ], EntityFieldValueResolver.prototype, "CreateEntityFieldValue", null);
23542
24856
  __decorate([
23543
24857
  Mutation(() => EntityFieldValue_),
23544
24858
  __param(0, Arg('input', () => UpdateEntityFieldValueInput)),
@@ -23548,6 +24862,16 @@ __decorate([
23548
24862
  __metadata("design:paramtypes", [UpdateEntityFieldValueInput, Object, PubSubEngine]),
23549
24863
  __metadata("design:returntype", Promise)
23550
24864
  ], EntityFieldValueResolver.prototype, "UpdateEntityFieldValue", null);
24865
+ __decorate([
24866
+ Mutation(() => EntityFieldValue_),
24867
+ __param(0, Arg('ID', () => String)),
24868
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
24869
+ __param(2, Ctx()),
24870
+ __param(3, PubSub()),
24871
+ __metadata("design:type", Function),
24872
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
24873
+ __metadata("design:returntype", Promise)
24874
+ ], EntityFieldValueResolver.prototype, "DeleteEntityFieldValue", null);
23551
24875
  EntityFieldValueResolver = __decorate([
23552
24876
  Resolver(EntityFieldValue_)
23553
24877
  ], EntityFieldValueResolver);
@@ -25596,6 +26920,83 @@ QueueType_ = __decorate([
25596
26920
  ObjectType()
25597
26921
  ], QueueType_);
25598
26922
  export { QueueType_ };
26923
+ let CreateQueueTypeInput = class CreateQueueTypeInput {
26924
+ ID;
26925
+ Name;
26926
+ Description;
26927
+ DriverClass;
26928
+ DriverImportPath;
26929
+ IsActive;
26930
+ };
26931
+ __decorate([
26932
+ Field({ nullable: true }),
26933
+ __metadata("design:type", String)
26934
+ ], CreateQueueTypeInput.prototype, "ID", void 0);
26935
+ __decorate([
26936
+ Field({ nullable: true }),
26937
+ __metadata("design:type", String)
26938
+ ], CreateQueueTypeInput.prototype, "Name", void 0);
26939
+ __decorate([
26940
+ Field({ nullable: true }),
26941
+ __metadata("design:type", String)
26942
+ ], CreateQueueTypeInput.prototype, "Description", void 0);
26943
+ __decorate([
26944
+ Field({ nullable: true }),
26945
+ __metadata("design:type", String)
26946
+ ], CreateQueueTypeInput.prototype, "DriverClass", void 0);
26947
+ __decorate([
26948
+ Field({ nullable: true }),
26949
+ __metadata("design:type", String)
26950
+ ], CreateQueueTypeInput.prototype, "DriverImportPath", void 0);
26951
+ __decorate([
26952
+ Field(() => Boolean, { nullable: true }),
26953
+ __metadata("design:type", Boolean)
26954
+ ], CreateQueueTypeInput.prototype, "IsActive", void 0);
26955
+ CreateQueueTypeInput = __decorate([
26956
+ InputType()
26957
+ ], CreateQueueTypeInput);
26958
+ export { CreateQueueTypeInput };
26959
+ let UpdateQueueTypeInput = class UpdateQueueTypeInput {
26960
+ ID;
26961
+ Name;
26962
+ Description;
26963
+ DriverClass;
26964
+ DriverImportPath;
26965
+ IsActive;
26966
+ OldValues___;
26967
+ };
26968
+ __decorate([
26969
+ Field(),
26970
+ __metadata("design:type", String)
26971
+ ], UpdateQueueTypeInput.prototype, "ID", void 0);
26972
+ __decorate([
26973
+ Field({ nullable: true }),
26974
+ __metadata("design:type", String)
26975
+ ], UpdateQueueTypeInput.prototype, "Name", void 0);
26976
+ __decorate([
26977
+ Field({ nullable: true }),
26978
+ __metadata("design:type", String)
26979
+ ], UpdateQueueTypeInput.prototype, "Description", void 0);
26980
+ __decorate([
26981
+ Field({ nullable: true }),
26982
+ __metadata("design:type", String)
26983
+ ], UpdateQueueTypeInput.prototype, "DriverClass", void 0);
26984
+ __decorate([
26985
+ Field({ nullable: true }),
26986
+ __metadata("design:type", String)
26987
+ ], UpdateQueueTypeInput.prototype, "DriverImportPath", void 0);
26988
+ __decorate([
26989
+ Field(() => Boolean, { nullable: true }),
26990
+ __metadata("design:type", Boolean)
26991
+ ], UpdateQueueTypeInput.prototype, "IsActive", void 0);
26992
+ __decorate([
26993
+ Field(() => [KeyValuePairInput], { nullable: true }),
26994
+ __metadata("design:type", Array)
26995
+ ], UpdateQueueTypeInput.prototype, "OldValues___", void 0);
26996
+ UpdateQueueTypeInput = __decorate([
26997
+ InputType()
26998
+ ], UpdateQueueTypeInput);
26999
+ export { UpdateQueueTypeInput };
25599
27000
  let RunQueueTypeViewResult = class RunQueueTypeViewResult {
25600
27001
  Results;
25601
27002
  UserViewRunID;
@@ -25667,6 +27068,19 @@ let QueueTypeResolver = class QueueTypeResolver extends ResolverBase {
25667
27068
  const result = this.ArrayMapFieldNamesToCodeNames('Queues', rows);
25668
27069
  return result;
25669
27070
  }
27071
+ async CreateQueueType(input, { dataSources, userPayload }, pubSub) {
27072
+ const connPool = GetReadWriteDataSource(dataSources);
27073
+ return this.CreateRecord('Queue Types', input, connPool, userPayload, pubSub);
27074
+ }
27075
+ async UpdateQueueType(input, { dataSources, userPayload }, pubSub) {
27076
+ const connPool = GetReadWriteDataSource(dataSources);
27077
+ return this.UpdateRecord('Queue Types', input, connPool, userPayload, pubSub);
27078
+ }
27079
+ async DeleteQueueType(ID, options, { dataSources, userPayload }, pubSub) {
27080
+ const connPool = GetReadWriteDataSource(dataSources);
27081
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
27082
+ return this.DeleteRecord('Queue Types', key, options, connPool, userPayload, pubSub);
27083
+ }
25670
27084
  };
25671
27085
  __decorate([
25672
27086
  Query(() => RunQueueTypeViewResult),
@@ -25713,6 +27127,34 @@ __decorate([
25713
27127
  __metadata("design:paramtypes", [QueueType_, Object, PubSubEngine]),
25714
27128
  __metadata("design:returntype", Promise)
25715
27129
  ], QueueTypeResolver.prototype, "Queues_QueueTypeIDArray", null);
27130
+ __decorate([
27131
+ Mutation(() => QueueType_),
27132
+ __param(0, Arg('input', () => CreateQueueTypeInput)),
27133
+ __param(1, Ctx()),
27134
+ __param(2, PubSub()),
27135
+ __metadata("design:type", Function),
27136
+ __metadata("design:paramtypes", [CreateQueueTypeInput, Object, PubSubEngine]),
27137
+ __metadata("design:returntype", Promise)
27138
+ ], QueueTypeResolver.prototype, "CreateQueueType", null);
27139
+ __decorate([
27140
+ Mutation(() => QueueType_),
27141
+ __param(0, Arg('input', () => UpdateQueueTypeInput)),
27142
+ __param(1, Ctx()),
27143
+ __param(2, PubSub()),
27144
+ __metadata("design:type", Function),
27145
+ __metadata("design:paramtypes", [UpdateQueueTypeInput, Object, PubSubEngine]),
27146
+ __metadata("design:returntype", Promise)
27147
+ ], QueueTypeResolver.prototype, "UpdateQueueType", null);
27148
+ __decorate([
27149
+ Mutation(() => QueueType_),
27150
+ __param(0, Arg('ID', () => String)),
27151
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
27152
+ __param(2, Ctx()),
27153
+ __param(3, PubSub()),
27154
+ __metadata("design:type", Function),
27155
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
27156
+ __metadata("design:returntype", Promise)
27157
+ ], QueueTypeResolver.prototype, "DeleteQueueType", null);
25716
27158
  QueueTypeResolver = __decorate([
25717
27159
  Resolver(QueueType_)
25718
27160
  ], QueueTypeResolver);
@@ -26111,6 +27553,11 @@ let QueueResolver = class QueueResolver extends ResolverBase {
26111
27553
  const connPool = GetReadWriteDataSource(dataSources);
26112
27554
  return this.UpdateRecord('Queues', input, connPool, userPayload, pubSub);
26113
27555
  }
27556
+ async DeleteQueue(ID, options, { dataSources, userPayload }, pubSub) {
27557
+ const connPool = GetReadWriteDataSource(dataSources);
27558
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
27559
+ return this.DeleteRecord('Queues', key, options, connPool, userPayload, pubSub);
27560
+ }
26114
27561
  };
26115
27562
  __decorate([
26116
27563
  Query(() => RunQueueViewResult),
@@ -26175,6 +27622,16 @@ __decorate([
26175
27622
  __metadata("design:paramtypes", [UpdateQueueInput, Object, PubSubEngine]),
26176
27623
  __metadata("design:returntype", Promise)
26177
27624
  ], QueueResolver.prototype, "UpdateQueue", null);
27625
+ __decorate([
27626
+ Mutation(() => Queue_),
27627
+ __param(0, Arg('ID', () => String)),
27628
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
27629
+ __param(2, Ctx()),
27630
+ __param(3, PubSub()),
27631
+ __metadata("design:type", Function),
27632
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
27633
+ __metadata("design:returntype", Promise)
27634
+ ], QueueResolver.prototype, "DeleteQueue", null);
26178
27635
  QueueResolver = __decorate([
26179
27636
  Resolver(Queue_)
26180
27637
  ], QueueResolver);
@@ -26446,6 +27903,11 @@ let QueueTaskResolver = class QueueTaskResolver extends ResolverBase {
26446
27903
  const connPool = GetReadWriteDataSource(dataSources);
26447
27904
  return this.UpdateRecord('Queue Tasks', input, connPool, userPayload, pubSub);
26448
27905
  }
27906
+ async DeleteQueueTask(ID, options, { dataSources, userPayload }, pubSub) {
27907
+ const connPool = GetReadWriteDataSource(dataSources);
27908
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
27909
+ return this.DeleteRecord('Queue Tasks', key, options, connPool, userPayload, pubSub);
27910
+ }
26449
27911
  };
26450
27912
  __decorate([
26451
27913
  Query(() => RunQueueTaskViewResult),
@@ -26501,6 +27963,16 @@ __decorate([
26501
27963
  __metadata("design:paramtypes", [UpdateQueueTaskInput, Object, PubSubEngine]),
26502
27964
  __metadata("design:returntype", Promise)
26503
27965
  ], QueueTaskResolver.prototype, "UpdateQueueTask", null);
27966
+ __decorate([
27967
+ Mutation(() => QueueTask_),
27968
+ __param(0, Arg('ID', () => String)),
27969
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
27970
+ __param(2, Ctx()),
27971
+ __param(3, PubSub()),
27972
+ __metadata("design:type", Function),
27973
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
27974
+ __metadata("design:returntype", Promise)
27975
+ ], QueueTaskResolver.prototype, "DeleteQueueTask", null);
26504
27976
  QueueTaskResolver = __decorate([
26505
27977
  Resolver(QueueTask_)
26506
27978
  ], QueueTaskResolver);
@@ -26976,6 +28448,53 @@ OutputTriggerType_ = __decorate([
26976
28448
  ObjectType()
26977
28449
  ], OutputTriggerType_);
26978
28450
  export { OutputTriggerType_ };
28451
+ let CreateOutputTriggerTypeInput = class CreateOutputTriggerTypeInput {
28452
+ ID;
28453
+ Name;
28454
+ Description;
28455
+ };
28456
+ __decorate([
28457
+ Field({ nullable: true }),
28458
+ __metadata("design:type", String)
28459
+ ], CreateOutputTriggerTypeInput.prototype, "ID", void 0);
28460
+ __decorate([
28461
+ Field({ nullable: true }),
28462
+ __metadata("design:type", String)
28463
+ ], CreateOutputTriggerTypeInput.prototype, "Name", void 0);
28464
+ __decorate([
28465
+ Field({ nullable: true }),
28466
+ __metadata("design:type", String)
28467
+ ], CreateOutputTriggerTypeInput.prototype, "Description", void 0);
28468
+ CreateOutputTriggerTypeInput = __decorate([
28469
+ InputType()
28470
+ ], CreateOutputTriggerTypeInput);
28471
+ export { CreateOutputTriggerTypeInput };
28472
+ let UpdateOutputTriggerTypeInput = class UpdateOutputTriggerTypeInput {
28473
+ ID;
28474
+ Name;
28475
+ Description;
28476
+ OldValues___;
28477
+ };
28478
+ __decorate([
28479
+ Field(),
28480
+ __metadata("design:type", String)
28481
+ ], UpdateOutputTriggerTypeInput.prototype, "ID", void 0);
28482
+ __decorate([
28483
+ Field({ nullable: true }),
28484
+ __metadata("design:type", String)
28485
+ ], UpdateOutputTriggerTypeInput.prototype, "Name", void 0);
28486
+ __decorate([
28487
+ Field({ nullable: true }),
28488
+ __metadata("design:type", String)
28489
+ ], UpdateOutputTriggerTypeInput.prototype, "Description", void 0);
28490
+ __decorate([
28491
+ Field(() => [KeyValuePairInput], { nullable: true }),
28492
+ __metadata("design:type", Array)
28493
+ ], UpdateOutputTriggerTypeInput.prototype, "OldValues___", void 0);
28494
+ UpdateOutputTriggerTypeInput = __decorate([
28495
+ InputType()
28496
+ ], UpdateOutputTriggerTypeInput);
28497
+ export { UpdateOutputTriggerTypeInput };
26979
28498
  let RunOutputTriggerTypeViewResult = class RunOutputTriggerTypeViewResult {
26980
28499
  Results;
26981
28500
  UserViewRunID;
@@ -27047,6 +28566,19 @@ let OutputTriggerTypeResolver = class OutputTriggerTypeResolver extends Resolver
27047
28566
  const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
27048
28567
  return result;
27049
28568
  }
28569
+ async CreateOutputTriggerType(input, { dataSources, userPayload }, pubSub) {
28570
+ const connPool = GetReadWriteDataSource(dataSources);
28571
+ return this.CreateRecord('Output Trigger Types', input, connPool, userPayload, pubSub);
28572
+ }
28573
+ async UpdateOutputTriggerType(input, { dataSources, userPayload }, pubSub) {
28574
+ const connPool = GetReadWriteDataSource(dataSources);
28575
+ return this.UpdateRecord('Output Trigger Types', input, connPool, userPayload, pubSub);
28576
+ }
28577
+ async DeleteOutputTriggerType(ID, options, { dataSources, userPayload }, pubSub) {
28578
+ const connPool = GetReadWriteDataSource(dataSources);
28579
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
28580
+ return this.DeleteRecord('Output Trigger Types', key, options, connPool, userPayload, pubSub);
28581
+ }
27050
28582
  };
27051
28583
  __decorate([
27052
28584
  Query(() => RunOutputTriggerTypeViewResult),
@@ -27093,6 +28625,34 @@ __decorate([
27093
28625
  __metadata("design:paramtypes", [OutputTriggerType_, Object, PubSubEngine]),
27094
28626
  __metadata("design:returntype", Promise)
27095
28627
  ], OutputTriggerTypeResolver.prototype, "Reports_OutputTriggerTypeIDArray", null);
28628
+ __decorate([
28629
+ Mutation(() => OutputTriggerType_),
28630
+ __param(0, Arg('input', () => CreateOutputTriggerTypeInput)),
28631
+ __param(1, Ctx()),
28632
+ __param(2, PubSub()),
28633
+ __metadata("design:type", Function),
28634
+ __metadata("design:paramtypes", [CreateOutputTriggerTypeInput, Object, PubSubEngine]),
28635
+ __metadata("design:returntype", Promise)
28636
+ ], OutputTriggerTypeResolver.prototype, "CreateOutputTriggerType", null);
28637
+ __decorate([
28638
+ Mutation(() => OutputTriggerType_),
28639
+ __param(0, Arg('input', () => UpdateOutputTriggerTypeInput)),
28640
+ __param(1, Ctx()),
28641
+ __param(2, PubSub()),
28642
+ __metadata("design:type", Function),
28643
+ __metadata("design:paramtypes", [UpdateOutputTriggerTypeInput, Object, PubSubEngine]),
28644
+ __metadata("design:returntype", Promise)
28645
+ ], OutputTriggerTypeResolver.prototype, "UpdateOutputTriggerType", null);
28646
+ __decorate([
28647
+ Mutation(() => OutputTriggerType_),
28648
+ __param(0, Arg('ID', () => String)),
28649
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
28650
+ __param(2, Ctx()),
28651
+ __param(3, PubSub()),
28652
+ __metadata("design:type", Function),
28653
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
28654
+ __metadata("design:returntype", Promise)
28655
+ ], OutputTriggerTypeResolver.prototype, "DeleteOutputTriggerType", null);
27096
28656
  OutputTriggerTypeResolver = __decorate([
27097
28657
  Resolver(OutputTriggerType_)
27098
28658
  ], OutputTriggerTypeResolver);
@@ -27142,6 +28702,63 @@ OutputFormatType_ = __decorate([
27142
28702
  ObjectType()
27143
28703
  ], OutputFormatType_);
27144
28704
  export { OutputFormatType_ };
28705
+ let CreateOutputFormatTypeInput = class CreateOutputFormatTypeInput {
28706
+ ID;
28707
+ Name;
28708
+ Description;
28709
+ DisplayFormat;
28710
+ };
28711
+ __decorate([
28712
+ Field({ nullable: true }),
28713
+ __metadata("design:type", String)
28714
+ ], CreateOutputFormatTypeInput.prototype, "ID", void 0);
28715
+ __decorate([
28716
+ Field({ nullable: true }),
28717
+ __metadata("design:type", String)
28718
+ ], CreateOutputFormatTypeInput.prototype, "Name", void 0);
28719
+ __decorate([
28720
+ Field({ nullable: true }),
28721
+ __metadata("design:type", String)
28722
+ ], CreateOutputFormatTypeInput.prototype, "Description", void 0);
28723
+ __decorate([
28724
+ Field({ nullable: true }),
28725
+ __metadata("design:type", String)
28726
+ ], CreateOutputFormatTypeInput.prototype, "DisplayFormat", void 0);
28727
+ CreateOutputFormatTypeInput = __decorate([
28728
+ InputType()
28729
+ ], CreateOutputFormatTypeInput);
28730
+ export { CreateOutputFormatTypeInput };
28731
+ let UpdateOutputFormatTypeInput = class UpdateOutputFormatTypeInput {
28732
+ ID;
28733
+ Name;
28734
+ Description;
28735
+ DisplayFormat;
28736
+ OldValues___;
28737
+ };
28738
+ __decorate([
28739
+ Field(),
28740
+ __metadata("design:type", String)
28741
+ ], UpdateOutputFormatTypeInput.prototype, "ID", void 0);
28742
+ __decorate([
28743
+ Field({ nullable: true }),
28744
+ __metadata("design:type", String)
28745
+ ], UpdateOutputFormatTypeInput.prototype, "Name", void 0);
28746
+ __decorate([
28747
+ Field({ nullable: true }),
28748
+ __metadata("design:type", String)
28749
+ ], UpdateOutputFormatTypeInput.prototype, "Description", void 0);
28750
+ __decorate([
28751
+ Field({ nullable: true }),
28752
+ __metadata("design:type", String)
28753
+ ], UpdateOutputFormatTypeInput.prototype, "DisplayFormat", void 0);
28754
+ __decorate([
28755
+ Field(() => [KeyValuePairInput], { nullable: true }),
28756
+ __metadata("design:type", Array)
28757
+ ], UpdateOutputFormatTypeInput.prototype, "OldValues___", void 0);
28758
+ UpdateOutputFormatTypeInput = __decorate([
28759
+ InputType()
28760
+ ], UpdateOutputFormatTypeInput);
28761
+ export { UpdateOutputFormatTypeInput };
27145
28762
  let RunOutputFormatTypeViewResult = class RunOutputFormatTypeViewResult {
27146
28763
  Results;
27147
28764
  UserViewRunID;
@@ -27213,6 +28830,19 @@ let OutputFormatTypeResolver = class OutputFormatTypeResolver extends ResolverBa
27213
28830
  const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
27214
28831
  return result;
27215
28832
  }
28833
+ async CreateOutputFormatType(input, { dataSources, userPayload }, pubSub) {
28834
+ const connPool = GetReadWriteDataSource(dataSources);
28835
+ return this.CreateRecord('Output Format Types', input, connPool, userPayload, pubSub);
28836
+ }
28837
+ async UpdateOutputFormatType(input, { dataSources, userPayload }, pubSub) {
28838
+ const connPool = GetReadWriteDataSource(dataSources);
28839
+ return this.UpdateRecord('Output Format Types', input, connPool, userPayload, pubSub);
28840
+ }
28841
+ async DeleteOutputFormatType(ID, options, { dataSources, userPayload }, pubSub) {
28842
+ const connPool = GetReadWriteDataSource(dataSources);
28843
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
28844
+ return this.DeleteRecord('Output Format Types', key, options, connPool, userPayload, pubSub);
28845
+ }
27216
28846
  };
27217
28847
  __decorate([
27218
28848
  Query(() => RunOutputFormatTypeViewResult),
@@ -27259,6 +28889,34 @@ __decorate([
27259
28889
  __metadata("design:paramtypes", [OutputFormatType_, Object, PubSubEngine]),
27260
28890
  __metadata("design:returntype", Promise)
27261
28891
  ], OutputFormatTypeResolver.prototype, "Reports_OutputFormatTypeIDArray", null);
28892
+ __decorate([
28893
+ Mutation(() => OutputFormatType_),
28894
+ __param(0, Arg('input', () => CreateOutputFormatTypeInput)),
28895
+ __param(1, Ctx()),
28896
+ __param(2, PubSub()),
28897
+ __metadata("design:type", Function),
28898
+ __metadata("design:paramtypes", [CreateOutputFormatTypeInput, Object, PubSubEngine]),
28899
+ __metadata("design:returntype", Promise)
28900
+ ], OutputFormatTypeResolver.prototype, "CreateOutputFormatType", null);
28901
+ __decorate([
28902
+ Mutation(() => OutputFormatType_),
28903
+ __param(0, Arg('input', () => UpdateOutputFormatTypeInput)),
28904
+ __param(1, Ctx()),
28905
+ __param(2, PubSub()),
28906
+ __metadata("design:type", Function),
28907
+ __metadata("design:paramtypes", [UpdateOutputFormatTypeInput, Object, PubSubEngine]),
28908
+ __metadata("design:returntype", Promise)
28909
+ ], OutputFormatTypeResolver.prototype, "UpdateOutputFormatType", null);
28910
+ __decorate([
28911
+ Mutation(() => OutputFormatType_),
28912
+ __param(0, Arg('ID', () => String)),
28913
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
28914
+ __param(2, Ctx()),
28915
+ __param(3, PubSub()),
28916
+ __metadata("design:type", Function),
28917
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
28918
+ __metadata("design:returntype", Promise)
28919
+ ], OutputFormatTypeResolver.prototype, "DeleteOutputFormatType", null);
27262
28920
  OutputFormatTypeResolver = __decorate([
27263
28921
  Resolver(OutputFormatType_)
27264
28922
  ], OutputFormatTypeResolver);
@@ -27303,6 +28961,53 @@ OutputDeliveryType_ = __decorate([
27303
28961
  ObjectType()
27304
28962
  ], OutputDeliveryType_);
27305
28963
  export { OutputDeliveryType_ };
28964
+ let CreateOutputDeliveryTypeInput = class CreateOutputDeliveryTypeInput {
28965
+ ID;
28966
+ Name;
28967
+ Description;
28968
+ };
28969
+ __decorate([
28970
+ Field({ nullable: true }),
28971
+ __metadata("design:type", String)
28972
+ ], CreateOutputDeliveryTypeInput.prototype, "ID", void 0);
28973
+ __decorate([
28974
+ Field({ nullable: true }),
28975
+ __metadata("design:type", String)
28976
+ ], CreateOutputDeliveryTypeInput.prototype, "Name", void 0);
28977
+ __decorate([
28978
+ Field({ nullable: true }),
28979
+ __metadata("design:type", String)
28980
+ ], CreateOutputDeliveryTypeInput.prototype, "Description", void 0);
28981
+ CreateOutputDeliveryTypeInput = __decorate([
28982
+ InputType()
28983
+ ], CreateOutputDeliveryTypeInput);
28984
+ export { CreateOutputDeliveryTypeInput };
28985
+ let UpdateOutputDeliveryTypeInput = class UpdateOutputDeliveryTypeInput {
28986
+ ID;
28987
+ Name;
28988
+ Description;
28989
+ OldValues___;
28990
+ };
28991
+ __decorate([
28992
+ Field(),
28993
+ __metadata("design:type", String)
28994
+ ], UpdateOutputDeliveryTypeInput.prototype, "ID", void 0);
28995
+ __decorate([
28996
+ Field({ nullable: true }),
28997
+ __metadata("design:type", String)
28998
+ ], UpdateOutputDeliveryTypeInput.prototype, "Name", void 0);
28999
+ __decorate([
29000
+ Field({ nullable: true }),
29001
+ __metadata("design:type", String)
29002
+ ], UpdateOutputDeliveryTypeInput.prototype, "Description", void 0);
29003
+ __decorate([
29004
+ Field(() => [KeyValuePairInput], { nullable: true }),
29005
+ __metadata("design:type", Array)
29006
+ ], UpdateOutputDeliveryTypeInput.prototype, "OldValues___", void 0);
29007
+ UpdateOutputDeliveryTypeInput = __decorate([
29008
+ InputType()
29009
+ ], UpdateOutputDeliveryTypeInput);
29010
+ export { UpdateOutputDeliveryTypeInput };
27306
29011
  let RunOutputDeliveryTypeViewResult = class RunOutputDeliveryTypeViewResult {
27307
29012
  Results;
27308
29013
  UserViewRunID;
@@ -27374,6 +29079,19 @@ let OutputDeliveryTypeResolver = class OutputDeliveryTypeResolver extends Resolv
27374
29079
  const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
27375
29080
  return result;
27376
29081
  }
29082
+ async CreateOutputDeliveryType(input, { dataSources, userPayload }, pubSub) {
29083
+ const connPool = GetReadWriteDataSource(dataSources);
29084
+ return this.CreateRecord('Output Delivery Types', input, connPool, userPayload, pubSub);
29085
+ }
29086
+ async UpdateOutputDeliveryType(input, { dataSources, userPayload }, pubSub) {
29087
+ const connPool = GetReadWriteDataSource(dataSources);
29088
+ return this.UpdateRecord('Output Delivery Types', input, connPool, userPayload, pubSub);
29089
+ }
29090
+ async DeleteOutputDeliveryType(ID, options, { dataSources, userPayload }, pubSub) {
29091
+ const connPool = GetReadWriteDataSource(dataSources);
29092
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
29093
+ return this.DeleteRecord('Output Delivery Types', key, options, connPool, userPayload, pubSub);
29094
+ }
27377
29095
  };
27378
29096
  __decorate([
27379
29097
  Query(() => RunOutputDeliveryTypeViewResult),
@@ -27420,6 +29138,34 @@ __decorate([
27420
29138
  __metadata("design:paramtypes", [OutputDeliveryType_, Object, PubSubEngine]),
27421
29139
  __metadata("design:returntype", Promise)
27422
29140
  ], OutputDeliveryTypeResolver.prototype, "Reports_OutputDeliveryTypeIDArray", null);
29141
+ __decorate([
29142
+ Mutation(() => OutputDeliveryType_),
29143
+ __param(0, Arg('input', () => CreateOutputDeliveryTypeInput)),
29144
+ __param(1, Ctx()),
29145
+ __param(2, PubSub()),
29146
+ __metadata("design:type", Function),
29147
+ __metadata("design:paramtypes", [CreateOutputDeliveryTypeInput, Object, PubSubEngine]),
29148
+ __metadata("design:returntype", Promise)
29149
+ ], OutputDeliveryTypeResolver.prototype, "CreateOutputDeliveryType", null);
29150
+ __decorate([
29151
+ Mutation(() => OutputDeliveryType_),
29152
+ __param(0, Arg('input', () => UpdateOutputDeliveryTypeInput)),
29153
+ __param(1, Ctx()),
29154
+ __param(2, PubSub()),
29155
+ __metadata("design:type", Function),
29156
+ __metadata("design:paramtypes", [UpdateOutputDeliveryTypeInput, Object, PubSubEngine]),
29157
+ __metadata("design:returntype", Promise)
29158
+ ], OutputDeliveryTypeResolver.prototype, "UpdateOutputDeliveryType", null);
29159
+ __decorate([
29160
+ Mutation(() => OutputDeliveryType_),
29161
+ __param(0, Arg('ID', () => String)),
29162
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
29163
+ __param(2, Ctx()),
29164
+ __param(3, PubSub()),
29165
+ __metadata("design:type", Function),
29166
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
29167
+ __metadata("design:returntype", Promise)
29168
+ ], OutputDeliveryTypeResolver.prototype, "DeleteOutputDeliveryType", null);
27423
29169
  OutputDeliveryTypeResolver = __decorate([
27424
29170
  Resolver(OutputDeliveryType_)
27425
29171
  ], OutputDeliveryTypeResolver);
@@ -28333,6 +30079,93 @@ ResourceType_ = __decorate([
28333
30079
  ObjectType()
28334
30080
  ], ResourceType_);
28335
30081
  export { ResourceType_ };
30082
+ let CreateResourceTypeInput = class CreateResourceTypeInput {
30083
+ ID;
30084
+ Name;
30085
+ DisplayName;
30086
+ Description;
30087
+ Icon;
30088
+ EntityID;
30089
+ CategoryEntityID;
30090
+ };
30091
+ __decorate([
30092
+ Field({ nullable: true }),
30093
+ __metadata("design:type", String)
30094
+ ], CreateResourceTypeInput.prototype, "ID", void 0);
30095
+ __decorate([
30096
+ Field({ nullable: true }),
30097
+ __metadata("design:type", String)
30098
+ ], CreateResourceTypeInput.prototype, "Name", void 0);
30099
+ __decorate([
30100
+ Field({ nullable: true }),
30101
+ __metadata("design:type", String)
30102
+ ], CreateResourceTypeInput.prototype, "DisplayName", void 0);
30103
+ __decorate([
30104
+ Field({ nullable: true }),
30105
+ __metadata("design:type", String)
30106
+ ], CreateResourceTypeInput.prototype, "Description", void 0);
30107
+ __decorate([
30108
+ Field({ nullable: true }),
30109
+ __metadata("design:type", String)
30110
+ ], CreateResourceTypeInput.prototype, "Icon", void 0);
30111
+ __decorate([
30112
+ Field({ nullable: true }),
30113
+ __metadata("design:type", String)
30114
+ ], CreateResourceTypeInput.prototype, "EntityID", void 0);
30115
+ __decorate([
30116
+ Field({ nullable: true }),
30117
+ __metadata("design:type", String)
30118
+ ], CreateResourceTypeInput.prototype, "CategoryEntityID", void 0);
30119
+ CreateResourceTypeInput = __decorate([
30120
+ InputType()
30121
+ ], CreateResourceTypeInput);
30122
+ export { CreateResourceTypeInput };
30123
+ let UpdateResourceTypeInput = class UpdateResourceTypeInput {
30124
+ ID;
30125
+ Name;
30126
+ DisplayName;
30127
+ Description;
30128
+ Icon;
30129
+ EntityID;
30130
+ CategoryEntityID;
30131
+ OldValues___;
30132
+ };
30133
+ __decorate([
30134
+ Field(),
30135
+ __metadata("design:type", String)
30136
+ ], UpdateResourceTypeInput.prototype, "ID", void 0);
30137
+ __decorate([
30138
+ Field({ nullable: true }),
30139
+ __metadata("design:type", String)
30140
+ ], UpdateResourceTypeInput.prototype, "Name", void 0);
30141
+ __decorate([
30142
+ Field({ nullable: true }),
30143
+ __metadata("design:type", String)
30144
+ ], UpdateResourceTypeInput.prototype, "DisplayName", void 0);
30145
+ __decorate([
30146
+ Field({ nullable: true }),
30147
+ __metadata("design:type", String)
30148
+ ], UpdateResourceTypeInput.prototype, "Description", void 0);
30149
+ __decorate([
30150
+ Field({ nullable: true }),
30151
+ __metadata("design:type", String)
30152
+ ], UpdateResourceTypeInput.prototype, "Icon", void 0);
30153
+ __decorate([
30154
+ Field({ nullable: true }),
30155
+ __metadata("design:type", String)
30156
+ ], UpdateResourceTypeInput.prototype, "EntityID", void 0);
30157
+ __decorate([
30158
+ Field({ nullable: true }),
30159
+ __metadata("design:type", String)
30160
+ ], UpdateResourceTypeInput.prototype, "CategoryEntityID", void 0);
30161
+ __decorate([
30162
+ Field(() => [KeyValuePairInput], { nullable: true }),
30163
+ __metadata("design:type", Array)
30164
+ ], UpdateResourceTypeInput.prototype, "OldValues___", void 0);
30165
+ UpdateResourceTypeInput = __decorate([
30166
+ InputType()
30167
+ ], UpdateResourceTypeInput);
30168
+ export { UpdateResourceTypeInput };
28336
30169
  let RunResourceTypeViewResult = class RunResourceTypeViewResult {
28337
30170
  Results;
28338
30171
  UserViewRunID;
@@ -28428,6 +30261,19 @@ let ResourceTypeResolver = class ResourceTypeResolver extends ResolverBase {
28428
30261
  const result = this.ArrayMapFieldNamesToCodeNames('Resource Permissions', rows);
28429
30262
  return result;
28430
30263
  }
30264
+ async CreateResourceType(input, { dataSources, userPayload }, pubSub) {
30265
+ const connPool = GetReadWriteDataSource(dataSources);
30266
+ return this.CreateRecord('Resource Types', input, connPool, userPayload, pubSub);
30267
+ }
30268
+ async UpdateResourceType(input, { dataSources, userPayload }, pubSub) {
30269
+ const connPool = GetReadWriteDataSource(dataSources);
30270
+ return this.UpdateRecord('Resource Types', input, connPool, userPayload, pubSub);
30271
+ }
30272
+ async DeleteResourceType(ID, options, { dataSources, userPayload }, pubSub) {
30273
+ const connPool = GetReadWriteDataSource(dataSources);
30274
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
30275
+ return this.DeleteRecord('Resource Types', key, options, connPool, userPayload, pubSub);
30276
+ }
28431
30277
  };
28432
30278
  __decorate([
28433
30279
  Query(() => RunResourceTypeViewResult),
@@ -28501,6 +30347,34 @@ __decorate([
28501
30347
  __metadata("design:paramtypes", [ResourceType_, Object, PubSubEngine]),
28502
30348
  __metadata("design:returntype", Promise)
28503
30349
  ], ResourceTypeResolver.prototype, "ResourcePermissions_ResourceTypeIDArray", null);
30350
+ __decorate([
30351
+ Mutation(() => ResourceType_),
30352
+ __param(0, Arg('input', () => CreateResourceTypeInput)),
30353
+ __param(1, Ctx()),
30354
+ __param(2, PubSub()),
30355
+ __metadata("design:type", Function),
30356
+ __metadata("design:paramtypes", [CreateResourceTypeInput, Object, PubSubEngine]),
30357
+ __metadata("design:returntype", Promise)
30358
+ ], ResourceTypeResolver.prototype, "CreateResourceType", null);
30359
+ __decorate([
30360
+ Mutation(() => ResourceType_),
30361
+ __param(0, Arg('input', () => UpdateResourceTypeInput)),
30362
+ __param(1, Ctx()),
30363
+ __param(2, PubSub()),
30364
+ __metadata("design:type", Function),
30365
+ __metadata("design:paramtypes", [UpdateResourceTypeInput, Object, PubSubEngine]),
30366
+ __metadata("design:returntype", Promise)
30367
+ ], ResourceTypeResolver.prototype, "UpdateResourceType", null);
30368
+ __decorate([
30369
+ Mutation(() => ResourceType_),
30370
+ __param(0, Arg('ID', () => String)),
30371
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
30372
+ __param(2, Ctx()),
30373
+ __param(3, PubSub()),
30374
+ __metadata("design:type", Function),
30375
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
30376
+ __metadata("design:returntype", Promise)
30377
+ ], ResourceTypeResolver.prototype, "DeleteResourceType", null);
28504
30378
  ResourceTypeResolver = __decorate([
28505
30379
  Resolver(ResourceType_)
28506
30380
  ], ResourceTypeResolver);
@@ -28568,6 +30442,73 @@ Tag_ = __decorate([
28568
30442
  ObjectType({ description: `Tags are used to arbitrarily associate any record in any entity with addtional information.` })
28569
30443
  ], Tag_);
28570
30444
  export { Tag_ };
30445
+ let CreateTagInput = class CreateTagInput {
30446
+ ID;
30447
+ Name;
30448
+ ParentID;
30449
+ DisplayName;
30450
+ Description;
30451
+ };
30452
+ __decorate([
30453
+ Field({ nullable: true }),
30454
+ __metadata("design:type", String)
30455
+ ], CreateTagInput.prototype, "ID", void 0);
30456
+ __decorate([
30457
+ Field({ nullable: true }),
30458
+ __metadata("design:type", String)
30459
+ ], CreateTagInput.prototype, "Name", void 0);
30460
+ __decorate([
30461
+ Field({ nullable: true }),
30462
+ __metadata("design:type", String)
30463
+ ], CreateTagInput.prototype, "ParentID", void 0);
30464
+ __decorate([
30465
+ Field({ nullable: true }),
30466
+ __metadata("design:type", String)
30467
+ ], CreateTagInput.prototype, "DisplayName", void 0);
30468
+ __decorate([
30469
+ Field({ nullable: true }),
30470
+ __metadata("design:type", String)
30471
+ ], CreateTagInput.prototype, "Description", void 0);
30472
+ CreateTagInput = __decorate([
30473
+ InputType()
30474
+ ], CreateTagInput);
30475
+ export { CreateTagInput };
30476
+ let UpdateTagInput = class UpdateTagInput {
30477
+ ID;
30478
+ Name;
30479
+ ParentID;
30480
+ DisplayName;
30481
+ Description;
30482
+ OldValues___;
30483
+ };
30484
+ __decorate([
30485
+ Field(),
30486
+ __metadata("design:type", String)
30487
+ ], UpdateTagInput.prototype, "ID", void 0);
30488
+ __decorate([
30489
+ Field({ nullable: true }),
30490
+ __metadata("design:type", String)
30491
+ ], UpdateTagInput.prototype, "Name", void 0);
30492
+ __decorate([
30493
+ Field({ nullable: true }),
30494
+ __metadata("design:type", String)
30495
+ ], UpdateTagInput.prototype, "ParentID", void 0);
30496
+ __decorate([
30497
+ Field({ nullable: true }),
30498
+ __metadata("design:type", String)
30499
+ ], UpdateTagInput.prototype, "DisplayName", void 0);
30500
+ __decorate([
30501
+ Field({ nullable: true }),
30502
+ __metadata("design:type", String)
30503
+ ], UpdateTagInput.prototype, "Description", void 0);
30504
+ __decorate([
30505
+ Field(() => [KeyValuePairInput], { nullable: true }),
30506
+ __metadata("design:type", Array)
30507
+ ], UpdateTagInput.prototype, "OldValues___", void 0);
30508
+ UpdateTagInput = __decorate([
30509
+ InputType()
30510
+ ], UpdateTagInput);
30511
+ export { UpdateTagInput };
28571
30512
  let RunTagViewResult = class RunTagViewResult {
28572
30513
  Results;
28573
30514
  UserViewRunID;
@@ -28647,6 +30588,19 @@ let TagResolver = class TagResolver extends ResolverBase {
28647
30588
  const result = this.ArrayMapFieldNamesToCodeNames('Tagged Items', rows);
28648
30589
  return result;
28649
30590
  }
30591
+ async CreateTag(input, { dataSources, userPayload }, pubSub) {
30592
+ const connPool = GetReadWriteDataSource(dataSources);
30593
+ return this.CreateRecord('Tags', input, connPool, userPayload, pubSub);
30594
+ }
30595
+ async UpdateTag(input, { dataSources, userPayload }, pubSub) {
30596
+ const connPool = GetReadWriteDataSource(dataSources);
30597
+ return this.UpdateRecord('Tags', input, connPool, userPayload, pubSub);
30598
+ }
30599
+ async DeleteTag(ID, options, { dataSources, userPayload }, pubSub) {
30600
+ const connPool = GetReadWriteDataSource(dataSources);
30601
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
30602
+ return this.DeleteRecord('Tags', key, options, connPool, userPayload, pubSub);
30603
+ }
28650
30604
  };
28651
30605
  __decorate([
28652
30606
  Query(() => RunTagViewResult),
@@ -28702,6 +30656,34 @@ __decorate([
28702
30656
  __metadata("design:paramtypes", [Tag_, Object, PubSubEngine]),
28703
30657
  __metadata("design:returntype", Promise)
28704
30658
  ], TagResolver.prototype, "TaggedItems_TagIDArray", null);
30659
+ __decorate([
30660
+ Mutation(() => Tag_),
30661
+ __param(0, Arg('input', () => CreateTagInput)),
30662
+ __param(1, Ctx()),
30663
+ __param(2, PubSub()),
30664
+ __metadata("design:type", Function),
30665
+ __metadata("design:paramtypes", [CreateTagInput, Object, PubSubEngine]),
30666
+ __metadata("design:returntype", Promise)
30667
+ ], TagResolver.prototype, "CreateTag", null);
30668
+ __decorate([
30669
+ Mutation(() => Tag_),
30670
+ __param(0, Arg('input', () => UpdateTagInput)),
30671
+ __param(1, Ctx()),
30672
+ __param(2, PubSub()),
30673
+ __metadata("design:type", Function),
30674
+ __metadata("design:paramtypes", [UpdateTagInput, Object, PubSubEngine]),
30675
+ __metadata("design:returntype", Promise)
30676
+ ], TagResolver.prototype, "UpdateTag", null);
30677
+ __decorate([
30678
+ Mutation(() => Tag_),
30679
+ __param(0, Arg('ID', () => String)),
30680
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
30681
+ __param(2, Ctx()),
30682
+ __param(3, PubSub()),
30683
+ __metadata("design:type", Function),
30684
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
30685
+ __metadata("design:returntype", Promise)
30686
+ ], TagResolver.prototype, "DeleteTag", null);
28705
30687
  TagResolver = __decorate([
28706
30688
  Resolver(Tag_)
28707
30689
  ], TagResolver);
@@ -28760,6 +30742,63 @@ TaggedItem_ = __decorate([
28760
30742
  ObjectType({ description: `Tracks the links between any record in any entity with Tags` })
28761
30743
  ], TaggedItem_);
28762
30744
  export { TaggedItem_ };
30745
+ let CreateTaggedItemInput = class CreateTaggedItemInput {
30746
+ ID;
30747
+ TagID;
30748
+ EntityID;
30749
+ RecordID;
30750
+ };
30751
+ __decorate([
30752
+ Field({ nullable: true }),
30753
+ __metadata("design:type", String)
30754
+ ], CreateTaggedItemInput.prototype, "ID", void 0);
30755
+ __decorate([
30756
+ Field({ nullable: true }),
30757
+ __metadata("design:type", String)
30758
+ ], CreateTaggedItemInput.prototype, "TagID", void 0);
30759
+ __decorate([
30760
+ Field({ nullable: true }),
30761
+ __metadata("design:type", String)
30762
+ ], CreateTaggedItemInput.prototype, "EntityID", void 0);
30763
+ __decorate([
30764
+ Field({ nullable: true }),
30765
+ __metadata("design:type", String)
30766
+ ], CreateTaggedItemInput.prototype, "RecordID", void 0);
30767
+ CreateTaggedItemInput = __decorate([
30768
+ InputType()
30769
+ ], CreateTaggedItemInput);
30770
+ export { CreateTaggedItemInput };
30771
+ let UpdateTaggedItemInput = class UpdateTaggedItemInput {
30772
+ ID;
30773
+ TagID;
30774
+ EntityID;
30775
+ RecordID;
30776
+ OldValues___;
30777
+ };
30778
+ __decorate([
30779
+ Field(),
30780
+ __metadata("design:type", String)
30781
+ ], UpdateTaggedItemInput.prototype, "ID", void 0);
30782
+ __decorate([
30783
+ Field({ nullable: true }),
30784
+ __metadata("design:type", String)
30785
+ ], UpdateTaggedItemInput.prototype, "TagID", void 0);
30786
+ __decorate([
30787
+ Field({ nullable: true }),
30788
+ __metadata("design:type", String)
30789
+ ], UpdateTaggedItemInput.prototype, "EntityID", void 0);
30790
+ __decorate([
30791
+ Field({ nullable: true }),
30792
+ __metadata("design:type", String)
30793
+ ], UpdateTaggedItemInput.prototype, "RecordID", void 0);
30794
+ __decorate([
30795
+ Field(() => [KeyValuePairInput], { nullable: true }),
30796
+ __metadata("design:type", Array)
30797
+ ], UpdateTaggedItemInput.prototype, "OldValues___", void 0);
30798
+ UpdateTaggedItemInput = __decorate([
30799
+ InputType()
30800
+ ], UpdateTaggedItemInput);
30801
+ export { UpdateTaggedItemInput };
28763
30802
  let RunTaggedItemViewResult = class RunTaggedItemViewResult {
28764
30803
  Results;
28765
30804
  UserViewRunID;
@@ -28823,6 +30862,19 @@ let TaggedItemResolver = class TaggedItemResolver extends ResolverBase {
28823
30862
  const result = this.MapFieldNamesToCodeNames('Tagged Items', rows && rows.length > 0 ? rows[0] : {});
28824
30863
  return result;
28825
30864
  }
30865
+ async CreateTaggedItem(input, { dataSources, userPayload }, pubSub) {
30866
+ const connPool = GetReadWriteDataSource(dataSources);
30867
+ return this.CreateRecord('Tagged Items', input, connPool, userPayload, pubSub);
30868
+ }
30869
+ async UpdateTaggedItem(input, { dataSources, userPayload }, pubSub) {
30870
+ const connPool = GetReadWriteDataSource(dataSources);
30871
+ return this.UpdateRecord('Tagged Items', input, connPool, userPayload, pubSub);
30872
+ }
30873
+ async DeleteTaggedItem(ID, options, { dataSources, userPayload }, pubSub) {
30874
+ const connPool = GetReadWriteDataSource(dataSources);
30875
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
30876
+ return this.DeleteRecord('Tagged Items', key, options, connPool, userPayload, pubSub);
30877
+ }
28826
30878
  };
28827
30879
  __decorate([
28828
30880
  Query(() => RunTaggedItemViewResult),
@@ -28860,6 +30912,34 @@ __decorate([
28860
30912
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
28861
30913
  __metadata("design:returntype", Promise)
28862
30914
  ], TaggedItemResolver.prototype, "TaggedItem", null);
30915
+ __decorate([
30916
+ Mutation(() => TaggedItem_),
30917
+ __param(0, Arg('input', () => CreateTaggedItemInput)),
30918
+ __param(1, Ctx()),
30919
+ __param(2, PubSub()),
30920
+ __metadata("design:type", Function),
30921
+ __metadata("design:paramtypes", [CreateTaggedItemInput, Object, PubSubEngine]),
30922
+ __metadata("design:returntype", Promise)
30923
+ ], TaggedItemResolver.prototype, "CreateTaggedItem", null);
30924
+ __decorate([
30925
+ Mutation(() => TaggedItem_),
30926
+ __param(0, Arg('input', () => UpdateTaggedItemInput)),
30927
+ __param(1, Ctx()),
30928
+ __param(2, PubSub()),
30929
+ __metadata("design:type", Function),
30930
+ __metadata("design:paramtypes", [UpdateTaggedItemInput, Object, PubSubEngine]),
30931
+ __metadata("design:returntype", Promise)
30932
+ ], TaggedItemResolver.prototype, "UpdateTaggedItem", null);
30933
+ __decorate([
30934
+ Mutation(() => TaggedItem_),
30935
+ __param(0, Arg('ID', () => String)),
30936
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
30937
+ __param(2, Ctx()),
30938
+ __param(3, PubSub()),
30939
+ __metadata("design:type", Function),
30940
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
30941
+ __metadata("design:returntype", Promise)
30942
+ ], TaggedItemResolver.prototype, "DeleteTaggedItem", null);
28863
30943
  TaggedItemResolver = __decorate([
28864
30944
  Resolver(TaggedItem_)
28865
30945
  ], TaggedItemResolver);
@@ -29492,6 +31572,53 @@ Dataset_ = __decorate([
29492
31572
  ObjectType({ description: `Cacheable sets of data that can span one or more items` })
29493
31573
  ], Dataset_);
29494
31574
  export { Dataset_ };
31575
+ let CreateDatasetInput = class CreateDatasetInput {
31576
+ ID;
31577
+ Name;
31578
+ Description;
31579
+ };
31580
+ __decorate([
31581
+ Field({ nullable: true }),
31582
+ __metadata("design:type", String)
31583
+ ], CreateDatasetInput.prototype, "ID", void 0);
31584
+ __decorate([
31585
+ Field({ nullable: true }),
31586
+ __metadata("design:type", String)
31587
+ ], CreateDatasetInput.prototype, "Name", void 0);
31588
+ __decorate([
31589
+ Field({ nullable: true }),
31590
+ __metadata("design:type", String)
31591
+ ], CreateDatasetInput.prototype, "Description", void 0);
31592
+ CreateDatasetInput = __decorate([
31593
+ InputType()
31594
+ ], CreateDatasetInput);
31595
+ export { CreateDatasetInput };
31596
+ let UpdateDatasetInput = class UpdateDatasetInput {
31597
+ ID;
31598
+ Name;
31599
+ Description;
31600
+ OldValues___;
31601
+ };
31602
+ __decorate([
31603
+ Field(),
31604
+ __metadata("design:type", String)
31605
+ ], UpdateDatasetInput.prototype, "ID", void 0);
31606
+ __decorate([
31607
+ Field({ nullable: true }),
31608
+ __metadata("design:type", String)
31609
+ ], UpdateDatasetInput.prototype, "Name", void 0);
31610
+ __decorate([
31611
+ Field({ nullable: true }),
31612
+ __metadata("design:type", String)
31613
+ ], UpdateDatasetInput.prototype, "Description", void 0);
31614
+ __decorate([
31615
+ Field(() => [KeyValuePairInput], { nullable: true }),
31616
+ __metadata("design:type", Array)
31617
+ ], UpdateDatasetInput.prototype, "OldValues___", void 0);
31618
+ UpdateDatasetInput = __decorate([
31619
+ InputType()
31620
+ ], UpdateDatasetInput);
31621
+ export { UpdateDatasetInput };
29495
31622
  let RunDatasetViewResult = class RunDatasetViewResult {
29496
31623
  Results;
29497
31624
  UserViewRunID;
@@ -29563,6 +31690,19 @@ let DatasetResolver = class DatasetResolver extends ResolverBase {
29563
31690
  const result = this.ArrayMapFieldNamesToCodeNames('Dataset Items', rows);
29564
31691
  return result;
29565
31692
  }
31693
+ async CreateDataset(input, { dataSources, userPayload }, pubSub) {
31694
+ const connPool = GetReadWriteDataSource(dataSources);
31695
+ return this.CreateRecord('Datasets', input, connPool, userPayload, pubSub);
31696
+ }
31697
+ async UpdateDataset(input, { dataSources, userPayload }, pubSub) {
31698
+ const connPool = GetReadWriteDataSource(dataSources);
31699
+ return this.UpdateRecord('Datasets', input, connPool, userPayload, pubSub);
31700
+ }
31701
+ async DeleteDataset(ID, options, { dataSources, userPayload }, pubSub) {
31702
+ const connPool = GetReadWriteDataSource(dataSources);
31703
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
31704
+ return this.DeleteRecord('Datasets', key, options, connPool, userPayload, pubSub);
31705
+ }
29566
31706
  };
29567
31707
  __decorate([
29568
31708
  Query(() => RunDatasetViewResult),
@@ -29609,6 +31749,34 @@ __decorate([
29609
31749
  __metadata("design:paramtypes", [Dataset_, Object, PubSubEngine]),
29610
31750
  __metadata("design:returntype", Promise)
29611
31751
  ], DatasetResolver.prototype, "DatasetItems_DatasetNameArray", null);
31752
+ __decorate([
31753
+ Mutation(() => Dataset_),
31754
+ __param(0, Arg('input', () => CreateDatasetInput)),
31755
+ __param(1, Ctx()),
31756
+ __param(2, PubSub()),
31757
+ __metadata("design:type", Function),
31758
+ __metadata("design:paramtypes", [CreateDatasetInput, Object, PubSubEngine]),
31759
+ __metadata("design:returntype", Promise)
31760
+ ], DatasetResolver.prototype, "CreateDataset", null);
31761
+ __decorate([
31762
+ Mutation(() => Dataset_),
31763
+ __param(0, Arg('input', () => UpdateDatasetInput)),
31764
+ __param(1, Ctx()),
31765
+ __param(2, PubSub()),
31766
+ __metadata("design:type", Function),
31767
+ __metadata("design:paramtypes", [UpdateDatasetInput, Object, PubSubEngine]),
31768
+ __metadata("design:returntype", Promise)
31769
+ ], DatasetResolver.prototype, "UpdateDataset", null);
31770
+ __decorate([
31771
+ Mutation(() => Dataset_),
31772
+ __param(0, Arg('ID', () => String)),
31773
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
31774
+ __param(2, Ctx()),
31775
+ __param(3, PubSub()),
31776
+ __metadata("design:type", Function),
31777
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
31778
+ __metadata("design:returntype", Promise)
31779
+ ], DatasetResolver.prototype, "DeleteDataset", null);
29612
31780
  DatasetResolver = __decorate([
29613
31781
  Resolver(Dataset_)
29614
31782
  ], DatasetResolver);
@@ -29693,6 +31861,113 @@ DatasetItem_ = __decorate([
29693
31861
  ObjectType({ description: `A single item in a Dataset and can be sourced from multiple methods.` })
29694
31862
  ], DatasetItem_);
29695
31863
  export { DatasetItem_ };
31864
+ let CreateDatasetItemInput = class CreateDatasetItemInput {
31865
+ ID;
31866
+ Code;
31867
+ DatasetID;
31868
+ Sequence;
31869
+ EntityID;
31870
+ WhereClause;
31871
+ DateFieldToCheck;
31872
+ Description;
31873
+ Columns;
31874
+ };
31875
+ __decorate([
31876
+ Field({ nullable: true }),
31877
+ __metadata("design:type", String)
31878
+ ], CreateDatasetItemInput.prototype, "ID", void 0);
31879
+ __decorate([
31880
+ Field({ nullable: true }),
31881
+ __metadata("design:type", String)
31882
+ ], CreateDatasetItemInput.prototype, "Code", void 0);
31883
+ __decorate([
31884
+ Field({ nullable: true }),
31885
+ __metadata("design:type", String)
31886
+ ], CreateDatasetItemInput.prototype, "DatasetID", void 0);
31887
+ __decorate([
31888
+ Field(() => Int, { nullable: true }),
31889
+ __metadata("design:type", Number)
31890
+ ], CreateDatasetItemInput.prototype, "Sequence", void 0);
31891
+ __decorate([
31892
+ Field({ nullable: true }),
31893
+ __metadata("design:type", String)
31894
+ ], CreateDatasetItemInput.prototype, "EntityID", void 0);
31895
+ __decorate([
31896
+ Field({ nullable: true }),
31897
+ __metadata("design:type", String)
31898
+ ], CreateDatasetItemInput.prototype, "WhereClause", void 0);
31899
+ __decorate([
31900
+ Field({ nullable: true }),
31901
+ __metadata("design:type", String)
31902
+ ], CreateDatasetItemInput.prototype, "DateFieldToCheck", void 0);
31903
+ __decorate([
31904
+ Field({ nullable: true }),
31905
+ __metadata("design:type", String)
31906
+ ], CreateDatasetItemInput.prototype, "Description", void 0);
31907
+ __decorate([
31908
+ Field({ nullable: true }),
31909
+ __metadata("design:type", String)
31910
+ ], CreateDatasetItemInput.prototype, "Columns", void 0);
31911
+ CreateDatasetItemInput = __decorate([
31912
+ InputType()
31913
+ ], CreateDatasetItemInput);
31914
+ export { CreateDatasetItemInput };
31915
+ let UpdateDatasetItemInput = class UpdateDatasetItemInput {
31916
+ ID;
31917
+ Code;
31918
+ DatasetID;
31919
+ Sequence;
31920
+ EntityID;
31921
+ WhereClause;
31922
+ DateFieldToCheck;
31923
+ Description;
31924
+ Columns;
31925
+ OldValues___;
31926
+ };
31927
+ __decorate([
31928
+ Field(),
31929
+ __metadata("design:type", String)
31930
+ ], UpdateDatasetItemInput.prototype, "ID", void 0);
31931
+ __decorate([
31932
+ Field({ nullable: true }),
31933
+ __metadata("design:type", String)
31934
+ ], UpdateDatasetItemInput.prototype, "Code", void 0);
31935
+ __decorate([
31936
+ Field({ nullable: true }),
31937
+ __metadata("design:type", String)
31938
+ ], UpdateDatasetItemInput.prototype, "DatasetID", void 0);
31939
+ __decorate([
31940
+ Field(() => Int, { nullable: true }),
31941
+ __metadata("design:type", Number)
31942
+ ], UpdateDatasetItemInput.prototype, "Sequence", void 0);
31943
+ __decorate([
31944
+ Field({ nullable: true }),
31945
+ __metadata("design:type", String)
31946
+ ], UpdateDatasetItemInput.prototype, "EntityID", void 0);
31947
+ __decorate([
31948
+ Field({ nullable: true }),
31949
+ __metadata("design:type", String)
31950
+ ], UpdateDatasetItemInput.prototype, "WhereClause", void 0);
31951
+ __decorate([
31952
+ Field({ nullable: true }),
31953
+ __metadata("design:type", String)
31954
+ ], UpdateDatasetItemInput.prototype, "DateFieldToCheck", void 0);
31955
+ __decorate([
31956
+ Field({ nullable: true }),
31957
+ __metadata("design:type", String)
31958
+ ], UpdateDatasetItemInput.prototype, "Description", void 0);
31959
+ __decorate([
31960
+ Field({ nullable: true }),
31961
+ __metadata("design:type", String)
31962
+ ], UpdateDatasetItemInput.prototype, "Columns", void 0);
31963
+ __decorate([
31964
+ Field(() => [KeyValuePairInput], { nullable: true }),
31965
+ __metadata("design:type", Array)
31966
+ ], UpdateDatasetItemInput.prototype, "OldValues___", void 0);
31967
+ UpdateDatasetItemInput = __decorate([
31968
+ InputType()
31969
+ ], UpdateDatasetItemInput);
31970
+ export { UpdateDatasetItemInput };
29696
31971
  let RunDatasetItemViewResult = class RunDatasetItemViewResult {
29697
31972
  Results;
29698
31973
  UserViewRunID;
@@ -29756,6 +32031,19 @@ let DatasetItemResolver = class DatasetItemResolver extends ResolverBase {
29756
32031
  const result = this.MapFieldNamesToCodeNames('Dataset Items', rows && rows.length > 0 ? rows[0] : {});
29757
32032
  return result;
29758
32033
  }
32034
+ async CreateDatasetItem(input, { dataSources, userPayload }, pubSub) {
32035
+ const connPool = GetReadWriteDataSource(dataSources);
32036
+ return this.CreateRecord('Dataset Items', input, connPool, userPayload, pubSub);
32037
+ }
32038
+ async UpdateDatasetItem(input, { dataSources, userPayload }, pubSub) {
32039
+ const connPool = GetReadWriteDataSource(dataSources);
32040
+ return this.UpdateRecord('Dataset Items', input, connPool, userPayload, pubSub);
32041
+ }
32042
+ async DeleteDatasetItem(ID, options, { dataSources, userPayload }, pubSub) {
32043
+ const connPool = GetReadWriteDataSource(dataSources);
32044
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
32045
+ return this.DeleteRecord('Dataset Items', key, options, connPool, userPayload, pubSub);
32046
+ }
29759
32047
  };
29760
32048
  __decorate([
29761
32049
  Query(() => RunDatasetItemViewResult),
@@ -29793,6 +32081,34 @@ __decorate([
29793
32081
  __metadata("design:paramtypes", [String, Object, PubSubEngine]),
29794
32082
  __metadata("design:returntype", Promise)
29795
32083
  ], DatasetItemResolver.prototype, "DatasetItem", null);
32084
+ __decorate([
32085
+ Mutation(() => DatasetItem_),
32086
+ __param(0, Arg('input', () => CreateDatasetItemInput)),
32087
+ __param(1, Ctx()),
32088
+ __param(2, PubSub()),
32089
+ __metadata("design:type", Function),
32090
+ __metadata("design:paramtypes", [CreateDatasetItemInput, Object, PubSubEngine]),
32091
+ __metadata("design:returntype", Promise)
32092
+ ], DatasetItemResolver.prototype, "CreateDatasetItem", null);
32093
+ __decorate([
32094
+ Mutation(() => DatasetItem_),
32095
+ __param(0, Arg('input', () => UpdateDatasetItemInput)),
32096
+ __param(1, Ctx()),
32097
+ __param(2, PubSub()),
32098
+ __metadata("design:type", Function),
32099
+ __metadata("design:paramtypes", [UpdateDatasetItemInput, Object, PubSubEngine]),
32100
+ __metadata("design:returntype", Promise)
32101
+ ], DatasetItemResolver.prototype, "UpdateDatasetItem", null);
32102
+ __decorate([
32103
+ Mutation(() => DatasetItem_),
32104
+ __param(0, Arg('ID', () => String)),
32105
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
32106
+ __param(2, Ctx()),
32107
+ __param(3, PubSub()),
32108
+ __metadata("design:type", Function),
32109
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
32110
+ __metadata("design:returntype", Promise)
32111
+ ], DatasetItemResolver.prototype, "DeleteDatasetItem", null);
29796
32112
  DatasetItemResolver = __decorate([
29797
32113
  Resolver(DatasetItem_)
29798
32114
  ], DatasetItemResolver);
@@ -31225,6 +33541,11 @@ let SchemaInfoResolver = class SchemaInfoResolver extends ResolverBase {
31225
33541
  const connPool = GetReadWriteDataSource(dataSources);
31226
33542
  return this.UpdateRecord('Schema Info', input, connPool, userPayload, pubSub);
31227
33543
  }
33544
+ async DeleteSchemaInfo(ID, options, { dataSources, userPayload }, pubSub) {
33545
+ const connPool = GetReadWriteDataSource(dataSources);
33546
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
33547
+ return this.DeleteRecord('Schema Info', key, options, connPool, userPayload, pubSub);
33548
+ }
31228
33549
  };
31229
33550
  __decorate([
31230
33551
  Query(() => RunSchemaInfoViewResult),
@@ -31280,6 +33601,16 @@ __decorate([
31280
33601
  __metadata("design:paramtypes", [UpdateSchemaInfoInput, Object, PubSubEngine]),
31281
33602
  __metadata("design:returntype", Promise)
31282
33603
  ], SchemaInfoResolver.prototype, "UpdateSchemaInfo", null);
33604
+ __decorate([
33605
+ Mutation(() => SchemaInfo_),
33606
+ __param(0, Arg('ID', () => String)),
33607
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
33608
+ __param(2, Ctx()),
33609
+ __param(3, PubSub()),
33610
+ __metadata("design:type", Function),
33611
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
33612
+ __metadata("design:returntype", Promise)
33613
+ ], SchemaInfoResolver.prototype, "DeleteSchemaInfo", null);
31283
33614
  SchemaInfoResolver = __decorate([
31284
33615
  Resolver(SchemaInfo_)
31285
33616
  ], SchemaInfoResolver);
@@ -31476,6 +33807,11 @@ let CompanyIntegrationRecordMapResolver = class CompanyIntegrationRecordMapResol
31476
33807
  const connPool = GetReadWriteDataSource(dataSources);
31477
33808
  return this.UpdateRecord('Company Integration Record Maps', input, connPool, userPayload, pubSub);
31478
33809
  }
33810
+ async DeleteCompanyIntegrationRecordMap(ID, options, { dataSources, userPayload }, pubSub) {
33811
+ const connPool = GetReadWriteDataSource(dataSources);
33812
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
33813
+ return this.DeleteRecord('Company Integration Record Maps', key, options, connPool, userPayload, pubSub);
33814
+ }
31479
33815
  };
31480
33816
  __decorate([
31481
33817
  Query(() => RunCompanyIntegrationRecordMapViewResult),
@@ -31531,6 +33867,16 @@ __decorate([
31531
33867
  __metadata("design:paramtypes", [UpdateCompanyIntegrationRecordMapInput, Object, PubSubEngine]),
31532
33868
  __metadata("design:returntype", Promise)
31533
33869
  ], CompanyIntegrationRecordMapResolver.prototype, "UpdateCompanyIntegrationRecordMap", null);
33870
+ __decorate([
33871
+ Mutation(() => CompanyIntegrationRecordMap_),
33872
+ __param(0, Arg('ID', () => String)),
33873
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
33874
+ __param(2, Ctx()),
33875
+ __param(3, PubSub()),
33876
+ __metadata("design:type", Function),
33877
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
33878
+ __metadata("design:returntype", Promise)
33879
+ ], CompanyIntegrationRecordMapResolver.prototype, "DeleteCompanyIntegrationRecordMap", null);
31534
33880
  CompanyIntegrationRecordMapResolver = __decorate([
31535
33881
  Resolver(CompanyIntegrationRecordMap_)
31536
33882
  ], CompanyIntegrationRecordMapResolver);
@@ -31859,6 +34205,11 @@ let RecordMergeLogResolver = class RecordMergeLogResolver extends ResolverBase {
31859
34205
  const connPool = GetReadWriteDataSource(dataSources);
31860
34206
  return this.UpdateRecord('Record Merge Logs', input, connPool, userPayload, pubSub);
31861
34207
  }
34208
+ async DeleteRecordMergeLog(ID, options, { dataSources, userPayload }, pubSub) {
34209
+ const connPool = GetReadWriteDataSource(dataSources);
34210
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
34211
+ return this.DeleteRecord('Record Merge Logs', key, options, connPool, userPayload, pubSub);
34212
+ }
31862
34213
  };
31863
34214
  __decorate([
31864
34215
  Query(() => RunRecordMergeLogViewResult),
@@ -31932,6 +34283,16 @@ __decorate([
31932
34283
  __metadata("design:paramtypes", [UpdateRecordMergeLogInput, Object, PubSubEngine]),
31933
34284
  __metadata("design:returntype", Promise)
31934
34285
  ], RecordMergeLogResolver.prototype, "UpdateRecordMergeLog", null);
34286
+ __decorate([
34287
+ Mutation(() => RecordMergeLog_),
34288
+ __param(0, Arg('ID', () => String)),
34289
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
34290
+ __param(2, Ctx()),
34291
+ __param(3, PubSub()),
34292
+ __metadata("design:type", Function),
34293
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
34294
+ __metadata("design:returntype", Promise)
34295
+ ], RecordMergeLogResolver.prototype, "DeleteRecordMergeLog", null);
31935
34296
  RecordMergeLogResolver = __decorate([
31936
34297
  Resolver(RecordMergeLog_)
31937
34298
  ], RecordMergeLogResolver);
@@ -32121,6 +34482,11 @@ let RecordMergeDeletionLogResolver = class RecordMergeDeletionLogResolver extend
32121
34482
  const connPool = GetReadWriteDataSource(dataSources);
32122
34483
  return this.UpdateRecord('Record Merge Deletion Logs', input, connPool, userPayload, pubSub);
32123
34484
  }
34485
+ async DeleteRecordMergeDeletionLog(ID, options, { dataSources, userPayload }, pubSub) {
34486
+ const connPool = GetReadWriteDataSource(dataSources);
34487
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
34488
+ return this.DeleteRecord('Record Merge Deletion Logs', key, options, connPool, userPayload, pubSub);
34489
+ }
32124
34490
  };
32125
34491
  __decorate([
32126
34492
  Query(() => RunRecordMergeDeletionLogViewResult),
@@ -32176,6 +34542,16 @@ __decorate([
32176
34542
  __metadata("design:paramtypes", [UpdateRecordMergeDeletionLogInput, Object, PubSubEngine]),
32177
34543
  __metadata("design:returntype", Promise)
32178
34544
  ], RecordMergeDeletionLogResolver.prototype, "UpdateRecordMergeDeletionLog", null);
34545
+ __decorate([
34546
+ Mutation(() => RecordMergeDeletionLog_),
34547
+ __param(0, Arg('ID', () => String)),
34548
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
34549
+ __param(2, Ctx()),
34550
+ __param(3, PubSub()),
34551
+ __metadata("design:type", Function),
34552
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
34553
+ __metadata("design:returntype", Promise)
34554
+ ], RecordMergeDeletionLogResolver.prototype, "DeleteRecordMergeDeletionLog", null);
32179
34555
  RecordMergeDeletionLogResolver = __decorate([
32180
34556
  Resolver(RecordMergeDeletionLog_)
32181
34557
  ], RecordMergeDeletionLogResolver);
@@ -34321,6 +36697,11 @@ let EntityDocumentRunResolver = class EntityDocumentRunResolver extends Resolver
34321
36697
  const connPool = GetReadWriteDataSource(dataSources);
34322
36698
  return this.UpdateRecord('Entity Document Runs', input, connPool, userPayload, pubSub);
34323
36699
  }
36700
+ async DeleteEntityDocumentRun(ID, options, { dataSources, userPayload }, pubSub) {
36701
+ const connPool = GetReadWriteDataSource(dataSources);
36702
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
36703
+ return this.DeleteRecord('Entity Document Runs', key, options, connPool, userPayload, pubSub);
36704
+ }
34324
36705
  };
34325
36706
  __decorate([
34326
36707
  Query(() => RunEntityDocumentRunViewResult),
@@ -34376,6 +36757,16 @@ __decorate([
34376
36757
  __metadata("design:paramtypes", [UpdateEntityDocumentRunInput, Object, PubSubEngine]),
34377
36758
  __metadata("design:returntype", Promise)
34378
36759
  ], EntityDocumentRunResolver.prototype, "UpdateEntityDocumentRun", null);
36760
+ __decorate([
36761
+ Mutation(() => EntityDocumentRun_),
36762
+ __param(0, Arg('ID', () => String)),
36763
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
36764
+ __param(2, Ctx()),
36765
+ __param(3, PubSub()),
36766
+ __metadata("design:type", Function),
36767
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
36768
+ __metadata("design:returntype", Promise)
36769
+ ], EntityDocumentRunResolver.prototype, "DeleteEntityDocumentRun", null);
34379
36770
  EntityDocumentRunResolver = __decorate([
34380
36771
  Resolver(EntityDocumentRun_)
34381
36772
  ], EntityDocumentRunResolver);
@@ -34949,6 +37340,11 @@ let EntityRecordDocumentResolver = class EntityRecordDocumentResolver extends Re
34949
37340
  const connPool = GetReadWriteDataSource(dataSources);
34950
37341
  return this.UpdateRecord('Entity Record Documents', input, connPool, userPayload, pubSub);
34951
37342
  }
37343
+ async DeleteEntityRecordDocument(ID, options, { dataSources, userPayload }, pubSub) {
37344
+ const connPool = GetReadWriteDataSource(dataSources);
37345
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
37346
+ return this.DeleteRecord('Entity Record Documents', key, options, connPool, userPayload, pubSub);
37347
+ }
34952
37348
  };
34953
37349
  __decorate([
34954
37350
  Query(() => RunEntityRecordDocumentViewResult),
@@ -35004,6 +37400,16 @@ __decorate([
35004
37400
  __metadata("design:paramtypes", [UpdateEntityRecordDocumentInput, Object, PubSubEngine]),
35005
37401
  __metadata("design:returntype", Promise)
35006
37402
  ], EntityRecordDocumentResolver.prototype, "UpdateEntityRecordDocument", null);
37403
+ __decorate([
37404
+ Mutation(() => EntityRecordDocument_),
37405
+ __param(0, Arg('ID', () => String)),
37406
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
37407
+ __param(2, Ctx()),
37408
+ __param(3, PubSub()),
37409
+ __metadata("design:type", Function),
37410
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
37411
+ __metadata("design:returntype", Promise)
37412
+ ], EntityRecordDocumentResolver.prototype, "DeleteEntityRecordDocument", null);
35007
37413
  EntityRecordDocumentResolver = __decorate([
35008
37414
  Resolver(EntityRecordDocument_)
35009
37415
  ], EntityRecordDocumentResolver);
@@ -35341,6 +37747,11 @@ let EntityDocumentResolver = class EntityDocumentResolver extends ResolverBase {
35341
37747
  const connPool = GetReadWriteDataSource(dataSources);
35342
37748
  return this.UpdateRecord('Entity Documents', input, connPool, userPayload, pubSub);
35343
37749
  }
37750
+ async DeleteEntityDocument(ID, options, { dataSources, userPayload }, pubSub) {
37751
+ const connPool = GetReadWriteDataSource(dataSources);
37752
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
37753
+ return this.DeleteRecord('Entity Documents', key, options, connPool, userPayload, pubSub);
37754
+ }
35344
37755
  };
35345
37756
  __decorate([
35346
37757
  Query(() => RunEntityDocumentViewResult),
@@ -35423,6 +37834,16 @@ __decorate([
35423
37834
  __metadata("design:paramtypes", [UpdateEntityDocumentInput, Object, PubSubEngine]),
35424
37835
  __metadata("design:returntype", Promise)
35425
37836
  ], EntityDocumentResolver.prototype, "UpdateEntityDocument", null);
37837
+ __decorate([
37838
+ Mutation(() => EntityDocument_),
37839
+ __param(0, Arg('ID', () => String)),
37840
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
37841
+ __param(2, Ctx()),
37842
+ __param(3, PubSub()),
37843
+ __metadata("design:type", Function),
37844
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
37845
+ __metadata("design:returntype", Promise)
37846
+ ], EntityDocumentResolver.prototype, "DeleteEntityDocument", null);
35426
37847
  EntityDocumentResolver = __decorate([
35427
37848
  Resolver(EntityDocument_)
35428
37849
  ], EntityDocumentResolver);
@@ -37470,7 +39891,7 @@ __decorate([
37470
39891
  ], File_.prototype, "ProviderID", void 0);
37471
39892
  __decorate([
37472
39893
  Field({ nullable: true }),
37473
- MaxLength(100),
39894
+ MaxLength(510),
37474
39895
  __metadata("design:type", String)
37475
39896
  ], File_.prototype, "ContentType", void 0);
37476
39897
  __decorate([
@@ -38570,6 +40991,11 @@ let VersionInstallationResolver = class VersionInstallationResolver extends Reso
38570
40991
  const connPool = GetReadWriteDataSource(dataSources);
38571
40992
  return this.UpdateRecord('Version Installations', input, connPool, userPayload, pubSub);
38572
40993
  }
40994
+ async DeleteVersionInstallation(ID, options, { dataSources, userPayload }, pubSub) {
40995
+ const connPool = GetReadWriteDataSource(dataSources);
40996
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
40997
+ return this.DeleteRecord('Version Installations', key, options, connPool, userPayload, pubSub);
40998
+ }
38573
40999
  };
38574
41000
  __decorate([
38575
41001
  Query(() => RunVersionInstallationViewResult),
@@ -38625,6 +41051,16 @@ __decorate([
38625
41051
  __metadata("design:paramtypes", [UpdateVersionInstallationInput, Object, PubSubEngine]),
38626
41052
  __metadata("design:returntype", Promise)
38627
41053
  ], VersionInstallationResolver.prototype, "UpdateVersionInstallation", null);
41054
+ __decorate([
41055
+ Mutation(() => VersionInstallation_),
41056
+ __param(0, Arg('ID', () => String)),
41057
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
41058
+ __param(2, Ctx()),
41059
+ __param(3, PubSub()),
41060
+ __metadata("design:type", Function),
41061
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
41062
+ __metadata("design:returntype", Promise)
41063
+ ], VersionInstallationResolver.prototype, "DeleteVersionInstallation", null);
38628
41064
  VersionInstallationResolver = __decorate([
38629
41065
  Resolver(VersionInstallation_)
38630
41066
  ], VersionInstallationResolver);
@@ -38910,6 +41346,11 @@ let DuplicateRunDetailMatchResolver = class DuplicateRunDetailMatchResolver exte
38910
41346
  const connPool = GetReadWriteDataSource(dataSources);
38911
41347
  return this.UpdateRecord('Duplicate Run Detail Matches', input, connPool, userPayload, pubSub);
38912
41348
  }
41349
+ async DeleteDuplicateRunDetailMatch(ID, options, { dataSources, userPayload }, pubSub) {
41350
+ const connPool = GetReadWriteDataSource(dataSources);
41351
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
41352
+ return this.DeleteRecord('Duplicate Run Detail Matches', key, options, connPool, userPayload, pubSub);
41353
+ }
38913
41354
  };
38914
41355
  __decorate([
38915
41356
  Query(() => RunDuplicateRunDetailMatchViewResult),
@@ -38965,6 +41406,16 @@ __decorate([
38965
41406
  __metadata("design:paramtypes", [UpdateDuplicateRunDetailMatchInput, Object, PubSubEngine]),
38966
41407
  __metadata("design:returntype", Promise)
38967
41408
  ], DuplicateRunDetailMatchResolver.prototype, "UpdateDuplicateRunDetailMatch", null);
41409
+ __decorate([
41410
+ Mutation(() => DuplicateRunDetailMatch_),
41411
+ __param(0, Arg('ID', () => String)),
41412
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
41413
+ __param(2, Ctx()),
41414
+ __param(3, PubSub()),
41415
+ __metadata("design:type", Function),
41416
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
41417
+ __metadata("design:returntype", Promise)
41418
+ ], DuplicateRunDetailMatchResolver.prototype, "DeleteDuplicateRunDetailMatch", null);
38968
41419
  DuplicateRunDetailMatchResolver = __decorate([
38969
41420
  Resolver(DuplicateRunDetailMatch_)
38970
41421
  ], DuplicateRunDetailMatchResolver);
@@ -39814,6 +42265,11 @@ let DuplicateRunResolver = class DuplicateRunResolver extends ResolverBase {
39814
42265
  const connPool = GetReadWriteDataSource(dataSources);
39815
42266
  return this.UpdateRecord('Duplicate Runs', input, connPool, userPayload, pubSub);
39816
42267
  }
42268
+ async DeleteDuplicateRun(ID, options, { dataSources, userPayload }, pubSub) {
42269
+ const connPool = GetReadWriteDataSource(dataSources);
42270
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
42271
+ return this.DeleteRecord('Duplicate Runs', key, options, connPool, userPayload, pubSub);
42272
+ }
39817
42273
  };
39818
42274
  __decorate([
39819
42275
  Query(() => RunDuplicateRunViewResult),
@@ -39878,6 +42334,16 @@ __decorate([
39878
42334
  __metadata("design:paramtypes", [UpdateDuplicateRunInput, Object, PubSubEngine]),
39879
42335
  __metadata("design:returntype", Promise)
39880
42336
  ], DuplicateRunResolver.prototype, "UpdateDuplicateRun", null);
42337
+ __decorate([
42338
+ Mutation(() => DuplicateRun_),
42339
+ __param(0, Arg('ID', () => String)),
42340
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
42341
+ __param(2, Ctx()),
42342
+ __param(3, PubSub()),
42343
+ __metadata("design:type", Function),
42344
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
42345
+ __metadata("design:returntype", Promise)
42346
+ ], DuplicateRunResolver.prototype, "DeleteDuplicateRun", null);
39881
42347
  DuplicateRunResolver = __decorate([
39882
42348
  Resolver(DuplicateRun_)
39883
42349
  ], DuplicateRunResolver);
@@ -40126,6 +42592,11 @@ let DuplicateRunDetailResolver = class DuplicateRunDetailResolver extends Resolv
40126
42592
  const connPool = GetReadWriteDataSource(dataSources);
40127
42593
  return this.UpdateRecord('Duplicate Run Details', input, connPool, userPayload, pubSub);
40128
42594
  }
42595
+ async DeleteDuplicateRunDetail(ID, options, { dataSources, userPayload }, pubSub) {
42596
+ const connPool = GetReadWriteDataSource(dataSources);
42597
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
42598
+ return this.DeleteRecord('Duplicate Run Details', key, options, connPool, userPayload, pubSub);
42599
+ }
40129
42600
  };
40130
42601
  __decorate([
40131
42602
  Query(() => RunDuplicateRunDetailViewResult),
@@ -40190,6 +42661,16 @@ __decorate([
40190
42661
  __metadata("design:paramtypes", [UpdateDuplicateRunDetailInput, Object, PubSubEngine]),
40191
42662
  __metadata("design:returntype", Promise)
40192
42663
  ], DuplicateRunDetailResolver.prototype, "UpdateDuplicateRunDetail", null);
42664
+ __decorate([
42665
+ Mutation(() => DuplicateRunDetail_),
42666
+ __param(0, Arg('ID', () => String)),
42667
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
42668
+ __param(2, Ctx()),
42669
+ __param(3, PubSub()),
42670
+ __metadata("design:type", Function),
42671
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
42672
+ __metadata("design:returntype", Promise)
42673
+ ], DuplicateRunDetailResolver.prototype, "DeleteDuplicateRunDetail", null);
40193
42674
  DuplicateRunDetailResolver = __decorate([
40194
42675
  Resolver(DuplicateRunDetail_)
40195
42676
  ], DuplicateRunDetailResolver);
@@ -46096,6 +48577,11 @@ let CommunicationRunResolver = class CommunicationRunResolver extends ResolverBa
46096
48577
  const connPool = GetReadWriteDataSource(dataSources);
46097
48578
  return this.UpdateRecord('Communication Runs', input, connPool, userPayload, pubSub);
46098
48579
  }
48580
+ async DeleteCommunicationRun(ID, options, { dataSources, userPayload }, pubSub) {
48581
+ const connPool = GetReadWriteDataSource(dataSources);
48582
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
48583
+ return this.DeleteRecord('Communication Runs', key, options, connPool, userPayload, pubSub);
48584
+ }
46099
48585
  };
46100
48586
  __decorate([
46101
48587
  Query(() => RunCommunicationRunViewResult),
@@ -46160,6 +48646,16 @@ __decorate([
46160
48646
  __metadata("design:paramtypes", [UpdateCommunicationRunInput, Object, PubSubEngine]),
46161
48647
  __metadata("design:returntype", Promise)
46162
48648
  ], CommunicationRunResolver.prototype, "UpdateCommunicationRun", null);
48649
+ __decorate([
48650
+ Mutation(() => CommunicationRun_),
48651
+ __param(0, Arg('ID', () => String)),
48652
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
48653
+ __param(2, Ctx()),
48654
+ __param(3, PubSub()),
48655
+ __metadata("design:type", Function),
48656
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
48657
+ __metadata("design:returntype", Promise)
48658
+ ], CommunicationRunResolver.prototype, "DeleteCommunicationRun", null);
46163
48659
  CommunicationRunResolver = __decorate([
46164
48660
  Resolver(CommunicationRun_)
46165
48661
  ], CommunicationRunResolver);
@@ -46733,6 +49229,11 @@ let CommunicationLogResolver = class CommunicationLogResolver extends ResolverBa
46733
49229
  const connPool = GetReadWriteDataSource(dataSources);
46734
49230
  return this.UpdateRecord('Communication Logs', input, connPool, userPayload, pubSub);
46735
49231
  }
49232
+ async DeleteCommunicationLog(ID, options, { dataSources, userPayload }, pubSub) {
49233
+ const connPool = GetReadWriteDataSource(dataSources);
49234
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
49235
+ return this.DeleteRecord('Communication Logs', key, options, connPool, userPayload, pubSub);
49236
+ }
46736
49237
  };
46737
49238
  __decorate([
46738
49239
  Query(() => RunCommunicationLogViewResult),
@@ -46788,6 +49289,16 @@ __decorate([
46788
49289
  __metadata("design:paramtypes", [UpdateCommunicationLogInput, Object, PubSubEngine]),
46789
49290
  __metadata("design:returntype", Promise)
46790
49291
  ], CommunicationLogResolver.prototype, "UpdateCommunicationLog", null);
49292
+ __decorate([
49293
+ Mutation(() => CommunicationLog_),
49294
+ __param(0, Arg('ID', () => String)),
49295
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
49296
+ __param(2, Ctx()),
49297
+ __param(3, PubSub()),
49298
+ __metadata("design:type", Function),
49299
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
49300
+ __metadata("design:returntype", Promise)
49301
+ ], CommunicationLogResolver.prototype, "DeleteCommunicationLog", null);
46791
49302
  CommunicationLogResolver = __decorate([
46792
49303
  Resolver(CommunicationLog_)
46793
49304
  ], CommunicationLogResolver);
@@ -49015,6 +51526,11 @@ let RecommendationResolver = class RecommendationResolver extends ResolverBase {
49015
51526
  const connPool = GetReadWriteDataSource(dataSources);
49016
51527
  return this.UpdateRecord('Recommendations', input, connPool, userPayload, pubSub);
49017
51528
  }
51529
+ async DeleteRecommendation(ID, options, { dataSources, userPayload }, pubSub) {
51530
+ const connPool = GetReadWriteDataSource(dataSources);
51531
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
51532
+ return this.DeleteRecord('Recommendations', key, options, connPool, userPayload, pubSub);
51533
+ }
49018
51534
  };
49019
51535
  __decorate([
49020
51536
  Query(() => RunRecommendationViewResult),
@@ -49079,6 +51595,16 @@ __decorate([
49079
51595
  __metadata("design:paramtypes", [UpdateRecommendationInput, Object, PubSubEngine]),
49080
51596
  __metadata("design:returntype", Promise)
49081
51597
  ], RecommendationResolver.prototype, "UpdateRecommendation", null);
51598
+ __decorate([
51599
+ Mutation(() => Recommendation_),
51600
+ __param(0, Arg('ID', () => String)),
51601
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
51602
+ __param(2, Ctx()),
51603
+ __param(3, PubSub()),
51604
+ __metadata("design:type", Function),
51605
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
51606
+ __metadata("design:returntype", Promise)
51607
+ ], RecommendationResolver.prototype, "DeleteRecommendation", null);
49082
51608
  RecommendationResolver = __decorate([
49083
51609
  Resolver(Recommendation_)
49084
51610
  ], RecommendationResolver);
@@ -49574,6 +52100,11 @@ let RecommendationRunResolver = class RecommendationRunResolver extends Resolver
49574
52100
  const connPool = GetReadWriteDataSource(dataSources);
49575
52101
  return this.UpdateRecord('Recommendation Runs', input, connPool, userPayload, pubSub);
49576
52102
  }
52103
+ async DeleteRecommendationRun(ID, options, { dataSources, userPayload }, pubSub) {
52104
+ const connPool = GetReadWriteDataSource(dataSources);
52105
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
52106
+ return this.DeleteRecord('Recommendation Runs', key, options, connPool, userPayload, pubSub);
52107
+ }
49577
52108
  };
49578
52109
  __decorate([
49579
52110
  Query(() => RunRecommendationRunViewResult),
@@ -49638,6 +52169,16 @@ __decorate([
49638
52169
  __metadata("design:paramtypes", [UpdateRecommendationRunInput, Object, PubSubEngine]),
49639
52170
  __metadata("design:returntype", Promise)
49640
52171
  ], RecommendationRunResolver.prototype, "UpdateRecommendationRun", null);
52172
+ __decorate([
52173
+ Mutation(() => RecommendationRun_),
52174
+ __param(0, Arg('ID', () => String)),
52175
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
52176
+ __param(2, Ctx()),
52177
+ __param(3, PubSub()),
52178
+ __metadata("design:type", Function),
52179
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
52180
+ __metadata("design:returntype", Promise)
52181
+ ], RecommendationRunResolver.prototype, "DeleteRecommendationRun", null);
49641
52182
  RecommendationRunResolver = __decorate([
49642
52183
  Resolver(RecommendationRun_)
49643
52184
  ], RecommendationRunResolver);
@@ -49833,6 +52374,11 @@ let RecommendationItemResolver = class RecommendationItemResolver extends Resolv
49833
52374
  const connPool = GetReadWriteDataSource(dataSources);
49834
52375
  return this.UpdateRecord('Recommendation Items', input, connPool, userPayload, pubSub);
49835
52376
  }
52377
+ async DeleteRecommendationItem(ID, options, { dataSources, userPayload }, pubSub) {
52378
+ const connPool = GetReadWriteDataSource(dataSources);
52379
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
52380
+ return this.DeleteRecord('Recommendation Items', key, options, connPool, userPayload, pubSub);
52381
+ }
49836
52382
  };
49837
52383
  __decorate([
49838
52384
  Query(() => RunRecommendationItemViewResult),
@@ -49888,6 +52434,16 @@ __decorate([
49888
52434
  __metadata("design:paramtypes", [UpdateRecommendationItemInput, Object, PubSubEngine]),
49889
52435
  __metadata("design:returntype", Promise)
49890
52436
  ], RecommendationItemResolver.prototype, "UpdateRecommendationItem", null);
52437
+ __decorate([
52438
+ Mutation(() => RecommendationItem_),
52439
+ __param(0, Arg('ID', () => String)),
52440
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
52441
+ __param(2, Ctx()),
52442
+ __param(3, PubSub()),
52443
+ __metadata("design:type", Function),
52444
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
52445
+ __metadata("design:returntype", Promise)
52446
+ ], RecommendationItemResolver.prototype, "DeleteRecommendationItem", null);
49891
52447
  RecommendationItemResolver = __decorate([
49892
52448
  Resolver(RecommendationItem_)
49893
52449
  ], RecommendationItemResolver);
@@ -50617,6 +53173,11 @@ let RecordChangeReplayRunResolver = class RecordChangeReplayRunResolver extends
50617
53173
  const connPool = GetReadWriteDataSource(dataSources);
50618
53174
  return this.UpdateRecord('Record Change Replay Runs', input, connPool, userPayload, pubSub);
50619
53175
  }
53176
+ async DeleteRecordChangeReplayRun(ID, options, { dataSources, userPayload }, pubSub) {
53177
+ const connPool = GetReadWriteDataSource(dataSources);
53178
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
53179
+ return this.DeleteRecord('Record Change Replay Runs', key, options, connPool, userPayload, pubSub);
53180
+ }
50620
53181
  };
50621
53182
  __decorate([
50622
53183
  Query(() => RunRecordChangeReplayRunViewResult),
@@ -50681,6 +53242,16 @@ __decorate([
50681
53242
  __metadata("design:paramtypes", [UpdateRecordChangeReplayRunInput, Object, PubSubEngine]),
50682
53243
  __metadata("design:returntype", Promise)
50683
53244
  ], RecordChangeReplayRunResolver.prototype, "UpdateRecordChangeReplayRun", null);
53245
+ __decorate([
53246
+ Mutation(() => RecordChangeReplayRun_),
53247
+ __param(0, Arg('ID', () => String)),
53248
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
53249
+ __param(2, Ctx()),
53250
+ __param(3, PubSub()),
53251
+ __metadata("design:type", Function),
53252
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
53253
+ __metadata("design:returntype", Promise)
53254
+ ], RecordChangeReplayRunResolver.prototype, "DeleteRecordChangeReplayRun", null);
50684
53255
  RecordChangeReplayRunResolver = __decorate([
50685
53256
  Resolver(RecordChangeReplayRun_)
50686
53257
  ], RecordChangeReplayRunResolver);
@@ -51117,6 +53688,11 @@ let EntityRelationshipDisplayComponentResolver = class EntityRelationshipDisplay
51117
53688
  const connPool = GetReadWriteDataSource(dataSources);
51118
53689
  return this.UpdateRecord('Entity Relationship Display Components', input, connPool, userPayload, pubSub);
51119
53690
  }
53691
+ async DeleteEntityRelationshipDisplayComponent(ID, options, { dataSources, userPayload }, pubSub) {
53692
+ const connPool = GetReadWriteDataSource(dataSources);
53693
+ const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
53694
+ return this.DeleteRecord('Entity Relationship Display Components', key, options, connPool, userPayload, pubSub);
53695
+ }
51120
53696
  };
51121
53697
  __decorate([
51122
53698
  Query(() => RunEntityRelationshipDisplayComponentViewResult),
@@ -51181,6 +53757,16 @@ __decorate([
51181
53757
  __metadata("design:paramtypes", [UpdateEntityRelationshipDisplayComponentInput, Object, PubSubEngine]),
51182
53758
  __metadata("design:returntype", Promise)
51183
53759
  ], EntityRelationshipDisplayComponentResolver.prototype, "UpdateEntityRelationshipDisplayComponent", null);
53760
+ __decorate([
53761
+ Mutation(() => EntityRelationshipDisplayComponent_),
53762
+ __param(0, Arg('ID', () => String)),
53763
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
53764
+ __param(2, Ctx()),
53765
+ __param(3, PubSub()),
53766
+ __metadata("design:type", Function),
53767
+ __metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
53768
+ __metadata("design:returntype", Promise)
53769
+ ], EntityRelationshipDisplayComponentResolver.prototype, "DeleteEntityRelationshipDisplayComponent", null);
51184
53770
  EntityRelationshipDisplayComponentResolver = __decorate([
51185
53771
  Resolver(EntityRelationshipDisplayComponent_)
51186
53772
  ], EntityRelationshipDisplayComponentResolver);