@lessly/sdk-app 30.0.0 → 30.2.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/README.md +3 -1
- 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-BOjtovBR.d.cts → client.gen-C6_mJktu.d.cts} +37 -4
- package/dist/{client.gen-BOjtovBR.d.ts → client.gen-C6_mJktu.d.ts} +37 -4
- 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 +9 -1
- 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 +9 -1
- 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.d.cts +1 -1
- package/dist/realtime/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/docs/recipes/sdk-usage.md +8 -0
- package/package.json +2 -2
- package/src/gen/types.gen.ts +37 -4
package/README.md
CHANGED
|
@@ -26,7 +26,9 @@ await sdk.organization.product.create({ name: 'Acme' });
|
|
|
26
26
|
The available namespaces track the live catalog and grow as platform extensions migrate; check
|
|
27
27
|
`package.json` `exports` (or `src/gen/manifest.gen.ts`) for what a given version exposes.
|
|
28
28
|
|
|
29
|
-
Errors are surfaced as a typed `LesslyApiError` (`status`, `code`, `body`).
|
|
29
|
+
Errors are surfaced as a typed `LesslyApiError` (`status`, `code`, `body`). Mutating calls
|
|
30
|
+
without the `lessly_csrf` cookie fail before the network with `status: 0` and
|
|
31
|
+
`code: 'csrf_cookie_missing'` — no retry, no hidden refresh.
|
|
30
32
|
|
|
31
33
|
### TanStack Query
|
|
32
34
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, A as AnalyticsQueryRunInput, a as AnalyticsQueryRunOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, A as AnalyticsQueryRunInput, a as AnalyticsQueryRunOutput } from '../client.gen-C6_mJktu.cjs';
|
|
2
2
|
|
|
3
3
|
declare const analyticsQueryRunQueryOptions: (sdk: GeneratedClient, input: AnalyticsQueryRunInput) => {
|
|
4
4
|
queryKey: readonly ["analytics", "query", "run", AnalyticsQueryRunInput];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, A as AnalyticsQueryRunInput, a as AnalyticsQueryRunOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, A as AnalyticsQueryRunInput, a as AnalyticsQueryRunOutput } from '../client.gen-C6_mJktu.js';
|
|
2
2
|
|
|
3
3
|
declare const analyticsQueryRunQueryOptions: (sdk: GeneratedClient, input: AnalyticsQueryRunInput) => {
|
|
4
4
|
queryKey: readonly ["analytics", "query", "run", AnalyticsQueryRunInput];
|
package/dist/brain/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, B as BrainBackupCreateInput, b as BrainBackupCreateOutput, c as BrainBackupRestoreInput, d as BrainBackupRestoreOutput, e as BrainBackupStatusInput, f as BrainBackupStatusOutput, g as BrainBackupsListInput, h as BrainBackupsListOutput, i as BrainClickupChannelsListInput, j as BrainClickupChannelsListOutput, k as BrainClickupConnectionsListInput, l as BrainClickupConnectionsListOutput, m as BrainClickupListsListInput, n as BrainClickupListsListOutput, o as BrainClickupSpacesListInput, p as BrainClickupSpacesListOutput, q as BrainCognitionDigestInput, r as BrainCognitionDigestOutput, s as BrainCognitionStatusInput, t as BrainCognitionStatusOutput, u as BrainCognitionSweepInput, v as BrainCognitionSweepOutput, w as BrainConnectorBranchesListInput, x as BrainConnectorBranchesListOutput, y as BrainConnectorConnectionsListInput, z as BrainConnectorConnectionsListOutput, C as BrainConnectorReposListInput, D as BrainConnectorReposListOutput, E as BrainDaemonBatchStatusInput, F as BrainDaemonBatchStatusOutput, H as BrainDaemonCreateInput, I as BrainDaemonCreateOutput, J as BrainDaemonGetInput, K as BrainDaemonGetOutput, L as BrainDaemonReingestInput, M as BrainDaemonReingestOutput, N as BrainDaemonRemoveInput, O as BrainDaemonRemoveOutput, P as BrainDaemonRunItemsInput, Q as BrainDaemonRunItemsOutput, R as BrainDaemonRunInput, S as BrainDaemonRunOutput, T as BrainDaemonRunsInput, U as BrainDaemonRunsOutput, V as BrainDaemonStatusInput, W as BrainDaemonStatusOutput, X as BrainDaemonUpdateInput, Y as BrainDaemonUpdateOutput, Z as BrainDaemonsListInput, _ as BrainDaemonsListOutput, $ as BrainGdriveConnectionsListInput, a0 as BrainGdriveConnectionsListOutput, a1 as BrainKnowledgeEntityMemoriesInput, a2 as BrainKnowledgeEntityMemoriesOutput, a3 as BrainKnowledgeGraphInput, a4 as BrainKnowledgeGraphOutput, a5 as BrainKnowledgeNeighborhoodInput, a6 as BrainKnowledgeNeighborhoodOutput, a7 as BrainKnowledgeRelationsInput, a8 as BrainKnowledgeRelationsOutput, a9 as BrainKnowledgeSearchInput, aa as BrainKnowledgeSearchOutput, ab as BrainMemoryAddInput, ac as BrainMemoryAddOutput, ad as BrainMemoryDeleteInput, ae as BrainMemoryDeleteOutput, af as BrainMemoryGetInput, ag as BrainMemoryGetOutput, ah as BrainMemoryListInput, ai as BrainMemoryListOutput, aj as BrainMemorySearchInput, ak as BrainMemorySearchOutput, al as BrainMemoryStatsInput, am as BrainMemoryStatsOutput, an as BrainMemoryUpdateInput, ao as BrainMemoryUpdateOutput, ap as BrainProductSharedMemoryResetInput, aq as BrainProductSharedMemoryResetOutput, ar as BrainRestoreStatusInput, as as BrainRestoreStatusOutput, at as BrainUsageReportInput, au as BrainUsageReportOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, B as BrainBackupCreateInput, b as BrainBackupCreateOutput, c as BrainBackupRestoreInput, d as BrainBackupRestoreOutput, e as BrainBackupStatusInput, f as BrainBackupStatusOutput, g as BrainBackupsListInput, h as BrainBackupsListOutput, i as BrainClickupChannelsListInput, j as BrainClickupChannelsListOutput, k as BrainClickupConnectionsListInput, l as BrainClickupConnectionsListOutput, m as BrainClickupListsListInput, n as BrainClickupListsListOutput, o as BrainClickupSpacesListInput, p as BrainClickupSpacesListOutput, q as BrainCognitionDigestInput, r as BrainCognitionDigestOutput, s as BrainCognitionStatusInput, t as BrainCognitionStatusOutput, u as BrainCognitionSweepInput, v as BrainCognitionSweepOutput, w as BrainConnectorBranchesListInput, x as BrainConnectorBranchesListOutput, y as BrainConnectorConnectionsListInput, z as BrainConnectorConnectionsListOutput, C as BrainConnectorReposListInput, D as BrainConnectorReposListOutput, E as BrainDaemonBatchStatusInput, F as BrainDaemonBatchStatusOutput, H as BrainDaemonCreateInput, I as BrainDaemonCreateOutput, J as BrainDaemonGetInput, K as BrainDaemonGetOutput, L as BrainDaemonReingestInput, M as BrainDaemonReingestOutput, N as BrainDaemonRemoveInput, O as BrainDaemonRemoveOutput, P as BrainDaemonRunItemsInput, Q as BrainDaemonRunItemsOutput, R as BrainDaemonRunInput, S as BrainDaemonRunOutput, T as BrainDaemonRunsInput, U as BrainDaemonRunsOutput, V as BrainDaemonStatusInput, W as BrainDaemonStatusOutput, X as BrainDaemonUpdateInput, Y as BrainDaemonUpdateOutput, Z as BrainDaemonsListInput, _ as BrainDaemonsListOutput, $ as BrainGdriveConnectionsListInput, a0 as BrainGdriveConnectionsListOutput, a1 as BrainKnowledgeEntityMemoriesInput, a2 as BrainKnowledgeEntityMemoriesOutput, a3 as BrainKnowledgeGraphInput, a4 as BrainKnowledgeGraphOutput, a5 as BrainKnowledgeNeighborhoodInput, a6 as BrainKnowledgeNeighborhoodOutput, a7 as BrainKnowledgeRelationsInput, a8 as BrainKnowledgeRelationsOutput, a9 as BrainKnowledgeSearchInput, aa as BrainKnowledgeSearchOutput, ab as BrainMemoryAddInput, ac as BrainMemoryAddOutput, ad as BrainMemoryDeleteInput, ae as BrainMemoryDeleteOutput, af as BrainMemoryGetInput, ag as BrainMemoryGetOutput, ah as BrainMemoryListInput, ai as BrainMemoryListOutput, aj as BrainMemorySearchInput, ak as BrainMemorySearchOutput, al as BrainMemoryStatsInput, am as BrainMemoryStatsOutput, an as BrainMemoryUpdateInput, ao as BrainMemoryUpdateOutput, ap as BrainProductSharedMemoryResetInput, aq as BrainProductSharedMemoryResetOutput, ar as BrainRestoreStatusInput, as as BrainRestoreStatusOutput, at as BrainUsageReportInput, au as BrainUsageReportOutput } from '../client.gen-C6_mJktu.cjs';
|
|
2
2
|
|
|
3
3
|
declare const brainBackupCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/brain/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, B as BrainBackupCreateInput, b as BrainBackupCreateOutput, c as BrainBackupRestoreInput, d as BrainBackupRestoreOutput, e as BrainBackupStatusInput, f as BrainBackupStatusOutput, g as BrainBackupsListInput, h as BrainBackupsListOutput, i as BrainClickupChannelsListInput, j as BrainClickupChannelsListOutput, k as BrainClickupConnectionsListInput, l as BrainClickupConnectionsListOutput, m as BrainClickupListsListInput, n as BrainClickupListsListOutput, o as BrainClickupSpacesListInput, p as BrainClickupSpacesListOutput, q as BrainCognitionDigestInput, r as BrainCognitionDigestOutput, s as BrainCognitionStatusInput, t as BrainCognitionStatusOutput, u as BrainCognitionSweepInput, v as BrainCognitionSweepOutput, w as BrainConnectorBranchesListInput, x as BrainConnectorBranchesListOutput, y as BrainConnectorConnectionsListInput, z as BrainConnectorConnectionsListOutput, C as BrainConnectorReposListInput, D as BrainConnectorReposListOutput, E as BrainDaemonBatchStatusInput, F as BrainDaemonBatchStatusOutput, H as BrainDaemonCreateInput, I as BrainDaemonCreateOutput, J as BrainDaemonGetInput, K as BrainDaemonGetOutput, L as BrainDaemonReingestInput, M as BrainDaemonReingestOutput, N as BrainDaemonRemoveInput, O as BrainDaemonRemoveOutput, P as BrainDaemonRunItemsInput, Q as BrainDaemonRunItemsOutput, R as BrainDaemonRunInput, S as BrainDaemonRunOutput, T as BrainDaemonRunsInput, U as BrainDaemonRunsOutput, V as BrainDaemonStatusInput, W as BrainDaemonStatusOutput, X as BrainDaemonUpdateInput, Y as BrainDaemonUpdateOutput, Z as BrainDaemonsListInput, _ as BrainDaemonsListOutput, $ as BrainGdriveConnectionsListInput, a0 as BrainGdriveConnectionsListOutput, a1 as BrainKnowledgeEntityMemoriesInput, a2 as BrainKnowledgeEntityMemoriesOutput, a3 as BrainKnowledgeGraphInput, a4 as BrainKnowledgeGraphOutput, a5 as BrainKnowledgeNeighborhoodInput, a6 as BrainKnowledgeNeighborhoodOutput, a7 as BrainKnowledgeRelationsInput, a8 as BrainKnowledgeRelationsOutput, a9 as BrainKnowledgeSearchInput, aa as BrainKnowledgeSearchOutput, ab as BrainMemoryAddInput, ac as BrainMemoryAddOutput, ad as BrainMemoryDeleteInput, ae as BrainMemoryDeleteOutput, af as BrainMemoryGetInput, ag as BrainMemoryGetOutput, ah as BrainMemoryListInput, ai as BrainMemoryListOutput, aj as BrainMemorySearchInput, ak as BrainMemorySearchOutput, al as BrainMemoryStatsInput, am as BrainMemoryStatsOutput, an as BrainMemoryUpdateInput, ao as BrainMemoryUpdateOutput, ap as BrainProductSharedMemoryResetInput, aq as BrainProductSharedMemoryResetOutput, ar as BrainRestoreStatusInput, as as BrainRestoreStatusOutput, at as BrainUsageReportInput, au as BrainUsageReportOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, B as BrainBackupCreateInput, b as BrainBackupCreateOutput, c as BrainBackupRestoreInput, d as BrainBackupRestoreOutput, e as BrainBackupStatusInput, f as BrainBackupStatusOutput, g as BrainBackupsListInput, h as BrainBackupsListOutput, i as BrainClickupChannelsListInput, j as BrainClickupChannelsListOutput, k as BrainClickupConnectionsListInput, l as BrainClickupConnectionsListOutput, m as BrainClickupListsListInput, n as BrainClickupListsListOutput, o as BrainClickupSpacesListInput, p as BrainClickupSpacesListOutput, q as BrainCognitionDigestInput, r as BrainCognitionDigestOutput, s as BrainCognitionStatusInput, t as BrainCognitionStatusOutput, u as BrainCognitionSweepInput, v as BrainCognitionSweepOutput, w as BrainConnectorBranchesListInput, x as BrainConnectorBranchesListOutput, y as BrainConnectorConnectionsListInput, z as BrainConnectorConnectionsListOutput, C as BrainConnectorReposListInput, D as BrainConnectorReposListOutput, E as BrainDaemonBatchStatusInput, F as BrainDaemonBatchStatusOutput, H as BrainDaemonCreateInput, I as BrainDaemonCreateOutput, J as BrainDaemonGetInput, K as BrainDaemonGetOutput, L as BrainDaemonReingestInput, M as BrainDaemonReingestOutput, N as BrainDaemonRemoveInput, O as BrainDaemonRemoveOutput, P as BrainDaemonRunItemsInput, Q as BrainDaemonRunItemsOutput, R as BrainDaemonRunInput, S as BrainDaemonRunOutput, T as BrainDaemonRunsInput, U as BrainDaemonRunsOutput, V as BrainDaemonStatusInput, W as BrainDaemonStatusOutput, X as BrainDaemonUpdateInput, Y as BrainDaemonUpdateOutput, Z as BrainDaemonsListInput, _ as BrainDaemonsListOutput, $ as BrainGdriveConnectionsListInput, a0 as BrainGdriveConnectionsListOutput, a1 as BrainKnowledgeEntityMemoriesInput, a2 as BrainKnowledgeEntityMemoriesOutput, a3 as BrainKnowledgeGraphInput, a4 as BrainKnowledgeGraphOutput, a5 as BrainKnowledgeNeighborhoodInput, a6 as BrainKnowledgeNeighborhoodOutput, a7 as BrainKnowledgeRelationsInput, a8 as BrainKnowledgeRelationsOutput, a9 as BrainKnowledgeSearchInput, aa as BrainKnowledgeSearchOutput, ab as BrainMemoryAddInput, ac as BrainMemoryAddOutput, ad as BrainMemoryDeleteInput, ae as BrainMemoryDeleteOutput, af as BrainMemoryGetInput, ag as BrainMemoryGetOutput, ah as BrainMemoryListInput, ai as BrainMemoryListOutput, aj as BrainMemorySearchInput, ak as BrainMemorySearchOutput, al as BrainMemoryStatsInput, am as BrainMemoryStatsOutput, an as BrainMemoryUpdateInput, ao as BrainMemoryUpdateOutput, ap as BrainProductSharedMemoryResetInput, aq as BrainProductSharedMemoryResetOutput, ar as BrainRestoreStatusInput, as as BrainRestoreStatusOutput, at as BrainUsageReportInput, au as BrainUsageReportOutput } from '../client.gen-C6_mJktu.js';
|
|
2
2
|
|
|
3
3
|
declare const brainBackupCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
@@ -15509,7 +15509,7 @@ interface UsersConfigGetOutput {
|
|
|
15509
15509
|
*/
|
|
15510
15510
|
doubleOptIn: boolean;
|
|
15511
15511
|
/**
|
|
15512
|
-
* How long
|
|
15512
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
15513
15513
|
*/
|
|
15514
15514
|
retentionDays: number;
|
|
15515
15515
|
/**
|
|
@@ -15828,7 +15828,7 @@ interface UsersConfigUpsertInput {
|
|
|
15828
15828
|
*/
|
|
15829
15829
|
doubleOptIn?: boolean;
|
|
15830
15830
|
/**
|
|
15831
|
-
* How long
|
|
15831
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
15832
15832
|
*/
|
|
15833
15833
|
retentionDays?: number;
|
|
15834
15834
|
/**
|
|
@@ -16146,7 +16146,7 @@ interface UsersConfigUpsertOutput {
|
|
|
16146
16146
|
*/
|
|
16147
16147
|
doubleOptIn: boolean;
|
|
16148
16148
|
/**
|
|
16149
|
-
* How long
|
|
16149
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
16150
16150
|
*/
|
|
16151
16151
|
retentionDays: number;
|
|
16152
16152
|
/**
|
|
@@ -16420,9 +16420,42 @@ interface UsersOpsRetentionGetOutput {
|
|
|
16420
16420
|
what: string;
|
|
16421
16421
|
}[];
|
|
16422
16422
|
/**
|
|
16423
|
-
*
|
|
16423
|
+
* The last sweep this replica performed, or NULL when it has observed none. Null and a run with `erased: 0` are DIFFERENT STATES and must never be collapsed: one means the job is working and there was nothing due, the other means this replica has no evidence the job ran at all. The durable per-entry trail is elsewhere — the append-only `waitlist.erased` audit rows.
|
|
16424
|
+
*/
|
|
16425
|
+
lastSweep: ({
|
|
16426
|
+
/**
|
|
16427
|
+
* This is ONE replica’s memory of its own last pass, not the deployment’s — the same honesty as `users_ops_slo_get`. A replica that has never executed the cron reports `null` even though another one may have swept a minute ago, so treat this as a spot check.
|
|
16428
|
+
*/
|
|
16429
|
+
scope: "replica";
|
|
16430
|
+
/**
|
|
16431
|
+
* How many of THIS PRODUCT’s entries that pass erased. The sweep itself runs across every tenant at once — expiry is the passage of time and it has no request tenant to scope to — but the number reported here is bucketed, because a management tool answers about the caller’s own product and never about anybody else’s. A zero next to a non-null run is a result, not a gap: the job ran and nothing was due here.
|
|
16432
|
+
*/
|
|
16433
|
+
erased: number;
|
|
16434
|
+
/**
|
|
16435
|
+
* Which window decided, in words that name the config field.
|
|
16436
|
+
*/
|
|
16437
|
+
window: string;
|
|
16438
|
+
/**
|
|
16439
|
+
* The statuses in scope. `registered` and `withdrawn` are never swept.
|
|
16440
|
+
*/
|
|
16441
|
+
statuses: string[];
|
|
16442
|
+
/**
|
|
16443
|
+
* ISO time the pass finished.
|
|
16444
|
+
*/
|
|
16445
|
+
finishedAt: string;
|
|
16446
|
+
} | null);
|
|
16447
|
+
/**
|
|
16448
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: such an entry never expires on its own, so this window is the whole of what makes it go away — and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
|
|
16424
16449
|
*/
|
|
16425
16450
|
waitlistRetentionDays: number;
|
|
16451
|
+
/**
|
|
16452
|
+
* What Lessly PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
|
|
16453
|
+
*/
|
|
16454
|
+
waitlistPromisedMaxDays: number;
|
|
16455
|
+
/**
|
|
16456
|
+
* True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lessly’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lessly published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
|
|
16457
|
+
*/
|
|
16458
|
+
waitlistWiderThanPromised: boolean;
|
|
16426
16459
|
}
|
|
16427
16460
|
interface UsersOpsSloGetInput {
|
|
16428
16461
|
}
|
|
@@ -15509,7 +15509,7 @@ interface UsersConfigGetOutput {
|
|
|
15509
15509
|
*/
|
|
15510
15510
|
doubleOptIn: boolean;
|
|
15511
15511
|
/**
|
|
15512
|
-
* How long
|
|
15512
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
15513
15513
|
*/
|
|
15514
15514
|
retentionDays: number;
|
|
15515
15515
|
/**
|
|
@@ -15828,7 +15828,7 @@ interface UsersConfigUpsertInput {
|
|
|
15828
15828
|
*/
|
|
15829
15829
|
doubleOptIn?: boolean;
|
|
15830
15830
|
/**
|
|
15831
|
-
* How long
|
|
15831
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
15832
15832
|
*/
|
|
15833
15833
|
retentionDays?: number;
|
|
15834
15834
|
/**
|
|
@@ -16146,7 +16146,7 @@ interface UsersConfigUpsertOutput {
|
|
|
16146
16146
|
*/
|
|
16147
16147
|
doubleOptIn: boolean;
|
|
16148
16148
|
/**
|
|
16149
|
-
* How long
|
|
16149
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
|
|
16150
16150
|
*/
|
|
16151
16151
|
retentionDays: number;
|
|
16152
16152
|
/**
|
|
@@ -16420,9 +16420,42 @@ interface UsersOpsRetentionGetOutput {
|
|
|
16420
16420
|
what: string;
|
|
16421
16421
|
}[];
|
|
16422
16422
|
/**
|
|
16423
|
-
*
|
|
16423
|
+
* The last sweep this replica performed, or NULL when it has observed none. Null and a run with `erased: 0` are DIFFERENT STATES and must never be collapsed: one means the job is working and there was nothing due, the other means this replica has no evidence the job ran at all. The durable per-entry trail is elsewhere — the append-only `waitlist.erased` audit rows.
|
|
16424
|
+
*/
|
|
16425
|
+
lastSweep: ({
|
|
16426
|
+
/**
|
|
16427
|
+
* This is ONE replica’s memory of its own last pass, not the deployment’s — the same honesty as `users_ops_slo_get`. A replica that has never executed the cron reports `null` even though another one may have swept a minute ago, so treat this as a spot check.
|
|
16428
|
+
*/
|
|
16429
|
+
scope: "replica";
|
|
16430
|
+
/**
|
|
16431
|
+
* How many of THIS PRODUCT’s entries that pass erased. The sweep itself runs across every tenant at once — expiry is the passage of time and it has no request tenant to scope to — but the number reported here is bucketed, because a management tool answers about the caller’s own product and never about anybody else’s. A zero next to a non-null run is a result, not a gap: the job ran and nothing was due here.
|
|
16432
|
+
*/
|
|
16433
|
+
erased: number;
|
|
16434
|
+
/**
|
|
16435
|
+
* Which window decided, in words that name the config field.
|
|
16436
|
+
*/
|
|
16437
|
+
window: string;
|
|
16438
|
+
/**
|
|
16439
|
+
* The statuses in scope. `registered` and `withdrawn` are never swept.
|
|
16440
|
+
*/
|
|
16441
|
+
statuses: string[];
|
|
16442
|
+
/**
|
|
16443
|
+
* ISO time the pass finished.
|
|
16444
|
+
*/
|
|
16445
|
+
finishedAt: string;
|
|
16446
|
+
} | null);
|
|
16447
|
+
/**
|
|
16448
|
+
* How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: such an entry never expires on its own, so this window is the whole of what makes it go away — and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
|
|
16424
16449
|
*/
|
|
16425
16450
|
waitlistRetentionDays: number;
|
|
16451
|
+
/**
|
|
16452
|
+
* What Lessly PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
|
|
16453
|
+
*/
|
|
16454
|
+
waitlistPromisedMaxDays: number;
|
|
16455
|
+
/**
|
|
16456
|
+
* True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lessly’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lessly published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
|
|
16457
|
+
*/
|
|
16458
|
+
waitlistWiderThanPromised: boolean;
|
|
16426
16459
|
}
|
|
16427
16460
|
interface UsersOpsSloGetInput {
|
|
16428
16461
|
}
|
package/dist/consent/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, av as ConsentConfigCookieDomainUpsertInput, aw as ConsentConfigCookieDomainUpsertOutput, ax as ConsentConfigCustomizationUpsertInput, ay as ConsentConfigCustomizationUpsertOutput, az as ConsentConfigFloatingIconUpsertInput, aA as ConsentConfigFloatingIconUpsertOutput, aB as ConsentConfigThemeUpsertInput, aC as ConsentConfigThemeUpsertOutput, aD as ConsentDashboardConfigGetInput, aE as ConsentDashboardConfigGetOutput, aF as ConsentDashboardDecisionsListInput, aG as ConsentDashboardDecisionsListOutput, aH as ConsentDashboardEmbedSnippetGetInput, aI as ConsentDashboardEmbedSnippetGetOutput, aJ as ConsentDashboardStatsGetInput, aK as ConsentDashboardStatsGetOutput, aL as ConsentEmbedGetInput, aM as ConsentEmbedGetOutput, aN as ConsentProvidersCreateInput, aO as ConsentProvidersCreateOutput, aP as ConsentProvidersDeleteInput, aQ as ConsentProvidersDeleteOutput, aR as ConsentProvidersListInput, aS as ConsentProvidersListOutput, aT as ConsentProvidersUpdateInput, aU as ConsentProvidersUpdateOutput, aV as ConsentRecordsExportInput, aW as ConsentRecordsExportOutput, aX as ConsentStatsGetInput, aY as ConsentStatsGetOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, av as ConsentConfigCookieDomainUpsertInput, aw as ConsentConfigCookieDomainUpsertOutput, ax as ConsentConfigCustomizationUpsertInput, ay as ConsentConfigCustomizationUpsertOutput, az as ConsentConfigFloatingIconUpsertInput, aA as ConsentConfigFloatingIconUpsertOutput, aB as ConsentConfigThemeUpsertInput, aC as ConsentConfigThemeUpsertOutput, aD as ConsentDashboardConfigGetInput, aE as ConsentDashboardConfigGetOutput, aF as ConsentDashboardDecisionsListInput, aG as ConsentDashboardDecisionsListOutput, aH as ConsentDashboardEmbedSnippetGetInput, aI as ConsentDashboardEmbedSnippetGetOutput, aJ as ConsentDashboardStatsGetInput, aK as ConsentDashboardStatsGetOutput, aL as ConsentEmbedGetInput, aM as ConsentEmbedGetOutput, aN as ConsentProvidersCreateInput, aO as ConsentProvidersCreateOutput, aP as ConsentProvidersDeleteInput, aQ as ConsentProvidersDeleteOutput, aR as ConsentProvidersListInput, aS as ConsentProvidersListOutput, aT as ConsentProvidersUpdateInput, aU as ConsentProvidersUpdateOutput, aV as ConsentRecordsExportInput, aW as ConsentRecordsExportOutput, aX as ConsentStatsGetInput, aY as ConsentStatsGetOutput } from '../client.gen-C6_mJktu.cjs';
|
|
2
2
|
|
|
3
3
|
declare const consentConfigCookieDomainUpsertMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/consent/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, av as ConsentConfigCookieDomainUpsertInput, aw as ConsentConfigCookieDomainUpsertOutput, ax as ConsentConfigCustomizationUpsertInput, ay as ConsentConfigCustomizationUpsertOutput, az as ConsentConfigFloatingIconUpsertInput, aA as ConsentConfigFloatingIconUpsertOutput, aB as ConsentConfigThemeUpsertInput, aC as ConsentConfigThemeUpsertOutput, aD as ConsentDashboardConfigGetInput, aE as ConsentDashboardConfigGetOutput, aF as ConsentDashboardDecisionsListInput, aG as ConsentDashboardDecisionsListOutput, aH as ConsentDashboardEmbedSnippetGetInput, aI as ConsentDashboardEmbedSnippetGetOutput, aJ as ConsentDashboardStatsGetInput, aK as ConsentDashboardStatsGetOutput, aL as ConsentEmbedGetInput, aM as ConsentEmbedGetOutput, aN as ConsentProvidersCreateInput, aO as ConsentProvidersCreateOutput, aP as ConsentProvidersDeleteInput, aQ as ConsentProvidersDeleteOutput, aR as ConsentProvidersListInput, aS as ConsentProvidersListOutput, aT as ConsentProvidersUpdateInput, aU as ConsentProvidersUpdateOutput, aV as ConsentRecordsExportInput, aW as ConsentRecordsExportOutput, aX as ConsentStatsGetInput, aY as ConsentStatsGetOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, av as ConsentConfigCookieDomainUpsertInput, aw as ConsentConfigCookieDomainUpsertOutput, ax as ConsentConfigCustomizationUpsertInput, ay as ConsentConfigCustomizationUpsertOutput, az as ConsentConfigFloatingIconUpsertInput, aA as ConsentConfigFloatingIconUpsertOutput, aB as ConsentConfigThemeUpsertInput, aC as ConsentConfigThemeUpsertOutput, aD as ConsentDashboardConfigGetInput, aE as ConsentDashboardConfigGetOutput, aF as ConsentDashboardDecisionsListInput, aG as ConsentDashboardDecisionsListOutput, aH as ConsentDashboardEmbedSnippetGetInput, aI as ConsentDashboardEmbedSnippetGetOutput, aJ as ConsentDashboardStatsGetInput, aK as ConsentDashboardStatsGetOutput, aL as ConsentEmbedGetInput, aM as ConsentEmbedGetOutput, aN as ConsentProvidersCreateInput, aO as ConsentProvidersCreateOutput, aP as ConsentProvidersDeleteInput, aQ as ConsentProvidersDeleteOutput, aR as ConsentProvidersListInput, aS as ConsentProvidersListOutput, aT as ConsentProvidersUpdateInput, aU as ConsentProvidersUpdateOutput, aV as ConsentRecordsExportInput, aW as ConsentRecordsExportOutput, aX as ConsentStatsGetInput, aY as ConsentStatsGetOutput } from '../client.gen-C6_mJktu.js';
|
|
2
2
|
|
|
3
3
|
declare const consentConfigCookieDomainUpsertMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, aZ as DeploymentAlertCreateInput, a_ as DeploymentAlertCreateOutput, a$ as DeploymentAlertDeleteInput, b0 as DeploymentAlertDeleteOutput, b1 as DeploymentAlertEventsListInput, b2 as DeploymentAlertEventsListOutput, b3 as DeploymentAlertListInput, b4 as DeploymentAlertListOutput, b5 as DeploymentAlertUpdateInput, b6 as DeploymentAlertUpdateOutput, b7 as DeploymentAnalyticsQueryInput, b8 as DeploymentAnalyticsQueryOutput, b9 as DeploymentAuditListInput, ba as DeploymentAuditListOutput, bb as DeploymentBuildGetInput, bc as DeploymentBuildGetOutput, bd as DeploymentBuildListInput, be as DeploymentBuildListOutput, bf as DeploymentBuildLogsInput, bg as DeploymentBuildLogsOutput, bh as DeploymentCanvasGetInput, bi as DeploymentCanvasGetOutput, bj as DeploymentCanvasMoveNodeInput, bk as DeploymentCanvasMoveNodeOutput, bl as DeploymentCloudSqlBackfillLogFlagsInput, bm as DeploymentCloudSqlBackfillLogFlagsOutput, bn as DeploymentCloudSqlDatabaseAttachInput, bo as DeploymentCloudSqlDatabaseAttachOutput, bp as DeploymentCloudSqlDatabaseCreateInput, bq as DeploymentCloudSqlDatabaseCreateOutput, br as DeploymentCloudSqlDatabaseDeleteInput, bs as DeploymentCloudSqlDatabaseDeleteOutput, bt as DeploymentCloudSqlDatabaseDetachInput, bu as DeploymentCloudSqlDatabaseDetachOutput, bv as DeploymentCloudSqlDatabaseGetInput, bw as DeploymentCloudSqlDatabaseGetOutput, bx as DeploymentCloudSqlDatabaseListInput, by as DeploymentCloudSqlDatabaseListOutput, bz as DeploymentCloudSqlInstanceBackupListInput, bA as DeploymentCloudSqlInstanceBackupListOutput, bB as DeploymentCloudSqlInstanceBackupInput, bC as DeploymentCloudSqlInstanceBackupOutput, bD as DeploymentCloudSqlInstanceCreateInput, bE as DeploymentCloudSqlInstanceCreateOutput, bF as DeploymentCloudSqlInstanceDeleteInput, bG as DeploymentCloudSqlInstanceDeleteOutput, bH as DeploymentCloudSqlInstanceGetInput, bI as DeploymentCloudSqlInstanceGetOutput, bJ as DeploymentCloudSqlInstanceListInput, bK as DeploymentCloudSqlInstanceListOutput, bL as DeploymentCloudSqlInstanceResizeInput, bM as DeploymentCloudSqlInstanceResizeOutput, bN as DeploymentCloudSqlInstanceRestoreInput, bO as DeploymentCloudSqlInstanceRestoreOutput, bP as DeploymentCloudSqlLogsInput, bQ as DeploymentCloudSqlLogsOutput, bR as DeploymentDeploymentCancelInput, bS as DeploymentDeploymentCancelOutput, bT as DeploymentDeploymentGetInput, bU as DeploymentDeploymentGetOutput, bV as DeploymentDeploymentListInput, bW as DeploymentDeploymentListOutput, bX as DeploymentDomainAddInput, bY as DeploymentDomainAddOutput, bZ as DeploymentDomainAllowedListInput, b_ as DeploymentDomainAllowedListOutput, b$ as DeploymentDomainGetInput, c0 as DeploymentDomainGetOutput, c1 as DeploymentDomainListByServiceInput, c2 as DeploymentDomainListByServiceOutput, c3 as DeploymentDomainListInput, c4 as DeploymentDomainListOutput, c5 as DeploymentDomainRedirectWwwInput, c6 as DeploymentDomainRedirectWwwOutput, c7 as DeploymentDomainRemoveInput, c8 as DeploymentDomainRemoveOutput, c9 as DeploymentDomainRoutesAddInput, ca as DeploymentDomainRoutesAddOutput, cb as DeploymentDomainRoutesListInput, cc as DeploymentDomainRoutesListOutput, cd as DeploymentDomainRoutesRemoveInput, ce as DeploymentDomainRoutesRemoveOutput, cf as DeploymentDomainRoutesUpdateInput, cg as DeploymentDomainRoutesUpdateOutput, ch as DeploymentDomainVerifyInput, ci as DeploymentDomainVerifyOutput, cj as DeploymentEnvironmentCreateInput, ck as DeploymentEnvironmentCreateOutput, cl as DeploymentEnvironmentDeleteInput, cm as DeploymentEnvironmentDeleteOutput, cn as DeploymentEnvironmentForkInput, co as DeploymentEnvironmentForkOutput, cp as DeploymentEnvironmentGetInput, cq as DeploymentEnvironmentGetOutput, cr as DeploymentEnvironmentListInput, cs as DeploymentEnvironmentListOutput, ct as DeploymentEnvironmentReconcileInput, cu as DeploymentEnvironmentReconcileOutput, cv as DeploymentEnvironmentUpdateInput, cw as DeploymentEnvironmentUpdateOutput, cx as DeploymentEventsListByEnvironmentInput, cy as DeploymentEventsListByEnvironmentOutput, cz as DeploymentEventsListByServiceInput, cA as DeploymentEventsListByServiceOutput, cB as DeploymentManagedServiceBackupListInput, cC as DeploymentManagedServiceBackupListOutput, cD as DeploymentManagedServiceBackupInput, cE as DeploymentManagedServiceBackupOutput, cF as DeploymentManagedServiceConnectInfoInput, cG as DeploymentManagedServiceConnectInfoOutput, cH as DeploymentManagedServiceDeleteInput, cI as DeploymentManagedServiceDeleteOutput, cJ as DeploymentManagedServiceGetInput, cK as DeploymentManagedServiceGetOutput, cL as DeploymentManagedServiceListInput, cM as DeploymentManagedServiceListOutput, cN as DeploymentManagedServiceLogsInput, cO as DeploymentManagedServiceLogsOutput, cP as DeploymentManagedServiceProvisionInput, cQ as DeploymentManagedServiceProvisionOutput, cR as DeploymentManagedServiceReconcileInput, cS as DeploymentManagedServiceReconcileOutput, cT as DeploymentManagedServiceResizeInput, cU as DeploymentManagedServiceResizeOutput, cV as DeploymentManagedServiceRestoreInput, cW as DeploymentManagedServiceRestoreOutput, cX as DeploymentManagedServiceStartInput, cY as DeploymentManagedServiceStartOutput, cZ as DeploymentManagedServiceStopInput, c_ as DeploymentManagedServiceStopOutput, c$ as DeploymentManagedServiceTypesInput, d0 as DeploymentManagedServiceTypesOutput, d1 as DeploymentMetricsGetInput, d2 as DeploymentMetricsGetOutput, d3 as DeploymentPreviewEnvironmentCreateInput, d4 as DeploymentPreviewEnvironmentCreateOutput, d5 as DeploymentPreviewEnvironmentDeleteInput, d6 as DeploymentPreviewEnvironmentDeleteOutput, d7 as DeploymentPreviewEnvironmentListInput, d8 as DeploymentPreviewEnvironmentListOutput, d9 as DeploymentPreviewPolicyGetInput, da as DeploymentPreviewPolicyGetOutput, db as DeploymentPreviewPolicySetInput, dc as DeploymentPreviewPolicySetOutput, dd as DeploymentServiceCreateInput, de as DeploymentServiceCreateOutput, df as DeploymentServiceDeleteInput, dg as DeploymentServiceDeleteOutput, dh as DeploymentServiceExecInput, di as DeploymentServiceExecOutput, dj as DeploymentServiceGetInput, dk as DeploymentServiceGetOutput, dl as DeploymentServiceListInput, dm as DeploymentServiceListOutput, dn as DeploymentServiceLogsInput, dp as DeploymentServiceLogsOutput, dq as DeploymentServiceRedeployInput, dr as DeploymentServiceRedeployOutput, ds as DeploymentServiceRestartInput, dt as DeploymentServiceRestartOutput, du as DeploymentServiceRollbackInput, dv as DeploymentServiceRollbackOutput, dw as DeploymentServiceScaleInput, dx as DeploymentServiceScaleOutput, dy as DeploymentServiceUpdateInput, dz as DeploymentServiceUpdateOutput, dA as DeploymentServiceWakeInput, dB as DeploymentServiceWakeOutput, dC as DeploymentSshCommandInput, dD as DeploymentSshCommandOutput, dE as DeploymentSshKeyDeleteInput, dF as DeploymentSshKeyDeleteOutput, dG as DeploymentSshKeyListInput, dH as DeploymentSshKeyListOutput, dI as DeploymentSshKeyRegisterInput, dJ as DeploymentSshKeyRegisterOutput, dK as DeploymentSuspensionGetInput, dL as DeploymentSuspensionGetOutput, dM as DeploymentVariableListEnvInput, dN as DeploymentVariableListEnvOutput, dO as DeploymentVariableListProductInput, dP as DeploymentVariableListProductOutput, dQ as DeploymentVariableListInput, dR as DeploymentVariableListOutput, dS as DeploymentVariableSetEnvInput, dT as DeploymentVariableSetEnvOutput, dU as DeploymentVariableSetInput, dV as DeploymentVariableSetOutput, dW as DeploymentVariableSetProductInput, dX as DeploymentVariableSetProductOutput, dY as DeploymentVariableUnsetEnvInput, dZ as DeploymentVariableUnsetEnvOutput, d_ as DeploymentVariableUnsetInput, d$ as DeploymentVariableUnsetOutput, e0 as DeploymentVariableUnsetProductInput, e1 as DeploymentVariableUnsetProductOutput, e2 as DeploymentVcsBranchListInput, e3 as DeploymentVcsBranchListOutput, e4 as DeploymentVcsConnectionListInput, e5 as DeploymentVcsConnectionListOutput, e6 as DeploymentVcsRepoListInput, e7 as DeploymentVcsRepoListOutput, e8 as DeploymentVolumeCreateInput, e9 as DeploymentVolumeCreateOutput, ea as DeploymentVolumeDeleteInput, eb as DeploymentVolumeDeleteOutput, ec as DeploymentVolumeDetachInput, ed as DeploymentVolumeDetachOutput, ee as DeploymentVolumeGetInput, ef as DeploymentVolumeGetOutput, eg as DeploymentVolumeListInput, eh as DeploymentVolumeListOutput, ei as DeploymentVolumeResizeInput, ej as DeploymentVolumeResizeOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, aZ as DeploymentAlertCreateInput, a_ as DeploymentAlertCreateOutput, a$ as DeploymentAlertDeleteInput, b0 as DeploymentAlertDeleteOutput, b1 as DeploymentAlertEventsListInput, b2 as DeploymentAlertEventsListOutput, b3 as DeploymentAlertListInput, b4 as DeploymentAlertListOutput, b5 as DeploymentAlertUpdateInput, b6 as DeploymentAlertUpdateOutput, b7 as DeploymentAnalyticsQueryInput, b8 as DeploymentAnalyticsQueryOutput, b9 as DeploymentAuditListInput, ba as DeploymentAuditListOutput, bb as DeploymentBuildGetInput, bc as DeploymentBuildGetOutput, bd as DeploymentBuildListInput, be as DeploymentBuildListOutput, bf as DeploymentBuildLogsInput, bg as DeploymentBuildLogsOutput, bh as DeploymentCanvasGetInput, bi as DeploymentCanvasGetOutput, bj as DeploymentCanvasMoveNodeInput, bk as DeploymentCanvasMoveNodeOutput, bl as DeploymentCloudSqlBackfillLogFlagsInput, bm as DeploymentCloudSqlBackfillLogFlagsOutput, bn as DeploymentCloudSqlDatabaseAttachInput, bo as DeploymentCloudSqlDatabaseAttachOutput, bp as DeploymentCloudSqlDatabaseCreateInput, bq as DeploymentCloudSqlDatabaseCreateOutput, br as DeploymentCloudSqlDatabaseDeleteInput, bs as DeploymentCloudSqlDatabaseDeleteOutput, bt as DeploymentCloudSqlDatabaseDetachInput, bu as DeploymentCloudSqlDatabaseDetachOutput, bv as DeploymentCloudSqlDatabaseGetInput, bw as DeploymentCloudSqlDatabaseGetOutput, bx as DeploymentCloudSqlDatabaseListInput, by as DeploymentCloudSqlDatabaseListOutput, bz as DeploymentCloudSqlInstanceBackupListInput, bA as DeploymentCloudSqlInstanceBackupListOutput, bB as DeploymentCloudSqlInstanceBackupInput, bC as DeploymentCloudSqlInstanceBackupOutput, bD as DeploymentCloudSqlInstanceCreateInput, bE as DeploymentCloudSqlInstanceCreateOutput, bF as DeploymentCloudSqlInstanceDeleteInput, bG as DeploymentCloudSqlInstanceDeleteOutput, bH as DeploymentCloudSqlInstanceGetInput, bI as DeploymentCloudSqlInstanceGetOutput, bJ as DeploymentCloudSqlInstanceListInput, bK as DeploymentCloudSqlInstanceListOutput, bL as DeploymentCloudSqlInstanceResizeInput, bM as DeploymentCloudSqlInstanceResizeOutput, bN as DeploymentCloudSqlInstanceRestoreInput, bO as DeploymentCloudSqlInstanceRestoreOutput, bP as DeploymentCloudSqlLogsInput, bQ as DeploymentCloudSqlLogsOutput, bR as DeploymentDeploymentCancelInput, bS as DeploymentDeploymentCancelOutput, bT as DeploymentDeploymentGetInput, bU as DeploymentDeploymentGetOutput, bV as DeploymentDeploymentListInput, bW as DeploymentDeploymentListOutput, bX as DeploymentDomainAddInput, bY as DeploymentDomainAddOutput, bZ as DeploymentDomainAllowedListInput, b_ as DeploymentDomainAllowedListOutput, b$ as DeploymentDomainGetInput, c0 as DeploymentDomainGetOutput, c1 as DeploymentDomainListByServiceInput, c2 as DeploymentDomainListByServiceOutput, c3 as DeploymentDomainListInput, c4 as DeploymentDomainListOutput, c5 as DeploymentDomainRedirectWwwInput, c6 as DeploymentDomainRedirectWwwOutput, c7 as DeploymentDomainRemoveInput, c8 as DeploymentDomainRemoveOutput, c9 as DeploymentDomainRoutesAddInput, ca as DeploymentDomainRoutesAddOutput, cb as DeploymentDomainRoutesListInput, cc as DeploymentDomainRoutesListOutput, cd as DeploymentDomainRoutesRemoveInput, ce as DeploymentDomainRoutesRemoveOutput, cf as DeploymentDomainRoutesUpdateInput, cg as DeploymentDomainRoutesUpdateOutput, ch as DeploymentDomainVerifyInput, ci as DeploymentDomainVerifyOutput, cj as DeploymentEnvironmentCreateInput, ck as DeploymentEnvironmentCreateOutput, cl as DeploymentEnvironmentDeleteInput, cm as DeploymentEnvironmentDeleteOutput, cn as DeploymentEnvironmentForkInput, co as DeploymentEnvironmentForkOutput, cp as DeploymentEnvironmentGetInput, cq as DeploymentEnvironmentGetOutput, cr as DeploymentEnvironmentListInput, cs as DeploymentEnvironmentListOutput, ct as DeploymentEnvironmentReconcileInput, cu as DeploymentEnvironmentReconcileOutput, cv as DeploymentEnvironmentUpdateInput, cw as DeploymentEnvironmentUpdateOutput, cx as DeploymentEventsListByEnvironmentInput, cy as DeploymentEventsListByEnvironmentOutput, cz as DeploymentEventsListByServiceInput, cA as DeploymentEventsListByServiceOutput, cB as DeploymentManagedServiceBackupListInput, cC as DeploymentManagedServiceBackupListOutput, cD as DeploymentManagedServiceBackupInput, cE as DeploymentManagedServiceBackupOutput, cF as DeploymentManagedServiceConnectInfoInput, cG as DeploymentManagedServiceConnectInfoOutput, cH as DeploymentManagedServiceDeleteInput, cI as DeploymentManagedServiceDeleteOutput, cJ as DeploymentManagedServiceGetInput, cK as DeploymentManagedServiceGetOutput, cL as DeploymentManagedServiceListInput, cM as DeploymentManagedServiceListOutput, cN as DeploymentManagedServiceLogsInput, cO as DeploymentManagedServiceLogsOutput, cP as DeploymentManagedServiceProvisionInput, cQ as DeploymentManagedServiceProvisionOutput, cR as DeploymentManagedServiceReconcileInput, cS as DeploymentManagedServiceReconcileOutput, cT as DeploymentManagedServiceResizeInput, cU as DeploymentManagedServiceResizeOutput, cV as DeploymentManagedServiceRestoreInput, cW as DeploymentManagedServiceRestoreOutput, cX as DeploymentManagedServiceStartInput, cY as DeploymentManagedServiceStartOutput, cZ as DeploymentManagedServiceStopInput, c_ as DeploymentManagedServiceStopOutput, c$ as DeploymentManagedServiceTypesInput, d0 as DeploymentManagedServiceTypesOutput, d1 as DeploymentMetricsGetInput, d2 as DeploymentMetricsGetOutput, d3 as DeploymentPreviewEnvironmentCreateInput, d4 as DeploymentPreviewEnvironmentCreateOutput, d5 as DeploymentPreviewEnvironmentDeleteInput, d6 as DeploymentPreviewEnvironmentDeleteOutput, d7 as DeploymentPreviewEnvironmentListInput, d8 as DeploymentPreviewEnvironmentListOutput, d9 as DeploymentPreviewPolicyGetInput, da as DeploymentPreviewPolicyGetOutput, db as DeploymentPreviewPolicySetInput, dc as DeploymentPreviewPolicySetOutput, dd as DeploymentServiceCreateInput, de as DeploymentServiceCreateOutput, df as DeploymentServiceDeleteInput, dg as DeploymentServiceDeleteOutput, dh as DeploymentServiceExecInput, di as DeploymentServiceExecOutput, dj as DeploymentServiceGetInput, dk as DeploymentServiceGetOutput, dl as DeploymentServiceListInput, dm as DeploymentServiceListOutput, dn as DeploymentServiceLogsInput, dp as DeploymentServiceLogsOutput, dq as DeploymentServiceRedeployInput, dr as DeploymentServiceRedeployOutput, ds as DeploymentServiceRestartInput, dt as DeploymentServiceRestartOutput, du as DeploymentServiceRollbackInput, dv as DeploymentServiceRollbackOutput, dw as DeploymentServiceScaleInput, dx as DeploymentServiceScaleOutput, dy as DeploymentServiceUpdateInput, dz as DeploymentServiceUpdateOutput, dA as DeploymentServiceWakeInput, dB as DeploymentServiceWakeOutput, dC as DeploymentSshCommandInput, dD as DeploymentSshCommandOutput, dE as DeploymentSshKeyDeleteInput, dF as DeploymentSshKeyDeleteOutput, dG as DeploymentSshKeyListInput, dH as DeploymentSshKeyListOutput, dI as DeploymentSshKeyRegisterInput, dJ as DeploymentSshKeyRegisterOutput, dK as DeploymentSuspensionGetInput, dL as DeploymentSuspensionGetOutput, dM as DeploymentVariableListEnvInput, dN as DeploymentVariableListEnvOutput, dO as DeploymentVariableListProductInput, dP as DeploymentVariableListProductOutput, dQ as DeploymentVariableListInput, dR as DeploymentVariableListOutput, dS as DeploymentVariableSetEnvInput, dT as DeploymentVariableSetEnvOutput, dU as DeploymentVariableSetInput, dV as DeploymentVariableSetOutput, dW as DeploymentVariableSetProductInput, dX as DeploymentVariableSetProductOutput, dY as DeploymentVariableUnsetEnvInput, dZ as DeploymentVariableUnsetEnvOutput, d_ as DeploymentVariableUnsetInput, d$ as DeploymentVariableUnsetOutput, e0 as DeploymentVariableUnsetProductInput, e1 as DeploymentVariableUnsetProductOutput, e2 as DeploymentVcsBranchListInput, e3 as DeploymentVcsBranchListOutput, e4 as DeploymentVcsConnectionListInput, e5 as DeploymentVcsConnectionListOutput, e6 as DeploymentVcsRepoListInput, e7 as DeploymentVcsRepoListOutput, e8 as DeploymentVolumeCreateInput, e9 as DeploymentVolumeCreateOutput, ea as DeploymentVolumeDeleteInput, eb as DeploymentVolumeDeleteOutput, ec as DeploymentVolumeDetachInput, ed as DeploymentVolumeDetachOutput, ee as DeploymentVolumeGetInput, ef as DeploymentVolumeGetOutput, eg as DeploymentVolumeListInput, eh as DeploymentVolumeListOutput, ei as DeploymentVolumeResizeInput, ej as DeploymentVolumeResizeOutput } from '../client.gen-C6_mJktu.cjs';
|
|
2
2
|
|
|
3
3
|
declare const deploymentAlertCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, aZ as DeploymentAlertCreateInput, a_ as DeploymentAlertCreateOutput, a$ as DeploymentAlertDeleteInput, b0 as DeploymentAlertDeleteOutput, b1 as DeploymentAlertEventsListInput, b2 as DeploymentAlertEventsListOutput, b3 as DeploymentAlertListInput, b4 as DeploymentAlertListOutput, b5 as DeploymentAlertUpdateInput, b6 as DeploymentAlertUpdateOutput, b7 as DeploymentAnalyticsQueryInput, b8 as DeploymentAnalyticsQueryOutput, b9 as DeploymentAuditListInput, ba as DeploymentAuditListOutput, bb as DeploymentBuildGetInput, bc as DeploymentBuildGetOutput, bd as DeploymentBuildListInput, be as DeploymentBuildListOutput, bf as DeploymentBuildLogsInput, bg as DeploymentBuildLogsOutput, bh as DeploymentCanvasGetInput, bi as DeploymentCanvasGetOutput, bj as DeploymentCanvasMoveNodeInput, bk as DeploymentCanvasMoveNodeOutput, bl as DeploymentCloudSqlBackfillLogFlagsInput, bm as DeploymentCloudSqlBackfillLogFlagsOutput, bn as DeploymentCloudSqlDatabaseAttachInput, bo as DeploymentCloudSqlDatabaseAttachOutput, bp as DeploymentCloudSqlDatabaseCreateInput, bq as DeploymentCloudSqlDatabaseCreateOutput, br as DeploymentCloudSqlDatabaseDeleteInput, bs as DeploymentCloudSqlDatabaseDeleteOutput, bt as DeploymentCloudSqlDatabaseDetachInput, bu as DeploymentCloudSqlDatabaseDetachOutput, bv as DeploymentCloudSqlDatabaseGetInput, bw as DeploymentCloudSqlDatabaseGetOutput, bx as DeploymentCloudSqlDatabaseListInput, by as DeploymentCloudSqlDatabaseListOutput, bz as DeploymentCloudSqlInstanceBackupListInput, bA as DeploymentCloudSqlInstanceBackupListOutput, bB as DeploymentCloudSqlInstanceBackupInput, bC as DeploymentCloudSqlInstanceBackupOutput, bD as DeploymentCloudSqlInstanceCreateInput, bE as DeploymentCloudSqlInstanceCreateOutput, bF as DeploymentCloudSqlInstanceDeleteInput, bG as DeploymentCloudSqlInstanceDeleteOutput, bH as DeploymentCloudSqlInstanceGetInput, bI as DeploymentCloudSqlInstanceGetOutput, bJ as DeploymentCloudSqlInstanceListInput, bK as DeploymentCloudSqlInstanceListOutput, bL as DeploymentCloudSqlInstanceResizeInput, bM as DeploymentCloudSqlInstanceResizeOutput, bN as DeploymentCloudSqlInstanceRestoreInput, bO as DeploymentCloudSqlInstanceRestoreOutput, bP as DeploymentCloudSqlLogsInput, bQ as DeploymentCloudSqlLogsOutput, bR as DeploymentDeploymentCancelInput, bS as DeploymentDeploymentCancelOutput, bT as DeploymentDeploymentGetInput, bU as DeploymentDeploymentGetOutput, bV as DeploymentDeploymentListInput, bW as DeploymentDeploymentListOutput, bX as DeploymentDomainAddInput, bY as DeploymentDomainAddOutput, bZ as DeploymentDomainAllowedListInput, b_ as DeploymentDomainAllowedListOutput, b$ as DeploymentDomainGetInput, c0 as DeploymentDomainGetOutput, c1 as DeploymentDomainListByServiceInput, c2 as DeploymentDomainListByServiceOutput, c3 as DeploymentDomainListInput, c4 as DeploymentDomainListOutput, c5 as DeploymentDomainRedirectWwwInput, c6 as DeploymentDomainRedirectWwwOutput, c7 as DeploymentDomainRemoveInput, c8 as DeploymentDomainRemoveOutput, c9 as DeploymentDomainRoutesAddInput, ca as DeploymentDomainRoutesAddOutput, cb as DeploymentDomainRoutesListInput, cc as DeploymentDomainRoutesListOutput, cd as DeploymentDomainRoutesRemoveInput, ce as DeploymentDomainRoutesRemoveOutput, cf as DeploymentDomainRoutesUpdateInput, cg as DeploymentDomainRoutesUpdateOutput, ch as DeploymentDomainVerifyInput, ci as DeploymentDomainVerifyOutput, cj as DeploymentEnvironmentCreateInput, ck as DeploymentEnvironmentCreateOutput, cl as DeploymentEnvironmentDeleteInput, cm as DeploymentEnvironmentDeleteOutput, cn as DeploymentEnvironmentForkInput, co as DeploymentEnvironmentForkOutput, cp as DeploymentEnvironmentGetInput, cq as DeploymentEnvironmentGetOutput, cr as DeploymentEnvironmentListInput, cs as DeploymentEnvironmentListOutput, ct as DeploymentEnvironmentReconcileInput, cu as DeploymentEnvironmentReconcileOutput, cv as DeploymentEnvironmentUpdateInput, cw as DeploymentEnvironmentUpdateOutput, cx as DeploymentEventsListByEnvironmentInput, cy as DeploymentEventsListByEnvironmentOutput, cz as DeploymentEventsListByServiceInput, cA as DeploymentEventsListByServiceOutput, cB as DeploymentManagedServiceBackupListInput, cC as DeploymentManagedServiceBackupListOutput, cD as DeploymentManagedServiceBackupInput, cE as DeploymentManagedServiceBackupOutput, cF as DeploymentManagedServiceConnectInfoInput, cG as DeploymentManagedServiceConnectInfoOutput, cH as DeploymentManagedServiceDeleteInput, cI as DeploymentManagedServiceDeleteOutput, cJ as DeploymentManagedServiceGetInput, cK as DeploymentManagedServiceGetOutput, cL as DeploymentManagedServiceListInput, cM as DeploymentManagedServiceListOutput, cN as DeploymentManagedServiceLogsInput, cO as DeploymentManagedServiceLogsOutput, cP as DeploymentManagedServiceProvisionInput, cQ as DeploymentManagedServiceProvisionOutput, cR as DeploymentManagedServiceReconcileInput, cS as DeploymentManagedServiceReconcileOutput, cT as DeploymentManagedServiceResizeInput, cU as DeploymentManagedServiceResizeOutput, cV as DeploymentManagedServiceRestoreInput, cW as DeploymentManagedServiceRestoreOutput, cX as DeploymentManagedServiceStartInput, cY as DeploymentManagedServiceStartOutput, cZ as DeploymentManagedServiceStopInput, c_ as DeploymentManagedServiceStopOutput, c$ as DeploymentManagedServiceTypesInput, d0 as DeploymentManagedServiceTypesOutput, d1 as DeploymentMetricsGetInput, d2 as DeploymentMetricsGetOutput, d3 as DeploymentPreviewEnvironmentCreateInput, d4 as DeploymentPreviewEnvironmentCreateOutput, d5 as DeploymentPreviewEnvironmentDeleteInput, d6 as DeploymentPreviewEnvironmentDeleteOutput, d7 as DeploymentPreviewEnvironmentListInput, d8 as DeploymentPreviewEnvironmentListOutput, d9 as DeploymentPreviewPolicyGetInput, da as DeploymentPreviewPolicyGetOutput, db as DeploymentPreviewPolicySetInput, dc as DeploymentPreviewPolicySetOutput, dd as DeploymentServiceCreateInput, de as DeploymentServiceCreateOutput, df as DeploymentServiceDeleteInput, dg as DeploymentServiceDeleteOutput, dh as DeploymentServiceExecInput, di as DeploymentServiceExecOutput, dj as DeploymentServiceGetInput, dk as DeploymentServiceGetOutput, dl as DeploymentServiceListInput, dm as DeploymentServiceListOutput, dn as DeploymentServiceLogsInput, dp as DeploymentServiceLogsOutput, dq as DeploymentServiceRedeployInput, dr as DeploymentServiceRedeployOutput, ds as DeploymentServiceRestartInput, dt as DeploymentServiceRestartOutput, du as DeploymentServiceRollbackInput, dv as DeploymentServiceRollbackOutput, dw as DeploymentServiceScaleInput, dx as DeploymentServiceScaleOutput, dy as DeploymentServiceUpdateInput, dz as DeploymentServiceUpdateOutput, dA as DeploymentServiceWakeInput, dB as DeploymentServiceWakeOutput, dC as DeploymentSshCommandInput, dD as DeploymentSshCommandOutput, dE as DeploymentSshKeyDeleteInput, dF as DeploymentSshKeyDeleteOutput, dG as DeploymentSshKeyListInput, dH as DeploymentSshKeyListOutput, dI as DeploymentSshKeyRegisterInput, dJ as DeploymentSshKeyRegisterOutput, dK as DeploymentSuspensionGetInput, dL as DeploymentSuspensionGetOutput, dM as DeploymentVariableListEnvInput, dN as DeploymentVariableListEnvOutput, dO as DeploymentVariableListProductInput, dP as DeploymentVariableListProductOutput, dQ as DeploymentVariableListInput, dR as DeploymentVariableListOutput, dS as DeploymentVariableSetEnvInput, dT as DeploymentVariableSetEnvOutput, dU as DeploymentVariableSetInput, dV as DeploymentVariableSetOutput, dW as DeploymentVariableSetProductInput, dX as DeploymentVariableSetProductOutput, dY as DeploymentVariableUnsetEnvInput, dZ as DeploymentVariableUnsetEnvOutput, d_ as DeploymentVariableUnsetInput, d$ as DeploymentVariableUnsetOutput, e0 as DeploymentVariableUnsetProductInput, e1 as DeploymentVariableUnsetProductOutput, e2 as DeploymentVcsBranchListInput, e3 as DeploymentVcsBranchListOutput, e4 as DeploymentVcsConnectionListInput, e5 as DeploymentVcsConnectionListOutput, e6 as DeploymentVcsRepoListInput, e7 as DeploymentVcsRepoListOutput, e8 as DeploymentVolumeCreateInput, e9 as DeploymentVolumeCreateOutput, ea as DeploymentVolumeDeleteInput, eb as DeploymentVolumeDeleteOutput, ec as DeploymentVolumeDetachInput, ed as DeploymentVolumeDetachOutput, ee as DeploymentVolumeGetInput, ef as DeploymentVolumeGetOutput, eg as DeploymentVolumeListInput, eh as DeploymentVolumeListOutput, ei as DeploymentVolumeResizeInput, ej as DeploymentVolumeResizeOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, aZ as DeploymentAlertCreateInput, a_ as DeploymentAlertCreateOutput, a$ as DeploymentAlertDeleteInput, b0 as DeploymentAlertDeleteOutput, b1 as DeploymentAlertEventsListInput, b2 as DeploymentAlertEventsListOutput, b3 as DeploymentAlertListInput, b4 as DeploymentAlertListOutput, b5 as DeploymentAlertUpdateInput, b6 as DeploymentAlertUpdateOutput, b7 as DeploymentAnalyticsQueryInput, b8 as DeploymentAnalyticsQueryOutput, b9 as DeploymentAuditListInput, ba as DeploymentAuditListOutput, bb as DeploymentBuildGetInput, bc as DeploymentBuildGetOutput, bd as DeploymentBuildListInput, be as DeploymentBuildListOutput, bf as DeploymentBuildLogsInput, bg as DeploymentBuildLogsOutput, bh as DeploymentCanvasGetInput, bi as DeploymentCanvasGetOutput, bj as DeploymentCanvasMoveNodeInput, bk as DeploymentCanvasMoveNodeOutput, bl as DeploymentCloudSqlBackfillLogFlagsInput, bm as DeploymentCloudSqlBackfillLogFlagsOutput, bn as DeploymentCloudSqlDatabaseAttachInput, bo as DeploymentCloudSqlDatabaseAttachOutput, bp as DeploymentCloudSqlDatabaseCreateInput, bq as DeploymentCloudSqlDatabaseCreateOutput, br as DeploymentCloudSqlDatabaseDeleteInput, bs as DeploymentCloudSqlDatabaseDeleteOutput, bt as DeploymentCloudSqlDatabaseDetachInput, bu as DeploymentCloudSqlDatabaseDetachOutput, bv as DeploymentCloudSqlDatabaseGetInput, bw as DeploymentCloudSqlDatabaseGetOutput, bx as DeploymentCloudSqlDatabaseListInput, by as DeploymentCloudSqlDatabaseListOutput, bz as DeploymentCloudSqlInstanceBackupListInput, bA as DeploymentCloudSqlInstanceBackupListOutput, bB as DeploymentCloudSqlInstanceBackupInput, bC as DeploymentCloudSqlInstanceBackupOutput, bD as DeploymentCloudSqlInstanceCreateInput, bE as DeploymentCloudSqlInstanceCreateOutput, bF as DeploymentCloudSqlInstanceDeleteInput, bG as DeploymentCloudSqlInstanceDeleteOutput, bH as DeploymentCloudSqlInstanceGetInput, bI as DeploymentCloudSqlInstanceGetOutput, bJ as DeploymentCloudSqlInstanceListInput, bK as DeploymentCloudSqlInstanceListOutput, bL as DeploymentCloudSqlInstanceResizeInput, bM as DeploymentCloudSqlInstanceResizeOutput, bN as DeploymentCloudSqlInstanceRestoreInput, bO as DeploymentCloudSqlInstanceRestoreOutput, bP as DeploymentCloudSqlLogsInput, bQ as DeploymentCloudSqlLogsOutput, bR as DeploymentDeploymentCancelInput, bS as DeploymentDeploymentCancelOutput, bT as DeploymentDeploymentGetInput, bU as DeploymentDeploymentGetOutput, bV as DeploymentDeploymentListInput, bW as DeploymentDeploymentListOutput, bX as DeploymentDomainAddInput, bY as DeploymentDomainAddOutput, bZ as DeploymentDomainAllowedListInput, b_ as DeploymentDomainAllowedListOutput, b$ as DeploymentDomainGetInput, c0 as DeploymentDomainGetOutput, c1 as DeploymentDomainListByServiceInput, c2 as DeploymentDomainListByServiceOutput, c3 as DeploymentDomainListInput, c4 as DeploymentDomainListOutput, c5 as DeploymentDomainRedirectWwwInput, c6 as DeploymentDomainRedirectWwwOutput, c7 as DeploymentDomainRemoveInput, c8 as DeploymentDomainRemoveOutput, c9 as DeploymentDomainRoutesAddInput, ca as DeploymentDomainRoutesAddOutput, cb as DeploymentDomainRoutesListInput, cc as DeploymentDomainRoutesListOutput, cd as DeploymentDomainRoutesRemoveInput, ce as DeploymentDomainRoutesRemoveOutput, cf as DeploymentDomainRoutesUpdateInput, cg as DeploymentDomainRoutesUpdateOutput, ch as DeploymentDomainVerifyInput, ci as DeploymentDomainVerifyOutput, cj as DeploymentEnvironmentCreateInput, ck as DeploymentEnvironmentCreateOutput, cl as DeploymentEnvironmentDeleteInput, cm as DeploymentEnvironmentDeleteOutput, cn as DeploymentEnvironmentForkInput, co as DeploymentEnvironmentForkOutput, cp as DeploymentEnvironmentGetInput, cq as DeploymentEnvironmentGetOutput, cr as DeploymentEnvironmentListInput, cs as DeploymentEnvironmentListOutput, ct as DeploymentEnvironmentReconcileInput, cu as DeploymentEnvironmentReconcileOutput, cv as DeploymentEnvironmentUpdateInput, cw as DeploymentEnvironmentUpdateOutput, cx as DeploymentEventsListByEnvironmentInput, cy as DeploymentEventsListByEnvironmentOutput, cz as DeploymentEventsListByServiceInput, cA as DeploymentEventsListByServiceOutput, cB as DeploymentManagedServiceBackupListInput, cC as DeploymentManagedServiceBackupListOutput, cD as DeploymentManagedServiceBackupInput, cE as DeploymentManagedServiceBackupOutput, cF as DeploymentManagedServiceConnectInfoInput, cG as DeploymentManagedServiceConnectInfoOutput, cH as DeploymentManagedServiceDeleteInput, cI as DeploymentManagedServiceDeleteOutput, cJ as DeploymentManagedServiceGetInput, cK as DeploymentManagedServiceGetOutput, cL as DeploymentManagedServiceListInput, cM as DeploymentManagedServiceListOutput, cN as DeploymentManagedServiceLogsInput, cO as DeploymentManagedServiceLogsOutput, cP as DeploymentManagedServiceProvisionInput, cQ as DeploymentManagedServiceProvisionOutput, cR as DeploymentManagedServiceReconcileInput, cS as DeploymentManagedServiceReconcileOutput, cT as DeploymentManagedServiceResizeInput, cU as DeploymentManagedServiceResizeOutput, cV as DeploymentManagedServiceRestoreInput, cW as DeploymentManagedServiceRestoreOutput, cX as DeploymentManagedServiceStartInput, cY as DeploymentManagedServiceStartOutput, cZ as DeploymentManagedServiceStopInput, c_ as DeploymentManagedServiceStopOutput, c$ as DeploymentManagedServiceTypesInput, d0 as DeploymentManagedServiceTypesOutput, d1 as DeploymentMetricsGetInput, d2 as DeploymentMetricsGetOutput, d3 as DeploymentPreviewEnvironmentCreateInput, d4 as DeploymentPreviewEnvironmentCreateOutput, d5 as DeploymentPreviewEnvironmentDeleteInput, d6 as DeploymentPreviewEnvironmentDeleteOutput, d7 as DeploymentPreviewEnvironmentListInput, d8 as DeploymentPreviewEnvironmentListOutput, d9 as DeploymentPreviewPolicyGetInput, da as DeploymentPreviewPolicyGetOutput, db as DeploymentPreviewPolicySetInput, dc as DeploymentPreviewPolicySetOutput, dd as DeploymentServiceCreateInput, de as DeploymentServiceCreateOutput, df as DeploymentServiceDeleteInput, dg as DeploymentServiceDeleteOutput, dh as DeploymentServiceExecInput, di as DeploymentServiceExecOutput, dj as DeploymentServiceGetInput, dk as DeploymentServiceGetOutput, dl as DeploymentServiceListInput, dm as DeploymentServiceListOutput, dn as DeploymentServiceLogsInput, dp as DeploymentServiceLogsOutput, dq as DeploymentServiceRedeployInput, dr as DeploymentServiceRedeployOutput, ds as DeploymentServiceRestartInput, dt as DeploymentServiceRestartOutput, du as DeploymentServiceRollbackInput, dv as DeploymentServiceRollbackOutput, dw as DeploymentServiceScaleInput, dx as DeploymentServiceScaleOutput, dy as DeploymentServiceUpdateInput, dz as DeploymentServiceUpdateOutput, dA as DeploymentServiceWakeInput, dB as DeploymentServiceWakeOutput, dC as DeploymentSshCommandInput, dD as DeploymentSshCommandOutput, dE as DeploymentSshKeyDeleteInput, dF as DeploymentSshKeyDeleteOutput, dG as DeploymentSshKeyListInput, dH as DeploymentSshKeyListOutput, dI as DeploymentSshKeyRegisterInput, dJ as DeploymentSshKeyRegisterOutput, dK as DeploymentSuspensionGetInput, dL as DeploymentSuspensionGetOutput, dM as DeploymentVariableListEnvInput, dN as DeploymentVariableListEnvOutput, dO as DeploymentVariableListProductInput, dP as DeploymentVariableListProductOutput, dQ as DeploymentVariableListInput, dR as DeploymentVariableListOutput, dS as DeploymentVariableSetEnvInput, dT as DeploymentVariableSetEnvOutput, dU as DeploymentVariableSetInput, dV as DeploymentVariableSetOutput, dW as DeploymentVariableSetProductInput, dX as DeploymentVariableSetProductOutput, dY as DeploymentVariableUnsetEnvInput, dZ as DeploymentVariableUnsetEnvOutput, d_ as DeploymentVariableUnsetInput, d$ as DeploymentVariableUnsetOutput, e0 as DeploymentVariableUnsetProductInput, e1 as DeploymentVariableUnsetProductOutput, e2 as DeploymentVcsBranchListInput, e3 as DeploymentVcsBranchListOutput, e4 as DeploymentVcsConnectionListInput, e5 as DeploymentVcsConnectionListOutput, e6 as DeploymentVcsRepoListInput, e7 as DeploymentVcsRepoListOutput, e8 as DeploymentVolumeCreateInput, e9 as DeploymentVolumeCreateOutput, ea as DeploymentVolumeDeleteInput, eb as DeploymentVolumeDeleteOutput, ec as DeploymentVolumeDetachInput, ed as DeploymentVolumeDetachOutput, ee as DeploymentVolumeGetInput, ef as DeploymentVolumeGetOutput, eg as DeploymentVolumeListInput, eh as DeploymentVolumeListOutput, ei as DeploymentVolumeResizeInput, ej as DeploymentVolumeResizeOutput } from '../client.gen-C6_mJktu.js';
|
|
2
2
|
|
|
3
3
|
declare const deploymentAlertCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/index.cjs
CHANGED
|
@@ -89,7 +89,15 @@ async function executeRequest(opts, binding, input) {
|
|
|
89
89
|
if (body !== void 0) headers.set("Content-Type", "application/json");
|
|
90
90
|
if (MUTATING.has(binding.method)) {
|
|
91
91
|
const token = (opts.getCsrfToken ?? readCsrfCookie)();
|
|
92
|
-
if (token)
|
|
92
|
+
if (!token) {
|
|
93
|
+
throw new LesslyApiError(
|
|
94
|
+
0,
|
|
95
|
+
"csrf_cookie_missing",
|
|
96
|
+
`CSRF cookie "lessly_csrf" is missing; the session must be re-established before mutating requests (${binding.method} ${binding.path}).`,
|
|
97
|
+
null
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
headers.set("X-CSRF-Token", token);
|
|
93
101
|
}
|
|
94
102
|
const requestInit = { method: binding.method, headers, credentials: "include" };
|
|
95
103
|
if (body !== void 0) requestInit.body = JSON.stringify(body);
|