@lessly/sdk-app 11.0.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +10 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +10 -2
- package/dist/brain/index.d.ts +10 -2
- package/dist/brain/index.js +9 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-BfMz1akk.d.cts → client.gen-CUGiXN_3.d.cts} +204 -221
- package/dist/{client.gen-BfMz1akk.d.ts → client.gen-CUGiXN_3.d.ts} +204 -221
- 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 +76 -79
- 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 +76 -79
- 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/realtime/index.cjs +15 -0
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +14 -2
- package/dist/realtime/index.d.ts +14 -2
- package/dist/realtime/index.js +13 -1
- package/dist/realtime/index.js.map +1 -1
- 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 +2 -7
- package/src/gen/bindings.gen.ts +76 -79
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +14 -0
- package/src/gen/client.gen.ts +20 -51
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +20 -0
- package/src/gen/types.gen.ts +194 -216
- package/dist/playground/index.cjs +0 -66
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -52
- package/dist/playground/index.d.ts +0 -52
- package/dist/playground/index.js +0 -53
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/index.ts +0 -3
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -409,6 +409,21 @@ export const bindings: BindingsMap = {
|
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
411
|
"knowledge": {
|
|
412
|
+
"graph": {
|
|
413
|
+
"method": "GET",
|
|
414
|
+
"params": [
|
|
415
|
+
{
|
|
416
|
+
"in": "query",
|
|
417
|
+
"name": "limit"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"in": "query",
|
|
421
|
+
"name": "scope"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"path": "/brain/knowledge/graph",
|
|
425
|
+
"readOnly": true
|
|
426
|
+
},
|
|
412
427
|
"neighborhood": {
|
|
413
428
|
"method": "GET",
|
|
414
429
|
"params": [
|
|
@@ -495,6 +510,31 @@ export const bindings: BindingsMap = {
|
|
|
495
510
|
"readOnly": true
|
|
496
511
|
}
|
|
497
512
|
},
|
|
513
|
+
"knowledge-entity": {
|
|
514
|
+
"memories": {
|
|
515
|
+
"method": "GET",
|
|
516
|
+
"params": [
|
|
517
|
+
{
|
|
518
|
+
"in": "path",
|
|
519
|
+
"name": "entity_ref"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"in": "query",
|
|
523
|
+
"name": "limit"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"in": "query",
|
|
527
|
+
"name": "offset"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"in": "query",
|
|
531
|
+
"name": "scope"
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"path": "/brain/knowledge/entities/:entity_ref/memories",
|
|
535
|
+
"readOnly": true
|
|
536
|
+
}
|
|
537
|
+
},
|
|
498
538
|
"memory": {
|
|
499
539
|
"add": {
|
|
500
540
|
"method": "POST",
|
|
@@ -4197,111 +4237,60 @@ export const bindings: BindingsMap = {
|
|
|
4197
4237
|
}
|
|
4198
4238
|
}
|
|
4199
4239
|
},
|
|
4200
|
-
"
|
|
4201
|
-
"
|
|
4202
|
-
"
|
|
4240
|
+
"realtime": {
|
|
4241
|
+
"archive": {
|
|
4242
|
+
"export": {
|
|
4203
4243
|
"method": "POST",
|
|
4204
4244
|
"params": [
|
|
4205
4245
|
{
|
|
4206
4246
|
"in": "body",
|
|
4207
|
-
"name": "
|
|
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": [
|
|
4247
|
+
"name": "channel"
|
|
4248
|
+
},
|
|
4223
4249
|
{
|
|
4224
4250
|
"in": "body",
|
|
4225
|
-
"name": "
|
|
4251
|
+
"name": "from_ts"
|
|
4252
|
+
},
|
|
4253
|
+
{
|
|
4254
|
+
"in": "body",
|
|
4255
|
+
"name": "to_ts"
|
|
4226
4256
|
}
|
|
4227
4257
|
],
|
|
4228
|
-
"path": "/
|
|
4258
|
+
"path": "/realtime/archive/exports",
|
|
4229
4259
|
"readOnly": false
|
|
4230
|
-
}
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
"create-task": {
|
|
4234
|
-
"method": "POST",
|
|
4260
|
+
},
|
|
4261
|
+
"get": {
|
|
4262
|
+
"method": "GET",
|
|
4235
4263
|
"params": [
|
|
4236
4264
|
{
|
|
4237
|
-
"in": "
|
|
4238
|
-
"name": "
|
|
4265
|
+
"in": "query",
|
|
4266
|
+
"name": "channel"
|
|
4239
4267
|
},
|
|
4240
4268
|
{
|
|
4241
|
-
"in": "
|
|
4242
|
-
"name": "
|
|
4269
|
+
"in": "query",
|
|
4270
|
+
"name": "after_offset"
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
"in": "query",
|
|
4274
|
+
"name": "limit"
|
|
4243
4275
|
}
|
|
4244
4276
|
],
|
|
4245
|
-
"path": "/
|
|
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",
|
|
4277
|
+
"path": "/realtime/archive",
|
|
4256
4278
|
"readOnly": true
|
|
4257
4279
|
}
|
|
4258
4280
|
},
|
|
4259
|
-
"
|
|
4260
|
-
"
|
|
4281
|
+
"archive-export": {
|
|
4282
|
+
"status": {
|
|
4261
4283
|
"method": "GET",
|
|
4262
|
-
"path": "/playground/gdrive/changes/last",
|
|
4263
|
-
"readOnly": true
|
|
4264
|
-
},
|
|
4265
|
-
"read-file": {
|
|
4266
|
-
"method": "POST",
|
|
4267
4284
|
"params": [
|
|
4268
4285
|
{
|
|
4269
|
-
"in": "
|
|
4270
|
-
"name": "
|
|
4286
|
+
"in": "path",
|
|
4287
|
+
"name": "export_id"
|
|
4271
4288
|
}
|
|
4272
4289
|
],
|
|
4273
|
-
"path": "/
|
|
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",
|
|
4290
|
+
"path": "/realtime/archive/exports/:export_id",
|
|
4293
4291
|
"readOnly": true
|
|
4294
4292
|
}
|
|
4295
4293
|
},
|
|
4296
|
-
"webhook": {
|
|
4297
|
-
"get-last": {
|
|
4298
|
-
"method": "GET",
|
|
4299
|
-
"path": "/playground/webhooks/last",
|
|
4300
|
-
"readOnly": true
|
|
4301
|
-
}
|
|
4302
|
-
}
|
|
4303
|
-
},
|
|
4304
|
-
"realtime": {
|
|
4305
4294
|
"grant": {
|
|
4306
4295
|
"create": {
|
|
4307
4296
|
"method": "POST",
|
|
@@ -4430,6 +4419,10 @@ export const bindings: BindingsMap = {
|
|
|
4430
4419
|
{
|
|
4431
4420
|
"in": "body",
|
|
4432
4421
|
"name": "subscribeProxyUrl"
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
"in": "body",
|
|
4425
|
+
"name": "archive"
|
|
4433
4426
|
}
|
|
4434
4427
|
],
|
|
4435
4428
|
"path": "/realtime/namespaces",
|
|
@@ -4500,6 +4493,10 @@ export const bindings: BindingsMap = {
|
|
|
4500
4493
|
{
|
|
4501
4494
|
"in": "body",
|
|
4502
4495
|
"name": "subscribeProxyUrl"
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"in": "body",
|
|
4499
|
+
"name": "archive"
|
|
4503
4500
|
}
|
|
4504
4501
|
],
|
|
4505
4502
|
"path": "/realtime/namespaces/:name",
|
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, 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';
|
|
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';
|
|
@@ -44,6 +44,10 @@ import type {
|
|
|
44
44
|
BrainDaemonsListOutput,
|
|
45
45
|
BrainGdriveConnectionsListInput,
|
|
46
46
|
BrainGdriveConnectionsListOutput,
|
|
47
|
+
BrainKnowledgeEntityMemoriesInput,
|
|
48
|
+
BrainKnowledgeEntityMemoriesOutput,
|
|
49
|
+
BrainKnowledgeGraphInput,
|
|
50
|
+
BrainKnowledgeGraphOutput,
|
|
47
51
|
BrainKnowledgeNeighborhoodInput,
|
|
48
52
|
BrainKnowledgeNeighborhoodOutput,
|
|
49
53
|
BrainKnowledgeRelationsInput,
|
|
@@ -196,6 +200,16 @@ export const brainGdriveConnectionsListQueryOptions = (sdk: GeneratedClient, inp
|
|
|
196
200
|
queryFn: () => sdk['brain']['gdrive-connections']['list'](input),
|
|
197
201
|
});
|
|
198
202
|
|
|
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
|
+
|
|
199
213
|
export const brainKnowledgeNeighborhoodQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeNeighborhoodInput) => ({
|
|
200
214
|
queryKey: ['brain', 'knowledge', 'neighborhood', input] as const,
|
|
201
215
|
queryFn: () => sdk['brain']['knowledge']['neighborhood'](input),
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -54,6 +54,10 @@ import type {
|
|
|
54
54
|
BrainDaemonsListOutput,
|
|
55
55
|
BrainGdriveConnectionsListInput,
|
|
56
56
|
BrainGdriveConnectionsListOutput,
|
|
57
|
+
BrainKnowledgeEntityMemoriesInput,
|
|
58
|
+
BrainKnowledgeEntityMemoriesOutput,
|
|
59
|
+
BrainKnowledgeGraphInput,
|
|
60
|
+
BrainKnowledgeGraphOutput,
|
|
57
61
|
BrainKnowledgeNeighborhoodInput,
|
|
58
62
|
BrainKnowledgeNeighborhoodOutput,
|
|
59
63
|
BrainKnowledgeRelationsInput,
|
|
@@ -538,30 +542,12 @@ import type {
|
|
|
538
542
|
OrganizationRolesUpdateOutput,
|
|
539
543
|
OrganizationSelectInput,
|
|
540
544
|
OrganizationSelectOutput,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
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,
|
|
545
|
+
RealtimeArchiveExportInput,
|
|
546
|
+
RealtimeArchiveExportOutput,
|
|
547
|
+
RealtimeArchiveExportStatusInput,
|
|
548
|
+
RealtimeArchiveExportStatusOutput,
|
|
549
|
+
RealtimeArchiveGetInput,
|
|
550
|
+
RealtimeArchiveGetOutput,
|
|
565
551
|
RealtimeGrantCreateInput,
|
|
566
552
|
RealtimeGrantCreateOutput,
|
|
567
553
|
RealtimeGrantListInput,
|
|
@@ -768,10 +754,14 @@ export interface GeneratedClient {
|
|
|
768
754
|
list(input: BrainGdriveConnectionsListInput): Promise<BrainGdriveConnectionsListOutput>;
|
|
769
755
|
};
|
|
770
756
|
knowledge: {
|
|
757
|
+
graph(input: BrainKnowledgeGraphInput): Promise<BrainKnowledgeGraphOutput>;
|
|
771
758
|
neighborhood(input: BrainKnowledgeNeighborhoodInput): Promise<BrainKnowledgeNeighborhoodOutput>;
|
|
772
759
|
relations(input: BrainKnowledgeRelationsInput): Promise<BrainKnowledgeRelationsOutput>;
|
|
773
760
|
search(input: BrainKnowledgeSearchInput): Promise<BrainKnowledgeSearchOutput>;
|
|
774
761
|
};
|
|
762
|
+
'knowledge-entity': {
|
|
763
|
+
memories(input: BrainKnowledgeEntityMemoriesInput): Promise<BrainKnowledgeEntityMemoriesOutput>;
|
|
764
|
+
};
|
|
775
765
|
memory: {
|
|
776
766
|
add(input: BrainMemoryAddInput): Promise<BrainMemoryAddOutput>;
|
|
777
767
|
delete(input: BrainMemoryDeleteInput): Promise<BrainMemoryDeleteOutput>;
|
|
@@ -1186,35 +1176,14 @@ export interface GeneratedClient {
|
|
|
1186
1176
|
update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
|
|
1187
1177
|
};
|
|
1188
1178
|
};
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
billing: {
|
|
1194
|
-
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1195
|
-
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1196
|
-
};
|
|
1197
|
-
clickup: {
|
|
1198
|
-
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1199
|
-
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1200
|
-
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1201
|
-
};
|
|
1202
|
-
gdrive: {
|
|
1203
|
-
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1204
|
-
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1205
|
-
};
|
|
1206
|
-
googleads: {
|
|
1207
|
-
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1179
|
+
realtime: {
|
|
1180
|
+
archive: {
|
|
1181
|
+
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
1182
|
+
get(input: RealtimeArchiveGetInput): Promise<RealtimeArchiveGetOutput>;
|
|
1208
1183
|
};
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1184
|
+
'archive-export': {
|
|
1185
|
+
status(input: RealtimeArchiveExportStatusInput): Promise<RealtimeArchiveExportStatusOutput>;
|
|
1212
1186
|
};
|
|
1213
|
-
webhook: {
|
|
1214
|
-
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
realtime: {
|
|
1218
1187
|
grant: {
|
|
1219
1188
|
create(input: RealtimeGrantCreateInput): Promise<RealtimeGrantCreateOutput>;
|
|
1220
1189
|
list(input: RealtimeGrantListInput): Promise<RealtimeGrantListOutput>;
|
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', 'deployment', 'mail', 'organization', '
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'realtime', 'tracking', 'waitlist'] as const;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
+
RealtimeArchiveExportInput,
|
|
5
|
+
RealtimeArchiveExportStatusInput,
|
|
6
|
+
RealtimeArchiveExportStatusOutput,
|
|
7
|
+
RealtimeArchiveGetInput,
|
|
8
|
+
RealtimeArchiveGetOutput,
|
|
4
9
|
RealtimeGrantCreateInput,
|
|
5
10
|
RealtimeGrantListInput,
|
|
6
11
|
RealtimeGrantListOutput,
|
|
@@ -37,6 +42,21 @@ import type {
|
|
|
37
42
|
RealtimeWebhookUpdateInput,
|
|
38
43
|
} from '../types.gen';
|
|
39
44
|
|
|
45
|
+
export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
46
|
+
mutationKey: ['realtime', 'archive', 'export'],
|
|
47
|
+
mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export const realtimeArchiveExportStatusQueryOptions = (sdk: GeneratedClient, input: RealtimeArchiveExportStatusInput) => ({
|
|
51
|
+
queryKey: ['realtime', 'archive-export', 'status', input] as const,
|
|
52
|
+
queryFn: () => sdk['realtime']['archive-export']['status'](input),
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export const realtimeArchiveGetQueryOptions = (sdk: GeneratedClient, input: RealtimeArchiveGetInput) => ({
|
|
56
|
+
queryKey: ['realtime', 'archive', 'get', input] as const,
|
|
57
|
+
queryFn: () => sdk['realtime']['archive']['get'](input),
|
|
58
|
+
});
|
|
59
|
+
|
|
40
60
|
export const realtimeGrantCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
41
61
|
mutationKey: ['realtime', 'grant', 'create'],
|
|
42
62
|
mutationFn: (input: RealtimeGrantCreateInput) => sdk['realtime']['grant']['create'](input),
|