@lessly/sdk-app 55.0.0 → 56.0.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.
Files changed (42) hide show
  1. package/dist/_types/gen/brain/index.d.ts +1 -1
  2. package/dist/_types/gen/brain/queryOptions.gen.d.ts +5 -1
  3. package/dist/_types/gen/client.gen.d.ts +7 -38
  4. package/dist/_types/gen/deployment/index.d.ts +1 -1
  5. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +5 -13
  6. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  7. package/dist/_types/gen/types.gen.d.ts +113 -363
  8. package/dist/brain/index.cjs +5 -0
  9. package/dist/brain/index.cjs.map +1 -1
  10. package/dist/brain/index.js +5 -1
  11. package/dist/brain/index.js.map +1 -1
  12. package/dist/deployment/index.cjs +5 -15
  13. package/dist/deployment/index.cjs.map +1 -1
  14. package/dist/deployment/index.js +5 -13
  15. package/dist/deployment/index.js.map +1 -1
  16. package/dist/index.cjs +46 -199
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +8956 -2
  19. package/dist/index.js.map +1 -1
  20. package/package.json +2 -12
  21. package/src/gen/bindings.gen.ts +47 -208
  22. package/src/gen/brain/index.ts +1 -1
  23. package/src/gen/brain/queryOptions.gen.ts +7 -0
  24. package/src/gen/client.gen.ts +10 -67
  25. package/src/gen/deployment/index.ts +1 -1
  26. package/src/gen/deployment/queryOptions.gen.ts +7 -20
  27. package/src/gen/manifest.gen.ts +1 -1
  28. package/src/gen/types.gen.ts +117 -404
  29. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  30. package/dist/_types/gen/playground/index.d.ts +0 -3
  31. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -50
  32. package/dist/chunk-4RJR4UQ3.js +0 -9121
  33. package/dist/chunk-4RJR4UQ3.js.map +0 -1
  34. package/dist/playground/index.cjs +0 -81
  35. package/dist/playground/index.cjs.map +0 -1
  36. package/dist/playground/index.d.cts +0 -1
  37. package/dist/playground/index.d.ts +0 -1
  38. package/dist/playground/index.js +0 -58
  39. package/dist/playground/index.js.map +0 -1
  40. package/src/gen/playground/connect.gen.ts +0 -9
  41. package/src/gen/playground/index.ts +0 -4
  42. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -66539,6 +66539,98 @@ snapshotId: string
66539
66539
  preRestoreSnapshotId: (string | null)
66540
66540
  } | null)
66541
66541
 
66542
+ export interface BrainUsageReportInput {
66543
+ /**
66544
+ * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
66545
+ */
66546
+ days?: number
66547
+ }
66548
+
66549
+ export interface BrainUsageReportOutput {
66550
+ note: string
66551
+ /**
66552
+ * Brain's own ledger, for THIS product only
66553
+ */
66554
+ product: {
66555
+ /**
66556
+ * Inclusive UTC end of the window (today), YYYY-MM-DD
66557
+ */
66558
+ to: string
66559
+ /**
66560
+ * The window actually used, after clamping
66561
+ */
66562
+ days: number
66563
+ /**
66564
+ * Inclusive UTC start of the window, YYYY-MM-DD
66565
+ */
66566
+ from: string
66567
+ rows: {
66568
+ /**
66569
+ * 'sync' | 'batch'; '' when the push carried none
66570
+ */
66571
+ mode: string
66572
+ /**
66573
+ * Manifest meter slug, e.g. llm-tokens
66574
+ */
66575
+ meter: string
66576
+ /**
66577
+ * Model dimension; '' when the push carried none
66578
+ */
66579
+ model: string
66580
+ /**
66581
+ * How many record() calls landed in this slice
66582
+ */
66583
+ events: number
66584
+ /**
66585
+ * Tokens we metered for this slice, delivered or not
66586
+ */
66587
+ tokens: number
66588
+ /**
66589
+ * Purpose dimension; '' when the push carried none
66590
+ */
66591
+ purpose: string
66592
+ /**
66593
+ * UTC calendar day, YYYY-MM-DD
66594
+ */
66595
+ usage_date: string
66596
+ /**
66597
+ * Of those events, how many billing did not accept
66598
+ */
66599
+ delivery_failed: number
66600
+ }[]
66601
+ /**
66602
+ * The rows rolled up per meter across the whole window
66603
+ */
66604
+ totals: {
66605
+ meter: string
66606
+ events: number
66607
+ tokens: number
66608
+ delivery_failed: number
66609
+ }[]
66610
+ product_id: string
66611
+ }
66612
+ /**
66613
+ * The platform billing aggregate for the whole ORG; null if it could not be read
66614
+ */
66615
+ platform: ({
66616
+ plan: string
66617
+ scope: "org"
66618
+ meters: {
66619
+ unit?: string
66620
+ used?: number
66621
+ limit?: (number | null)
66622
+ remaining?: (number | null)
66623
+ unlimited?: boolean
66624
+ meter_slug: string
66625
+ }[]
66626
+ org_id: string
66627
+ } | null)
66628
+ /**
66629
+ * Why the platform aggregate is null; null when it was read successfully
66630
+ */
66631
+ platform_error: (string | null)
66632
+ }
66633
+
66542
66634
  export interface ConsentConfigCookieDomainUpsertInput {
66543
66635
  cookieDomain: ("" | null | string)
66544
66636
  }
