@lessly/sdk-app 8.1.0 → 9.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.cjs +11 -0
- package/dist/analytics/index.cjs.map +1 -0
- package/dist/analytics/index.d.cts +8 -0
- package/dist/analytics/index.d.ts +8 -0
- package/dist/analytics/index.js +9 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/brain/index.cjs +0 -10
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -10
- package/dist/brain/index.d.ts +2 -10
- package/dist/brain/index.js +1 -9
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-Bwk8slzV.d.cts → client.gen-D7QDqI8G.d.cts} +257 -107
- package/dist/{client.gen-Bwk8slzV.d.ts → client.gen-D7QDqI8G.d.ts} +257 -107
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +119 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +119 -40
- 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/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +12 -2
- package/src/gen/analytics/index.ts +3 -0
- package/src/gen/analytics/queryOptions.gen.ts +11 -0
- package/src/gen/bindings.gen.ts +119 -40
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -14
- package/src/gen/client.gen.ts +59 -8
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +257 -106
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
import type { BindingsMap } from '../runtime/types';
|
|
3
3
|
|
|
4
4
|
export const bindings: BindingsMap = {
|
|
5
|
+
"analytics": {
|
|
6
|
+
"query": {
|
|
7
|
+
"run": {
|
|
8
|
+
"method": "POST",
|
|
9
|
+
"params": [
|
|
10
|
+
{
|
|
11
|
+
"in": "body",
|
|
12
|
+
"name": "q"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"path": "/analytics/query",
|
|
16
|
+
"readOnly": true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
5
20
|
"brain": {
|
|
6
21
|
"backup": {
|
|
7
22
|
"create": {
|
|
@@ -394,21 +409,6 @@ export const bindings: BindingsMap = {
|
|
|
394
409
|
}
|
|
395
410
|
},
|
|
396
411
|
"knowledge": {
|
|
397
|
-
"graph": {
|
|
398
|
-
"method": "GET",
|
|
399
|
-
"params": [
|
|
400
|
-
{
|
|
401
|
-
"in": "query",
|
|
402
|
-
"name": "limit"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"in": "query",
|
|
406
|
-
"name": "scope"
|
|
407
|
-
}
|
|
408
|
-
],
|
|
409
|
-
"path": "/brain/knowledge/graph",
|
|
410
|
-
"readOnly": true
|
|
411
|
-
},
|
|
412
412
|
"neighborhood": {
|
|
413
413
|
"method": "GET",
|
|
414
414
|
"params": [
|
|
@@ -495,31 +495,6 @@ export const bindings: BindingsMap = {
|
|
|
495
495
|
"readOnly": true
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
|
-
"knowledge-entity": {
|
|
499
|
-
"memories": {
|
|
500
|
-
"method": "GET",
|
|
501
|
-
"params": [
|
|
502
|
-
{
|
|
503
|
-
"in": "path",
|
|
504
|
-
"name": "entity_ref"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"in": "query",
|
|
508
|
-
"name": "limit"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"in": "query",
|
|
512
|
-
"name": "offset"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"in": "query",
|
|
516
|
-
"name": "scope"
|
|
517
|
-
}
|
|
518
|
-
],
|
|
519
|
-
"path": "/brain/knowledge/entities/:entity_ref/memories",
|
|
520
|
-
"readOnly": true
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
498
|
"memory": {
|
|
524
499
|
"add": {
|
|
525
500
|
"method": "POST",
|
|
@@ -4222,6 +4197,110 @@ export const bindings: BindingsMap = {
|
|
|
4222
4197
|
}
|
|
4223
4198
|
}
|
|
4224
4199
|
},
|
|
4200
|
+
"playground": {
|
|
4201
|
+
"analytics": {
|
|
4202
|
+
"overview": {
|
|
4203
|
+
"method": "POST",
|
|
4204
|
+
"params": [
|
|
4205
|
+
{
|
|
4206
|
+
"in": "body",
|
|
4207
|
+
"name": "limit"
|
|
4208
|
+
}
|
|
4209
|
+
],
|
|
4210
|
+
"path": "/playground/analytics/overview",
|
|
4211
|
+
"readOnly": true
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4214
|
+
"billing": {
|
|
4215
|
+
"entitlements": {
|
|
4216
|
+
"method": "POST",
|
|
4217
|
+
"path": "/playground/billing/entitlements",
|
|
4218
|
+
"readOnly": true
|
|
4219
|
+
},
|
|
4220
|
+
"record-usage": {
|
|
4221
|
+
"method": "POST",
|
|
4222
|
+
"params": [
|
|
4223
|
+
{
|
|
4224
|
+
"in": "body",
|
|
4225
|
+
"name": "value"
|
|
4226
|
+
}
|
|
4227
|
+
],
|
|
4228
|
+
"path": "/playground/billing/usage",
|
|
4229
|
+
"readOnly": false
|
|
4230
|
+
}
|
|
4231
|
+
},
|
|
4232
|
+
"clickup": {
|
|
4233
|
+
"create-task": {
|
|
4234
|
+
"method": "POST",
|
|
4235
|
+
"params": [
|
|
4236
|
+
{
|
|
4237
|
+
"in": "body",
|
|
4238
|
+
"name": "listId"
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
"in": "body",
|
|
4242
|
+
"name": "name"
|
|
4243
|
+
}
|
|
4244
|
+
],
|
|
4245
|
+
"path": "/playground/clickup/tasks",
|
|
4246
|
+
"readOnly": false
|
|
4247
|
+
},
|
|
4248
|
+
"get-last-webhook": {
|
|
4249
|
+
"method": "GET",
|
|
4250
|
+
"path": "/playground/clickup/webhooks/last",
|
|
4251
|
+
"readOnly": true
|
|
4252
|
+
},
|
|
4253
|
+
"get-overview": {
|
|
4254
|
+
"method": "GET",
|
|
4255
|
+
"path": "/playground/clickup/overview",
|
|
4256
|
+
"readOnly": true
|
|
4257
|
+
}
|
|
4258
|
+
},
|
|
4259
|
+
"gdrive": {
|
|
4260
|
+
"get-last-change": {
|
|
4261
|
+
"method": "GET",
|
|
4262
|
+
"path": "/playground/gdrive/changes/last",
|
|
4263
|
+
"readOnly": true
|
|
4264
|
+
},
|
|
4265
|
+
"read-file": {
|
|
4266
|
+
"method": "POST",
|
|
4267
|
+
"params": [
|
|
4268
|
+
{
|
|
4269
|
+
"in": "body",
|
|
4270
|
+
"name": "fileId"
|
|
4271
|
+
}
|
|
4272
|
+
],
|
|
4273
|
+
"path": "/playground/gdrive/file",
|
|
4274
|
+
"readOnly": true
|
|
4275
|
+
}
|
|
4276
|
+
},
|
|
4277
|
+
"googleads": {
|
|
4278
|
+
"read-customer": {
|
|
4279
|
+
"method": "POST",
|
|
4280
|
+
"path": "/playground/googleads/customer",
|
|
4281
|
+
"readOnly": true
|
|
4282
|
+
}
|
|
4283
|
+
},
|
|
4284
|
+
"lifecycle": {
|
|
4285
|
+
"get-state": {
|
|
4286
|
+
"method": "GET",
|
|
4287
|
+
"path": "/playground/lifecycle/state",
|
|
4288
|
+
"readOnly": true
|
|
4289
|
+
},
|
|
4290
|
+
"list-events": {
|
|
4291
|
+
"method": "GET",
|
|
4292
|
+
"path": "/playground/lifecycle/events",
|
|
4293
|
+
"readOnly": true
|
|
4294
|
+
}
|
|
4295
|
+
},
|
|
4296
|
+
"webhook": {
|
|
4297
|
+
"get-last": {
|
|
4298
|
+
"method": "GET",
|
|
4299
|
+
"path": "/playground/webhooks/last",
|
|
4300
|
+
"readOnly": true
|
|
4301
|
+
}
|
|
4302
|
+
}
|
|
4303
|
+
},
|
|
4225
4304
|
"tracking": {
|
|
4226
4305
|
"api-keys": {
|
|
4227
4306
|
"create": {
|
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,
|
|
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, 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';
|
|
@@ -44,10 +44,6 @@ import type {
|
|
|
44
44
|
BrainDaemonsListOutput,
|
|
45
45
|
BrainGdriveConnectionsListInput,
|
|
46
46
|
BrainGdriveConnectionsListOutput,
|
|
47
|
-
BrainKnowledgeEntityMemoriesInput,
|
|
48
|
-
BrainKnowledgeEntityMemoriesOutput,
|
|
49
|
-
BrainKnowledgeGraphInput,
|
|
50
|
-
BrainKnowledgeGraphOutput,
|
|
51
47
|
BrainKnowledgeNeighborhoodInput,
|
|
52
48
|
BrainKnowledgeNeighborhoodOutput,
|
|
53
49
|
BrainKnowledgeRelationsInput,
|
|
@@ -200,16 +196,6 @@ export const brainGdriveConnectionsListQueryOptions = (sdk: GeneratedClient, inp
|
|
|
200
196
|
queryFn: () => sdk['brain']['gdrive-connections']['list'](input),
|
|
201
197
|
});
|
|
202
198
|
|
|
203
|
-
export const brainKnowledgeEntityMemoriesQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeEntityMemoriesInput) => ({
|
|
204
|
-
queryKey: ['brain', 'knowledge-entity', 'memories', input] as const,
|
|
205
|
-
queryFn: () => sdk['brain']['knowledge-entity']['memories'](input),
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
export const brainKnowledgeGraphQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeGraphInput) => ({
|
|
209
|
-
queryKey: ['brain', 'knowledge', 'graph', input] as const,
|
|
210
|
-
queryFn: () => sdk['brain']['knowledge']['graph'](input),
|
|
211
|
-
});
|
|
212
|
-
|
|
213
199
|
export const brainKnowledgeNeighborhoodQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeNeighborhoodInput) => ({
|
|
214
200
|
queryKey: ['brain', 'knowledge', 'neighborhood', input] as const,
|
|
215
201
|
queryFn: () => sdk['brain']['knowledge']['neighborhood'](input),
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type {
|
|
3
|
+
AnalyticsQueryRunInput,
|
|
4
|
+
AnalyticsQueryRunOutput,
|
|
3
5
|
BrainBackupCreateInput,
|
|
4
6
|
BrainBackupCreateOutput,
|
|
5
7
|
BrainBackupRestoreInput,
|
|
@@ -52,10 +54,6 @@ import type {
|
|
|
52
54
|
BrainDaemonsListOutput,
|
|
53
55
|
BrainGdriveConnectionsListInput,
|
|
54
56
|
BrainGdriveConnectionsListOutput,
|
|
55
|
-
BrainKnowledgeEntityMemoriesInput,
|
|
56
|
-
BrainKnowledgeEntityMemoriesOutput,
|
|
57
|
-
BrainKnowledgeGraphInput,
|
|
58
|
-
BrainKnowledgeGraphOutput,
|
|
59
57
|
BrainKnowledgeNeighborhoodInput,
|
|
60
58
|
BrainKnowledgeNeighborhoodOutput,
|
|
61
59
|
BrainKnowledgeRelationsInput,
|
|
@@ -540,6 +538,30 @@ import type {
|
|
|
540
538
|
OrganizationRolesUpdateOutput,
|
|
541
539
|
OrganizationSelectInput,
|
|
542
540
|
OrganizationSelectOutput,
|
|
541
|
+
PlaygroundAnalyticsOverviewInput,
|
|
542
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
543
|
+
PlaygroundBillingEntitlementsInput,
|
|
544
|
+
PlaygroundBillingEntitlementsOutput,
|
|
545
|
+
PlaygroundBillingRecordUsageInput,
|
|
546
|
+
PlaygroundBillingRecordUsageOutput,
|
|
547
|
+
PlaygroundClickupCreateTaskInput,
|
|
548
|
+
PlaygroundClickupCreateTaskOutput,
|
|
549
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
550
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
551
|
+
PlaygroundClickupGetOverviewInput,
|
|
552
|
+
PlaygroundClickupGetOverviewOutput,
|
|
553
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
554
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
555
|
+
PlaygroundGdriveReadFileInput,
|
|
556
|
+
PlaygroundGdriveReadFileOutput,
|
|
557
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
558
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
559
|
+
PlaygroundLifecycleGetStateInput,
|
|
560
|
+
PlaygroundLifecycleGetStateOutput,
|
|
561
|
+
PlaygroundLifecycleListEventsInput,
|
|
562
|
+
PlaygroundLifecycleListEventsOutput,
|
|
563
|
+
PlaygroundWebhookGetLastInput,
|
|
564
|
+
PlaygroundWebhookGetLastOutput,
|
|
543
565
|
TrackingApiKeysCreateInput,
|
|
544
566
|
TrackingApiKeysCreateOutput,
|
|
545
567
|
TrackingApiKeysListInput,
|
|
@@ -635,6 +657,11 @@ import type {
|
|
|
635
657
|
} from './types.gen';
|
|
636
658
|
|
|
637
659
|
export interface GeneratedClient {
|
|
660
|
+
analytics: {
|
|
661
|
+
query: {
|
|
662
|
+
run(input: AnalyticsQueryRunInput): Promise<AnalyticsQueryRunOutput>;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
638
665
|
brain: {
|
|
639
666
|
backup: {
|
|
640
667
|
create(input: BrainBackupCreateInput): Promise<BrainBackupCreateOutput>;
|
|
@@ -693,14 +720,10 @@ export interface GeneratedClient {
|
|
|
693
720
|
list(input: BrainGdriveConnectionsListInput): Promise<BrainGdriveConnectionsListOutput>;
|
|
694
721
|
};
|
|
695
722
|
knowledge: {
|
|
696
|
-
graph(input: BrainKnowledgeGraphInput): Promise<BrainKnowledgeGraphOutput>;
|
|
697
723
|
neighborhood(input: BrainKnowledgeNeighborhoodInput): Promise<BrainKnowledgeNeighborhoodOutput>;
|
|
698
724
|
relations(input: BrainKnowledgeRelationsInput): Promise<BrainKnowledgeRelationsOutput>;
|
|
699
725
|
search(input: BrainKnowledgeSearchInput): Promise<BrainKnowledgeSearchOutput>;
|
|
700
726
|
};
|
|
701
|
-
'knowledge-entity': {
|
|
702
|
-
memories(input: BrainKnowledgeEntityMemoriesInput): Promise<BrainKnowledgeEntityMemoriesOutput>;
|
|
703
|
-
};
|
|
704
727
|
memory: {
|
|
705
728
|
add(input: BrainMemoryAddInput): Promise<BrainMemoryAddOutput>;
|
|
706
729
|
delete(input: BrainMemoryDeleteInput): Promise<BrainMemoryDeleteOutput>;
|
|
@@ -1115,6 +1138,34 @@ export interface GeneratedClient {
|
|
|
1115
1138
|
update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
|
|
1116
1139
|
};
|
|
1117
1140
|
};
|
|
1141
|
+
playground: {
|
|
1142
|
+
analytics: {
|
|
1143
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1144
|
+
};
|
|
1145
|
+
billing: {
|
|
1146
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1147
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1148
|
+
};
|
|
1149
|
+
clickup: {
|
|
1150
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1151
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1152
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1153
|
+
};
|
|
1154
|
+
gdrive: {
|
|
1155
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1156
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1157
|
+
};
|
|
1158
|
+
googleads: {
|
|
1159
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1160
|
+
};
|
|
1161
|
+
lifecycle: {
|
|
1162
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1163
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1164
|
+
};
|
|
1165
|
+
webhook: {
|
|
1166
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1118
1169
|
tracking: {
|
|
1119
1170
|
'api-keys': {
|
|
1120
1171
|
create(input: TrackingApiKeysCreateInput): Promise<TrackingApiKeysCreateOutput>;
|
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 = ['brain', 'consent', 'deployment', 'mail', 'organization', 'tracking', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'playground', 'tracking', 'waitlist'] as const;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
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 } 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
|
+
});
|