@steedos-labs/content-compliance 0.0.75 → 0.0.77
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/index.js +1 -1
- package/main/default/objects/pepsico_material/buttons/pepsico_onedrive_edit_material.button.yml +1 -1
- package/main/default/objects/pepsico_material/buttons/pepsico_onedrive_review_material.button.yml +1 -1
- package/main/default/objects/pepsico_material/buttons/pepsico_update_material.button.yml +1 -1
- package/main/default/objects/pepsico_material/fields/xml_converted_word.field.yml +6 -0
- package/main/default/objects/pepsico_material_approval/buttons/pepsico_approval.button.yml +70 -0
- package/main/default/objects/pepsico_material_approval/buttons/pepsico_confirm_online.button.yml +1 -1
- package/main/default/objects/pepsico_material_approval/buttons/pepsico_material_upload.button.yml +78 -8
- package/main/default/objects/pepsico_material_approval/buttons/pepsico_postpone_online.button.yml +1 -1
- package/main/default/objects/pepsico_material_approval/fields/material_owner_id.field.yml +7 -0
- package/main/default/objects/pepsico_material_approval/fields/materials_uploaded_to_onedrive_status.field.yml +3 -3
- package/package.json +1 -1
- package/public/content-review/amis.css +13 -0
- package/lib/actions/addBulkMaterials.d.ts +0 -7
- package/lib/actions/addBulkMaterials.js +0 -27
- package/lib/actions/addBulkMaterials.js.map +0 -1
- package/lib/actions/confirmDeployment.d.ts +0 -7
- package/lib/actions/confirmDeployment.js +0 -28
- package/lib/actions/confirmDeployment.js.map +0 -1
- package/lib/actions/hasDuplicateMaterials.d.ts +0 -9
- package/lib/actions/hasDuplicateMaterials.js +0 -30
- package/lib/actions/hasDuplicateMaterials.js.map +0 -1
- package/lib/actions/index.d.ts +0 -9
- package/lib/actions/index.js +0 -13
- package/lib/actions/index.js.map +0 -1
- package/lib/actions/postponeDeployment.d.ts +0 -7
- package/lib/actions/postponeDeployment.js +0 -27
- package/lib/actions/postponeDeployment.js.map +0 -1
- package/lib/actions/rule.d.ts +0 -7
- package/lib/actions/rule.js +0 -27
- package/lib/actions/rule.js.map +0 -1
- package/lib/actions/submit.d.ts +0 -7
- package/lib/actions/submit.js +0 -27
- package/lib/actions/submit.js.map +0 -1
- package/lib/actions/submitKids.d.ts +0 -7
- package/lib/actions/submitKids.js +0 -27
- package/lib/actions/submitKids.js.map +0 -1
- package/lib/actions/submitMaterial.d.ts +0 -7
- package/lib/actions/submitMaterial.js +0 -27
- package/lib/actions/submitMaterial.js.map +0 -1
- package/lib/actions/terminate.d.ts +0 -7
- package/lib/actions/terminate.js +0 -27
- package/lib/actions/terminate.js.map +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -387
- package/lib/index.js.map +0 -1
- package/lib/methods/AI.d.ts +0 -1
- package/lib/methods/AI.js +0 -39
- package/lib/methods/AI.js.map +0 -1
- package/lib/methods/approval_engine.d.ts +0 -14
- package/lib/methods/approval_engine.js +0 -1101
- package/lib/methods/approval_engine.js.map +0 -1
- package/lib/methods/consts.d.ts +0 -143
- package/lib/methods/consts.js +0 -40
- package/lib/methods/consts.js.map +0 -1
- package/lib/methods/content_hub.d.ts +0 -1
- package/lib/methods/content_hub.js +0 -194
- package/lib/methods/content_hub.js.map +0 -1
- package/lib/methods/docx.d.ts +0 -3
- package/lib/methods/docx.js +0 -12
- package/lib/methods/docx.js.map +0 -1
- package/lib/methods/index.d.ts +0 -2
- package/lib/methods/index.js +0 -6
- package/lib/methods/index.js.map +0 -1
- package/lib/methods/material.d.ts +0 -13
- package/lib/methods/material.js +0 -544
- package/lib/methods/material.js.map +0 -1
- package/lib/methods/o365.d.ts +0 -5
- package/lib/methods/o365.js +0 -35
- package/lib/methods/o365.js.map +0 -1
- package/lib/methods/oneDrive.d.ts +0 -5
- package/lib/methods/oneDrive.js +0 -39
- package/lib/methods/oneDrive.js.map +0 -1
|
@@ -43,6 +43,19 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs .antd-Tabs-content .antd-Video{
|
|
47
|
+
height: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs .antd-Tabs-content .antd-Video .antd-Video-player{
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs .antd-Tabs-content .antd-Video .antd-Video-player .video-react{
|
|
55
|
+
padding: 0px !important;
|
|
56
|
+
height: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
46
59
|
.lb-root.lb-composer.lb-composer-form.composer{
|
|
47
60
|
position: sticky !important;
|
|
48
61
|
bottom: 0px;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addBulkMaterials = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.addBulkMaterials = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/material/add'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.addBulkMaterials(ctx, ctx.params.approvalId, ctx.params.files)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=addBulkMaterials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"addBulkMaterials.js","sourceRoot":"","sources":["../../src/actions/addBulkMaterials.ts"],"names":[],"mappings":";;;;AAOa,QAAA,gBAAgB,GAAG;IAC5B,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,2CAA2C;KACxD;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,EAAC;;;;KAC9E;CACJ,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.confirmDeployment = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.confirmDeployment = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/confirm-deployment/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var content_rule, logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
content_rule = ctx.params.content_rule;
|
|
18
|
-
return [4, this.getLogger()];
|
|
19
|
-
case 1:
|
|
20
|
-
logger = _a.sent();
|
|
21
|
-
ctx.logger = logger;
|
|
22
|
-
return [2, this.confirmDeployment.call(this, ctx, ctx.params.recordId, { content_rule: content_rule })];
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=confirmDeployment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"confirmDeployment.js","sourceRoot":"","sources":["../../src/actions/confirmDeployment.ts"],"names":[],"mappings":";;;;AAOa,QAAA,iBAAiB,GAAG;IAC7B,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,2DAA2D;KACxE;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBACvB,YAAY,GAAK,GAAG,CAAC,MAAM,aAAf,CAAgB;wBACrB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,YAAY,cAAA,EAAE,CAAC,EAAC;;;;KACxF;CACJ,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hasDuplicateMaterials = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.hasDuplicateMaterials = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'GET',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/material/has-duplicate/:approvalId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger, hasDuplicate;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [4, this.hasDuplicateMaterials.call(this, ctx, ctx.params.approvalId)];
|
|
22
|
-
case 2:
|
|
23
|
-
hasDuplicate = _a.sent();
|
|
24
|
-
return [2, { hasDuplicate: hasDuplicate }];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=hasDuplicateMaterials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hasDuplicateMaterials.js","sourceRoot":"","sources":["../../src/actions/hasDuplicateMaterials.ts"],"names":[],"mappings":";;;;AAOa,QAAA,qBAAqB,GAAG;IACjC,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,iEAAiE;KAC9E;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACC,WAAM,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,EAAA;;wBAAtF,YAAY,GAAG,SAAuE;wBAC5F,WAAO,EAAE,YAAY,cAAA,EAAE,EAAA;;;;KAC1B;CACJ,CAAA"}
|
package/lib/actions/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './submit';
|
|
2
|
-
export * from './terminate';
|
|
3
|
-
export * from './addBulkMaterials';
|
|
4
|
-
export * from './submitMaterial';
|
|
5
|
-
export * from './confirmDeployment';
|
|
6
|
-
export * from './postponeDeployment';
|
|
7
|
-
export * from './submitKids';
|
|
8
|
-
export * from './rule';
|
|
9
|
-
export * from './hasDuplicateMaterials';
|
package/lib/actions/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./submit"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./terminate"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./addBulkMaterials"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./submitMaterial"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./confirmDeployment"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./postponeDeployment"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./submitKids"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./rule"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./hasDuplicateMaterials"), exports);
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
package/lib/actions/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":";;;AAOA,mDAAyB;AAEzB,sDAA4B;AAE5B,6DAAmC;AAEnC,2DAAiC;AAEjC,8DAAoC;AAEpC,+DAAqC;AAErC,uDAA6B;AAE7B,iDAAuB;AAEvB,kEAAwC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.postponeDeployment = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.postponeDeployment = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/postpone-deployment/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.postponeDeployment.call(this, ctx, ctx.params.recordId, ctx.params)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=postponeDeployment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postponeDeployment.js","sourceRoot":"","sources":["../../src/actions/postponeDeployment.ts"],"names":[],"mappings":";;;;AAOa,QAAA,kBAAkB,GAAG;IAC9B,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,4DAA4D;KACzE;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EAAC;;;;KACnF;CACJ,CAAA"}
|
package/lib/actions/rule.d.ts
DELETED
package/lib/actions/rule.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rule = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.rule = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'GET',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/rule'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.getApproverStepRule.call(this, ctx)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=rule.js.map
|
package/lib/actions/rule.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../src/actions/rule.ts"],"names":[],"mappings":";;;;AAOa,QAAA,IAAI,GAAG;IAChB,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,mCAAmC;KAChD;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,EAAC;;;;KACnD;CACJ,CAAA"}
|
package/lib/actions/submit.d.ts
DELETED
package/lib/actions/submit.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.submit = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.submit = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/submit/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.submitContent(ctx, ctx.params.recordId, ctx.params.approvalStatus)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=submit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit.js","sourceRoot":"","sources":["../../src/actions/submit.ts"],"names":[],"mappings":";;;;AAOa,QAAA,MAAM,GAAG;IAClB,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,+CAA+C;KAC5D;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAC;;;;KAClF;CACJ,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.submitKids = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.submitKids = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/kids/submit/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.submitKidsContent(ctx, ctx.params.recordId, ctx.params.approvalStatus)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=submitKids.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submitKids.js","sourceRoot":"","sources":["../../src/actions/submitKids.ts"],"names":[],"mappings":";;;;AAOa,QAAA,UAAU,GAAG;IACtB,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,oDAAoD;KACjE;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAC;;;;KACtF;CACJ,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.approveMaterial = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.approveMaterial = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/material/submit/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.submitMaterial.call(this, ctx, ctx.params.recordId, ctx.params.approvalStatus)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=submitMaterial.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submitMaterial.js","sourceRoot":"","sources":["../../src/actions/submitMaterial.ts"],"names":[],"mappings":";;;;AAOa,QAAA,eAAe,GAAG;IAC3B,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,wDAAwD;KACrE;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAC;;;;KAC9F;CACJ,CAAA"}
|
package/lib/actions/terminate.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.terminate = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
exports.terminate = {
|
|
6
|
-
rest: {
|
|
7
|
-
method: 'POST',
|
|
8
|
-
fullPath: '/api/pepsico-content/approve/terminate/:recordId'
|
|
9
|
-
},
|
|
10
|
-
handler: function (ctx) {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
12
|
-
var logger;
|
|
13
|
-
return tslib_1.__generator(this, function (_a) {
|
|
14
|
-
switch (_a.label) {
|
|
15
|
-
case 0:
|
|
16
|
-
ctx.getObject = this.getObject;
|
|
17
|
-
return [4, this.getLogger()];
|
|
18
|
-
case 1:
|
|
19
|
-
logger = _a.sent();
|
|
20
|
-
ctx.logger = logger;
|
|
21
|
-
return [2, this.terminate(ctx, ctx.params.recordId, ctx.params.description)];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=terminate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminate.js","sourceRoot":"","sources":["../../src/actions/terminate.ts"],"names":[],"mappings":";;;;AAOa,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,kDAAkD;KAC/D;IACK,OAAO,YAAC,GAAG;;;;;;wBACb,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;wBAChB,WAAM,IAAI,CAAC,SAAS,EAAE,EAAA;;wBAA/B,MAAM,GAAG,SAAsB;wBACrC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;wBACpB,WAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,EAAC;;;;KAC3E;CACJ,CAAA"}
|
package/lib/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|