@lessly/sdk-app 28.0.0 → 30.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 (53) 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 +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-DhQqDgJm.d.cts → client.gen-BOjtovBR.d.cts} +154 -267
  10. package/dist/{client.gen-DhQqDgJm.d.ts → client.gen-BOjtovBR.d.ts} +154 -267
  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 +86 -109
  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 +86 -109
  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.cjs +24 -4
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +21 -5
  26. package/dist/organization/index.d.ts +21 -5
  27. package/dist/organization/index.js +20 -4
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/realtime/index.d.cts +1 -1
  30. package/dist/realtime/index.d.ts +1 -1
  31. package/dist/tracking/index.d.cts +1 -1
  32. package/dist/tracking/index.d.ts +1 -1
  33. package/dist/users/index.d.cts +1 -1
  34. package/dist/users/index.d.ts +1 -1
  35. package/dist/waitlist/index.d.cts +1 -1
  36. package/dist/waitlist/index.d.ts +1 -1
  37. package/package.json +2 -7
  38. package/src/gen/bindings.gen.ts +86 -109
  39. package/src/gen/brain/index.ts +1 -1
  40. package/src/gen/brain/queryOptions.gen.ts +7 -0
  41. package/src/gen/client.gen.ts +24 -55
  42. package/src/gen/manifest.gen.ts +1 -1
  43. package/src/gen/organization/index.ts +1 -1
  44. package/src/gen/organization/queryOptions.gen.ts +29 -5
  45. package/src/gen/types.gen.ts +151 -269
  46. package/dist/playground/index.cjs +0 -66
  47. package/dist/playground/index.cjs.map +0 -1
  48. package/dist/playground/index.d.cts +0 -52
  49. package/dist/playground/index.d.ts +0 -52
  50. package/dist/playground/index.js +0 -53
  51. package/dist/playground/index.js.map +0 -1
  52. package/src/gen/playground/index.ts +0 -3
  53. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -1028,6 +1028,98 @@ snapshotId: string
1028
1028
  preRestoreSnapshotId: (string | null)
1029
1029
  } | null)
1030
1030
 
1031
+ export interface BrainUsageReportInput {
1032
+ /**
1033
+ * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
1034
+ */
1035
+ days?: number
1036
+ }
1037
+
1038
+ export interface BrainUsageReportOutput {
1039
+ note: string
1040
+ /**
1041
+ * Brain's own ledger, for THIS product only
1042
+ */
1043
+ product: {
1044
+ /**
1045
+ * Inclusive UTC end of the window (today), YYYY-MM-DD
1046
+ */
1047
+ to: string
1048
+ /**
1049
+ * The window actually used, after clamping
1050
+ */
1051
+ days: number
1052
+ /**
1053
+ * Inclusive UTC start of the window, YYYY-MM-DD
1054
+ */
1055
+ from: string
1056
+ rows: {
1057
+ /**
1058
+ * 'sync' | 'batch'; '' when the push carried none
1059
+ */
1060
+ mode: string
1061
+ /**
1062
+ * Manifest meter slug, e.g. llm-tokens
1063
+ */
1064
+ meter: string
1065
+ /**
1066
+ * Model dimension; '' when the push carried none
1067
+ */
1068
+ model: string
1069
+ /**
1070
+ * How many record() calls landed in this slice
1071
+ */
1072
+ events: number
1073
+ /**
1074
+ * Tokens we metered for this slice, delivered or not
1075
+ */
1076
+ tokens: number
1077
+ /**
1078
+ * Purpose dimension; '' when the push carried none
1079
+ */
1080
+ purpose: string
1081
+ /**
1082
+ * UTC calendar day, YYYY-MM-DD
1083
+ */
1084
+ usage_date: string
1085
+ /**
1086
+ * Of those events, how many billing did not accept
1087
+ */
1088
+ delivery_failed: number
1089
+ }[]
1090
+ /**
1091
+ * The rows rolled up per meter across the whole window
1092
+ */
1093
+ totals: {
1094
+ meter: string
1095
+ events: number
1096
+ tokens: number
1097
+ delivery_failed: number
1098
+ }[]
1099
+ product_id: string
1100
+ }
1101
+ /**
1102
+ * The platform billing aggregate for the whole ORG; null if it could not be read
1103
+ */
1104
+ platform: ({
1105
+ plan: string
1106
+ scope: "org"
1107
+ meters: {
1108
+ unit?: string
1109
+ used?: number
1110
+ limit?: (number | null)
1111
+ remaining?: (number | null)
1112
+ unlimited?: boolean
1113
+ meter_slug: string
1114
+ }[]
1115
+ org_id: string
1116
+ } | null)
1117
+ /**
1118
+ * Why the platform aggregate is null; null when it was read successfully
1119
+ */
1120
+ platform_error: (string | null)
1121
+ }
1122
+
1031
1123
  export interface ConsentConfigCookieDomainUpsertInput {
1032
1124
  cookieDomain: ("" | null | string)
1033
1125
  }
