@leaflow/sdk 0.207.0 → 0.209.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.
Files changed (231) hide show
  1. package/dist/account/v1/generated/functions.d.ts +117 -1
  2. package/dist/account/v1/generated/functions.js +104 -0
  3. package/dist/account/v1/generated/models.d.ts +85 -0
  4. package/dist/account/v1/generated/models.js +9 -0
  5. package/dist/account/v1/generated/schemas.zod.d.ts +68 -0
  6. package/dist/account/v1/generated/schemas.zod.js +76 -0
  7. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +18 -0
  8. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +18 -0
  9. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +18 -0
  10. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +18 -0
  11. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +18 -0
  12. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +18 -0
  13. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.d.ts +18 -0
  14. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.js +18 -0
  15. package/dist/account/v1/generated/validators/accountDeletionResource.zod.d.ts +18 -0
  16. package/dist/account/v1/generated/validators/accountDeletionResource.zod.js +18 -0
  17. package/dist/account/v1/generated/validators/accountDeletionState.zod.d.ts +18 -0
  18. package/dist/account/v1/generated/validators/accountDeletionState.zod.js +18 -0
  19. package/dist/account/v1/generated/validators/accountResource.zod.d.ts +18 -0
  20. package/dist/account/v1/generated/validators/accountResource.zod.js +18 -0
  21. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +18 -0
  22. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +18 -0
  23. package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +18 -0
  24. package/dist/account/v1/generated/validators/agreementResource.zod.js +18 -0
  25. package/dist/account/v1/generated/validators/applicationResource.zod.d.ts +60 -0
  26. package/dist/account/v1/generated/validators/applicationResource.zod.js +60 -0
  27. package/dist/account/v1/generated/validators/authorizeApplicationRequestBody.zod.d.ts +55 -0
  28. package/dist/account/v1/generated/validators/authorizeApplicationRequestBody.zod.js +53 -0
  29. package/dist/account/v1/generated/validators/authorizedApplicationResource.zod.d.ts +93 -0
  30. package/dist/account/v1/generated/validators/authorizedApplicationResource.zod.js +59 -0
  31. package/dist/account/v1/generated/validators/consentBody.zod.d.ts +18 -0
  32. package/dist/account/v1/generated/validators/consentBody.zod.js +18 -0
  33. package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +18 -0
  34. package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +18 -0
  35. package/dist/account/v1/generated/validators/consentResource.zod.d.ts +18 -0
  36. package/dist/account/v1/generated/validators/consentResource.zod.js +18 -0
  37. package/dist/account/v1/generated/validators/countryOption.zod.d.ts +18 -0
  38. package/dist/account/v1/generated/validators/countryOption.zod.js +18 -0
  39. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +18 -0
  40. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +18 -0
  41. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +18 -0
  42. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.js +18 -0
  43. package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +18 -0
  44. package/dist/account/v1/generated/validators/cursorPagination.zod.js +18 -0
  45. package/dist/account/v1/generated/validators/error.zod.d.ts +18 -0
  46. package/dist/account/v1/generated/validators/error.zod.js +18 -0
  47. package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +18 -0
  48. package/dist/account/v1/generated/validators/errorStatus.zod.js +18 -0
  49. package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +18 -0
  50. package/dist/account/v1/generated/validators/fieldViolation.zod.js +18 -0
  51. package/dist/account/v1/generated/validators/grantResource.zod.d.ts +18 -0
  52. package/dist/account/v1/generated/validators/grantResource.zod.js +18 -0
  53. package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +18 -0
  54. package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +18 -0
  55. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +18 -0
  56. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +18 -0
  57. package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +18 -0
  58. package/dist/account/v1/generated/validators/invitationResource.zod.js +18 -0
  59. package/dist/account/v1/generated/validators/languageOption.zod.d.ts +18 -0
  60. package/dist/account/v1/generated/validators/languageOption.zod.js +18 -0
  61. package/dist/account/v1/generated/validators/lengthAwarePageAuthorizedApplicationResource.zod.d.ts +98 -0
  62. package/dist/account/v1/generated/validators/lengthAwarePageAuthorizedApplicationResource.zod.js +55 -0
  63. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +18 -0
  64. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +18 -0
  65. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +18 -0
  66. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +18 -0
  67. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +18 -0
  68. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +18 -0
  69. package/dist/account/v1/generated/validators/listAuthorizedApplicationsParams.zod.d.ts +59 -0
  70. package/dist/account/v1/generated/validators/listAuthorizedApplicationsParams.zod.js +65 -0
  71. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +18 -0
  72. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +18 -0
  73. package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +18 -0
  74. package/dist/account/v1/generated/validators/listProjectsParams.zod.js +18 -0
  75. package/dist/account/v1/generated/validators/listSshKeysParams.zod.d.ts +18 -0
  76. package/dist/account/v1/generated/validators/listSshKeysParams.zod.js +18 -0
  77. package/dist/account/v1/generated/validators/locale.zod.d.ts +18 -0
  78. package/dist/account/v1/generated/validators/locale.zod.js +18 -0
  79. package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +18 -0
  80. package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +18 -0
  81. package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +18 -0
  82. package/dist/account/v1/generated/validators/offsetPagination.zod.js +18 -0
  83. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +18 -0
  84. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +18 -0
  85. package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +18 -0
  86. package/dist/account/v1/generated/validators/projectAccessList.zod.js +18 -0
  87. package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +18 -0
  88. package/dist/account/v1/generated/validators/projectAccessResource.zod.js +18 -0
  89. package/dist/account/v1/generated/validators/projectResource.zod.d.ts +18 -0
  90. package/dist/account/v1/generated/validators/projectResource.zod.js +18 -0
  91. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +18 -0
  92. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +18 -0
  93. package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +18 -0
  94. package/dist/account/v1/generated/validators/projectStatus.zod.js +18 -0
  95. package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +18 -0
  96. package/dist/account/v1/generated/validators/projectTraitResource.zod.js +18 -0
  97. package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +18 -0
  98. package/dist/account/v1/generated/validators/registerRequestBody.zod.js +18 -0
  99. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +18 -0
  100. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.js +18 -0
  101. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.d.ts +18 -0
  102. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.js +18 -0
  103. package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +18 -0
  104. package/dist/account/v1/generated/validators/resourceRefResource.zod.js +18 -0
  105. package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +18 -0
  106. package/dist/account/v1/generated/validators/ruleResource.zod.js +18 -0
  107. package/dist/account/v1/generated/validators/sSHKeyResource.zod.d.ts +18 -0
  108. package/dist/account/v1/generated/validators/sSHKeyResource.zod.js +18 -0
  109. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +18 -0
  110. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +18 -0
  111. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +18 -0
  112. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +18 -0
  113. package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +18 -0
  114. package/dist/account/v1/generated/validators/settingsResource.zod.js +18 -0
  115. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +18 -0
  116. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +18 -0
  117. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +18 -0
  118. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +18 -0
  119. package/dist/billing/v1/generated/models.d.ts +133 -69
  120. package/dist/billing/v1/generated/models.js +12 -26
  121. package/dist/billing/v1/generated/schemas.zod.d.ts +91 -18
  122. package/dist/billing/v1/generated/schemas.zod.js +132 -14
  123. package/dist/billing/v1/generated/validators/activeResource.zod.js +2 -1
  124. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +16 -0
  125. package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +9 -0
  126. package/dist/billing/v1/generated/validators/allowance.zod.js +2 -1
  127. package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +16 -0
  128. package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +9 -0
  129. package/dist/billing/v1/generated/validators/creditGrant.zod.js +2 -1
  130. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +16 -0
  131. package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +9 -0
  132. package/dist/billing/v1/generated/validators/creditNote.zod.js +2 -1
  133. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +14 -0
  134. package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +9 -0
  135. package/dist/billing/v1/generated/validators/discount.zod.js +2 -3
  136. package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +16 -0
  137. package/dist/billing/v1/generated/validators/discountStatus.zod.js +11 -0
  138. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +7 -0
  139. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +3 -0
  140. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +3 -2
  141. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +3 -1
  142. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +3 -2
  143. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +3 -1
  144. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +3 -2
  145. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +4 -1
  146. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +3 -2
  147. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +6 -1
  148. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +3 -2
  149. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +3 -1
  150. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +5 -0
  151. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +3 -0
  152. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +3 -2
  153. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +2 -1
  154. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +3 -2
  155. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +2 -1
  156. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +3 -2
  157. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +2 -1
  158. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +5 -0
  159. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +6 -0
  160. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +7 -0
  161. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +3 -0
  162. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +3 -2
  163. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +2 -1
  164. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +9 -0
  165. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +3 -0
  166. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +7 -0
  167. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +3 -0
  168. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +15 -0
  169. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +6 -0
  170. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +9 -0
  171. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +3 -0
  172. package/dist/billing/v1/generated/validators/refund.zod.js +2 -3
  173. package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +16 -0
  174. package/dist/billing/v1/generated/validators/refundStatus.zod.js +11 -0
  175. package/dist/billing/v1/generated/validators/subscription.zod.js +2 -3
  176. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +18 -0
  177. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +11 -0
  178. package/dist/billing/v1/generated/validators/topUp.zod.js +2 -3
  179. package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +16 -0
  180. package/dist/billing/v1/generated/validators/topUpStatus.zod.js +11 -0
  181. package/dist/billing/v1/generated/validators/transaction.zod.js +2 -4
  182. package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +16 -0
  183. package/dist/billing/v1/generated/validators/transactionStatus.zod.js +11 -0
  184. package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -8
  185. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +18 -0
  186. package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +16 -0
  187. package/dist/compute/v2/generated/functions.d.ts +4 -2
  188. package/dist/compute/v2/generated/functions.js +3 -18
  189. package/dist/compute/v2/generated/models.d.ts +29 -9
  190. package/dist/compute/v2/generated/schemas.zod.d.ts +6 -3
  191. package/dist/compute/v2/generated/schemas.zod.js +2 -2
  192. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +1 -0
  193. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +4 -0
  194. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +3 -0
  195. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -0
  196. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -0
  197. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +1 -0
  198. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
  199. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +3 -0
  200. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +1 -0
  201. package/dist/compute/v2/generated/validators/instance.zod.d.ts +3 -0
  202. package/dist/compute/v2/generated/validators/instance.zod.js +10 -0
  203. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +3 -0
  204. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -0
  205. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +4 -0
  206. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -0
  207. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -0
  208. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +4 -0
  209. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +1 -0
  210. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +1 -0
  211. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +3 -0
  212. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -0
  213. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -0
  214. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +3 -0
  215. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -0
  216. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +4 -0
  217. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +3 -0
  218. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +3 -0
  219. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +3 -0
  220. package/dist/iam/v1/generated/functions.d.ts +9 -2
  221. package/dist/iam/v1/generated/functions.js +9 -2
  222. package/dist/iam/v1/generated/models.d.ts +1 -1
  223. package/dist/iam/v1/generated/schemas.zod.d.ts +9 -2
  224. package/dist/iam/v1/generated/schemas.zod.js +9 -2
  225. package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.js +1 -1
  226. package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +48 -6
  227. package/dist/routes.d.ts +32 -0
  228. package/dist/routes.js +36 -0
  229. package/package.json +1 -1
  230. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +0 -42
  231. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +0 -44
