@mestra-dev/contract 0.0.161 → 0.0.162
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 +174 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19107,6 +19107,180 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
19107
19107
|
};
|
|
19108
19108
|
};
|
|
19109
19109
|
}, "/cinvoices"> | import("hono/types").MergeSchemaPath<{
|
|
19110
|
+
"/create": {
|
|
19111
|
+
$post: {
|
|
19112
|
+
input: {};
|
|
19113
|
+
output: {
|
|
19114
|
+
success: false;
|
|
19115
|
+
error: string;
|
|
19116
|
+
};
|
|
19117
|
+
outputFormat: "json";
|
|
19118
|
+
status: 404;
|
|
19119
|
+
} | {
|
|
19120
|
+
input: {};
|
|
19121
|
+
output: {
|
|
19122
|
+
success: false;
|
|
19123
|
+
error: string;
|
|
19124
|
+
};
|
|
19125
|
+
outputFormat: "json";
|
|
19126
|
+
status: 400;
|
|
19127
|
+
} | {
|
|
19128
|
+
input: {};
|
|
19129
|
+
output: {
|
|
19130
|
+
success: true;
|
|
19131
|
+
history: {
|
|
19132
|
+
id: string;
|
|
19133
|
+
created_at: string;
|
|
19134
|
+
workspaceId: string;
|
|
19135
|
+
created_by: string;
|
|
19136
|
+
customerId: string;
|
|
19137
|
+
serviceId: string;
|
|
19138
|
+
date: string;
|
|
19139
|
+
updated_at: string | null;
|
|
19140
|
+
deleted_at: string | null;
|
|
19141
|
+
verified_at: string | null;
|
|
19142
|
+
suspended_at: string | null;
|
|
19143
|
+
notes: string | null;
|
|
19144
|
+
}[];
|
|
19145
|
+
};
|
|
19146
|
+
outputFormat: "json";
|
|
19147
|
+
status: 201;
|
|
19148
|
+
};
|
|
19149
|
+
};
|
|
19150
|
+
} & {
|
|
19151
|
+
"/list/:workspace/:customerId": {
|
|
19152
|
+
$get: {
|
|
19153
|
+
input: {
|
|
19154
|
+
param: {
|
|
19155
|
+
workspace: string;
|
|
19156
|
+
} & {
|
|
19157
|
+
customerId: string;
|
|
19158
|
+
};
|
|
19159
|
+
};
|
|
19160
|
+
output: {
|
|
19161
|
+
success: false;
|
|
19162
|
+
error: string;
|
|
19163
|
+
};
|
|
19164
|
+
outputFormat: "json";
|
|
19165
|
+
status: 404;
|
|
19166
|
+
} | {
|
|
19167
|
+
input: {
|
|
19168
|
+
param: {
|
|
19169
|
+
workspace: string;
|
|
19170
|
+
} & {
|
|
19171
|
+
customerId: string;
|
|
19172
|
+
};
|
|
19173
|
+
};
|
|
19174
|
+
output: {
|
|
19175
|
+
success: false;
|
|
19176
|
+
error: string;
|
|
19177
|
+
};
|
|
19178
|
+
outputFormat: "json";
|
|
19179
|
+
status: 400;
|
|
19180
|
+
} | {
|
|
19181
|
+
input: {
|
|
19182
|
+
param: {
|
|
19183
|
+
workspace: string;
|
|
19184
|
+
} & {
|
|
19185
|
+
customerId: string;
|
|
19186
|
+
};
|
|
19187
|
+
};
|
|
19188
|
+
output: {
|
|
19189
|
+
success: true;
|
|
19190
|
+
history: {
|
|
19191
|
+
createdBy: {
|
|
19192
|
+
id: string;
|
|
19193
|
+
firstName: string | null;
|
|
19194
|
+
lastName: string | null;
|
|
19195
|
+
profilePicture: string | null;
|
|
19196
|
+
} | null;
|
|
19197
|
+
updated_at: string | null;
|
|
19198
|
+
deleted_at: string | null;
|
|
19199
|
+
verified_at: string | null;
|
|
19200
|
+
suspended_at: string | null;
|
|
19201
|
+
created_at: string;
|
|
19202
|
+
id: string;
|
|
19203
|
+
workspaceId: string;
|
|
19204
|
+
customerId: string;
|
|
19205
|
+
serviceId: string;
|
|
19206
|
+
notes: string | null;
|
|
19207
|
+
date: string;
|
|
19208
|
+
created_by: string;
|
|
19209
|
+
}[];
|
|
19210
|
+
};
|
|
19211
|
+
outputFormat: "json";
|
|
19212
|
+
status: 200;
|
|
19213
|
+
};
|
|
19214
|
+
};
|
|
19215
|
+
} & {
|
|
19216
|
+
"/update": {
|
|
19217
|
+
$post: {
|
|
19218
|
+
input: {};
|
|
19219
|
+
output: {
|
|
19220
|
+
success: false;
|
|
19221
|
+
error: string;
|
|
19222
|
+
};
|
|
19223
|
+
outputFormat: "json";
|
|
19224
|
+
status: 404;
|
|
19225
|
+
} | {
|
|
19226
|
+
input: {};
|
|
19227
|
+
output: {
|
|
19228
|
+
success: false;
|
|
19229
|
+
error: string;
|
|
19230
|
+
};
|
|
19231
|
+
outputFormat: "json";
|
|
19232
|
+
status: 400;
|
|
19233
|
+
} | {
|
|
19234
|
+
input: {};
|
|
19235
|
+
output: {
|
|
19236
|
+
success: true;
|
|
19237
|
+
history: {
|
|
19238
|
+
updated_at: string | null;
|
|
19239
|
+
deleted_at: string | null;
|
|
19240
|
+
verified_at: string | null;
|
|
19241
|
+
suspended_at: string | null;
|
|
19242
|
+
created_at: string;
|
|
19243
|
+
id: string;
|
|
19244
|
+
workspaceId: string;
|
|
19245
|
+
customerId: string;
|
|
19246
|
+
serviceId: string;
|
|
19247
|
+
notes: string | null;
|
|
19248
|
+
date: string;
|
|
19249
|
+
created_by: string;
|
|
19250
|
+
}[];
|
|
19251
|
+
};
|
|
19252
|
+
outputFormat: "json";
|
|
19253
|
+
status: 200;
|
|
19254
|
+
};
|
|
19255
|
+
};
|
|
19256
|
+
} & {
|
|
19257
|
+
"/delete": {
|
|
19258
|
+
$post: {
|
|
19259
|
+
input: {};
|
|
19260
|
+
output: {
|
|
19261
|
+
success: false;
|
|
19262
|
+
error: string;
|
|
19263
|
+
};
|
|
19264
|
+
outputFormat: "json";
|
|
19265
|
+
status: 404;
|
|
19266
|
+
} | {
|
|
19267
|
+
input: {};
|
|
19268
|
+
output: {
|
|
19269
|
+
success: false;
|
|
19270
|
+
error: string;
|
|
19271
|
+
};
|
|
19272
|
+
outputFormat: "json";
|
|
19273
|
+
status: 400;
|
|
19274
|
+
} | {
|
|
19275
|
+
input: {};
|
|
19276
|
+
output: {
|
|
19277
|
+
success: true;
|
|
19278
|
+
};
|
|
19279
|
+
outputFormat: "json";
|
|
19280
|
+
status: 200;
|
|
19281
|
+
};
|
|
19282
|
+
};
|
|
19283
|
+
}, "/chistory"> | import("hono/types").MergeSchemaPath<{
|
|
19110
19284
|
"/list/:workspace": {
|
|
19111
19285
|
$get: {
|
|
19112
19286
|
input: {
|