shred-api-client 2.2.4-rc.3 → 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.mjs CHANGED
@@ -840,9 +840,9 @@ __export(project_exports, {
840
840
  FeedbackSchema: () => FeedbackSchema,
841
841
  ProjectSchema: () => ProjectSchema,
842
842
  Status: () => Status2,
843
+ StatusConfig: () => StatusConfig,
843
844
  Styles: () => Styles,
844
- TimelineItemSchema: () => TimelineItemSchema,
845
- statusConfig: () => statusConfig
845
+ TimelineItemSchema: () => TimelineItemSchema
846
846
  });
847
847
 
848
848
  // src/model/project/Project.schema.ts
@@ -939,36 +939,7 @@ 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
- var statusConfig = {
942
+ var StatusConfig = {
972
943
  [0 /* SUBMITTED */]: {
973
944
  id: 0 /* SUBMITTED */,
974
945
  label: "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) {