@@ -153,6 +153,9 @@ export declare const CreateInstanceResponseBody: zod.ZodObject<{
153
153
  }>;
154
154
  started_at: zod.z.ZodISODateTime;
155
155
  }, zod.z.core.$strict>, zod.ZodNull]>;
156
+ join_fleet: zod.ZodBoolean;
157
+ supports_fleet: zod.ZodBoolean;
158
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
156
159
  }, zod.z.core.$strict>>;
157
160
  checkout_session_id: zod.ZodUUID;
158
161
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -73,6 +73,7 @@ export declare const CreateLaunchTemplateRequestBody: zod.ZodObject<{
73
73
  }, zod.z.core.$strict>>;
74
74
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
75
75
  description: zod.ZodOptional<zod.ZodString>;
76
+ join_fleet: zod.ZodOptional<zod.ZodBoolean>;
76
77
  }, zod.z.core.$strict>;
77
78
  }, zod.z.core.$strict>;
78
79
  export type CreateLaunchTemplateRequestBody = zod.input<typeof CreateLaunchTemplateRequestBody>;
@@ -80,6 +80,7 @@ export declare const CreateLaunchTemplateResponseBody: zod.ZodObject<{
80
80
  }, zod.z.core.$strict>, zod.ZodNull]>;
81
81
  labels: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
