Skip to content

Commit 0849815

Browse files
authored
add invitee-employee and creator to invite payload (#72)
* add invitee-employee and creator to invite payload * bump version
1 parent 410bbf7 commit 0849815

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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": "@envoy/envoy-integrations-sdk",
3-
"version": "2.2.4",
3+
"version": "2.2.5",
44
"description": "SDK for building Envoy integrations.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/payloads/InvitePayload.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,15 @@ type InvitePayload = {
5858
'agreeable-ndas'?: {
5959
data: Array<JSONAPIData<'agreeable-ndas'>>,
6060
},
61-
'tenant'?: {
61+
tenant?: {
6262
data: JSONAPIData<'tenants'>,
6363
},
64+
'invitee-employee'?: {
65+
data: JSONAPIData<'employees'>,
66+
},
67+
creator?: {
68+
data: JSONAPIData<'users'>,
69+
},
6470
}
6571
};
6672

0 commit comments

Comments
 (0)