@lessly/sdk-app 122.6.0 → 122.7.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.
@@ -386157,6 +386157,7 @@ export interface OrganizationGithubInstallInput {
386157
386157
  }
386158
386158
  export interface OrganizationGithubInstallOutput {
386159
386159
  url: string;
386160
+ notice: string;
386160
386161
  status: ("install_required" | "already_connected");
386161
386162
  canAttach: boolean;
386162
386163
  connectors: {
@@ -389025,6 +389026,332 @@ export interface OrganizationYoutubeInstallInput {
389025
389026
  export interface OrganizationYoutubeInstallOutput {
389026
389027
  url: string;
389027
389028
  }
389029
+ export interface PlaygroundAnalyticsOverviewInput {
389030
+ /**
389031
+ * Max records per entity in recent[]; omit for the endpoint default
389032
+ */
389033
+ limit?: number;
389034
+ }
389035
+ export interface PlaygroundAnalyticsOverviewOutput {
389036
+ ok: boolean;
389037
+ minted: boolean;
389038
+ overview?: unknown;
389039
+ http_status: number;
389040
+ }
389041
+ export interface PlaygroundBillingEntitlementsInput {
389042
+ }
389043
+ export interface PlaygroundBillingEntitlementsOutput {
389044
+ ok: boolean;
389045
+ minted: boolean;
389046
+ http_status: number;
389047
+ entitlements?: unknown;
389048
+ }
389049
+ export interface PlaygroundBillingRecordUsageInput {
389050
+ /**
389051
+ * Quantity of events to record against playground-events (SUM); defaults to 1
389052
+ */
389053
+ value?: number;
389054
+ }
389055
+ export interface PlaygroundBillingRecordUsageOutput {
389056
+ minted: boolean;
389057
+ accepted: (number | null);
389058
+ recorded: boolean;
389059
+ duplicates: (number | null);
389060
+ http_status: number;
389061
+ }
389062
+ export interface PlaygroundClickupCreateTaskInput {
389063
+ /**
389064
+ * Task title; defaults to a fixture label
389065
+ */
389066
+ name?: string;
389067
+ /**
389068
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
389069
+ */
389070
+ listId?: string;
389071
+ }
389072
+ export interface PlaygroundClickupCreateTaskOutput {
389073
+ minted: boolean;
389074
+ task_id: (string | null);
389075
+ list_status: number;
389076
+ vend_status: number;
389077
+ clickup_status: number;
389078
+ installation_count: number;
389079
+ }
389080
+ export interface PlaygroundClickupGetLastWebhookInput {
389081
+ }
389082
+ export type PlaygroundClickupGetLastWebhookOutput = ({
389083
+ payload: string;
389084
+ event_id: string;
389085
+ provider: string;
389086
+ verified: boolean;
389087
+ product_id: string;
389088
+ occurred_at: string;
389089
+ connector_id: string;
389090
+ clickup_event: (string | null);
389091
+ receipt_count: number;
389092
+ } | {
389093
+ found: false;
389094
+ });
389095
+ export interface PlaygroundClickupGetOverviewInput {
389096
+ }
389097
+ export interface PlaygroundClickupGetOverviewOutput {
389098
+ team: ({
389099
+ teamId: string;
389100
+ teamName: string;
389101
+ } | null);
389102
+ lists: PlaygroundClickupGetOverviewOutputItems[];
389103
+ tasks: {
389104
+ id: string;
389105
+ name: string;
389106
+ status: (string | null);
389107
+ }[];
389108
+ minted: boolean;
389109
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
389110
+ list_status: number;
389111
+ vend_status: number;
389112
+ lists_status: number;
389113
+ tasks_status: number;
389114
+ spaces_status: number;
389115
+ folders_status: number;
389116
+ installation_count: number;
389117
+ }
389118
+ export interface PlaygroundClickupGetOverviewOutputItems {
389119
+ id: string;
389120
+ name: string;
389121
+ }
389122
+ export interface PlaygroundEchoPingInput {
389123
+ /**
389124
+ * The text to echo back, 1–1024 characters
389125
+ */
389126
+ message: string;
389127
+ }
389128
+ export interface PlaygroundEchoPingOutput {
389129
+ /**
389130
+ * The message exactly as it was received
389131
+ */
389132
+ message: string;
389133
+ /**
389134
+ * The product the call was resolved to
389135
+ */
389136
+ productId: string;
389137
+ /**
389138
+ * ISO-8601 instant (UTC) at which the call reached the service
389139
+ */
389140
+ receivedAt: string;
389141
+ }
389142
+ export interface PlaygroundGdriveGetLastChangeInput {
389143
+ }
389144
+ export type PlaygroundGdriveGetLastChangeOutput = ({
389145
+ file_id: string;
389146
+ removed: boolean;
389147
+ file_name: (string | null);
389148
+ mime_type: (string | null);
389149
+ product_id: string;
389150
+ occurred_at: string;
389151
+ connector_id: string;
389152
+ resource_state: string;
389153
+ } | {
389154
+ found: false;
389155
+ });
389156
+ export interface PlaygroundGdriveReadFileInput {
389157
+ /**
389158
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
389159
+ */
389160
+ fileId?: string;
389161
+ }
389162
+ export interface PlaygroundGdriveReadFileOutput {
389163
+ minted: boolean;
389164
+ file_id: (string | null);
389165
+ file_name: (string | null);
389166
+ mime_type: (string | null);
389167
+ file_count: number;
389168
+ get_status: number;
389169
+ list_status: number;
389170
+ vend_status: number;
389171
+ content_bytes: (number | null);
389172
+ }
389173
+ export interface PlaygroundGoogleadsReadCustomerInput {
389174
+ }
389175
+ export interface PlaygroundGoogleadsReadCustomerOutput {
389176
+ minted: boolean;
389177
+ vended: boolean;
389178
+ customer_id: (string | null);
389179
+ vend_status: number;
389180
+ result_count: number;
389181
+ search_status: number;
389182
+ login_customer_id: (string | null);
389183
+ }
389184
+ export interface PlaygroundLifecycleGetStateInput {
389185
+ }
389186
+ export interface PlaygroundLifecycleGetStateOutput {
389187
+ blocked: boolean;
389188
+ archived: boolean;
389189
+ productId: string;
389190
+ lastBlockTransition: ({
389191
+ eventId: string;
389192
+ eventName: string;
389193
+ productId: string;
389194
+ occurredAt: string;
389195
+ recordedAt: string;
389196
+ receiptCount: number;
389197
+ organizationId: string;
389198
+ cascadedFromOrg: boolean;
389199
+ } | null);
389200
+ lastArchiveTransition: ({
389201
+ eventId: string;
389202
+ eventName: string;
389203
+ productId: string;
389204
+ occurredAt: string;
389205
+ recordedAt: string;
389206
+ receiptCount: number;
389207
+ organizationId: string;
389208
+ cascadedFromOrg: boolean;
389209
+ } | null);
389210
+ }
389211
+ export interface PlaygroundLifecycleListEventsInput {
389212
+ }
389213
+ export type PlaygroundLifecycleListEventsOutput = {
389214
+ eventId: string;
389215
+ eventName: string;
389216
+ productId: string;
389217
+ occurredAt: string;
389218
+ recordedAt: string;
389219
+ receiptCount: number;
389220
+ organizationId: string;
389221
+ cascadedFromOrg: boolean;
389222
+ }[];
389223
+ export interface PlaygroundWebhookGetLastInput {
389224
+ }
389225
+ export type PlaygroundWebhookGetLastOutput = ({
389226
+ payload?: unknown;
389227
+ event_id: string;
389228
+ provider: string;
389229
+ verified: boolean;
389230
+ product_id: string;
389231
+ occurred_at: string;
389232
+ connector_id: string;
389233
+ delivery_count: number;
389234
+ } | {
389235
+ found: false;
389236
+ });
389237
+ export interface PlaygroundWorkflowEchoInput {
389238
+ /**
389239
+ * The text to store, 1–1024 characters
389240
+ */
389241
+ note: string;
389242
+ /**
389243
+ * Optional labels stored alongside the note, at most 20
389244
+ *
389245
+ * @maxItems 20
389246
+ */
389247
+ tags?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
389248
+ }
389249
+ export interface PlaygroundWorkflowEchoOutput {
389250
+ /**
389251
+ * Identifier of the stored echo
389252
+ */
389253
+ id: string;
389254
+ /**
389255
+ * The note exactly as it was received
389256
+ */
389257
+ note: string;
389258
+ /**
389259
+ * The tags exactly as they were received
389260
+ */
389261
+ tags: string[];
389262
+ /**
389263
+ * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
389264
+ */
389265
+ echo_id: string;
389266
+ /**
389267
+ * ISO-8601 instant (UTC) at which the echo was stored
389268
+ */
389269
+ received_at: string;
389270
+ }
389271
+ export interface PlaygroundWorkflowEchoListInput {
389272
+ }
389273
+ export type PlaygroundWorkflowEchoListOutput = {
389274
+ /**
389275
+ * Identifier of the stored echo
389276
+ */
389277
+ id: string;
389278
+ /**
389279
+ * The note exactly as it was received
389280
+ */
389281
+ note: string;
389282
+ /**
389283
+ * The tags exactly as they were received
389284
+ */
389285
+ tags: string[];
389286
+ /**
389287
+ * ISO-8601 instant (UTC) at which the echo was stored
389288
+ */
389289
+ received_at: string;
389290
+ }[];
389291
+ export interface PlaygroundWorkflowPingInput {
389292
+ /**
389293
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
389294
+ */
389295
+ kind?: string;
389296
+ }
389297
+ export interface PlaygroundWorkflowPingOutput {
389298
+ /**
389299
+ * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
389300
+ */
389301
+ id: string;
389302
+ /**
389303
+ * The name of the event that was published
389304
+ */
389305
+ event: string;
389306
+ }
389307
+ export interface PlaygroundWorkflowSubjectsListInput {
389308
+ /**
389309
+ * How many subjects to return, 1–100. Defaults to 25.
389310
+ */
389311
+ limit?: number;
389312
+ /**
389313
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
389314
+ */
389315
+ cursor?: string;
389316
+ /**
389317
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
389318
+ */
389319
+ last_activity_after?: string;
389320
+ /**
389321
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
389322
+ */
389323
+ last_activity_before?: string;
389324
+ }
389325
+ export interface PlaygroundWorkflowSubjectsListOutput {
389326
+ /**
389327
+ * This page of subjects, most recently active first
389328
+ */
389329
+ items: {
389330
+ /**
389331
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
389332
+ */
389333
+ subject_key: string;
389334
+ /**
389335
+ * Human-readable name of the subject
389336
+ */
389337
+ display_name: string;
389338
+ /**
389339
+ * ISO-8601 instant (UTC) of the subject last activity
389340
+ */
389341
+ last_activity_at: string;
389342
+ }[];
389343
+ /**
389344
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
389345
+ */
389346
+ has_more: boolean;
389347
+ /**
389348
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
389349
+ */
389350
+ next_cursor: (string | null);
389351
+ }
389352
+ export interface PlaygroundWsEchoInput {
389353
+ }
389354
+ export type PlaygroundWsEchoOutput = unknown;
389028
389355
  export interface RealtimeArchiveExportInput {
389029
389356
  /**
389030
389357
  * Only entries with ts <= to_ts (epoch ms)