@mestra-dev/contract 0.0.314 → 0.0.316

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +87 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6951,10 +6951,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
6951
6951
  assigneeId: string;
6952
6952
  workspaceId: string;
6953
6953
  collaboratorId: string;
6954
+ userId: string | null;
6954
6955
  taskId: string;
6955
6956
  startDate: string | null;
6956
6957
  endDate: string | null;
6957
6958
  description: string | null;
6959
+ workedMinutes: number | null;
6958
6960
  profilePicture: string | null;
6959
6961
  firstName: string | null;
6960
6962
  lastName: string | null;
@@ -6977,6 +6979,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6977
6979
  startDate?: string | number | undefined;
6978
6980
  endDate?: string | number | undefined;
6979
6981
  description?: string | undefined;
6982
+ workedMinutes?: number | undefined;
6980
6983
  };
6981
6984
  };
6982
6985
  output: {
@@ -6994,6 +6997,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6994
6997
  startDate?: string | number | undefined;
6995
6998
  endDate?: string | number | undefined;
6996
6999
  description?: string | undefined;
7000
+ workedMinutes?: number | undefined;
6997
7001
  };
6998
7002
  };
6999
7003
  output: {
@@ -7011,6 +7015,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7011
7015
  startDate?: string | number | undefined;
7012
7016
  endDate?: string | number | undefined;
7013
7017
  description?: string | undefined;
7018
+ workedMinutes?: number | undefined;
7014
7019
  };
7015
7020
  };
7016
7021
  output: {
@@ -7029,6 +7034,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7029
7034
  startDate: string | null;
7030
7035
  endDate: string | null;
7031
7036
  taskId: string;
7037
+ workedMinutes: number | null;
7032
7038
  };
7033
7039
  };
7034
7040
  outputFormat: "json";
@@ -7077,6 +7083,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7077
7083
  startDate?: string | number | null | undefined;
7078
7084
  endDate?: string | number | null | undefined;
7079
7085
  description?: string | undefined;
7086
+ workedMinutes?: number | null | undefined;
7080
7087
  };
7081
7088
  };
7082
7089
  output: {
@@ -7094,6 +7101,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7094
7101
  startDate?: string | number | null | undefined;
7095
7102
  endDate?: string | number | null | undefined;
7096
7103
  description?: string | undefined;
7104
+ workedMinutes?: number | null | undefined;
7097
7105
  };
7098
7106
  };
7099
7107
  output: {
@@ -7111,6 +7119,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7111
7119
  startDate?: string | number | null | undefined;
7112
7120
  endDate?: string | number | null | undefined;
7113
7121
  description?: string | undefined;
7122
+ workedMinutes?: number | null | undefined;
7114
7123
  };
7115
7124
  };
7116
7125
  output: {
@@ -7127,6 +7136,54 @@ declare const routes: import("hono/hono-base").HonoBase<{
7127
7136
  startDate: string | null;
7128
7137
  endDate: string | null;
7129
7138
  description: string | null;
7139
+ workedMinutes: number | null;
7140
+ workspaceId: string;
7141
+ created_by: string;
7142
+ };
7143
+ };
7144
+ outputFormat: "json";
7145
+ status: 200;
7146
+ };
7147
+ };
7148
+ } & {
7149
+ "/worked-time": {
7150
+ $post: {
7151
+ input: {
7152
+ json: {
7153
+ workspace: string;
7154
+ taskId: string;
7155
+ workedMinutes: number | null;
7156
+ };
7157
+ };
7158
+ output: {
7159
+ success: false;
7160
+ error: string;
7161
+ };
7162
+ outputFormat: "json";
7163
+ status: 404;
7164
+ } | {
7165
+ input: {
7166
+ json: {
7167
+ workspace: string;
7168
+ taskId: string;
7169
+ workedMinutes: number | null;
7170
+ };
7171
+ };
7172
+ output: {
7173
+ success: true;
7174
+ result: {
7175
+ updated_at: string | null;
7176
+ deleted_at: string | null;
7177
+ verified_at: string | null;
7178
+ suspended_at: string | null;
7179
+ created_at: string;
7180
+ id: string;
7181
+ taskId: string;
7182
+ collaboratorId: string;
7183
+ startDate: string | null;
7184
+ endDate: string | null;
7185
+ description: string | null;
7186
+ workedMinutes: number | null;
7130
7187
  workspaceId: string;
7131
7188
  created_by: string;
7132
7189
  };
@@ -10212,6 +10269,36 @@ declare const routes: import("hono/hono-base").HonoBase<{
10212
10269
  status: 400;
10213
10270
  };
10214
10271
  };
10272
+ } & {
10273
+ "/remove-finance-account-image-background": {
10274
+ $post: {
10275
+ input: {
10276
+ json: {
10277
+ workspace: string;
10278
+ image: string;
10279
+ };
10280
+ };
10281
+ output: {
10282
+ success: false;
10283
+ error: string;
10284
+ };
10285
+ outputFormat: "json";
10286
+ status: 400;
10287
+ } | {
10288
+ input: {
10289
+ json: {
10290
+ workspace: string;
10291
+ image: string;
10292
+ };
10293
+ };
10294
+ output: {
10295
+ success: true;
10296
+ image: string;
10297
+ };
10298
+ outputFormat: "json";
10299
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10300
+ };
10301
+ };
10215
10302
  } & {
10216
10303
  "/finance-account-images/:workspace/:accountId": {
10217
10304
  $get: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.314",
3
+ "version": "0.0.316",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,