shred-api-client 2.2.4-rc.5 → 2.2.4-rc.6

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.mjs CHANGED
@@ -939,6 +939,35 @@ 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
942
971
  var StatusConfig = {
943
972
  [0 /* SUBMITTED */]: {
944
973
  id: 0 /* SUBMITTED */,
@@ -1158,33 +1187,6 @@ var StatusConfig = {
1158
1187
  }
1159
1188
  };
1160
1189
 
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
-
1188
1190
  // src/api/Project.api.ts
1189
1191
  var ProjectAPI = class {
1190
1192
  constructor(env) {