@@ -70993,6 +71085,31 @@ truncated: boolean
70993
71085
  explanation: string
70994
71086
  }
70995
71087
 
71088
+ export interface DeploymentAuditListInput {
71089
+ limit?: number
71090
+ action?: string
71091
+ actorId?: string
71092
+ serviceId?: string
71093
+ entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
71094
+ environmentId: string
71095
+ }
71096
+
71097
+ export type DeploymentAuditListOutput = {
71098
+ id: string
71099
+ action: string
71100
+ actorId: string
71101
+ entityId: (string | null)
71102
+ metadata: {
71103
+ [k: string]: unknown
71104
+ }
71105
+ createdAt: string
71106
+ productId: string
71107
+ serviceId: (string | null)
71108
+ actorEmail: string
71109
+ entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
71110
+ environmentId: (string | null)
71111
+ }[]
71112
+
70996
71113
  export interface DeploymentBuildGetInput {
70997
71114
  id: string
70998
71115
  }
@@ -71072,7 +71189,6 @@ updatedAt: string
71072
71189
  }[]
71073
71190
  services: {
71074
71191
  id: string
71075
- mode?: string
71076
71192
  name: string
71077
71193
  slug: string
71078
71194
  probes: {
@@ -71106,19 +71222,10 @@ outputDir?: string
71106
71222
  }
71107
71223
  markdown?: boolean
71108
71224
  })
71109
- command?: (string | null)
71110
- lastRun?: ({
71111
- id: string
71112
- status: string
71113
- startedAt: (string | null)
71114
- finishedAt: (string | null)
71115
- } | null)
71116
71225
  tracing?: string
71117
71226
  replicas: number
71118
- schedule?: (string | null)
71119
71227
  createdAt: string
71120
71228
  dependsOn: string[]
