| 2029 | 2029 | | body: &[], |
| 2030 | 2030 | | }, |
| 2031 | 2031 | | Operation { |
| 2032 | | − | id: "create_invite", |
| 2033 | | − | method: "POST", |
| 2034 | | − | path: "/user/invites", |
| 2035 | | − | tag: "Invites", |
| 2036 | | − | summary: "Create an invite", |
| 2037 | | − | scope: Some("account:write"), |
| 2038 | | − | params: &[], |
| 2039 | | − | body: &[ |
| 2040 | | − | Field { name: "charge_workspace", kind: "string", required: false, values: &[] }, |
| 2041 | | − | Field { name: "email", kind: "string", required: false, values: &[] }, |
| 2042 | | − | Field { name: "workspace", kind: "string", required: false, values: &[] }, |
| 2043 | | − | ], |
| 2044 | | − | }, |
| 2045 | | − | Operation { |
| 2046 | 2032 | | id: "decline_invitation", |
| 2047 | 2033 | | method: "POST", |
| 2048 | 2034 | | path: "/user/invitations/{id}/decline", |
| ⋯ |
| 2076 | 2062 | | path: "/user/invitations", |
| 2077 | 2063 | | tag: "Invites", |
| 2078 | 2064 | | summary: "List your workspace invitations", |
| 2079 | | − | scope: Some("account:read"), |
| 2080 | | − | params: &[], |
| 2081 | | − | body: &[], |
| 2082 | | − | }, |
| 2083 | | − | Operation { |
| 2084 | | − | id: "list_invites", |
| 2085 | | − | method: "GET", |
| 2086 | | − | path: "/user/invites", |
| 2087 | | − | tag: "Invites", |
| 2088 | | − | summary: "List your invites", |
| 2089 | 2065 | | scope: Some("account:read"), |
| 2090 | 2066 | | params: &[], |
| 2091 | 2067 | | body: &[], |
| ⋯ |
| 2099 | 2075 | | scope: Some("workspace:read"), |
| 2100 | 2076 | | params: &[ |
| 2101 | 2077 | | Param { name: "workspace", location: In::Path, kind: "string", required: true, values: &[] }, |
| 2102 | | − | ], |
| 2103 | | − | body: &[], |
| 2104 | | − | }, |
| 2105 | | − | Operation { |
| 2106 | | − | id: "revoke_invite", |
| 2107 | | − | method: "DELETE", |
| 2108 | | − | path: "/user/invites/{id}", |
| 2109 | | − | tag: "Invites", |
| 2110 | | − | summary: "Revoke an invite", |
| 2111 | | − | scope: Some("account:write"), |
| 2112 | | − | params: &[ |
| 2113 | | − | Param { name: "id", location: In::Path, kind: "string", required: true, values: &[] }, |
| 2114 | 2078 | | ], |
| 2115 | 2079 | | body: &[], |
| 2116 | 2080 | | }, |