82
82
  description: zod.ZodNullable<zod.ZodString>;
83
+ join_fleet: zod.ZodNullable<zod.ZodBoolean>;
83
84
  created_at: zod.z.ZodISODateTime;
84
85
  }, zod.z.core.$strict>;
85
86
  }, zod.z.core.$strict>;
@@ -45,6 +45,7 @@ export declare const CreatePrivateImageResponseBody: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  status: zod.ZodEnum<{
49
50
  deleting: "deleting";
50
51
  deleted: "deleted";
@@ -57,6 +57,6 @@ export const CreateSecurityGroupRuleRequestBody = zod.strictObject({
57
57
  .string()
58
58
  .max(createSecurityGroupRuleRequestBodyRemoteCidrMax)
59
59
  .optional()
60
- .describe("A CIDR of the rule's IP version. Every address when omitted."),
60
+ .describe("An IP address or CIDR block of the rule's IP version. A single address admits only itself, and a block is recorded with its host bits cleared. Every address when omitted."),
61
61
  description: zod.string().max(createSecurityGroupRuleRequestBodyDescriptionMax).optional(),
62
62
  });
@@ -152,6 +152,9 @@ export declare const DeleteInstanceResponseBody: zod.ZodObject<{
152
152
  }>;
153
153
  started_at: zod.z.ZodISODateTime;
154
154
  }, zod.z.core.$strict>, zod.ZodNull]>;
155
+ join_fleet: zod.ZodBoolean;
156
+ supports_fleet: zod.ZodBoolean;
157
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
155
158
  }, zod.z.core.$strict>;
156
159
  cancellation: zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
157
160
  id: zod.ZodUUID;
@@ -45,6 +45,7 @@ export declare const DeletePrivateImageResponseBody: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  status: zod.ZodEnum<{
49
50
  deleting: "deleting";
50
51
  deleted: "deleted";
@@ -154,6 +154,9 @@ export declare const Instance: zod.ZodObject<{
154
154
  }>;
155
155
  started_at: zod.z.ZodISODateTime;
156
156
  }, zod.z.core.$strict>, zod.ZodNull]>;
157
+ join_fleet: zod.ZodBoolean;
158
+ supports_fleet: zod.ZodBoolean;
159
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
157
160
  }, zod.z.core.$strict>;
158
161
  export type Instance = zod.input<typeof Instance>;
159
162
  export type InstanceOutput = zod.output<typeof Instance>;
@@ -164,4 +164,14 @@ export const Instance = zod.strictObject({
164
164
  latest_operation: zod
165
165
  .union([LatestOperation, zod.null()])
166
166
  .describe("The most recent operation started on the instance; null when none has been recorded."),
167
+ join_fleet: zod
168
+ .boolean()
169
+ .describe("Whether the instance is configured to join Leaflow Fleet. The value is set at creation and retained across rebuilds unless a rebuild specifies a new value."),
170
+ supports_fleet: zod
171
+ .boolean()
172
+ .describe("Whether the operating system with which the instance was created or last rebuilt supports Leaflow Fleet. The value reflects that specific image build; other builds of the same operating system may differ."),
173
+ fleet_machine_id: zod
174
+ .uuid()
175
+ .nullable()
176
+ .describe("The identifier of the Leaflow Fleet machine reserved for this instance. The instance enrolls as this machine on its first boot after creation or a rebuild, and its enrollment status is available from Fleet. Null if the instance is not configured to join Fleet, if its operating system does not support Fleet, or if Fleet was unavailable when the instance was created or last rebuilt."),
167
177
  });
