@memberjunction/server 2.55.0 → 2.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/generated.d.ts +439 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +2835 -1
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/resolvers/FileResolver.d.ts.map +1 -1
- package/dist/resolvers/FileResolver.js +5 -6
- package/dist/resolvers/FileResolver.js.map +1 -1
- package/dist/resolvers/RunAIPromptResolver.d.ts +1 -1
- package/dist/resolvers/RunAIPromptResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIPromptResolver.js +9 -5
- package/dist/resolvers/RunAIPromptResolver.js.map +1 -1
- package/package.json +26 -26
- package/src/generated/generated.ts +1835 -1
- package/src/index.ts +3 -0
- package/src/resolvers/FileResolver.ts +11 -7
- package/src/resolvers/RunAIPromptResolver.ts +10 -4
|
@@ -3242,6 +3242,8 @@ let AIAgent_ = class AIAgent_ {
|
|
|
3242
3242
|
TypeID;
|
|
3243
3243
|
Status;
|
|
3244
3244
|
DriverClass;
|
|
3245
|
+
IconClass;
|
|
3246
|
+
ModelSelectionMode;
|
|
3245
3247
|
Parent;
|
|
3246
3248
|
ContextCompressionPrompt;
|
|
3247
3249
|
Type;
|
|
@@ -3335,6 +3337,16 @@ __decorate([
|
|
|
3335
3337
|
MaxLength(510),
|
|
3336
3338
|
__metadata("design:type", String)
|
|
3337
3339
|
], AIAgent_.prototype, "DriverClass", void 0);
|
|
3340
|
+
__decorate([
|
|
3341
|
+
Field({ nullable: true, description: `Font Awesome icon class (e.g., fa-robot, fa-brain) for the agent. Used as fallback when LogoURL is not set or fails to load.` }),
|
|
3342
|
+
MaxLength(200),
|
|
3343
|
+
__metadata("design:type", String)
|
|
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);
|
|
3338
3350
|
__decorate([
|
|
3339
3351
|
Field({ nullable: true }),
|
|
3340
3352
|
MaxLength(510),
|
|
@@ -3410,6 +3422,8 @@ let CreateAIAgentInput = class CreateAIAgentInput {
|
|
|
3410
3422
|
TypeID;
|
|
3411
3423
|
Status;
|
|
3412
3424
|
DriverClass;
|
|
3425
|
+
IconClass;
|
|
3426
|
+
ModelSelectionMode;
|
|
3413
3427
|
};
|
|
3414
3428
|
__decorate([
|
|
3415
3429
|
Field({ nullable: true }),
|
|
@@ -3471,6 +3485,14 @@ __decorate([
|
|
|
3471
3485
|
Field({ nullable: true }),
|
|
3472
3486
|
__metadata("design:type", String)
|
|
3473
3487
|
], CreateAIAgentInput.prototype, "DriverClass", void 0);
|
|
3488
|
+
__decorate([
|
|
3489
|
+
Field({ nullable: true }),
|
|
3490
|
+
__metadata("design:type", String)
|
|
3491
|
+
], CreateAIAgentInput.prototype, "IconClass", void 0);
|
|
3492
|
+
__decorate([
|
|
3493
|
+
Field({ nullable: true }),
|
|
3494
|
+
__metadata("design:type", String)
|
|
3495
|
+
], CreateAIAgentInput.prototype, "ModelSelectionMode", void 0);
|
|
3474
3496
|
CreateAIAgentInput = __decorate([
|
|
3475
3497
|
InputType()
|
|
3476
3498
|
], CreateAIAgentInput);
|
|
@@ -3491,6 +3513,8 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
|
|
|
3491
3513
|
TypeID;
|
|
3492
3514
|
Status;
|
|
3493
3515
|
DriverClass;
|
|
3516
|
+
IconClass;
|
|
3517
|
+
ModelSelectionMode;
|
|
3494
3518
|
OldValues___;
|
|
3495
3519
|
};
|
|
3496
3520
|
__decorate([
|
|
@@ -3553,6 +3577,14 @@ __decorate([
|
|
|
3553
3577
|
Field({ nullable: true }),
|
|
3554
3578
|
__metadata("design:type", String)
|
|
3555
3579
|
], UpdateAIAgentInput.prototype, "DriverClass", void 0);
|
|
3580
|
+
__decorate([
|
|
3581
|
+
Field({ nullable: true }),
|
|
3582
|
+
__metadata("design:type", String)
|
|
3583
|
+
], UpdateAIAgentInput.prototype, "IconClass", void 0);
|
|
3584
|
+
__decorate([
|
|
3585
|
+
Field({ nullable: true }),
|
|
3586
|
+
__metadata("design:type", String)
|
|
3587
|
+
], UpdateAIAgentInput.prototype, "ModelSelectionMode", void 0);
|
|
3556
3588
|
__decorate([
|
|
3557
3589
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
3558
3590
|
__metadata("design:type", Array)
|
|
@@ -8975,6 +9007,37 @@ EmployeeCompanyIntegration_ = __decorate([
|
|
|
8975
9007
|
ObjectType()
|
|
8976
9008
|
], EmployeeCompanyIntegration_);
|
|
8977
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 };
|
|
8978
9041
|
let UpdateEmployeeCompanyIntegrationInput = class UpdateEmployeeCompanyIntegrationInput {
|
|
8979
9042
|
ID;
|
|
8980
9043
|
EmployeeID;
|
|
@@ -9074,10 +9137,19 @@ let EmployeeCompanyIntegrationResolver = class EmployeeCompanyIntegrationResolve
|
|
|
9074
9137
|
const result = this.MapFieldNamesToCodeNames('Employee Company Integrations', rows && rows.length > 0 ? rows[0] : {});
|
|
9075
9138
|
return result;
|
|
9076
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
|
+
}
|
|
9077
9144
|
async UpdateEmployeeCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
|
|
9078
9145
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
9079
9146
|
return this.UpdateRecord('Employee Company Integrations', input, connPool, userPayload, pubSub);
|
|
9080
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
|
+
}
|
|
9081
9153
|
};
|
|
9082
9154
|
__decorate([
|
|
9083
9155
|
Query(() => RunEmployeeCompanyIntegrationViewResult),
|
|
@@ -9115,6 +9187,15 @@ __decorate([
|
|
|
9115
9187
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
9116
9188
|
__metadata("design:returntype", Promise)
|
|
9117
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);
|
|
9118
9199
|
__decorate([
|
|
9119
9200
|
Mutation(() => EmployeeCompanyIntegration_),
|
|
9120
9201
|
__param(0, Arg('input', () => UpdateEmployeeCompanyIntegrationInput)),
|
|
@@ -9124,6 +9205,16 @@ __decorate([
|
|
|
9124
9205
|
__metadata("design:paramtypes", [UpdateEmployeeCompanyIntegrationInput, Object, PubSubEngine]),
|
|
9125
9206
|
__metadata("design:returntype", Promise)
|
|
9126
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);
|
|
9127
9218
|
EmployeeCompanyIntegrationResolver = __decorate([
|
|
9128
9219
|
Resolver(EmployeeCompanyIntegration_)
|
|
9129
9220
|
], EmployeeCompanyIntegrationResolver);
|
|
@@ -9170,6 +9261,27 @@ EmployeeRole_ = __decorate([
|
|
|
9170
9261
|
ObjectType()
|
|
9171
9262
|
], EmployeeRole_);
|
|
9172
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 };
|
|
9173
9285
|
let UpdateEmployeeRoleInput = class UpdateEmployeeRoleInput {
|
|
9174
9286
|
ID;
|
|
9175
9287
|
EmployeeID;
|
|
@@ -9259,6 +9371,10 @@ let EmployeeRoleResolver = class EmployeeRoleResolver extends ResolverBase {
|
|
|
9259
9371
|
const result = this.MapFieldNamesToCodeNames('Employee Roles', rows && rows.length > 0 ? rows[0] : {});
|
|
9260
9372
|
return result;
|
|
9261
9373
|
}
|
|
9374
|
+
async CreateEmployeeRole(input, { dataSources, userPayload }, pubSub) {
|
|
9375
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
9376
|
+
return this.CreateRecord('Employee Roles', input, connPool, userPayload, pubSub);
|
|
9377
|
+
}
|
|
9262
9378
|
async UpdateEmployeeRole(input, { dataSources, userPayload }, pubSub) {
|
|
9263
9379
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
9264
9380
|
return this.UpdateRecord('Employee Roles', input, connPool, userPayload, pubSub);
|
|
@@ -9305,6 +9421,15 @@ __decorate([
|
|
|
9305
9421
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
9306
9422
|
__metadata("design:returntype", Promise)
|
|
9307
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);
|
|
9308
9433
|
__decorate([
|
|
9309
9434
|
Mutation(() => EmployeeRole_),
|
|
9310
9435
|
__param(0, Arg('input', () => UpdateEmployeeRoleInput)),
|
|
@@ -9370,6 +9495,27 @@ EmployeeSkill_ = __decorate([
|
|
|
9370
9495
|
ObjectType()
|
|
9371
9496
|
], EmployeeSkill_);
|
|
9372
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 };
|
|
9373
9519
|
let UpdateEmployeeSkillInput = class UpdateEmployeeSkillInput {
|
|
9374
9520
|
ID;
|
|
9375
9521
|
EmployeeID;
|
|
@@ -9459,6 +9605,10 @@ let EmployeeSkillResolver = class EmployeeSkillResolver extends ResolverBase {
|
|
|
9459
9605
|
const result = this.MapFieldNamesToCodeNames('Employee Skills', rows && rows.length > 0 ? rows[0] : {});
|
|
9460
9606
|
return result;
|
|
9461
9607
|
}
|
|
9608
|
+
async CreateEmployeeSkill(input, { dataSources, userPayload }, pubSub) {
|
|
9609
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
9610
|
+
return this.CreateRecord('Employee Skills', input, connPool, userPayload, pubSub);
|
|
9611
|
+
}
|
|
9462
9612
|
async UpdateEmployeeSkill(input, { dataSources, userPayload }, pubSub) {
|
|
9463
9613
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
9464
9614
|
return this.UpdateRecord('Employee Skills', input, connPool, userPayload, pubSub);
|
|
@@ -9505,6 +9655,15 @@ __decorate([
|
|
|
9505
9655
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
9506
9656
|
__metadata("design:returntype", Promise)
|
|
9507
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);
|
|
9508
9667
|
__decorate([
|
|
9509
9668
|
Mutation(() => EmployeeSkill_),
|
|
9510
9669
|
__param(0, Arg('input', () => UpdateEmployeeSkillInput)),
|
|
@@ -9987,6 +10146,53 @@ Skill_ = __decorate([
|
|
|
9987
10146
|
ObjectType({ description: `A hierarchical list of possible skills that are linked to Employees and can also be linked to any other entity` })
|
|
9988
10147
|
], Skill_);
|
|
9989
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 };
|
|
9990
10196
|
let RunSkillViewResult = class RunSkillViewResult {
|
|
9991
10197
|
Results;
|
|
9992
10198
|
UserViewRunID;
|
|
@@ -10074,6 +10280,19 @@ let SkillResolver = class SkillResolver extends ResolverBase {
|
|
|
10074
10280
|
const result = this.ArrayMapFieldNamesToCodeNames('Skills', rows);
|
|
10075
10281
|
return result;
|
|
10076
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
|
+
}
|
|
10077
10296
|
};
|
|
10078
10297
|
__decorate([
|
|
10079
10298
|
Query(() => RunSkillViewResult),
|
|
@@ -10137,6 +10356,34 @@ __decorate([
|
|
|
10137
10356
|
__metadata("design:paramtypes", [Skill_, Object, PubSubEngine]),
|
|
10138
10357
|
__metadata("design:returntype", Promise)
|
|
10139
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);
|
|
10140
10387
|
SkillResolver = __decorate([
|
|
10141
10388
|
Resolver(Skill_)
|
|
10142
10389
|
], SkillResolver);
|
|
@@ -10206,6 +10453,37 @@ IntegrationURLFormat_ = __decorate([
|
|
|
10206
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.` })
|
|
10207
10454
|
], IntegrationURLFormat_);
|
|
10208
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 };
|
|
10209
10487
|
let UpdateIntegrationURLFormatInput = class UpdateIntegrationURLFormatInput {
|
|
10210
10488
|
ID;
|
|
10211
10489
|
IntegrationID;
|
|
@@ -10313,6 +10591,10 @@ let IntegrationURLFormatResolver = class IntegrationURLFormatResolver extends Re
|
|
|
10313
10591
|
const result = this.ArrayMapFieldNamesToCodeNames('Integration URL Formats', rows);
|
|
10314
10592
|
return result;
|
|
10315
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
|
+
}
|
|
10316
10598
|
async UpdateIntegrationURLFormat(input, { dataSources, userPayload }, pubSub) {
|
|
10317
10599
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
10318
10600
|
return this.UpdateRecord('Integration URL Formats', input, connPool, userPayload, pubSub);
|
|
@@ -10367,6 +10649,15 @@ __decorate([
|
|
|
10367
10649
|
__metadata("design:paramtypes", [Object, PubSubEngine]),
|
|
10368
10650
|
__metadata("design:returntype", Promise)
|
|
10369
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);
|
|
10370
10661
|
__decorate([
|
|
10371
10662
|
Mutation(() => IntegrationURLFormat_),
|
|
10372
10663
|
__param(0, Arg('input', () => UpdateIntegrationURLFormatInput)),
|
|
@@ -10469,6 +10760,52 @@ Integration_ = __decorate([
|
|
|
10469
10760
|
ObjectType({ description: `Catalog of all integrations that have been configured in the system.` })
|
|
10470
10761
|
], Integration_);
|
|
10471
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 };
|
|
10472
10809
|
let UpdateIntegrationInput = class UpdateIntegrationInput {
|
|
10473
10810
|
Name;
|
|
10474
10811
|
Description;
|
|
@@ -10615,6 +10952,10 @@ let IntegrationResolver = class IntegrationResolver extends ResolverBase {
|
|
|
10615
10952
|
const result = this.ArrayMapFieldNamesToCodeNames('Record Changes', rows);
|
|
10616
10953
|
return result;
|
|
10617
10954
|
}
|
|
10955
|
+
async CreateIntegration(input, { dataSources, userPayload }, pubSub) {
|
|
10956
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
10957
|
+
return this.CreateRecord('Integrations', input, connPool, userPayload, pubSub);
|
|
10958
|
+
}
|
|
10618
10959
|
async UpdateIntegration(input, { dataSources, userPayload }, pubSub) {
|
|
10619
10960
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
10620
10961
|
return this.UpdateRecord('Integrations', input, connPool, userPayload, pubSub);
|
|
@@ -10696,6 +11037,15 @@ __decorate([
|
|
|
10696
11037
|
__metadata("design:paramtypes", [Integration_, Object, PubSubEngine]),
|
|
10697
11038
|
__metadata("design:returntype", Promise)
|
|
10698
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);
|
|
10699
11049
|
__decorate([
|
|
10700
11050
|
Mutation(() => Integration_),
|
|
10701
11051
|
__param(0, Arg('input', () => UpdateIntegrationInput)),
|
|
@@ -10875,6 +11225,77 @@ CompanyIntegration_ = __decorate([
|
|
|
10875
11225
|
ObjectType({ description: `Links individual company records to specific integrations` })
|
|
10876
11226
|
], CompanyIntegration_);
|
|
10877
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 };
|
|
10878
11299
|
let UpdateCompanyIntegrationInput = class UpdateCompanyIntegrationInput {
|
|
10879
11300
|
ID;
|
|
10880
11301
|
CompanyID;
|
|
@@ -11046,6 +11467,10 @@ let CompanyIntegrationResolver = class CompanyIntegrationResolver extends Resolv
|
|
|
11046
11467
|
const result = this.ArrayMapFieldNamesToCodeNames('Employee Company Integrations', rows);
|
|
11047
11468
|
return result;
|
|
11048
11469
|
}
|
|
11470
|
+
async CreateCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
|
|
11471
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
11472
|
+
return this.CreateRecord('Company Integrations', input, connPool, userPayload, pubSub);
|
|
11473
|
+
}
|
|
11049
11474
|
async UpdateCompanyIntegration(input, { dataSources, userPayload }, pubSub) {
|
|
11050
11475
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
11051
11476
|
return this.UpdateRecord('Company Integrations', input, connPool, userPayload, pubSub);
|
|
@@ -11128,6 +11553,15 @@ __decorate([
|
|
|
11128
11553
|
__metadata("design:paramtypes", [CompanyIntegration_, Object, PubSubEngine]),
|
|
11129
11554
|
__metadata("design:returntype", Promise)
|
|
11130
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);
|
|
11131
11565
|
__decorate([
|
|
11132
11566
|
Mutation(() => CompanyIntegration_),
|
|
11133
11567
|
__param(0, Arg('input', () => UpdateCompanyIntegrationInput)),
|
|
@@ -15855,6 +16289,47 @@ UserRecordLog_ = __decorate([
|
|
|
15855
16289
|
ObjectType()
|
|
15856
16290
|
], UserRecordLog_);
|
|
15857
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 };
|
|
15858
16333
|
let UpdateUserRecordLogInput = class UpdateUserRecordLogInput {
|
|
15859
16334
|
ID;
|
|
15860
16335
|
UserID;
|
|
@@ -15964,10 +16439,19 @@ let UserRecordLogResolver = class UserRecordLogResolver extends ResolverBase {
|
|
|
15964
16439
|
const result = this.MapFieldNamesToCodeNames('User Record Logs', rows && rows.length > 0 ? rows[0] : {});
|
|
15965
16440
|
return result;
|
|
15966
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
|
+
}
|
|
15967
16446
|
async UpdateUserRecordLog(input, { dataSources, userPayload }, pubSub) {
|
|
15968
16447
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
15969
16448
|
return this.UpdateRecord('User Record Logs', input, connPool, userPayload, pubSub);
|
|
15970
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
|
+
}
|
|
15971
16455
|
};
|
|
15972
16456
|
__decorate([
|
|
15973
16457
|
Query(() => RunUserRecordLogViewResult),
|
|
@@ -16005,6 +16489,15 @@ __decorate([
|
|
|
16005
16489
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
16006
16490
|
__metadata("design:returntype", Promise)
|
|
16007
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);
|
|
16008
16501
|
__decorate([
|
|
16009
16502
|
Mutation(() => UserRecordLog_),
|
|
16010
16503
|
__param(0, Arg('input', () => UpdateUserRecordLogInput)),
|
|
@@ -16014,6 +16507,16 @@ __decorate([
|
|
|
16014
16507
|
__metadata("design:paramtypes", [UpdateUserRecordLogInput, Object, PubSubEngine]),
|
|
16015
16508
|
__metadata("design:returntype", Promise)
|
|
16016
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);
|
|
16017
16520
|
UserRecordLogResolver = __decorate([
|
|
16018
16521
|
Resolver(UserRecordLog_)
|
|
16019
16522
|
], UserRecordLogResolver);
|
|
@@ -16925,6 +17428,11 @@ let CompanyIntegrationRunResolver = class CompanyIntegrationRunResolver extends
|
|
|
16925
17428
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
16926
17429
|
return this.UpdateRecord('Company Integration Runs', input, connPool, userPayload, pubSub);
|
|
16927
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
|
+
}
|
|
16928
17436
|
};
|
|
16929
17437
|
__decorate([
|
|
16930
17438
|
Query(() => RunCompanyIntegrationRunViewResult),
|
|
@@ -17007,6 +17515,16 @@ __decorate([
|
|
|
17007
17515
|
__metadata("design:paramtypes", [UpdateCompanyIntegrationRunInput, Object, PubSubEngine]),
|
|
17008
17516
|
__metadata("design:returntype", Promise)
|
|
17009
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);
|
|
17010
17528
|
CompanyIntegrationRunResolver = __decorate([
|
|
17011
17529
|
Resolver(CompanyIntegrationRun_)
|
|
17012
17530
|
], CompanyIntegrationRunResolver);
|
|
@@ -17259,6 +17777,11 @@ let CompanyIntegrationRunDetailResolver = class CompanyIntegrationRunDetailResol
|
|
|
17259
17777
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
17260
17778
|
return this.UpdateRecord('Company Integration Run Details', input, connPool, userPayload, pubSub);
|
|
17261
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
|
+
}
|
|
17262
17785
|
};
|
|
17263
17786
|
__decorate([
|
|
17264
17787
|
Query(() => RunCompanyIntegrationRunDetailViewResult),
|
|
@@ -17323,6 +17846,16 @@ __decorate([
|
|
|
17323
17846
|
__metadata("design:paramtypes", [UpdateCompanyIntegrationRunDetailInput, Object, PubSubEngine]),
|
|
17324
17847
|
__metadata("design:returntype", Promise)
|
|
17325
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);
|
|
17326
17859
|
CompanyIntegrationRunDetailResolver = __decorate([
|
|
17327
17860
|
Resolver(CompanyIntegrationRunDetail_)
|
|
17328
17861
|
], CompanyIntegrationRunDetailResolver);
|
|
@@ -17575,6 +18108,11 @@ let ErrorLogResolver = class ErrorLogResolver extends ResolverBase {
|
|
|
17575
18108
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
17576
18109
|
return this.UpdateRecord('Error Logs', input, connPool, userPayload, pubSub);
|
|
17577
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
|
+
}
|
|
17578
18116
|
};
|
|
17579
18117
|
__decorate([
|
|
17580
18118
|
Query(() => RunErrorLogViewResult),
|
|
@@ -17630,6 +18168,16 @@ __decorate([
|
|
|
17630
18168
|
__metadata("design:paramtypes", [UpdateErrorLogInput, Object, PubSubEngine]),
|
|
17631
18169
|
__metadata("design:returntype", Promise)
|
|
17632
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);
|
|
17633
18181
|
ErrorLogResolver = __decorate([
|
|
17634
18182
|
Resolver(ErrorLog_)
|
|
17635
18183
|
], ErrorLogResolver);
|
|
@@ -19502,6 +20050,11 @@ let CompanyIntegrationRunAPILogResolver = class CompanyIntegrationRunAPILogResol
|
|
|
19502
20050
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
19503
20051
|
return this.UpdateRecord('Company Integration Run API Logs', input, connPool, userPayload, pubSub);
|
|
19504
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
|
+
}
|
|
19505
20058
|
};
|
|
19506
20059
|
__decorate([
|
|
19507
20060
|
Query(() => RunCompanyIntegrationRunAPILogViewResult),
|
|
@@ -19557,6 +20110,16 @@ __decorate([
|
|
|
19557
20110
|
__metadata("design:paramtypes", [UpdateCompanyIntegrationRunAPILogInput, Object, PubSubEngine]),
|
|
19558
20111
|
__metadata("design:returntype", Promise)
|
|
19559
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);
|
|
19560
20123
|
CompanyIntegrationRunAPILogResolver = __decorate([
|
|
19561
20124
|
Resolver(CompanyIntegrationRunAPILog_)
|
|
19562
20125
|
], CompanyIntegrationRunAPILogResolver);
|
|
@@ -20405,6 +20968,11 @@ let UserViewRunResolver = class UserViewRunResolver extends ResolverBase {
|
|
|
20405
20968
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
20406
20969
|
return this.UpdateRecord('User View Runs', input, connPool, userPayload, pubSub);
|
|
20407
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
|
+
}
|
|
20408
20976
|
};
|
|
20409
20977
|
__decorate([
|
|
20410
20978
|
Query(() => RunUserViewRunViewResult),
|
|
@@ -20469,6 +21037,16 @@ __decorate([
|
|
|
20469
21037
|
__metadata("design:paramtypes", [UpdateUserViewRunInput, Object, PubSubEngine]),
|
|
20470
21038
|
__metadata("design:returntype", Promise)
|
|
20471
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);
|
|
20472
21050
|
UserViewRunResolver = __decorate([
|
|
20473
21051
|
Resolver(UserViewRun_)
|
|
20474
21052
|
], UserViewRunResolver);
|
|
@@ -20639,6 +21217,11 @@ let UserViewRunDetailResolver = class UserViewRunDetailResolver extends Resolver
|
|
|
20639
21217
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
20640
21218
|
return this.UpdateRecord('User View Run Details', input, connPool, userPayload, pubSub);
|
|
20641
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
|
+
}
|
|
20642
21225
|
};
|
|
20643
21226
|
__decorate([
|
|
20644
21227
|
Query(() => RunUserViewRunDetailViewResult),
|
|
@@ -20694,6 +21277,16 @@ __decorate([
|
|
|
20694
21277
|
__metadata("design:paramtypes", [UpdateUserViewRunDetailInput, Object, PubSubEngine]),
|
|
20695
21278
|
__metadata("design:returntype", Promise)
|
|
20696
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);
|
|
20697
21290
|
UserViewRunDetailResolver = __decorate([
|
|
20698
21291
|
Resolver(UserViewRunDetail_)
|
|
20699
21292
|
], UserViewRunDetailResolver);
|
|
@@ -20769,6 +21362,47 @@ WorkflowRun_ = __decorate([
|
|
|
20769
21362
|
ObjectType()
|
|
20770
21363
|
], WorkflowRun_);
|
|
20771
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 };
|
|
20772
21406
|
let UpdateWorkflowRunInput = class UpdateWorkflowRunInput {
|
|
20773
21407
|
ID;
|
|
20774
21408
|
WorkflowID;
|
|
@@ -20878,10 +21512,19 @@ let WorkflowRunResolver = class WorkflowRunResolver extends ResolverBase {
|
|
|
20878
21512
|
const result = this.MapFieldNamesToCodeNames('Workflow Runs', rows && rows.length > 0 ? rows[0] : {});
|
|
20879
21513
|
return result;
|
|
20880
21514
|
}
|
|
21515
|
+
async CreateWorkflowRun(input, { dataSources, userPayload }, pubSub) {
|
|
21516
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
21517
|
+
return this.CreateRecord('Workflow Runs', input, connPool, userPayload, pubSub);
|
|
21518
|
+
}
|
|
20881
21519
|
async UpdateWorkflowRun(input, { dataSources, userPayload }, pubSub) {
|
|
20882
21520
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
20883
21521
|
return this.UpdateRecord('Workflow Runs', input, connPool, userPayload, pubSub);
|
|
20884
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
|
+
}
|
|
20885
21528
|
};
|
|
20886
21529
|
__decorate([
|
|
20887
21530
|
Query(() => RunWorkflowRunViewResult),
|
|
@@ -20919,6 +21562,15 @@ __decorate([
|
|
|
20919
21562
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
20920
21563
|
__metadata("design:returntype", Promise)
|
|
20921
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);
|
|
20922
21574
|
__decorate([
|
|
20923
21575
|
Mutation(() => WorkflowRun_),
|
|
20924
21576
|
__param(0, Arg('input', () => UpdateWorkflowRunInput)),
|
|
@@ -20928,6 +21580,16 @@ __decorate([
|
|
|
20928
21580
|
__metadata("design:paramtypes", [UpdateWorkflowRunInput, Object, PubSubEngine]),
|
|
20929
21581
|
__metadata("design:returntype", Promise)
|
|
20930
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);
|
|
20931
21593
|
WorkflowRunResolver = __decorate([
|
|
20932
21594
|
Resolver(WorkflowRun_)
|
|
20933
21595
|
], WorkflowRunResolver);
|
|
@@ -21016,6 +21678,57 @@ Workflow_ = __decorate([
|
|
|
21016
21678
|
ObjectType()
|
|
21017
21679
|
], Workflow_);
|
|
21018
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 };
|
|
21019
21732
|
let UpdateWorkflowInput = class UpdateWorkflowInput {
|
|
21020
21733
|
ID;
|
|
21021
21734
|
Name;
|
|
@@ -21151,10 +21864,19 @@ let WorkflowResolver = class WorkflowResolver extends ResolverBase {
|
|
|
21151
21864
|
const result = this.ArrayMapFieldNamesToCodeNames('Workflow Runs', rows);
|
|
21152
21865
|
return result;
|
|
21153
21866
|
}
|
|
21867
|
+
async CreateWorkflow(input, { dataSources, userPayload }, pubSub) {
|
|
21868
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
21869
|
+
return this.CreateRecord('Workflows', input, connPool, userPayload, pubSub);
|
|
21870
|
+
}
|
|
21154
21871
|
async UpdateWorkflow(input, { dataSources, userPayload }, pubSub) {
|
|
21155
21872
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
21156
21873
|
return this.UpdateRecord('Workflows', input, connPool, userPayload, pubSub);
|
|
21157
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
|
+
}
|
|
21158
21880
|
};
|
|
21159
21881
|
__decorate([
|
|
21160
21882
|
Query(() => RunWorkflowViewResult),
|
|
@@ -21210,6 +21932,15 @@ __decorate([
|
|
|
21210
21932
|
__metadata("design:paramtypes", [Workflow_, Object, PubSubEngine]),
|
|
21211
21933
|
__metadata("design:returntype", Promise)
|
|
21212
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);
|
|
21213
21944
|
__decorate([
|
|
21214
21945
|
Mutation(() => Workflow_),
|
|
21215
21946
|
__param(0, Arg('input', () => UpdateWorkflowInput)),
|
|
@@ -21219,6 +21950,16 @@ __decorate([
|
|
|
21219
21950
|
__metadata("design:paramtypes", [UpdateWorkflowInput, Object, PubSubEngine]),
|
|
21220
21951
|
__metadata("design:returntype", Promise)
|
|
21221
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);
|
|
21222
21963
|
WorkflowResolver = __decorate([
|
|
21223
21964
|
Resolver(Workflow_)
|
|
21224
21965
|
], WorkflowResolver);
|
|
@@ -21275,6 +22016,37 @@ WorkflowEngine_ = __decorate([
|
|
|
21275
22016
|
ObjectType()
|
|
21276
22017
|
], WorkflowEngine_);
|
|
21277
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 };
|
|
21278
22050
|
let UpdateWorkflowEngineInput = class UpdateWorkflowEngineInput {
|
|
21279
22051
|
ID;
|
|
21280
22052
|
Name;
|
|
@@ -21382,6 +22154,10 @@ let WorkflowEngineResolver = class WorkflowEngineResolver extends ResolverBase {
|
|
|
21382
22154
|
const result = this.ArrayMapFieldNamesToCodeNames('Workflows', rows);
|
|
21383
22155
|
return result;
|
|
21384
22156
|
}
|
|
22157
|
+
async CreateWorkflowEngine(input, { dataSources, userPayload }, pubSub) {
|
|
22158
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
22159
|
+
return this.CreateRecord('Workflow Engines', input, connPool, userPayload, pubSub);
|
|
22160
|
+
}
|
|
21385
22161
|
async UpdateWorkflowEngine(input, { dataSources, userPayload }, pubSub) {
|
|
21386
22162
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
21387
22163
|
return this.UpdateRecord('Workflow Engines', input, connPool, userPayload, pubSub);
|
|
@@ -21437,6 +22213,15 @@ __decorate([
|
|
|
21437
22213
|
__metadata("design:paramtypes", [WorkflowEngine_, Object, PubSubEngine]),
|
|
21438
22214
|
__metadata("design:returntype", Promise)
|
|
21439
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);
|
|
21440
22225
|
__decorate([
|
|
21441
22226
|
Mutation(() => WorkflowEngine_),
|
|
21442
22227
|
__param(0, Arg('input', () => UpdateWorkflowEngineInput)),
|
|
@@ -21819,6 +22604,11 @@ let RecordChangeResolver = class RecordChangeResolver extends ResolverBase {
|
|
|
21819
22604
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
21820
22605
|
return this.UpdateRecord('Record Changes', input, connPool, userPayload, pubSub);
|
|
21821
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
|
+
}
|
|
21822
22612
|
};
|
|
21823
22613
|
__decorate([
|
|
21824
22614
|
Query(() => RunRecordChangeViewResult),
|
|
@@ -21874,6 +22664,16 @@ __decorate([
|
|
|
21874
22664
|
__metadata("design:paramtypes", [UpdateRecordChangeInput, Object, PubSubEngine]),
|
|
21875
22665
|
__metadata("design:returntype", Promise)
|
|
21876
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);
|
|
21877
22677
|
RecordChangeResolver = __decorate([
|
|
21878
22678
|
Resolver(RecordChange_)
|
|
21879
22679
|
], RecordChangeResolver);
|
|
@@ -21947,6 +22747,32 @@ CreateUserRoleInput = __decorate([
|
|
|
21947
22747
|
InputType()
|
|
21948
22748
|
], CreateUserRoleInput);
|
|
21949
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 };
|
|
21950
22776
|
let RunUserRoleViewResult = class RunUserRoleViewResult {
|
|
21951
22777
|
Results;
|
|
21952
22778
|
UserViewRunID;
|
|
@@ -22022,6 +22848,10 @@ let UserRoleResolver = class UserRoleResolver extends ResolverBase {
|
|
|
22022
22848
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
22023
22849
|
return this.CreateRecord('User Roles', input, connPool, userPayload, pubSub);
|
|
22024
22850
|
}
|
|
22851
|
+
async UpdateUserRole(input, { dataSources, userPayload }, pubSub) {
|
|
22852
|
+
const connPool = GetReadWriteDataSource(dataSources);
|
|
22853
|
+
return this.UpdateRecord('User Roles', input, connPool, userPayload, pubSub);
|
|
22854
|
+
}
|
|
22025
22855
|
async DeleteUserRole(ID, options, { dataSources, userPayload }, pubSub) {
|
|
22026
22856
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
22027
22857
|
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
@@ -22081,6 +22911,15 @@ __decorate([
|
|
|
22081
22911
|
__metadata("design:paramtypes", [CreateUserRoleInput, Object, PubSubEngine]),
|
|
22082
22912
|
__metadata("design:returntype", Promise)
|
|
22083
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);
|
|
22084
22923
|
__decorate([
|
|
22085
22924
|
Mutation(() => UserRole_),
|
|
22086
22925
|
__param(0, Arg('ID', () => String)),
|
|
@@ -22140,6 +22979,63 @@ RowLevelSecurityFilter_ = __decorate([
|
|
|
22140
22979
|
ObjectType()
|
|
22141
22980
|
], RowLevelSecurityFilter_);
|
|
22142
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 };
|
|
22143
23039
|
let RunRowLevelSecurityFilterViewResult = class RunRowLevelSecurityFilterViewResult {
|
|
22144
23040
|
Results;
|
|
22145
23041
|
UserViewRunID;
|
|
@@ -22219,6 +23115,19 @@ let RowLevelSecurityFilterResolver = class RowLevelSecurityFilterResolver extend
|
|
|
22219
23115
|
const result = this.ArrayMapFieldNamesToCodeNames('Entity Permissions', rows);
|
|
22220
23116
|
return result;
|
|
22221
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
|
+
}
|
|
22222
23131
|
};
|
|
22223
23132
|
__decorate([
|
|
22224
23133
|
Query(() => RunRowLevelSecurityFilterViewResult),
|
|
@@ -22273,6 +23182,34 @@ __decorate([
|
|
|
22273
23182
|
__metadata("design:paramtypes", [RowLevelSecurityFilter_, Object, PubSubEngine]),
|
|
22274
23183
|
__metadata("design:returntype", Promise)
|
|
22275
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);
|
|
22276
23213
|
RowLevelSecurityFilterResolver = __decorate([
|
|
22277
23214
|
Resolver(RowLevelSecurityFilter_)
|
|
22278
23215
|
], RowLevelSecurityFilterResolver);
|
|
@@ -22549,6 +23486,11 @@ let AuditLogResolver = class AuditLogResolver extends ResolverBase {
|
|
|
22549
23486
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
22550
23487
|
return this.UpdateRecord('Audit Logs', input, connPool, userPayload, pubSub);
|
|
22551
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
|
+
}
|
|
22552
23494
|
};
|
|
22553
23495
|
__decorate([
|
|
22554
23496
|
Query(() => RunAuditLogViewResult),
|
|
@@ -22604,6 +23546,16 @@ __decorate([
|
|
|
22604
23546
|
__metadata("design:paramtypes", [UpdateAuditLogInput, Object, PubSubEngine]),
|
|
22605
23547
|
__metadata("design:returntype", Promise)
|
|
22606
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);
|
|
22607
23559
|
AuditLogResolver = __decorate([
|
|
22608
23560
|
Resolver(AuditLog_)
|
|
22609
23561
|
], AuditLogResolver);
|
|
@@ -22690,6 +23642,83 @@ Authorization_ = __decorate([
|
|
|
22690
23642
|
ObjectType()
|
|
22691
23643
|
], Authorization_);
|
|
22692
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 };
|
|
22693
23722
|
let RunAuthorizationViewResult = class RunAuthorizationViewResult {
|
|
22694
23723
|
Results;
|
|
22695
23724
|
UserViewRunID;
|
|
@@ -22801,6 +23830,19 @@ let AuthorizationResolver = class AuthorizationResolver extends ResolverBase {
|
|
|
22801
23830
|
const result = this.ArrayMapFieldNamesToCodeNames('Audit Log Types', rows);
|
|
22802
23831
|
return result;
|
|
22803
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
|
+
}
|
|
22804
23846
|
};
|
|
22805
23847
|
__decorate([
|
|
22806
23848
|
Query(() => RunAuthorizationViewResult),
|
|
@@ -22891,6 +23933,34 @@ __decorate([
|
|
|
22891
23933
|
__metadata("design:paramtypes", [Authorization_, Object, PubSubEngine]),
|
|
22892
23934
|
__metadata("design:returntype", Promise)
|
|
22893
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);
|
|
22894
23964
|
AuthorizationResolver = __decorate([
|
|
22895
23965
|
Resolver(Authorization_)
|
|
22896
23966
|
], AuthorizationResolver);
|
|
@@ -22949,6 +24019,63 @@ AuthorizationRole_ = __decorate([
|
|
|
22949
24019
|
ObjectType()
|
|
22950
24020
|
], AuthorizationRole_);
|
|
22951
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 };
|
|
22952
24079
|
let RunAuthorizationRoleViewResult = class RunAuthorizationRoleViewResult {
|
|
22953
24080
|
Results;
|
|
22954
24081
|
UserViewRunID;
|
|
@@ -23020,6 +24147,19 @@ let AuthorizationRoleResolver = class AuthorizationRoleResolver extends Resolver
|
|
|
23020
24147
|
const result = this.ArrayMapFieldNamesToCodeNames('Authorization Roles', rows);
|
|
23021
24148
|
return result;
|
|
23022
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
|
+
}
|
|
23023
24163
|
};
|
|
23024
24164
|
__decorate([
|
|
23025
24165
|
Query(() => RunAuthorizationRoleViewResult),
|
|
@@ -23065,6 +24205,34 @@ __decorate([
|
|
|
23065
24205
|
__metadata("design:paramtypes", [Object, PubSubEngine]),
|
|
23066
24206
|
__metadata("design:returntype", Promise)
|
|
23067
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);
|
|
23068
24236
|
AuthorizationRoleResolver = __decorate([
|
|
23069
24237
|
Resolver(AuthorizationRole_)
|
|
23070
24238
|
], AuthorizationRoleResolver);
|
|
@@ -23138,6 +24306,73 @@ AuditLogType_ = __decorate([
|
|
|
23138
24306
|
ObjectType()
|
|
23139
24307
|
], AuditLogType_);
|
|
23140
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 };
|
|
23141
24376
|
let RunAuditLogTypeViewResult = class RunAuditLogTypeViewResult {
|
|
23142
24377
|
Results;
|
|
23143
24378
|
UserViewRunID;
|
|
@@ -23225,6 +24460,19 @@ let AuditLogTypeResolver = class AuditLogTypeResolver extends ResolverBase {
|
|
|
23225
24460
|
const result = this.ArrayMapFieldNamesToCodeNames('Audit Logs', rows);
|
|
23226
24461
|
return result;
|
|
23227
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
|
+
}
|
|
23228
24476
|
};
|
|
23229
24477
|
__decorate([
|
|
23230
24478
|
Query(() => RunAuditLogTypeViewResult),
|
|
@@ -23288,6 +24536,34 @@ __decorate([
|
|
|
23288
24536
|
__metadata("design:paramtypes", [AuditLogType_, Object, PubSubEngine]),
|
|
23289
24537
|
__metadata("design:returntype", Promise)
|
|
23290
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);
|
|
23291
24567
|
AuditLogTypeResolver = __decorate([
|
|
23292
24568
|
Resolver(AuditLogType_)
|
|
23293
24569
|
], AuditLogTypeResolver);
|
|
@@ -23362,6 +24638,42 @@ EntityFieldValue_ = __decorate([
|
|
|
23362
24638
|
ObjectType()
|
|
23363
24639
|
], EntityFieldValue_);
|
|
23364
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 };
|
|
23365
24677
|
let UpdateEntityFieldValueInput = class UpdateEntityFieldValueInput {
|
|
23366
24678
|
ID;
|
|
23367
24679
|
EntityFieldID;
|
|
@@ -23474,10 +24786,19 @@ let EntityFieldValueResolver = class EntityFieldValueResolver extends ResolverBa
|
|
|
23474
24786
|
const result = this.ArrayMapFieldNamesToCodeNames('Entity Field Values', rows);
|
|
23475
24787
|
return result;
|
|
23476
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
|
+
}
|
|
23477
24793
|
async UpdateEntityFieldValue(input, { dataSources, userPayload }, pubSub) {
|
|
23478
24794
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
23479
24795
|
return this.UpdateRecord('Entity Field Values', input, connPool, userPayload, pubSub);
|
|
23480
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
|
+
}
|
|
23481
24802
|
};
|
|
23482
24803
|
__decorate([
|
|
23483
24804
|
Query(() => RunEntityFieldValueViewResult),
|
|
@@ -23523,6 +24844,15 @@ __decorate([
|
|
|
23523
24844
|
__metadata("design:paramtypes", [Object, PubSubEngine]),
|
|
23524
24845
|
__metadata("design:returntype", Promise)
|
|
23525
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);
|
|
23526
24856
|
__decorate([
|
|
23527
24857
|
Mutation(() => EntityFieldValue_),
|
|
23528
24858
|
__param(0, Arg('input', () => UpdateEntityFieldValueInput)),
|
|
@@ -23532,6 +24862,16 @@ __decorate([
|
|
|
23532
24862
|
__metadata("design:paramtypes", [UpdateEntityFieldValueInput, Object, PubSubEngine]),
|
|
23533
24863
|
__metadata("design:returntype", Promise)
|
|
23534
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);
|
|
23535
24875
|
EntityFieldValueResolver = __decorate([
|
|
23536
24876
|
Resolver(EntityFieldValue_)
|
|
23537
24877
|
], EntityFieldValueResolver);
|
|
@@ -25580,6 +26920,83 @@ QueueType_ = __decorate([
|
|
|
25580
26920
|
ObjectType()
|
|
25581
26921
|
], QueueType_);
|
|
25582
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 };
|
|
25583
27000
|
let RunQueueTypeViewResult = class RunQueueTypeViewResult {
|
|
25584
27001
|
Results;
|
|
25585
27002
|
UserViewRunID;
|
|
@@ -25651,6 +27068,19 @@ let QueueTypeResolver = class QueueTypeResolver extends ResolverBase {
|
|
|
25651
27068
|
const result = this.ArrayMapFieldNamesToCodeNames('Queues', rows);
|
|
25652
27069
|
return result;
|
|
25653
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
|
+
}
|
|
25654
27084
|
};
|
|
25655
27085
|
__decorate([
|
|
25656
27086
|
Query(() => RunQueueTypeViewResult),
|
|
@@ -25697,6 +27127,34 @@ __decorate([
|
|
|
25697
27127
|
__metadata("design:paramtypes", [QueueType_, Object, PubSubEngine]),
|
|
25698
27128
|
__metadata("design:returntype", Promise)
|
|
25699
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);
|
|
25700
27158
|
QueueTypeResolver = __decorate([
|
|
25701
27159
|
Resolver(QueueType_)
|
|
25702
27160
|
], QueueTypeResolver);
|
|
@@ -26095,6 +27553,11 @@ let QueueResolver = class QueueResolver extends ResolverBase {
|
|
|
26095
27553
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
26096
27554
|
return this.UpdateRecord('Queues', input, connPool, userPayload, pubSub);
|
|
26097
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
|
+
}
|
|
26098
27561
|
};
|
|
26099
27562
|
__decorate([
|
|
26100
27563
|
Query(() => RunQueueViewResult),
|
|
@@ -26159,6 +27622,16 @@ __decorate([
|
|
|
26159
27622
|
__metadata("design:paramtypes", [UpdateQueueInput, Object, PubSubEngine]),
|
|
26160
27623
|
__metadata("design:returntype", Promise)
|
|
26161
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);
|
|
26162
27635
|
QueueResolver = __decorate([
|
|
26163
27636
|
Resolver(Queue_)
|
|
26164
27637
|
], QueueResolver);
|
|
@@ -26430,6 +27903,11 @@ let QueueTaskResolver = class QueueTaskResolver extends ResolverBase {
|
|
|
26430
27903
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
26431
27904
|
return this.UpdateRecord('Queue Tasks', input, connPool, userPayload, pubSub);
|
|
26432
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
|
+
}
|
|
26433
27911
|
};
|
|
26434
27912
|
__decorate([
|
|
26435
27913
|
Query(() => RunQueueTaskViewResult),
|
|
@@ -26485,6 +27963,16 @@ __decorate([
|
|
|
26485
27963
|
__metadata("design:paramtypes", [UpdateQueueTaskInput, Object, PubSubEngine]),
|
|
26486
27964
|
__metadata("design:returntype", Promise)
|
|
26487
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);
|
|
26488
27976
|
QueueTaskResolver = __decorate([
|
|
26489
27977
|
Resolver(QueueTask_)
|
|
26490
27978
|
], QueueTaskResolver);
|
|
@@ -26960,6 +28448,53 @@ OutputTriggerType_ = __decorate([
|
|
|
26960
28448
|
ObjectType()
|
|
26961
28449
|
], OutputTriggerType_);
|
|
26962
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 };
|
|
26963
28498
|
let RunOutputTriggerTypeViewResult = class RunOutputTriggerTypeViewResult {
|
|
26964
28499
|
Results;
|
|
26965
28500
|
UserViewRunID;
|
|
@@ -27031,6 +28566,19 @@ let OutputTriggerTypeResolver = class OutputTriggerTypeResolver extends Resolver
|
|
|
27031
28566
|
const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
|
|
27032
28567
|
return result;
|
|
27033
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
|
+
}
|
|
27034
28582
|
};
|
|
27035
28583
|
__decorate([
|
|
27036
28584
|
Query(() => RunOutputTriggerTypeViewResult),
|
|
@@ -27077,6 +28625,34 @@ __decorate([
|
|
|
27077
28625
|
__metadata("design:paramtypes", [OutputTriggerType_, Object, PubSubEngine]),
|
|
27078
28626
|
__metadata("design:returntype", Promise)
|
|
27079
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);
|
|
27080
28656
|
OutputTriggerTypeResolver = __decorate([
|
|
27081
28657
|
Resolver(OutputTriggerType_)
|
|
27082
28658
|
], OutputTriggerTypeResolver);
|
|
@@ -27126,6 +28702,63 @@ OutputFormatType_ = __decorate([
|
|
|
27126
28702
|
ObjectType()
|
|
27127
28703
|
], OutputFormatType_);
|
|
27128
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 };
|
|
27129
28762
|
let RunOutputFormatTypeViewResult = class RunOutputFormatTypeViewResult {
|
|
27130
28763
|
Results;
|
|
27131
28764
|
UserViewRunID;
|
|
@@ -27197,6 +28830,19 @@ let OutputFormatTypeResolver = class OutputFormatTypeResolver extends ResolverBa
|
|
|
27197
28830
|
const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
|
|
27198
28831
|
return result;
|
|
27199
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
|
+
}
|
|
27200
28846
|
};
|
|
27201
28847
|
__decorate([
|
|
27202
28848
|
Query(() => RunOutputFormatTypeViewResult),
|
|
@@ -27243,6 +28889,34 @@ __decorate([
|
|
|
27243
28889
|
__metadata("design:paramtypes", [OutputFormatType_, Object, PubSubEngine]),
|
|
27244
28890
|
__metadata("design:returntype", Promise)
|
|
27245
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);
|
|
27246
28920
|
OutputFormatTypeResolver = __decorate([
|
|
27247
28921
|
Resolver(OutputFormatType_)
|
|
27248
28922
|
], OutputFormatTypeResolver);
|
|
@@ -27287,6 +28961,53 @@ OutputDeliveryType_ = __decorate([
|
|
|
27287
28961
|
ObjectType()
|
|
27288
28962
|
], OutputDeliveryType_);
|
|
27289
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 };
|
|
27290
29011
|
let RunOutputDeliveryTypeViewResult = class RunOutputDeliveryTypeViewResult {
|
|
27291
29012
|
Results;
|
|
27292
29013
|
UserViewRunID;
|
|
@@ -27358,6 +29079,19 @@ let OutputDeliveryTypeResolver = class OutputDeliveryTypeResolver extends Resolv
|
|
|
27358
29079
|
const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
|
|
27359
29080
|
return result;
|
|
27360
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
|
+
}
|
|
27361
29095
|
};
|
|
27362
29096
|
__decorate([
|
|
27363
29097
|
Query(() => RunOutputDeliveryTypeViewResult),
|
|
@@ -27404,6 +29138,34 @@ __decorate([
|
|
|
27404
29138
|
__metadata("design:paramtypes", [OutputDeliveryType_, Object, PubSubEngine]),
|
|
27405
29139
|
__metadata("design:returntype", Promise)
|
|
27406
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);
|
|
27407
29169
|
OutputDeliveryTypeResolver = __decorate([
|
|
27408
29170
|
Resolver(OutputDeliveryType_)
|
|
27409
29171
|
], OutputDeliveryTypeResolver);
|
|
@@ -28317,6 +30079,93 @@ ResourceType_ = __decorate([
|
|
|
28317
30079
|
ObjectType()
|
|
28318
30080
|
], ResourceType_);
|
|
28319
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 };
|
|
28320
30169
|
let RunResourceTypeViewResult = class RunResourceTypeViewResult {
|
|
28321
30170
|
Results;
|
|
28322
30171
|
UserViewRunID;
|
|
@@ -28412,6 +30261,19 @@ let ResourceTypeResolver = class ResourceTypeResolver extends ResolverBase {
|
|
|
28412
30261
|
const result = this.ArrayMapFieldNamesToCodeNames('Resource Permissions', rows);
|
|
28413
30262
|
return result;
|
|
28414
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
|
+
}
|
|
28415
30277
|
};
|
|
28416
30278
|
__decorate([
|
|
28417
30279
|
Query(() => RunResourceTypeViewResult),
|
|
@@ -28485,6 +30347,34 @@ __decorate([
|
|
|
28485
30347
|
__metadata("design:paramtypes", [ResourceType_, Object, PubSubEngine]),
|
|
28486
30348
|
__metadata("design:returntype", Promise)
|
|
28487
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);
|
|
28488
30378
|
ResourceTypeResolver = __decorate([
|
|
28489
30379
|
Resolver(ResourceType_)
|
|
28490
30380
|
], ResourceTypeResolver);
|
|
@@ -28552,6 +30442,73 @@ Tag_ = __decorate([
|
|
|
28552
30442
|
ObjectType({ description: `Tags are used to arbitrarily associate any record in any entity with addtional information.` })
|
|
28553
30443
|
], Tag_);
|
|
28554
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 };
|
|
28555
30512
|
let RunTagViewResult = class RunTagViewResult {
|
|
28556
30513
|
Results;
|
|
28557
30514
|
UserViewRunID;
|
|
@@ -28631,6 +30588,19 @@ let TagResolver = class TagResolver extends ResolverBase {
|
|
|
28631
30588
|
const result = this.ArrayMapFieldNamesToCodeNames('Tagged Items', rows);
|
|
28632
30589
|
return result;
|
|
28633
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
|
+
}
|
|
28634
30604
|
};
|
|
28635
30605
|
__decorate([
|
|
28636
30606
|
Query(() => RunTagViewResult),
|
|
@@ -28686,6 +30656,34 @@ __decorate([
|
|
|
28686
30656
|
__metadata("design:paramtypes", [Tag_, Object, PubSubEngine]),
|
|
28687
30657
|
__metadata("design:returntype", Promise)
|
|
28688
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);
|
|
28689
30687
|
TagResolver = __decorate([
|
|
28690
30688
|
Resolver(Tag_)
|
|
28691
30689
|
], TagResolver);
|
|
@@ -28744,6 +30742,63 @@ TaggedItem_ = __decorate([
|
|
|
28744
30742
|
ObjectType({ description: `Tracks the links between any record in any entity with Tags` })
|
|
28745
30743
|
], TaggedItem_);
|
|
28746
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 };
|
|
28747
30802
|
let RunTaggedItemViewResult = class RunTaggedItemViewResult {
|
|
28748
30803
|
Results;
|
|
28749
30804
|
UserViewRunID;
|
|
@@ -28807,6 +30862,19 @@ let TaggedItemResolver = class TaggedItemResolver extends ResolverBase {
|
|
|
28807
30862
|
const result = this.MapFieldNamesToCodeNames('Tagged Items', rows && rows.length > 0 ? rows[0] : {});
|
|
28808
30863
|
return result;
|
|
28809
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
|
+
}
|
|
28810
30878
|
};
|
|
28811
30879
|
__decorate([
|
|
28812
30880
|
Query(() => RunTaggedItemViewResult),
|
|
@@ -28844,6 +30912,34 @@ __decorate([
|
|
|
28844
30912
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
28845
30913
|
__metadata("design:returntype", Promise)
|
|
28846
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);
|
|
28847
30943
|
TaggedItemResolver = __decorate([
|
|
28848
30944
|
Resolver(TaggedItem_)
|
|
28849
30945
|
], TaggedItemResolver);
|
|
@@ -29476,6 +31572,53 @@ Dataset_ = __decorate([
|
|
|
29476
31572
|
ObjectType({ description: `Cacheable sets of data that can span one or more items` })
|
|
29477
31573
|
], Dataset_);
|
|
29478
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 };
|
|
29479
31622
|
let RunDatasetViewResult = class RunDatasetViewResult {
|
|
29480
31623
|
Results;
|
|
29481
31624
|
UserViewRunID;
|
|
@@ -29547,6 +31690,19 @@ let DatasetResolver = class DatasetResolver extends ResolverBase {
|
|
|
29547
31690
|
const result = this.ArrayMapFieldNamesToCodeNames('Dataset Items', rows);
|
|
29548
31691
|
return result;
|
|
29549
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
|
+
}
|
|
29550
31706
|
};
|
|
29551
31707
|
__decorate([
|
|
29552
31708
|
Query(() => RunDatasetViewResult),
|
|
@@ -29593,6 +31749,34 @@ __decorate([
|
|
|
29593
31749
|
__metadata("design:paramtypes", [Dataset_, Object, PubSubEngine]),
|
|
29594
31750
|
__metadata("design:returntype", Promise)
|
|
29595
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);
|
|
29596
31780
|
DatasetResolver = __decorate([
|
|
29597
31781
|
Resolver(Dataset_)
|
|
29598
31782
|
], DatasetResolver);
|
|
@@ -29677,6 +31861,113 @@ DatasetItem_ = __decorate([
|
|
|
29677
31861
|
ObjectType({ description: `A single item in a Dataset and can be sourced from multiple methods.` })
|
|
29678
31862
|
], DatasetItem_);
|
|
29679
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 };
|
|
29680
31971
|
let RunDatasetItemViewResult = class RunDatasetItemViewResult {
|
|
29681
31972
|
Results;
|
|
29682
31973
|
UserViewRunID;
|
|
@@ -29740,6 +32031,19 @@ let DatasetItemResolver = class DatasetItemResolver extends ResolverBase {
|
|
|
29740
32031
|
const result = this.MapFieldNamesToCodeNames('Dataset Items', rows && rows.length > 0 ? rows[0] : {});
|
|
29741
32032
|
return result;
|
|
29742
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
|
+
}
|
|
29743
32047
|
};
|
|
29744
32048
|
__decorate([
|
|
29745
32049
|
Query(() => RunDatasetItemViewResult),
|
|
@@ -29777,6 +32081,34 @@ __decorate([
|
|
|
29777
32081
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
29778
32082
|
__metadata("design:returntype", Promise)
|
|
29779
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);
|
|
29780
32112
|
DatasetItemResolver = __decorate([
|
|
29781
32113
|
Resolver(DatasetItem_)
|
|
29782
32114
|
], DatasetItemResolver);
|
|
@@ -31209,6 +33541,11 @@ let SchemaInfoResolver = class SchemaInfoResolver extends ResolverBase {
|
|
|
31209
33541
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
31210
33542
|
return this.UpdateRecord('Schema Info', input, connPool, userPayload, pubSub);
|
|
31211
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
|
+
}
|
|
31212
33549
|
};
|
|
31213
33550
|
__decorate([
|
|
31214
33551
|
Query(() => RunSchemaInfoViewResult),
|
|
@@ -31264,6 +33601,16 @@ __decorate([
|
|
|
31264
33601
|
__metadata("design:paramtypes", [UpdateSchemaInfoInput, Object, PubSubEngine]),
|
|
31265
33602
|
__metadata("design:returntype", Promise)
|
|
31266
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);
|
|
31267
33614
|
SchemaInfoResolver = __decorate([
|
|
31268
33615
|
Resolver(SchemaInfo_)
|
|
31269
33616
|
], SchemaInfoResolver);
|
|
@@ -31460,6 +33807,11 @@ let CompanyIntegrationRecordMapResolver = class CompanyIntegrationRecordMapResol
|
|
|
31460
33807
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
31461
33808
|
return this.UpdateRecord('Company Integration Record Maps', input, connPool, userPayload, pubSub);
|
|
31462
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
|
+
}
|
|
31463
33815
|
};
|
|
31464
33816
|
__decorate([
|
|
31465
33817
|
Query(() => RunCompanyIntegrationRecordMapViewResult),
|
|
@@ -31515,6 +33867,16 @@ __decorate([
|
|
|
31515
33867
|
__metadata("design:paramtypes", [UpdateCompanyIntegrationRecordMapInput, Object, PubSubEngine]),
|
|
31516
33868
|
__metadata("design:returntype", Promise)
|
|
31517
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);
|
|
31518
33880
|
CompanyIntegrationRecordMapResolver = __decorate([
|
|
31519
33881
|
Resolver(CompanyIntegrationRecordMap_)
|
|
31520
33882
|
], CompanyIntegrationRecordMapResolver);
|
|
@@ -31843,6 +34205,11 @@ let RecordMergeLogResolver = class RecordMergeLogResolver extends ResolverBase {
|
|
|
31843
34205
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
31844
34206
|
return this.UpdateRecord('Record Merge Logs', input, connPool, userPayload, pubSub);
|
|
31845
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
|
+
}
|
|
31846
34213
|
};
|
|
31847
34214
|
__decorate([
|
|
31848
34215
|
Query(() => RunRecordMergeLogViewResult),
|
|
@@ -31916,6 +34283,16 @@ __decorate([
|
|
|
31916
34283
|
__metadata("design:paramtypes", [UpdateRecordMergeLogInput, Object, PubSubEngine]),
|
|
31917
34284
|
__metadata("design:returntype", Promise)
|
|
31918
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);
|
|
31919
34296
|
RecordMergeLogResolver = __decorate([
|
|
31920
34297
|
Resolver(RecordMergeLog_)
|
|
31921
34298
|
], RecordMergeLogResolver);
|
|
@@ -32105,6 +34482,11 @@ let RecordMergeDeletionLogResolver = class RecordMergeDeletionLogResolver extend
|
|
|
32105
34482
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
32106
34483
|
return this.UpdateRecord('Record Merge Deletion Logs', input, connPool, userPayload, pubSub);
|
|
32107
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
|
+
}
|
|
32108
34490
|
};
|
|
32109
34491
|
__decorate([
|
|
32110
34492
|
Query(() => RunRecordMergeDeletionLogViewResult),
|
|
@@ -32160,6 +34542,16 @@ __decorate([
|
|
|
32160
34542
|
__metadata("design:paramtypes", [UpdateRecordMergeDeletionLogInput, Object, PubSubEngine]),
|
|
32161
34543
|
__metadata("design:returntype", Promise)
|
|
32162
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);
|
|
32163
34555
|
RecordMergeDeletionLogResolver = __decorate([
|
|
32164
34556
|
Resolver(RecordMergeDeletionLog_)
|
|
32165
34557
|
], RecordMergeDeletionLogResolver);
|
|
@@ -34305,6 +36697,11 @@ let EntityDocumentRunResolver = class EntityDocumentRunResolver extends Resolver
|
|
|
34305
36697
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
34306
36698
|
return this.UpdateRecord('Entity Document Runs', input, connPool, userPayload, pubSub);
|
|
34307
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
|
+
}
|
|
34308
36705
|
};
|
|
34309
36706
|
__decorate([
|
|
34310
36707
|
Query(() => RunEntityDocumentRunViewResult),
|
|
@@ -34360,6 +36757,16 @@ __decorate([
|
|
|
34360
36757
|
__metadata("design:paramtypes", [UpdateEntityDocumentRunInput, Object, PubSubEngine]),
|
|
34361
36758
|
__metadata("design:returntype", Promise)
|
|
34362
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);
|
|
34363
36770
|
EntityDocumentRunResolver = __decorate([
|
|
34364
36771
|
Resolver(EntityDocumentRun_)
|
|
34365
36772
|
], EntityDocumentRunResolver);
|
|
@@ -34933,6 +37340,11 @@ let EntityRecordDocumentResolver = class EntityRecordDocumentResolver extends Re
|
|
|
34933
37340
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
34934
37341
|
return this.UpdateRecord('Entity Record Documents', input, connPool, userPayload, pubSub);
|
|
34935
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
|
+
}
|
|
34936
37348
|
};
|
|
34937
37349
|
__decorate([
|
|
34938
37350
|
Query(() => RunEntityRecordDocumentViewResult),
|
|
@@ -34988,6 +37400,16 @@ __decorate([
|
|
|
34988
37400
|
__metadata("design:paramtypes", [UpdateEntityRecordDocumentInput, Object, PubSubEngine]),
|
|
34989
37401
|
__metadata("design:returntype", Promise)
|
|
34990
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);
|
|
34991
37413
|
EntityRecordDocumentResolver = __decorate([
|
|
34992
37414
|
Resolver(EntityRecordDocument_)
|
|
34993
37415
|
], EntityRecordDocumentResolver);
|
|
@@ -35325,6 +37747,11 @@ let EntityDocumentResolver = class EntityDocumentResolver extends ResolverBase {
|
|
|
35325
37747
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
35326
37748
|
return this.UpdateRecord('Entity Documents', input, connPool, userPayload, pubSub);
|
|
35327
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
|
+
}
|
|
35328
37755
|
};
|
|
35329
37756
|
__decorate([
|
|
35330
37757
|
Query(() => RunEntityDocumentViewResult),
|
|
@@ -35407,6 +37834,16 @@ __decorate([
|
|
|
35407
37834
|
__metadata("design:paramtypes", [UpdateEntityDocumentInput, Object, PubSubEngine]),
|
|
35408
37835
|
__metadata("design:returntype", Promise)
|
|
35409
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);
|
|
35410
37847
|
EntityDocumentResolver = __decorate([
|
|
35411
37848
|
Resolver(EntityDocument_)
|
|
35412
37849
|
], EntityDocumentResolver);
|
|
@@ -37454,7 +39891,7 @@ __decorate([
|
|
|
37454
39891
|
], File_.prototype, "ProviderID", void 0);
|
|
37455
39892
|
__decorate([
|
|
37456
39893
|
Field({ nullable: true }),
|
|
37457
|
-
MaxLength(
|
|
39894
|
+
MaxLength(510),
|
|
37458
39895
|
__metadata("design:type", String)
|
|
37459
39896
|
], File_.prototype, "ContentType", void 0);
|
|
37460
39897
|
__decorate([
|
|
@@ -38554,6 +40991,11 @@ let VersionInstallationResolver = class VersionInstallationResolver extends Reso
|
|
|
38554
40991
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
38555
40992
|
return this.UpdateRecord('Version Installations', input, connPool, userPayload, pubSub);
|
|
38556
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
|
+
}
|
|
38557
40999
|
};
|
|
38558
41000
|
__decorate([
|
|
38559
41001
|
Query(() => RunVersionInstallationViewResult),
|
|
@@ -38609,6 +41051,16 @@ __decorate([
|
|
|
38609
41051
|
__metadata("design:paramtypes", [UpdateVersionInstallationInput, Object, PubSubEngine]),
|
|
38610
41052
|
__metadata("design:returntype", Promise)
|
|
38611
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);
|
|
38612
41064
|
VersionInstallationResolver = __decorate([
|
|
38613
41065
|
Resolver(VersionInstallation_)
|
|
38614
41066
|
], VersionInstallationResolver);
|
|
@@ -38894,6 +41346,11 @@ let DuplicateRunDetailMatchResolver = class DuplicateRunDetailMatchResolver exte
|
|
|
38894
41346
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
38895
41347
|
return this.UpdateRecord('Duplicate Run Detail Matches', input, connPool, userPayload, pubSub);
|
|
38896
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
|
+
}
|
|
38897
41354
|
};
|
|
38898
41355
|
__decorate([
|
|
38899
41356
|
Query(() => RunDuplicateRunDetailMatchViewResult),
|
|
@@ -38949,6 +41406,16 @@ __decorate([
|
|
|
38949
41406
|
__metadata("design:paramtypes", [UpdateDuplicateRunDetailMatchInput, Object, PubSubEngine]),
|
|
38950
41407
|
__metadata("design:returntype", Promise)
|
|
38951
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);
|
|
38952
41419
|
DuplicateRunDetailMatchResolver = __decorate([
|
|
38953
41420
|
Resolver(DuplicateRunDetailMatch_)
|
|
38954
41421
|
], DuplicateRunDetailMatchResolver);
|
|
@@ -39798,6 +42265,11 @@ let DuplicateRunResolver = class DuplicateRunResolver extends ResolverBase {
|
|
|
39798
42265
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
39799
42266
|
return this.UpdateRecord('Duplicate Runs', input, connPool, userPayload, pubSub);
|
|
39800
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
|
+
}
|
|
39801
42273
|
};
|
|
39802
42274
|
__decorate([
|
|
39803
42275
|
Query(() => RunDuplicateRunViewResult),
|
|
@@ -39862,6 +42334,16 @@ __decorate([
|
|
|
39862
42334
|
__metadata("design:paramtypes", [UpdateDuplicateRunInput, Object, PubSubEngine]),
|
|
39863
42335
|
__metadata("design:returntype", Promise)
|
|
39864
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);
|
|
39865
42347
|
DuplicateRunResolver = __decorate([
|
|
39866
42348
|
Resolver(DuplicateRun_)
|
|
39867
42349
|
], DuplicateRunResolver);
|
|
@@ -40110,6 +42592,11 @@ let DuplicateRunDetailResolver = class DuplicateRunDetailResolver extends Resolv
|
|
|
40110
42592
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
40111
42593
|
return this.UpdateRecord('Duplicate Run Details', input, connPool, userPayload, pubSub);
|
|
40112
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
|
+
}
|
|
40113
42600
|
};
|
|
40114
42601
|
__decorate([
|
|
40115
42602
|
Query(() => RunDuplicateRunDetailViewResult),
|
|
@@ -40174,6 +42661,16 @@ __decorate([
|
|
|
40174
42661
|
__metadata("design:paramtypes", [UpdateDuplicateRunDetailInput, Object, PubSubEngine]),
|
|
40175
42662
|
__metadata("design:returntype", Promise)
|
|
40176
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);
|
|
40177
42674
|
DuplicateRunDetailResolver = __decorate([
|
|
40178
42675
|
Resolver(DuplicateRunDetail_)
|
|
40179
42676
|
], DuplicateRunDetailResolver);
|
|
@@ -41864,6 +44361,7 @@ let Action_ = class Action_ {
|
|
|
41864
44361
|
_mj__UpdatedAt;
|
|
41865
44362
|
DriverClass;
|
|
41866
44363
|
ParentID;
|
|
44364
|
+
IconClass;
|
|
41867
44365
|
Category;
|
|
41868
44366
|
CodeApprovedByUser;
|
|
41869
44367
|
Parent;
|
|
@@ -41974,6 +44472,11 @@ __decorate([
|
|
|
41974
44472
|
MaxLength(16),
|
|
41975
44473
|
__metadata("design:type", String)
|
|
41976
44474
|
], Action_.prototype, "ParentID", void 0);
|
|
44475
|
+
__decorate([
|
|
44476
|
+
Field({ nullable: true, description: `Font Awesome icon class (e.g., fa-cog, fa-play, fa-search) for visual representation of the action.` }),
|
|
44477
|
+
MaxLength(200),
|
|
44478
|
+
__metadata("design:type", String)
|
|
44479
|
+
], Action_.prototype, "IconClass", void 0);
|
|
41977
44480
|
__decorate([
|
|
41978
44481
|
Field({ nullable: true }),
|
|
41979
44482
|
MaxLength(510),
|
|
@@ -42053,6 +44556,7 @@ let CreateActionInput = class CreateActionInput {
|
|
|
42053
44556
|
Status;
|
|
42054
44557
|
DriverClass;
|
|
42055
44558
|
ParentID;
|
|
44559
|
+
IconClass;
|
|
42056
44560
|
};
|
|
42057
44561
|
__decorate([
|
|
42058
44562
|
Field({ nullable: true }),
|
|
@@ -42130,6 +44634,10 @@ __decorate([
|
|
|
42130
44634
|
Field({ nullable: true }),
|
|
42131
44635
|
__metadata("design:type", String)
|
|
42132
44636
|
], CreateActionInput.prototype, "ParentID", void 0);
|
|
44637
|
+
__decorate([
|
|
44638
|
+
Field({ nullable: true }),
|
|
44639
|
+
__metadata("design:type", String)
|
|
44640
|
+
], CreateActionInput.prototype, "IconClass", void 0);
|
|
42133
44641
|
CreateActionInput = __decorate([
|
|
42134
44642
|
InputType()
|
|
42135
44643
|
], CreateActionInput);
|
|
@@ -42154,6 +44662,7 @@ let UpdateActionInput = class UpdateActionInput {
|
|
|
42154
44662
|
Status;
|
|
42155
44663
|
DriverClass;
|
|
42156
44664
|
ParentID;
|
|
44665
|
+
IconClass;
|
|
42157
44666
|
OldValues___;
|
|
42158
44667
|
};
|
|
42159
44668
|
__decorate([
|
|
@@ -42232,6 +44741,10 @@ __decorate([
|
|
|
42232
44741
|
Field({ nullable: true }),
|
|
42233
44742
|
__metadata("design:type", String)
|
|
42234
44743
|
], UpdateActionInput.prototype, "ParentID", void 0);
|
|
44744
|
+
__decorate([
|
|
44745
|
+
Field({ nullable: true }),
|
|
44746
|
+
__metadata("design:type", String)
|
|
44747
|
+
], UpdateActionInput.prototype, "IconClass", void 0);
|
|
42235
44748
|
__decorate([
|
|
42236
44749
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
42237
44750
|
__metadata("design:type", Array)
|
|
@@ -46064,6 +48577,11 @@ let CommunicationRunResolver = class CommunicationRunResolver extends ResolverBa
|
|
|
46064
48577
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
46065
48578
|
return this.UpdateRecord('Communication Runs', input, connPool, userPayload, pubSub);
|
|
46066
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
|
+
}
|
|
46067
48585
|
};
|
|
46068
48586
|
__decorate([
|
|
46069
48587
|
Query(() => RunCommunicationRunViewResult),
|
|
@@ -46128,6 +48646,16 @@ __decorate([
|
|
|
46128
48646
|
__metadata("design:paramtypes", [UpdateCommunicationRunInput, Object, PubSubEngine]),
|
|
46129
48647
|
__metadata("design:returntype", Promise)
|
|
46130
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);
|
|
46131
48659
|
CommunicationRunResolver = __decorate([
|
|
46132
48660
|
Resolver(CommunicationRun_)
|
|
46133
48661
|
], CommunicationRunResolver);
|
|
@@ -46701,6 +49229,11 @@ let CommunicationLogResolver = class CommunicationLogResolver extends ResolverBa
|
|
|
46701
49229
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
46702
49230
|
return this.UpdateRecord('Communication Logs', input, connPool, userPayload, pubSub);
|
|
46703
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
|
+
}
|
|
46704
49237
|
};
|
|
46705
49238
|
__decorate([
|
|
46706
49239
|
Query(() => RunCommunicationLogViewResult),
|
|
@@ -46756,6 +49289,16 @@ __decorate([
|
|
|
46756
49289
|
__metadata("design:paramtypes", [UpdateCommunicationLogInput, Object, PubSubEngine]),
|
|
46757
49290
|
__metadata("design:returntype", Promise)
|
|
46758
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);
|
|
46759
49302
|
CommunicationLogResolver = __decorate([
|
|
46760
49303
|
Resolver(CommunicationLog_)
|
|
46761
49304
|
], CommunicationLogResolver);
|
|
@@ -48983,6 +51526,11 @@ let RecommendationResolver = class RecommendationResolver extends ResolverBase {
|
|
|
48983
51526
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
48984
51527
|
return this.UpdateRecord('Recommendations', input, connPool, userPayload, pubSub);
|
|
48985
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
|
+
}
|
|
48986
51534
|
};
|
|
48987
51535
|
__decorate([
|
|
48988
51536
|
Query(() => RunRecommendationViewResult),
|
|
@@ -49047,6 +51595,16 @@ __decorate([
|
|
|
49047
51595
|
__metadata("design:paramtypes", [UpdateRecommendationInput, Object, PubSubEngine]),
|
|
49048
51596
|
__metadata("design:returntype", Promise)
|
|
49049
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);
|
|
49050
51608
|
RecommendationResolver = __decorate([
|
|
49051
51609
|
Resolver(Recommendation_)
|
|
49052
51610
|
], RecommendationResolver);
|
|
@@ -49542,6 +52100,11 @@ let RecommendationRunResolver = class RecommendationRunResolver extends Resolver
|
|
|
49542
52100
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
49543
52101
|
return this.UpdateRecord('Recommendation Runs', input, connPool, userPayload, pubSub);
|
|
49544
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
|
+
}
|
|
49545
52108
|
};
|
|
49546
52109
|
__decorate([
|
|
49547
52110
|
Query(() => RunRecommendationRunViewResult),
|
|
@@ -49606,6 +52169,16 @@ __decorate([
|
|
|
49606
52169
|
__metadata("design:paramtypes", [UpdateRecommendationRunInput, Object, PubSubEngine]),
|
|
49607
52170
|
__metadata("design:returntype", Promise)
|
|
49608
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);
|
|
49609
52182
|
RecommendationRunResolver = __decorate([
|
|
49610
52183
|
Resolver(RecommendationRun_)
|
|
49611
52184
|
], RecommendationRunResolver);
|
|
@@ -49801,6 +52374,11 @@ let RecommendationItemResolver = class RecommendationItemResolver extends Resolv
|
|
|
49801
52374
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
49802
52375
|
return this.UpdateRecord('Recommendation Items', input, connPool, userPayload, pubSub);
|
|
49803
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
|
+
}
|
|
49804
52382
|
};
|
|
49805
52383
|
__decorate([
|
|
49806
52384
|
Query(() => RunRecommendationItemViewResult),
|
|
@@ -49856,6 +52434,16 @@ __decorate([
|
|
|
49856
52434
|
__metadata("design:paramtypes", [UpdateRecommendationItemInput, Object, PubSubEngine]),
|
|
49857
52435
|
__metadata("design:returntype", Promise)
|
|
49858
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);
|
|
49859
52447
|
RecommendationItemResolver = __decorate([
|
|
49860
52448
|
Resolver(RecommendationItem_)
|
|
49861
52449
|
], RecommendationItemResolver);
|
|
@@ -50585,6 +53173,11 @@ let RecordChangeReplayRunResolver = class RecordChangeReplayRunResolver extends
|
|
|
50585
53173
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
50586
53174
|
return this.UpdateRecord('Record Change Replay Runs', input, connPool, userPayload, pubSub);
|
|
50587
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
|
+
}
|
|
50588
53181
|
};
|
|
50589
53182
|
__decorate([
|
|
50590
53183
|
Query(() => RunRecordChangeReplayRunViewResult),
|
|
@@ -50649,6 +53242,16 @@ __decorate([
|
|
|
50649
53242
|
__metadata("design:paramtypes", [UpdateRecordChangeReplayRunInput, Object, PubSubEngine]),
|
|
50650
53243
|
__metadata("design:returntype", Promise)
|
|
50651
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);
|
|
50652
53255
|
RecordChangeReplayRunResolver = __decorate([
|
|
50653
53256
|
Resolver(RecordChangeReplayRun_)
|
|
50654
53257
|
], RecordChangeReplayRunResolver);
|
|
@@ -51085,6 +53688,11 @@ let EntityRelationshipDisplayComponentResolver = class EntityRelationshipDisplay
|
|
|
51085
53688
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
51086
53689
|
return this.UpdateRecord('Entity Relationship Display Components', input, connPool, userPayload, pubSub);
|
|
51087
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
|
+
}
|
|
51088
53696
|
};
|
|
51089
53697
|
__decorate([
|
|
51090
53698
|
Query(() => RunEntityRelationshipDisplayComponentViewResult),
|
|
@@ -51149,6 +53757,16 @@ __decorate([
|
|
|
51149
53757
|
__metadata("design:paramtypes", [UpdateEntityRelationshipDisplayComponentInput, Object, PubSubEngine]),
|
|
51150
53758
|
__metadata("design:returntype", Promise)
|
|
51151
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);
|
|
51152
53770
|
EntityRelationshipDisplayComponentResolver = __decorate([
|
|
51153
53771
|
Resolver(EntityRelationshipDisplayComponent_)
|
|
51154
53772
|
], EntityRelationshipDisplayComponentResolver);
|
|
@@ -59311,6 +61929,20 @@ let AIPromptRun_ = class AIPromptRun_ {
|
|
|
59311
61929
|
LogProbs;
|
|
59312
61930
|
TopLogProbs;
|
|
59313
61931
|
DescendantCost;
|
|
61932
|
+
ValidationAttemptCount;
|
|
61933
|
+
SuccessfulValidationCount;
|
|
61934
|
+
FinalValidationPassed;
|
|
61935
|
+
ValidationBehavior;
|
|
61936
|
+
RetryStrategy;
|
|
61937
|
+
MaxRetriesConfigured;
|
|
61938
|
+
FinalValidationError;
|
|
61939
|
+
ValidationErrorCount;
|
|
61940
|
+
CommonValidationError;
|
|
61941
|
+
FirstAttemptAt;
|
|
61942
|
+
LastAttemptAt;
|
|
61943
|
+
TotalRetryDurationMS;
|
|
61944
|
+
ValidationAttempts;
|
|
61945
|
+
ValidationSummary;
|
|
59314
61946
|
Prompt;
|
|
59315
61947
|
Model;
|
|
59316
61948
|
Vendor;
|
|
@@ -59494,6 +62126,68 @@ __decorate([
|
|
|
59494
62126
|
Field(() => Float, { nullable: true, description: `The total cost of all descendant (child and grandchild) prompt runs, excluding this run's own cost. For leaf nodes (no children), this is 0. Updated when child costs change.` }),
|
|
59495
62127
|
__metadata("design:type", Number)
|
|
59496
62128
|
], AIPromptRun_.prototype, "DescendantCost", void 0);
|
|
62129
|
+
__decorate([
|
|
62130
|
+
Field(() => Int, { nullable: true, description: `Total number of validation attempts made (including the initial attempt)` }),
|
|
62131
|
+
__metadata("design:type", Number)
|
|
62132
|
+
], AIPromptRun_.prototype, "ValidationAttemptCount", void 0);
|
|
62133
|
+
__decorate([
|
|
62134
|
+
Field(() => Int, { nullable: true, description: `Number of validation attempts that passed validation` }),
|
|
62135
|
+
__metadata("design:type", Number)
|
|
62136
|
+
], AIPromptRun_.prototype, "SuccessfulValidationCount", void 0);
|
|
62137
|
+
__decorate([
|
|
62138
|
+
Field(() => Boolean, { nullable: true, description: `Whether validation ultimately passed (1) or failed (0)` }),
|
|
62139
|
+
__metadata("design:type", Boolean)
|
|
62140
|
+
], AIPromptRun_.prototype, "FinalValidationPassed", void 0);
|
|
62141
|
+
__decorate([
|
|
62142
|
+
Field({ nullable: true, description: `Validation behavior used: Strict, Warn, or None` }),
|
|
62143
|
+
MaxLength(100),
|
|
62144
|
+
__metadata("design:type", String)
|
|
62145
|
+
], AIPromptRun_.prototype, "ValidationBehavior", void 0);
|
|
62146
|
+
__decorate([
|
|
62147
|
+
Field({ nullable: true, description: `Retry strategy used: Fixed, Linear, or Exponential` }),
|
|
62148
|
+
MaxLength(100),
|
|
62149
|
+
__metadata("design:type", String)
|
|
62150
|
+
], AIPromptRun_.prototype, "RetryStrategy", void 0);
|
|
62151
|
+
__decorate([
|
|
62152
|
+
Field(() => Int, { nullable: true, description: `Maximum number of retries configured on the prompt` }),
|
|
62153
|
+
__metadata("design:type", Number)
|
|
62154
|
+
], AIPromptRun_.prototype, "MaxRetriesConfigured", void 0);
|
|
62155
|
+
__decorate([
|
|
62156
|
+
Field({ nullable: true, description: `The final validation error message if validation failed` }),
|
|
62157
|
+
MaxLength(1000),
|
|
62158
|
+
__metadata("design:type", String)
|
|
62159
|
+
], AIPromptRun_.prototype, "FinalValidationError", void 0);
|
|
62160
|
+
__decorate([
|
|
62161
|
+
Field(() => Int, { nullable: true, description: `Number of validation errors on the final attempt` }),
|
|
62162
|
+
__metadata("design:type", Number)
|
|
62163
|
+
], AIPromptRun_.prototype, "ValidationErrorCount", void 0);
|
|
62164
|
+
__decorate([
|
|
62165
|
+
Field({ nullable: true, description: `Most frequent validation error across all attempts` }),
|
|
62166
|
+
MaxLength(510),
|
|
62167
|
+
__metadata("design:type", String)
|
|
62168
|
+
], AIPromptRun_.prototype, "CommonValidationError", void 0);
|
|
62169
|
+
__decorate([
|
|
62170
|
+
Field({ nullable: true, description: `Timestamp of the first validation attempt` }),
|
|
62171
|
+
MaxLength(8),
|
|
62172
|
+
__metadata("design:type", Date)
|
|
62173
|
+
], AIPromptRun_.prototype, "FirstAttemptAt", void 0);
|
|
62174
|
+
__decorate([
|
|
62175
|
+
Field({ nullable: true, description: `Timestamp of the last validation attempt` }),
|
|
62176
|
+
MaxLength(8),
|
|
62177
|
+
__metadata("design:type", Date)
|
|
62178
|
+
], AIPromptRun_.prototype, "LastAttemptAt", void 0);
|
|
62179
|
+
__decorate([
|
|
62180
|
+
Field(() => Int, { nullable: true, description: `Total time spent on retries in milliseconds (excluding first attempt)` }),
|
|
62181
|
+
__metadata("design:type", Number)
|
|
62182
|
+
], AIPromptRun_.prototype, "TotalRetryDurationMS", void 0);
|
|
62183
|
+
__decorate([
|
|
62184
|
+
Field({ nullable: true, description: `JSON array containing detailed information about each validation attempt` }),
|
|
62185
|
+
__metadata("design:type", String)
|
|
62186
|
+
], AIPromptRun_.prototype, "ValidationAttempts", void 0);
|
|
62187
|
+
__decorate([
|
|
62188
|
+
Field({ nullable: true, description: `JSON object containing summary information about the validation process` }),
|
|
62189
|
+
__metadata("design:type", String)
|
|
62190
|
+
], AIPromptRun_.prototype, "ValidationSummary", void 0);
|
|
59497
62191
|
__decorate([
|
|
59498
62192
|
Field(),
|
|
59499
62193
|
MaxLength(510),
|
|
@@ -59570,6 +62264,20 @@ let CreateAIPromptRunInput = class CreateAIPromptRunInput {
|
|
|
59570
62264
|
LogProbs;
|
|
59571
62265
|
TopLogProbs;
|
|
59572
62266
|
DescendantCost;
|
|
62267
|
+
ValidationAttemptCount;
|
|
62268
|
+
SuccessfulValidationCount;
|
|
62269
|
+
FinalValidationPassed;
|
|
62270
|
+
ValidationBehavior;
|
|
62271
|
+
RetryStrategy;
|
|
62272
|
+
MaxRetriesConfigured;
|
|
62273
|
+
FinalValidationError;
|
|
62274
|
+
ValidationErrorCount;
|
|
62275
|
+
CommonValidationError;
|
|
62276
|
+
FirstAttemptAt;
|
|
62277
|
+
LastAttemptAt;
|
|
62278
|
+
TotalRetryDurationMS;
|
|
62279
|
+
ValidationAttempts;
|
|
62280
|
+
ValidationSummary;
|
|
59573
62281
|
};
|
|
59574
62282
|
__decorate([
|
|
59575
62283
|
Field({ nullable: true }),
|
|
@@ -59723,6 +62431,62 @@ __decorate([
|
|
|
59723
62431
|
Field(() => Float, { nullable: true }),
|
|
59724
62432
|
__metadata("design:type", Number)
|
|
59725
62433
|
], CreateAIPromptRunInput.prototype, "DescendantCost", void 0);
|
|
62434
|
+
__decorate([
|
|
62435
|
+
Field(() => Int, { nullable: true }),
|
|
62436
|
+
__metadata("design:type", Number)
|
|
62437
|
+
], CreateAIPromptRunInput.prototype, "ValidationAttemptCount", void 0);
|
|
62438
|
+
__decorate([
|
|
62439
|
+
Field(() => Int, { nullable: true }),
|
|
62440
|
+
__metadata("design:type", Number)
|
|
62441
|
+
], CreateAIPromptRunInput.prototype, "SuccessfulValidationCount", void 0);
|
|
62442
|
+
__decorate([
|
|
62443
|
+
Field(() => Boolean, { nullable: true }),
|
|
62444
|
+
__metadata("design:type", Boolean)
|
|
62445
|
+
], CreateAIPromptRunInput.prototype, "FinalValidationPassed", void 0);
|
|
62446
|
+
__decorate([
|
|
62447
|
+
Field({ nullable: true }),
|
|
62448
|
+
__metadata("design:type", String)
|
|
62449
|
+
], CreateAIPromptRunInput.prototype, "ValidationBehavior", void 0);
|
|
62450
|
+
__decorate([
|
|
62451
|
+
Field({ nullable: true }),
|
|
62452
|
+
__metadata("design:type", String)
|
|
62453
|
+
], CreateAIPromptRunInput.prototype, "RetryStrategy", void 0);
|
|
62454
|
+
__decorate([
|
|
62455
|
+
Field(() => Int, { nullable: true }),
|
|
62456
|
+
__metadata("design:type", Number)
|
|
62457
|
+
], CreateAIPromptRunInput.prototype, "MaxRetriesConfigured", void 0);
|
|
62458
|
+
__decorate([
|
|
62459
|
+
Field({ nullable: true }),
|
|
62460
|
+
__metadata("design:type", String)
|
|
62461
|
+
], CreateAIPromptRunInput.prototype, "FinalValidationError", void 0);
|
|
62462
|
+
__decorate([
|
|
62463
|
+
Field(() => Int, { nullable: true }),
|
|
62464
|
+
__metadata("design:type", Number)
|
|
62465
|
+
], CreateAIPromptRunInput.prototype, "ValidationErrorCount", void 0);
|
|
62466
|
+
__decorate([
|
|
62467
|
+
Field({ nullable: true }),
|
|
62468
|
+
__metadata("design:type", String)
|
|
62469
|
+
], CreateAIPromptRunInput.prototype, "CommonValidationError", void 0);
|
|
62470
|
+
__decorate([
|
|
62471
|
+
Field({ nullable: true }),
|
|
62472
|
+
__metadata("design:type", Date)
|
|
62473
|
+
], CreateAIPromptRunInput.prototype, "FirstAttemptAt", void 0);
|
|
62474
|
+
__decorate([
|
|
62475
|
+
Field({ nullable: true }),
|
|
62476
|
+
__metadata("design:type", Date)
|
|
62477
|
+
], CreateAIPromptRunInput.prototype, "LastAttemptAt", void 0);
|
|
62478
|
+
__decorate([
|
|
62479
|
+
Field(() => Int, { nullable: true }),
|
|
62480
|
+
__metadata("design:type", Number)
|
|
62481
|
+
], CreateAIPromptRunInput.prototype, "TotalRetryDurationMS", void 0);
|
|
62482
|
+
__decorate([
|
|
62483
|
+
Field({ nullable: true }),
|
|
62484
|
+
__metadata("design:type", String)
|
|
62485
|
+
], CreateAIPromptRunInput.prototype, "ValidationAttempts", void 0);
|
|
62486
|
+
__decorate([
|
|
62487
|
+
Field({ nullable: true }),
|
|
62488
|
+
__metadata("design:type", String)
|
|
62489
|
+
], CreateAIPromptRunInput.prototype, "ValidationSummary", void 0);
|
|
59726
62490
|
CreateAIPromptRunInput = __decorate([
|
|
59727
62491
|
InputType()
|
|
59728
62492
|
], CreateAIPromptRunInput);
|
|
@@ -59766,6 +62530,20 @@ let UpdateAIPromptRunInput = class UpdateAIPromptRunInput {
|
|
|
59766
62530
|
LogProbs;
|
|
59767
62531
|
TopLogProbs;
|
|
59768
62532
|
DescendantCost;
|
|
62533
|
+
ValidationAttemptCount;
|
|
62534
|
+
SuccessfulValidationCount;
|
|
62535
|
+
FinalValidationPassed;
|
|
62536
|
+
ValidationBehavior;
|
|
62537
|
+
RetryStrategy;
|
|
62538
|
+
MaxRetriesConfigured;
|
|
62539
|
+
FinalValidationError;
|
|
62540
|
+
ValidationErrorCount;
|
|
62541
|
+
CommonValidationError;
|
|
62542
|
+
FirstAttemptAt;
|
|
62543
|
+
LastAttemptAt;
|
|
62544
|
+
TotalRetryDurationMS;
|
|
62545
|
+
ValidationAttempts;
|
|
62546
|
+
ValidationSummary;
|
|
59769
62547
|
OldValues___;
|
|
59770
62548
|
};
|
|
59771
62549
|
__decorate([
|
|
@@ -59920,6 +62698,62 @@ __decorate([
|
|
|
59920
62698
|
Field(() => Float, { nullable: true }),
|
|
59921
62699
|
__metadata("design:type", Number)
|
|
59922
62700
|
], UpdateAIPromptRunInput.prototype, "DescendantCost", void 0);
|
|
62701
|
+
__decorate([
|
|
62702
|
+
Field(() => Int, { nullable: true }),
|
|
62703
|
+
__metadata("design:type", Number)
|
|
62704
|
+
], UpdateAIPromptRunInput.prototype, "ValidationAttemptCount", void 0);
|
|
62705
|
+
__decorate([
|
|
62706
|
+
Field(() => Int, { nullable: true }),
|
|
62707
|
+
__metadata("design:type", Number)
|
|
62708
|
+
], UpdateAIPromptRunInput.prototype, "SuccessfulValidationCount", void 0);
|
|
62709
|
+
__decorate([
|
|
62710
|
+
Field(() => Boolean, { nullable: true }),
|
|
62711
|
+
__metadata("design:type", Boolean)
|
|
62712
|
+
], UpdateAIPromptRunInput.prototype, "FinalValidationPassed", void 0);
|
|
62713
|
+
__decorate([
|
|
62714
|
+
Field({ nullable: true }),
|
|
62715
|
+
__metadata("design:type", String)
|
|
62716
|
+
], UpdateAIPromptRunInput.prototype, "ValidationBehavior", void 0);
|
|
62717
|
+
__decorate([
|
|
62718
|
+
Field({ nullable: true }),
|
|
62719
|
+
__metadata("design:type", String)
|
|
62720
|
+
], UpdateAIPromptRunInput.prototype, "RetryStrategy", void 0);
|
|
62721
|
+
__decorate([
|
|
62722
|
+
Field(() => Int, { nullable: true }),
|
|
62723
|
+
__metadata("design:type", Number)
|
|
62724
|
+
], UpdateAIPromptRunInput.prototype, "MaxRetriesConfigured", void 0);
|
|
62725
|
+
__decorate([
|
|
62726
|
+
Field({ nullable: true }),
|
|
62727
|
+
__metadata("design:type", String)
|
|
62728
|
+
], UpdateAIPromptRunInput.prototype, "FinalValidationError", void 0);
|
|
62729
|
+
__decorate([
|
|
62730
|
+
Field(() => Int, { nullable: true }),
|
|
62731
|
+
__metadata("design:type", Number)
|
|
62732
|
+
], UpdateAIPromptRunInput.prototype, "ValidationErrorCount", void 0);
|
|
62733
|
+
__decorate([
|
|
62734
|
+
Field({ nullable: true }),
|
|
62735
|
+
__metadata("design:type", String)
|
|
62736
|
+
], UpdateAIPromptRunInput.prototype, "CommonValidationError", void 0);
|
|
62737
|
+
__decorate([
|
|
62738
|
+
Field({ nullable: true }),
|
|
62739
|
+
__metadata("design:type", Date)
|
|
62740
|
+
], UpdateAIPromptRunInput.prototype, "FirstAttemptAt", void 0);
|
|
62741
|
+
__decorate([
|
|
62742
|
+
Field({ nullable: true }),
|
|
62743
|
+
__metadata("design:type", Date)
|
|
62744
|
+
], UpdateAIPromptRunInput.prototype, "LastAttemptAt", void 0);
|
|
62745
|
+
__decorate([
|
|
62746
|
+
Field(() => Int, { nullable: true }),
|
|
62747
|
+
__metadata("design:type", Number)
|
|
62748
|
+
], UpdateAIPromptRunInput.prototype, "TotalRetryDurationMS", void 0);
|
|
62749
|
+
__decorate([
|
|
62750
|
+
Field({ nullable: true }),
|
|
62751
|
+
__metadata("design:type", String)
|
|
62752
|
+
], UpdateAIPromptRunInput.prototype, "ValidationAttempts", void 0);
|
|
62753
|
+
__decorate([
|
|
62754
|
+
Field({ nullable: true }),
|
|
62755
|
+
__metadata("design:type", String)
|
|
62756
|
+
], UpdateAIPromptRunInput.prototype, "ValidationSummary", void 0);
|
|
59923
62757
|
__decorate([
|
|
59924
62758
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
59925
62759
|
__metadata("design:type", Array)
|