@leaflow/sdk 0.0.0-dev.538.g0285c19 → 0.0.0-dev.544.gc6fb74a
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/billing/v1/generated/models.d.ts +7 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +4 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +4 -1
- package/dist/notification/v1/generated/functions.d.ts +1 -67
- package/dist/notification/v1/generated/functions.js +0 -49
- package/dist/notification/v1/generated/models.d.ts +0 -56
- package/dist/notification/v1/generated/models.js +0 -3
- package/dist/notification/v1/generated/schemas.zod.d.ts +0 -38
- package/dist/notification/v1/generated/schemas.zod.js +0 -38
- package/dist/notification/v1/generated/validators/announcementListResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/announcementListResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/announcementResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/announcementResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/channelKind.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/channelKind.zod.js +0 -7
- package/dist/notification/v1/generated/validators/channelListResponseBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/channelListResponseBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/channelResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/channelResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/channelScope.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/channelScope.zod.js +0 -7
- package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/cursorPagination.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/cursorPagination.zod.js +0 -7
- package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/error.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/error.zod.js +0 -7
- package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/errorStatus.zod.js +0 -7
- package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/fieldViolation.zod.js +0 -7
- package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/listNotificationsParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/listNotificationsParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationAudience.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationAudience.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationChannel.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationChannel.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationKind.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationKind.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationScope.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationScope.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationSeverity.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationSeverity.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.js +0 -7
- package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/offsetPagination.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/offsetPagination.zod.js +0 -7
- package/dist/notification/v1/generated/validators/preferencesResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/preferencesResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/typePreferenceResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/typePreferenceResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/unreadCountResource.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/unreadCountResource.zod.js +0 -7
- package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.js +0 -7
- package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.js +0 -7
- package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.d.ts +0 -7
- package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.js +0 -7
- package/dist/routes.d.ts +0 -16
- package/dist/routes.js +0 -18
- package/package.json +1 -1
- package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.d.ts +0 -67
- package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.js +0 -65
- package/dist/notification/v1/generated/validators/credentialTicketResource.zod.d.ts +0 -75
- package/dist/notification/v1/generated/validators/credentialTicketResource.zod.js +0 -84
- package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.d.ts +0 -73
- package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.js +0 -77
|
@@ -1131,7 +1131,7 @@ export interface InvoiceItem {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
discount_id?: string | null;
|
|
1133
1133
|
/**
|
|
1134
|
-
* The coupon
|
|
1134
|
+
* The coupon whose discount this line gets, including one continuing on a renewal from the purchase that first used it.
|
|
1135
1135
|
* @nullable
|
|
1136
1136
|
*/
|
|
1137
1137
|
coupon_id?: string | null;
|
|
@@ -2074,6 +2074,12 @@ export interface CheckoutSessionItem {
|
|
|
2074
2074
|
amount: Money | null;
|
|
2075
2075
|
/** Total reduction on this item, including any continuing renewal discount. */
|
|
2076
2076
|
discount_amount: Money | null;
|
|
2077
|
+
/**
|
|
2078
|
+
* The coupon behind `discount_amount`, so the discount can be named: the one this checkout applies, or on
|
|
2079
|
+
* a renewal the one continuing from the purchase that first used it. Null when the item has no coupon
|
|
2080
|
+
* discount.
|
|
2081
|
+
*/
|
|
2082
|
+
coupon: ObjectIdentity | null;
|
|
2077
2083
|
/** Tax on the discounted amount, including any tax already contained in that amount. */
|
|
2078
2084
|
tax_amount: Money | null;
|
|
2079
2085
|
/** The part of tax_amount already contained in amount minus discount_amount. */
|
|
@@ -303,6 +303,11 @@ export declare const CheckoutSession: zod.ZodObject<{
|
|
|
303
303
|
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
304
304
|
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
305
305
|
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
306
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
307
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
308
|
+
id: zod.ZodUUID;
|
|
309
|
+
name: zod.ZodString;
|
|
310
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
306
311
|
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
307
312
|
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
308
313
|
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
@@ -37,6 +37,11 @@ export declare const CheckoutSessionItem: zod.ZodObject<{
|
|
|
37
37
|
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
38
38
|
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
39
39
|
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
40
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
41
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
42
|
+
id: zod.ZodUUID;
|
|
43
|
+
name: zod.ZodString;
|
|
44
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
40
45
|
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
41
46
|
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
42
47
|
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import * as zod from "zod";
|
|
9
9
|
import { CheckoutSessionItemDowngradeRefund } from "./checkoutSessionItemDowngradeRefund.zod.js";
|
|
10
10
|
import { Money } from "./money.zod.js";
|
|
11
|
+
import { ObjectIdentity } from "./objectIdentity.zod.js";
|
|
11
12
|
import { PriceType } from "./priceType.zod.js";
|
|
12
13
|
import { ProductId } from "./productId.zod.js";
|
|
13
14
|
import { UsageType } from "./usageType.zod.js";
|
|
@@ -65,6 +66,9 @@ export const CheckoutSessionItem = zod
|
|
|
65
66
|
discount_amount: zod
|
|
66
67
|
.union([Money, zod.null()])
|
|
67
68
|
.describe("Total reduction on this item, including any continuing renewal discount."),
|
|
69
|
+
coupon: zod
|
|
70
|
+
.union([ObjectIdentity, zod.null()])
|
|
71
|
+
.describe("The coupon behind `discount_amount`, so the discount can be named: the one this checkout applies, or on\na renewal the one continuing from the purchase that first used it. Null when the item has no coupon\ndiscount."),
|
|
68
72
|
tax_amount: zod
|
|
69
73
|
.union([Money, zod.null()])
|
|
70
74
|
.describe("Tax on the discounted amount, including any tax already contained in that amount."),
|
|
@@ -304,6 +304,11 @@ export declare const CheckoutSessionList: zod.ZodObject<{
|
|
|
304
304
|
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
305
305
|
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
306
306
|
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
307
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
308
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
309
|
+
id: zod.ZodUUID;
|
|
310
|
+
name: zod.ZodString;
|
|
311
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
307
312
|
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
308
313
|
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
309
314
|
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
@@ -304,6 +304,11 @@ export declare const CheckoutSessionResult: zod.ZodObject<{
|
|
|
304
304
|
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
305
305
|
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
306
306
|
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
307
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
308
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
309
|
+
id: zod.ZodUUID;
|
|
310
|
+
name: zod.ZodString;
|
|
311
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
307
312
|
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
308
313
|
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
309
314
|
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
@@ -80,6 +80,11 @@ export declare const CheckoutSessionSubscription: zod.ZodObject<{
|
|
|
80
80
|
recurring_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
81
81
|
amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
82
82
|
discount_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
83
|
+
coupon: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
84
|
+
lookup_key: zod.ZodOptional<zod.ZodString>;
|
|
85
|
+
id: zod.ZodUUID;
|
|
86
|
+
name: zod.ZodString;
|
|
87
|
+
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
83
88
|
tax_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
84
89
|
tax_included_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
85
90
|
total: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
|
|
@@ -13,7 +13,10 @@ export const InvoiceItem = zod.strictObject({
|
|
|
13
13
|
taxable: zod.boolean().optional(),
|
|
14
14
|
discount_amount: zod.string().optional().describe("Discount applied to this line before tax."),
|
|
15
15
|
discount_id: zod.uuid().nullish().describe("The account discount applied to this line."),
|
|
16
|
-
coupon_id: zod
|
|
16
|
+
coupon_id: zod
|
|
17
|
+
.uuid()
|
|
18
|
+
.nullish()
|
|
19
|
+
.describe("The coupon whose discount this line gets, including one continuing on a renewal from the purchase that first used it."),
|
|
17
20
|
tax_amount: zod
|
|
18
21
|
.string()
|
|
19
22
|
.optional()
|
|
@@ -50,16 +50,9 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
|
-
import type { AnnouncementListResource, AnnouncementReadResultResource, ChannelListResponseBody, ChannelResource, ConfirmEmailOverrideRequestBody, CountUnreadNotificationsParams, CreateChannelRequestBody,
|
|
55
|
+
import type { AnnouncementListResource, AnnouncementReadResultResource, ChannelListResponseBody, ChannelResource, ConfirmEmailOverrideRequestBody, CountUnreadNotificationsParams, CreateChannelRequestBody, DeleteTypePreferenceParams, EmailOverrideCodeResource, Error, LengthAwarePageNotificationResource, ListNotificationsParams, ListTypePreferencesParams, ListUserChannelsParams, MarkNotificationsReadRequestBody, NotificationResource, NotificationTypeListResponseBody, PreferencesResource, TypePreferenceListResponseBody, TypePreferenceResource, UnreadCountResource, UpdateChannelRequestBody, UpdatePreferencesRequestBody, UpdateTypePreferenceParams, UpdateTypePreferenceRequestBody } from "./models.js";
|
|
63
56
|
export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
|
|
64
57
|
export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
|
|
65
58
|
export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
|
|
@@ -707,62 +700,3 @@ export declare const getVerifyUserChannelUrl: (channelId: string) => string;
|
|
|
707
700
|
* @summary Verify an outbound channel
|
|
708
701
|
*/
|
|
709
702
|
export declare const verifyUserChannel: (channelId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<verifyUserChannelResponse>;
|
|
710
|
-
export type describeCredentialTicketResponse200 = {
|
|
711
|
-
data: CredentialTicketResource;
|
|
712
|
-
status: 200;
|
|
713
|
-
};
|
|
714
|
-
export type describeCredentialTicketResponseDefault = {
|
|
715
|
-
data: Error;
|
|
716
|
-
status: Exclude<HTTPStatusCodes, 200>;
|
|
717
|
-
};
|
|
718
|
-
export type describeCredentialTicketResponseSuccess = describeCredentialTicketResponse200 & {
|
|
719
|
-
headers: Headers;
|
|
720
|
-
};
|
|
721
|
-
export type describeCredentialTicketResponseError = describeCredentialTicketResponseDefault & {
|
|
722
|
-
headers: Headers;
|
|
723
|
-
};
|
|
724
|
-
export type describeCredentialTicketResponse = describeCredentialTicketResponseSuccess | describeCredentialTicketResponseError;
|
|
725
|
-
export declare const getDescribeCredentialTicketUrl: (ticketId: string) => string;
|
|
726
|
-
/**
|
|
727
|
-
* Reports whether the credential is still available without consuming it. It never contains
|
|
728
|
-
* the credential itself.
|
|
729
|
-
*
|
|
730
|
-
* A ticket addressed to someone else returns `CREDENTIAL_TICKET_NOT_FOUND`, the same answer
|
|
731
|
-
* as one that does not exist.
|
|
732
|
-
* @summary Describe a one-time credential
|
|
733
|
-
*/
|
|
734
|
-
export declare const describeCredentialTicket: (ticketId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<describeCredentialTicketResponse>;
|
|
735
|
-
export type revealCredentialResponse200 = {
|
|
736
|
-
data: RevealedCredentialResource;
|
|
737
|
-
status: 200;
|
|
738
|
-
};
|
|
739
|
-
export type revealCredentialResponseDefault = {
|
|
740
|
-
data: Error;
|
|
741
|
-
status: Exclude<HTTPStatusCodes, 200>;
|
|
742
|
-
};
|
|
743
|
-
export type revealCredentialResponseSuccess = revealCredentialResponse200 & {
|
|
744
|
-
headers: Headers;
|
|
745
|
-
};
|
|
746
|
-
export type revealCredentialResponseError = revealCredentialResponseDefault & {
|
|
747
|
-
headers: Headers;
|
|
748
|
-
};
|
|
749
|
-
export type revealCredentialResponse = revealCredentialResponseSuccess | revealCredentialResponseError;
|
|
750
|
-
export declare const getRevealCredentialUrl: (ticketId: string) => string;
|
|
751
|
-
/**
|
|
752
|
-
* Returns the credential and destroys it in the same step. **This is the only operation that
|
|
753
|
-
* ever returns it, and it succeeds only once.**
|
|
754
|
-
*
|
|
755
|
-
* Every subsequent request returns `CREDENTIAL_TICKET_CONSUMED`, including one issued
|
|
756
|
-
* concurrently with the first: exactly one caller receives the credential.
|
|
757
|
-
*
|
|
758
|
-
* A ticket that has expired returns `CREDENTIAL_TICKET_EXPIRED`, and one withdrawn by the
|
|
759
|
-
* service that created it returns `CREDENTIAL_TICKET_REVOKED`. In all three cases the
|
|
760
|
-
* credential is already gone and cannot be recovered; obtain a new one from the service that
|
|
761
|
-
* owns the resource.
|
|
762
|
-
*
|
|
763
|
-
* This operation is a POST rather than a GET because a GET would be followed by link
|
|
764
|
-
* scanners in mail clients and by browser prefetching, either of which would consume the
|
|
765
|
-
* credential before the recipient opened it.
|
|
766
|
-
* @summary Reveal a one-time credential
|
|
767
|
-
*/
|
|
768
|
-
export declare const revealCredential: (ticketId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<revealCredentialResponse>;
|
|
@@ -674,52 +674,3 @@ export const verifyUserChannel = async (channelId, options, fetchFn) => {
|
|
|
674
674
|
const data = body ? JSON.parse(body) : {};
|
|
675
675
|
return { data, status: res.status, headers: res.headers };
|
|
676
676
|
};
|
|
677
|
-
export const getDescribeCredentialTicketUrl = (ticketId) => {
|
|
678
|
-
return `https://notification.leaflow.cloud/api/v1/credentials/${encodeURIComponent(String(ticketId))}`;
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* Reports whether the credential is still available without consuming it. It never contains
|
|
682
|
-
* the credential itself.
|
|
683
|
-
*
|
|
684
|
-
* A ticket addressed to someone else returns `CREDENTIAL_TICKET_NOT_FOUND`, the same answer
|
|
685
|
-
* as one that does not exist.
|
|
686
|
-
* @summary Describe a one-time credential
|
|
687
|
-
*/
|
|
688
|
-
export const describeCredentialTicket = async (ticketId, options, fetchFn) => {
|
|
689
|
-
const res = await (fetchFn ?? fetch)(getDescribeCredentialTicketUrl(ticketId), {
|
|
690
|
-
...options,
|
|
691
|
-
method: "GET",
|
|
692
|
-
});
|
|
693
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
694
|
-
const data = body ? JSON.parse(body) : {};
|
|
695
|
-
return { data, status: res.status, headers: res.headers };
|
|
696
|
-
};
|
|
697
|
-
export const getRevealCredentialUrl = (ticketId) => {
|
|
698
|
-
return `https://notification.leaflow.cloud/api/v1/credentials/${encodeURIComponent(String(ticketId))}:reveal`;
|
|
699
|
-
};
|
|
700
|
-
/**
|
|
701
|
-
* Returns the credential and destroys it in the same step. **This is the only operation that
|
|
702
|
-
* ever returns it, and it succeeds only once.**
|
|
703
|
-
*
|
|
704
|
-
* Every subsequent request returns `CREDENTIAL_TICKET_CONSUMED`, including one issued
|
|
705
|
-
* concurrently with the first: exactly one caller receives the credential.
|
|
706
|
-
*
|
|
707
|
-
* A ticket that has expired returns `CREDENTIAL_TICKET_EXPIRED`, and one withdrawn by the
|
|
708
|
-
* service that created it returns `CREDENTIAL_TICKET_REVOKED`. In all three cases the
|
|
709
|
-
* credential is already gone and cannot be recovered; obtain a new one from the service that
|
|
710
|
-
* owns the resource.
|
|
711
|
-
*
|
|
712
|
-
* This operation is a POST rather than a GET because a GET would be followed by link
|
|
713
|
-
* scanners in mail clients and by browser prefetching, either of which would consume the
|
|
714
|
-
* credential before the recipient opened it.
|
|
715
|
-
* @summary Reveal a one-time credential
|
|
716
|
-
*/
|
|
717
|
-
export const revealCredential = async (ticketId, options, fetchFn) => {
|
|
718
|
-
const res = await (fetchFn ?? fetch)(getRevealCredentialUrl(ticketId), {
|
|
719
|
-
...options,
|
|
720
|
-
method: "POST",
|
|
721
|
-
});
|
|
722
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
723
|
-
const data = body ? JSON.parse(body) : {};
|
|
724
|
-
return { data, status: res.status, headers: res.headers };
|
|
725
|
-
};
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
export interface FieldViolation {
|
|
@@ -539,55 +532,6 @@ export interface UpdateChannelRequestBody {
|
|
|
539
532
|
*/
|
|
540
533
|
name?: string;
|
|
541
534
|
}
|
|
542
|
-
/**
|
|
543
|
-
* What the credential belongs to.
|
|
544
|
-
*/
|
|
545
|
-
export type CredentialSubjectKind = (typeof CredentialSubjectKind)[keyof typeof CredentialSubjectKind];
|
|
546
|
-
export declare const CredentialSubjectKind: {
|
|
547
|
-
readonly compute_instance: "compute_instance";
|
|
548
|
-
};
|
|
549
|
-
/**
|
|
550
|
-
* A one-time credential, described without being consumed.
|
|
551
|
-
*/
|
|
552
|
-
export interface CredentialTicketResource {
|
|
553
|
-
/**
|
|
554
|
-
* True when the credential can still be revealed. False once it has been revealed, has
|
|
555
|
-
* expired, or was withdrawn — in all three cases it is already destroyed
|
|
556
|
-
*/
|
|
557
|
-
available: boolean;
|
|
558
|
-
/** After this moment the credential is destroyed whether or not it was read */
|
|
559
|
-
expires_at: string;
|
|
560
|
-
id: string;
|
|
561
|
-
/**
|
|
562
|
-
* When it was revealed; null if it has not been
|
|
563
|
-
* @nullable
|
|
564
|
-
*/
|
|
565
|
-
revealed_at: string | null;
|
|
566
|
-
/**
|
|
567
|
-
* When the service that issued it withdrew it; null if it did not
|
|
568
|
-
* @nullable
|
|
569
|
-
*/
|
|
570
|
-
revoked_at: string | null;
|
|
571
|
-
/** The resource the credential belongs to */
|
|
572
|
-
subject_id: string;
|
|
573
|
-
subject_kind: CredentialSubjectKind;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* The credential itself. This shape is returned by exactly one operation, and that operation
|
|
577
|
-
* succeeds at most once per ticket.
|
|
578
|
-
*/
|
|
579
|
-
export interface RevealedCredentialResource {
|
|
580
|
-
revealed_at: string;
|
|
581
|
-
/** The credential. It is destroyed as this response is produced and cannot be obtained again */
|
|
582
|
-
secret: string;
|
|
583
|
-
subject_id: string;
|
|
584
|
-
subject_kind: CredentialSubjectKind;
|
|
585
|
-
/**
|
|
586
|
-
* The account the credential belongs to, where the resource has one; null otherwise
|
|
587
|
-
* @nullable
|
|
588
|
-
*/
|
|
589
|
-
username: string | null;
|
|
590
|
-
}
|
|
591
535
|
/**
|
|
592
536
|
* Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
|
|
593
537
|
*/
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -352,34 +345,3 @@ export declare const DeleteUserChannelParams: zod.ZodObject<{
|
|
|
352
345
|
export declare const VerifyUserChannelParams: zod.ZodObject<{
|
|
353
346
|
channelId: zod.ZodUUID;
|
|
354
347
|
}, zod.z.core.$strict>;
|
|
355
|
-
/**
|
|
356
|
-
* Reports whether the credential is still available without consuming it. It never contains
|
|
357
|
-
* the credential itself.
|
|
358
|
-
*
|
|
359
|
-
* A ticket addressed to someone else returns `CREDENTIAL_TICKET_NOT_FOUND`, the same answer
|
|
360
|
-
* as one that does not exist.
|
|
361
|
-
* @summary Describe a one-time credential
|
|
362
|
-
*/
|
|
363
|
-
export declare const DescribeCredentialTicketParams: zod.ZodObject<{
|
|
364
|
-
ticketId: zod.ZodUUID;
|
|
365
|
-
}, zod.z.core.$strict>;
|
|
366
|
-
/**
|
|
367
|
-
* Returns the credential and destroys it in the same step. **This is the only operation that
|
|
368
|
-
* ever returns it, and it succeeds only once.**
|
|
369
|
-
*
|
|
370
|
-
* Every subsequent request returns `CREDENTIAL_TICKET_CONSUMED`, including one issued
|
|
371
|
-
* concurrently with the first: exactly one caller receives the credential.
|
|
372
|
-
*
|
|
373
|
-
* A ticket that has expired returns `CREDENTIAL_TICKET_EXPIRED`, and one withdrawn by the
|
|
374
|
-
* service that created it returns `CREDENTIAL_TICKET_REVOKED`. In all three cases the
|
|
375
|
-
* credential is already gone and cannot be recovered; obtain a new one from the service that
|
|
376
|
-
* owns the resource.
|
|
377
|
-
*
|
|
378
|
-
* This operation is a POST rather than a GET because a GET would be followed by link
|
|
379
|
-
* scanners in mail clients and by browser prefetching, either of which would consume the
|
|
380
|
-
* credential before the recipient opened it.
|
|
381
|
-
* @summary Reveal a one-time credential
|
|
382
|
-
*/
|
|
383
|
-
export declare const RevealCredentialParams: zod.ZodObject<{
|
|
384
|
-
ticketId: zod.ZodUUID;
|
|
385
|
-
}, zod.z.core.$strict>;
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -366,34 +359,3 @@ export const DeleteUserChannelParams = zod.strictObject({
|
|
|
366
359
|
export const VerifyUserChannelParams = zod.strictObject({
|
|
367
360
|
channelId: zod.uuid().describe("The outbound channel"),
|
|
368
361
|
});
|
|
369
|
-
/**
|
|
370
|
-
* Reports whether the credential is still available without consuming it. It never contains
|
|
371
|
-
* the credential itself.
|
|
372
|
-
*
|
|
373
|
-
* A ticket addressed to someone else returns `CREDENTIAL_TICKET_NOT_FOUND`, the same answer
|
|
374
|
-
* as one that does not exist.
|
|
375
|
-
* @summary Describe a one-time credential
|
|
376
|
-
*/
|
|
377
|
-
export const DescribeCredentialTicketParams = zod.strictObject({
|
|
378
|
-
ticketId: zod.uuid().describe("The one-time credential"),
|
|
379
|
-
});
|
|
380
|
-
/**
|
|
381
|
-
* Returns the credential and destroys it in the same step. **This is the only operation that
|
|
382
|
-
* ever returns it, and it succeeds only once.**
|
|
383
|
-
*
|
|
384
|
-
* Every subsequent request returns `CREDENTIAL_TICKET_CONSUMED`, including one issued
|
|
385
|
-
* concurrently with the first: exactly one caller receives the credential.
|
|
386
|
-
*
|
|
387
|
-
* A ticket that has expired returns `CREDENTIAL_TICKET_EXPIRED`, and one withdrawn by the
|
|
388
|
-
* service that created it returns `CREDENTIAL_TICKET_REVOKED`. In all three cases the
|
|
389
|
-
* credential is already gone and cannot be recovered; obtain a new one from the service that
|
|
390
|
-
* owns the resource.
|
|
391
|
-
*
|
|
392
|
-
* This operation is a POST rather than a GET because a GET would be followed by link
|
|
393
|
-
* scanners in mail clients and by browser prefetching, either of which would consume the
|
|
394
|
-
* credential before the recipient opened it.
|
|
395
|
-
* @summary Reveal a one-time credential
|
|
396
|
-
*/
|
|
397
|
-
export const RevealCredentialParams = zod.strictObject({
|
|
398
|
-
ticketId: zod.uuid().describe("The one-time credential"),
|
|
399
|
-
});
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
51
|
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
52
|
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
-
*
|
|
54
|
-
* ## One-time credentials
|
|
55
|
-
*
|
|
56
|
-
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
-
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
-
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
-
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
53
|
* OpenAPI spec version: 1.0.0
|
|
61
54
|
*/
|
|
62
55
|
import * as zod from "zod";
|