@lessly/sdk-app 78.0.0 → 80.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,9 +10,13 @@ import type {
10
10
  SupportAttachmentCreateInput,
11
11
  SupportAttachmentFinalizeInput,
12
12
  SupportLabelCreateInput,
13
+ SupportLabelGetInput,
14
+ SupportLabelGetOutput,
13
15
  SupportLabelListInput,
14
16
  SupportLabelListOutput,
15
17
  SupportMessageCreateInput,
18
+ SupportMessageGetInput,
19
+ SupportMessageGetOutput,
16
20
  SupportMessageListInput,
17
21
  SupportMessageListOutput,
18
22
  SupportResponseEscalateInput,
@@ -29,6 +33,8 @@ import type {
29
33
  SupportRuleUpdateInput,
30
34
  SupportStatusArchiveInput,
31
35
  SupportStatusCreateInput,
36
+ SupportStatusGetInput,
37
+ SupportStatusGetOutput,
32
38
  SupportStatusListInput,
33
39
  SupportStatusListOutput,
34
40
  SupportStatusUpdateInput,
@@ -99,6 +105,11 @@ export const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({
99
105
  mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),
100
106
  });
101
107
 
108
+ export const supportLabelGetQueryOptions = (sdk: GeneratedClient, input: SupportLabelGetInput) => ({
109
+ queryKey: ['support', 'label', 'get', input] as const,
110
+ queryFn: () => sdk['support']['label']['get'](input),
111
+ });
112
+
102
113
  export const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({
103
114
  queryKey: ['support', 'label', 'list', input] as const,
104
115
  queryFn: () => sdk['support']['label']['list'](input),
@@ -109,6 +120,11 @@ export const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({
109
120
  mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),
110
121
  });
111
122
 
123
+ export const supportMessageGetQueryOptions = (sdk: GeneratedClient, input: SupportMessageGetInput) => ({
124
+ queryKey: ['support', 'message', 'get', input] as const,
125
+ queryFn: () => sdk['support']['message']['get'](input),
126
+ });
127
+
112
128
  export const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({
113
129
  queryKey: ['support', 'message', 'list', input] as const,
114
130
  queryFn: () => sdk['support']['message']['list'](input),
@@ -164,6 +180,11 @@ export const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({
164
180
  mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),
165
181
  });
166
182
 
183
+ export const supportStatusGetQueryOptions = (sdk: GeneratedClient, input: SupportStatusGetInput) => ({
184
+ queryKey: ['support', 'status', 'get', input] as const,
185
+ queryFn: () => sdk['support']['status']['get'](input),
186
+ });
187
+
167
188
  export const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({
168
189
  queryKey: ['support', 'status', 'list', input] as const,
169
190
  queryFn: () => sdk['support']['status']['list'](input),