@@ -12524,6 +12616,39 @@ displayName: string
12524
12616
  identityType: string
12525
12617
  }
12526
12618
 
12619
+ export interface OrganizationBillingBudgetsGetInput {
12620
+
12621
+ }
12622
+
12623
+ export interface OrganizationBillingBudgetsGetOutput {
12624
+ [k: string]: unknown
12625
+ }
12626
+
12627
+ export interface OrganizationBillingBudgetsSetInput {
12628
+ ceiling_minor: number
12629
+ }
12630
+
12631
+ export interface OrganizationBillingBudgetsSetOutput {
12632
+ [k: string]: unknown
12633
+ }
12634
+
12635
+ export interface OrganizationBillingCapsClearInput {
12636
+ productId: string
12637
+ }
12638
+
12639
+ export interface OrganizationBillingCapsClearOutput {
12640
+ [k: string]: unknown
12641
+ }
12642
+
12643
+ export interface OrganizationBillingCapsSetInput {
12644
+ cap_minor: number
12645
+ productId: string
12646
+ }
12647
+
12648
+ export interface OrganizationBillingCapsSetOutput {
12649
+ [k: string]: unknown
12650
+ }
12651
+
12527
12652
  export interface OrganizationBindingsListInput {
12528
12653
  domainId: string
12529
12654
  productId: string
@@ -12668,6 +12793,7 @@ provider: string
12668
12793
  externalId: string
12669
12794
  displayName: string
12670
12795
  requestStatus: (("pending" | "denied") | null)
12796
+ organizationId: string
12671
12797
  }[]
12672
12798
 
12673
12799
  export interface OrganizationConnectorsListOrgInput {
@@ -12763,6 +12889,12 @@ domain: string
12763
12889
  createdAt: string
12764
12890
  createdBy: string
12765
12891
  productId: string
12892
+ managedDns: ({
12893
+ tool: "organization_domains_set-mode"
12894
+ provider: "cloudflare"
12895
+ available: true
12896
+ providerConnectorId: string
12897
+ } | null)
12766
12898
  providerConnectorId: (string | null)
12767
12899
  }
12768
12900
 
@@ -12807,21 +12939,21 @@ export interface OrganizationDomainsRemoveOutput {
12807
12939
  [k: string]: unknown
12808
12940
  }
12809
12941
 
12810
- export interface OrganizationExtensionsListInput {
12811
-
12942
+ export interface OrganizationDomainsSetModeInput {
12943
+ mode: ("managed" | "external")
12944
+ domainId: string
12945
+ productId: string
12946
+ providerConnectorId?: string
12812
12947
  }
12813
12948
 
12814
- export interface OrganizationExtensionsListOutput {
12815
- extensions: {
12949
+ export interface OrganizationDomainsSetModeOutput {
12816
12950
  id: string
12817
- name: string
12818
- status: string
12819
- uiMode: ("federation" | "standalone" | "none")
12820
- version: string
12821
- manifest: {
12822
- [k: string]: unknown
12823
- }
12824
- }[]
12951
+ mode: ("external" | "managed")
12952
+ domain: string
12953
+ createdAt: string
12954
+ createdBy: string
12955
+ productId: string
12956
+ providerConnectorId: (string | null)
12825
12957
  }
12826
12958
 
12827
12959
  export interface OrganizationExtensionsListInstalledInput {
@@ -12873,6 +13005,7 @@ connectors: {
12873
13005
  id: string
12874
13006
  externalId: string
12875
13007
  displayName: string
13008
+ organizationId: string
12876
13009
  attachedToThisProduct: boolean
12877
13010
  }[]
12878
13011
  }
@@ -12907,6 +13040,7 @@ name: string
12907
13040
  role: ("owner" | "admin" | "member")
12908
13041
  active: boolean
12909
13042
  blockedAt: (string | null)
13043
+ blockReason: (("no_subscription" | "under_review") | null)
12910
13044
  }[]
12911
13045
  }
