1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.blebbit.authr.group.deleteGroup
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[derive(
9 serde::Serialize,
10 serde::Deserialize,
11 Debug,
12 Clone,
13 PartialEq,
14 Eq,
15 bon::Builder,
16 jacquard_derive::IntoStatic
17)]
18#[builder(start_fn = new)]
19#[serde(rename_all = "camelCase")]
20pub struct DeleteGroupParams<'a> {
21 #[serde(skip_serializing_if = "std::option::Option::is_none")]
22 #[serde(borrow)]
23 #[builder(into)]
24 pub id: std::option::Option<jacquard_common::CowStr<'a>>,
25}
26
27/// XRPC request marker type
28#[derive(
29 Debug,
30 Clone,
31 Copy,
32 PartialEq,
33 Eq,
34 serde::Serialize,
35 serde::Deserialize,
36 jacquard_derive::IntoStatic
37)]
38pub struct DeleteGroup;
39///Response type for
40///app.blebbit.authr.group.deleteGroup
41pub struct DeleteGroupResponse;
42impl jacquard_common::xrpc::XrpcResp for DeleteGroupResponse {
43 const NSID: &'static str = "app.blebbit.authr.group.deleteGroup";
44 const ENCODING: &'static str = "application/json";
45 type Output<'de> = ();
46 type Err<'de> = jacquard_common::xrpc::GenericError<'de>;
47}
48
49impl<'de> jacquard_common::xrpc::XrpcRequest<'de> for DeleteGroup {
50 const NSID: &'static str = "app.blebbit.authr.group.deleteGroup";
51 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
52 "application/json",
53 );
54 type Response = DeleteGroupResponse;
55}
56
57///Endpoint type for
58///app.blebbit.authr.group.deleteGroup
59pub struct DeleteGroupRequest;
60impl jacquard_common::xrpc::XrpcEndpoint for DeleteGroupRequest {
61 const PATH: &'static str = "/xrpc/app.blebbit.authr.group.deleteGroup";
62 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
63 "application/json",
64 );
65 type Request<'de> = DeleteGroup;
66 type Response = DeleteGroupResponse;
67}