@lessly/sdk-app 50.0.0 → 50.1.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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-Dw0AIIZi.d.cts → client.gen-xvJrhIVe.d.cts} +4182 -1
- package/dist/{client.gen-Dw0AIIZi.d.ts → client.gen-xvJrhIVe.d.ts} +4182 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +128 -0
- package/dist/content/index.d.ts +128 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +529 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +529 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +529 -0
- package/src/gen/client.gen.ts +113 -0
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +3962 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ContentChannelsBindInput,
|
|
5
|
+
ContentChannelsGetInput,
|
|
6
|
+
ContentChannelsGetOutput,
|
|
7
|
+
ContentChannelsListInput,
|
|
8
|
+
ContentChannelsListOutput,
|
|
9
|
+
ContentChannelsResumeInput,
|
|
10
|
+
ContentChannelsUnbindInput,
|
|
11
|
+
ContentChannelsUpdateInput,
|
|
12
|
+
ContentMediaCreateUploadUrlInput,
|
|
13
|
+
ContentMediaFinalizeInput,
|
|
14
|
+
ContentMediaGetInput,
|
|
15
|
+
ContentMediaGetOutput,
|
|
16
|
+
ContentMediaListInput,
|
|
17
|
+
ContentMediaListOutput,
|
|
18
|
+
ContentMediaUploadInput,
|
|
19
|
+
ContentMetricsChannelSeriesInput,
|
|
20
|
+
ContentMetricsChannelSeriesOutput,
|
|
21
|
+
ContentMetricsPostSeriesInput,
|
|
22
|
+
ContentMetricsPostSeriesOutput,
|
|
23
|
+
ContentPostsApproveInput,
|
|
24
|
+
ContentPostsAttachMediaInput,
|
|
25
|
+
ContentPostsCreateInput,
|
|
26
|
+
ContentPostsDetachMediaInput,
|
|
27
|
+
ContentPostsGetInput,
|
|
28
|
+
ContentPostsGetOutput,
|
|
29
|
+
ContentPostsListInput,
|
|
30
|
+
ContentPostsListOutput,
|
|
31
|
+
ContentPostsSubmitInput,
|
|
32
|
+
ContentPostsUpdateInput,
|
|
33
|
+
ContentPostsVersionsInput,
|
|
34
|
+
ContentPostsVersionsOutput,
|
|
35
|
+
ContentPublicationsCancelInput,
|
|
36
|
+
ContentPublicationsConfirmInput,
|
|
37
|
+
ContentPublicationsGetInput,
|
|
38
|
+
ContentPublicationsGetOutput,
|
|
39
|
+
ContentPublicationsListInput,
|
|
40
|
+
ContentPublicationsListOutput,
|
|
41
|
+
ContentPublicationsPublishInput,
|
|
42
|
+
ContentPublicationsRemindInput,
|
|
43
|
+
ContentPublicationsRescheduleInput,
|
|
44
|
+
ContentPublicationsScheduleInput,
|
|
45
|
+
ContentPublicationsValidateInput,
|
|
46
|
+
ContentPublicationsValidateOutput,
|
|
47
|
+
} from '../types.gen';
|
|
48
|
+
|
|
49
|
+
export const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
+
mutationKey: ['content', 'channels', 'bind'],
|
|
51
|
+
mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({
|
|
55
|
+
queryKey: ['content', 'channels', 'get', input] as const,
|
|
56
|
+
queryFn: () => sdk['content']['channels']['get'](input),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({
|
|
60
|
+
queryKey: ['content', 'channels', 'list', input] as const,
|
|
61
|
+
queryFn: () => sdk['content']['channels']['list'](input),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
|
+
mutationKey: ['content', 'channels', 'resume'],
|
|
66
|
+
mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({
|
|
70
|
+
mutationKey: ['content', 'channels', 'unbind'],
|
|
71
|
+
mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
75
|
+
mutationKey: ['content', 'channels', 'update'],
|
|
76
|
+
mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({
|
|
80
|
+
mutationKey: ['content', 'media-create-upload', 'url'],
|
|
81
|
+
mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({
|
|
85
|
+
mutationKey: ['content', 'media', 'finalize'],
|
|
86
|
+
mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({
|
|
90
|
+
queryKey: ['content', 'media', 'get', input] as const,
|
|
91
|
+
queryFn: () => sdk['content']['media']['get'](input),
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({
|
|
95
|
+
queryKey: ['content', 'media', 'list', input] as const,
|
|
96
|
+
queryFn: () => sdk['content']['media']['list'](input),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({
|
|
100
|
+
mutationKey: ['content', 'media', 'upload'],
|
|
101
|
+
mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
export const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({
|
|
105
|
+
queryKey: ['content', 'metrics-channel', 'series', input] as const,
|
|
106
|
+
queryFn: () => sdk['content']['metrics-channel']['series'](input),
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({
|
|
110
|
+
queryKey: ['content', 'metrics-post', 'series', input] as const,
|
|
111
|
+
queryFn: () => sdk['content']['metrics-post']['series'](input),
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
export const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
115
|
+
mutationKey: ['content', 'posts', 'approve'],
|
|
116
|
+
mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
120
|
+
mutationKey: ['content', 'posts-attach', 'media'],
|
|
121
|
+
mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
export const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
125
|
+
mutationKey: ['content', 'posts', 'create'],
|
|
126
|
+
mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
export const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
130
|
+
mutationKey: ['content', 'posts-detach', 'media'],
|
|
131
|
+
mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
export const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({
|
|
135
|
+
queryKey: ['content', 'posts', 'get', input] as const,
|
|
136
|
+
queryFn: () => sdk['content']['posts']['get'](input),
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
export const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({
|
|
140
|
+
queryKey: ['content', 'posts', 'list', input] as const,
|
|
141
|
+
queryFn: () => sdk['content']['posts']['list'](input),
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
|
|
145
|
+
mutationKey: ['content', 'posts', 'submit'],
|
|
146
|
+
mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
150
|
+
mutationKey: ['content', 'posts', 'update'],
|
|
151
|
+
mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
export const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({
|
|
155
|
+
queryKey: ['content', 'posts', 'versions', input] as const,
|
|
156
|
+
queryFn: () => sdk['content']['posts']['versions'](input),
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
160
|
+
mutationKey: ['content', 'publications', 'cancel'],
|
|
161
|
+
mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
export const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({
|
|
165
|
+
mutationKey: ['content', 'publications', 'confirm'],
|
|
166
|
+
mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
export const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({
|
|
170
|
+
queryKey: ['content', 'publications', 'get', input] as const,
|
|
171
|
+
queryFn: () => sdk['content']['publications']['get'](input),
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
export const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({
|
|
175
|
+
queryKey: ['content', 'publications', 'list', input] as const,
|
|
176
|
+
queryFn: () => sdk['content']['publications']['list'](input),
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
180
|
+
mutationKey: ['content', 'publications', 'publish'],
|
|
181
|
+
mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
|
|
185
|
+
mutationKey: ['content', 'publications', 'remind'],
|
|
186
|
+
mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
export const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
190
|
+
mutationKey: ['content', 'publications', 'reschedule'],
|
|
191
|
+
mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
export const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
195
|
+
mutationKey: ['content', 'publications', 'schedule'],
|
|
196
|
+
mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
export const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({
|
|
200
|
+
queryKey: ['content', 'publications', 'validate', input] as const,
|
|
201
|
+
queryFn: () => sdk['content']['publications']['validate'](input),
|
|
202
|
+
});
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|