@lessly/sdk-app 31.0.0 → 31.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.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-Cn7kIdt-.d.cts → client.gen-3v2tDsvG.d.cts} +771 -1
- package/dist/{client.gen-Cn7kIdt-.d.ts → client.gen-3v2tDsvG.d.ts} +771 -1
- 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 +221 -0
- 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 +221 -0
- 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.cjs +71 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +56 -0
- package/dist/observe/index.d.ts +56 -0
- package/dist/observe/index.js +57 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- 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/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 +221 -0
- package/src/gen/client.gen.ts +49 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +89 -0
- package/src/gen/types.gen.ts +773 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, na as WaitlistConfigGetInput, nb as WaitlistConfigGetOutput, nc as WaitlistConfigUpsertInput, nd as WaitlistConfigUpsertOutput, ne as WaitlistEmbedGetInput, nf as WaitlistEmbedGetOutput, ng as WaitlistInvitesSendInput, nh as WaitlistInvitesSendOutput, ni as WaitlistSignupsEraseInput, nj as WaitlistSignupsEraseOutput, nk as WaitlistSignupsFunnelInput, nl as WaitlistSignupsFunnelOutput, nm as WaitlistSignupsListInput, nn as WaitlistSignupsListOutput } from '../client.gen-3v2tDsvG.cjs';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/dist/waitlist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, na as WaitlistConfigGetInput, nb as WaitlistConfigGetOutput, nc as WaitlistConfigUpsertInput, nd as WaitlistConfigUpsertOutput, ne as WaitlistEmbedGetInput, nf as WaitlistEmbedGetOutput, ng as WaitlistInvitesSendInput, nh as WaitlistInvitesSendOutput, ni as WaitlistSignupsEraseInput, nj as WaitlistSignupsEraseOutput, nk as WaitlistSignupsFunnelInput, nl as WaitlistSignupsFunnelOutput, nm as WaitlistSignupsListInput, nn as WaitlistSignupsListOutput } from '../client.gen-3v2tDsvG.js';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -65,6 +65,11 @@
|
|
|
65
65
|
"import": "./dist/mail/index.js",
|
|
66
66
|
"require": "./dist/mail/index.cjs"
|
|
67
67
|
},
|
|
68
|
+
"./observe": {
|
|
69
|
+
"types": "./dist/observe/index.d.ts",
|
|
70
|
+
"import": "./dist/observe/index.js",
|
|
71
|
+
"require": "./dist/observe/index.cjs"
|
|
72
|
+
},
|
|
68
73
|
"./organization": {
|
|
69
74
|
"types": "./dist/organization/index.d.ts",
|
|
70
75
|
"import": "./dist/organization/index.js",
|
|
@@ -101,5 +106,5 @@
|
|
|
101
106
|
"require": "./dist/waitlist/index.cjs"
|
|
102
107
|
}
|
|
103
108
|
},
|
|
104
|
-
"sdkContentHash": "sha256:
|
|
109
|
+
"sdkContentHash": "sha256:c4ef68a4c891ba0db169d6e0d381c5f9d071288f63af7d4487424caf74fcf7cc"
|
|
105
110
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -3470,6 +3470,227 @@ export const bindings: BindingsMap = {
|
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
3472
|
},
|
|
3473
|
+
"observe": {
|
|
3474
|
+
"artifacts": {
|
|
3475
|
+
"delete": {
|
|
3476
|
+
"method": "DELETE",
|
|
3477
|
+
"params": [
|
|
3478
|
+
{
|
|
3479
|
+
"in": "path",
|
|
3480
|
+
"name": "id"
|
|
3481
|
+
}
|
|
3482
|
+
],
|
|
3483
|
+
"path": "/observe/artifacts/:id",
|
|
3484
|
+
"readOnly": false
|
|
3485
|
+
},
|
|
3486
|
+
"list": {
|
|
3487
|
+
"method": "GET",
|
|
3488
|
+
"params": [
|
|
3489
|
+
{
|
|
3490
|
+
"in": "query",
|
|
3491
|
+
"name": "debugId"
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
"in": "query",
|
|
3495
|
+
"name": "limit"
|
|
3496
|
+
}
|
|
3497
|
+
],
|
|
3498
|
+
"path": "/observe/artifacts",
|
|
3499
|
+
"readOnly": true
|
|
3500
|
+
},
|
|
3501
|
+
"resolve": {
|
|
3502
|
+
"method": "GET",
|
|
3503
|
+
"params": [
|
|
3504
|
+
{
|
|
3505
|
+
"in": "path",
|
|
3506
|
+
"name": "issueId"
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3509
|
+
"path": "/observe/artifacts/:issueId/resolve",
|
|
3510
|
+
"readOnly": true
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
"issues": {
|
|
3514
|
+
"archive": {
|
|
3515
|
+
"method": "POST",
|
|
3516
|
+
"params": [
|
|
3517
|
+
{
|
|
3518
|
+
"in": "path",
|
|
3519
|
+
"name": "id"
|
|
3520
|
+
}
|
|
3521
|
+
],
|
|
3522
|
+
"path": "/observe/issues/:id/archive",
|
|
3523
|
+
"readOnly": false
|
|
3524
|
+
},
|
|
3525
|
+
"assign": {
|
|
3526
|
+
"method": "POST",
|
|
3527
|
+
"params": [
|
|
3528
|
+
{
|
|
3529
|
+
"in": "path",
|
|
3530
|
+
"name": "id"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"in": "body",
|
|
3534
|
+
"name": "assignee"
|
|
3535
|
+
}
|
|
3536
|
+
],
|
|
3537
|
+
"path": "/observe/issues/:id/assign",
|
|
3538
|
+
"readOnly": false
|
|
3539
|
+
},
|
|
3540
|
+
"get": {
|
|
3541
|
+
"method": "GET",
|
|
3542
|
+
"params": [
|
|
3543
|
+
{
|
|
3544
|
+
"in": "path",
|
|
3545
|
+
"name": "id"
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
"path": "/observe/issues/:id",
|
|
3549
|
+
"readOnly": true
|
|
3550
|
+
},
|
|
3551
|
+
"list": {
|
|
3552
|
+
"method": "GET",
|
|
3553
|
+
"params": [
|
|
3554
|
+
{
|
|
3555
|
+
"in": "query",
|
|
3556
|
+
"name": "status"
|
|
3557
|
+
},
|
|
3558
|
+
{
|
|
3559
|
+
"in": "query",
|
|
3560
|
+
"name": "assignee"
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"in": "query",
|
|
3564
|
+
"name": "limit"
|
|
3565
|
+
}
|
|
3566
|
+
],
|
|
3567
|
+
"path": "/observe/issues",
|
|
3568
|
+
"readOnly": true
|
|
3569
|
+
},
|
|
3570
|
+
"resolve": {
|
|
3571
|
+
"method": "POST",
|
|
3572
|
+
"params": [
|
|
3573
|
+
{
|
|
3574
|
+
"in": "path",
|
|
3575
|
+
"name": "id"
|
|
3576
|
+
}
|
|
3577
|
+
],
|
|
3578
|
+
"path": "/observe/issues/:id/resolve",
|
|
3579
|
+
"readOnly": false
|
|
3580
|
+
}
|
|
3581
|
+
},
|
|
3582
|
+
"keys": {
|
|
3583
|
+
"create": {
|
|
3584
|
+
"method": "POST",
|
|
3585
|
+
"params": [
|
|
3586
|
+
{
|
|
3587
|
+
"in": "body",
|
|
3588
|
+
"name": "environment"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"in": "body",
|
|
3592
|
+
"name": "name"
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"in": "body",
|
|
3596
|
+
"name": "kind"
|
|
3597
|
+
}
|
|
3598
|
+
],
|
|
3599
|
+
"path": "/observe/keys",
|
|
3600
|
+
"readOnly": false
|
|
3601
|
+
},
|
|
3602
|
+
"list": {
|
|
3603
|
+
"method": "GET",
|
|
3604
|
+
"params": [
|
|
3605
|
+
{
|
|
3606
|
+
"in": "query",
|
|
3607
|
+
"name": "environment"
|
|
3608
|
+
}
|
|
3609
|
+
],
|
|
3610
|
+
"path": "/observe/keys",
|
|
3611
|
+
"readOnly": true
|
|
3612
|
+
},
|
|
3613
|
+
"revoke": {
|
|
3614
|
+
"method": "POST",
|
|
3615
|
+
"params": [
|
|
3616
|
+
{
|
|
3617
|
+
"in": "path",
|
|
3618
|
+
"name": "id"
|
|
3619
|
+
}
|
|
3620
|
+
],
|
|
3621
|
+
"path": "/observe/keys/:id/revoke",
|
|
3622
|
+
"readOnly": false
|
|
3623
|
+
}
|
|
3624
|
+
},
|
|
3625
|
+
"logs": {
|
|
3626
|
+
"search": {
|
|
3627
|
+
"method": "GET",
|
|
3628
|
+
"params": [
|
|
3629
|
+
{
|
|
3630
|
+
"in": "query",
|
|
3631
|
+
"name": "environment"
|
|
3632
|
+
},
|
|
3633
|
+
{
|
|
3634
|
+
"in": "query",
|
|
3635
|
+
"name": "service"
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"in": "query",
|
|
3639
|
+
"name": "severityIn"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"in": "query",
|
|
3643
|
+
"name": "search"
|
|
3644
|
+
},
|
|
3645
|
+
{
|
|
3646
|
+
"in": "query",
|
|
3647
|
+
"name": "traceId"
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"in": "query",
|
|
3651
|
+
"name": "from"
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"in": "query",
|
|
3655
|
+
"name": "to"
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"in": "query",
|
|
3659
|
+
"name": "limit"
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"in": "query",
|
|
3663
|
+
"name": "cursor"
|
|
3664
|
+
}
|
|
3665
|
+
],
|
|
3666
|
+
"path": "/observe/logs/search",
|
|
3667
|
+
"readOnly": true
|
|
3668
|
+
},
|
|
3669
|
+
"tail": {
|
|
3670
|
+
"method": "GET",
|
|
3671
|
+
"params": [
|
|
3672
|
+
{
|
|
3673
|
+
"in": "query",
|
|
3674
|
+
"name": "environment"
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"in": "query",
|
|
3678
|
+
"name": "service"
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"in": "query",
|
|
3682
|
+
"name": "severityIn"
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"in": "query",
|
|
3686
|
+
"name": "cursor"
|
|
3687
|
+
}
|
|
3688
|
+
],
|
|
3689
|
+
"path": "/observe/logs/tail",
|
|
3690
|
+
"readOnly": true
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
},
|
|
3473
3694
|
"organization": {
|
|
3474
3695
|
"$root": {
|
|
3475
3696
|
"create": {
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -428,6 +428,32 @@ import type {
|
|
|
428
428
|
MailWebhookListOutput,
|
|
429
429
|
MailWebhookUpdateInput,
|
|
430
430
|
MailWebhookUpdateOutput,
|
|
431
|
+
ObserveArtifactsDeleteInput,
|
|
432
|
+
ObserveArtifactsDeleteOutput,
|
|
433
|
+
ObserveArtifactsListInput,
|
|
434
|
+
ObserveArtifactsListOutput,
|
|
435
|
+
ObserveArtifactsResolveInput,
|
|
436
|
+
ObserveArtifactsResolveOutput,
|
|
437
|
+
ObserveIssuesArchiveInput,
|
|
438
|
+
ObserveIssuesArchiveOutput,
|
|
439
|
+
ObserveIssuesAssignInput,
|
|
440
|
+
ObserveIssuesAssignOutput,
|
|
441
|
+
ObserveIssuesGetInput,
|
|
442
|
+
ObserveIssuesGetOutput,
|
|
443
|
+
ObserveIssuesListInput,
|
|
444
|
+
ObserveIssuesListOutput,
|
|
445
|
+
ObserveIssuesResolveInput,
|
|
446
|
+
ObserveIssuesResolveOutput,
|
|
447
|
+
ObserveKeysCreateInput,
|
|
448
|
+
ObserveKeysCreateOutput,
|
|
449
|
+
ObserveKeysListInput,
|
|
450
|
+
ObserveKeysListOutput,
|
|
451
|
+
ObserveKeysRevokeInput,
|
|
452
|
+
ObserveKeysRevokeOutput,
|
|
453
|
+
ObserveLogsSearchInput,
|
|
454
|
+
ObserveLogsSearchOutput,
|
|
455
|
+
ObserveLogsTailInput,
|
|
456
|
+
ObserveLogsTailOutput,
|
|
431
457
|
OrganizationAuthMeInput,
|
|
432
458
|
OrganizationAuthMeOutput,
|
|
433
459
|
OrganizationBillingBudgetsGetInput,
|
|
@@ -1279,6 +1305,29 @@ export interface GeneratedClient {
|
|
|
1279
1305
|
list(input: MailWebhookDeliveriesListInput): Promise<MailWebhookDeliveriesListOutput>;
|
|
1280
1306
|
};
|
|
1281
1307
|
};
|
|
1308
|
+
observe: {
|
|
1309
|
+
artifacts: {
|
|
1310
|
+
delete(input: ObserveArtifactsDeleteInput): Promise<ObserveArtifactsDeleteOutput>;
|
|
1311
|
+
list(input: ObserveArtifactsListInput): Promise<ObserveArtifactsListOutput>;
|
|
1312
|
+
resolve(input: ObserveArtifactsResolveInput): Promise<ObserveArtifactsResolveOutput>;
|
|
1313
|
+
};
|
|
1314
|
+
issues: {
|
|
1315
|
+
archive(input: ObserveIssuesArchiveInput): Promise<ObserveIssuesArchiveOutput>;
|
|
1316
|
+
assign(input: ObserveIssuesAssignInput): Promise<ObserveIssuesAssignOutput>;
|
|
1317
|
+
get(input: ObserveIssuesGetInput): Promise<ObserveIssuesGetOutput>;
|
|
1318
|
+
list(input: ObserveIssuesListInput): Promise<ObserveIssuesListOutput>;
|
|
1319
|
+
resolve(input: ObserveIssuesResolveInput): Promise<ObserveIssuesResolveOutput>;
|
|
1320
|
+
};
|
|
1321
|
+
keys: {
|
|
1322
|
+
create(input: ObserveKeysCreateInput): Promise<ObserveKeysCreateOutput>;
|
|
1323
|
+
list(input: ObserveKeysListInput): Promise<ObserveKeysListOutput>;
|
|
1324
|
+
revoke(input: ObserveKeysRevokeInput): Promise<ObserveKeysRevokeOutput>;
|
|
1325
|
+
};
|
|
1326
|
+
logs: {
|
|
1327
|
+
search(input: ObserveLogsSearchInput): Promise<ObserveLogsSearchOutput>;
|
|
1328
|
+
tail(input: ObserveLogsTailInput): Promise<ObserveLogsTailOutput>;
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1282
1331
|
organization: {
|
|
1283
1332
|
create(input: OrganizationCreateInput): Promise<OrganizationCreateOutput>;
|
|
1284
1333
|
list(input: OrganizationListInput): Promise<OrganizationListOutput>;
|
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', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput } from '../types.gen';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ObserveArtifactsDeleteInput,
|
|
5
|
+
ObserveArtifactsListInput,
|
|
6
|
+
ObserveArtifactsListOutput,
|
|
7
|
+
ObserveArtifactsResolveInput,
|
|
8
|
+
ObserveArtifactsResolveOutput,
|
|
9
|
+
ObserveIssuesArchiveInput,
|
|
10
|
+
ObserveIssuesAssignInput,
|
|
11
|
+
ObserveIssuesGetInput,
|
|
12
|
+
ObserveIssuesGetOutput,
|
|
13
|
+
ObserveIssuesListInput,
|
|
14
|
+
ObserveIssuesListOutput,
|
|
15
|
+
ObserveIssuesResolveInput,
|
|
16
|
+
ObserveKeysCreateInput,
|
|
17
|
+
ObserveKeysListInput,
|
|
18
|
+
ObserveKeysListOutput,
|
|
19
|
+
ObserveKeysRevokeInput,
|
|
20
|
+
ObserveLogsSearchInput,
|
|
21
|
+
ObserveLogsSearchOutput,
|
|
22
|
+
ObserveLogsTailInput,
|
|
23
|
+
ObserveLogsTailOutput,
|
|
24
|
+
} from '../types.gen';
|
|
25
|
+
|
|
26
|
+
export const observeArtifactsDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
27
|
+
mutationKey: ['observe', 'artifacts', 'delete'],
|
|
28
|
+
mutationFn: (input: ObserveArtifactsDeleteInput) => sdk['observe']['artifacts']['delete'](input),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export const observeArtifactsListQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsListInput) => ({
|
|
32
|
+
queryKey: ['observe', 'artifacts', 'list', input] as const,
|
|
33
|
+
queryFn: () => sdk['observe']['artifacts']['list'](input),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const observeArtifactsResolveQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsResolveInput) => ({
|
|
37
|
+
queryKey: ['observe', 'artifacts', 'resolve', input] as const,
|
|
38
|
+
queryFn: () => sdk['observe']['artifacts']['resolve'](input),
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const observeIssuesArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
42
|
+
mutationKey: ['observe', 'issues', 'archive'],
|
|
43
|
+
mutationFn: (input: ObserveIssuesArchiveInput) => sdk['observe']['issues']['archive'](input),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const observeIssuesAssignMutationOptions = (sdk: GeneratedClient) => ({
|
|
47
|
+
mutationKey: ['observe', 'issues', 'assign'],
|
|
48
|
+
mutationFn: (input: ObserveIssuesAssignInput) => sdk['observe']['issues']['assign'](input),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export const observeIssuesGetQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesGetInput) => ({
|
|
52
|
+
queryKey: ['observe', 'issues', 'get', input] as const,
|
|
53
|
+
queryFn: () => sdk['observe']['issues']['get'](input),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export const observeIssuesListQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesListInput) => ({
|
|
57
|
+
queryKey: ['observe', 'issues', 'list', input] as const,
|
|
58
|
+
queryFn: () => sdk['observe']['issues']['list'](input),
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export const observeIssuesResolveMutationOptions = (sdk: GeneratedClient) => ({
|
|
62
|
+
mutationKey: ['observe', 'issues', 'resolve'],
|
|
63
|
+
mutationFn: (input: ObserveIssuesResolveInput) => sdk['observe']['issues']['resolve'](input),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export const observeKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
67
|
+
mutationKey: ['observe', 'keys', 'create'],
|
|
68
|
+
mutationFn: (input: ObserveKeysCreateInput) => sdk['observe']['keys']['create'](input),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const observeKeysListQueryOptions = (sdk: GeneratedClient, input: ObserveKeysListInput) => ({
|
|
72
|
+
queryKey: ['observe', 'keys', 'list', input] as const,
|
|
73
|
+
queryFn: () => sdk['observe']['keys']['list'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const observeKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
77
|
+
mutationKey: ['observe', 'keys', 'revoke'],
|
|
78
|
+
mutationFn: (input: ObserveKeysRevokeInput) => sdk['observe']['keys']['revoke'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const observeLogsSearchQueryOptions = (sdk: GeneratedClient, input: ObserveLogsSearchInput) => ({
|
|
82
|
+
queryKey: ['observe', 'logs', 'search', input] as const,
|
|
83
|
+
queryFn: () => sdk['observe']['logs']['search'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const observeLogsTailQueryOptions = (sdk: GeneratedClient, input: ObserveLogsTailInput) => ({
|
|
87
|
+
queryKey: ['observe', 'logs', 'tail', input] as const,
|
|
88
|
+
queryFn: () => sdk['observe']['logs']['tail'](input),
|
|
89
|
+
});
|