@leaflow/sdk 0.0.0-dev.541.g49c432c → 0.0.0-dev.546.gd7d0a9b

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.
Files changed (120) hide show
  1. package/dist/billing/type/checkout/v1/generated/models.d.ts +2 -2
  2. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +1 -1
  3. package/dist/billing/v1/generated/functions.d.ts +2 -2
  4. package/dist/billing/v1/generated/functions.js +2 -2
  5. package/dist/billing/v1/generated/models.d.ts +16 -7
  6. package/dist/billing/v1/generated/schemas.zod.d.ts +2 -2
  7. package/dist/billing/v1/generated/schemas.zod.js +2 -2
  8. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
  9. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +6 -107
  10. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +6 -107
  11. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +6 -107
  12. package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
  13. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +1 -1
  14. package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +6 -107
  15. package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +6 -107
  16. package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +6 -107
  17. package/dist/billing/v1/generated/validators/trialOffer.zod.js +5 -3
  18. package/dist/billing/v1/generated/validators/trialOfferItem.zod.d.ts +18 -0
  19. package/dist/billing/v1/generated/validators/trialOfferItem.zod.js +17 -0
  20. package/dist/canopy/v1/generated/models.d.ts +2 -2
  21. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +1 -1
  22. package/dist/compute/v2/generated/functions.d.ts +6 -6
  23. package/dist/compute/v2/generated/functions.js +6 -6
  24. package/dist/compute/v2/generated/models.d.ts +2 -2
  25. package/dist/compute/v2/generated/schemas.zod.d.ts +6 -6
  26. package/dist/compute/v2/generated/schemas.zod.js +6 -6
  27. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +1 -1
  28. package/dist/membership/v1/generated/models.d.ts +2 -2
  29. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +1 -1
  30. package/dist/notification/v1/generated/functions.d.ts +1 -67
  31. package/dist/notification/v1/generated/functions.js +0 -49
  32. package/dist/notification/v1/generated/models.d.ts +0 -56
  33. package/dist/notification/v1/generated/models.js +0 -3
  34. package/dist/notification/v1/generated/schemas.zod.d.ts +0 -38
  35. package/dist/notification/v1/generated/schemas.zod.js +0 -38
  36. package/dist/notification/v1/generated/validators/announcementListResource.zod.d.ts +0 -7
  37. package/dist/notification/v1/generated/validators/announcementListResource.zod.js +0 -7
  38. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.d.ts +0 -7
  39. package/dist/notification/v1/generated/validators/announcementReadResultResource.zod.js +0 -7
  40. package/dist/notification/v1/generated/validators/announcementResource.zod.d.ts +0 -7
  41. package/dist/notification/v1/generated/validators/announcementResource.zod.js +0 -7
  42. package/dist/notification/v1/generated/validators/channelKind.zod.d.ts +0 -7
  43. package/dist/notification/v1/generated/validators/channelKind.zod.js +0 -7
  44. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.d.ts +0 -7
  45. package/dist/notification/v1/generated/validators/channelListResponseBody.zod.js +0 -7
  46. package/dist/notification/v1/generated/validators/channelResource.zod.d.ts +0 -7
  47. package/dist/notification/v1/generated/validators/channelResource.zod.js +0 -7
  48. package/dist/notification/v1/generated/validators/channelScope.zod.d.ts +0 -7
  49. package/dist/notification/v1/generated/validators/channelScope.zod.js +0 -7
  50. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.d.ts +0 -7
  51. package/dist/notification/v1/generated/validators/confirmEmailOverrideRequestBody.zod.js +0 -7
  52. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.d.ts +0 -7
  53. package/dist/notification/v1/generated/validators/countUnreadNotificationsParams.zod.js +0 -7
  54. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.d.ts +0 -7
  55. package/dist/notification/v1/generated/validators/createChannelRequestBody.zod.js +0 -7
  56. package/dist/notification/v1/generated/validators/cursorPagination.zod.d.ts +0 -7
  57. package/dist/notification/v1/generated/validators/cursorPagination.zod.js +0 -7
  58. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.d.ts +0 -7
  59. package/dist/notification/v1/generated/validators/deleteTypePreferenceParams.zod.js +0 -7
  60. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.d.ts +0 -7
  61. package/dist/notification/v1/generated/validators/emailOverrideCodeResource.zod.js +0 -7
  62. package/dist/notification/v1/generated/validators/error.zod.d.ts +0 -7
  63. package/dist/notification/v1/generated/validators/error.zod.js +0 -7
  64. package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +0 -7
  65. package/dist/notification/v1/generated/validators/errorStatus.zod.js +0 -7
  66. package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +0 -7
  67. package/dist/notification/v1/generated/validators/fieldViolation.zod.js +0 -7
  68. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.d.ts +0 -7
  69. package/dist/notification/v1/generated/validators/lengthAwarePageNotificationResource.zod.js +0 -7
  70. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.d.ts +0 -7
  71. package/dist/notification/v1/generated/validators/listNotificationsParams.zod.js +0 -7
  72. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.d.ts +0 -7
  73. package/dist/notification/v1/generated/validators/listTypePreferencesParams.zod.js +0 -7
  74. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.d.ts +0 -7
  75. package/dist/notification/v1/generated/validators/listUserChannelsParams.zod.js +0 -7
  76. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.d.ts +0 -7
  77. package/dist/notification/v1/generated/validators/markNotificationsReadRequestBody.zod.js +0 -7
  78. package/dist/notification/v1/generated/validators/notificationAudience.zod.d.ts +0 -7
  79. package/dist/notification/v1/generated/validators/notificationAudience.zod.js +0 -7
  80. package/dist/notification/v1/generated/validators/notificationChannel.zod.d.ts +0 -7
  81. package/dist/notification/v1/generated/validators/notificationChannel.zod.js +0 -7
  82. package/dist/notification/v1/generated/validators/notificationKind.zod.d.ts +0 -7
  83. package/dist/notification/v1/generated/validators/notificationKind.zod.js +0 -7
  84. package/dist/notification/v1/generated/validators/notificationResource.zod.d.ts +0 -7
  85. package/dist/notification/v1/generated/validators/notificationResource.zod.js +0 -7
  86. package/dist/notification/v1/generated/validators/notificationScope.zod.d.ts +0 -7
  87. package/dist/notification/v1/generated/validators/notificationScope.zod.js +0 -7
  88. package/dist/notification/v1/generated/validators/notificationSeverity.zod.d.ts +0 -7
  89. package/dist/notification/v1/generated/validators/notificationSeverity.zod.js +0 -7
  90. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.d.ts +0 -7
  91. package/dist/notification/v1/generated/validators/notificationTypeDescriptor.zod.js +0 -7
  92. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.d.ts +0 -7
  93. package/dist/notification/v1/generated/validators/notificationTypeListResponseBody.zod.js +0 -7
  94. package/dist/notification/v1/generated/validators/offsetPagination.zod.d.ts +0 -7
  95. package/dist/notification/v1/generated/validators/offsetPagination.zod.js +0 -7
  96. package/dist/notification/v1/generated/validators/preferencesResource.zod.d.ts +0 -7
  97. package/dist/notification/v1/generated/validators/preferencesResource.zod.js +0 -7
  98. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.d.ts +0 -7
  99. package/dist/notification/v1/generated/validators/typePreferenceListResponseBody.zod.js +0 -7
  100. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.d.ts +0 -7
  101. package/dist/notification/v1/generated/validators/typePreferenceResource.zod.js +0 -7
  102. package/dist/notification/v1/generated/validators/unreadCountResource.zod.d.ts +0 -7
  103. package/dist/notification/v1/generated/validators/unreadCountResource.zod.js +0 -7
  104. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.d.ts +0 -7
  105. package/dist/notification/v1/generated/validators/updateChannelRequestBody.zod.js +0 -7
  106. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.d.ts +0 -7
  107. package/dist/notification/v1/generated/validators/updatePreferencesRequestBody.zod.js +0 -7
  108. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.d.ts +0 -7
  109. package/dist/notification/v1/generated/validators/updateTypePreferenceParams.zod.js +0 -7
  110. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.d.ts +0 -7
  111. package/dist/notification/v1/generated/validators/updateTypePreferenceRequestBody.zod.js +0 -7
  112. package/dist/routes.d.ts +0 -16
  113. package/dist/routes.js +0 -18
  114. package/package.json +1 -1
  115. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.d.ts +0 -67
  116. package/dist/notification/v1/generated/validators/credentialSubjectKind.zod.js +0 -65
  117. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.d.ts +0 -75
  118. package/dist/notification/v1/generated/validators/credentialTicketResource.zod.js +0 -84
  119. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.d.ts +0 -73
  120. package/dist/notification/v1/generated/validators/revealedCredentialResource.zod.js +0 -77
