@lessly/sdk-app 105.13.0 → 105.14.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.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-KDAKYDBP.js';
1
+ import { wsBindings } from '../chunk-A7WRKJPH.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "105.13.0",
4
+ "version": "105.14.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -220,5 +220,5 @@
220
220
  }
221
221
  }
222
222
  },
223
- "sdkContentHash": "sha256:67d355421dafba604be686882058a0cbdd0f78b1c2743f0c352ba3707ef8bdca"
223
+ "sdkContentHash": "sha256:7d9714f1af50ba8bc459d4469fee7fceed254e16f4a0c68a7f992425254c213b"
224
224
  }
@@ -2063,6 +2063,25 @@ export const bindings: BindingsMap = {
2063
2063
  "readOnly": false
2064
2064
  }
2065
2065
  },
2066
+ "posts-skip": {
2067
+ "output": {
2068
+ "level": "write",
2069
+ "method": "POST",
2070
+ "operationKey": "content_posts_skip_output",
2071
+ "params": [
2072
+ {
2073
+ "in": "path",
2074
+ "name": "postId"
2075
+ },
2076
+ {
2077
+ "in": "body",
2078
+ "name": "variantId"
2079
+ }
2080
+ ],
2081
+ "path": "/content/posts/:postId/skip-output",
2082
+ "readOnly": false
2083
+ }
2084
+ },
2066
2085
  "posts-to": {
2067
2086
  "draft": {
2068
2087
  "level": "write",
@@ -2091,6 +2110,25 @@ export const bindings: BindingsMap = {
2091
2110
  "readOnly": false
2092
2111
  }
2093
2112
  },
2113
+ "posts-unskip": {
2114
+ "output": {
2115
+ "level": "write",
2116
+ "method": "POST",
2117
+ "operationKey": "content_posts_unskip_output",
2118
+ "params": [
2119
+ {
2120
+ "in": "path",
2121
+ "name": "postId"
2122
+ },
2123
+ {
2124
+ "in": "body",
2125
+ "name": "variantId"
2126
+ }
2127
+ ],
2128
+ "path": "/content/posts/:postId/unskip-output",
2129
+ "readOnly": false
2130
+ }
2131
+ },
2094
2132
  "publications": {
2095
2133
  "cancel": {
2096
2134
  "level": "write",
@@ -2205,6 +2243,39 @@ export const bindings: BindingsMap = {
2205
2243
  "path": "/content/publications/publish",
2206
2244
  "readOnly": false
2207
2245
  },
2246
+ "record": {
2247
+ "level": "write",
2248
+ "method": "POST",
2249
+ "operationKey": "content_publications_record",
2250
+ "params": [
2251
+ {
2252
+ "in": "body",
2253
+ "name": "postId"
2254
+ },
2255
+ {
2256
+ "in": "body",
2257
+ "name": "variantId"
2258
+ },
2259
+ {
2260
+ "in": "body",
2261
+ "name": "channelId"
2262
+ },
2263
+ {
2264
+ "in": "body",
2265
+ "name": "externalUrl"
2266
+ },
2267
+ {
2268
+ "in": "body",
2269
+ "name": "externalId"
2270
+ },
2271
+ {
2272
+ "in": "body",
2273
+ "name": "publishedAt"
2274
+ }
2275
+ ],
2276
+ "path": "/content/publications/record",
2277
+ "readOnly": false
2278
+ },
2208
2279
  "remind": {
2209
2280
  "level": "write",
2210
2281
  "method": "POST",
@@ -199,12 +199,16 @@ import type {
199
199
  ContentPostsListOutput,
200
200
  ContentPostsMoveInput,
201
201
  ContentPostsMoveOutput,
202
+ ContentPostsSkipOutputInput,
203
+ ContentPostsSkipOutputOutput,
202
204
  ContentPostsSubmitInput,
203
205
  ContentPostsSubmitOutput,
204
206
  ContentPostsToDraftInput,
205
207
  ContentPostsToDraftOutput,
206
208
  ContentPostsToIdeaInput,
207
209
  ContentPostsToIdeaOutput,
210
+ ContentPostsUnskipOutputInput,
211
+ ContentPostsUnskipOutputOutput,
208
212
  ContentPostsUpdateInput,
209
213
  ContentPostsUpdateOutput,
210
214
  ContentPostsVersionsInput,
@@ -219,6 +223,8 @@ import type {
219
223
  ContentPublicationsListOutput,
220
224
  ContentPublicationsPublishInput,
221
225
  ContentPublicationsPublishOutput,
226
+ ContentPublicationsRecordInput,
227
+ ContentPublicationsRecordOutput,
222
228
  ContentPublicationsRemindInput,
223
229
  ContentPublicationsRemindOutput,
224
230
  ContentPublicationsRescheduleInput,
@@ -1495,16 +1501,23 @@ export interface GeneratedClient {
1495
1501
  'posts-detach': {
1496
1502
  media: ((input: ContentPostsDetachMediaInput) => Promise<ContentPostsDetachMediaOutput>) & Operation;
1497
1503
  };
1504
+ 'posts-skip': {
1505
+ output: ((input: ContentPostsSkipOutputInput) => Promise<ContentPostsSkipOutputOutput>) & Operation;
1506
+ };
1498
1507
  'posts-to': {
1499
1508
  draft: ((input: ContentPostsToDraftInput) => Promise<ContentPostsToDraftOutput>) & Operation;
1500
1509
  idea: ((input: ContentPostsToIdeaInput) => Promise<ContentPostsToIdeaOutput>) & Operation;
1501
1510
  };
1511
+ 'posts-unskip': {
1512
+ output: ((input: ContentPostsUnskipOutputInput) => Promise<ContentPostsUnskipOutputOutput>) & Operation;
1513
+ };
1502
1514
  publications: {
1503
1515
  cancel: ((input: ContentPublicationsCancelInput) => Promise<ContentPublicationsCancelOutput>) & Operation;
1504
1516
  confirm: ((input: ContentPublicationsConfirmInput) => Promise<ContentPublicationsConfirmOutput>) & Operation;
1505
1517
  get: ((input: ContentPublicationsGetInput) => Promise<ContentPublicationsGetOutput>) & Operation;
1506
1518
  list: ((input: ContentPublicationsListInput) => Promise<ContentPublicationsListOutput>) & Operation;
1507
1519
  publish: ((input: ContentPublicationsPublishInput) => Promise<ContentPublicationsPublishOutput>) & Operation;
1520
+ record: ((input: ContentPublicationsRecordInput) => Promise<ContentPublicationsRecordOutput>) & Operation;
1508
1521
  remind: ((input: ContentPublicationsRemindInput) => Promise<ContentPublicationsRemindOutput>) & Operation;
1509
1522
  reschedule: ((input: ContentPublicationsRescheduleInput) => Promise<ContentPublicationsRescheduleOutput>) & Operation;
1510
1523
  schedule: ((input: ContentPublicationsScheduleInput) => Promise<ContentPublicationsScheduleOutput>) & Operation;
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentFoldersCreateInput, ContentFoldersCreateOutput, ContentFoldersDeleteInput, ContentFoldersDeleteOutput, ContentFoldersListInput, ContentFoldersListOutput, ContentFoldersUpdateInput, ContentFoldersUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDeleteInput, ContentPostsDeleteOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsMoveInput, ContentPostsMoveOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsToDraftInput, ContentPostsToDraftOutput, ContentPostsToIdeaInput, ContentPostsToIdeaOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
3
+ export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentFoldersCreateInput, ContentFoldersCreateOutput, ContentFoldersDeleteInput, ContentFoldersDeleteOutput, ContentFoldersListInput, ContentFoldersListOutput, ContentFoldersUpdateInput, ContentFoldersUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDeleteInput, ContentPostsDeleteOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsMoveInput, ContentPostsMoveOutput, ContentPostsSkipOutputInput, ContentPostsSkipOutputOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsToDraftInput, ContentPostsToDraftOutput, ContentPostsToIdeaInput, ContentPostsToIdeaOutput, ContentPostsUnskipOutputInput, ContentPostsUnskipOutputOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRecordInput, ContentPublicationsRecordOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
@@ -35,9 +35,11 @@ import type {
35
35
  ContentPostsListInput,
36
36
  ContentPostsListOutput,
37
37
  ContentPostsMoveInput,
38
+ ContentPostsSkipOutputInput,
38
39
  ContentPostsSubmitInput,
39
40
  ContentPostsToDraftInput,
40
41
  ContentPostsToIdeaInput,
42
+ ContentPostsUnskipOutputInput,
41
43
  ContentPostsUpdateInput,
42
44
  ContentPostsVersionsInput,
43
45
  ContentPostsVersionsOutput,
@@ -48,6 +50,7 @@ import type {
48
50
  ContentPublicationsListInput,
49
51
  ContentPublicationsListOutput,
50
52
  ContentPublicationsPublishInput,
53
+ ContentPublicationsRecordInput,
51
54
  ContentPublicationsRemindInput,
52
55
  ContentPublicationsRescheduleInput,
53
56
  ContentPublicationsScheduleInput,
@@ -180,6 +183,11 @@ export const contentPostsMoveMutationOptions = (sdk: GeneratedClient) => ({
180
183
  mutationFn: (input: ContentPostsMoveInput) => sdk['content']['posts']['move'](input),
181
184
  });
182
185
 
186
+ export const contentPostsSkipOutputMutationOptions = (sdk: GeneratedClient) => ({
187
+ mutationKey: ['content', 'posts-skip', 'output'],
188
+ mutationFn: (input: ContentPostsSkipOutputInput) => sdk['content']['posts-skip']['output'](input),
189
+ });
190
+
183
191
  export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
184
192
  mutationKey: ['content', 'posts', 'submit'],
185
193
  mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
@@ -195,6 +203,11 @@ export const contentPostsToIdeaMutationOptions = (sdk: GeneratedClient) => ({
195
203
  mutationFn: (input: ContentPostsToIdeaInput) => sdk['content']['posts-to']['idea'](input),
196
204
  });
197
205
 
206
+ export const contentPostsUnskipOutputMutationOptions = (sdk: GeneratedClient) => ({
207
+ mutationKey: ['content', 'posts-unskip', 'output'],
208
+ mutationFn: (input: ContentPostsUnskipOutputInput) => sdk['content']['posts-unskip']['output'](input),
209
+ });
210
+
198
211
  export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
199
212
  mutationKey: ['content', 'posts', 'update'],
200
213
  mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
@@ -230,6 +243,11 @@ export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient)
230
243
  mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
231
244
  });
232
245
 
246
+ export const contentPublicationsRecordMutationOptions = (sdk: GeneratedClient) => ({
247
+ mutationKey: ['content', 'publications', 'record'],
248
+ mutationFn: (input: ContentPublicationsRecordInput) => sdk['content']['publications']['record'](input),
249
+ });
250
+
233
251
  export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
234
252
  mutationKey: ['content', 'publications', 'remind'],
235
253
  mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
@@ -103,9 +103,11 @@ export const operations: Record<string, ToolLevel> = {
103
103
  'content_posts_get': 'read',
104
104
  'content_posts_list': 'read',
105
105
  'content_posts_move': 'admin',
106
+ 'content_posts_skip_output': 'write',
106
107
  'content_posts_submit': 'write',
107
108
  'content_posts_to_draft': 'write',
108
109
  'content_posts_to_idea': 'write',
110
+ 'content_posts_unskip_output': 'write',
109
111
  'content_posts_update': 'write',
110
112
  'content_posts_versions': 'read',
111
113
  'content_publications_cancel': 'write',
@@ -113,6 +115,7 @@ export const operations: Record<string, ToolLevel> = {
113
115
  'content_publications_get': 'read',
114
116
  'content_publications_list': 'read',
115
117
  'content_publications_publish': 'write',
118
+ 'content_publications_record': 'write',
116
119
  'content_publications_remind': 'write',
117
120
  'content_publications_reschedule': 'write',
118
121
  'content_publications_schedule': 'write',