@lessly/sdk-app 50.1.0 → 52.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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/chunk-5IRH5DIK.js +8710 -0
- package/dist/chunk-5IRH5DIK.js.map +1 -0
- package/dist/{client.gen-xvJrhIVe.d.cts → client.gen-DlSflqUn.d.cts} +400 -120
- package/dist/{client.gen-xvJrhIVe.d.ts → client.gen-DlSflqUn.d.ts} +400 -120
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.d.cts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/deployment/index.cjs +15 -5
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.d.cts +14 -6
- package/dist/deployment/index.d.ts +14 -6
- package/dist/deployment/index.js +13 -5
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +199 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -83
- package/dist/index.d.ts +4 -83
- package/dist/index.js +2 -8545
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +81 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +55 -0
- package/dist/playground/index.d.ts +55 -0
- package/dist/playground/index.js +58 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/types-gTIUAUsP.d.cts +82 -0
- package/dist/types-gTIUAUsP.d.ts +82 -0
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +208 -47
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +67 -10
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +20 -7
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +404 -117
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -683,19 +683,6 @@ export const bindings: BindingsMap = {
|
|
|
683
683
|
"path": "/brain/restores/:restoreId",
|
|
684
684
|
"readOnly": true
|
|
685
685
|
}
|
|
686
|
-
},
|
|
687
|
-
"usage": {
|
|
688
|
-
"report": {
|
|
689
|
-
"method": "GET",
|
|
690
|
-
"params": [
|
|
691
|
-
{
|
|
692
|
-
"in": "query",
|
|
693
|
-
"name": "days"
|
|
694
|
-
}
|
|
695
|
-
],
|
|
696
|
-
"path": "/brain/usage/report",
|
|
697
|
-
"readOnly": true
|
|
698
|
-
}
|
|
699
686
|
}
|
|
700
687
|
},
|
|
701
688
|
"consent": {
|
|
@@ -1601,39 +1588,6 @@ export const bindings: BindingsMap = {
|
|
|
1601
1588
|
"readOnly": true
|
|
1602
1589
|
}
|
|
1603
1590
|
},
|
|
1604
|
-
"audit": {
|
|
1605
|
-
"list": {
|
|
1606
|
-
"method": "GET",
|
|
1607
|
-
"params": [
|
|
1608
|
-
{
|
|
1609
|
-
"in": "path",
|
|
1610
|
-
"name": "environmentId"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"in": "query",
|
|
1614
|
-
"name": "entityType"
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"in": "query",
|
|
1618
|
-
"name": "action"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"in": "query",
|
|
1622
|
-
"name": "actorId"
|
|
1623
|
-
},
|
|
1624
|
-
{
|
|
1625
|
-
"in": "query",
|
|
1626
|
-
"name": "serviceId"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"in": "query",
|
|
1630
|
-
"name": "limit"
|
|
1631
|
-
}
|
|
1632
|
-
],
|
|
1633
|
-
"path": "/deployment/environments/:environmentId/audit",
|
|
1634
|
-
"readOnly": true
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
1591
|
"build": {
|
|
1638
1592
|
"get": {
|
|
1639
1593
|
"method": "GET",
|
|
@@ -2329,6 +2283,57 @@ export const bindings: BindingsMap = {
|
|
|
2329
2283
|
"readOnly": true
|
|
2330
2284
|
}
|
|
2331
2285
|
},
|
|
2286
|
+
"job": {
|
|
2287
|
+
"run": {
|
|
2288
|
+
"method": "POST",
|
|
2289
|
+
"params": [
|
|
2290
|
+
{
|
|
2291
|
+
"in": "path",
|
|
2292
|
+
"name": "serviceId"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2295
|
+
"path": "/deployment/services/:serviceId/runs",
|
|
2296
|
+
"readOnly": false
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
"job-run": {
|
|
2300
|
+
"logs": {
|
|
2301
|
+
"method": "GET",
|
|
2302
|
+
"params": [
|
|
2303
|
+
{
|
|
2304
|
+
"in": "path",
|
|
2305
|
+
"name": "serviceId"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"in": "path",
|
|
2309
|
+
"name": "runId"
|
|
2310
|
+
}
|
|
2311
|
+
],
|
|
2312
|
+
"path": "/deployment/services/:serviceId/runs/:runId/logs",
|
|
2313
|
+
"readOnly": true
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"job-runs": {
|
|
2317
|
+
"list": {
|
|
2318
|
+
"method": "GET",
|
|
2319
|
+
"params": [
|
|
2320
|
+
{
|
|
2321
|
+
"in": "path",
|
|
2322
|
+
"name": "serviceId"
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"in": "query",
|
|
2326
|
+
"name": "limit"
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"in": "query",
|
|
2330
|
+
"name": "cursor"
|
|
2331
|
+
}
|
|
2332
|
+
],
|
|
2333
|
+
"path": "/deployment/services/:serviceId/runs",
|
|
2334
|
+
"readOnly": true
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2332
2337
|
"managed-service": {
|
|
2333
2338
|
"backup": {
|
|
2334
2339
|
"method": "POST",
|
|
@@ -2656,6 +2661,26 @@ export const bindings: BindingsMap = {
|
|
|
2656
2661
|
{
|
|
2657
2662
|
"in": "body",
|
|
2658
2663
|
"name": "canvas"
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"in": "body",
|
|
2667
|
+
"name": "mode"
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"in": "body",
|
|
2671
|
+
"name": "schedule"
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"in": "body",
|
|
2675
|
+
"name": "command"
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"in": "body",
|
|
2679
|
+
"name": "jobTimeoutSec"
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"in": "body",
|
|
2683
|
+
"name": "jobConcurrency"
|
|
2659
2684
|
}
|
|
2660
2685
|
],
|
|
2661
2686
|
"path": "/deployment/environments/:environmentId/services",
|
|
@@ -2831,6 +2856,30 @@ export const bindings: BindingsMap = {
|
|
|
2831
2856
|
"in": "body",
|
|
2832
2857
|
"name": "autoDeploy"
|
|
2833
2858
|
},
|
|
2859
|
+
{
|
|
2860
|
+
"in": "body",
|
|
2861
|
+
"name": "schedule"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"in": "body",
|
|
2865
|
+
"name": "scheduleSuspended"
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"in": "body",
|
|
2869
|
+
"name": "command"
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"in": "body",
|
|
2873
|
+
"name": "jobTimeoutSec"
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"in": "body",
|
|
2877
|
+
"name": "jobConcurrency"
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"in": "body",
|
|
2881
|
+
"name": "mode"
|
|
2882
|
+
},
|
|
2834
2883
|
{
|
|
2835
2884
|
"in": "path",
|
|
2836
2885
|
"name": "id"
|
|
@@ -5682,6 +5731,110 @@ export const bindings: BindingsMap = {
|
|
|
5682
5731
|
}
|
|
5683
5732
|
}
|
|
5684
5733
|
},
|
|
5734
|
+
"playground": {
|
|
5735
|
+
"analytics": {
|
|
5736
|
+
"overview": {
|
|
5737
|
+
"method": "POST",
|
|
5738
|
+
"params": [
|
|
5739
|
+
{
|
|
5740
|
+
"in": "body",
|
|
5741
|
+
"name": "limit"
|
|
5742
|
+
}
|
|
5743
|
+
],
|
|
5744
|
+
"path": "/playground/analytics/overview",
|
|
5745
|
+
"readOnly": true
|
|
5746
|
+
}
|
|
5747
|
+
},
|
|
5748
|
+
"billing": {
|
|
5749
|
+
"entitlements": {
|
|
5750
|
+
"method": "POST",
|
|
5751
|
+
"path": "/playground/billing/entitlements",
|
|
5752
|
+
"readOnly": true
|
|
5753
|
+
},
|
|
5754
|
+
"record-usage": {
|
|
5755
|
+
"method": "POST",
|
|
5756
|
+
"params": [
|
|
5757
|
+
{
|
|
5758
|
+
"in": "body",
|
|
5759
|
+
"name": "value"
|
|
5760
|
+
}
|
|
5761
|
+
],
|
|
5762
|
+
"path": "/playground/billing/usage",
|
|
5763
|
+
"readOnly": false
|
|
5764
|
+
}
|
|
5765
|
+
},
|
|
5766
|
+
"clickup": {
|
|
5767
|
+
"create-task": {
|
|
5768
|
+
"method": "POST",
|
|
5769
|
+
"params": [
|
|
5770
|
+
{
|
|
5771
|
+
"in": "body",
|
|
5772
|
+
"name": "listId"
|
|
5773
|
+
},
|
|
5774
|
+
{
|
|
5775
|
+
"in": "body",
|
|
5776
|
+
"name": "name"
|
|
5777
|
+
}
|
|
5778
|
+
],
|
|
5779
|
+
"path": "/playground/clickup/tasks",
|
|
5780
|
+
"readOnly": false
|
|
5781
|
+
},
|
|
5782
|
+
"get-last-webhook": {
|
|
5783
|
+
"method": "GET",
|
|
5784
|
+
"path": "/playground/clickup/webhooks/last",
|
|
5785
|
+
"readOnly": true
|
|
5786
|
+
},
|
|
5787
|
+
"get-overview": {
|
|
5788
|
+
"method": "GET",
|
|
5789
|
+
"path": "/playground/clickup/overview",
|
|
5790
|
+
"readOnly": true
|
|
5791
|
+
}
|
|
5792
|
+
},
|
|
5793
|
+
"gdrive": {
|
|
5794
|
+
"get-last-change": {
|
|
5795
|
+
"method": "GET",
|
|
5796
|
+
"path": "/playground/gdrive/changes/last",
|
|
5797
|
+
"readOnly": true
|
|
5798
|
+
},
|
|
5799
|
+
"read-file": {
|
|
5800
|
+
"method": "POST",
|
|
5801
|
+
"params": [
|
|
5802
|
+
{
|
|
5803
|
+
"in": "body",
|
|
5804
|
+
"name": "fileId"
|
|
5805
|
+
}
|
|
5806
|
+
],
|
|
5807
|
+
"path": "/playground/gdrive/file",
|
|
5808
|
+
"readOnly": true
|
|
5809
|
+
}
|
|
5810
|
+
},
|
|
5811
|
+
"googleads": {
|
|
5812
|
+
"read-customer": {
|
|
5813
|
+
"method": "POST",
|
|
5814
|
+
"path": "/playground/googleads/customer",
|
|
5815
|
+
"readOnly": true
|
|
5816
|
+
}
|
|
5817
|
+
},
|
|
5818
|
+
"lifecycle": {
|
|
5819
|
+
"get-state": {
|
|
5820
|
+
"method": "GET",
|
|
5821
|
+
"path": "/playground/lifecycle/state",
|
|
5822
|
+
"readOnly": true
|
|
5823
|
+
},
|
|
5824
|
+
"list-events": {
|
|
5825
|
+
"method": "GET",
|
|
5826
|
+
"path": "/playground/lifecycle/events",
|
|
5827
|
+
"readOnly": true
|
|
5828
|
+
}
|
|
5829
|
+
},
|
|
5830
|
+
"webhook": {
|
|
5831
|
+
"get-last": {
|
|
5832
|
+
"method": "GET",
|
|
5833
|
+
"path": "/playground/webhooks/last",
|
|
5834
|
+
"readOnly": true
|
|
5835
|
+
}
|
|
5836
|
+
}
|
|
5837
|
+
},
|
|
5685
5838
|
"realtime": {
|
|
5686
5839
|
"archive": {
|
|
5687
5840
|
"export": {
|
|
@@ -8545,4 +8698,12 @@ export const bindings: BindingsMap = {
|
|
|
8545
8698
|
}
|
|
8546
8699
|
};
|
|
8547
8700
|
|
|
8548
|
-
export const wsBindings: WsBindingsMap = {
|
|
8701
|
+
export const wsBindings: WsBindingsMap = {
|
|
8702
|
+
"playground": {
|
|
8703
|
+
"ws": {
|
|
8704
|
+
"echo": {
|
|
8705
|
+
"path": "/playground/ws/echo"
|
|
8706
|
+
}
|
|
8707
|
+
}
|
|
8708
|
+
}
|
|
8709
|
+
};
|
package/src/gen/brain/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput
|
|
3
|
+
export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput } from '../types.gen';
|
|
@@ -68,8 +68,6 @@ import type {
|
|
|
68
68
|
BrainProductSharedMemoryResetInput,
|
|
69
69
|
BrainRestoreStatusInput,
|
|
70
70
|
BrainRestoreStatusOutput,
|
|
71
|
-
BrainUsageReportInput,
|
|
72
|
-
BrainUsageReportOutput,
|
|
73
71
|
} from '../types.gen';
|
|
74
72
|
|
|
75
73
|
export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -271,8 +269,3 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
|
|
|
271
269
|
queryKey: ['brain', 'restore', 'status', input] as const,
|
|
272
270
|
queryFn: () => sdk['brain']['restore']['status'](input),
|
|
273
271
|
});
|
|
274
|
-
|
|
275
|
-
export const brainUsageReportQueryOptions = (sdk: GeneratedClient, input: BrainUsageReportInput) => ({
|
|
276
|
-
queryKey: ['brain', 'usage', 'report', input] as const,
|
|
277
|
-
queryFn: () => sdk['brain']['usage']['report'](input),
|
|
278
|
-
});
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -82,8 +82,6 @@ import type {
|
|
|
82
82
|
BrainProductSharedMemoryResetOutput,
|
|
83
83
|
BrainRestoreStatusInput,
|
|
84
84
|
BrainRestoreStatusOutput,
|
|
85
|
-
BrainUsageReportInput,
|
|
86
|
-
BrainUsageReportOutput,
|
|
87
85
|
ConsentConfigCookieDomainUpsertInput,
|
|
88
86
|
ConsentConfigCookieDomainUpsertOutput,
|
|
89
87
|
ConsentConfigCustomizationUpsertInput,
|
|
@@ -188,8 +186,6 @@ import type {
|
|
|
188
186
|
DeploymentAlertUpdateOutput,
|
|
189
187
|
DeploymentAnalyticsQueryInput,
|
|
190
188
|
DeploymentAnalyticsQueryOutput,
|
|
191
|
-
DeploymentAuditListInput,
|
|
192
|
-
DeploymentAuditListOutput,
|
|
193
189
|
DeploymentBuildGetInput,
|
|
194
190
|
DeploymentBuildGetOutput,
|
|
195
191
|
DeploymentBuildListInput,
|
|
@@ -280,6 +276,12 @@ import type {
|
|
|
280
276
|
DeploymentEventsListByEnvironmentOutput,
|
|
281
277
|
DeploymentEventsListByServiceInput,
|
|
282
278
|
DeploymentEventsListByServiceOutput,
|
|
279
|
+
DeploymentJobRunInput,
|
|
280
|
+
DeploymentJobRunLogsInput,
|
|
281
|
+
DeploymentJobRunLogsOutput,
|
|
282
|
+
DeploymentJobRunOutput,
|
|
283
|
+
DeploymentJobRunsListInput,
|
|
284
|
+
DeploymentJobRunsListOutput,
|
|
283
285
|
DeploymentManagedServiceBackupInput,
|
|
284
286
|
DeploymentManagedServiceBackupListInput,
|
|
285
287
|
DeploymentManagedServiceBackupListOutput,
|
|
@@ -704,6 +706,30 @@ import type {
|
|
|
704
706
|
OrganizationSupportThreadReplyOutput,
|
|
705
707
|
OrganizationSupportThreadsListInput,
|
|
706
708
|
OrganizationSupportThreadsListOutput,
|
|
709
|
+
PlaygroundAnalyticsOverviewInput,
|
|
710
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
711
|
+
PlaygroundBillingEntitlementsInput,
|
|
712
|
+
PlaygroundBillingEntitlementsOutput,
|
|
713
|
+
PlaygroundBillingRecordUsageInput,
|
|
714
|
+
PlaygroundBillingRecordUsageOutput,
|
|
715
|
+
PlaygroundClickupCreateTaskInput,
|
|
716
|
+
PlaygroundClickupCreateTaskOutput,
|
|
717
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
718
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
719
|
+
PlaygroundClickupGetOverviewInput,
|
|
720
|
+
PlaygroundClickupGetOverviewOutput,
|
|
721
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
722
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
723
|
+
PlaygroundGdriveReadFileInput,
|
|
724
|
+
PlaygroundGdriveReadFileOutput,
|
|
725
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
726
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
727
|
+
PlaygroundLifecycleGetStateInput,
|
|
728
|
+
PlaygroundLifecycleGetStateOutput,
|
|
729
|
+
PlaygroundLifecycleListEventsInput,
|
|
730
|
+
PlaygroundLifecycleListEventsOutput,
|
|
731
|
+
PlaygroundWebhookGetLastInput,
|
|
732
|
+
PlaygroundWebhookGetLastOutput,
|
|
707
733
|
RealtimeArchiveExportInput,
|
|
708
734
|
RealtimeArchiveExportOutput,
|
|
709
735
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1111,9 +1137,6 @@ export interface GeneratedClient {
|
|
|
1111
1137
|
restore: {
|
|
1112
1138
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1113
1139
|
};
|
|
1114
|
-
usage: {
|
|
1115
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1116
|
-
};
|
|
1117
1140
|
};
|
|
1118
1141
|
consent: {
|
|
1119
1142
|
'config-cookie-domain': {
|
|
@@ -1220,9 +1243,6 @@ export interface GeneratedClient {
|
|
|
1220
1243
|
analytics: {
|
|
1221
1244
|
query(input: DeploymentAnalyticsQueryInput): Promise<DeploymentAnalyticsQueryOutput>;
|
|
1222
1245
|
};
|
|
1223
|
-
audit: {
|
|
1224
|
-
list(input: DeploymentAuditListInput): Promise<DeploymentAuditListOutput>;
|
|
1225
|
-
};
|
|
1226
1246
|
build: {
|
|
1227
1247
|
get(input: DeploymentBuildGetInput): Promise<DeploymentBuildGetOutput>;
|
|
1228
1248
|
list(input: DeploymentBuildListInput): Promise<DeploymentBuildListOutput>;
|
|
@@ -1300,6 +1320,15 @@ export interface GeneratedClient {
|
|
|
1300
1320
|
environment(input: DeploymentEventsListByEnvironmentInput): Promise<DeploymentEventsListByEnvironmentOutput>;
|
|
1301
1321
|
service(input: DeploymentEventsListByServiceInput): Promise<DeploymentEventsListByServiceOutput>;
|
|
1302
1322
|
};
|
|
1323
|
+
job: {
|
|
1324
|
+
run(input: DeploymentJobRunInput): Promise<DeploymentJobRunOutput>;
|
|
1325
|
+
};
|
|
1326
|
+
'job-run': {
|
|
1327
|
+
logs(input: DeploymentJobRunLogsInput): Promise<DeploymentJobRunLogsOutput>;
|
|
1328
|
+
};
|
|
1329
|
+
'job-runs': {
|
|
1330
|
+
list(input: DeploymentJobRunsListInput): Promise<DeploymentJobRunsListOutput>;
|
|
1331
|
+
};
|
|
1303
1332
|
'managed-service': {
|
|
1304
1333
|
backup(input: DeploymentManagedServiceBackupInput): Promise<DeploymentManagedServiceBackupOutput>;
|
|
1305
1334
|
delete(input: DeploymentManagedServiceDeleteInput): Promise<DeploymentManagedServiceDeleteOutput>;
|
|
@@ -1653,6 +1682,34 @@ export interface GeneratedClient {
|
|
|
1653
1682
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1654
1683
|
};
|
|
1655
1684
|
};
|
|
1685
|
+
playground: {
|
|
1686
|
+
analytics: {
|
|
1687
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1688
|
+
};
|
|
1689
|
+
billing: {
|
|
1690
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1691
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1692
|
+
};
|
|
1693
|
+
clickup: {
|
|
1694
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1695
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1696
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1697
|
+
};
|
|
1698
|
+
gdrive: {
|
|
1699
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1700
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1701
|
+
};
|
|
1702
|
+
googleads: {
|
|
1703
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1704
|
+
};
|
|
1705
|
+
lifecycle: {
|
|
1706
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1707
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1708
|
+
};
|
|
1709
|
+
webhook: {
|
|
1710
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1656
1713
|
realtime: {
|
|
1657
1714
|
archive: {
|
|
1658
1715
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput,
|
|
3
|
+
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
|
|
@@ -10,8 +10,6 @@ import type {
|
|
|
10
10
|
DeploymentAlertUpdateInput,
|
|
11
11
|
DeploymentAnalyticsQueryInput,
|
|
12
12
|
DeploymentAnalyticsQueryOutput,
|
|
13
|
-
DeploymentAuditListInput,
|
|
14
|
-
DeploymentAuditListOutput,
|
|
15
13
|
DeploymentBuildGetInput,
|
|
16
14
|
DeploymentBuildGetOutput,
|
|
17
15
|
DeploymentBuildListInput,
|
|
@@ -78,6 +76,11 @@ import type {
|
|
|
78
76
|
DeploymentEventsListByEnvironmentOutput,
|
|
79
77
|
DeploymentEventsListByServiceInput,
|
|
80
78
|
DeploymentEventsListByServiceOutput,
|
|
79
|
+
DeploymentJobRunInput,
|
|
80
|
+
DeploymentJobRunLogsInput,
|
|
81
|
+
DeploymentJobRunLogsOutput,
|
|
82
|
+
DeploymentJobRunsListInput,
|
|
83
|
+
DeploymentJobRunsListOutput,
|
|
81
84
|
DeploymentManagedServiceBackupInput,
|
|
82
85
|
DeploymentManagedServiceBackupListInput,
|
|
83
86
|
DeploymentManagedServiceBackupListOutput,
|
|
@@ -188,11 +191,6 @@ export const deploymentAnalyticsQueryQueryOptions = (sdk: GeneratedClient, input
|
|
|
188
191
|
queryFn: () => sdk['deployment']['analytics']['query'](input),
|
|
189
192
|
});
|
|
190
193
|
|
|
191
|
-
export const deploymentAuditListQueryOptions = (sdk: GeneratedClient, input: DeploymentAuditListInput) => ({
|
|
192
|
-
queryKey: ['deployment', 'audit', 'list', input] as const,
|
|
193
|
-
queryFn: () => sdk['deployment']['audit']['list'](input),
|
|
194
|
-
});
|
|
195
|
-
|
|
196
194
|
export const deploymentBuildGetQueryOptions = (sdk: GeneratedClient, input: DeploymentBuildGetInput) => ({
|
|
197
195
|
queryKey: ['deployment', 'build', 'get', input] as const,
|
|
198
196
|
queryFn: () => sdk['deployment']['build']['get'](input),
|
|
@@ -418,6 +416,21 @@ export const deploymentEventsListByServiceQueryOptions = (sdk: GeneratedClient,
|
|
|
418
416
|
queryFn: () => sdk['deployment']['events-list-by']['service'](input),
|
|
419
417
|
});
|
|
420
418
|
|
|
419
|
+
export const deploymentJobRunMutationOptions = (sdk: GeneratedClient) => ({
|
|
420
|
+
mutationKey: ['deployment', 'job', 'run'],
|
|
421
|
+
mutationFn: (input: DeploymentJobRunInput) => sdk['deployment']['job']['run'](input),
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
export const deploymentJobRunLogsQueryOptions = (sdk: GeneratedClient, input: DeploymentJobRunLogsInput) => ({
|
|
425
|
+
queryKey: ['deployment', 'job-run', 'logs', input] as const,
|
|
426
|
+
queryFn: () => sdk['deployment']['job-run']['logs'](input),
|
|
427
|
+
});
|
|
428
|
+
|
|
429
|
+
export const deploymentJobRunsListQueryOptions = (sdk: GeneratedClient, input: DeploymentJobRunsListInput) => ({
|
|
430
|
+
queryKey: ['deployment', 'job-runs', 'list', input] as const,
|
|
431
|
+
queryFn: () => sdk['deployment']['job-runs']['list'](input),
|
|
432
|
+
});
|
|
433
|
+
|
|
421
434
|
export const deploymentManagedServiceBackupMutationOptions = (sdk: GeneratedClient) => ({
|
|
422
435
|
mutationKey: ['deployment', 'managed-service', 'backup'],
|
|
423
436
|
mutationFn: (input: DeploymentManagedServiceBackupInput) => sdk['deployment']['managed-service']['backup'](input),
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import { wsBindings } from '../bindings.gen';
|
|
3
|
+
import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
|
|
4
|
+
import type {
|
|
5
|
+
PlaygroundWsEchoInput,
|
|
6
|
+
} from '../types.gen';
|
|
7
|
+
|
|
8
|
+
export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
|
|
9
|
+
sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export * from './connect.gen';
|
|
4
|
+
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
15
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
16
|
+
PlaygroundGdriveReadFileInput,
|
|
17
|
+
PlaygroundGdriveReadFileOutput,
|
|
18
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
19
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
20
|
+
PlaygroundLifecycleGetStateInput,
|
|
21
|
+
PlaygroundLifecycleGetStateOutput,
|
|
22
|
+
PlaygroundLifecycleListEventsInput,
|
|
23
|
+
PlaygroundLifecycleListEventsOutput,
|
|
24
|
+
PlaygroundWebhookGetLastInput,
|
|
25
|
+
PlaygroundWebhookGetLastOutput,
|
|
26
|
+
} from '../types.gen';
|
|
27
|
+
|
|
28
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
29
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
30
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
34
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
35
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
39
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
40
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
44
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
45
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
49
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
50
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
54
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
55
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
59
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
60
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
64
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
65
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
69
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
70
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
74
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
75
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
79
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
80
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
84
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
85
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
86
|
+
});
|