71121
- nextRunAt?: (string | null)
71122
71229
  resources?: {
71123
71230
  limits?: {
71124
71231
  cpu?: string
@@ -71132,10 +71239,7 @@ idleMinutes: number
71132
71239
  scaleToZero: boolean
71133
71240
  containerPort: number
71134
71241
  environmentId: string
71135
- jobTimeoutSec?: number
71136
- jobConcurrency?: string
71137
71242
  buildMachineType?: (string | null)
71138
- scheduleSuspended?: boolean
71139
71243
  suspendedByBilling?: boolean
71140
71244
  lastReplicasRunning: number
71141
71245
  scaleToZeroEligibility?: {
@@ -72136,64 +72240,6 @@ deploymentId: (string | null)
72136
72240
  environmentId: (string | null)
72137
72241
  }[]
72138
72242
 
72139
- export interface DeploymentJobRunInput {
72140
- serviceId: string
72141
- }
72142
-
72143
- export interface DeploymentJobRunOutput {
72144
- id: string
72145
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
72146
- trigger: ("schedule" | "manual")
72147
- exitCode: (number | null)
72148
- createdAt: string
72149
- serviceId: string
72150
- startedAt: (string | null)
72151
- finishedAt: (string | null)
72152
- k8sJobName: string
72153
- imageDigest: (string | null)
72154
- triggeredBy: (string | null)
72155
- deploymentId: (string | null)
72156
- environmentId: string
72157
- failureReason: (string | null)
72158
- }
72159
-
72160
- export interface DeploymentJobRunLogsInput {
72161
- runId: string
72162
- serviceId: string
72163
- }
72164
-
72165
- export interface DeploymentJobRunLogsOutput {
72166
- live: boolean
72167
- logs: string
72168
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
72169
- }
72170
-
72171
- export interface DeploymentJobRunsListInput {
72172
- limit?: number
72173
- cursor?: string
72174
- serviceId: string
72175
- }
72176
-
72177
- export interface DeploymentJobRunsListOutput {
72178
- items: {
72179
- id: string
72180
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
72181
- trigger: ("schedule" | "manual")
72182
- exitCode: (number | null)
72183
- createdAt: string
72184
- serviceId: string
72185
- startedAt: (string | null)
72186
- finishedAt: (string | null)
72187
- k8sJobName: string
72188
- imageDigest: (string | null)
72189
- triggeredBy: (string | null)
72190
- deploymentId: (string | null)
72191
- environmentId: string
72192
- failureReason: (string | null)
72193
- }[]
72194
- nextCursor: (string | null)
72195
- }
72196
-
72197
72243
  export interface DeploymentManagedServiceBackupInput {
72198
72244
  id: string
72199
72245
  }
@@ -72639,10 +72685,6 @@ baseEnvironmentId: string
72639
72685
  }
72640
72686
 
72641
72687
  export interface DeploymentServiceCreateInput {
72642
- /**
72643
- * 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
72644
- */
72645
- mode?: ("persistent" | "scheduled")
72646
72688
  name: string
72647
72689
  slug?: string
72648
72690
  canvas?: {
@@ -72680,19 +72722,11 @@ outputDir?: string
72680
72722
  }
72681
72723
  markdown?: boolean
72682
72724
  })
72683
- /**
72684
- * Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
72685
- */
72686
- command?: (string | null)
72687
72725
  /**
72688
72726
  * OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
72689
72727
  */
72690
72728
  tracing?: ("off" | "node" | "python")
72691
72729
  replicas?: number
72692
- /**
72693
- * Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
72694
- */
72695
- schedule?: (string | null)
72696
72730
  resources?: {
72697
72731
  limits?: {
72698
72732
  cpu?: string
@@ -72701,14 +72735,6 @@ memory?: string
72701
72735
  }
72702
72736
  containerPort?: number
72703
72737
  environmentId: string
72704
- /**
72705
- * Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
72706
- */
72707
- jobTimeoutSec?: number
72708
- /**
72709
- * What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
72710
- */
72711
- jobConcurrency?: ("forbid" | "allow" | "replace")
72712
72738
  }
72713
72739
  export interface DeploymentServiceCreateInputReadiness {
72714
72740
  path: string
@@ -72722,7 +72748,6 @@ initialDelaySeconds?: number
72722
72748
 
72723
72749
  export interface DeploymentServiceCreateOutput {
72724
72750
  id: string
72725
- mode?: string
72726
72751
  name: string
72727
72752
  slug: string
72728
72753
  probes: {
@@ -72756,19 +72781,10 @@ outputDir?: string
72756
72781
  }
72757
72782
  markdown?: boolean
72758
72783
  })
