shred-api-client 2.2.4-rc.4 → 2.2.4-rc.5
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.mts +31 -32
- package/dist/index.d.ts +31 -32
- package/dist/index.js +27 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -939,35 +939,6 @@ var ProjectSchema = z4.object({
|
|
|
939
939
|
tenantId: z4.string().optional(),
|
|
940
940
|
status: z4.nativeEnum(Status2)
|
|
941
941
|
});
|
|
942
|
-
|
|
943
|
-
// src/model/project/Project.api.ts
|
|
944
|
-
var Endpoints3 = {
|
|
945
|
-
Reorder: { uri: "/projects/reorder/", method: "POST" },
|
|
946
|
-
List: { uri: "/projects/list", method: "GET" },
|
|
947
|
-
GetNext: { uri: "/projects/:userId/next", method: "GET" },
|
|
948
|
-
CreateProject: { uri: "/projects/create", method: "POST" },
|
|
949
|
-
FindOne: { uri: `/projects/:projectId/`, method: "GET" },
|
|
950
|
-
GetGoals: { uri: `/projects/goals/list/`, method: "GET" },
|
|
951
|
-
Review: { uri: "/projects/:projectId/review/", method: "POST" },
|
|
952
|
-
Cancel: { uri: "/projects/:projectId/cancel/", method: "DELETE" },
|
|
953
|
-
StartEdition: { uri: "/projects/edition/start/", method: "PUT" },
|
|
954
|
-
SendToApproval: {
|
|
955
|
-
uri: "/projects/:projectId/sendToApproval/",
|
|
956
|
-
method: "PUT"
|
|
957
|
-
},
|
|
958
|
-
IsEligibleForFreeProject: {
|
|
959
|
-
uri: "/projects/free/allowed/",
|
|
960
|
-
method: "GET"
|
|
961
|
-
},
|
|
962
|
-
Approve: { uri: "/projects/:projectId/approve/", method: "POST" },
|
|
963
|
-
Unschedule: { uri: "/projects/:projectId/unschedule/", method: "POST" },
|
|
964
|
-
Rollback: { uri: "/projects/:projectId/rollback/", method: "POST" },
|
|
965
|
-
Deny: { uri: "/projects/:projectId/deny/", method: "POST" },
|
|
966
|
-
GetUserHistory: { uri: "/projects/user/:userId/history/", method: "GET" },
|
|
967
|
-
GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
|
|
968
|
-
};
|
|
969
|
-
|
|
970
|
-
// src/model/project/StatusConfig.ts
|
|
971
942
|
var StatusConfig = {
|
|
972
943
|
[0 /* SUBMITTED */]: {
|
|
973
944
|
id: 0 /* SUBMITTED */,
|
|
@@ -1187,6 +1158,33 @@ var StatusConfig = {
|
|
|
1187
1158
|
}
|
|
1188
1159
|
};
|
|
1189
1160
|
|
|
1161
|
+
// src/model/project/Project.api.ts
|
|
1162
|
+
var Endpoints3 = {
|
|
1163
|
+
Reorder: { uri: "/projects/reorder/", method: "POST" },
|
|
1164
|
+
List: { uri: "/projects/list", method: "GET" },
|
|
1165
|
+
GetNext: { uri: "/projects/:userId/next", method: "GET" },
|
|
1166
|
+
CreateProject: { uri: "/projects/create", method: "POST" },
|
|
1167
|
+
FindOne: { uri: `/projects/:projectId/`, method: "GET" },
|
|
1168
|
+
GetGoals: { uri: `/projects/goals/list/`, method: "GET" },
|
|
1169
|
+
Review: { uri: "/projects/:projectId/review/", method: "POST" },
|
|
1170
|
+
Cancel: { uri: "/projects/:projectId/cancel/", method: "DELETE" },
|
|
1171
|
+
StartEdition: { uri: "/projects/edition/start/", method: "PUT" },
|
|
1172
|
+
SendToApproval: {
|
|
1173
|
+
uri: "/projects/:projectId/sendToApproval/",
|
|
1174
|
+
method: "PUT"
|
|
1175
|
+
},
|
|
1176
|
+
IsEligibleForFreeProject: {
|
|
1177
|
+
uri: "/projects/free/allowed/",
|
|
1178
|
+
method: "GET"
|
|
1179
|
+
},
|
|
1180
|
+
Approve: { uri: "/projects/:projectId/approve/", method: "POST" },
|
|
1181
|
+
Unschedule: { uri: "/projects/:projectId/unschedule/", method: "POST" },
|
|
1182
|
+
Rollback: { uri: "/projects/:projectId/rollback/", method: "POST" },
|
|
1183
|
+
Deny: { uri: "/projects/:projectId/deny/", method: "POST" },
|
|
1184
|
+
GetUserHistory: { uri: "/projects/user/:userId/history/", method: "GET" },
|
|
1185
|
+
GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1190
1188
|
// src/api/Project.api.ts
|
|
1191
1189
|
var ProjectAPI = class {
|
|
1192
1190
|
constructor(env) {
|