12912
13046
 
@@ -13148,6 +13282,7 @@ organizationId: string
13148
13282
 
13149
13283
  export interface OrganizationProductCreateInput {
13150
13284
  name: string
13285
+ region?: "eu"
13151
13286
  organizationId?: string
13152
13287
  }
13153
13288
 
@@ -13499,226 +13634,6 @@ name: string
13499
13634
  activeProductId: (string | null)
13500
13635
  }
13501
13636
 
13502
- export interface PlaygroundAnalyticsOverviewInput {
13503
- /**
13504
- * Max records per entity in recent[]; omit for the endpoint default
13505
- */
13506
- limit?: number
13507
- }
13508
-
13509
- export interface PlaygroundAnalyticsOverviewOutput {
13510
- ok: boolean
13511
- minted: boolean
13512
- overview?: unknown
13513
- http_status: number
13514
- }
13515
-
13516
- export interface PlaygroundBillingEntitlementsInput {
13517
-
13518
- }
13519
-
13520
- export interface PlaygroundBillingEntitlementsOutput {
13521
- ok: boolean
13522
- minted: boolean
13523
- http_status: number
13524
- entitlements?: unknown
13525
- }
13526
-
13527
- export interface PlaygroundBillingRecordUsageInput {
13528
- /**
13529
- * Quantity of events to record against playground-events (SUM); defaults to 1
13530
- */
13531
- value?: number
13532
- }
13533
-
13534
- export interface PlaygroundBillingRecordUsageOutput {
13535
- minted: boolean
13536
- accepted: (number | null)
13537
- recorded: boolean
13538
- duplicates: (number | null)
13539
- http_status: number
13540
- }
13541
-
13542
- export interface PlaygroundClickupCreateTaskInput {
13543
- /**
13544
- * Task title; defaults to a fixture label
13545
- */
13546
- name?: string
13547
- /**
13548
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13549
- */
13550
- listId?: string
13551
- }
13552
-
13553
- export interface PlaygroundClickupCreateTaskOutput {
13554
- minted: boolean
13555
- task_id: (string | null)
13556
- list_status: number
13557
- vend_status: number
13558
- clickup_status: number
13559
- installation_count: number
13560
- }
13561
-
13562
- export interface PlaygroundClickupGetLastWebhookInput {
13563
-
13564
- }
13565
-
13566
- export type PlaygroundClickupGetLastWebhookOutput = ({
13567
- payload: string
13568
- event_id: string
13569
- provider: string
13570
- verified: boolean
13571
- product_id: string
13572
- occurred_at: string
13573
- connector_id: string
13574
- clickup_event: (string | null)
13575
- receipt_count: number
13576
- } | {
13577
- found: false
13578
- })
13579
-
13580
- export interface PlaygroundClickupGetOverviewInput {
13581
-
13582
- }
13583
-
13584
- export interface PlaygroundClickupGetOverviewOutput {
13585
- team: ({
13586
- teamId: string
13587
- teamName: string
13588
- } | null)
13589
- lists: PlaygroundClickupGetOverviewOutputItems[]
13590
- tasks: {
13591
- id: string
13592
- name: string
13593
- status: (string | null)
13594
- }[]
13595
- minted: boolean
13596
- spaces: PlaygroundClickupGetOverviewOutputItems[]
13597
- list_status: number
13598
- vend_status: number
13599
- lists_status: number
13600
- tasks_status: number
13601
- spaces_status: number
13602
- folders_status: number
13603
- installation_count: number
13604
- }
13605
- export interface PlaygroundClickupGetOverviewOutputItems {
13606
- id: string
13607
- name: string
13608
- }
13609
-
13610
- export interface PlaygroundGdriveGetLastChangeInput {
13611
-
13612
- }
13613
-
13614
- export type PlaygroundGdriveGetLastChangeOutput = ({
13615
- file_id: string
13616
- removed: boolean
13617
- file_name: (string | null)
13618
- mime_type: (string | null)
13619
- product_id: string
13620
- occurred_at: string
13621
- connector_id: string
13622
- resource_state: string
13623
- } | {
13624
- found: false
13625
- })
13626
-
13627
- export interface PlaygroundGdriveReadFileInput {
13628
- /**
13629
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13630
- */
13631
- fileId?: string
13632
- }
13633
-
13634
- export interface PlaygroundGdriveReadFileOutput {
13635
- minted: boolean
13636
- file_id: (string | null)
13637
- file_name: (string | null)
13638
- mime_type: (string | null)
13639
- file_count: number
13640
- get_status: number
13641
- list_status: number
13642
- vend_status: number
13643
- content_bytes: (number | null)
13644
- }
13645
-
13646
- export interface PlaygroundGoogleadsReadCustomerInput {
13647
-
13648
- }
13649
-
13650
- export interface PlaygroundGoogleadsReadCustomerOutput {
13651
- minted: boolean
13652
- vended: boolean
13653
- customer_id: (string | null)
13654
- vend_status: number
13655
- result_count: number
13656
- search_status: number
13657
- login_customer_id: (string | null)
13658
- }
13659
-
13660
- export interface PlaygroundLifecycleGetStateInput {
13661
-
13662
- }
13663
-
13664
- export interface PlaygroundLifecycleGetStateOutput {
13665
- blocked: boolean
13666
- archived: boolean
13667
- productId: string
13668
- lastBlockTransition: ({
13669
- eventId: string
13670
- eventName: string
13671
- productId: string
13672
- occurredAt: string
13673
- recordedAt: string
13674
- receiptCount: number
13675
- organizationId: string
13676
- cascadedFromOrg: boolean
13677
- } | null)
13678
- lastArchiveTransition: ({
13679
- eventId: string
13680
- eventName: string
13681
- productId: string
13682
- occurredAt: string
13683
- recordedAt: string
13684
- receiptCount: number
13685
- organizationId: string
13686
- cascadedFromOrg: boolean
13687
- } | null)
13688
- }
13689
-
13690
- export interface PlaygroundLifecycleListEventsInput {
13691
-
13692
- }
13693
-
13694
- export type PlaygroundLifecycleListEventsOutput = {
13695
- eventId: string
13696
- eventName: string
13697
- productId: string
13698
- occurredAt: string
13699
- recordedAt: string
13700
- receiptCount: number
13701
- organizationId: string
13702
- cascadedFromOrg: boolean
13703
- }[]
13704
-
13705
- export interface PlaygroundWebhookGetLastInput {
13706
-
13707
- }
13708
-
13709
- export type PlaygroundWebhookGetLastOutput = ({
13710
- payload?: unknown
13711
- event_id: string
13712
- provider: string
13713
- verified: boolean
13714
- product_id: string
13715
- occurred_at: string
13716
- connector_id: string
13717
- delivery_count: number
13718
- } | {
13719
- found: false
13720
- })
13721
-
13722
13637
  export interface RealtimeArchiveExportInput {
13723
13638
  /**
13724
13639
  * Only entries with ts <= to_ts (epoch ms)
@@ -15900,7 +15815,7 @@ successMessage: string
15900
15815
  */
15901
15816
  doubleOptIn: boolean
15902
15817
  /**
15903
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
15818
+ * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
15904
15819
  */
15905
15820
  retentionDays: number
15906
15821
  /**
@@ -16220,7 +16135,7 @@ successMessage?: string
16220
16135
  */
16221
16136
  doubleOptIn?: boolean
16222
16137
  /**
16223
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
16138
+ * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
16224
16139
  */
16225
16140
  retentionDays?: number
16226
16141
  /**
@@ -16539,7 +16454,7 @@ successMessage: string
16539
16454
  */
16540
16455
  doubleOptIn: boolean
16541
16456
  /**
16542
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
16457
+ * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
16543
16458
  */
16544
16459
  retentionDays: number
16545
16460
  /**
@@ -16828,42 +16743,9 @@ why: string
16828
16743
  what: string
16829
16744
  }[]
16830
16745
  /**
16831
- * The last sweep this replica performed, or NULL when it has observed none. Null and a run with `erased: 0` are DIFFERENT STATES and must never be collapsed: one means the job is working and there was nothing due, the other means this replica has no evidence the job ran at all. The durable per-entry trail is elsewhere the append-only `waitlist.erased` audit rows.
16832
- */
16833
- lastSweep: ({
16834
- /**
16835
- * This is ONE replica’s memory of its own last pass, not the deployment’s — the same honesty as `users_ops_slo_get`. A replica that has never executed the cron reports `null` even though another one may have swept a minute ago, so treat this as a spot check.
16836
- */
16837
- scope: "replica"
16838
- /**
16839
- * How many of THIS PRODUCT’s entries that pass erased. The sweep itself runs across every tenant at once — expiry is the passage of time and it has no request tenant to scope to — but the number reported here is bucketed, because a management tool answers about the caller’s own product and never about anybody else’s. A zero next to a non-null run is a result, not a gap: the job ran and nothing was due here.
16840
- */
16841
- erased: number
16842
- /**
16843
- * Which window decided, in words that name the config field.
16844
- */
16845
- window: string
16846
- /**
16847
- * The statuses in scope. `registered` and `withdrawn` are never swept.
16848
- */
16849
- statuses: string[]
16850
- /**
16851
- * ISO time the pass finished.
16852
- */
16853
- finishedAt: string
16854
- } | null)
16855
- /**
16856
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: such an entry never expires on its own, so this window is the whole of what makes it go away — and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
16746
+ * How long a still-PENDING waitlist entry is kept. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: a pending entry never expires on its own, so this window is the whole of what makes it go away and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
16857
16747
  */
16858
16748
  waitlistRetentionDays: number
16859
- /**
16860
- * What Lessly PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
16861
- */
16862
- waitlistPromisedMaxDays: number
16863
- /**
16864
- * True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lessly’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lessly published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
16865
- */
16866
- waitlistWiderThanPromised: boolean
16867
16749
  }
