@leaflow/sdk 0.163.1 → 0.165.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 (35) hide show
  1. package/dist/account/v1/generated/functions.d.ts +29 -29
  2. package/dist/account/v1/generated/functions.js +36 -44
  3. package/dist/account/v1/generated/models.d.ts +6 -5
  4. package/dist/account/v1/generated/models.js +0 -4
  5. package/dist/account/v1/generated/schemas.zod.d.ts +2 -2
  6. package/dist/account/v1/generated/schemas.zod.js +6 -3
  7. package/dist/account/v1/generated/validators/{requestAccountDeletionRequestBody.zod.d.ts → requestAccountDeletionParams.zod.d.ts} +3 -3
  8. package/dist/account/v1/generated/validators/{requestAccountDeletionRequestBody.zod.js → requestAccountDeletionParams.zod.js} +2 -4
  9. package/dist/assistant/v1/generated/functions.js +17 -17
  10. package/dist/billing/v1/generated/functions.d.ts +3 -23
  11. package/dist/billing/v1/generated/functions.js +18 -50
  12. package/dist/billing/v1/generated/models.d.ts +51 -52
  13. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +1 -1
  14. package/dist/billing/v1/generated/validators/quote.zod.d.ts +39 -0
  15. package/dist/billing/v1/generated/validators/quote.zod.js +7 -3
  16. package/dist/billing/v1/generated/validators/{cancellationPreviewRequest.zod.d.ts → quoteCancellation.zod.d.ts} +4 -5
  17. package/dist/billing/v1/generated/validators/{cancellationPreviewRequest.zod.js → quoteCancellation.zod.js} +4 -8
  18. package/dist/billing/v1/generated/validators/{cancellationRefundPreviewItem.zod.d.ts → quoteCancellationItem.zod.d.ts} +3 -3
  19. package/dist/billing/v1/generated/validators/{cancellationRefundPreviewItem.zod.js → quoteCancellationItem.zod.js} +2 -2
  20. package/dist/billing/v1/generated/validators/{cancellationRefundPreview.zod.d.ts → quoteCancellationResult.zod.d.ts} +3 -5
  21. package/dist/billing/v1/generated/validators/{cancellationRefundPreview.zod.js → quoteCancellationResult.zod.js} +4 -9
  22. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +7 -0
  23. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +4 -2
  24. package/dist/canopy/v1/generated/functions.js +3 -3
  25. package/dist/canopy/v1/generated/models.d.ts +2 -0
  26. package/dist/canopy/v1/generated/validators/modelBilling.zod.js +1 -1
  27. package/dist/compute/v1/generated/functions.js +14 -14
  28. package/dist/iam/v1/generated/functions.js +1 -1
  29. package/dist/membership/v1/generated/functions.js +4 -4
  30. package/dist/monitoring/v1/generated/functions.js +6 -6
  31. package/dist/notification/v1/generated/functions.js +12 -12
  32. package/dist/routes.d.ts +81 -89
  33. package/dist/routes.js +81 -90
  34. package/dist/support/v1/generated/functions.js +1 -1
  35. package/package.json +1 -1
