Skip to content

Commit 929ba01

Browse files
committed
Update openapi sdk
1 parent a2dad89 commit 929ba01

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@libertech-fr/mailrest",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "An email retrieval system with a REST API built with NestJS in NodeJS",
55
"contributors": [
66
{

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@libertech-fr/mailrest-sdk",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"description": "SDK package for MailRest API",
55
"contributors": [
66
{

packages/sdk/src/mailrest-api.ts

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@ export interface components {
123123
statusCode: 404;
124124
message: string;
125125
};
126+
AccountSubmitedDto: {
127+
accepted: string[];
128+
rejected: string[];
129+
ehlo: string[];
130+
envelopeTime: number;
131+
messageTime: number;
132+
messageSize: number;
133+
response: string;
134+
envelope: Record<string, never>;
135+
messageId: string;
136+
};
126137
AccountSubmitDto: {
127138
to: string[];
128139
cc: string[];
@@ -358,8 +369,20 @@ export interface operations {
358369
};
359370
};
360371
responses: {
361-
201: {
362-
content: never;
372+
200: {
373+
content: {
374+
"application/json": {
375+
/** @enum {number} */
376+
statusCode?: 200;
377+
data?: components["schemas"]["AccountSubmitedDto"];
378+
};
379+
};
380+
};
381+
/** @description Item not found */
382+
404: {
383+
content: {
384+
"application/json": components["schemas"]["NotFoundDto"];
385+
};
363386
};
364387
};
365388
};

0 commit comments

Comments
 (0)