@lessly/sdk-app 81.0.0 → 81.0.1
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.
- package/dist/_types/gen/client.gen.d.ts +44 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/support/index.d.ts +1 -1
- package/dist/_types/gen/support/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +5811 -440
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +13 -1
- package/dist/chunk-RUEYSS2X.js +11486 -0
- package/dist/chunk-RUEYSS2X.js.map +1 -0
- package/dist/index.cjs +359 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +72 -11232
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/support/index.cjs +15 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.js +13 -1
- package/dist/support/index.js.map +1 -1
- package/dist/users/index.cjs +15 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +13 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +298 -1
- package/src/gen/client.gen.ts +89 -0
- package/src/gen/manifest.gen.ts +71 -48
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/support/index.ts +1 -1
- package/src/gen/support/queryOptions.gen.ts +21 -0
- package/src/gen/types.gen.ts +5974 -545
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +21 -0
|
@@ -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),
|