72759
- command?: (string | null)
72760
- lastRun?: ({
72761
- id: string
72762
- status: string
72763
- startedAt: (string | null)
72764
- finishedAt: (string | null)
72765
- } | null)
72766
72784
  tracing?: string
72767
72785
  replicas: number
72768
- schedule?: (string | null)
72769
72786
  createdAt: string
72770
72787
  dependsOn: string[]
72771
- nextRunAt?: (string | null)
72772
72788
  resources?: {
72773
72789
  limits?: {
72774
72790
  cpu?: string
@@ -72782,10 +72798,7 @@ idleMinutes: number
72782
72798
  scaleToZero: boolean
72783
72799
  containerPort: number
72784
72800
  environmentId: string
72785
- jobTimeoutSec?: number
72786
- jobConcurrency?: string
72787
72801
  buildMachineType?: (string | null)
72788
- scheduleSuspended?: boolean
72789
72802
  suspendedByBilling?: boolean
72790
72803
  lastReplicasRunning: number
72791
72804
  scaleToZeroEligibility?: {
@@ -72842,7 +72855,6 @@ id: string
72842
72855
 
72843
72856
  export interface DeploymentServiceGetOutput {
72844
72857
  id: string
72845
- mode?: string
72846
72858
  name: string
72847
72859
  slug: string
72848
72860
  probes: {
@@ -72876,19 +72888,10 @@ outputDir?: string
72876
72888
  }
72877
72889
  markdown?: boolean
72878
72890
  })
72879
- command?: (string | null)
72880
- lastRun?: ({
72881
- id: string
72882
- status: string
72883
- startedAt: (string | null)
72884
- finishedAt: (string | null)
72885
- } | null)
72886
72891
  tracing?: string
72887
72892
  replicas: number
72888
- schedule?: (string | null)
72889
72893
  createdAt: string
72890
72894
  dependsOn: string[]
72891
- nextRunAt?: (string | null)
72892
72895
  resources?: {
72893
72896
  limits?: {
72894
72897
  cpu?: string
@@ -72902,10 +72905,7 @@ idleMinutes: number
72902
72905
  scaleToZero: boolean
72903
72906
  containerPort: number
72904
72907
  environmentId: string
72905
- jobTimeoutSec?: number
72906
- jobConcurrency?: string
72907
72908
  buildMachineType?: (string | null)
72908
- scheduleSuspended?: boolean
72909
72909
  suspendedByBilling?: boolean
72910
72910
  lastReplicasRunning: number
72911
72911
  scaleToZeroEligibility?: {
@@ -72929,7 +72929,6 @@ environmentId: string
72929
72929
 
72930
72930
  export type DeploymentServiceListOutput = {
72931
72931
  id: string
72932
- mode?: string
72933
72932
  name: string
72934
72933
  slug: string
72935
72934
  probes: {
@@ -72963,19 +72962,10 @@ outputDir?: string
72963
72962
  }
72964
72963
  markdown?: boolean
72965
72964
  })
72966
- command?: (string | null)
72967
- lastRun?: ({
72968
- id: string
72969
- status: string
72970
- startedAt: (string | null)
72971
- finishedAt: (string | null)
72972
- } | null)
72973
72965
  tracing?: string
72974
72966
  replicas: number
72975
- schedule?: (string | null)
72976
72967
  createdAt: string
72977
72968
  dependsOn: string[]
72978
- nextRunAt?: (string | null)
72979
72969
  resources?: {
72980
72970
  limits?: {
72981
72971
  cpu?: string
@@ -72989,10 +72979,7 @@ idleMinutes: number
72989
72979
  scaleToZero: boolean
72990
72980
  containerPort: number
72991
72981
  environmentId: string
72992
- jobTimeoutSec?: number
72993
- jobConcurrency?: string
72994
72982
  buildMachineType?: (string | null)
72995
- scheduleSuspended?: boolean
72996
72983
  suspendedByBilling?: boolean
72997
72984
  lastReplicasRunning: number
72998
72985
  scaleToZeroEligibility?: {
@@ -73093,7 +73080,6 @@ replicas: number
73093
73080
 
73094
73081
  export interface DeploymentServiceScaleOutput {
73095
73082
  id: string
73096
- mode?: string
73097
73083
  name: string
73098
73084
  slug: string
73099
73085
  probes: {
@@ -73127,19 +73113,10 @@ outputDir?: string
73127
73113
  }
73128
73114
  markdown?: boolean
73129
73115
  })
73130
- command?: (string | null)
73131
- lastRun?: ({
73132
- id: string
73133
- status: string
73134
- startedAt: (string | null)
73135
- finishedAt: (string | null)
73136
- } | null)
73137
73116
  tracing?: string
73138
73117
  replicas: number
73139
- schedule?: (string | null)
73140
73118
  createdAt: string
73141
73119
  dependsOn: string[]
73142
- nextRunAt?: (string | null)
73143
73120
  resources?: {
73144
73121
  limits?: {
73145
73122
  cpu?: string
@@ -73153,10 +73130,7 @@ idleMinutes: number
73153
73130
  scaleToZero: boolean
73154
73131
  containerPort: number
73155
73132
  environmentId: string
73156
- jobTimeoutSec?: number
73157
- jobConcurrency?: string
73158
73133
  buildMachineType?: (string | null)
73159
- scheduleSuspended?: boolean
73160
73134
  suspendedByBilling?: boolean
73161
73135
  lastReplicasRunning: number
73162
73136
  scaleToZeroEligibility?: {
@@ -73176,7 +73150,6 @@ initialDelaySeconds?: number
73176
73150
 
73177
73151
  export interface DeploymentServiceUpdateInput {
73178
73152
  id: string
73179
- mode?: unknown
73180
73153
  name?: string
73181
73154
  probes?: {
73182
73155
  liveness?: DeploymentServiceUpdateInputReadiness
@@ -73209,19 +73182,11 @@ outputDir?: string
73209
73182
  }
73210
73183
  markdown?: boolean
73211
73184
  })
73212
- /**
73213
- * Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
73214
- */
73215
- command?: (string | null)
73216
73185
  /**
73217
73186
  * OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
73218
73187
  */
73219
73188
  tracing?: ("off" | "node" | "python")
73220
73189
  replicas?: number
73221
- /**
73222
- * Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
73223
- */
73224
- schedule?: (string | null)
73225
73190
  resources?: {
73226
73191
  limits?: {
73227
73192
  cpu?: string
@@ -73235,19 +73200,7 @@ autoDeploy?: boolean
73235
73200
  idleMinutes?: number
73236
73201
  scaleToZero?: boolean
73237
73202
  containerPort?: number
73238
- /**
73239
- * Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
73240
- */
73241
- jobTimeoutSec?: number
73242
- /**
73243
- * What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
73244
- */
73245
- jobConcurrency?: ("forbid" | "allow" | "replace")
73246
73203
  buildMachineType?: (("E2_MEDIUM" | "E2_HIGHCPU_8") | null)
73247
- /**
73248
- * Pause or resume a scheduled service without losing its schedule.
73249
- */
73250
- scheduleSuspended?: boolean
73251
73204
  }
73252
73205
  export interface DeploymentServiceUpdateInputReadiness {
73253
73206
  path: string
@@ -73261,7 +73214,6 @@ initialDelaySeconds?: number
73261
73214
 
73262
73215
  export interface DeploymentServiceUpdateOutput {
73263
73216
  id: string
73264
- mode?: string
73265
73217
  name: string
73266
73218
  slug: string
73267
73219
  probes: {
@@ -73295,19 +73247,10 @@ outputDir?: string
73295
73247
  }
73296
73248
  markdown?: boolean
73297
73249
  })
73298
- command?: (string | null)
73299
- lastRun?: ({
73300
- id: string
73301
- status: string
73302
- startedAt: (string | null)
73303
- finishedAt: (string | null)
73304
- } | null)
73305
73250
  tracing?: string
73306
73251
  replicas: number
73307
- schedule?: (string | null)
73308
73252
  createdAt: string
73309
73253
  dependsOn: string[]
73310
- nextRunAt?: (string | null)
73311
73254
  resources?: {
73312
73255
  limits?: {
73313
73256
  cpu?: string
@@ -73321,10 +73264,7 @@ idleMinutes: number
73321
73264
  scaleToZero: boolean
73322
73265
  containerPort: number
73323
73266
  environmentId: string
73324
- jobTimeoutSec?: number
73325
- jobConcurrency?: string
73326
73267
  buildMachineType?: (string | null)
73327
- scheduleSuspended?: boolean
73328
73268
  suspendedByBilling?: boolean
73329
73269
  lastReplicasRunning: number
73330
73270
  scaleToZeroEligibility?: {
@@ -85030,7 +84970,6 @@ displayName: (string | null)
85030
84970
  orgRoles: {
85031
84971
  id: string
85032
84972
  name: string
85033
- description: (string | null)
85034
84973
  }[]
85035
84974
  canManage: boolean
85036
84975
  inherited: {
@@ -85427,232 +85366,6 @@ lastMessagePreview: (string | null)
85427
85366
  }[]
85428
85367
  }
85429
85368
 
85430
- export interface PlaygroundAnalyticsOverviewInput {
85431
- /**
85432
- * Max records per entity in recent[]; omit for the endpoint default
85433
- */
85434
- limit?: number
85435
- }
85436
-
85437
- export interface PlaygroundAnalyticsOverviewOutput {
85438
- ok: boolean
85439
- minted: boolean
85440
- overview?: unknown
85441
- http_status: number
85442
- }
85443
-
85444
- export interface PlaygroundBillingEntitlementsInput {
85445
-
85446
- }
85447
-
85448
- export interface PlaygroundBillingEntitlementsOutput {
85449
- ok: boolean
85450
- minted: boolean
85451
- http_status: number
85452
- entitlements?: unknown
85453
- }
85454
-
85455
- export interface PlaygroundBillingRecordUsageInput {
85456
- /**
85457
- * Quantity of events to record against playground-events (SUM); defaults to 1
85458
- */
85459
- value?: number
85460
- }
85461
-
85462
- export interface PlaygroundBillingRecordUsageOutput {
85463
- minted: boolean
85464
- accepted: (number | null)
85465
- recorded: boolean
85466
- duplicates: (number | null)
85467
- http_status: number
85468
- }
85469
-
85470
- export interface PlaygroundClickupCreateTaskInput {
85471
- /**
85472
- * Task title; defaults to a fixture label
85473
- */
85474
- name?: string
85475
- /**
85476
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
85477
- */
85478
- listId?: string
85479
- }
85480
-
85481
- export interface PlaygroundClickupCreateTaskOutput {
85482
- minted: boolean
85483
- task_id: (string | null)
85484
- list_status: number
85485
- vend_status: number
85486
- clickup_status: number
85487
- installation_count: number
85488
- }
85489
-
85490
- export interface PlaygroundClickupGetLastWebhookInput {
85491
-
85492
- }
85493
-
85494
- export type PlaygroundClickupGetLastWebhookOutput = ({
85495
- payload: string
85496
- event_id: string
85497
- provider: string
85498
- verified: boolean
85499
- product_id: string
85500
- occurred_at: string
85501
- connector_id: string
85502
- clickup_event: (string | null)
85503
- receipt_count: number
85504
- } | {
85505
- found: false
85506
- })
85507
-
85508
- export interface PlaygroundClickupGetOverviewInput {
85509
-
85510
- }
85511
-
85512
- export interface PlaygroundClickupGetOverviewOutput {
85513
- team: ({
85514
- teamId: string
85515
- teamName: string
85516
- } | null)
85517
- lists: PlaygroundClickupGetOverviewOutputItems[]
85518
- tasks: {
85519
- id: string
85520
- name: string
85521
- status: (string | null)
85522
- }[]
85523
- minted: boolean
85524
- spaces: PlaygroundClickupGetOverviewOutputItems[]
85525
- list_status: number
85526
- vend_status: number
85527
- lists_status: number
85528
- tasks_status: number
85529
- spaces_status: number
85530
- folders_status: number
85531
- installation_count: number
85532
- }
85533
- export interface PlaygroundClickupGetOverviewOutputItems {
85534
- id: string
85535
- name: string
85536
- }
85537
-
85538
- export interface PlaygroundGdriveGetLastChangeInput {
85539
-
85540
- }
85541
-
85542
- export type PlaygroundGdriveGetLastChangeOutput = ({
85543
- file_id: string
85544
- removed: boolean
85545
- file_name: (string | null)
85546
- mime_type: (string | null)
85547
- product_id: string
85548
- occurred_at: string
85549
- connector_id: string
85550
- resource_state: string
85551
- } | {
85552
- found: false
85553
- })
85554
-
85555
- export interface PlaygroundGdriveReadFileInput {
85556
- /**
85557
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
85558
- */
85559
- fileId?: string
85560
- }
85561
-
85562
- export interface PlaygroundGdriveReadFileOutput {
85563
- minted: boolean
85564
- file_id: (string | null)
85565
- file_name: (string | null)
85566
- mime_type: (string | null)
85567
- file_count: number
85568
- get_status: number
85569
- list_status: number
85570
- vend_status: number
85571
- content_bytes: (number | null)
85572
- }
85573
-
85574
- export interface PlaygroundGoogleadsReadCustomerInput {
85575
-
85576
- }
85577
-
85578
- export interface PlaygroundGoogleadsReadCustomerOutput {
85579
- minted: boolean
85580
- vended: boolean
85581
- customer_id: (string | null)
85582
- vend_status: number
85583
- result_count: number
85584
- search_status: number
85585
- login_customer_id: (string | null)
85586
- }
85587
-
85588
- export interface PlaygroundLifecycleGetStateInput {
85589
-
85590
- }
85591
-
85592
- export interface PlaygroundLifecycleGetStateOutput {
85593
- blocked: boolean
85594
- archived: boolean
85595
- productId: string
85596
- lastBlockTransition: ({
85597
- eventId: string
85598
- eventName: string
85599
- productId: string
85600
- occurredAt: string
85601
- recordedAt: string
85602
- receiptCount: number
85603
- organizationId: string
85604
- cascadedFromOrg: boolean
85605
- } | null)
85606
- lastArchiveTransition: ({
85607
- eventId: string
85608
- eventName: string
85609
- productId: string
85610
- occurredAt: string
85611
- recordedAt: string
85612
- receiptCount: number
85613
- organizationId: string
85614
- cascadedFromOrg: boolean
85615
- } | null)
85616
- }
85617
-
85618
- export interface PlaygroundLifecycleListEventsInput {
85619
-
85620
- }
85621
-
85622
- export type PlaygroundLifecycleListEventsOutput = {
85623
- eventId: string
85624
- eventName: string
85625
- productId: string
85626
- occurredAt: string
85627
- recordedAt: string
85628
- receiptCount: number
85629
- organizationId: string
85630
- cascadedFromOrg: boolean
85631
- }[]
85632
-
85633
- export interface PlaygroundWebhookGetLastInput {
85634
-
85635
- }
85636
-
85637
- export type PlaygroundWebhookGetLastOutput = ({
85638
- payload?: unknown
85639
- event_id: string
85640
- provider: string
85641
- verified: boolean
85642
- product_id: string
85643
- occurred_at: string
85644
- connector_id: string
85645
- delivery_count: number
85646
- } | {
85647
- found: false
85648
- })
85649
-
85650
- export interface PlaygroundWsEchoInput {
85651
-
85652
- }
85653
-
85654
- export type PlaygroundWsEchoOutput = unknown;
85655
-
85656
85369
  export interface RealtimeArchiveExportInput {
85657
85370
  /**
85658
85371
  * Only entries with ts <= to_ts (epoch ms)