@@ -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";
@@ -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";
package/dist/routes.d.ts CHANGED
@@ -4629,22 +4629,6 @@ export declare const routes: readonly [{
4629
4629
  readonly operationId: "verify-user-channel";
4630
4630
  readonly securityScheme: "ScopedToken";
4631
4631
  readonly upstreamUrl: "https://notification.leaflow.cloud";
4632
- }, {
4633
- readonly service: "notification";
4634
- readonly contract: "notification";
4635
- readonly method: "GET";
4636
- readonly path: "/api/v1/credentials/{ticketId}";
4637
- readonly operationId: "describe-credential-ticket";
4638
- readonly securityScheme: "ScopedToken";
4639
- readonly upstreamUrl: "https://notification.leaflow.cloud";
4640
- }, {
4641
- readonly service: "notification";
4642
- readonly contract: "notification";
4643
- readonly method: "POST";
4644
- readonly path: "/api/v1/credentials/{ticketId}:reveal";
4645
- readonly operationId: "reveal-credential";
4646
- readonly securityScheme: "ScopedToken";
4647
- readonly upstreamUrl: "https://notification.leaflow.cloud";
4648
4632
  }, {
4649
4633
  readonly service: "support";
4650
4634
  readonly contract: "support";
package/dist/routes.js CHANGED
@@ -5208,24 +5208,6 @@ export const routes = [
5208
5208
  securityScheme: "ScopedToken",
5209
5209
  upstreamUrl: "https://notification.leaflow.cloud",
5210
5210
  },
5211
- {
5212
- service: "notification",
5213
- contract: "notification",
5214
- method: "GET",
5215
- path: "/api/v1/credentials/{ticketId}",
5216
- operationId: "describe-credential-ticket",
5217
- securityScheme: "ScopedToken",
5218
- upstreamUrl: "https://notification.leaflow.cloud",
5219
- },
5220
- {
5221
- service: "notification",
5222
- contract: "notification",
5223
- method: "POST",
5224
- path: "/api/v1/credentials/{ticketId}:reveal",
5225
- operationId: "reveal-credential",
5226
- securityScheme: "ScopedToken",
5227
- upstreamUrl: "https://notification.leaflow.cloud",
5228
- },
5229
5211
  {
5230
5212
  service: "support",
5231
5213
  contract: "support",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.541.g49c432c",
3
+ "version": "0.0.0-dev.546.gd7d0a9b",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,67 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Notification API
5
- * Read the notifications this platform has sent you, and choose where each kind of notification
6
- * is delivered.
7
- *
8
- * Every service on the platform reports events here rather than contacting you directly. This
9
- * API is the single place where those events are read, and the single place where delivery is
10
- * configured.
11
- *
12
- * ## Authentication
13
- *
14
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
15
- *
16
- * **Neither the path nor the headers carry a `project_id`**: the current project is determined by
17
- * the token. Listing operations return everything addressed to you across every project by
18
- * default, because a notification is addressed to a person rather than to a project; pass
19
- * `scope=current_project` to narrow the result to the project in the token.
20
- *
21
- * ## Conventions
22
- *
23
- * - **Notifications are typed, and the type determines who receives it.** A type such as
24
- * `compute.instance.provisioned` is addressed to whoever created the instance, while
25
- * `monitoring.alert.raised` is addressed to every member of the project. The full catalogue is
26
- * available from `GET /api/v1/notification-types` and is stable: a type identifier is never
27
- * reused for a different event.
28
- * - **Text is rendered at read time from the language on your preferences.** Changing the
29
- * language changes the text of everything already in the inbox. Messages already delivered by
30
- * email or to an outbound channel are not rewritten, because they have already been sent.
31
- * - **Times inside rendered text are stated in UTC and say so.** There is no time zone setting.
32
- * Clients that can determine the reader's time zone should present `created_at`, `occurred_at`
33
- * and the timestamps in `params` — all of which are RFC 3339 — in local time instead. Email
34
- * cannot do this, which is why the text it carries is explicit about being UTC.
35
- * - **Some types must reach you, and those cannot be muted or removed from email.** They are
36
- * marked `mandatory` in the catalogue: types you would only find out about by signing in, when
37
- * not finding out costs you something — a suspension, a deletion, a credential that expires.
38
- * Everything else about them is still configurable, including adding channels of your own.
39
- * - **Deleting a preference restores the default; it does not turn the type off.** To stop
40
- * receiving a type, set `muted` on it.
41
- * - **Outbound channels deliver nothing until they are verified.** Registering a channel does not
42
- * contact it. Verification is a separate operation that sends one message, and only a channel
43
- * that has acknowledged it receives anything afterwards.
44
- * - **Channel endpoints are never returned.** No operation, including the one that registers
45
- * them, returns the address that was submitted. A channel entered incorrectly must be deleted
46
- * and registered again.
47
- *
48
- * ## Rate and volume
49
- *
50
- * Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
51
- * summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
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
- * OpenAPI spec version: 1.0.0
61
- */
62
- import * as zod from "zod";
63
- export declare const CredentialSubjectKind: zod.ZodEnum<{
64
- compute_instance: "compute_instance";
65
- }>;
66
- export type CredentialSubjectKind = zod.input<typeof CredentialSubjectKind>;
67
- export type CredentialSubjectKindOutput = zod.output<typeof CredentialSubjectKind>;
@@ -1,65 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Notification API
5
- * Read the notifications this platform has sent you, and choose where each kind of notification
6
- * is delivered.
7
- *
8
- * Every service on the platform reports events here rather than contacting you directly. This
9
- * API is the single place where those events are read, and the single place where delivery is
10
- * configured.
11
- *
12
- * ## Authentication
13
- *
14
- * Every request carries a scoped token; see the `bearerAuth` security scheme.
15
- *
16
- * **Neither the path nor the headers carry a `project_id`**: the current project is determined by
17
- * the token. Listing operations return everything addressed to you across every project by
18
- * default, because a notification is addressed to a person rather than to a project; pass
19
- * `scope=current_project` to narrow the result to the project in the token.
20
- *
21
- * ## Conventions
22
- *
23
- * - **Notifications are typed, and the type determines who receives it.** A type such as
24
- * `compute.instance.provisioned` is addressed to whoever created the instance, while
25
- * `monitoring.alert.raised` is addressed to every member of the project. The full catalogue is
26
- * available from `GET /api/v1/notification-types` and is stable: a type identifier is never
27
- * reused for a different event.
28
- * - **Text is rendered at read time from the language on your preferences.** Changing the
29
- * language changes the text of everything already in the inbox. Messages already delivered by
30
- * email or to an outbound channel are not rewritten, because they have already been sent.
31
- * - **Times inside rendered text are stated in UTC and say so.** There is no time zone setting.
32
- * Clients that can determine the reader's time zone should present `created_at`, `occurred_at`
33
- * and the timestamps in `params` — all of which are RFC 3339 — in local time instead. Email
34
- * cannot do this, which is why the text it carries is explicit about being UTC.
35
- * - **Some types must reach you, and those cannot be muted or removed from email.** They are
36
- * marked `mandatory` in the catalogue: types you would only find out about by signing in, when
37
- * not finding out costs you something — a suspension, a deletion, a credential that expires.
38
- * Everything else about them is still configurable, including adding channels of your own.
39
- * - **Deleting a preference restores the default; it does not turn the type off.** To stop
40
- * receiving a type, set `muted` on it.
41
- * - **Outbound channels deliver nothing until they are verified.** Registering a channel does not
42
- * contact it. Verification is a separate operation that sends one message, and only a channel
43
- * that has acknowledged it receives anything afterwards.
44
- * - **Channel endpoints are never returned.** No operation, including the one that registers
45
- * them, returns the address that was submitted. A channel entered incorrectly must be deleted
46
- * and registered again.
47
- *
48
- * ## Rate and volume
49
- *
50
- * Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
51
- * summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
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
- * OpenAPI spec version: 1.0.0
61
- */
62
- import * as zod from "zod";
63
- export const CredentialSubjectKind = zod
64
- .enum(["compute_instance"])
65
- .describe("What the credential belongs to.");