package/dist/routes.js CHANGED
@@ -49,7 +49,7 @@ export const routes = [
49
49
  service: "account",
50
50
  contract: "account",
51
51
  method: "POST",
52
- path: "/account/v1/register",
52
+ path: "/account/v1/me:register",
53
53
  operationId: "register",
54
54
  securityScheme: "AccessToken",
55
55
  upstreamUrl: "https://account.leaflow.cloud",
@@ -75,26 +75,26 @@ export const routes = [
75
75
  {
76
76
  service: "account",
77
77
  contract: "account",
78
- method: "GET",
79
- path: "/account/v1/me/deletion",
80
- operationId: "get-account-deletion",
78
+ method: "DELETE",
79
+ path: "/account/v1/me",
80
+ operationId: "request-account-deletion",
81
81
  securityScheme: "AccessToken",
82
82
  upstreamUrl: "https://account.leaflow.cloud",
83
83
  },
84
84
  {
85
85
  service: "account",
86
86
  contract: "account",
87
- method: "POST",
87
+ method: "GET",
88
88
  path: "/account/v1/me/deletion",
89
- operationId: "request-account-deletion",
89
+ operationId: "get-account-deletion",
90
90
  securityScheme: "AccessToken",
91
91
  upstreamUrl: "https://account.leaflow.cloud",
92
92
  },
93
93
  {
94
94
  service: "account",
95
95
  contract: "account",
96
- method: "DELETE",
97
- path: "/account/v1/me/deletion",
96
+ method: "POST",
97
+ path: "/account/v1/me:undelete",
98
98
  operationId: "cancel-account-deletion",
99
99
  securityScheme: "AccessToken",
100
100
  upstreamUrl: "https://account.leaflow.cloud",
@@ -139,7 +139,7 @@ export const routes = [
139
139
  service: "account",
140
140
  contract: "account",
141
141
  method: "POST",
142
- path: "/account/v1/me/invitations/accept",
142
+ path: "/account/v1/me/invitations:accept",
143
143
  operationId: "accept-invitation-by-token",
144
144
  securityScheme: "AccessToken",
145
145
  upstreamUrl: "https://account.leaflow.cloud",
@@ -148,7 +148,7 @@ export const routes = [
148
148
  service: "account",
149
149
  contract: "account",
150
150
  method: "POST",
151
- path: "/account/v1/me/invitations/{invitationId}/accept",
151
+ path: "/account/v1/me/invitations/{invitationId}:accept",
152
152
  operationId: "accept-invitation",
153
153
  securityScheme: "AccessToken",
154
154
  upstreamUrl: "https://account.leaflow.cloud",
@@ -265,7 +265,7 @@ export const routes = [
265
265
  service: "assistant",
266
266
  contract: "assistant",
267
267
  method: "POST",
268
- path: "/api/v1/threads/{thread}/interrupt",
268
+ path: "/api/v1/threads/{thread}:interrupt",
269
269
  operationId: "interrupt-thread",
270
270
  securityScheme: "ScopedToken",
271
271
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -274,7 +274,7 @@ export const routes = [
274
274
  service: "assistant",
275
275
  contract: "assistant",
276
276
  method: "POST",
277
- path: "/api/v1/threads/{thread}/resume",
277
+ path: "/api/v1/threads/{thread}:resume",
278
278
  operationId: "resume-thread",
279
279
  securityScheme: "ScopedToken",
280
280
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -283,7 +283,7 @@ export const routes = [
283
283
  service: "assistant",
284
284
  contract: "assistant",
285
285
  method: "POST",
286
- path: "/api/v1/threads/{thread}/compact",
286
+ path: "/api/v1/threads/{thread}:compact",
287
287
  operationId: "compact-thread",
288
288
  securityScheme: "ScopedToken",
289
289
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -292,7 +292,7 @@ export const routes = [
292
292
  service: "assistant",
293
293
  contract: "assistant",
294
294
  method: "POST",
295
- path: "/api/v1/threads/{thread}/revert",
295
+ path: "/api/v1/threads/{thread}:revert",
296
296
  operationId: "revert-thread",
297
297
  securityScheme: "ScopedToken",
298
298
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -301,7 +301,7 @@ export const routes = [
301
301
  service: "assistant",
302
302
  contract: "assistant",
303
303
  method: "POST",
304
- path: "/api/v1/threads/{thread}/read",
304
+ path: "/api/v1/threads/{thread}:markRead",
305
305
  operationId: "mark-thread-read",
306
306
  securityScheme: "ScopedToken",
307
307
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -355,7 +355,7 @@ export const routes = [
355
355
  service: "assistant",
356
356
  contract: "assistant",
357
357
  method: "POST",
358
- path: "/api/v1/threads/{thread}/items/{item}/answer",
358
+ path: "/api/v1/threads/{thread}/items/{item}:answer",
359
359
  operationId: "answer-question",
360
360
  securityScheme: "ScopedToken",
361
361
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -427,7 +427,7 @@ export const routes = [
427
427
  service: "assistant",
428
428
  contract: "assistant",
429
429
  method: "POST",
430
- path: "/api/v1/folders/{folder}/move",
430
+ path: "/api/v1/folders/{folder}:move",
431
431
  operationId: "move-folder",
432
432
  securityScheme: "ScopedToken",
433
433
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -490,7 +490,7 @@ export const routes = [
490
490
  service: "assistant",
491
491
  contract: "assistant",
492
492
  method: "POST",
493
- path: "/api/v1/tasks/{task}/run",
493
+ path: "/api/v1/tasks/{task}:run",
494
494
  operationId: "run-task",
495
495
  securityScheme: "ScopedToken",
496
496
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -499,7 +499,7 @@ export const routes = [
499
499
  service: "assistant",
500
500
  contract: "assistant",
501
501
  method: "POST",
502
- path: "/api/v1/tasks/{task}/pause",
502
+ path: "/api/v1/tasks/{task}:pause",
503
503
  operationId: "pause-task",
504
504
  securityScheme: "ScopedToken",
505
505
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -508,7 +508,7 @@ export const routes = [
508
508
  service: "assistant",
509
509
  contract: "assistant",
510
510
  method: "POST",
511
- path: "/api/v1/tasks/{task}/resume",
511
+ path: "/api/v1/tasks/{task}:resume",
512
512
  operationId: "resume-task",
513
513
  securityScheme: "ScopedToken",
514
514
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -517,7 +517,7 @@ export const routes = [
517
517
  service: "assistant",
518
518
  contract: "assistant",
519
519
  method: "POST",
520
- path: "/api/v1/tasks/{task}/cancel",
520
+ path: "/api/v1/tasks/{task}:cancel",
521
521
  operationId: "cancel-task-run",
522
522
  securityScheme: "ScopedToken",
523
523
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -652,7 +652,7 @@ export const routes = [
652
652
  service: "assistant",
653
653
  contract: "assistant",
654
654
  method: "POST",
655
- path: "/api/v1/uploads/{upload}/cancel",
655
+ path: "/api/v1/uploads/{upload}:cancel",
656
656
  operationId: "cancel-upload",
657
657
  securityScheme: "ScopedToken",
658
658
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -661,7 +661,7 @@ export const routes = [
661
661
  service: "assistant",
662
662
  contract: "assistant",
663
663
  method: "POST",
664
- path: "/api/v1/uploads/{upload}/complete",
664
+ path: "/api/v1/uploads/{upload}:complete",
665
665
  operationId: "complete-upload",
666
666
  securityScheme: "ScopedToken",
667
667
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -832,7 +832,7 @@ export const routes = [
832
832
  service: "assistant",
833
833
  contract: "assistant",
834
834
  method: "POST",
835
- path: "/api/v1/channels/{channel}/secret",
835
+ path: "/api/v1/channels/{channel}:rotateSecret",
836
836
  operationId: "rotate-channel-secret",
837
837
  securityScheme: "ScopedToken",
838
838
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -841,7 +841,7 @@ export const routes = [
841
841
  service: "assistant",
842
842
  contract: "assistant",
843
843
  method: "GET",
844
- path: "/api/v1/channels/{channel}/sender-check",
844
+ path: "/api/v1/channels/{channel}:checkSender",
845
845
  operationId: "check-sender",
846
846
  securityScheme: "ScopedToken",
847
847
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -877,7 +877,7 @@ export const routes = [
877
877
  service: "assistant",
878
878
  contract: "assistant",
879
879
  method: "POST",
880
- path: "/api/v1/weixin-logins/{login}/verify-code",
880
+ path: "/api/v1/weixin-logins/{login}:verifyCode",
881
881
  operationId: "submit-weixin-verify-code",
882
882
  securityScheme: "ScopedToken",
883
883
  upstreamUrl: "https://assistant.leaflow.cloud",
@@ -913,7 +913,7 @@ export const routes = [
913
913
  service: "billing",
914
914
  contract: "billing",
915
915
  method: "QUERY",
916
- path: "/api/v1/withdrawals/preview",
916
+ path: "/api/v1/withdrawals:preview",
917
917
  operationId: "preview-withdrawal",
918
918
  securityScheme: "AccessToken",
919
919
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1021,7 +1021,7 @@ export const routes = [
1021
1021
  service: "billing",
1022
1022
  contract: "billing",
1023
1023
  method: "POST",
1024
- path: "/api/v1/billing-accounts/{accountId}/suspend",
1024
+ path: "/api/v1/billing-accounts/{accountId}:suspend",
1025
1025
  operationId: "suspend-billing-account",
1026
1026
  securityScheme: "AccessToken",
1027
1027
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1030,7 +1030,7 @@ export const routes = [
1030
1030
  service: "billing",
1031
1031
  contract: "billing",
1032
1032
  method: "POST",
1033
- path: "/api/v1/billing-accounts/{accountId}/resume",
1033
+ path: "/api/v1/billing-accounts/{accountId}:resume",
1034
1034
  operationId: "resume-billing-account",
1035
1035
  securityScheme: "AccessToken",
1036
1036
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1129,7 +1129,7 @@ export const routes = [
1129
1129
  service: "billing",
1130
1130
  contract: "billing",
1131
1131
  method: "POST",
1132
- path: "/api/v1/top-ups/{topUpId}/cancel",
1132
+ path: "/api/v1/top-ups/{topUpId}:cancel",
1133
1133
  operationId: "cancel-top-up",
1134
1134
  securityScheme: "AccessToken",
1135
1135
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1174,7 +1174,7 @@ export const routes = [
1174
1174
  service: "billing",
1175
1175
  contract: "billing",
1176
1176
  method: "POST",
1177
- path: "/api/v1/invoices/{invoiceId}/pay",
1177
+ path: "/api/v1/invoices/{invoiceId}:pay",
1178
1178
  operationId: "pay-invoice",
1179
1179
  securityScheme: "AccessToken",
1180
1180
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1183,7 +1183,7 @@ export const routes = [
1183
1183
  service: "billing",
1184
1184
  contract: "billing",
1185
1185
  method: "GET",
1186
- path: "/api/v1/invoices/{invoiceId}/payment-preview",
1186
+ path: "/api/v1/invoices/{invoiceId}:previewPayment",
1187
1187
  operationId: "preview-invoice-payment",
1188
1188
  securityScheme: "AccessToken",
1189
1189
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1201,7 +1201,7 @@ export const routes = [
1201
1201
  service: "billing",
1202
1202
  contract: "billing",
1203
1203
  method: "QUERY",
1204
- path: "/api/v1/payments/preview",
1204
+ path: "/api/v1/payments:preview",
1205
1205
  operationId: "preview-pay-together",
1206
1206
  securityScheme: "AccessToken",
1207
1207
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1336,7 +1336,7 @@ export const routes = [
1336
1336
  service: "billing",
1337
1337
  contract: "billing",
1338
1338
  method: "POST",
1339
- path: "/api/v1/subscriptions/{subscriptionId}/cancel",
1339
+ path: "/api/v1/subscriptions/{subscriptionId}:cancel",
1340
1340
  operationId: "cancel-subscription",
1341
1341
  securityScheme: "AccessToken",
1342
1342
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1378,15 +1378,6 @@ export const routes = [
1378
1378
  securityScheme: "AccessToken",
1379
1379
  upstreamUrl: "https://billing.leaflow.cloud",
1380
1380
  },
1381
- {
1382
- service: "billing",
1383
- contract: "billing",
1384
- method: "QUERY",
1385
- path: "/api/v1/cancellations/preview",
1386
- operationId: "preview-cancellation",
1387
- securityScheme: "AccessToken",
1388
- upstreamUrl: "https://billing.leaflow.cloud",
1389
- },
1390
1381
  {
1391
1382
  service: "billing",
1392
1383
  contract: "billing",
@@ -1400,7 +1391,7 @@ export const routes = [
1400
1391
  service: "billing",
1401
1392
  contract: "billing",
1402
1393
  method: "POST",
1403
- path: "/api/v1/cancellations/{cancellationId}/withdraw",
1394
+ path: "/api/v1/cancellations/{cancellationId}:withdraw",
1404
1395
  operationId: "withdraw-cancellation",
1405
1396
  securityScheme: "AccessToken",
1406
1397
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1418,7 +1409,7 @@ export const routes = [
1418
1409
  service: "billing",
1419
1410
  contract: "billing",
1420
1411
  method: "POST",
1421
- path: "/api/v1/subscriptions/{subscriptionId}/renew",
1412
+ path: "/api/v1/subscriptions/{subscriptionId}:renew",
1422
1413
  operationId: "renew-subscription",
1423
1414
  securityScheme: "AccessToken",
1424
1415
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1490,7 +1481,7 @@ export const routes = [
1490
1481
  service: "billing",
1491
1482
  contract: "billing",
1492
1483
  method: "POST",
1493
- path: "/api/v1/checkout-sessions/{checkoutSessionId}/confirm",
1484
+ path: "/api/v1/checkout-sessions/{checkoutSessionId}:confirm",
1494
1485
  operationId: "confirm-checkout-session",
1495
1486
  securityScheme: "AccessToken",
1496
1487
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1499,7 +1490,7 @@ export const routes = [
1499
1490
  service: "billing",
1500
1491
  contract: "billing",
1501
1492
  method: "POST",
1502
- path: "/api/v1/checkout-sessions/{checkoutSessionId}/expire",
1493
+ path: "/api/v1/checkout-sessions/{checkoutSessionId}:expire",
1503
1494
  operationId: "expire-checkout-session",
1504
1495
  securityScheme: "AccessToken",
1505
1496
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1526,7 +1517,7 @@ export const routes = [
1526
1517
  service: "billing",
1527
1518
  contract: "billing",
1528
1519
  method: "GET",
1529
- path: "/api/v1/orders/{orderId}/refund-preview",
1520
+ path: "/api/v1/orders/{orderId}:previewRefund",
1530
1521
  operationId: "preview-order-refund",
1531
1522
  securityScheme: "AccessToken",
1532
1523
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1535,7 +1526,7 @@ export const routes = [
1535
1526
  service: "billing",
1536
1527
  contract: "billing",
1537
1528
  method: "POST",
1538
- path: "/api/v1/orders/{orderId}/cancel",
1529
+ path: "/api/v1/orders/{orderId}:cancel",
1539
1530
  operationId: "cancel-order",
1540
1531
  securityScheme: "AccessToken",
1541
1532
  upstreamUrl: "https://billing.leaflow.cloud",
@@ -1823,7 +1814,7 @@ export const routes = [
1823
1814
  service: "canopy",
1824
1815
  contract: "canopy",
1825
1816
  method: "POST",
1826
- path: "/api/v1/keys/{keyId}/disable",
1817
+ path: "/api/v1/keys/{keyId}:disable",
1827
1818
  operationId: "disable-api-key",
1828
1819
  securityScheme: "ScopedToken",
1829
1820
  upstreamUrl: "https://canopy.leaflow.cloud",
@@ -1832,7 +1823,7 @@ export const routes = [
1832
1823
  service: "canopy",
1833
1824
  contract: "canopy",
1834
1825
  method: "POST",
1835
- path: "/api/v1/keys/{keyId}/enable",
1826
+ path: "/api/v1/keys/{keyId}:enable",
1836
1827
  operationId: "enable-api-key",
1837
1828
  securityScheme: "ScopedToken",
1838
1829
  upstreamUrl: "https://canopy.leaflow.cloud",
@@ -1841,7 +1832,7 @@ export const routes = [
1841
1832
  service: "canopy",
1842
1833
  contract: "canopy",
1843
1834
  method: "POST",
1844
- path: "/api/v1/keys/{keyId}/revoke",
1835
+ path: "/api/v1/keys/{keyId}:revoke",
1845
1836
  operationId: "revoke-api-key",
1846
1837
  securityScheme: "ScopedToken",
1847
1838
  upstreamUrl: "https://canopy.leaflow.cloud",
@@ -1985,7 +1976,7 @@ export const routes = [
1985
1976
  service: "compute",
1986
1977
  contract: "compute",
1987
1978
  method: "POST",
1988
- path: "/api/v1/backups/{backupId}/restore",
1979
+ path: "/api/v1/backups/{backupId}:restore",
1989
1980
  operationId: "restore-backup",
1990
1981
  securityScheme: "ScopedToken",
1991
1982
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2129,7 +2120,7 @@ export const routes = [
2129
2120
  service: "compute",
2130
2121
  contract: "compute",
2131
2122
  method: "POST",
2132
- path: "/api/v1/disks/{diskId}/resize",
2123
+ path: "/api/v1/disks/{diskId}:resize",
2133
2124
  operationId: "resize-disk",
2134
2125
  securityScheme: "ScopedToken",
2135
2126
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2138,7 +2129,7 @@ export const routes = [
2138
2129
  service: "compute",
2139
2130
  contract: "compute",
2140
2131
  method: "POST",
2141
- path: "/api/v1/disks/{diskId}/revert",
2132
+ path: "/api/v1/disks/{diskId}:revert",
2142
2133
  operationId: "revert-disk",
2143
2134
  securityScheme: "ScopedToken",
2144
2135
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2191,8 +2182,8 @@ export const routes = [
2191
2182
  {
2192
2183
  service: "compute",
2193
2184
  contract: "compute",
2194
- method: "PUT",
2195
- path: "/api/v1/floating-ips/{floatingIpId}/binding",
2185
+ method: "POST",
2186
+ path: "/api/v1/floating-ips/{floatingIpId}:bind",
2196
2187
  operationId: "bind-floating-ip",
2197
2188
  securityScheme: "ScopedToken",
2198
2189
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2200,8 +2191,8 @@ export const routes = [
2200
2191
  {
2201
2192
  service: "compute",
2202
2193
  contract: "compute",
2203
- method: "DELETE",
2204
- path: "/api/v1/floating-ips/{floatingIpId}/binding",
2194
+ method: "POST",
2195
+ path: "/api/v1/floating-ips/{floatingIpId}:unbind",
2205
2196
  operationId: "unbind-floating-ip",
2206
2197
  securityScheme: "ScopedToken",
2207
2198
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2309,7 +2300,7 @@ export const routes = [
2309
2300
  service: "compute",
2310
2301
  contract: "compute",
2311
2302
  method: "POST",
2312
- path: "/api/v1/instances/{instanceId}/reboot",
2303
+ path: "/api/v1/instances/{instanceId}:reboot",
2313
2304
  operationId: "reboot-instance",
2314
2305
  securityScheme: "ScopedToken",
2315
2306
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2318,7 +2309,7 @@ export const routes = [
2318
2309
  service: "compute",
2319
2310
  contract: "compute",
2320
2311
  method: "POST",
2321
- path: "/api/v1/instances/{instanceId}/rebuild",
2312
+ path: "/api/v1/instances/{instanceId}:rebuild",
2322
2313
  operationId: "rebuild-instance",
2323
2314
  securityScheme: "ScopedToken",
2324
2315
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2327,7 +2318,7 @@ export const routes = [
2327
2318
  service: "compute",
2328
2319
  contract: "compute",
2329
2320
  method: "POST",
2330
- path: "/api/v1/instances/{instanceId}/resize",
2321
+ path: "/api/v1/instances/{instanceId}:resize",
2331
2322
  operationId: "resize-instance",
2332
2323
  securityScheme: "ScopedToken",
2333
2324
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2336,7 +2327,7 @@ export const routes = [
2336
2327
  service: "compute",
2337
2328
  contract: "compute",
2338
2329
  method: "POST",
2339
- path: "/api/v1/instances/{instanceId}/start",
2330
+ path: "/api/v1/instances/{instanceId}:start",
2340
2331
  operationId: "start-instance",
2341
2332
  securityScheme: "ScopedToken",
2342
2333
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2345,7 +2336,7 @@ export const routes = [
2345
2336
  service: "compute",
2346
2337
  contract: "compute",
2347
2338
  method: "POST",
2348
- path: "/api/v1/instances/{instanceId}/stop",
2339
+ path: "/api/v1/instances/{instanceId}:stop",
2349
2340
  operationId: "stop-instance",
2350
2341
  securityScheme: "ScopedToken",
2351
2342
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2840,7 +2831,7 @@ export const routes = [
2840
2831
  service: "compute",
2841
2832
  contract: "compute",
2842
2833
  method: "POST",
2843
- path: "/api/v1/peerings/{peeringId}/accept",
2834
+ path: "/api/v1/peerings/{peeringId}:accept",
2844
2835
  operationId: "accept-peering",
2845
2836
  securityScheme: "ScopedToken",
2846
2837
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -2849,7 +2840,7 @@ export const routes = [
2849
2840
  service: "compute",
2850
2841
  contract: "compute",
2851
2842
  method: "POST",
2852
- path: "/api/v1/peerings/{peeringId}/reject",
2843
+ path: "/api/v1/peerings/{peeringId}:reject",
2853
2844
  operationId: "reject-peering",
2854
2845
  securityScheme: "ScopedToken",
2855
2846
  upstreamUrl: "https://compute.leaflow.cloud",
@@ -3146,7 +3137,7 @@ export const routes = [
3146
3137
  service: "iam",
3147
3138
  contract: "iam",
3148
3139
  method: "POST",
3149
- path: "/api/v1/transfer-ownership",
3140
+ path: "/api/v1/project:transferOwnership",
3150
3141
  operationId: "transfer-project-ownership",
3151
3142
  securityScheme: "ScopedToken",
3152
3143
  upstreamUrl: "https://iam.leaflow.cloud",
@@ -3308,7 +3299,7 @@ export const routes = [
3308
3299
  service: "membership",
3309
3300
  contract: "membership",
3310
3301
  method: "POST",
3311
- path: "/api/v1/memberships/{membershipId}/upgrade",
3302
+ path: "/api/v1/memberships/{membershipId}:upgrade",
3312
3303
  operationId: "upgrade-membership",
3313
3304
  securityScheme: "AccessToken",
3314
3305
  upstreamUrl: "https://membership.leaflow.cloud",
@@ -3317,7 +3308,7 @@ export const routes = [
3317
3308
  service: "membership",
3318
3309
  contract: "membership",
3319
3310
  method: "POST",
3320
- path: "/api/v1/memberships/{membershipId}/downgrade",
3311
+ path: "/api/v1/memberships/{membershipId}:scheduleDowngrade",
3321
3312
  operationId: "schedule-membership-downgrade",
3322
3313
  securityScheme: "AccessToken",
3323
3314
  upstreamUrl: "https://membership.leaflow.cloud",
@@ -3325,8 +3316,8 @@ export const routes = [
3325
3316
  {
3326
3317
  service: "membership",
3327
3318
  contract: "membership",
3328
- method: "DELETE",
3329
- path: "/api/v1/memberships/{membershipId}/downgrade",
3319
+ method: "POST",
3320
+ path: "/api/v1/memberships/{membershipId}:cancelDowngrade",
3330
3321
  operationId: "cancel-membership-downgrade",
3331
3322
  securityScheme: "AccessToken",
3332
3323
  upstreamUrl: "https://membership.leaflow.cloud",
@@ -3353,7 +3344,7 @@ export const routes = [
3353
3344
  service: "monitoring",
3354
3345
  contract: "monitoring",
3355
3346
  method: "POST",
3356
- path: "/api/v1/incidents/{incidentId}/acknowledge",
3347
+ path: "/api/v1/incidents/{incidentId}:acknowledge",
3357
3348
  operationId: "acknowledge-incident",
3358
3349
  securityScheme: "ScopedToken",
3359
3350
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3371,7 +3362,7 @@ export const routes = [
3371
3362
  service: "monitoring",
3372
3363
  contract: "monitoring",
3373
3364
  method: "POST",
3374
- path: "/api/v1/incidents/{incidentId}/close",
3365
+ path: "/api/v1/incidents/{incidentId}:close",
3375
3366
  operationId: "close-incident",
3376
3367
  securityScheme: "ScopedToken",
3377
3368
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3398,7 +3389,7 @@ export const routes = [
3398
3389
  service: "monitoring",
3399
3390
  contract: "monitoring",
3400
3391
  method: "POST",
3401
- path: "/api/v1/incidents/{incidentId}/reopen",
3392
+ path: "/api/v1/incidents/{incidentId}:reopen",
3402
3393
  operationId: "reopen-incident",
3403
3394
  securityScheme: "ScopedToken",
3404
3395
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3560,7 +3551,7 @@ export const routes = [
3560
3551
  service: "monitoring",
3561
3552
  contract: "monitoring",
3562
3553
  method: "POST",
3563
- path: "/api/v1/servers/{serverId}/disable",
3554
+ path: "/api/v1/servers/{serverId}:disable",
3564
3555
  operationId: "disable-server-monitoring",
3565
3556
  securityScheme: "ScopedToken",
3566
3557
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3857,7 +3848,7 @@ export const routes = [
3857
3848
  service: "monitoring",
3858
3849
  contract: "monitoring",
3859
3850
  method: "POST",
3860
- path: "/api/v1/status-page/maintenances/{maintenanceId}/cancel",
3851
+ path: "/api/v1/status-page/maintenances/{maintenanceId}:cancel",
3861
3852
  operationId: "cancel-status-page-maintenance",
3862
3853
  securityScheme: "ScopedToken",
3863
3854
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3866,7 +3857,7 @@ export const routes = [
3866
3857
  service: "monitoring",
3867
3858
  contract: "monitoring",
3868
3859
  method: "POST",
3869
- path: "/api/v1/status-page/maintenances/{maintenanceId}/complete",
3860
+ path: "/api/v1/status-page/maintenances/{maintenanceId}:complete",
3870
3861
  operationId: "complete-status-page-maintenance",
3871
3862
  securityScheme: "ScopedToken",
3872
3863
  upstreamUrl: "https://monitoring.leaflow.cloud",
@@ -3938,7 +3929,7 @@ export const routes = [
3938
3929
  service: "notification",
3939
3930
  contract: "notification",
3940
3931
  method: "POST",
3941
- path: "/api/v1/notifications/read",
3932
+ path: "/api/v1/notifications:batchMarkRead",
3942
3933
  operationId: "mark-notifications-read",
3943
3934
  securityScheme: "ScopedToken",
3944
3935
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -3965,7 +3956,7 @@ export const routes = [
3965
3956
  service: "notification",
3966
3957
  contract: "notification",
3967
3958
  method: "POST",
3968
- path: "/api/v1/notifications/{notificationId}/read",
3959
+ path: "/api/v1/notifications/{notificationId}:markRead",
3969
3960
  operationId: "mark-notification-read",
3970
3961
  securityScheme: "ScopedToken",
3971
3962
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -3973,8 +3964,8 @@ export const routes = [
3973
3964
  {
3974
3965
  service: "notification",
3975
3966
  contract: "notification",
3976
- method: "DELETE",
3977
- path: "/api/v1/notifications/{notificationId}/read",
3967
+ method: "POST",
3968
+ path: "/api/v1/notifications/{notificationId}:markUnread",
3978
3969
  operationId: "mark-notification-unread",
3979
3970
  securityScheme: "ScopedToken",
3980
3971
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -3983,7 +3974,7 @@ export const routes = [
3983
3974
  service: "notification",
3984
3975
  contract: "notification",
3985
3976
  method: "POST",
3986
- path: "/api/v1/notifications/{notificationId}/archive",
3977
+ path: "/api/v1/notifications/{notificationId}:archive",
3987
3978
  operationId: "archive-notification",
3988
3979
  securityScheme: "ScopedToken",
3989
3980
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -3991,8 +3982,8 @@ export const routes = [
3991
3982
  {
3992
3983
  service: "notification",
3993
3984
  contract: "notification",
3994
- method: "DELETE",
3995
- path: "/api/v1/notifications/{notificationId}/archive",
3985
+ method: "POST",
3986
+ path: "/api/v1/notifications/{notificationId}:unarchive",
3996
3987
  operationId: "unarchive-notification",
3997
3988
  securityScheme: "ScopedToken",
3998
3989
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4010,7 +4001,7 @@ export const routes = [
4010
4001
  service: "notification",
4011
4002
  contract: "notification",
4012
4003
  method: "POST",
4013
- path: "/api/v1/announcements/read",
4004
+ path: "/api/v1/announcements:markAllRead",
4014
4005
  operationId: "read-all-announcements",
4015
4006
  securityScheme: "ScopedToken",
4016
4007
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4019,7 +4010,7 @@ export const routes = [
4019
4010
  service: "notification",
4020
4011
  contract: "notification",
4021
4012
  method: "POST",
4022
- path: "/api/v1/announcements/{announcementId}/read",
4013
+ path: "/api/v1/announcements/{announcementId}:markRead",
4023
4014
  operationId: "read-announcement",
4024
4015
  securityScheme: "ScopedToken",
4025
4016
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4073,7 +4064,7 @@ export const routes = [
4073
4064
  service: "notification",
4074
4065
  contract: "notification",
4075
4066
  method: "POST",
4076
- path: "/api/v1/preferences/email-override/code/confirm",
4067
+ path: "/api/v1/preferences/email-override/code:confirm",
4077
4068
  operationId: "confirm-email-override",
4078
4069
  securityScheme: "ScopedToken",
4079
4070
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4145,7 +4136,7 @@ export const routes = [
4145
4136
  service: "notification",
4146
4137
  contract: "notification",
4147
4138
  method: "POST",
4148
- path: "/api/v1/channels/{channelId}/verify",
4139
+ path: "/api/v1/channels/{channelId}:verify",
4149
4140
  operationId: "verify-user-channel",
4150
4141
  securityScheme: "ScopedToken",
4151
4142
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4163,7 +4154,7 @@ export const routes = [
4163
4154
  service: "notification",
4164
4155
  contract: "notification",
4165
4156
  method: "POST",
4166
- path: "/api/v1/credentials/{ticketId}/reveal",
4157
+ path: "/api/v1/credentials/{ticketId}:reveal",
4167
4158
  operationId: "reveal-credential",
4168
4159
  securityScheme: "ScopedToken",
4169
4160
  upstreamUrl: "https://notification.leaflow.cloud",
@@ -4226,7 +4217,7 @@ export const routes = [
4226
4217
  service: "support",
4227
4218
  contract: "support",
4228
4219
  method: "POST",
4229
- path: "/api/v1/tickets/{ticketId}/close",
4220
+ path: "/api/v1/tickets/{ticketId}:close",
4230
4221
  operationId: "close-ticket",
4231
4222
  securityScheme: "ScopedToken",
4232
4223
  upstreamUrl: "https://support.leaflow.cloud",