Browse Source

fix: add missing resent invite api

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1752/head
Wing-Kam Wong 3 years ago
parent
commit
49d4d3ce97
  1. 23
      packages/nocodb-sdk/src/lib/Api.ts
  2. 45
      scripts/sdk/swagger.json

23
packages/nocodb-sdk/src/lib/Api.ts

@ -1063,6 +1063,29 @@ export class Api<
format: 'json', format: 'json',
...params, ...params,
}), }),
/**
* @description Resend Invitation to a specific user
*
* @tags Auth
* @name ProjectUserResendInvite
* @request POST:/api/v1/db/meta/projects/{projectId}/users/{userId}/resend-invite
* @response `200` `any` OK
*/
projectUserResendInvite: (
projectId: string,
userId: string,
data: any,
params: RequestParams = {}
) =>
this.request<any, any>({
path: `/api/v1/db/meta/projects/${projectId}/users/${userId}/resend-invite`,
method: 'POST',
body: data,
type: ContentType.Json,
format: 'json',
...params,
}),
}; };
project = { project = {
/** /**

45
scripts/sdk/swagger.json

@ -4821,6 +4821,51 @@
} }
] ]
} }
},
"/api/v1/db/meta/projects/{projectId}/users/{userId}/resend-invite": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "projectId",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "userId",
"in": "path",
"required": true
}
],
"post": {
"summary": "",
"operationId": "auth-project-user-resend-invite",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {}
}
}
}
},
"tags": [
"Auth"
],
"description": "Resend Invitation to a specific user",
"requestBody": {
"content": {
"application/json": {
"schema": {}
}
}
}
}
} }
}, },
"components": { "components": {

Loading…
Cancel
Save