@lessly/sdk-app 11.0.0 → 12.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.
Files changed (51) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +10 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +10 -2
  6. package/dist/brain/index.d.ts +10 -2
  7. package/dist/brain/index.js +9 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-BfMz1akk.d.cts → client.gen-CUGiXN_3.d.cts} +204 -221
  10. package/dist/{client.gen-BfMz1akk.d.ts → client.gen-CUGiXN_3.d.ts} +204 -221
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +76 -79
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +76 -79
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/realtime/index.cjs +15 -0
  26. package/dist/realtime/index.cjs.map +1 -1
  27. package/dist/realtime/index.d.cts +14 -2
  28. package/dist/realtime/index.d.ts +14 -2
  29. package/dist/realtime/index.js +13 -1
  30. package/dist/realtime/index.js.map +1 -1
  31. package/dist/tracking/index.d.cts +1 -1
  32. package/dist/tracking/index.d.ts +1 -1
  33. package/dist/waitlist/index.d.cts +1 -1
  34. package/dist/waitlist/index.d.ts +1 -1
  35. package/package.json +2 -7
  36. package/src/gen/bindings.gen.ts +76 -79
  37. package/src/gen/brain/index.ts +1 -1
  38. package/src/gen/brain/queryOptions.gen.ts +14 -0
  39. package/src/gen/client.gen.ts +20 -51
  40. package/src/gen/manifest.gen.ts +1 -1
  41. package/src/gen/realtime/index.ts +1 -1
  42. package/src/gen/realtime/queryOptions.gen.ts +20 -0
  43. package/src/gen/types.gen.ts +194 -216
  44. package/dist/playground/index.cjs +0 -66
  45. package/dist/playground/index.cjs.map +0 -1
  46. package/dist/playground/index.d.cts +0 -52
  47. package/dist/playground/index.d.ts +0 -52
  48. package/dist/playground/index.js +0 -53
  49. package/dist/playground/index.js.map +0 -1
  50. package/src/gen/playground/index.ts +0 -3
  51. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -56,15 +56,9 @@ snapshotId?: string