@@ -152,6 +152,9 @@ export declare const InstanceListResponseBody: zod.ZodObject<{
152
152
  }>;
153
153
  started_at: zod.z.ZodISODateTime;
154
154
  }, zod.z.core.$strict>, zod.ZodNull]>;
155
+ join_fleet: zod.ZodBoolean;
156
+ supports_fleet: zod.ZodBoolean;
157
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
155
158
  }, zod.z.core.$strict>>;
156
159
  pagination: zod.ZodObject<{
157
160
  page: zod.ZodInt;
@@ -69,6 +69,7 @@ export declare const LaunchTemplateVersion: zod.ZodObject<{
69
69
  }, zod.z.core.$strict>, zod.ZodNull]>;
70
70
  labels: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
71
71
  description: zod.ZodNullable<zod.ZodString>;
72
+ join_fleet: zod.ZodNullable<zod.ZodBoolean>;
72
73
  created_at: zod.z.ZodISODateTime;
73
74
  }, zod.z.core.$strict>;
74
75
  export type LaunchTemplateVersion = zod.input<typeof LaunchTemplateVersion>;
@@ -53,5 +53,9 @@ export const LaunchTemplateVersion = zod.strictObject({
53
53
  .nullable()
54
54
  .describe("Null when the version describes no labels."),
55
55
  description: zod.string().nullable().describe("Null when the version describes no note."),
56
+ join_fleet: zod
57
+ .boolean()
58
+ .nullable()
59
+ .describe("Null if the version does not specify a value, in which case the image determines it."),
56
60
  created_at: zod.iso.datetime({ offset: true }),
57
61
  });
@@ -70,6 +70,7 @@ export declare const LaunchTemplateVersionListResponseBody: zod.ZodObject<{
70
70
  }, zod.z.core.$strict>, zod.ZodNull]>;
71
71
  labels: zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
72
72
  description: zod.ZodNullable<zod.ZodString>;
73
+ join_fleet: zod.ZodNullable<zod.ZodBoolean>;
73
74
  created_at: zod.z.ZodISODateTime;
74
75
  }, zod.z.core.$strict>>;
75
76
  pagination: zod.ZodObject<{
@@ -71,6 +71,7 @@ export declare const NewLaunchTemplateVersion: zod.ZodObject<{
71
71
  }, zod.z.core.$strict>>;
72
72
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
73
73
  description: zod.ZodOptional<zod.ZodString>;
74
+ join_fleet: zod.ZodOptional<zod.ZodBoolean>;
74
75
  }, zod.z.core.$strict>;
75
76
  export type NewLaunchTemplateVersion = zod.input<typeof NewLaunchTemplateVersion>;
76
77
  export type NewLaunchTemplateVersionOutput = zod.output<typeof NewLaunchTemplateVersion>;
@@ -58,5 +58,9 @@ export const NewLaunchTemplateVersion = zod
58
58
  .optional()
59
59
  .describe("A key may not contain a colon, whitespace or control characters."),
60
60
  description: zod.string().max(newLaunchTemplateVersionDescriptionMax).optional(),
61
+ join_fleet: zod
62
+ .boolean()
63
+ .optional()
64
+ .describe("Whether instances created from this version join Leaflow Fleet, as described for `join_fleet` on instance creation. If omitted, instances join when their image supports Fleet."),
61
65
  })
62
66
  .describe("What a version describes. Every part is optional; an instance created from the version supplies what is left out and may override what is given.");
