shred-api-client 1.11.4-rc.1 → 1.11.4
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.d.ts +2 -2
- package/dist/index.js +1 -3
- package/dist/model/Project.schema.d.ts +2 -3
- package/dist/model/Project.schema.js +2 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShredAPI } from "./model/Api";
|
|
2
2
|
import { Role, System } from "./model/User.schema";
|
|
3
|
-
import { Status as ProjectStatus
|
|
3
|
+
import { Status as ProjectStatus } from "./model/Project.schema";
|
|
4
4
|
import Exceptions from "./model/exceptions/";
|
|
5
|
-
export { Role, System, Exceptions, ProjectStatus
|
|
5
|
+
export { Role, System, Exceptions, ProjectStatus };
|
|
6
6
|
export default ShredAPI;
|
|
7
7
|
export * from "./namespace";
|
package/dist/index.js
CHANGED
|
@@ -17,15 +17,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
20
|
+
exports.ProjectStatus = exports.Exceptions = exports.System = exports.Role = void 0;
|
|
21
21
|
const Api_1 = require("./model/Api");
|
|
22
22
|
const User_schema_1 = require("./model/User.schema");
|
|
23
23
|
Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return User_schema_1.Role; } });
|
|
24
24
|
Object.defineProperty(exports, "System", { enumerable: true, get: function () { return User_schema_1.System; } });
|
|
25
25
|
const Project_schema_1 = require("./model/Project.schema");
|
|
26
26
|
Object.defineProperty(exports, "ProjectStatus", { enumerable: true, get: function () { return Project_schema_1.Status; } });
|
|
27
|
-
Object.defineProperty(exports, "Styles", { enumerable: true, get: function () { return Project_schema_1.Styles; } });
|
|
28
|
-
Object.defineProperty(exports, "CaptionStyle", { enumerable: true, get: function () { return Project_schema_1.CaptionStyle; } });
|
|
29
27
|
const exceptions_1 = __importDefault(require("./model/exceptions/"));
|
|
30
28
|
exports.Exceptions = exceptions_1.default;
|
|
31
29
|
exports.default = Api_1.ShredAPI;
|
|
@@ -79,18 +79,17 @@ export declare enum Status {
|
|
|
79
79
|
CANCELLED = 6,
|
|
80
80
|
SCHEDULED = 7
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
declare enum CaptionStyle {
|
|
83
83
|
ONE_LINE = 1,
|
|
84
84
|
ONE_LINE_EMOJIS = 2,
|
|
85
|
-
TWO_LINES = 5,
|
|
86
85
|
TWO_LINES_EMOJIS = 3,
|
|
87
86
|
HOME_HIGHLIGHT = 4
|
|
88
87
|
}
|
|
89
|
-
export declare const Styles: Record<CaptionStyle, string>;
|
|
90
88
|
type DenyFeedback = {
|
|
91
89
|
timestamp: number;
|
|
92
90
|
feedback: string;
|
|
93
91
|
resolved: boolean;
|
|
92
|
+
categories?: string[];
|
|
94
93
|
};
|
|
95
94
|
type Project = {
|
|
96
95
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProjectEndpoints = exports.
|
|
3
|
+
exports.ProjectEndpoints = exports.Status = void 0;
|
|
4
4
|
const ProjectEndpoints = {
|
|
5
5
|
List: {
|
|
6
6
|
uri: "/projects/list",
|
|
@@ -59,14 +59,6 @@ var CaptionStyle;
|
|
|
59
59
|
(function (CaptionStyle) {
|
|
60
60
|
CaptionStyle[CaptionStyle["ONE_LINE"] = 1] = "ONE_LINE";
|
|
61
61
|
CaptionStyle[CaptionStyle["ONE_LINE_EMOJIS"] = 2] = "ONE_LINE_EMOJIS";
|
|
62
|
-
CaptionStyle[CaptionStyle["TWO_LINES"] = 5] = "TWO_LINES";
|
|
63
62
|
CaptionStyle[CaptionStyle["TWO_LINES_EMOJIS"] = 3] = "TWO_LINES_EMOJIS";
|
|
64
63
|
CaptionStyle[CaptionStyle["HOME_HIGHLIGHT"] = 4] = "HOME_HIGHLIGHT";
|
|
65
|
-
})(CaptionStyle || (
|
|
66
|
-
exports.Styles = {
|
|
67
|
-
[CaptionStyle.ONE_LINE]: "One Line",
|
|
68
|
-
[CaptionStyle.ONE_LINE_EMOJIS]: "One Line + Emojis",
|
|
69
|
-
[CaptionStyle.TWO_LINES]: "Two Lines",
|
|
70
|
-
[CaptionStyle.TWO_LINES_EMOJIS]: "Two Lines + Emojis",
|
|
71
|
-
[CaptionStyle.HOME_HIGHLIGHT]: "Home Highlight",
|
|
72
|
-
};
|
|
64
|
+
})(CaptionStyle || (CaptionStyle = {}));
|