@lessly/sdk-app 74.0.0 → 74.2.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.
@@ -74512,7 +74512,24 @@ export interface MailEmailGetInput {
74512
74512
  id: string
74513
74513
  }
74514
74514
 
74515
- export type MailEmailGetOutput = unknown;
74515
+ export interface MailEmailGetOutput {
74516
+ cc: string[]
74517
+ id: string
74518
+ to: string[]
74519
+ bcc: string[]
74520
+ from: string
74521
+ status: ("scheduled" | "queued" | "sent" | "failed" | "canceled" | "delivered" | "bounced" | "complained" | "suppressed" | "blocked")
74522
+ subject: string
74523
+ created_at: string
74524
+ last_event: {
74525
+ type: ("email.scheduled" | "email.queued" | "email.sent" | "email.failed" | "email.canceled" | "email.delivered" | "email.bounced" | "email.complained" | "email.suppressed" | "email.blocked")
74526
+ created_at: (string | null)
74527
+ }
74528
+ template_id: (string | null)
74529
+ scheduled_at: (string | null)
74530
+ template_name: (string | null)
74531
+ provider_message_id: (string | null)
74532
+ }
74516
74533
 
74517
74534
  export interface MailEmailSendInput {
74518
74535
  /**
@@ -85971,6 +85988,378 @@ export interface OrganizationYoutubeInstallOutput {
85971
85988
  url: string
85972
85989
  }
85973
85990
 
85991
+ export interface PlaygroundAnalyticsOverviewInput {
85992
+ /**
85993
+ * Max records per entity in recent[]; omit for the endpoint default
85994
+ */
85995
+ limit?: number
85996
+ }
85997
+
85998
+ export interface PlaygroundAnalyticsOverviewOutput {
85999
+ ok: boolean
86000
+ minted: boolean
86001
+ overview?: unknown
86002
+ http_status: number
86003
+ }
86004
+
86005
+ export interface PlaygroundBillingEntitlementsInput {
86006
+
86007
+ }
86008
+
86009
+ export interface PlaygroundBillingEntitlementsOutput {
86010
+ ok: boolean
86011
+ minted: boolean
86012
+ http_status: number
86013
+ entitlements?: unknown
86014
+ }
86015
+
86016
+ export interface PlaygroundBillingRecordUsageInput {
86017
+ /**
86018
+ * Quantity of events to record against playground-events (SUM); defaults to 1
86019
+ */
86020
+ value?: number
86021
+ }
86022
+
86023
+ export interface PlaygroundBillingRecordUsageOutput {
86024
+ minted: boolean
86025
+ accepted: (number | null)
86026
+ recorded: boolean
86027
+ duplicates: (number | null)
86028
+ http_status: number
86029
+ }
86030
+
86031
+ export interface PlaygroundClickupCreateTaskInput {
86032
+ /**
86033
+ * Task title; defaults to a fixture label
86034
+ */
86035
+ name?: string
86036
+ /**
86037
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
86038
+ */
86039
+ listId?: string
86040
+ }
86041
+
86042
+ export interface PlaygroundClickupCreateTaskOutput {
86043
+ minted: boolean
86044
+ task_id: (string | null)
86045
+ list_status: number
86046
+ vend_status: number
86047
+ clickup_status: number
86048
+ installation_count: number
86049
+ }
86050
+
86051
+ export interface PlaygroundClickupGetLastWebhookInput {
86052
+
86053
+ }
86054
+
86055
+ export type PlaygroundClickupGetLastWebhookOutput = ({
86056
+ payload: string
86057
+ event_id: string
86058
+ provider: string
86059
+ verified: boolean
86060
+ product_id: string
86061
+ occurred_at: string
86062
+ connector_id: string
86063
+ clickup_event: (string | null)
86064
+ receipt_count: number
86065
+ } | {
86066
+ found: false
86067
+ })
86068
+
86069
+ export interface PlaygroundClickupGetOverviewInput {
86070
+
86071
+ }
86072
+
86073
+ export interface PlaygroundClickupGetOverviewOutput {
86074
+ team: ({
86075
+ teamId: string
86076
+ teamName: string
86077
+ } | null)
86078
+ lists: PlaygroundClickupGetOverviewOutputItems[]
86079
+ tasks: {
86080
+ id: string
86081
+ name: string
86082
+ status: (string | null)
86083
+ }[]
86084
+ minted: boolean
86085
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
86086
+ list_status: number
86087
+ vend_status: number
86088
+ lists_status: number
86089
+ tasks_status: number
86090
+ spaces_status: number
86091
+ folders_status: number
86092
+ installation_count: number
86093
+ }
86094
+ export interface PlaygroundClickupGetOverviewOutputItems {
86095
+ id: string
86096
+ name: string
86097
+ }
86098
+
86099
+ export interface PlaygroundEchoPingInput {
86100
+ /**
86101
+ * The text to echo back, 1–1024 characters
86102
+ */
86103
+ message: string
86104
+ }
86105
+
86106
+ export interface PlaygroundEchoPingOutput {
86107
+ /**
86108
+ * The message exactly as it was received
86109
+ */
86110
+ message: string
86111
+ /**
86112
+ * The product the call was resolved to
86113
+ */
86114
+ productId: string
86115
+ /**
86116
+ * ISO-8601 instant (UTC) at which the call reached the service
86117
+ */
86118
+ receivedAt: string
86119
+ }
86120
+
86121
+ export interface PlaygroundGdriveGetLastChangeInput {
86122
+
86123
+ }
86124
+
86125
+ export type PlaygroundGdriveGetLastChangeOutput = ({
86126
+ file_id: string
86127
+ removed: boolean
86128
+ file_name: (string | null)
86129
+ mime_type: (string | null)
86130
+ product_id: string
86131
+ occurred_at: string
86132
+ connector_id: string
86133
+ resource_state: string
86134
+ } | {
86135
+ found: false
86136
+ })
86137
+
86138
+ export interface PlaygroundGdriveReadFileInput {
86139
+ /**
86140
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
86141
+ */
86142
+ fileId?: string
86143
+ }
86144
+
86145
+ export interface PlaygroundGdriveReadFileOutput {
86146
+ minted: boolean
86147
+ file_id: (string | null)
86148
+ file_name: (string | null)
86149
+ mime_type: (string | null)
86150
+ file_count: number
86151
+ get_status: number
86152
+ list_status: number
86153
+ vend_status: number
86154
+ content_bytes: (number | null)
86155
+ }
86156
+
86157
+ export interface PlaygroundGoogleadsReadCustomerInput {
86158
+
86159
+ }
86160
+
86161
+ export interface PlaygroundGoogleadsReadCustomerOutput {
86162
+ minted: boolean
86163
+ vended: boolean
86164
+ customer_id: (string | null)
86165
+ vend_status: number
86166
+ result_count: number
86167
+ search_status: number
86168
+ login_customer_id: (string | null)
86169
+ }
86170
+
86171
+ export interface PlaygroundLifecycleGetStateInput {
86172
+
86173
+ }
86174
+
86175
+ export interface PlaygroundLifecycleGetStateOutput {
86176
+ blocked: boolean
86177
+ archived: boolean
86178
+ productId: string
86179
+ lastBlockTransition: ({
86180
+ eventId: string
86181
+ eventName: string
86182
+ productId: string
86183
+ occurredAt: string
86184
+ recordedAt: string
86185
+ receiptCount: number
86186
+ organizationId: string
86187
+ cascadedFromOrg: boolean
86188
+ } | null)
86189
+ lastArchiveTransition: ({
86190
+ eventId: string
86191
+ eventName: string
86192
+ productId: string
86193
+ occurredAt: string
86194
+ recordedAt: string
86195
+ receiptCount: number
86196
+ organizationId: string
86197
+ cascadedFromOrg: boolean
86198
+ } | null)
86199
+ }
86200
+
86201
+ export interface PlaygroundLifecycleListEventsInput {
86202
+
86203
+ }
86204
+
86205
+ export type PlaygroundLifecycleListEventsOutput = {
86206
+ eventId: string
86207
+ eventName: string
86208
+ productId: string
86209
+ occurredAt: string
86210
+ recordedAt: string
86211
+ receiptCount: number
86212
+ organizationId: string
86213
+ cascadedFromOrg: boolean
86214
+ }[]
86215
+
86216
+ export interface PlaygroundWebhookGetLastInput {
86217
+
86218
+ }
86219
+
86220
+ export type PlaygroundWebhookGetLastOutput = ({
86221
+ payload?: unknown
86222
+ event_id: string
86223
+ provider: string
86224
+ verified: boolean
86225
+ product_id: string
86226
+ occurred_at: string
86227
+ connector_id: string
86228
+ delivery_count: number
86229
+ } | {
86230
+ found: false
86231
+ })
86232
+
86233
+ export interface PlaygroundWorkflowEchoInput {
86234
+ /**
86235
+ * The text to store, 1–1024 characters
86236
+ */
86237
+ note: string
86238
+ /**
86239
+ * Optional labels stored alongside the note, at most 20
86240
+ *
86241
+ * @maxItems 20
86242
+ */
86243
+ 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]
86244
+ }
86245
+
86246
+ export interface PlaygroundWorkflowEchoOutput {
86247
+ /**
86248
+ * Identifier of the stored echo
86249
+ */
86250
+ id: string
86251
+ /**
86252
+ * The note exactly as it was received
86253
+ */
86254
+ note: string
86255
+ /**
86256
+ * The tags exactly as they were received
86257
+ */
86258
+ tags: string[]
86259
+ /**
86260
+ * 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.
86261
+ */
86262
+ echo_id: string
86263
+ /**
86264
+ * ISO-8601 instant (UTC) at which the echo was stored
86265
+ */
86266
+ received_at: string
86267
+ }
86268
+
86269
+ export interface PlaygroundWorkflowEchoListInput {
86270
+
86271
+ }
86272
+
86273
+ export type PlaygroundWorkflowEchoListOutput = {
86274
+ /**
86275
+ * Identifier of the stored echo
86276
+ */
86277
+ id: string
86278
+ /**
86279
+ * The note exactly as it was received
86280
+ */
86281
+ note: string
86282
+ /**
86283
+ * The tags exactly as they were received
86284
+ */
86285
+ tags: string[]
86286
+ /**
86287
+ * ISO-8601 instant (UTC) at which the echo was stored
86288
+ */
86289
+ received_at: string
86290
+ }[]
86291
+
86292
+ export interface PlaygroundWorkflowPingInput {
86293
+ /**
86294
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
86295
+ */
86296
+ kind?: string
86297
+ }
86298
+
86299
+ export interface PlaygroundWorkflowPingOutput {
86300
+ /**
86301
+ * 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.
86302
+ */
86303
+ id: string
86304
+ /**
86305
+ * The name of the event that was published
86306
+ */
86307
+ event: string
86308
+ }
86309
+
86310
+ export interface PlaygroundWorkflowSubjectsListInput {
86311
+ /**
86312
+ * How many subjects to return, 1–100. Defaults to 25.
86313
+ */
86314
+ limit?: number
86315
+ /**
86316
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
86317
+ */
86318
+ cursor?: string
86319
+ /**
86320
+ * 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.
86321
+ */
86322
+ last_activity_after?: string
86323
+ /**
86324
+ * 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.
86325
+ */
86326
+ last_activity_before?: string
86327
+ }
86328
+
86329
+ export interface PlaygroundWorkflowSubjectsListOutput {
86330
+ /**
86331
+ * This page of subjects, most recently active first
86332
+ */
86333
+ items: {
86334
+ /**
86335
+ * 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.
86336
+ */
86337
+ subject_key: string
86338
+ /**
86339
+ * Human-readable name of the subject
86340
+ */
86341
+ display_name: string
86342
+ /**
86343
+ * ISO-8601 instant (UTC) of the subject last activity
86344
+ */
86345
+ last_activity_at: string
86346
+ }[]
86347
+ /**
86348
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
86349
+ */
86350
+ has_more: boolean
86351
+ /**
86352
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
86353
+ */
86354
+ next_cursor: (string | null)
86355
+ }
86356
+
86357
+ export interface PlaygroundWsEchoInput {
86358
+
86359
+ }
86360
+
86361
+ export type PlaygroundWsEchoOutput = unknown;
86362
+
85974
86363
  export interface RealtimeArchiveExportInput {
85975
86364
  /**
85976
86365
  * Only entries with ts <= to_ts (epoch ms)