@@ -45,6 +45,7 @@ export declare const PrivateImageListResponseBody: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  status: zod.ZodEnum<{
49
50
  deleting: "deleting";
50
51
  deleted: "deleted";
@@ -45,6 +45,7 @@ export declare const PrivateImageResource: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  status: zod.ZodEnum<{
49
50
  deleting: "deleting";
50
51
  deleted: "deleted";
@@ -60,6 +60,9 @@ export const PrivateImageResource = zod
60
60
  supports_password_reset: zod
61
61
  .boolean()
62
62
  .describe("False means a new password can only be set by rebuilding an instance created from this image"),
63
+ supports_fleet: zod
64
+ .boolean()
65
+ .describe("Whether instances created from this image can join Leaflow Fleet (`join_fleet`). The value is true when the operating system captured from the source instance supports Fleet"),
63
66
  status: zod
64
67
  .enum([
65
68
  "pending",
@@ -45,6 +45,7 @@ export declare const PublicImageListResponseBody: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  sale_status: zod.ZodEnum<{
49
50
  on_sale: "on_sale";
50
51
  off_sale: "off_sale";
@@ -45,6 +45,7 @@ export declare const PublicImageResource: zod.ZodObject<{
45
45
  min_volume_size_gib: zod.ZodInt;
46
46
  min_memory_mib: zod.ZodInt;
47
47
  supports_password_reset: zod.ZodBoolean;
48
+ supports_fleet: zod.ZodBoolean;
48
49
  sale_status: zod.ZodEnum<{
49
50
  on_sale: "on_sale";
50
51
  off_sale: "off_sale";
@@ -57,6 +57,9 @@ export const PublicImageResource = zod
57
57
  supports_password_reset: zod
58
58
  .boolean()
59
59
  .describe("False means a new password can only be set by rebuilding an instance created from this image"),
60
+ supports_fleet: zod
61
+ .boolean()
62
+ .describe("Whether instances created from this image can join Leaflow Fleet (`join_fleet`). The value applies to this specific image build; other builds of the same operating system may differ"),
60
63
  sale_status: zod
61
64
  .enum(["on_sale", "off_sale"])
62
65
  .describe("`on_sale` images can install new instances. `off_sale` means the platform withdrew the image: it stops new purchases only, and instances already running it keep running and can still be rebuilt onto it."),
@@ -45,6 +45,7 @@ export declare const RebuildInstanceRequestBody: zod.ZodObject<{
45
45
  }>;
46
46
  value: zod.ZodString;
47
47
  }, zod.z.core.$strict>], "type">>;
48
+ join_fleet: zod.ZodOptional<zod.ZodBoolean>;
48
49
  }, zod.z.core.$strict>;
49
50
  export type RebuildInstanceRequestBody = zod.input<typeof RebuildInstanceRequestBody>;
50
51
  export type RebuildInstanceRequestBodyOutput = zod.output<typeof RebuildInstanceRequestBody>;
@@ -38,4 +38,8 @@ import { PasswordChoice } from "./passwordChoice.zod.js";
38
38
  export const RebuildInstanceRequestBody = zod.strictObject({
39
39
  image_id: ImageID,
40
40
  password: PasswordChoice.optional(),
41
+ join_fleet: zod
42
+ .boolean()
43
+ .optional()
44
+ .describe("Whether the rebuilt instance joins Leaflow Fleet. If omitted, the instance's current value is retained. Because a rebuild replaces the operating system, the instance enrolls as a new Fleet machine and the previous machine is removed from Fleet. Setting the value to `true` for an image that does not support Fleet is rejected with 422 `INSTANCE_FLEET_UNSUPPORTED`."),
41
45
  });
@@ -152,6 +152,9 @@ export declare const RebuildInstanceResponseBody: zod.ZodObject<{
152
152
  }>;
153
153
  started_at: zod.z.ZodISODateTime;
154
154
  }, zod.z.core.$strict>, zod.ZodNull]>;
155
+ join_fleet: zod.ZodBoolean;
156
+ supports_fleet: zod.ZodBoolean;
157
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
155
158
  }, zod.z.core.$strict>;
156
159
  password: zod.ZodNullable<zod.ZodString>;
157
160
  }, zod.z.core.$strict>;
@@ -153,6 +153,9 @@ export declare const RescueInstanceResponseBody: zod.ZodObject<{
153
153
  }>;
154
154
  started_at: zod.z.ZodISODateTime;
155
155
  }, zod.z.core.$strict>, zod.ZodNull]>;
156
+ join_fleet: zod.ZodBoolean;
157
+ supports_fleet: zod.ZodBoolean;
158
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
156
159
  }, zod.z.core.$strict>;
157
160
  }, zod.z.core.$strict>;
158
161
  export type RescueInstanceResponseBody = zod.input<typeof RescueInstanceResponseBody>;
@@ -152,6 +152,9 @@ export declare const UpdateInstanceResponseBody: zod.ZodObject<{
152
152
  }>;
153
153
  started_at: zod.z.ZodISODateTime;
154
154
  }, zod.z.core.$strict>, zod.ZodNull]>;
155
+ join_fleet: zod.ZodBoolean;
156
+ supports_fleet: zod.ZodBoolean;
157
+ fleet_machine_id: zod.ZodNullable<zod.ZodUUID>;
155
158
  }, zod.z.core.$strict>;
156
159
  checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
157
160
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -667,8 +667,15 @@ export declare const getCreateApplicationUrl: () => string;
667
667
  * The `secret` is present only for a confidential application, and only in this response.
668
668
  * It is not stored and cannot be read again; use `:rotateSecret` to obtain a new one.
669
669
  *
670
- * Any account of this platform may sign in to the application. Membership of this project
671
- * is confirmed only when a token is exchanged for a scoped token.
670
+ * Any account of this platform may sign in to the application and is always asked for
671
+ * consent. `profile` and `email` are granted at every sign-in; any other scope selected here
672
+ * is granted only when the authorization request names it explicitly.
673
+ *
674
+ * To call the Leaflow API on behalf of a user, the application requests `iam`, and the user
675
+ * must then authorize the application for each project in which it is to act, as described
676
+ * in the Account API. Within an authorized project, the application holds exactly the
677
+ * permissions of the user and none beyond them. Members of this project must authorize the
678
+ * application in the same way as any other user.
672
679
  * @summary Create an application
673
680
  */
