@mj-biz-apps/sales-server 6.32.0 → 6.34.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/custom/lapsed-close-date-digest.agent.d.ts +56 -0
- package/dist/custom/lapsed-close-date-digest.agent.d.ts.map +1 -0
- package/dist/custom/lapsed-close-date-digest.agent.js +158 -0
- package/dist/custom/lapsed-close-date-digest.agent.js.map +1 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsSales.d.ts +120 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsSales.d.ts.map +1 -1
- package/dist/generated/graphql-schemas/__mj_BizAppsSales.js +636 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsSales.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/package.json +14 -10
|
@@ -912,6 +912,642 @@ mjBizAppsSalesDealContactRoleResolver = __decorate([
|
|
|
912
912
|
], mjBizAppsSalesDealContactRoleResolver);
|
|
913
913
|
export { mjBizAppsSalesDealContactRoleResolver };
|
|
914
914
|
//****************************************************************************
|
|
915
|
+
// ENTITY CLASS for MJ_BizApps_Sales: Deal Digest Audience Types
|
|
916
|
+
//****************************************************************************
|
|
917
|
+
let mjBizAppsSalesDealDigestAudienceType_ = class mjBizAppsSalesDealDigestAudienceType_ {
|
|
918
|
+
};
|
|
919
|
+
__decorate([
|
|
920
|
+
Field(),
|
|
921
|
+
MaxLength(36),
|
|
922
|
+
__metadata("design:type", String)
|
|
923
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "ID", void 0);
|
|
924
|
+
__decorate([
|
|
925
|
+
Field({ nullable: true, description: "Stable identifier the seeds and the digest builder key on. Renaming Name is cosmetic; renaming Code changes an identifier." }),
|
|
926
|
+
MaxLength(50),
|
|
927
|
+
__metadata("design:type", String)
|
|
928
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "Code", void 0);
|
|
929
|
+
__decorate([
|
|
930
|
+
Field({ nullable: true, description: "Display name of the audience, as shown to the people who administer recipients." }),
|
|
931
|
+
MaxLength(100),
|
|
932
|
+
__metadata("design:type", String)
|
|
933
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "Name", void 0);
|
|
934
|
+
__decorate([
|
|
935
|
+
Field({ nullable: true, description: "What this audience is for and who belongs in it." }),
|
|
936
|
+
__metadata("design:type", String)
|
|
937
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "Description", void 0);
|
|
938
|
+
__decorate([
|
|
939
|
+
Field(() => Boolean, { nullable: true, description: "When 1, recipients of this audience receive one digest covering every company, and their recipient rows carry no Company. When 0, each recipient row names the company the digest covers. Enforced in the recipient's Save(), not by a CHECK, because it ties a column on this table to one on another." }),
|
|
940
|
+
__metadata("design:type", Boolean)
|
|
941
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "IsPortfolioWide", void 0);
|
|
942
|
+
__decorate([
|
|
943
|
+
Field(() => Int, { nullable: true, description: "A deal appears only once its expected close date is more than this many days past. Empty means no minimum: any deal whose date has passed appears. Never negative." }),
|
|
944
|
+
__metadata("design:type", Number)
|
|
945
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "MinDaysLapsed", void 0);
|
|
946
|
+
__decorate([
|
|
947
|
+
Field(() => Boolean, { nullable: true, description: "When 1, open deals that never had an expected close date are listed too, after the lapsed ones. When 0 only deals whose date has passed appear." }),
|
|
948
|
+
__metadata("design:type", Boolean)
|
|
949
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "IncludeMissingCloseDate", void 0);
|
|
950
|
+
__decorate([
|
|
951
|
+
Field(() => Boolean, { nullable: true, description: "When 1, a recipient with nothing lapsed still gets the email, carrying the Empty Message, so silence cannot be mistaken for a missed send. When 0 the email is skipped." }),
|
|
952
|
+
__metadata("design:type", Boolean)
|
|
953
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "SendWhenEmpty", void 0);
|
|
954
|
+
__decorate([
|
|
955
|
+
Field(() => Boolean, { nullable: true, description: "When 1, the digest lists deals under a heading per company. When 0 it is one flat list." }),
|
|
956
|
+
__metadata("design:type", Boolean)
|
|
957
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "GroupByCompany", void 0);
|
|
958
|
+
__decorate([
|
|
959
|
+
Field({ nullable: true, description: "Subject line of the email. Empty means the digest builder's built-in subject." }),
|
|
960
|
+
MaxLength(255),
|
|
961
|
+
__metadata("design:type", String)
|
|
962
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "SubjectTemplate", void 0);
|
|
963
|
+
__decorate([
|
|
964
|
+
Field({ nullable: true, description: "Opening text of the email, above the deal list. Empty means the digest builder's built-in introduction." }),
|
|
965
|
+
__metadata("design:type", String)
|
|
966
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "IntroTemplate", void 0);
|
|
967
|
+
__decorate([
|
|
968
|
+
Field({ nullable: true, description: "Text sent in place of the deal list when nothing is lapsed and Send When Empty is on." }),
|
|
969
|
+
MaxLength(500),
|
|
970
|
+
__metadata("design:type", String)
|
|
971
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "EmptyMessage", void 0);
|
|
972
|
+
__decorate([
|
|
973
|
+
Field(() => Int, { nullable: true, description: "Order in which audiences are listed and processed; lowest first." }),
|
|
974
|
+
__metadata("design:type", Number)
|
|
975
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "DisplayRank", void 0);
|
|
976
|
+
__decorate([
|
|
977
|
+
Field(() => Boolean, { nullable: true, description: "Whether this audience is sent at all. Clearing it pauses the audience without deleting its recipients." }),
|
|
978
|
+
__metadata("design:type", Boolean)
|
|
979
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "IsActive", void 0);
|
|
980
|
+
__decorate([
|
|
981
|
+
Field(),
|
|
982
|
+
__metadata("design:type", Date)
|
|
983
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "_mj__CreatedAt", void 0);
|
|
984
|
+
__decorate([
|
|
985
|
+
Field(),
|
|
986
|
+
__metadata("design:type", Date)
|
|
987
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "_mj__UpdatedAt", void 0);
|
|
988
|
+
__decorate([
|
|
989
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
990
|
+
__metadata("design:type", Array)
|
|
991
|
+
], mjBizAppsSalesDealDigestAudienceType_.prototype, "ReadableFields___", void 0);
|
|
992
|
+
mjBizAppsSalesDealDigestAudienceType_ = __decorate([
|
|
993
|
+
ObjectType({ description: "One kind of audience for the Lapsed Close Date Digest (Company Leader, CEO, CFO, CTO). Behaviour comes from the flags on this row, never from the Code or Name: the digest builder reads IsPortfolioWide, MinDaysLapsed, IncludeMissingCloseDate, SendWhenEmpty and GroupByCompany, so adding an audience is a data change with no code impact." })
|
|
994
|
+
], mjBizAppsSalesDealDigestAudienceType_);
|
|
995
|
+
export { mjBizAppsSalesDealDigestAudienceType_ };
|
|
996
|
+
//****************************************************************************
|
|
997
|
+
// INPUT TYPE for MJ_BizApps_Sales: Deal Digest Audience Types
|
|
998
|
+
//****************************************************************************
|
|
999
|
+
let CreatemjBizAppsSalesDealDigestAudienceTypeInput = class CreatemjBizAppsSalesDealDigestAudienceTypeInput {
|
|
1000
|
+
};
|
|
1001
|
+
__decorate([
|
|
1002
|
+
Field({ nullable: true }),
|
|
1003
|
+
__metadata("design:type", String)
|
|
1004
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "ID", void 0);
|
|
1005
|
+
__decorate([
|
|
1006
|
+
Field({ nullable: true }),
|
|
1007
|
+
__metadata("design:type", String)
|
|
1008
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Code", void 0);
|
|
1009
|
+
__decorate([
|
|
1010
|
+
Field({ nullable: true }),
|
|
1011
|
+
__metadata("design:type", String)
|
|
1012
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Name", void 0);
|
|
1013
|
+
__decorate([
|
|
1014
|
+
Field({ nullable: true }),
|
|
1015
|
+
__metadata("design:type", String)
|
|
1016
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Description", void 0);
|
|
1017
|
+
__decorate([
|
|
1018
|
+
Field(() => Boolean, { nullable: true }),
|
|
1019
|
+
__metadata("design:type", Boolean)
|
|
1020
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IsPortfolioWide", void 0);
|
|
1021
|
+
__decorate([
|
|
1022
|
+
Field(() => Int, { nullable: true }),
|
|
1023
|
+
__metadata("design:type", Number)
|
|
1024
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "MinDaysLapsed", void 0);
|
|
1025
|
+
__decorate([
|
|
1026
|
+
Field(() => Boolean, { nullable: true }),
|
|
1027
|
+
__metadata("design:type", Boolean)
|
|
1028
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IncludeMissingCloseDate", void 0);
|
|
1029
|
+
__decorate([
|
|
1030
|
+
Field(() => Boolean, { nullable: true }),
|
|
1031
|
+
__metadata("design:type", Boolean)
|
|
1032
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "SendWhenEmpty", void 0);
|
|
1033
|
+
__decorate([
|
|
1034
|
+
Field(() => Boolean, { nullable: true }),
|
|
1035
|
+
__metadata("design:type", Boolean)
|
|
1036
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "GroupByCompany", void 0);
|
|
1037
|
+
__decorate([
|
|
1038
|
+
Field({ nullable: true }),
|
|
1039
|
+
__metadata("design:type", String)
|
|
1040
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "SubjectTemplate", void 0);
|
|
1041
|
+
__decorate([
|
|
1042
|
+
Field({ nullable: true }),
|
|
1043
|
+
__metadata("design:type", String)
|
|
1044
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IntroTemplate", void 0);
|
|
1045
|
+
__decorate([
|
|
1046
|
+
Field({ nullable: true }),
|
|
1047
|
+
__metadata("design:type", String)
|
|
1048
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "EmptyMessage", void 0);
|
|
1049
|
+
__decorate([
|
|
1050
|
+
Field(() => Int, { nullable: true }),
|
|
1051
|
+
__metadata("design:type", Number)
|
|
1052
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "DisplayRank", void 0);
|
|
1053
|
+
__decorate([
|
|
1054
|
+
Field(() => Boolean, { nullable: true }),
|
|
1055
|
+
__metadata("design:type", Boolean)
|
|
1056
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IsActive", void 0);
|
|
1057
|
+
__decorate([
|
|
1058
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
1059
|
+
__metadata("design:type", RestoreContextInput)
|
|
1060
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "RestoreContext___", void 0);
|
|
1061
|
+
CreatemjBizAppsSalesDealDigestAudienceTypeInput = __decorate([
|
|
1062
|
+
InputType()
|
|
1063
|
+
], CreatemjBizAppsSalesDealDigestAudienceTypeInput);
|
|
1064
|
+
export { CreatemjBizAppsSalesDealDigestAudienceTypeInput };
|
|
1065
|
+
//****************************************************************************
|
|
1066
|
+
// INPUT TYPE for MJ_BizApps_Sales: Deal Digest Audience Types
|
|
1067
|
+
//****************************************************************************
|
|
1068
|
+
let UpdatemjBizAppsSalesDealDigestAudienceTypeInput = class UpdatemjBizAppsSalesDealDigestAudienceTypeInput {
|
|
1069
|
+
};
|
|
1070
|
+
__decorate([
|
|
1071
|
+
Field(),
|
|
1072
|
+
__metadata("design:type", String)
|
|
1073
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "ID", void 0);
|
|
1074
|
+
__decorate([
|
|
1075
|
+
Field({ nullable: true }),
|
|
1076
|
+
__metadata("design:type", String)
|
|
1077
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Code", void 0);
|
|
1078
|
+
__decorate([
|
|
1079
|
+
Field({ nullable: true }),
|
|
1080
|
+
__metadata("design:type", String)
|
|
1081
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Name", void 0);
|
|
1082
|
+
__decorate([
|
|
1083
|
+
Field({ nullable: true }),
|
|
1084
|
+
__metadata("design:type", String)
|
|
1085
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "Description", void 0);
|
|
1086
|
+
__decorate([
|
|
1087
|
+
Field(() => Boolean, { nullable: true }),
|
|
1088
|
+
__metadata("design:type", Boolean)
|
|
1089
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IsPortfolioWide", void 0);
|
|
1090
|
+
__decorate([
|
|
1091
|
+
Field(() => Int, { nullable: true }),
|
|
1092
|
+
__metadata("design:type", Number)
|
|
1093
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "MinDaysLapsed", void 0);
|
|
1094
|
+
__decorate([
|
|
1095
|
+
Field(() => Boolean, { nullable: true }),
|
|
1096
|
+
__metadata("design:type", Boolean)
|
|
1097
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IncludeMissingCloseDate", void 0);
|
|
1098
|
+
__decorate([
|
|
1099
|
+
Field(() => Boolean, { nullable: true }),
|
|
1100
|
+
__metadata("design:type", Boolean)
|
|
1101
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "SendWhenEmpty", void 0);
|
|
1102
|
+
__decorate([
|
|
1103
|
+
Field(() => Boolean, { nullable: true }),
|
|
1104
|
+
__metadata("design:type", Boolean)
|
|
1105
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "GroupByCompany", void 0);
|
|
1106
|
+
__decorate([
|
|
1107
|
+
Field({ nullable: true }),
|
|
1108
|
+
__metadata("design:type", String)
|
|
1109
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "SubjectTemplate", void 0);
|
|
1110
|
+
__decorate([
|
|
1111
|
+
Field({ nullable: true }),
|
|
1112
|
+
__metadata("design:type", String)
|
|
1113
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IntroTemplate", void 0);
|
|
1114
|
+
__decorate([
|
|
1115
|
+
Field({ nullable: true }),
|
|
1116
|
+
__metadata("design:type", String)
|
|
1117
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "EmptyMessage", void 0);
|
|
1118
|
+
__decorate([
|
|
1119
|
+
Field(() => Int, { nullable: true }),
|
|
1120
|
+
__metadata("design:type", Number)
|
|
1121
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "DisplayRank", void 0);
|
|
1122
|
+
__decorate([
|
|
1123
|
+
Field(() => Boolean, { nullable: true }),
|
|
1124
|
+
__metadata("design:type", Boolean)
|
|
1125
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "IsActive", void 0);
|
|
1126
|
+
__decorate([
|
|
1127
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
1128
|
+
__metadata("design:type", Array)
|
|
1129
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "OldValues___", void 0);
|
|
1130
|
+
__decorate([
|
|
1131
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
1132
|
+
__metadata("design:type", RestoreContextInput)
|
|
1133
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput.prototype, "RestoreContext___", void 0);
|
|
1134
|
+
UpdatemjBizAppsSalesDealDigestAudienceTypeInput = __decorate([
|
|
1135
|
+
InputType()
|
|
1136
|
+
], UpdatemjBizAppsSalesDealDigestAudienceTypeInput);
|
|
1137
|
+
export { UpdatemjBizAppsSalesDealDigestAudienceTypeInput };
|
|
1138
|
+
//****************************************************************************
|
|
1139
|
+
// RESOLVER for MJ_BizApps_Sales: Deal Digest Audience Types
|
|
1140
|
+
//****************************************************************************
|
|
1141
|
+
let RunmjBizAppsSalesDealDigestAudienceTypeViewResult = class RunmjBizAppsSalesDealDigestAudienceTypeViewResult {
|
|
1142
|
+
};
|
|
1143
|
+
__decorate([
|
|
1144
|
+
Field(() => [mjBizAppsSalesDealDigestAudienceType_]),
|
|
1145
|
+
__metadata("design:type", Array)
|
|
1146
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "Results", void 0);
|
|
1147
|
+
__decorate([
|
|
1148
|
+
Field(() => String, { nullable: true }),
|
|
1149
|
+
__metadata("design:type", String)
|
|
1150
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "UserViewRunID", void 0);
|
|
1151
|
+
__decorate([
|
|
1152
|
+
Field(() => Int, { nullable: true }),
|
|
1153
|
+
__metadata("design:type", Number)
|
|
1154
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "RowCount", void 0);
|
|
1155
|
+
__decorate([
|
|
1156
|
+
Field(() => Int, { nullable: true }),
|
|
1157
|
+
__metadata("design:type", Number)
|
|
1158
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "TotalRowCount", void 0);
|
|
1159
|
+
__decorate([
|
|
1160
|
+
Field(() => Int, { nullable: true }),
|
|
1161
|
+
__metadata("design:type", Number)
|
|
1162
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "ExecutionTime", void 0);
|
|
1163
|
+
__decorate([
|
|
1164
|
+
Field({ nullable: true }),
|
|
1165
|
+
__metadata("design:type", String)
|
|
1166
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "ErrorMessage", void 0);
|
|
1167
|
+
__decorate([
|
|
1168
|
+
Field(() => Boolean, { nullable: false }),
|
|
1169
|
+
__metadata("design:type", Boolean)
|
|
1170
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult.prototype, "Success", void 0);
|
|
1171
|
+
RunmjBizAppsSalesDealDigestAudienceTypeViewResult = __decorate([
|
|
1172
|
+
ObjectType()
|
|
1173
|
+
], RunmjBizAppsSalesDealDigestAudienceTypeViewResult);
|
|
1174
|
+
export { RunmjBizAppsSalesDealDigestAudienceTypeViewResult };
|
|
1175
|
+
let mjBizAppsSalesDealDigestAudienceTypeResolver = class mjBizAppsSalesDealDigestAudienceTypeResolver extends ResolverBase {
|
|
1176
|
+
async RunmjBizAppsSalesDealDigestAudienceTypeViewByID(input, { providers, userPayload }, pubSub) {
|
|
1177
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1178
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
1179
|
+
}
|
|
1180
|
+
async RunmjBizAppsSalesDealDigestAudienceTypeViewByName(input, { providers, userPayload }, pubSub) {
|
|
1181
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1182
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
1183
|
+
}
|
|
1184
|
+
async RunmjBizAppsSalesDealDigestAudienceTypeDynamicView(input, { providers, userPayload }, pubSub) {
|
|
1185
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1186
|
+
input.EntityName = 'MJ_BizApps_Sales: Deal Digest Audience Types';
|
|
1187
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
1188
|
+
}
|
|
1189
|
+
async mjBizAppsSalesDealDigestAudienceType(ID, { userPayload, providers }, pubSub) {
|
|
1190
|
+
this.CheckUserReadPermissions('MJ_BizApps_Sales: Deal Digest Audience Types', userPayload);
|
|
1191
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1192
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView('__mj_BizAppsSales', 'vwDealDigestAudienceTypes')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ_BizApps_Sales: Deal Digest Audience Types', userPayload, EntityPermissionType.Read, 'AND');
|
|
1193
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
1194
|
+
const result = await this.MapFieldNamesToCodeNames('MJ_BizApps_Sales: Deal Digest Audience Types', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
1195
|
+
return result;
|
|
1196
|
+
}
|
|
1197
|
+
async CreatemjBizAppsSalesDealDigestAudienceType(input, { providers, userPayload }, pubSub) {
|
|
1198
|
+
const provider = GetReadWriteProvider(providers);
|
|
1199
|
+
return this.CreateRecord('MJ_BizApps_Sales: Deal Digest Audience Types', input, provider, userPayload, pubSub);
|
|
1200
|
+
}
|
|
1201
|
+
async UpdatemjBizAppsSalesDealDigestAudienceType(input, { providers, userPayload }, pubSub) {
|
|
1202
|
+
const provider = GetReadWriteProvider(providers);
|
|
1203
|
+
return this.UpdateRecord('MJ_BizApps_Sales: Deal Digest Audience Types', input, provider, userPayload, pubSub);
|
|
1204
|
+
}
|
|
1205
|
+
async DeletemjBizAppsSalesDealDigestAudienceType(ID, options, { providers, userPayload }, pubSub) {
|
|
1206
|
+
const provider = GetReadWriteProvider(providers);
|
|
1207
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
1208
|
+
return this.DeleteRecord('MJ_BizApps_Sales: Deal Digest Audience Types', key, options, provider, userPayload, pubSub);
|
|
1209
|
+
}
|
|
1210
|
+
};
|
|
1211
|
+
__decorate([
|
|
1212
|
+
Query(() => RunmjBizAppsSalesDealDigestAudienceTypeViewResult),
|
|
1213
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
1214
|
+
__param(1, Ctx()),
|
|
1215
|
+
__param(2, PubSub()),
|
|
1216
|
+
__metadata("design:type", Function),
|
|
1217
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
1218
|
+
__metadata("design:returntype", Promise)
|
|
1219
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "RunmjBizAppsSalesDealDigestAudienceTypeViewByID", null);
|
|
1220
|
+
__decorate([
|
|
1221
|
+
Query(() => RunmjBizAppsSalesDealDigestAudienceTypeViewResult),
|
|
1222
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
1223
|
+
__param(1, Ctx()),
|
|
1224
|
+
__param(2, PubSub()),
|
|
1225
|
+
__metadata("design:type", Function),
|
|
1226
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
1227
|
+
__metadata("design:returntype", Promise)
|
|
1228
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "RunmjBizAppsSalesDealDigestAudienceTypeViewByName", null);
|
|
1229
|
+
__decorate([
|
|
1230
|
+
Query(() => RunmjBizAppsSalesDealDigestAudienceTypeViewResult),
|
|
1231
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
1232
|
+
__param(1, Ctx()),
|
|
1233
|
+
__param(2, PubSub()),
|
|
1234
|
+
__metadata("design:type", Function),
|
|
1235
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
1236
|
+
__metadata("design:returntype", Promise)
|
|
1237
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "RunmjBizAppsSalesDealDigestAudienceTypeDynamicView", null);
|
|
1238
|
+
__decorate([
|
|
1239
|
+
Query(() => mjBizAppsSalesDealDigestAudienceType_, { nullable: true }),
|
|
1240
|
+
__param(0, Arg('ID', () => String)),
|
|
1241
|
+
__param(1, Ctx()),
|
|
1242
|
+
__param(2, PubSub()),
|
|
1243
|
+
__metadata("design:type", Function),
|
|
1244
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
1245
|
+
__metadata("design:returntype", Promise)
|
|
1246
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "mjBizAppsSalesDealDigestAudienceType", null);
|
|
1247
|
+
__decorate([
|
|
1248
|
+
Mutation(() => mjBizAppsSalesDealDigestAudienceType_),
|
|
1249
|
+
__param(0, Arg('input', () => CreatemjBizAppsSalesDealDigestAudienceTypeInput)),
|
|
1250
|
+
__param(1, Ctx()),
|
|
1251
|
+
__param(2, PubSub()),
|
|
1252
|
+
__metadata("design:type", Function),
|
|
1253
|
+
__metadata("design:paramtypes", [CreatemjBizAppsSalesDealDigestAudienceTypeInput, Object, PubSubEngine]),
|
|
1254
|
+
__metadata("design:returntype", Promise)
|
|
1255
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "CreatemjBizAppsSalesDealDigestAudienceType", null);
|
|
1256
|
+
__decorate([
|
|
1257
|
+
Mutation(() => mjBizAppsSalesDealDigestAudienceType_),
|
|
1258
|
+
__param(0, Arg('input', () => UpdatemjBizAppsSalesDealDigestAudienceTypeInput)),
|
|
1259
|
+
__param(1, Ctx()),
|
|
1260
|
+
__param(2, PubSub()),
|
|
1261
|
+
__metadata("design:type", Function),
|
|
1262
|
+
__metadata("design:paramtypes", [UpdatemjBizAppsSalesDealDigestAudienceTypeInput, Object, PubSubEngine]),
|
|
1263
|
+
__metadata("design:returntype", Promise)
|
|
1264
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "UpdatemjBizAppsSalesDealDigestAudienceType", null);
|
|
1265
|
+
__decorate([
|
|
1266
|
+
Mutation(() => mjBizAppsSalesDealDigestAudienceType_),
|
|
1267
|
+
__param(0, Arg('ID', () => String)),
|
|
1268
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
1269
|
+
__param(2, Ctx()),
|
|
1270
|
+
__param(3, PubSub()),
|
|
1271
|
+
__metadata("design:type", Function),
|
|
1272
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
1273
|
+
__metadata("design:returntype", Promise)
|
|
1274
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver.prototype, "DeletemjBizAppsSalesDealDigestAudienceType", null);
|
|
1275
|
+
mjBizAppsSalesDealDigestAudienceTypeResolver = __decorate([
|
|
1276
|
+
Resolver(mjBizAppsSalesDealDigestAudienceType_)
|
|
1277
|
+
], mjBizAppsSalesDealDigestAudienceTypeResolver);
|
|
1278
|
+
export { mjBizAppsSalesDealDigestAudienceTypeResolver };
|
|
1279
|
+
//****************************************************************************
|
|
1280
|
+
// ENTITY CLASS for MJ_BizApps_Sales: Deal Digest Recipients
|
|
1281
|
+
//****************************************************************************
|
|
1282
|
+
let mjBizAppsSalesDealDigestRecipient_ = class mjBizAppsSalesDealDigestRecipient_ {
|
|
1283
|
+
};
|
|
1284
|
+
__decorate([
|
|
1285
|
+
Field(),
|
|
1286
|
+
MaxLength(36),
|
|
1287
|
+
__metadata("design:type", String)
|
|
1288
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "ID", void 0);
|
|
1289
|
+
__decorate([
|
|
1290
|
+
Field({ nullable: true, description: "The audience this person receives." }),
|
|
1291
|
+
MaxLength(36),
|
|
1292
|
+
__metadata("design:type", String)
|
|
1293
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "DealDigestAudienceTypeID", void 0);
|
|
1294
|
+
__decorate([
|
|
1295
|
+
Field({ nullable: true, description: "The company the digest covers for this person. Empty on a portfolio-wide audience, and required on any other; the recipient's Save() enforces that pairing." }),
|
|
1296
|
+
MaxLength(36),
|
|
1297
|
+
__metadata("design:type", String)
|
|
1298
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "CompanyID", void 0);
|
|
1299
|
+
__decorate([
|
|
1300
|
+
Field({ nullable: true, description: "The employee who receives the digest, at their work email." }),
|
|
1301
|
+
MaxLength(36),
|
|
1302
|
+
__metadata("design:type", String)
|
|
1303
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "EmployeeID", void 0);
|
|
1304
|
+
__decorate([
|
|
1305
|
+
Field(() => Boolean, { nullable: true, description: "Whether this person is sent the digest. Clearing it stops the email without deleting the row." }),
|
|
1306
|
+
__metadata("design:type", Boolean)
|
|
1307
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "IsActive", void 0);
|
|
1308
|
+
__decorate([
|
|
1309
|
+
Field(),
|
|
1310
|
+
__metadata("design:type", Date)
|
|
1311
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "_mj__CreatedAt", void 0);
|
|
1312
|
+
__decorate([
|
|
1313
|
+
Field(),
|
|
1314
|
+
__metadata("design:type", Date)
|
|
1315
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "_mj__UpdatedAt", void 0);
|
|
1316
|
+
__decorate([
|
|
1317
|
+
Field({ nullable: true }),
|
|
1318
|
+
MaxLength(100),
|
|
1319
|
+
__metadata("design:type", String)
|
|
1320
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "DealDigestAudienceType", void 0);
|
|
1321
|
+
__decorate([
|
|
1322
|
+
Field({ nullable: true }),
|
|
1323
|
+
MaxLength(50),
|
|
1324
|
+
__metadata("design:type", String)
|
|
1325
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "Company", void 0);
|
|
1326
|
+
__decorate([
|
|
1327
|
+
Field({ nullable: true }),
|
|
1328
|
+
MaxLength(81),
|
|
1329
|
+
__metadata("design:type", String)
|
|
1330
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "Employee", void 0);
|
|
1331
|
+
__decorate([
|
|
1332
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
1333
|
+
__metadata("design:type", Array)
|
|
1334
|
+
], mjBizAppsSalesDealDigestRecipient_.prototype, "ReadableFields___", void 0);
|
|
1335
|
+
mjBizAppsSalesDealDigestRecipient_ = __decorate([
|
|
1336
|
+
ObjectType({ description: "One person receiving one audience's Lapsed Close Date Digest, for one company or, on a portfolio-wide audience, for all of them. The audience decides what the email contains; this row decides who gets it." })
|
|
1337
|
+
], mjBizAppsSalesDealDigestRecipient_);
|
|
1338
|
+
export { mjBizAppsSalesDealDigestRecipient_ };
|
|
1339
|
+
//****************************************************************************
|
|
1340
|
+
// INPUT TYPE for MJ_BizApps_Sales: Deal Digest Recipients
|
|
1341
|
+
//****************************************************************************
|
|
1342
|
+
let CreatemjBizAppsSalesDealDigestRecipientInput = class CreatemjBizAppsSalesDealDigestRecipientInput {
|
|
1343
|
+
};
|
|
1344
|
+
__decorate([
|
|
1345
|
+
Field({ nullable: true }),
|
|
1346
|
+
__metadata("design:type", String)
|
|
1347
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "ID", void 0);
|
|
1348
|
+
__decorate([
|
|
1349
|
+
Field({ nullable: true }),
|
|
1350
|
+
__metadata("design:type", String)
|
|
1351
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "DealDigestAudienceTypeID", void 0);
|
|
1352
|
+
__decorate([
|
|
1353
|
+
Field({ nullable: true }),
|
|
1354
|
+
__metadata("design:type", String)
|
|
1355
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "CompanyID", void 0);
|
|
1356
|
+
__decorate([
|
|
1357
|
+
Field({ nullable: true }),
|
|
1358
|
+
__metadata("design:type", String)
|
|
1359
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "EmployeeID", void 0);
|
|
1360
|
+
__decorate([
|
|
1361
|
+
Field(() => Boolean, { nullable: true }),
|
|
1362
|
+
__metadata("design:type", Boolean)
|
|
1363
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "IsActive", void 0);
|
|
1364
|
+
__decorate([
|
|
1365
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
1366
|
+
__metadata("design:type", RestoreContextInput)
|
|
1367
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput.prototype, "RestoreContext___", void 0);
|
|
1368
|
+
CreatemjBizAppsSalesDealDigestRecipientInput = __decorate([
|
|
1369
|
+
InputType()
|
|
1370
|
+
], CreatemjBizAppsSalesDealDigestRecipientInput);
|
|
1371
|
+
export { CreatemjBizAppsSalesDealDigestRecipientInput };
|
|
1372
|
+
//****************************************************************************
|
|
1373
|
+
// INPUT TYPE for MJ_BizApps_Sales: Deal Digest Recipients
|
|
1374
|
+
//****************************************************************************
|
|
1375
|
+
let UpdatemjBizAppsSalesDealDigestRecipientInput = class UpdatemjBizAppsSalesDealDigestRecipientInput {
|
|
1376
|
+
};
|
|
1377
|
+
__decorate([
|
|
1378
|
+
Field(),
|
|
1379
|
+
__metadata("design:type", String)
|
|
1380
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "ID", void 0);
|
|
1381
|
+
__decorate([
|
|
1382
|
+
Field({ nullable: true }),
|
|
1383
|
+
__metadata("design:type", String)
|
|
1384
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "DealDigestAudienceTypeID", void 0);
|
|
1385
|
+
__decorate([
|
|
1386
|
+
Field({ nullable: true }),
|
|
1387
|
+
__metadata("design:type", String)
|
|
1388
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "CompanyID", void 0);
|
|
1389
|
+
__decorate([
|
|
1390
|
+
Field({ nullable: true }),
|
|
1391
|
+
__metadata("design:type", String)
|
|
1392
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "EmployeeID", void 0);
|
|
1393
|
+
__decorate([
|
|
1394
|
+
Field(() => Boolean, { nullable: true }),
|
|
1395
|
+
__metadata("design:type", Boolean)
|
|
1396
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "IsActive", void 0);
|
|
1397
|
+
__decorate([
|
|
1398
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
1399
|
+
__metadata("design:type", Array)
|
|
1400
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "OldValues___", void 0);
|
|
1401
|
+
__decorate([
|
|
1402
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
1403
|
+
__metadata("design:type", RestoreContextInput)
|
|
1404
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput.prototype, "RestoreContext___", void 0);
|
|
1405
|
+
UpdatemjBizAppsSalesDealDigestRecipientInput = __decorate([
|
|
1406
|
+
InputType()
|
|
1407
|
+
], UpdatemjBizAppsSalesDealDigestRecipientInput);
|
|
1408
|
+
export { UpdatemjBizAppsSalesDealDigestRecipientInput };
|
|
1409
|
+
//****************************************************************************
|
|
1410
|
+
// RESOLVER for MJ_BizApps_Sales: Deal Digest Recipients
|
|
1411
|
+
//****************************************************************************
|
|
1412
|
+
let RunmjBizAppsSalesDealDigestRecipientViewResult = class RunmjBizAppsSalesDealDigestRecipientViewResult {
|
|
1413
|
+
};
|
|
1414
|
+
__decorate([
|
|
1415
|
+
Field(() => [mjBizAppsSalesDealDigestRecipient_]),
|
|
1416
|
+
__metadata("design:type", Array)
|
|
1417
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "Results", void 0);
|
|
1418
|
+
__decorate([
|
|
1419
|
+
Field(() => String, { nullable: true }),
|
|
1420
|
+
__metadata("design:type", String)
|
|
1421
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "UserViewRunID", void 0);
|
|
1422
|
+
__decorate([
|
|
1423
|
+
Field(() => Int, { nullable: true }),
|
|
1424
|
+
__metadata("design:type", Number)
|
|
1425
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "RowCount", void 0);
|
|
1426
|
+
__decorate([
|
|
1427
|
+
Field(() => Int, { nullable: true }),
|
|
1428
|
+
__metadata("design:type", Number)
|
|
1429
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "TotalRowCount", void 0);
|
|
1430
|
+
__decorate([
|
|
1431
|
+
Field(() => Int, { nullable: true }),
|
|
1432
|
+
__metadata("design:type", Number)
|
|
1433
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "ExecutionTime", void 0);
|
|
1434
|
+
__decorate([
|
|
1435
|
+
Field({ nullable: true }),
|
|
1436
|
+
__metadata("design:type", String)
|
|
1437
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "ErrorMessage", void 0);
|
|
1438
|
+
__decorate([
|
|
1439
|
+
Field(() => Boolean, { nullable: false }),
|
|
1440
|
+
__metadata("design:type", Boolean)
|
|
1441
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult.prototype, "Success", void 0);
|
|
1442
|
+
RunmjBizAppsSalesDealDigestRecipientViewResult = __decorate([
|
|
1443
|
+
ObjectType()
|
|
1444
|
+
], RunmjBizAppsSalesDealDigestRecipientViewResult);
|
|
1445
|
+
export { RunmjBizAppsSalesDealDigestRecipientViewResult };
|
|
1446
|
+
let mjBizAppsSalesDealDigestRecipientResolver = class mjBizAppsSalesDealDigestRecipientResolver extends ResolverBase {
|
|
1447
|
+
async RunmjBizAppsSalesDealDigestRecipientViewByID(input, { providers, userPayload }, pubSub) {
|
|
1448
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1449
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
1450
|
+
}
|
|
1451
|
+
async RunmjBizAppsSalesDealDigestRecipientViewByName(input, { providers, userPayload }, pubSub) {
|
|
1452
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1453
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
1454
|
+
}
|
|
1455
|
+
async RunmjBizAppsSalesDealDigestRecipientDynamicView(input, { providers, userPayload }, pubSub) {
|
|
1456
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1457
|
+
input.EntityName = 'MJ_BizApps_Sales: Deal Digest Recipients';
|
|
1458
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
1459
|
+
}
|
|
1460
|
+
async mjBizAppsSalesDealDigestRecipient(ID, { userPayload, providers }, pubSub) {
|
|
1461
|
+
this.CheckUserReadPermissions('MJ_BizApps_Sales: Deal Digest Recipients', userPayload);
|
|
1462
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
1463
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView('__mj_BizAppsSales', 'vwDealDigestRecipients')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ_BizApps_Sales: Deal Digest Recipients', userPayload, EntityPermissionType.Read, 'AND');
|
|
1464
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
1465
|
+
const result = await this.MapFieldNamesToCodeNames('MJ_BizApps_Sales: Deal Digest Recipients', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
1466
|
+
return result;
|
|
1467
|
+
}
|
|
1468
|
+
async CreatemjBizAppsSalesDealDigestRecipient(input, { providers, userPayload }, pubSub) {
|
|
1469
|
+
const provider = GetReadWriteProvider(providers);
|
|
1470
|
+
return this.CreateRecord('MJ_BizApps_Sales: Deal Digest Recipients', input, provider, userPayload, pubSub);
|
|
1471
|
+
}
|
|
1472
|
+
async UpdatemjBizAppsSalesDealDigestRecipient(input, { providers, userPayload }, pubSub) {
|
|
1473
|
+
const provider = GetReadWriteProvider(providers);
|
|
1474
|
+
return this.UpdateRecord('MJ_BizApps_Sales: Deal Digest Recipients', input, provider, userPayload, pubSub);
|
|
1475
|
+
}
|
|
1476
|
+
async DeletemjBizAppsSalesDealDigestRecipient(ID, options, { providers, userPayload }, pubSub) {
|
|
1477
|
+
const provider = GetReadWriteProvider(providers);
|
|
1478
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
1479
|
+
return this.DeleteRecord('MJ_BizApps_Sales: Deal Digest Recipients', key, options, provider, userPayload, pubSub);
|
|
1480
|
+
}
|
|
1481
|
+
};
|
|
1482
|
+
__decorate([
|
|
1483
|
+
Query(() => RunmjBizAppsSalesDealDigestRecipientViewResult),
|
|
1484
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
1485
|
+
__param(1, Ctx()),
|
|
1486
|
+
__param(2, PubSub()),
|
|
1487
|
+
__metadata("design:type", Function),
|
|
1488
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
1489
|
+
__metadata("design:returntype", Promise)
|
|
1490
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "RunmjBizAppsSalesDealDigestRecipientViewByID", null);
|
|
1491
|
+
__decorate([
|
|
1492
|
+
Query(() => RunmjBizAppsSalesDealDigestRecipientViewResult),
|
|
1493
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
1494
|
+
__param(1, Ctx()),
|
|
1495
|
+
__param(2, PubSub()),
|
|
1496
|
+
__metadata("design:type", Function),
|
|
1497
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
1498
|
+
__metadata("design:returntype", Promise)
|
|
1499
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "RunmjBizAppsSalesDealDigestRecipientViewByName", null);
|
|
1500
|
+
__decorate([
|
|
1501
|
+
Query(() => RunmjBizAppsSalesDealDigestRecipientViewResult),
|
|
1502
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
1503
|
+
__param(1, Ctx()),
|
|
1504
|
+
__param(2, PubSub()),
|
|
1505
|
+
__metadata("design:type", Function),
|
|
1506
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
1507
|
+
__metadata("design:returntype", Promise)
|
|
1508
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "RunmjBizAppsSalesDealDigestRecipientDynamicView", null);
|
|
1509
|
+
__decorate([
|
|
1510
|
+
Query(() => mjBizAppsSalesDealDigestRecipient_, { nullable: true }),
|
|
1511
|
+
__param(0, Arg('ID', () => String)),
|
|
1512
|
+
__param(1, Ctx()),
|
|
1513
|
+
__param(2, PubSub()),
|
|
1514
|
+
__metadata("design:type", Function),
|
|
1515
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
1516
|
+
__metadata("design:returntype", Promise)
|
|
1517
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "mjBizAppsSalesDealDigestRecipient", null);
|
|
1518
|
+
__decorate([
|
|
1519
|
+
Mutation(() => mjBizAppsSalesDealDigestRecipient_),
|
|
1520
|
+
__param(0, Arg('input', () => CreatemjBizAppsSalesDealDigestRecipientInput)),
|
|
1521
|
+
__param(1, Ctx()),
|
|
1522
|
+
__param(2, PubSub()),
|
|
1523
|
+
__metadata("design:type", Function),
|
|
1524
|
+
__metadata("design:paramtypes", [CreatemjBizAppsSalesDealDigestRecipientInput, Object, PubSubEngine]),
|
|
1525
|
+
__metadata("design:returntype", Promise)
|
|
1526
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "CreatemjBizAppsSalesDealDigestRecipient", null);
|
|
1527
|
+
__decorate([
|
|
1528
|
+
Mutation(() => mjBizAppsSalesDealDigestRecipient_),
|
|
1529
|
+
__param(0, Arg('input', () => UpdatemjBizAppsSalesDealDigestRecipientInput)),
|
|
1530
|
+
__param(1, Ctx()),
|
|
1531
|
+
__param(2, PubSub()),
|
|
1532
|
+
__metadata("design:type", Function),
|
|
1533
|
+
__metadata("design:paramtypes", [UpdatemjBizAppsSalesDealDigestRecipientInput, Object, PubSubEngine]),
|
|
1534
|
+
__metadata("design:returntype", Promise)
|
|
1535
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "UpdatemjBizAppsSalesDealDigestRecipient", null);
|
|
1536
|
+
__decorate([
|
|
1537
|
+
Mutation(() => mjBizAppsSalesDealDigestRecipient_),
|
|
1538
|
+
__param(0, Arg('ID', () => String)),
|
|
1539
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
1540
|
+
__param(2, Ctx()),
|
|
1541
|
+
__param(3, PubSub()),
|
|
1542
|
+
__metadata("design:type", Function),
|
|
1543
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
1544
|
+
__metadata("design:returntype", Promise)
|
|
1545
|
+
], mjBizAppsSalesDealDigestRecipientResolver.prototype, "DeletemjBizAppsSalesDealDigestRecipient", null);
|
|
1546
|
+
mjBizAppsSalesDealDigestRecipientResolver = __decorate([
|
|
1547
|
+
Resolver(mjBizAppsSalesDealDigestRecipient_)
|
|
1548
|
+
], mjBizAppsSalesDealDigestRecipientResolver);
|
|
1549
|
+
export { mjBizAppsSalesDealDigestRecipientResolver };
|
|
1550
|
+
//****************************************************************************
|
|
915
1551
|
// ENTITY CLASS for MJ_BizApps_Sales: Deal Payment Schedules
|
|
916
1552
|
//****************************************************************************
|
|
917
1553
|
let mjBizAppsSalesDealPaymentSchedule_ = class mjBizAppsSalesDealPaymentSchedule_ {
|