56
56
  export type BrainBackupStatusOutput = ({
57
57
  id: string
58
58
  error: (string | null)
59
- /**
60
- * 'running' | 'completed' | 'failed'
61
- */
62
- status: string
59
+ status: ("running" | "completed" | "failed")
63
60
  gcsPath: string
64
- /**
65
- * 'scheduled' | 'manual' | 'pre-restore'
66
- */
67
- trigger: string
61
+ trigger: ("scheduled" | "manual" | "pre-restore")
68
62
  createdAt: string
69
63
  edgeCount: (number | null)
70
64
  nodeCount: (number | null)
@@ -83,15 +77,9 @@ export interface BrainBackupsListInput {
83
77
  export type BrainBackupsListOutput = {
84
78
  id: string
85
79
  error: (string | null)
86
- /**
87
- * 'running' | 'completed' | 'failed'
88
- */
89
- status: string
80
+ status: ("running" | "completed" | "failed")
90
81
  gcsPath: string
91
- /**
92
- * 'scheduled' | 'manual' | 'pre-restore'
93
- */
94
- trigger: string
82
+ trigger: ("scheduled" | "manual" | "pre-restore")
95
83
  createdAt: string
96
84
  edgeCount: (number | null)
97
85
  nodeCount: (number | null)
@@ -548,6 +536,107 @@ mimeType: string
548
536
  }[]
549
537
  }[]
550
538
 
539
+ export interface BrainKnowledgeEntityMemoriesInput {
540
+ /**
541
+ * Max memories (default 50)
542
+ */
543
+ limit?: number
544
+ /**
545
+ * Read scope; 'both' (default) unions shared + your private
546
+ */
547
+ scope?: ("shared" | "private" | "both")
548
+ /**
549
+ * Pagination offset
550
+ */
551
+ offset?: number
552
+ /**
553
+ * Entity id, name, or alias to fetch backing memories for
554
+ */
555
+ entity_ref: string
556
+ }
557
+
558
+ export interface BrainKnowledgeEntityMemoriesOutput {
559
+ total: number
560
+ entity: ({
561
+ score?: number
562
+ aliases: string[]
563
+ entity_id: string
564
+ description: (string | null)
565
+ entity_type: string
566
+ display_name: string
567
+ canonical_name: string
568
+ evidence_count: number
569
+ } | null)
570
+ memories: {
571
+ /**
572
+ * Consumer-facing label derived from the layer; 'unknown' for an unrecognised layer
573
+ */
574
+ kind: ("schema" | "intention" | "identity" | "basic" | "fact" | "summary" | "knowledge" | "raw" | "unknown")
575
+ tags: string[]
576
+ /**
577
+ * Engine memory layer (l0_basic_info…l7_intention)
578
+ */
579
+ layer: ("l6_schema" | "l7_intention" | "l4_identity" | "l0_basic_info" | "l2_fact" | "l3_summary" | "l5_knowledge" | "l1_raw")
580
+ custom: {
581
+ [k: string]: unknown
582
+ }
583
+ status: string
584
+ content: string
585
+ user_id: string
586
+ agent_id: string
587
+ memory_at: (number | null)
588
+ memory_id: string
589
+ speculate: (string | null)
590
+ session_id: string
591
+ gmt_created: number
592
+ /**
593
+ * Source authority (highest→lowest): policy > official > team > informal
594
+ */
595
+ source_authority: ("policy" | "official" | "team" | "informal")
596
+ source_raw_memory_id: (string | null)
597
+ }[]
598
+ elapsed_ms: number
599
+ request_id: string
600
+ }
601
+
602
+ export interface BrainKnowledgeGraphInput {
603
+ /**
604
+ * Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
605
+ */
606
+ limit?: number
607
+ /**
608
+ * Read scope; 'both' (default) unions shared + your private
609
+ */
610
+ scope?: ("shared" | "private" | "both")
611
+ }
612
+
613
+ export interface BrainKnowledgeGraphOutput {
614
+ edges: {
615
+ reason: (string | null)
616
+ source: string
617
+ target: string
618
+ symmetric: boolean
619
+ relation_type: string
620
+ }[]
621
+ nodes: {
622
+ id: string
623
+ degree: number
624
+ aliases: string[]
625
+ description: (string | null)
626
+ entity_type: string
627
+ display_name: string
628
+ canonical_name: string
629
+ evidence_count: number
630
+ }[]
631
+ totals: {
632
+ edgeCount: number
633
+ nodeCount: number
634
+ }
635
+ truncated: boolean
636
+ elapsed_ms: number
637
+ request_id: string
638
+ }
639
+
551
640
  export interface BrainKnowledgeNeighborhoodInput {
552
641
  /**
553
642
  * Hops to expand (engine clamps to 3)
@@ -928,10 +1017,7 @@ restoreId: string
928
1017
 
929
1018
  export type BrainRestoreStatusOutput = ({
930
1019
  error: (string | null)
931
- /**
932
- * 'pending' | 'wiped' | 'importing' | 'completed' | 'failed'
933
- */
934
- status: string
1020
+ status: ("pending" | "wiped" | "importing" | "completed" | "failed")
935
1021
  edgeCount: (number | null)
936
1022
  nodeCount: (number | null)
937
1023
  productId: string
@@ -13188,226 +13274,82 @@ name: string
13188
13274
  activeProductId: (string | null)
13189
13275
  }
13190
13276
 
13191
- export interface PlaygroundAnalyticsOverviewInput {
13277
+ export interface RealtimeArchiveExportInput {
13192
13278
  /**
13193
- * Max records per entity in recent[]; omit for the endpoint default
13279
+ * Only entries with ts <= to_ts (epoch ms)
13194
13280
  */
13195
- limit?: number
13196
- }
13197
-
13198
- export interface PlaygroundAnalyticsOverviewOutput {
13199
- ok: boolean
13200
- minted: boolean
13201
- overview?: unknown
13202
- http_status: number
13203
- }
13204
-
13205
- export interface PlaygroundBillingEntitlementsInput {
13206
-
13281
+ to_ts?: number
13282
+ /**
13283
+ * Channel whose archive to export
13284
+ */
13285
+ channel: string
13286
+ /**
13287
+ * Only entries with ts >= from_ts (epoch ms)
13288
+ */
13289
+ from_ts?: number
13207
13290
  }
13208
13291
 
13209
- export interface PlaygroundBillingEntitlementsOutput {
13210
- ok: boolean
13211
- minted: boolean
13212
- http_status: number
13213
- entitlements?: unknown
13292
+ export interface RealtimeArchiveExportOutput {
13293
+ status: ("pending" | "done" | "failed")
13294
+ export_id: string
13214
13295
  }
13215
13296
 
13216
- export interface PlaygroundBillingRecordUsageInput {
13297
+ export interface RealtimeArchiveExportStatusInput {
13217
13298
  /**
13218
- * Quantity of events to record against playground-events (SUM); defaults to 1
13299
+ * Export id returned by realtime_archive_export
13219
13300
  */
13220
- value?: number
13301
+ export_id: string
13221
13302
  }
13222
13303
 
13223
- export interface PlaygroundBillingRecordUsageOutput {
13224
- minted: boolean
13225
- accepted: (number | null)
13226
- recorded: boolean
13227
- duplicates: (number | null)
13228
- http_status: number
13304
+ export interface RealtimeArchiveExportStatusOutput {
13305
+ /**
13306
+ * Blob reference of the NDJSON export once status is "done"
13307
+ */
13308
+ ref: ({
13309
+ size: number
13310
+ bucket_key: string
13311
+ content_type?: string
13312
+ } | null)
13313
+ error: (string | null)
13314
+ status: ("pending" | "done" | "failed")
13315
+ export_id: string
13316
+ entry_count: (number | null)
13229
13317
  }
13230
13318
 
13231
- export interface PlaygroundClickupCreateTaskInput {
13319
+ export interface RealtimeArchiveGetInput {
13320
+ limit?: number
13232
13321
  /**
13233
- * Task title; defaults to a fixture label
13322
+ * Channel whose archived history to read
13234
13323
  */
13235
- name?: string
13324
+ channel: string
13236
13325
  /**
13237
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13326
+ * Return entries strictly after this offset (from a previous page)
13238
13327
  */
13239
- listId?: string
13240
- }
13241
-
13242
- export interface PlaygroundClickupCreateTaskOutput {
13243
- minted: boolean
13244
- task_id: (string | null)
13245
- list_status: number
13246
- vend_status: number
13247
- clickup_status: number
13248
- installation_count: number
13249
- }
13250
-
13251
- export interface PlaygroundClickupGetLastWebhookInput {
13252
-
13253
- }
13254
-
13255
- export type PlaygroundClickupGetLastWebhookOutput = ({
13256
- payload: string
13257
- event_id: string
13258
- provider: string
13259
- verified: boolean
13260
- product_id: string
13261
- occurred_at: string
13262
- connector_id: string
13263
- clickup_event: (string | null)
13264
- receipt_count: number
13265
- } | {
13266
- found: false
13267
- })
13268
-
13269
- export interface PlaygroundClickupGetOverviewInput {
13270
-
13271
- }
13272
-
13273
- export interface PlaygroundClickupGetOverviewOutput {
13274
- team: ({
13275
- teamId: string
13276
- teamName: string
13277
- } | null)
13278
- lists: PlaygroundClickupGetOverviewOutputItems[]
13279
- tasks: {
13280
- id: string
13281
- name: string
13282
- status: (string | null)
13283
- }[]
13284
- minted: boolean
13285
- spaces: PlaygroundClickupGetOverviewOutputItems[]
13286
- list_status: number
13287
- vend_status: number
13288
- lists_status: number
13289
- tasks_status: number
13290
- spaces_status: number
13291
- folders_status: number
13292
- installation_count: number
13328
+ after_offset?: string
13293
13329
  }
13294
- export interface PlaygroundClickupGetOverviewOutputItems {
13295
- id: string
13296
- name: string
13297
- }
13298
-
13299
- export interface PlaygroundGdriveGetLastChangeInput {
13300
-
13301
- }
13302
-
13303
- export type PlaygroundGdriveGetLastChangeOutput = ({
13304
- file_id: string
13305
- removed: boolean
13306
- file_name: (string | null)
13307
- mime_type: (string | null)
13308
- product_id: string
13309
- occurred_at: string
13310
- connector_id: string
13311
- resource_state: string
13312
- } | {
13313
- found: false
13314
- })
13315
13330
 
13316
- export interface PlaygroundGdriveReadFileInput {
13331
+ export interface RealtimeArchiveGetOutput {
13332
+ channel: string
13333
+ entries: {
13317
13334
  /**
13318
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13335
+ * Original publish timestamp (epoch ms)
13319
13336
  */
13320
- fileId?: string
13321
- }
13322
-
13323
- export interface PlaygroundGdriveReadFileOutput {
13324
- minted: boolean
13325
- file_id: (string | null)
13326
- file_name: (string | null)
13327
- mime_type: (string | null)
13328
- file_count: number
13329
- get_status: number
13330
- list_status: number
13331
- vend_status: number
13332
- content_bytes: (number | null)
13333
- }
13334
-
13335
- export interface PlaygroundGoogleadsReadCustomerInput {
13336
-
13337
- }
13338
-
13339
- export interface PlaygroundGoogleadsReadCustomerOutput {
13340
- minted: boolean
13341
- vended: boolean
13342
- customer_id: (string | null)
13343
- vend_status: number
13344
- result_count: number
13345
- search_status: number
13346
- login_customer_id: (string | null)
13347
- }
13348
-
13349
- export interface PlaygroundLifecycleGetStateInput {
13350
-
13351
- }
13352
-
13353
- export interface PlaygroundLifecycleGetStateOutput {
13354
- blocked: boolean
13355
- archived: boolean
13356
- productId: string
13357
- lastBlockTransition: ({
13358
- eventId: string
13359
- eventName: string
13360
- productId: string
13361
- occurredAt: string
13362
- recordedAt: string
13363
- receiptCount: number
13364
- organizationId: string
13365
- cascadedFromOrg: boolean
13366
- } | null)
13367
- lastArchiveTransition: ({
13368
- eventId: string
13369
- eventName: string
13370
- productId: string
13371
- occurredAt: string
13372
- recordedAt: string
13373
- receiptCount: number
13374
- organizationId: string
13375
- cascadedFromOrg: boolean
13376
- } | null)
13377
- }
13378
-
13379
- export interface PlaygroundLifecycleListEventsInput {
13380
-
13337
+ ts: number
13338
+ epoch: string
13339
+ offset: string
13340
+ /**
13341
+ * The archived message envelope
13342
+ */
13343
+ envelope?: {
13344
+ [k: string]: unknown
13381
13345
  }
13382
-
13383
- export type PlaygroundLifecycleListEventsOutput = {
13384
- eventId: string
13385
- eventName: string
13386
- productId: string
13387
- occurredAt: string
13388
- recordedAt: string
13389
- receiptCount: number
13390
- organizationId: string
13391
- cascadedFromOrg: boolean
13392
13346
  }[]
13393
-
13394
- export interface PlaygroundWebhookGetLastInput {
13395
-
13347
+ /**
13348
+ * Pass as after_offset to fetch the next page; null = no more entries
13349
+ */
13350
+ next_offset: (string | null)
13396
13351
  }
13397
13352
 
13398
- export type PlaygroundWebhookGetLastOutput = ({
13399
- payload?: unknown
13400
- event_id: string
13401
- provider: string
13402
- verified: boolean
13403
- product_id: string
13404
- occurred_at: string
13405
- connector_id: string
13406
- delivery_count: number
13407
- } | {
13408
- found: false
13409
- })
13410
-
13411
13353
  export interface RealtimeGrantCreateInput {
13412
13354
  /**
13413
13355
  * Operations granted on matching channels
@@ -13576,6 +13518,12 @@ export interface RealtimeNamespaceCreateInput {
13576
13518
  * Namespace name (the part of a channel name before the first colon)
13577
13519
  */
13578
13520
  name: string
13521
+ /**
13522
+ * History archive policy: off, or durably retain archived entries for N days (requires history != "none")
13523
+ */
13524
+ archive?: ("off" | {
13525
+ days: number
13526
+ })
13579
13527
  /**
13580
13528
  * History retention policy for channels in this namespace
13581
13529
  */
@@ -13613,6 +13561,12 @@ historyWindowSeconds?: number
13613
13561
  export interface RealtimeNamespaceCreateOutput {
13614
13562
  id: string
13615
13563
  name: string
13564
+ /**
13565
+ * History archive policy
13566
+ */
13567
+ archive: ("off" | {
13568
+ days: number
13569
+ })
13616
13570
  history: ("none" | "last-message" | "window")
13617
13571
  presence: boolean
13618
13572
  createdAt: string
@@ -13654,6 +13608,12 @@ name: string
13654
13608
  export interface RealtimeNamespaceGetOutput {
13655
13609
  id: string
13656
13610
  name: string
13611
+ /**
13612
+ * History archive policy
13613
+ */
13614
+ archive: ("off" | {
13615
+ days: number
13616
+ })
13657
13617
  history: ("none" | "last-message" | "window")
13658
13618
  presence: boolean
13659
13619
  createdAt: string
@@ -13682,6 +13642,12 @@ export interface RealtimeNamespaceListOutput {
13682
13642
  namespaces: {
13683
13643
  id: string
13684
13644
  name: string
13645
+ /**
13646
+ * History archive policy
13647
+ */
13648
+ archive: ("off" | {
13649
+ days: number
13650
+ })
13685
13651
  history: ("none" | "last-message" | "window")
13686
13652
  presence: boolean
13687
13653
  createdAt: string
@@ -13708,6 +13674,12 @@ export interface RealtimeNamespaceUpdateInput {
13708
13674
  * Namespace name to update
13709
13675
  */
13710
13676
  name: string
13677
+ /**
13678
+ * History archive policy: off, or durably retain archived entries for N days (requires history != "none")
13679
+ */
13680
+ archive?: ("off" | {
13681
+ days: number
13682
+ })
13711
13683
  /**
13712
13684
  * History retention policy for channels in this namespace
13713
13685
  */
@@ -13745,6 +13717,12 @@ historyWindowSeconds?: number
13745
13717
  export interface RealtimeNamespaceUpdateOutput {
13746
13718
  id: string
13747
13719
  name: string
13720
+ /**
13721
+ * History archive policy
13722
+ */
13723
+ archive: ("off" | {
13724
+ days: number
13725
+ })
13748
13726
  history: ("none" | "last-message" | "window")
13749
13727
  presence: boolean
13750
13728
  createdAt: string
@@ -1,66 +0,0 @@
1
- 'use strict';
2
-
3
- // src/gen/playground/queryOptions.gen.ts
4
- var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
5
- queryKey: ["playground", "analytics", "overview", input],
6
- queryFn: () => sdk["playground"]["analytics"]["overview"](input)
7
- });
8
- var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
9
- queryKey: ["playground", "billing", "entitlements", input],
10
- queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
11
- });
12
- var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
13
- mutationKey: ["playground", "billing", "record-usage"],
14
- mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
15
- });
16
- var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
17
- mutationKey: ["playground", "clickup", "create-task"],
18
- mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
19
- });
20
- var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
21
- queryKey: ["playground", "clickup", "get-last-webhook", input],
22
- queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
23
- });
24
- var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
25
- queryKey: ["playground", "clickup", "get-overview", input],
26
- queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
27
- });
28
- var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
29
- queryKey: ["playground", "gdrive", "get-last-change", input],
30
- queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
31
- });
32
- var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
33
- queryKey: ["playground", "gdrive", "read-file", input],
34
- queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
35
- });
36
- var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
37
- queryKey: ["playground", "googleads", "read-customer", input],
38
- queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
39
- });
40
- var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
41
- queryKey: ["playground", "lifecycle", "get-state", input],
42
- queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
43
- });
44
- var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
45
- queryKey: ["playground", "lifecycle", "list-events", input],
46
- queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
47
- });
48
- var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
49
- queryKey: ["playground", "webhook", "get-last", input],
50
- queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
51
- });
52
-
53
- exports.playgroundAnalyticsOverviewQueryOptions = playgroundAnalyticsOverviewQueryOptions;
54
- exports.playgroundBillingEntitlementsQueryOptions = playgroundBillingEntitlementsQueryOptions;
55
- exports.playgroundBillingRecordUsageMutationOptions = playgroundBillingRecordUsageMutationOptions;
56
- exports.playgroundClickupCreateTaskMutationOptions = playgroundClickupCreateTaskMutationOptions;
57
- exports.playgroundClickupGetLastWebhookQueryOptions = playgroundClickupGetLastWebhookQueryOptions;
58
- exports.playgroundClickupGetOverviewQueryOptions = playgroundClickupGetOverviewQueryOptions;
59
- exports.playgroundGdriveGetLastChangeQueryOptions = playgroundGdriveGetLastChangeQueryOptions;
60
- exports.playgroundGdriveReadFileQueryOptions = playgroundGdriveReadFileQueryOptions;
61
- exports.playgroundGoogleadsReadCustomerQueryOptions = playgroundGoogleadsReadCustomerQueryOptions;
62
- exports.playgroundLifecycleGetStateQueryOptions = playgroundLifecycleGetStateQueryOptions;
63
- exports.playgroundLifecycleListEventsQueryOptions = playgroundLifecycleListEventsQueryOptions;
64
- exports.playgroundWebhookGetLastQueryOptions = playgroundWebhookGetLastQueryOptions;
65
- //# sourceMappingURL=index.cjs.map
66
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts"],"names":[],"mappings":";;;AA2BO,IAAM,uCAAA,GAA0C,CAAC,GAAA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,YAAA,EAAc,WAAA,EAAa,eAAe,KAAK,CAAA;AAAA,EAC1D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AACpE,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,YAAY,KAAK,CAAA;AAAA,EACrD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AAC/D,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n"]}
@@ -1,52 +0,0 @@
1
- import { G as GeneratedClient, hC as PlaygroundAnalyticsOverviewInput, hD as PlaygroundAnalyticsOverviewOutput, hE as PlaygroundBillingEntitlementsInput, hF as PlaygroundBillingEntitlementsOutput, hG as PlaygroundBillingRecordUsageInput, hH as PlaygroundBillingRecordUsageOutput, hI as PlaygroundClickupCreateTaskInput, hJ as PlaygroundClickupCreateTaskOutput, hK as PlaygroundClickupGetLastWebhookInput, hL as PlaygroundClickupGetLastWebhookOutput, hM as PlaygroundClickupGetOverviewInput, hN as PlaygroundClickupGetOverviewOutput, hO as PlaygroundGdriveGetLastChangeInput, hP as PlaygroundGdriveGetLastChangeOutput, hQ as PlaygroundGdriveReadFileInput, hR as PlaygroundGdriveReadFileOutput, hS as PlaygroundGoogleadsReadCustomerInput, hT as PlaygroundGoogleadsReadCustomerOutput, hU as PlaygroundLifecycleGetStateInput, hV as PlaygroundLifecycleGetStateOutput, hW as PlaygroundLifecycleListEventsInput, hX as PlaygroundLifecycleListEventsOutput, hY as PlaygroundWebhookGetLastInput, hZ as PlaygroundWebhookGetLastOutput } from '../client.gen-BfMz1akk.cjs';
2
-
3
- declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
4
- queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
5
- queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
6
- };
7
- declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
8
- queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
9
- queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
10
- };
11
- declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
12
- mutationKey: string[];
13
- mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>;
14
- };
15
- declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
16
- mutationKey: string[];
17
- mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>;
18
- };
19
- declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
20
- queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
21
- queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
22
- };
23
- declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
24
- queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
25
- queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
26
- };
27
- declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
28
- queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
29
- queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
30
- };
31
- declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
32
- queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
33
- queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
34
- };
35
- declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
36
- queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
37
- queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
38
- };
39
- declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
40
- queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
41
- queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
42
- };
43
- declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
44
- queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
45
- queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
46
- };
47
- declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
48
- queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
49
- queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
50
- };
51
-
52
- export { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions };