@leaflow/sdk 0.0.0-dev.399.g3371eb3 → 0.0.0-dev.401.gdfcdac0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/v1/generated/functions.d.ts +29 -29
- package/dist/account/v1/generated/functions.js +36 -44
- package/dist/account/v1/generated/models.d.ts +6 -5
- package/dist/account/v1/generated/models.js +0 -4
- package/dist/account/v1/generated/schemas.zod.d.ts +2 -2
- package/dist/account/v1/generated/schemas.zod.js +6 -3
- package/dist/account/v1/generated/validators/{requestAccountDeletionRequestBody.zod.d.ts → requestAccountDeletionParams.zod.d.ts} +3 -3
- package/dist/account/v1/generated/validators/{requestAccountDeletionRequestBody.zod.js → requestAccountDeletionParams.zod.js} +2 -4
- package/dist/assistant/v1/generated/functions.js +17 -17
- package/dist/billing/v1/generated/functions.js +16 -16
- package/dist/canopy/v1/generated/functions.js +3 -3
- package/dist/compute/v1/generated/functions.js +14 -14
- package/dist/iam/v1/generated/functions.js +1 -1
- package/dist/membership/v1/generated/functions.js +4 -4
- package/dist/monitoring/v1/generated/functions.js +6 -6
- package/dist/notification/v1/generated/functions.js +12 -12
- package/dist/routes.d.ts +81 -81
- package/dist/routes.js +81 -81
- package/dist/support/v1/generated/functions.js +1 -1
- 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: "
|
|
79
|
-
path: "/account/v1/me
|
|
80
|
-
operationId: "
|
|
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: "
|
|
87
|
+
method: "GET",
|
|
88
88
|
path: "/account/v1/me/deletion",
|
|
89
|
-
operationId: "
|
|
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: "
|
|
97
|
-
path: "/account/v1/me
|
|
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
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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}
|
|
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
|
|
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}
|
|
1339
|
+
path: "/api/v1/subscriptions/{subscriptionId}:cancel",
|
|
1340
1340
|
operationId: "cancel-subscription",
|
|
1341
1341
|
securityScheme: "AccessToken",
|
|
1342
1342
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1391,7 +1391,7 @@ export const routes = [
|
|
|
1391
1391
|
service: "billing",
|
|
1392
1392
|
contract: "billing",
|
|
1393
1393
|
method: "POST",
|
|
1394
|
-
path: "/api/v1/cancellations/{cancellationId}
|
|
1394
|
+
path: "/api/v1/cancellations/{cancellationId}:withdraw",
|
|
1395
1395
|
operationId: "withdraw-cancellation",
|
|
1396
1396
|
securityScheme: "AccessToken",
|
|
1397
1397
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1409,7 +1409,7 @@ export const routes = [
|
|
|
1409
1409
|
service: "billing",
|
|
1410
1410
|
contract: "billing",
|
|
1411
1411
|
method: "POST",
|
|
1412
|
-
path: "/api/v1/subscriptions/{subscriptionId}
|
|
1412
|
+
path: "/api/v1/subscriptions/{subscriptionId}:renew",
|
|
1413
1413
|
operationId: "renew-subscription",
|
|
1414
1414
|
securityScheme: "AccessToken",
|
|
1415
1415
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1481,7 +1481,7 @@ export const routes = [
|
|
|
1481
1481
|
service: "billing",
|
|
1482
1482
|
contract: "billing",
|
|
1483
1483
|
method: "POST",
|
|
1484
|
-
path: "/api/v1/checkout-sessions/{checkoutSessionId}
|
|
1484
|
+
path: "/api/v1/checkout-sessions/{checkoutSessionId}:confirm",
|
|
1485
1485
|
operationId: "confirm-checkout-session",
|
|
1486
1486
|
securityScheme: "AccessToken",
|
|
1487
1487
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1490,7 +1490,7 @@ export const routes = [
|
|
|
1490
1490
|
service: "billing",
|
|
1491
1491
|
contract: "billing",
|
|
1492
1492
|
method: "POST",
|
|
1493
|
-
path: "/api/v1/checkout-sessions/{checkoutSessionId}
|
|
1493
|
+
path: "/api/v1/checkout-sessions/{checkoutSessionId}:expire",
|
|
1494
1494
|
operationId: "expire-checkout-session",
|
|
1495
1495
|
securityScheme: "AccessToken",
|
|
1496
1496
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1517,7 +1517,7 @@ export const routes = [
|
|
|
1517
1517
|
service: "billing",
|
|
1518
1518
|
contract: "billing",
|
|
1519
1519
|
method: "GET",
|
|
1520
|
-
path: "/api/v1/orders/{orderId}
|
|
1520
|
+
path: "/api/v1/orders/{orderId}:previewRefund",
|
|
1521
1521
|
operationId: "preview-order-refund",
|
|
1522
1522
|
securityScheme: "AccessToken",
|
|
1523
1523
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1526,7 +1526,7 @@ export const routes = [
|
|
|
1526
1526
|
service: "billing",
|
|
1527
1527
|
contract: "billing",
|
|
1528
1528
|
method: "POST",
|
|
1529
|
-
path: "/api/v1/orders/{orderId}
|
|
1529
|
+
path: "/api/v1/orders/{orderId}:cancel",
|
|
1530
1530
|
operationId: "cancel-order",
|
|
1531
1531
|
securityScheme: "AccessToken",
|
|
1532
1532
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
@@ -1814,7 +1814,7 @@ export const routes = [
|
|
|
1814
1814
|
service: "canopy",
|
|
1815
1815
|
contract: "canopy",
|
|
1816
1816
|
method: "POST",
|
|
1817
|
-
path: "/api/v1/keys/{keyId}
|
|
1817
|
+
path: "/api/v1/keys/{keyId}:disable",
|
|
1818
1818
|
operationId: "disable-api-key",
|
|
1819
1819
|
securityScheme: "ScopedToken",
|
|
1820
1820
|
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
@@ -1823,7 +1823,7 @@ export const routes = [
|
|
|
1823
1823
|
service: "canopy",
|
|
1824
1824
|
contract: "canopy",
|
|
1825
1825
|
method: "POST",
|
|
1826
|
-
path: "/api/v1/keys/{keyId}
|
|
1826
|
+
path: "/api/v1/keys/{keyId}:enable",
|
|
1827
1827
|
operationId: "enable-api-key",
|
|
1828
1828
|
securityScheme: "ScopedToken",
|
|
1829
1829
|
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
@@ -1832,7 +1832,7 @@ export const routes = [
|
|
|
1832
1832
|
service: "canopy",
|
|
1833
1833
|
contract: "canopy",
|
|
1834
1834
|
method: "POST",
|
|
1835
|
-
path: "/api/v1/keys/{keyId}
|
|
1835
|
+
path: "/api/v1/keys/{keyId}:revoke",
|
|
1836
1836
|
operationId: "revoke-api-key",
|
|
1837
1837
|
securityScheme: "ScopedToken",
|
|
1838
1838
|
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
@@ -1976,7 +1976,7 @@ export const routes = [
|
|
|
1976
1976
|
service: "compute",
|
|
1977
1977
|
contract: "compute",
|
|
1978
1978
|
method: "POST",
|
|
1979
|
-
path: "/api/v1/backups/{backupId}
|
|
1979
|
+
path: "/api/v1/backups/{backupId}:restore",
|
|
1980
1980
|
operationId: "restore-backup",
|
|
1981
1981
|
securityScheme: "ScopedToken",
|
|
1982
1982
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2120,7 +2120,7 @@ export const routes = [
|
|
|
2120
2120
|
service: "compute",
|
|
2121
2121
|
contract: "compute",
|
|
2122
2122
|
method: "POST",
|
|
2123
|
-
path: "/api/v1/disks/{diskId}
|
|
2123
|
+
path: "/api/v1/disks/{diskId}:resize",
|
|
2124
2124
|
operationId: "resize-disk",
|
|
2125
2125
|
securityScheme: "ScopedToken",
|
|
2126
2126
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2129,7 +2129,7 @@ export const routes = [
|
|
|
2129
2129
|
service: "compute",
|
|
2130
2130
|
contract: "compute",
|
|
2131
2131
|
method: "POST",
|
|
2132
|
-
path: "/api/v1/disks/{diskId}
|
|
2132
|
+
path: "/api/v1/disks/{diskId}:revert",
|
|
2133
2133
|
operationId: "revert-disk",
|
|
2134
2134
|
securityScheme: "ScopedToken",
|
|
2135
2135
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2182,8 +2182,8 @@ export const routes = [
|
|
|
2182
2182
|
{
|
|
2183
2183
|
service: "compute",
|
|
2184
2184
|
contract: "compute",
|
|
2185
|
-
method: "
|
|
2186
|
-
path: "/api/v1/floating-ips/{floatingIpId}
|
|
2185
|
+
method: "POST",
|
|
2186
|
+
path: "/api/v1/floating-ips/{floatingIpId}:bind",
|
|
2187
2187
|
operationId: "bind-floating-ip",
|
|
2188
2188
|
securityScheme: "ScopedToken",
|
|
2189
2189
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2191,8 +2191,8 @@ export const routes = [
|
|
|
2191
2191
|
{
|
|
2192
2192
|
service: "compute",
|
|
2193
2193
|
contract: "compute",
|
|
2194
|
-
method: "
|
|
2195
|
-
path: "/api/v1/floating-ips/{floatingIpId}
|
|
2194
|
+
method: "POST",
|
|
2195
|
+
path: "/api/v1/floating-ips/{floatingIpId}:unbind",
|
|
2196
2196
|
operationId: "unbind-floating-ip",
|
|
2197
2197
|
securityScheme: "ScopedToken",
|
|
2198
2198
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2300,7 +2300,7 @@ export const routes = [
|
|
|
2300
2300
|
service: "compute",
|
|
2301
2301
|
contract: "compute",
|
|
2302
2302
|
method: "POST",
|
|
2303
|
-
path: "/api/v1/instances/{instanceId}
|
|
2303
|
+
path: "/api/v1/instances/{instanceId}:reboot",
|
|
2304
2304
|
operationId: "reboot-instance",
|
|
2305
2305
|
securityScheme: "ScopedToken",
|
|
2306
2306
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2309,7 +2309,7 @@ export const routes = [
|
|
|
2309
2309
|
service: "compute",
|
|
2310
2310
|
contract: "compute",
|
|
2311
2311
|
method: "POST",
|
|
2312
|
-
path: "/api/v1/instances/{instanceId}
|
|
2312
|
+
path: "/api/v1/instances/{instanceId}:rebuild",
|
|
2313
2313
|
operationId: "rebuild-instance",
|
|
2314
2314
|
securityScheme: "ScopedToken",
|
|
2315
2315
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2318,7 +2318,7 @@ export const routes = [
|
|
|
2318
2318
|
service: "compute",
|
|
2319
2319
|
contract: "compute",
|
|
2320
2320
|
method: "POST",
|
|
2321
|
-
path: "/api/v1/instances/{instanceId}
|
|
2321
|
+
path: "/api/v1/instances/{instanceId}:resize",
|
|
2322
2322
|
operationId: "resize-instance",
|
|
2323
2323
|
securityScheme: "ScopedToken",
|
|
2324
2324
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2327,7 +2327,7 @@ export const routes = [
|
|
|
2327
2327
|
service: "compute",
|
|
2328
2328
|
contract: "compute",
|
|
2329
2329
|
method: "POST",
|
|
2330
|
-
path: "/api/v1/instances/{instanceId}
|
|
2330
|
+
path: "/api/v1/instances/{instanceId}:start",
|
|
2331
2331
|
operationId: "start-instance",
|
|
2332
2332
|
securityScheme: "ScopedToken",
|
|
2333
2333
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2336,7 +2336,7 @@ export const routes = [
|
|
|
2336
2336
|
service: "compute",
|
|
2337
2337
|
contract: "compute",
|
|
2338
2338
|
method: "POST",
|
|
2339
|
-
path: "/api/v1/instances/{instanceId}
|
|
2339
|
+
path: "/api/v1/instances/{instanceId}:stop",
|
|
2340
2340
|
operationId: "stop-instance",
|
|
2341
2341
|
securityScheme: "ScopedToken",
|
|
2342
2342
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2831,7 +2831,7 @@ export const routes = [
|
|
|
2831
2831
|
service: "compute",
|
|
2832
2832
|
contract: "compute",
|
|
2833
2833
|
method: "POST",
|
|
2834
|
-
path: "/api/v1/peerings/{peeringId}
|
|
2834
|
+
path: "/api/v1/peerings/{peeringId}:accept",
|
|
2835
2835
|
operationId: "accept-peering",
|
|
2836
2836
|
securityScheme: "ScopedToken",
|
|
2837
2837
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -2840,7 +2840,7 @@ export const routes = [
|
|
|
2840
2840
|
service: "compute",
|
|
2841
2841
|
contract: "compute",
|
|
2842
2842
|
method: "POST",
|
|
2843
|
-
path: "/api/v1/peerings/{peeringId}
|
|
2843
|
+
path: "/api/v1/peerings/{peeringId}:reject",
|
|
2844
2844
|
operationId: "reject-peering",
|
|
2845
2845
|
securityScheme: "ScopedToken",
|
|
2846
2846
|
upstreamUrl: "https://compute.leaflow.cloud",
|
|
@@ -3137,7 +3137,7 @@ export const routes = [
|
|
|
3137
3137
|
service: "iam",
|
|
3138
3138
|
contract: "iam",
|
|
3139
3139
|
method: "POST",
|
|
3140
|
-
path: "/api/v1/
|
|
3140
|
+
path: "/api/v1/project:transferOwnership",
|
|
3141
3141
|
operationId: "transfer-project-ownership",
|
|
3142
3142
|
securityScheme: "ScopedToken",
|
|
3143
3143
|
upstreamUrl: "https://iam.leaflow.cloud",
|
|
@@ -3299,7 +3299,7 @@ export const routes = [
|
|
|
3299
3299
|
service: "membership",
|
|
3300
3300
|
contract: "membership",
|
|
3301
3301
|
method: "POST",
|
|
3302
|
-
path: "/api/v1/memberships/{membershipId}
|
|
3302
|
+
path: "/api/v1/memberships/{membershipId}:upgrade",
|
|
3303
3303
|
operationId: "upgrade-membership",
|
|
3304
3304
|
securityScheme: "AccessToken",
|
|
3305
3305
|
upstreamUrl: "https://membership.leaflow.cloud",
|
|
@@ -3308,7 +3308,7 @@ export const routes = [
|
|
|
3308
3308
|
service: "membership",
|
|
3309
3309
|
contract: "membership",
|
|
3310
3310
|
method: "POST",
|
|
3311
|
-
path: "/api/v1/memberships/{membershipId}
|
|
3311
|
+
path: "/api/v1/memberships/{membershipId}:scheduleDowngrade",
|
|
3312
3312
|
operationId: "schedule-membership-downgrade",
|
|
3313
3313
|
securityScheme: "AccessToken",
|
|
3314
3314
|
upstreamUrl: "https://membership.leaflow.cloud",
|
|
@@ -3316,8 +3316,8 @@ export const routes = [
|
|
|
3316
3316
|
{
|
|
3317
3317
|
service: "membership",
|
|
3318
3318
|
contract: "membership",
|
|
3319
|
-
method: "
|
|
3320
|
-
path: "/api/v1/memberships/{membershipId}
|
|
3319
|
+
method: "POST",
|
|
3320
|
+
path: "/api/v1/memberships/{membershipId}:cancelDowngrade",
|
|
3321
3321
|
operationId: "cancel-membership-downgrade",
|
|
3322
3322
|
securityScheme: "AccessToken",
|
|
3323
3323
|
upstreamUrl: "https://membership.leaflow.cloud",
|
|
@@ -3344,7 +3344,7 @@ export const routes = [
|
|
|
3344
3344
|
service: "monitoring",
|
|
3345
3345
|
contract: "monitoring",
|
|
3346
3346
|
method: "POST",
|
|
3347
|
-
path: "/api/v1/incidents/{incidentId}
|
|
3347
|
+
path: "/api/v1/incidents/{incidentId}:acknowledge",
|
|
3348
3348
|
operationId: "acknowledge-incident",
|
|
3349
3349
|
securityScheme: "ScopedToken",
|
|
3350
3350
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3362,7 +3362,7 @@ export const routes = [
|
|
|
3362
3362
|
service: "monitoring",
|
|
3363
3363
|
contract: "monitoring",
|
|
3364
3364
|
method: "POST",
|
|
3365
|
-
path: "/api/v1/incidents/{incidentId}
|
|
3365
|
+
path: "/api/v1/incidents/{incidentId}:close",
|
|
3366
3366
|
operationId: "close-incident",
|
|
3367
3367
|
securityScheme: "ScopedToken",
|
|
3368
3368
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3389,7 +3389,7 @@ export const routes = [
|
|
|
3389
3389
|
service: "monitoring",
|
|
3390
3390
|
contract: "monitoring",
|
|
3391
3391
|
method: "POST",
|
|
3392
|
-
path: "/api/v1/incidents/{incidentId}
|
|
3392
|
+
path: "/api/v1/incidents/{incidentId}:reopen",
|
|
3393
3393
|
operationId: "reopen-incident",
|
|
3394
3394
|
securityScheme: "ScopedToken",
|
|
3395
3395
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3551,7 +3551,7 @@ export const routes = [
|
|
|
3551
3551
|
service: "monitoring",
|
|
3552
3552
|
contract: "monitoring",
|
|
3553
3553
|
method: "POST",
|
|
3554
|
-
path: "/api/v1/servers/{serverId}
|
|
3554
|
+
path: "/api/v1/servers/{serverId}:disable",
|
|
3555
3555
|
operationId: "disable-server-monitoring",
|
|
3556
3556
|
securityScheme: "ScopedToken",
|
|
3557
3557
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3848,7 +3848,7 @@ export const routes = [
|
|
|
3848
3848
|
service: "monitoring",
|
|
3849
3849
|
contract: "monitoring",
|
|
3850
3850
|
method: "POST",
|
|
3851
|
-
path: "/api/v1/status-page/maintenances/{maintenanceId}
|
|
3851
|
+
path: "/api/v1/status-page/maintenances/{maintenanceId}:cancel",
|
|
3852
3852
|
operationId: "cancel-status-page-maintenance",
|
|
3853
3853
|
securityScheme: "ScopedToken",
|
|
3854
3854
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3857,7 +3857,7 @@ export const routes = [
|
|
|
3857
3857
|
service: "monitoring",
|
|
3858
3858
|
contract: "monitoring",
|
|
3859
3859
|
method: "POST",
|
|
3860
|
-
path: "/api/v1/status-page/maintenances/{maintenanceId}
|
|
3860
|
+
path: "/api/v1/status-page/maintenances/{maintenanceId}:complete",
|
|
3861
3861
|
operationId: "complete-status-page-maintenance",
|
|
3862
3862
|
securityScheme: "ScopedToken",
|
|
3863
3863
|
upstreamUrl: "https://monitoring.leaflow.cloud",
|
|
@@ -3929,7 +3929,7 @@ export const routes = [
|
|
|
3929
3929
|
service: "notification",
|
|
3930
3930
|
contract: "notification",
|
|
3931
3931
|
method: "POST",
|
|
3932
|
-
path: "/api/v1/notifications
|
|
3932
|
+
path: "/api/v1/notifications:batchMarkRead",
|
|
3933
3933
|
operationId: "mark-notifications-read",
|
|
3934
3934
|
securityScheme: "ScopedToken",
|
|
3935
3935
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -3956,7 +3956,7 @@ export const routes = [
|
|
|
3956
3956
|
service: "notification",
|
|
3957
3957
|
contract: "notification",
|
|
3958
3958
|
method: "POST",
|
|
3959
|
-
path: "/api/v1/notifications/{notificationId}
|
|
3959
|
+
path: "/api/v1/notifications/{notificationId}:markRead",
|
|
3960
3960
|
operationId: "mark-notification-read",
|
|
3961
3961
|
securityScheme: "ScopedToken",
|
|
3962
3962
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -3964,8 +3964,8 @@ export const routes = [
|
|
|
3964
3964
|
{
|
|
3965
3965
|
service: "notification",
|
|
3966
3966
|
contract: "notification",
|
|
3967
|
-
method: "
|
|
3968
|
-
path: "/api/v1/notifications/{notificationId}
|
|
3967
|
+
method: "POST",
|
|
3968
|
+
path: "/api/v1/notifications/{notificationId}:markUnread",
|
|
3969
3969
|
operationId: "mark-notification-unread",
|
|
3970
3970
|
securityScheme: "ScopedToken",
|
|
3971
3971
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -3974,7 +3974,7 @@ export const routes = [
|
|
|
3974
3974
|
service: "notification",
|
|
3975
3975
|
contract: "notification",
|
|
3976
3976
|
method: "POST",
|
|
3977
|
-
path: "/api/v1/notifications/{notificationId}
|
|
3977
|
+
path: "/api/v1/notifications/{notificationId}:archive",
|
|
3978
3978
|
operationId: "archive-notification",
|
|
3979
3979
|
securityScheme: "ScopedToken",
|
|
3980
3980
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -3982,8 +3982,8 @@ export const routes = [
|
|
|
3982
3982
|
{
|
|
3983
3983
|
service: "notification",
|
|
3984
3984
|
contract: "notification",
|
|
3985
|
-
method: "
|
|
3986
|
-
path: "/api/v1/notifications/{notificationId}
|
|
3985
|
+
method: "POST",
|
|
3986
|
+
path: "/api/v1/notifications/{notificationId}:unarchive",
|
|
3987
3987
|
operationId: "unarchive-notification",
|
|
3988
3988
|
securityScheme: "ScopedToken",
|
|
3989
3989
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4001,7 +4001,7 @@ export const routes = [
|
|
|
4001
4001
|
service: "notification",
|
|
4002
4002
|
contract: "notification",
|
|
4003
4003
|
method: "POST",
|
|
4004
|
-
path: "/api/v1/announcements
|
|
4004
|
+
path: "/api/v1/announcements:markAllRead",
|
|
4005
4005
|
operationId: "read-all-announcements",
|
|
4006
4006
|
securityScheme: "ScopedToken",
|
|
4007
4007
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4010,7 +4010,7 @@ export const routes = [
|
|
|
4010
4010
|
service: "notification",
|
|
4011
4011
|
contract: "notification",
|
|
4012
4012
|
method: "POST",
|
|
4013
|
-
path: "/api/v1/announcements/{announcementId}
|
|
4013
|
+
path: "/api/v1/announcements/{announcementId}:markRead",
|
|
4014
4014
|
operationId: "read-announcement",
|
|
4015
4015
|
securityScheme: "ScopedToken",
|
|
4016
4016
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4064,7 +4064,7 @@ export const routes = [
|
|
|
4064
4064
|
service: "notification",
|
|
4065
4065
|
contract: "notification",
|
|
4066
4066
|
method: "POST",
|
|
4067
|
-
path: "/api/v1/preferences/email-override/code
|
|
4067
|
+
path: "/api/v1/preferences/email-override/code:confirm",
|
|
4068
4068
|
operationId: "confirm-email-override",
|
|
4069
4069
|
securityScheme: "ScopedToken",
|
|
4070
4070
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4136,7 +4136,7 @@ export const routes = [
|
|
|
4136
4136
|
service: "notification",
|
|
4137
4137
|
contract: "notification",
|
|
4138
4138
|
method: "POST",
|
|
4139
|
-
path: "/api/v1/channels/{channelId}
|
|
4139
|
+
path: "/api/v1/channels/{channelId}:verify",
|
|
4140
4140
|
operationId: "verify-user-channel",
|
|
4141
4141
|
securityScheme: "ScopedToken",
|
|
4142
4142
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4154,7 +4154,7 @@ export const routes = [
|
|
|
4154
4154
|
service: "notification",
|
|
4155
4155
|
contract: "notification",
|
|
4156
4156
|
method: "POST",
|
|
4157
|
-
path: "/api/v1/credentials/{ticketId}
|
|
4157
|
+
path: "/api/v1/credentials/{ticketId}:reveal",
|
|
4158
4158
|
operationId: "reveal-credential",
|
|
4159
4159
|
securityScheme: "ScopedToken",
|
|
4160
4160
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
@@ -4217,7 +4217,7 @@ export const routes = [
|
|
|
4217
4217
|
service: "support",
|
|
4218
4218
|
contract: "support",
|
|
4219
4219
|
method: "POST",
|
|
4220
|
-
path: "/api/v1/tickets/{ticketId}
|
|
4220
|
+
path: "/api/v1/tickets/{ticketId}:close",
|
|
4221
4221
|
operationId: "close-ticket",
|
|
4222
4222
|
securityScheme: "ScopedToken",
|
|
4223
4223
|
upstreamUrl: "https://support.leaflow.cloud",
|
|
@@ -104,7 +104,7 @@ export const getTicket = async (ticketId, options, fetchFn) => {
|
|
|
104
104
|
return { data, status: res.status, headers: res.headers };
|
|
105
105
|
};
|
|
106
106
|
export const getCloseTicketUrl = (ticketId) => {
|
|
107
|
-
return `https://support.leaflow.cloud/api/v1/tickets/${encodeURIComponent(String(ticketId))}
|
|
107
|
+
return `https://support.leaflow.cloud/api/v1/tickets/${encodeURIComponent(String(ticketId))}:close`;
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
110
|
* Closing a ticket that is already closed succeeds and changes nothing.
|