16868
16750
 
16869
16751
  export interface UsersOpsSloGetInput {
@@ -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,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM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AAA,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, hU as PlaygroundAnalyticsOverviewInput, hV as PlaygroundAnalyticsOverviewOutput, hW as PlaygroundBillingEntitlementsInput, hX as PlaygroundBillingEntitlementsOutput, hY as PlaygroundBillingRecordUsageInput, hZ as PlaygroundBillingRecordUsageOutput, h_ as PlaygroundClickupCreateTaskInput, h$ as PlaygroundClickupCreateTaskOutput, i0 as PlaygroundClickupGetLastWebhookInput, i1 as PlaygroundClickupGetLastWebhookOutput, i2 as PlaygroundClickupGetOverviewInput, i3 as PlaygroundClickupGetOverviewOutput, i4 as PlaygroundGdriveGetLastChangeInput, i5 as PlaygroundGdriveGetLastChangeOutput, i6 as PlaygroundGdriveReadFileInput, i7 as PlaygroundGdriveReadFileOutput, i8 as PlaygroundGoogleadsReadCustomerInput, i9 as PlaygroundGoogleadsReadCustomerOutput, ia as PlaygroundLifecycleGetStateInput, ib as PlaygroundLifecycleGetStateOutput, ic as PlaygroundLifecycleListEventsInput, id as PlaygroundLifecycleListEventsOutput, ie as PlaygroundWebhookGetLastInput, ig as PlaygroundWebhookGetLastOutput } from '../client.gen-DhQqDgJm.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 };