674
681
  export declare const createApplication: (createApplicationRequestBody: CreateApplicationRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createApplicationResponse>;
@@ -711,8 +711,15 @@ export const getCreateApplicationUrl = () => {
711
711
  * The `secret` is present only for a confidential application, and only in this response.
712
712
  * It is not stored and cannot be read again; use `:rotateSecret` to obtain a new one.
713
713
  *
714
- * Any account of this platform may sign in to the application. Membership of this project
715
- * is confirmed only when a token is exchanged for a scoped token.
714
+ * Any account of this platform may sign in to the application and is always asked for
715
+ * consent. `profile` and `email` are granted at every sign-in; any other scope selected here
716
+ * is granted only when the authorization request names it explicitly.
717
+ *
718
+ * To call the Leaflow API on behalf of a user, the application requests `iam`, and the user
719
+ * must then authorize the application for each project in which it is to act, as described
720
+ * in the Account API. Within an authorized project, the application holds exactly the
721
+ * permissions of the user and none beyond them. Members of this project must authorize the
722
+ * application in the same way as any other user.
716
723
  * @summary Create an application
717
724
  */
718
725
  export const createApplication = async (createApplicationRequestBody, options, fetchFn) => {
@@ -522,7 +522,7 @@ export interface CreateApplicationRequestBody {
522
522
  * @items.maxLength 2048
523
523
  */
524
524
  redirect_uris: string[];
525
- /** The scopes the application may request. Omitted means the defaults, `profile` and `email`; a scope not in the platform's list is refused */
525
+ /** The scopes the application may request. Omitted means the defaults, `profile` and `email`; a scope not in the platform's list is refused. `profile` and `email` are granted at every sign-in, and any other scope only when the authorization request names it explicitly */
526
526
  scopes?: string[];
527
527
  }
528
528
  export interface CreateApplicationResponseBody {
@@ -268,8 +268,15 @@ export declare const ListApplicationsQueryParams: zod.ZodObject<{
268
268
  * The `secret` is present only for a confidential application, and only in this response.
269
269
  * It is not stored and cannot be read again; use `:rotateSecret` to obtain a new one.
270
270
  *
271
- * Any account of this platform may sign in to the application. Membership of this project
272
- * is confirmed only when a token is exchanged for a scoped token.
271
+ * Any account of this platform may sign in to the application and is always asked for
272
+ * consent. `profile` and `email` are granted at every sign-in; any other scope selected here
273
+ * is granted only when the authorization request names it explicitly.
274
+ *
275
+ * To call the Leaflow API on behalf of a user, the application requests `iam`, and the user
276
+ * must then authorize the application for each project in which it is to act, as described
277
+ * in the Account API. Within an authorized project, the application holds exactly the
278
+ * permissions of the user and none beyond them. Members of this project must authorize the
279
+ * application in the same way as any other user.
273
280
  * @summary Create an application
274
281
  */
275
282
  export declare const CreateApplicationBody: zod.ZodObject<{
@@ -295,8 +295,15 @@ export const ListApplicationsQueryParams = zod.strictObject({
295
295
  * The `secret` is present only for a confidential application, and only in this response.
296
296
  * It is not stored and cannot be read again; use `:rotateSecret` to obtain a new one.
297
297
  *
298
- * Any account of this platform may sign in to the application. Membership of this project
299
- * is confirmed only when a token is exchanged for a scoped token.
298
+ * Any account of this platform may sign in to the application and is always asked for
299
+ * consent. `profile` and `email` are granted at every sign-in; any other scope selected here
300
+ * is granted only when the authorization request names it explicitly.
301
+ *
302
+ * To call the Leaflow API on behalf of a user, the application requests `iam`, and the user
303
+ * must then authorize the application for each project in which it is to act, as described
304
+ * in the Account API. Within an authorized project, the application holds exactly the
305
+ * permissions of the user and none beyond them. Members of this project must authorize the
306
+ * application in the same way as any other user.
300
307
  * @summary Create an application
301
308
  */
302
309
  export const CreateApplicationBody = CreateApplicationRequestBody;
@@ -26,5 +26,5 @@ export const CreateApplicationRequestBody = zod.strictObject({
26
26
  scopes: zod
27
27
  .array(zod.string())
28
28
  .optional()
29
- .describe("The scopes the application may request. Omitted means the defaults, `profile` and `email`; a scope not in the platform's list is refused"),
29
+ .describe("The scopes the application may request. Omitted means the defaults, `profile` and `email`; a scope not in the platform's list is refused. `profile` and `email` are granted at every sign-in, and any other scope only when the authorization request names it explicitly"),
30
30
  });
@@ -8,6 +8,42 @@ import type { Message } from "@bufbuild/protobuf";
8
8
  */
9
9
  export declare const file_leaflow_fleet_virtualdesktop_datatransfer_v1_datatransfer: GenFile;
10
10
  /**
11
+ * Windows 原生表示不能仅按格式名合并:同一格式的 aspect、index 和介质各自独立。
12
+ * 无法用标准媒体类型完整表达的可序列化表示使用下列媒体类型(参数均为 ASCII):
13
+ * application/x-leaflow-windows-format;name=<utf16hex>;aspect=<u32>;index=<i32>;medium=<kind>
14
+ * name 为格式名每个 UTF-16 单元的四位十六进制串,不含终止 NUL;接收端以名称重新
15
+ * 注册格式,不得跨机复用来源的注册号。非注册格式改用 id=<1..49151>,不得同时带 name。
16
+ * aspect、index、medium 必须显式存在,不得丢失、重复或以未知参数降级为其它格式。
17
+ * medium=bytes 为 HGLOBAL/IStream 的可序列化字节,medium=storage 为完整 Compound File
18
+ * Binary 表示,medium=emf 为 TYMED_ENHMF 的完整增强型图元文件记录,不得降为位图。
19
+ * 普通 CF_ENHMETAFILE 的内容表示使用 image/emf;其它 aspect/index 保留显式选择器。
20
+ * medium=file 为 TYMED_FILE 承载的某种格式的完整正文,不是 lpszFileName 或文件引用。
21
+ * 仅在读取该表示时打开来源本机介质,按块取得正文;空正文有效,读取失败不改用其它格式。
22
+ * 接收端按需创建独立的本机临时介质文件,文件名仅交给本机 OLE 目标,绝不跨机发送。
23
+ * 已交出的介质由自己的 STGMEDIUM/pUnkForRelease 持有,不随原声明或读取期结束提前删除;
24
+ * 最后一个介质引用释放时删除自己创建的临时文件。来源介质仍按原 STGMEDIUM 的规则释放。
25
+ * medium=metafile-picture 为 TYMED_MFPICT:先依次编码 mm、xExt、yExt 三个 i32 小端数,
26
+ * 随后是完整 WMF 记录;不得发送 METAFILEPICT 的本机结构、对齐填充或 hMF 句柄。
27
+ * medium=gdi 为 TYMED_GDI:先编码对象种类 u32 小端数,7 为位图,5 为调色板。
28
+ * 位图随后为 40 字节 BITMAPINFOHEADER、BI_BITFIELDS 所需的三个颜色掩码、声明的
29
+ * RGBQUAD 颜色表及 DWORD 对齐的完整像素行;仅使用 BI_RGB 或 BI_BITFIELDS,保留
30
+ * 有效色深和像素,biSizeImage 精确等于像素长度,不含 BMP 文件头或本机指针。
31
+ * 调色板随后为 LOGPALETTE:version=0x300、条目数两个 u16 小端数,再依次编码每个
32
+ * PALETTEENTRY 的 red、green、blue、flags 四字节,接收端创建新的本机 GDI 对象。
33
+ * FORMATETC 的非空 ptd 另以可选 device=<bytehex> 参数声明整个 DVTARGETDEVICE;
34
+ * 每字节两个十六进制字符,包含 tdSize 指定的完整描述、DEVMODE 和驱动私有尾部。
35
+ * 省略 device 表示空 ptd;长度和内部偏移必须有效,不得把畸形或重复参数降级为普通
36
+ * 注册格式。设备描述也是表示身份,枚举、读取、缓存和重建不得合并不同 device。
37
+ * 各次原生枚举交出独立、可由 COM 分配器释放的副本;不得预读正文来取得该声明。
38
+ * 设备描述仅供保留和匹配,不得据此加载来源驱动或创建来源设备,也不进入日志。
39
+ * 本机介质与以完整媒体类型名提供的原始 HGLOBAL/IStream 字节表示可同时存在;
40
+ * 两者声明同一跨机格式时优先读取原始序列化字节,不得先经过本机 GDI 编组而改变
41
+ * 像素、色表、掩码或其它记录。两种本机表示共用同一媒体类型、读取期和数据通道。
42
+ * 接收端从记录重建介质,绝不把原生句柄、指针、COM 接口或源文件路径当正文。
43
+ * CF_HDROP(id=15)、FileContents、FileGroupDescriptor、PIDL、FileName 等文件/路径格式及
44
+ * 拖放控制格式仍归 filetransfer 或拖放适配,不得用此媒体类型绕过文件引用和权限。
45
+ * 原生声明和取得流引用不能预读正文;各表示继续独立按需读取、校验和取消。
46
+ *
11
47
  * Data of one format.
12
48
  *
13
49
  * @generated from message leaflow.fleet.virtualdesktop.datatransfer.v1.DataTransferItem
@@ -193,9 +229,10 @@ export type ClipboardFormatList = Message<"leaflow.fleet.virtualdesktop.datatran
193
229
  */
194
230
  items: DataTransferItem[];
195
231
  /**
196
- * Files copied. The receiver fetches them as for any offer, with
197
- * FileTransferRequest.clipboard set, and puts verified local copies on its
198
- * clipboard; paths of the source never travel.
232
+ * 文件复制的首个独立文件操作。接收方按需取得正文,设置
233
+ * FileTransferRequest.clipboard,并仅发布本机引用,不传来源机器的路径。
234
+ * 该操作的完成、跳过或取消不结束复制声明;同一有效 sequence 的后续
235
+ * 粘贴通过 DataRequest.files 取得新的操作,不复用已结算的 transfer_id。
199
236
  *
200
237
  * @generated from field: leaflow.fleet.filetransfer.v1.FileTransferOffer file_offer = 5;
201
238
  */
@@ -946,8 +983,12 @@ export type DataRequest = Message<"leaflow.fleet.virtualdesktop.datatransfer.v1.
946
983
  case: "mimeType";
947
984
  } | {
948
985
  /**
949
- * The offer of the dragged files, of a drag that announced
950
- * files_available. Must be true.
986
+ * 必须为 true。拖放读取已声明 files_available 的来源;剪贴板读取
987
+ * 原 ClipboardFormatList.file_offer 对应的同一复制声明。
988
+ * 剪贴板每次成功读取均返回新的 transfer_id,保留原清单的 file_id、
989
+ * parent_id、元数据与来源文件版本,不重新扫描目录或换用当前的新复制。
990
+ * 读取仍检查方向权限和连接代际;复制已被替换时返回 ABORTED。
991
+ * 已接受的文件引用可独立完成;本次文件操作不能撤销其它读取或复制声明。
951
992
  *
952
993
  * @generated from field: bool files = 4;
953
994
  */
@@ -1364,7 +1405,8 @@ export type DragPolicy = Message<"leaflow.fleet.virtualdesktop.datatransfer.v1.D
1364
1405
  */
1365
1406
  allowedMimeTypes: string[];
1366
1407
  /**
1367
- * The longest a drag may last, at most 5 minutes. Unset or 0: no drags.
1408
+ * DragDrop 之前物理手势的最长时间,至多 5 分钟;未设置或 0 表示不能拖拽。
1409
+ * 已受理的原生确认、格式读取及文件交付不受旧手势时限约束,不代表放宽当前权限。
1368
1410
  *
1369
1411
  * @generated from field: google.protobuf.Duration max_duration = 4;
1370
1412
  */
package/dist/routes.d.ts CHANGED
@@ -142,6 +142,38 @@ export declare const routes: readonly [{
142
142
  readonly operationId: "revoke-ssh-key";
143
143
  readonly securityScheme: "AccessToken";
144
144
  readonly upstreamUrl: "https://account.leaflow.cloud";
145
+ }, {
146
+ readonly service: "account";
147
+ readonly contract: "account";
148
+ readonly method: "GET";
149
+ readonly path: "/account/v1/applications/{clientId}";
150
+ readonly operationId: "get-application";
151
+ readonly securityScheme: "AccessToken";
152
+ readonly upstreamUrl: "https://account.leaflow.cloud";
153
+ }, {
154
+ readonly service: "account";
155
+ readonly contract: "account";
156
+ readonly method: "GET";
157
+ readonly path: "/account/v1/me/authorized-applications";
158
+ readonly operationId: "list-authorized-applications";
159
+ readonly securityScheme: "AccessToken";
160
+ readonly upstreamUrl: "https://account.leaflow.cloud";
161
+ }, {
162
+ readonly service: "account";
163
+ readonly contract: "account";
164
+ readonly method: "POST";
165
+ readonly path: "/account/v1/me/authorized-applications";
166
+ readonly operationId: "authorize-application";
167
+ readonly securityScheme: "AccessToken";
168
+ readonly upstreamUrl: "https://account.leaflow.cloud";
169
+ }, {
170
+ readonly service: "account";
171
+ readonly contract: "account";
172
+ readonly method: "DELETE";
173
+ readonly path: "/account/v1/me/authorized-applications/{authorizationId}";
174
+ readonly operationId: "revoke-authorized-application";
175
+ readonly securityScheme: "AccessToken";
176
+ readonly upstreamUrl: "https://account.leaflow.cloud";
145
177
  }, {
146
178
  readonly service: "account";
147
179
  readonly contract: "account";
package/dist/routes.js CHANGED
@@ -162,6 +162,42 @@ export const routes = [
162
162
  securityScheme: "AccessToken",
163
163
  upstreamUrl: "https://account.leaflow.cloud",
164
164
  },
165
+ {
166
+ service: "account",
167
+ contract: "account",
168
+ method: "GET",
169
+ path: "/account/v1/applications/{clientId}",
170
+ operationId: "get-application",
171
+ securityScheme: "AccessToken",
172
+ upstreamUrl: "https://account.leaflow.cloud",
173
+ },
174
+ {
175
+ service: "account",
176
+ contract: "account",
177
+ method: "GET",
178
+ path: "/account/v1/me/authorized-applications",
179
+ operationId: "list-authorized-applications",
180
+ securityScheme: "AccessToken",
181
+ upstreamUrl: "https://account.leaflow.cloud",
182
+ },
183
+ {
184
+ service: "account",
185
+ contract: "account",
186
+ method: "POST",
187
+ path: "/account/v1/me/authorized-applications",
188
+ operationId: "authorize-application",
189
+ securityScheme: "AccessToken",
190
+ upstreamUrl: "https://account.leaflow.cloud",
191
+ },
192
+ {
193
+ service: "account",
194
+ contract: "account",
195
+ method: "DELETE",
196
+ path: "/account/v1/me/authorized-applications/{authorizationId}",
197
+ operationId: "revoke-authorized-application",
198
+ securityScheme: "AccessToken",
199
+ upstreamUrl: "https://account.leaflow.cloud",
200
+ },
165
201
  {
166
202
  service: "account",
167
203
  contract: "account",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.207.0",
3
+ "version": "0.209.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,42 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
- *
11
- * ## Conventions
12
- *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
- * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
- * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
- * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
- * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
- * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
- * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
- * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
- * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
- *
26
- * ## Resource identifiers
27
- *
28
- * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
- *
30
- * ## Error meta
31
- *
32
- * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
- * OpenAPI spec version: 2.0.0
34
- */
35
- import * as zod from "zod";
36
- export declare const rescueInstanceRequestBodyPasswordMin = 12;
37
- export declare const rescueInstanceRequestBodyPasswordMax = 128;
38
- export declare const RescueInstanceRequestBody: zod.ZodObject<{
39
- password: zod.ZodString;
40
- }, zod.z.core.$strict>;
41
- export type RescueInstanceRequestBody = zod.input<typeof RescueInstanceRequestBody>;
42
- export type RescueInstanceRequestBodyOutput = zod.output<typeof RescueInstanceRequestBody>;