tapimo 0.4.4 → 0.5.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.
- package/dist/App.d.ts +7403 -6127
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +4 -0
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +24 -3
- package/dist/Scope.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +115 -115
- package/dist/apps/data/App.d.ts +1838 -1534
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +135 -44
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
- package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
- package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +242 -242
- package/dist/apps/data/routes/addresses.d.ts +227 -227
- package/dist/apps/data/routes/balances.d.ts +12 -12
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -126
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +55 -54
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +207 -388
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +143 -221
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +33 -33
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +58 -58
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1090 -108
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +118 -118
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +207 -207
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +71 -71
- package/dist/apps/management/routes/orgs.d.ts +12 -12
- package/dist/apps/management/routes/projects.d.ts +70 -70
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +75 -75
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +42 -4
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +9 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +130 -10
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
- package/dist/internal/FundingQuotes.js.map +1 -0
- package/dist/internal/Viem.d.ts +3 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +11 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +1 -1
- package/src/ApiKeys.test.ts +23 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.ts +6 -0
- package/src/Client.test-d.ts +20 -11
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +30 -4
- package/src/apps/data/App.test.ts +354 -0
- package/src/apps/data/App.ts +159 -52
- package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
- package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +151 -206
- package/src/apps/data/routes/funding.ts +156 -291
- package/src/apps/data/routes/indexer.test.ts +97 -1
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +21 -0
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/relay/App.test.ts +324 -4
- package/src/apps/relay/App.ts +40 -4
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.ts +2 -0
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +132 -22
- package/src/internal/Auth.ts +171 -14
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +174 -0
- package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
- package/src/internal/Viem.ts +14 -5
- package/src/internal/index.test.ts +1 -1
- package/src/internal/index.ts +1 -1
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -225
- package/src/internal/FundingRoutes.test.ts +0 -213
|
@@ -361,14 +361,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
361
361
|
} | {
|
|
362
362
|
output: {
|
|
363
363
|
error: {
|
|
364
|
-
code: "
|
|
364
|
+
code: "param_invalid";
|
|
365
365
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
366
366
|
message: string;
|
|
367
367
|
};
|
|
368
368
|
requestId: string;
|
|
369
369
|
};
|
|
370
370
|
outputFormat: "json";
|
|
371
|
-
status:
|
|
371
|
+
status: 400;
|
|
372
372
|
input: {
|
|
373
373
|
param: {
|
|
374
374
|
orgId: string;
|
|
@@ -385,14 +385,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
385
385
|
} | {
|
|
386
386
|
output: {
|
|
387
387
|
error: {
|
|
388
|
-
code: "
|
|
388
|
+
code: "organization_not_found";
|
|
389
389
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
390
390
|
message: string;
|
|
391
391
|
};
|
|
392
392
|
requestId: string;
|
|
393
393
|
};
|
|
394
394
|
outputFormat: "json";
|
|
395
|
-
status:
|
|
395
|
+
status: 404;
|
|
396
396
|
input: {
|
|
397
397
|
param: {
|
|
398
398
|
orgId: string;
|
|
@@ -628,14 +628,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
628
628
|
} | {
|
|
629
629
|
output: {
|
|
630
630
|
error: {
|
|
631
|
-
code: "
|
|
631
|
+
code: "param_invalid";
|
|
632
632
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
633
633
|
message: string;
|
|
634
634
|
};
|
|
635
635
|
requestId: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 400;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
orgId: string;
|
|
@@ -652,14 +652,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
652
652
|
} | {
|
|
653
653
|
output: {
|
|
654
654
|
error: {
|
|
655
|
-
code: "
|
|
655
|
+
code: "organization_not_found";
|
|
656
656
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
657
657
|
message: string;
|
|
658
658
|
};
|
|
659
659
|
requestId: string;
|
|
660
660
|
};
|
|
661
661
|
outputFormat: "json";
|
|
662
|
-
status:
|
|
662
|
+
status: 404;
|
|
663
663
|
input: {
|
|
664
664
|
param: {
|
|
665
665
|
orgId: string;
|
|
@@ -786,14 +786,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
786
786
|
} | {
|
|
787
787
|
output: {
|
|
788
788
|
error: {
|
|
789
|
-
code: "
|
|
789
|
+
code: "param_invalid";
|
|
790
790
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
791
791
|
message: string;
|
|
792
792
|
};
|
|
793
793
|
requestId: string;
|
|
794
794
|
};
|
|
795
795
|
outputFormat: "json";
|
|
796
|
-
status:
|
|
796
|
+
status: 400;
|
|
797
797
|
input: {
|
|
798
798
|
param: {
|
|
799
799
|
orgId: string;
|
|
@@ -802,14 +802,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
802
802
|
} | {
|
|
803
803
|
output: {
|
|
804
804
|
error: {
|
|
805
|
-
code: "
|
|
805
|
+
code: "organization_not_found";
|
|
806
806
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
807
807
|
message: string;
|
|
808
808
|
};
|
|
809
809
|
requestId: string;
|
|
810
810
|
};
|
|
811
811
|
outputFormat: "json";
|
|
812
|
-
status:
|
|
812
|
+
status: 404;
|
|
813
813
|
input: {
|
|
814
814
|
param: {
|
|
815
815
|
orgId: string;
|
|
@@ -944,14 +944,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
944
944
|
} | {
|
|
945
945
|
output: {
|
|
946
946
|
error: {
|
|
947
|
-
code: "
|
|
947
|
+
code: "body_invalid";
|
|
948
948
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
949
949
|
message: string;
|
|
950
950
|
};
|
|
951
951
|
requestId: string;
|
|
952
952
|
};
|
|
953
953
|
outputFormat: "json";
|
|
954
|
-
status:
|
|
954
|
+
status: 400;
|
|
955
955
|
input: {
|
|
956
956
|
param: {
|
|
957
957
|
orgId: string;
|
|
@@ -986,14 +986,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
986
986
|
} | {
|
|
987
987
|
output: {
|
|
988
988
|
error: {
|
|
989
|
-
code: "
|
|
989
|
+
code: "organization_not_found";
|
|
990
990
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
991
991
|
message: string;
|
|
992
992
|
};
|
|
993
993
|
requestId: string;
|
|
994
994
|
};
|
|
995
995
|
outputFormat: "json";
|
|
996
|
-
status:
|
|
996
|
+
status: 404;
|
|
997
997
|
input: {
|
|
998
998
|
param: {
|
|
999
999
|
orgId: string;
|
|
@@ -1158,14 +1158,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1158
1158
|
} | {
|
|
1159
1159
|
output: {
|
|
1160
1160
|
error: {
|
|
1161
|
-
code: "
|
|
1161
|
+
code: "param_invalid";
|
|
1162
1162
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1163
1163
|
message: string;
|
|
1164
1164
|
};
|
|
1165
1165
|
requestId: string;
|
|
1166
1166
|
};
|
|
1167
1167
|
outputFormat: "json";
|
|
1168
|
-
status:
|
|
1168
|
+
status: 400;
|
|
1169
1169
|
input: {
|
|
1170
1170
|
param: {
|
|
1171
1171
|
orgId: string;
|
|
@@ -1175,14 +1175,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1175
1175
|
} | {
|
|
1176
1176
|
output: {
|
|
1177
1177
|
error: {
|
|
1178
|
-
code: "
|
|
1178
|
+
code: "organization_not_found";
|
|
1179
1179
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1180
1180
|
message: string;
|
|
1181
1181
|
};
|
|
1182
1182
|
requestId: string;
|
|
1183
1183
|
};
|
|
1184
1184
|
outputFormat: "json";
|
|
1185
|
-
status:
|
|
1185
|
+
status: 404;
|
|
1186
1186
|
input: {
|
|
1187
1187
|
param: {
|
|
1188
1188
|
orgId: string;
|
|
@@ -1328,7 +1328,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1328
1328
|
} | {
|
|
1329
1329
|
output: {
|
|
1330
1330
|
error: {
|
|
1331
|
-
code: "
|
|
1331
|
+
code: "body_invalid";
|
|
1332
1332
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1333
1333
|
message: string;
|
|
1334
1334
|
};
|
|
@@ -1351,7 +1351,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1351
1351
|
} | {
|
|
1352
1352
|
output: {
|
|
1353
1353
|
error: {
|
|
1354
|
-
code: "
|
|
1354
|
+
code: "param_invalid";
|
|
1355
1355
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1356
1356
|
message: string;
|
|
1357
1357
|
};
|
|
@@ -1838,14 +1838,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1838
1838
|
} | {
|
|
1839
1839
|
output: {
|
|
1840
1840
|
error: {
|
|
1841
|
-
code: "
|
|
1841
|
+
code: "param_invalid";
|
|
1842
1842
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1843
1843
|
message: string;
|
|
1844
1844
|
};
|
|
1845
1845
|
requestId: string;
|
|
1846
1846
|
};
|
|
1847
1847
|
outputFormat: "json";
|
|
1848
|
-
status:
|
|
1848
|
+
status: 400;
|
|
1849
1849
|
input: {
|
|
1850
1850
|
param: {
|
|
1851
1851
|
orgId: string;
|
|
@@ -1858,14 +1858,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1858
1858
|
} | {
|
|
1859
1859
|
output: {
|
|
1860
1860
|
error: {
|
|
1861
|
-
code: "
|
|
1861
|
+
code: "organization_not_found";
|
|
1862
1862
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1863
1863
|
message: string;
|
|
1864
1864
|
};
|
|
1865
1865
|
requestId: string;
|
|
1866
1866
|
};
|
|
1867
1867
|
outputFormat: "json";
|
|
1868
|
-
status:
|
|
1868
|
+
status: 404;
|
|
1869
1869
|
input: {
|
|
1870
1870
|
param: {
|
|
1871
1871
|
orgId: string;
|
|
@@ -2347,14 +2347,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2347
2347
|
} | {
|
|
2348
2348
|
output: {
|
|
2349
2349
|
error: {
|
|
2350
|
-
code: "
|
|
2350
|
+
code: "param_invalid";
|
|
2351
2351
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2352
2352
|
message: string;
|
|
2353
2353
|
};
|
|
2354
2354
|
requestId: string;
|
|
2355
2355
|
};
|
|
2356
2356
|
outputFormat: "json";
|
|
2357
|
-
status:
|
|
2357
|
+
status: 400;
|
|
2358
2358
|
input: {
|
|
2359
2359
|
param: {
|
|
2360
2360
|
orgId: string;
|
|
@@ -2363,14 +2363,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2363
2363
|
} | {
|
|
2364
2364
|
output: {
|
|
2365
2365
|
error: {
|
|
2366
|
-
code: "
|
|
2366
|
+
code: "organization_not_found";
|
|
2367
2367
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2368
2368
|
message: string;
|
|
2369
2369
|
};
|
|
2370
2370
|
requestId: string;
|
|
2371
2371
|
};
|
|
2372
2372
|
outputFormat: "json";
|
|
2373
|
-
status:
|
|
2373
|
+
status: 404;
|
|
2374
2374
|
input: {
|
|
2375
2375
|
param: {
|
|
2376
2376
|
orgId: string;
|
|
@@ -2498,14 +2498,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2498
2498
|
} | {
|
|
2499
2499
|
output: {
|
|
2500
2500
|
error: {
|
|
2501
|
-
code: "
|
|
2501
|
+
code: "body_invalid";
|
|
2502
2502
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2503
2503
|
message: string;
|
|
2504
2504
|
};
|
|
2505
2505
|
requestId: string;
|
|
2506
2506
|
};
|
|
2507
2507
|
outputFormat: "json";
|
|
2508
|
-
status:
|
|
2508
|
+
status: 400;
|
|
2509
2509
|
input: {
|
|
2510
2510
|
param: {
|
|
2511
2511
|
orgId: string;
|
|
@@ -2538,14 +2538,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2538
2538
|
} | {
|
|
2539
2539
|
output: {
|
|
2540
2540
|
error: {
|
|
2541
|
-
code: "
|
|
2541
|
+
code: "organization_not_found";
|
|
2542
2542
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2543
2543
|
message: string;
|
|
2544
2544
|
};
|
|
2545
2545
|
requestId: string;
|
|
2546
2546
|
};
|
|
2547
2547
|
outputFormat: "json";
|
|
2548
|
-
status:
|
|
2548
|
+
status: 404;
|
|
2549
2549
|
input: {
|
|
2550
2550
|
param: {
|
|
2551
2551
|
orgId: string;
|
|
@@ -2661,14 +2661,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2661
2661
|
} | {
|
|
2662
2662
|
output: {
|
|
2663
2663
|
error: {
|
|
2664
|
-
code: "
|
|
2664
|
+
code: "param_invalid";
|
|
2665
2665
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2666
2666
|
message: string;
|
|
2667
2667
|
};
|
|
2668
2668
|
requestId: string;
|
|
2669
2669
|
};
|
|
2670
2670
|
outputFormat: "json";
|
|
2671
|
-
status:
|
|
2671
|
+
status: 400;
|
|
2672
2672
|
input: {
|
|
2673
2673
|
param: {
|
|
2674
2674
|
orgId: string;
|
|
@@ -2677,14 +2677,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2677
2677
|
} | {
|
|
2678
2678
|
output: {
|
|
2679
2679
|
error: {
|
|
2680
|
-
code: "
|
|
2680
|
+
code: "organization_not_found";
|
|
2681
2681
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2682
2682
|
message: string;
|
|
2683
2683
|
};
|
|
2684
2684
|
requestId: string;
|
|
2685
2685
|
};
|
|
2686
2686
|
outputFormat: "json";
|
|
2687
|
-
status:
|
|
2687
|
+
status: 404;
|
|
2688
2688
|
input: {
|
|
2689
2689
|
param: {
|
|
2690
2690
|
orgId: string;
|
|
@@ -2788,14 +2788,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2788
2788
|
} | {
|
|
2789
2789
|
output: {
|
|
2790
2790
|
error: {
|
|
2791
|
-
code: "
|
|
2791
|
+
code: "param_invalid";
|
|
2792
2792
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2793
2793
|
message: string;
|
|
2794
2794
|
};
|
|
2795
2795
|
requestId: string;
|
|
2796
2796
|
};
|
|
2797
2797
|
outputFormat: "json";
|
|
2798
|
-
status:
|
|
2798
|
+
status: 400;
|
|
2799
2799
|
input: {
|
|
2800
2800
|
param: {
|
|
2801
2801
|
orgId: string;
|
|
@@ -2804,14 +2804,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2804
2804
|
} | {
|
|
2805
2805
|
output: {
|
|
2806
2806
|
error: {
|
|
2807
|
-
code: "
|
|
2807
|
+
code: "organization_not_found";
|
|
2808
2808
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2809
2809
|
message: string;
|
|
2810
2810
|
};
|
|
2811
2811
|
requestId: string;
|
|
2812
2812
|
};
|
|
2813
2813
|
outputFormat: "json";
|
|
2814
|
-
status:
|
|
2814
|
+
status: 404;
|
|
2815
2815
|
input: {
|
|
2816
2816
|
param: {
|
|
2817
2817
|
orgId: string;
|
|
@@ -2942,14 +2942,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2942
2942
|
} | {
|
|
2943
2943
|
output: {
|
|
2944
2944
|
error: {
|
|
2945
|
-
code: "
|
|
2945
|
+
code: "body_invalid";
|
|
2946
2946
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2947
2947
|
message: string;
|
|
2948
2948
|
};
|
|
2949
2949
|
requestId: string;
|
|
2950
2950
|
};
|
|
2951
2951
|
outputFormat: "json";
|
|
2952
|
-
status:
|
|
2952
|
+
status: 400;
|
|
2953
2953
|
input: {
|
|
2954
2954
|
param: {
|
|
2955
2955
|
orgId: string;
|
|
@@ -2982,14 +2982,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2982
2982
|
} | {
|
|
2983
2983
|
output: {
|
|
2984
2984
|
error: {
|
|
2985
|
-
code: "
|
|
2985
|
+
code: "organization_not_found";
|
|
2986
2986
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2987
2987
|
message: string;
|
|
2988
2988
|
};
|
|
2989
2989
|
requestId: string;
|
|
2990
2990
|
};
|
|
2991
2991
|
outputFormat: "json";
|
|
2992
|
-
status:
|
|
2992
|
+
status: 404;
|
|
2993
2993
|
input: {
|
|
2994
2994
|
param: {
|
|
2995
2995
|
orgId: string;
|
|
@@ -3254,7 +3254,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3254
3254
|
} | {
|
|
3255
3255
|
output: {
|
|
3256
3256
|
error: {
|
|
3257
|
-
code: "
|
|
3257
|
+
code: "body_invalid";
|
|
3258
3258
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3259
3259
|
message: string;
|
|
3260
3260
|
};
|
|
@@ -3275,7 +3275,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3275
3275
|
} | {
|
|
3276
3276
|
output: {
|
|
3277
3277
|
error: {
|
|
3278
|
-
code: "
|
|
3278
|
+
code: "param_invalid";
|
|
3279
3279
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3280
3280
|
message: string;
|
|
3281
3281
|
};
|
|
@@ -3582,14 +3582,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3582
3582
|
} | {
|
|
3583
3583
|
output: {
|
|
3584
3584
|
error: {
|
|
3585
|
-
code: "
|
|
3585
|
+
code: "body_invalid";
|
|
3586
3586
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3587
3587
|
message: string;
|
|
3588
3588
|
};
|
|
3589
3589
|
requestId: string;
|
|
3590
3590
|
};
|
|
3591
3591
|
outputFormat: "json";
|
|
3592
|
-
status:
|
|
3592
|
+
status: 400;
|
|
3593
3593
|
input: {
|
|
3594
3594
|
param: {
|
|
3595
3595
|
orgId: string;
|
|
@@ -3624,14 +3624,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3624
3624
|
} | {
|
|
3625
3625
|
output: {
|
|
3626
3626
|
error: {
|
|
3627
|
-
code: "
|
|
3627
|
+
code: "organization_not_found";
|
|
3628
3628
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3629
3629
|
message: string;
|
|
3630
3630
|
};
|
|
3631
3631
|
requestId: string;
|
|
3632
3632
|
};
|
|
3633
3633
|
outputFormat: "json";
|
|
3634
|
-
status:
|
|
3634
|
+
status: 404;
|
|
3635
3635
|
input: {
|
|
3636
3636
|
param: {
|
|
3637
3637
|
orgId: string;
|
|
@@ -3772,14 +3772,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3772
3772
|
} | {
|
|
3773
3773
|
output: {
|
|
3774
3774
|
error: {
|
|
3775
|
-
code: "
|
|
3775
|
+
code: "param_invalid";
|
|
3776
3776
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3777
3777
|
message: string;
|
|
3778
3778
|
};
|
|
3779
3779
|
requestId: string;
|
|
3780
3780
|
};
|
|
3781
3781
|
outputFormat: "json";
|
|
3782
|
-
status:
|
|
3782
|
+
status: 400;
|
|
3783
3783
|
input: {
|
|
3784
3784
|
param: {
|
|
3785
3785
|
orgId: string;
|
|
@@ -3788,14 +3788,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3788
3788
|
} | {
|
|
3789
3789
|
output: {
|
|
3790
3790
|
error: {
|
|
3791
|
-
code: "
|
|
3791
|
+
code: "organization_not_found";
|
|
3792
3792
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3793
3793
|
message: string;
|
|
3794
3794
|
};
|
|
3795
3795
|
requestId: string;
|
|
3796
3796
|
};
|
|
3797
3797
|
outputFormat: "json";
|
|
3798
|
-
status:
|
|
3798
|
+
status: 404;
|
|
3799
3799
|
input: {
|
|
3800
3800
|
param: {
|
|
3801
3801
|
orgId: string;
|
|
@@ -3912,14 +3912,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3912
3912
|
} | {
|
|
3913
3913
|
output: {
|
|
3914
3914
|
error: {
|
|
3915
|
-
code: "
|
|
3915
|
+
code: "param_invalid";
|
|
3916
3916
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3917
3917
|
message: string;
|
|
3918
3918
|
};
|
|
3919
3919
|
requestId: string;
|
|
3920
3920
|
};
|
|
3921
3921
|
outputFormat: "json";
|
|
3922
|
-
status:
|
|
3922
|
+
status: 400;
|
|
3923
3923
|
input: {
|
|
3924
3924
|
param: {
|
|
3925
3925
|
invitationId: string;
|
|
@@ -3929,14 +3929,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3929
3929
|
} | {
|
|
3930
3930
|
output: {
|
|
3931
3931
|
error: {
|
|
3932
|
-
code: "
|
|
3932
|
+
code: "organization_not_found";
|
|
3933
3933
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3934
3934
|
message: string;
|
|
3935
3935
|
};
|
|
3936
3936
|
requestId: string;
|
|
3937
3937
|
};
|
|
3938
3938
|
outputFormat: "json";
|
|
3939
|
-
status:
|
|
3939
|
+
status: 404;
|
|
3940
3940
|
input: {
|
|
3941
3941
|
param: {
|
|
3942
3942
|
invitationId: string;
|
|
@@ -4391,14 +4391,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4391
4391
|
} | {
|
|
4392
4392
|
output: {
|
|
4393
4393
|
error: {
|
|
4394
|
-
code: "
|
|
4394
|
+
code: "param_invalid";
|
|
4395
4395
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4396
4396
|
message: string;
|
|
4397
4397
|
};
|
|
4398
4398
|
requestId: string;
|
|
4399
4399
|
};
|
|
4400
4400
|
outputFormat: "json";
|
|
4401
|
-
status:
|
|
4401
|
+
status: 400;
|
|
4402
4402
|
input: {
|
|
4403
4403
|
param: {
|
|
4404
4404
|
orgId: string;
|
|
@@ -4411,14 +4411,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4411
4411
|
} | {
|
|
4412
4412
|
output: {
|
|
4413
4413
|
error: {
|
|
4414
|
-
code: "
|
|
4414
|
+
code: "organization_not_found";
|
|
4415
4415
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4416
4416
|
message: string;
|
|
4417
4417
|
};
|
|
4418
4418
|
requestId: string;
|
|
4419
4419
|
};
|
|
4420
4420
|
outputFormat: "json";
|
|
4421
|
-
status:
|
|
4421
|
+
status: 404;
|
|
4422
4422
|
input: {
|
|
4423
4423
|
param: {
|
|
4424
4424
|
orgId: string;
|
|
@@ -4677,14 +4677,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4677
4677
|
} | {
|
|
4678
4678
|
output: {
|
|
4679
4679
|
error: {
|
|
4680
|
-
code: "
|
|
4680
|
+
code: "body_invalid";
|
|
4681
4681
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4682
4682
|
message: string;
|
|
4683
4683
|
};
|
|
4684
4684
|
requestId: string;
|
|
4685
4685
|
};
|
|
4686
4686
|
outputFormat: "json";
|
|
4687
|
-
status:
|
|
4687
|
+
status: 400;
|
|
4688
4688
|
input: {
|
|
4689
4689
|
param: {
|
|
4690
4690
|
orgId: string;
|
|
@@ -4741,14 +4741,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4741
4741
|
} | {
|
|
4742
4742
|
output: {
|
|
4743
4743
|
error: {
|
|
4744
|
-
code: "
|
|
4744
|
+
code: "organization_not_found";
|
|
4745
4745
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4746
4746
|
message: string;
|
|
4747
4747
|
};
|
|
4748
4748
|
requestId: string;
|
|
4749
4749
|
};
|
|
4750
4750
|
outputFormat: "json";
|
|
4751
|
-
status:
|
|
4751
|
+
status: 404;
|
|
4752
4752
|
input: {
|
|
4753
4753
|
param: {
|
|
4754
4754
|
orgId: string;
|
|
@@ -4772,25 +4772,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4772
4772
|
};
|
|
4773
4773
|
} | {
|
|
4774
4774
|
output: {
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
}
|
|
4780
|
-
|
|
4781
|
-
amount: string;
|
|
4782
|
-
currency: "usd";
|
|
4783
|
-
period: "month";
|
|
4784
|
-
} | undefined;
|
|
4785
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
4786
|
-
txFeeLimit?: {
|
|
4787
|
-
amount: string;
|
|
4788
|
-
currency: "usd";
|
|
4789
|
-
} | undefined;
|
|
4790
|
-
updatedAt?: string | undefined;
|
|
4775
|
+
error: {
|
|
4776
|
+
code: "billing_unconfigured";
|
|
4777
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4778
|
+
message: string;
|
|
4779
|
+
};
|
|
4780
|
+
requestId: string;
|
|
4791
4781
|
};
|
|
4792
4782
|
outputFormat: "json";
|
|
4793
|
-
status:
|
|
4783
|
+
status: 501;
|
|
4794
4784
|
input: {
|
|
4795
4785
|
param: {
|
|
4796
4786
|
orgId: string;
|
|
@@ -4814,15 +4804,25 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4814
4804
|
};
|
|
4815
4805
|
} | {
|
|
4816
4806
|
output: {
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
};
|
|
4822
|
-
|
|
4807
|
+
spend?: {
|
|
4808
|
+
amount: string;
|
|
4809
|
+
currency: "usd";
|
|
4810
|
+
period: "month";
|
|
4811
|
+
} | undefined;
|
|
4812
|
+
spendLimit?: {
|
|
4813
|
+
amount: string;
|
|
4814
|
+
currency: "usd";
|
|
4815
|
+
period: "month";
|
|
4816
|
+
} | undefined;
|
|
4817
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
4818
|
+
txFeeLimit?: {
|
|
4819
|
+
amount: string;
|
|
4820
|
+
currency: "usd";
|
|
4821
|
+
} | undefined;
|
|
4822
|
+
updatedAt?: string | undefined;
|
|
4823
4823
|
};
|
|
4824
4824
|
outputFormat: "json";
|
|
4825
|
-
status:
|
|
4825
|
+
status: 200;
|
|
4826
4826
|
input: {
|
|
4827
4827
|
param: {
|
|
4828
4828
|
orgId: string;
|
|
@@ -4971,14 +4971,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4971
4971
|
} | {
|
|
4972
4972
|
output: {
|
|
4973
4973
|
error: {
|
|
4974
|
-
code: "
|
|
4974
|
+
code: "param_invalid";
|
|
4975
4975
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4976
4976
|
message: string;
|
|
4977
4977
|
};
|
|
4978
4978
|
requestId: string;
|
|
4979
4979
|
};
|
|
4980
4980
|
outputFormat: "json";
|
|
4981
|
-
status:
|
|
4981
|
+
status: 400;
|
|
4982
4982
|
input: {
|
|
4983
4983
|
param: {
|
|
4984
4984
|
orgId: string;
|
|
@@ -4991,14 +4991,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4991
4991
|
} | {
|
|
4992
4992
|
output: {
|
|
4993
4993
|
error: {
|
|
4994
|
-
code: "
|
|
4994
|
+
code: "organization_not_found";
|
|
4995
4995
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4996
4996
|
message: string;
|
|
4997
4997
|
};
|
|
4998
4998
|
requestId: string;
|
|
4999
4999
|
};
|
|
5000
5000
|
outputFormat: "json";
|
|
5001
|
-
status:
|
|
5001
|
+
status: 404;
|
|
5002
5002
|
input: {
|
|
5003
5003
|
param: {
|
|
5004
5004
|
orgId: string;
|
|
@@ -5170,14 +5170,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5170
5170
|
} | {
|
|
5171
5171
|
output: {
|
|
5172
5172
|
error: {
|
|
5173
|
-
code: "
|
|
5173
|
+
code: "param_invalid";
|
|
5174
5174
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5175
5175
|
message: string;
|
|
5176
5176
|
};
|
|
5177
5177
|
requestId: string;
|
|
5178
5178
|
};
|
|
5179
5179
|
outputFormat: "json";
|
|
5180
|
-
status:
|
|
5180
|
+
status: 400;
|
|
5181
5181
|
input: {
|
|
5182
5182
|
param: {
|
|
5183
5183
|
orgId: string;
|
|
@@ -5190,14 +5190,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5190
5190
|
} | {
|
|
5191
5191
|
output: {
|
|
5192
5192
|
error: {
|
|
5193
|
-
code: "
|
|
5193
|
+
code: "organization_not_found";
|
|
5194
5194
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5195
5195
|
message: string;
|
|
5196
5196
|
};
|
|
5197
5197
|
requestId: string;
|
|
5198
5198
|
};
|
|
5199
5199
|
outputFormat: "json";
|
|
5200
|
-
status:
|
|
5200
|
+
status: 404;
|
|
5201
5201
|
input: {
|
|
5202
5202
|
param: {
|
|
5203
5203
|
orgId: string;
|
|
@@ -5389,14 +5389,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5389
5389
|
} | {
|
|
5390
5390
|
output: {
|
|
5391
5391
|
error: {
|
|
5392
|
-
code: "
|
|
5392
|
+
code: "param_invalid";
|
|
5393
5393
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5394
5394
|
message: string;
|
|
5395
5395
|
};
|
|
5396
5396
|
requestId: string;
|
|
5397
5397
|
};
|
|
5398
5398
|
outputFormat: "json";
|
|
5399
|
-
status:
|
|
5399
|
+
status: 400;
|
|
5400
5400
|
input: {
|
|
5401
5401
|
param: {
|
|
5402
5402
|
orgId: string;
|
|
@@ -5409,14 +5409,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5409
5409
|
} | {
|
|
5410
5410
|
output: {
|
|
5411
5411
|
error: {
|
|
5412
|
-
code: "
|
|
5412
|
+
code: "organization_not_found";
|
|
5413
5413
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5414
5414
|
message: string;
|
|
5415
5415
|
};
|
|
5416
5416
|
requestId: string;
|
|
5417
5417
|
};
|
|
5418
5418
|
outputFormat: "json";
|
|
5419
|
-
status:
|
|
5419
|
+
status: 404;
|
|
5420
5420
|
input: {
|
|
5421
5421
|
param: {
|
|
5422
5422
|
orgId: string;
|
|
@@ -5606,14 +5606,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5606
5606
|
} | {
|
|
5607
5607
|
output: {
|
|
5608
5608
|
error: {
|
|
5609
|
-
code: "
|
|
5609
|
+
code: "param_invalid";
|
|
5610
5610
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5611
5611
|
message: string;
|
|
5612
5612
|
};
|
|
5613
5613
|
requestId: string;
|
|
5614
5614
|
};
|
|
5615
5615
|
outputFormat: "json";
|
|
5616
|
-
status:
|
|
5616
|
+
status: 400;
|
|
5617
5617
|
input: {
|
|
5618
5618
|
param: {
|
|
5619
5619
|
methodId: string;
|
|
@@ -5627,14 +5627,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5627
5627
|
} | {
|
|
5628
5628
|
output: {
|
|
5629
5629
|
error: {
|
|
5630
|
-
code: "
|
|
5630
|
+
code: "organization_not_found";
|
|
5631
5631
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5632
5632
|
message: string;
|
|
5633
5633
|
};
|
|
5634
5634
|
requestId: string;
|
|
5635
5635
|
};
|
|
5636
5636
|
outputFormat: "json";
|
|
5637
|
-
status:
|
|
5637
|
+
status: 404;
|
|
5638
5638
|
input: {
|
|
5639
5639
|
param: {
|
|
5640
5640
|
methodId: string;
|
|
@@ -5788,6 +5788,988 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5788
5788
|
input: {};
|
|
5789
5789
|
};
|
|
5790
5790
|
};
|
|
5791
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
5792
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
5793
|
+
$post: {
|
|
5794
|
+
output: {
|
|
5795
|
+
error: {
|
|
5796
|
+
code: "api_key_malformed";
|
|
5797
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5798
|
+
message: string;
|
|
5799
|
+
};
|
|
5800
|
+
requestId: string;
|
|
5801
|
+
};
|
|
5802
|
+
outputFormat: "json";
|
|
5803
|
+
status: 400;
|
|
5804
|
+
input: {
|
|
5805
|
+
param: {
|
|
5806
|
+
orgId: string;
|
|
5807
|
+
};
|
|
5808
|
+
} & {
|
|
5809
|
+
json: {
|
|
5810
|
+
expiresAt?: string | null | undefined;
|
|
5811
|
+
maxUses?: number | null | undefined;
|
|
5812
|
+
name?: string | undefined;
|
|
5813
|
+
role?: "member" | undefined;
|
|
5814
|
+
};
|
|
5815
|
+
};
|
|
5816
|
+
} | {
|
|
5817
|
+
output: {
|
|
5818
|
+
error: {
|
|
5819
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5820
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5821
|
+
message: string;
|
|
5822
|
+
};
|
|
5823
|
+
requestId: string;
|
|
5824
|
+
};
|
|
5825
|
+
outputFormat: "json";
|
|
5826
|
+
status: 401;
|
|
5827
|
+
input: {
|
|
5828
|
+
param: {
|
|
5829
|
+
orgId: string;
|
|
5830
|
+
};
|
|
5831
|
+
} & {
|
|
5832
|
+
json: {
|
|
5833
|
+
expiresAt?: string | null | undefined;
|
|
5834
|
+
maxUses?: number | null | undefined;
|
|
5835
|
+
name?: string | undefined;
|
|
5836
|
+
role?: "member" | undefined;
|
|
5837
|
+
};
|
|
5838
|
+
};
|
|
5839
|
+
} | {
|
|
5840
|
+
output: {
|
|
5841
|
+
error: {
|
|
5842
|
+
code: "upstream_error";
|
|
5843
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5844
|
+
message: string;
|
|
5845
|
+
};
|
|
5846
|
+
requestId: string;
|
|
5847
|
+
};
|
|
5848
|
+
outputFormat: "json";
|
|
5849
|
+
status: 502;
|
|
5850
|
+
input: {
|
|
5851
|
+
param: {
|
|
5852
|
+
orgId: string;
|
|
5853
|
+
};
|
|
5854
|
+
} & {
|
|
5855
|
+
json: {
|
|
5856
|
+
expiresAt?: string | null | undefined;
|
|
5857
|
+
maxUses?: number | null | undefined;
|
|
5858
|
+
name?: string | undefined;
|
|
5859
|
+
role?: "member" | undefined;
|
|
5860
|
+
};
|
|
5861
|
+
};
|
|
5862
|
+
} | {
|
|
5863
|
+
output: {
|
|
5864
|
+
error: {
|
|
5865
|
+
code: "body_invalid";
|
|
5866
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5867
|
+
message: string;
|
|
5868
|
+
};
|
|
5869
|
+
requestId: string;
|
|
5870
|
+
};
|
|
5871
|
+
outputFormat: "json";
|
|
5872
|
+
status: 400;
|
|
5873
|
+
input: {
|
|
5874
|
+
param: {
|
|
5875
|
+
orgId: string;
|
|
5876
|
+
};
|
|
5877
|
+
} & {
|
|
5878
|
+
json: {
|
|
5879
|
+
expiresAt?: string | null | undefined;
|
|
5880
|
+
maxUses?: number | null | undefined;
|
|
5881
|
+
name?: string | undefined;
|
|
5882
|
+
role?: "member" | undefined;
|
|
5883
|
+
};
|
|
5884
|
+
};
|
|
5885
|
+
} | {
|
|
5886
|
+
output: {
|
|
5887
|
+
error: {
|
|
5888
|
+
code: "organization_not_found";
|
|
5889
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5890
|
+
message: string;
|
|
5891
|
+
};
|
|
5892
|
+
requestId: string;
|
|
5893
|
+
};
|
|
5894
|
+
outputFormat: "json";
|
|
5895
|
+
status: 404;
|
|
5896
|
+
input: {
|
|
5897
|
+
param: {
|
|
5898
|
+
orgId: string;
|
|
5899
|
+
};
|
|
5900
|
+
} & {
|
|
5901
|
+
json: {
|
|
5902
|
+
expiresAt?: string | null | undefined;
|
|
5903
|
+
maxUses?: number | null | undefined;
|
|
5904
|
+
name?: string | undefined;
|
|
5905
|
+
role?: "member" | undefined;
|
|
5906
|
+
};
|
|
5907
|
+
};
|
|
5908
|
+
} | {
|
|
5909
|
+
output: {
|
|
5910
|
+
error: {
|
|
5911
|
+
code: "forbidden";
|
|
5912
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5913
|
+
message: string;
|
|
5914
|
+
};
|
|
5915
|
+
requestId: string;
|
|
5916
|
+
};
|
|
5917
|
+
outputFormat: "json";
|
|
5918
|
+
status: 403;
|
|
5919
|
+
input: {
|
|
5920
|
+
param: {
|
|
5921
|
+
orgId: string;
|
|
5922
|
+
};
|
|
5923
|
+
} & {
|
|
5924
|
+
json: {
|
|
5925
|
+
expiresAt?: string | null | undefined;
|
|
5926
|
+
maxUses?: number | null | undefined;
|
|
5927
|
+
name?: string | undefined;
|
|
5928
|
+
role?: "member" | undefined;
|
|
5929
|
+
};
|
|
5930
|
+
};
|
|
5931
|
+
} | {
|
|
5932
|
+
output: {
|
|
5933
|
+
createdAt: string;
|
|
5934
|
+
createdBy: string;
|
|
5935
|
+
enabled: boolean;
|
|
5936
|
+
expiresAt: string | null;
|
|
5937
|
+
id: string;
|
|
5938
|
+
lastUsedAt: string | null;
|
|
5939
|
+
maxUses: number | null;
|
|
5940
|
+
name: string;
|
|
5941
|
+
orgId: string;
|
|
5942
|
+
role: "member";
|
|
5943
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
5944
|
+
token: string;
|
|
5945
|
+
updatedAt: string;
|
|
5946
|
+
useCount: number;
|
|
5947
|
+
};
|
|
5948
|
+
outputFormat: "json";
|
|
5949
|
+
status: 200;
|
|
5950
|
+
input: {
|
|
5951
|
+
param: {
|
|
5952
|
+
orgId: string;
|
|
5953
|
+
};
|
|
5954
|
+
} & {
|
|
5955
|
+
json: {
|
|
5956
|
+
expiresAt?: string | null | undefined;
|
|
5957
|
+
maxUses?: number | null | undefined;
|
|
5958
|
+
name?: string | undefined;
|
|
5959
|
+
role?: "member" | undefined;
|
|
5960
|
+
};
|
|
5961
|
+
};
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
} & {
|
|
5965
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
5966
|
+
$get: {
|
|
5967
|
+
output: {
|
|
5968
|
+
error: {
|
|
5969
|
+
code: "api_key_malformed";
|
|
5970
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5971
|
+
message: string;
|
|
5972
|
+
};
|
|
5973
|
+
requestId: string;
|
|
5974
|
+
};
|
|
5975
|
+
outputFormat: "json";
|
|
5976
|
+
status: 400;
|
|
5977
|
+
input: {
|
|
5978
|
+
param: {
|
|
5979
|
+
orgId: string;
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5982
|
+
} | {
|
|
5983
|
+
output: {
|
|
5984
|
+
error: {
|
|
5985
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5986
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5987
|
+
message: string;
|
|
5988
|
+
};
|
|
5989
|
+
requestId: string;
|
|
5990
|
+
};
|
|
5991
|
+
outputFormat: "json";
|
|
5992
|
+
status: 401;
|
|
5993
|
+
input: {
|
|
5994
|
+
param: {
|
|
5995
|
+
orgId: string;
|
|
5996
|
+
};
|
|
5997
|
+
};
|
|
5998
|
+
} | {
|
|
5999
|
+
output: {
|
|
6000
|
+
error: {
|
|
6001
|
+
code: "upstream_error";
|
|
6002
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6003
|
+
message: string;
|
|
6004
|
+
};
|
|
6005
|
+
requestId: string;
|
|
6006
|
+
};
|
|
6007
|
+
outputFormat: "json";
|
|
6008
|
+
status: 502;
|
|
6009
|
+
input: {
|
|
6010
|
+
param: {
|
|
6011
|
+
orgId: string;
|
|
6012
|
+
};
|
|
6013
|
+
};
|
|
6014
|
+
} | {
|
|
6015
|
+
output: {
|
|
6016
|
+
error: {
|
|
6017
|
+
code: "param_invalid";
|
|
6018
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6019
|
+
message: string;
|
|
6020
|
+
};
|
|
6021
|
+
requestId: string;
|
|
6022
|
+
};
|
|
6023
|
+
outputFormat: "json";
|
|
6024
|
+
status: 400;
|
|
6025
|
+
input: {
|
|
6026
|
+
param: {
|
|
6027
|
+
orgId: string;
|
|
6028
|
+
};
|
|
6029
|
+
};
|
|
6030
|
+
} | {
|
|
6031
|
+
output: {
|
|
6032
|
+
error: {
|
|
6033
|
+
code: "organization_not_found";
|
|
6034
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6035
|
+
message: string;
|
|
6036
|
+
};
|
|
6037
|
+
requestId: string;
|
|
6038
|
+
};
|
|
6039
|
+
outputFormat: "json";
|
|
6040
|
+
status: 404;
|
|
6041
|
+
input: {
|
|
6042
|
+
param: {
|
|
6043
|
+
orgId: string;
|
|
6044
|
+
};
|
|
6045
|
+
};
|
|
6046
|
+
} | {
|
|
6047
|
+
output: {
|
|
6048
|
+
error: {
|
|
6049
|
+
code: "forbidden";
|
|
6050
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6051
|
+
message: string;
|
|
6052
|
+
};
|
|
6053
|
+
requestId: string;
|
|
6054
|
+
};
|
|
6055
|
+
outputFormat: "json";
|
|
6056
|
+
status: 403;
|
|
6057
|
+
input: {
|
|
6058
|
+
param: {
|
|
6059
|
+
orgId: string;
|
|
6060
|
+
};
|
|
6061
|
+
};
|
|
6062
|
+
} | {
|
|
6063
|
+
output: {
|
|
6064
|
+
data: {
|
|
6065
|
+
createdAt: string;
|
|
6066
|
+
createdBy: string;
|
|
6067
|
+
enabled: boolean;
|
|
6068
|
+
expiresAt: string | null;
|
|
6069
|
+
id: string;
|
|
6070
|
+
lastUsedAt: string | null;
|
|
6071
|
+
maxUses: number | null;
|
|
6072
|
+
name: string;
|
|
6073
|
+
orgId: string;
|
|
6074
|
+
role: "member";
|
|
6075
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
6076
|
+
token: string;
|
|
6077
|
+
updatedAt: string;
|
|
6078
|
+
useCount: number;
|
|
6079
|
+
}[];
|
|
6080
|
+
};
|
|
6081
|
+
outputFormat: "json";
|
|
6082
|
+
status: 200;
|
|
6083
|
+
input: {
|
|
6084
|
+
param: {
|
|
6085
|
+
orgId: string;
|
|
6086
|
+
};
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6089
|
+
};
|
|
6090
|
+
} & {
|
|
6091
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
6092
|
+
$patch: {
|
|
6093
|
+
output: {
|
|
6094
|
+
error: {
|
|
6095
|
+
code: "api_key_malformed";
|
|
6096
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6097
|
+
message: string;
|
|
6098
|
+
};
|
|
6099
|
+
requestId: string;
|
|
6100
|
+
};
|
|
6101
|
+
outputFormat: "json";
|
|
6102
|
+
status: 400;
|
|
6103
|
+
input: {
|
|
6104
|
+
param: {
|
|
6105
|
+
inviteLinkId: string;
|
|
6106
|
+
orgId: string;
|
|
6107
|
+
};
|
|
6108
|
+
} & {
|
|
6109
|
+
json: {
|
|
6110
|
+
enabled: boolean;
|
|
6111
|
+
};
|
|
6112
|
+
};
|
|
6113
|
+
} | {
|
|
6114
|
+
output: {
|
|
6115
|
+
error: {
|
|
6116
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6117
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6118
|
+
message: string;
|
|
6119
|
+
};
|
|
6120
|
+
requestId: string;
|
|
6121
|
+
};
|
|
6122
|
+
outputFormat: "json";
|
|
6123
|
+
status: 401;
|
|
6124
|
+
input: {
|
|
6125
|
+
param: {
|
|
6126
|
+
inviteLinkId: string;
|
|
6127
|
+
orgId: string;
|
|
6128
|
+
};
|
|
6129
|
+
} & {
|
|
6130
|
+
json: {
|
|
6131
|
+
enabled: boolean;
|
|
6132
|
+
};
|
|
6133
|
+
};
|
|
6134
|
+
} | {
|
|
6135
|
+
output: {
|
|
6136
|
+
error: {
|
|
6137
|
+
code: "upstream_error";
|
|
6138
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6139
|
+
message: string;
|
|
6140
|
+
};
|
|
6141
|
+
requestId: string;
|
|
6142
|
+
};
|
|
6143
|
+
outputFormat: "json";
|
|
6144
|
+
status: 502;
|
|
6145
|
+
input: {
|
|
6146
|
+
param: {
|
|
6147
|
+
inviteLinkId: string;
|
|
6148
|
+
orgId: string;
|
|
6149
|
+
};
|
|
6150
|
+
} & {
|
|
6151
|
+
json: {
|
|
6152
|
+
enabled: boolean;
|
|
6153
|
+
};
|
|
6154
|
+
};
|
|
6155
|
+
} | {
|
|
6156
|
+
output: {
|
|
6157
|
+
error: {
|
|
6158
|
+
code: "body_invalid";
|
|
6159
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6160
|
+
message: string;
|
|
6161
|
+
};
|
|
6162
|
+
requestId: string;
|
|
6163
|
+
};
|
|
6164
|
+
outputFormat: "json";
|
|
6165
|
+
status: 400;
|
|
6166
|
+
input: {
|
|
6167
|
+
param: {
|
|
6168
|
+
inviteLinkId: string;
|
|
6169
|
+
orgId: string;
|
|
6170
|
+
};
|
|
6171
|
+
} & {
|
|
6172
|
+
json: {
|
|
6173
|
+
enabled: boolean;
|
|
6174
|
+
};
|
|
6175
|
+
};
|
|
6176
|
+
} | {
|
|
6177
|
+
output: {
|
|
6178
|
+
error: {
|
|
6179
|
+
code: "organization_not_found";
|
|
6180
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6181
|
+
message: string;
|
|
6182
|
+
};
|
|
6183
|
+
requestId: string;
|
|
6184
|
+
};
|
|
6185
|
+
outputFormat: "json";
|
|
6186
|
+
status: 404;
|
|
6187
|
+
input: {
|
|
6188
|
+
param: {
|
|
6189
|
+
inviteLinkId: string;
|
|
6190
|
+
orgId: string;
|
|
6191
|
+
};
|
|
6192
|
+
} & {
|
|
6193
|
+
json: {
|
|
6194
|
+
enabled: boolean;
|
|
6195
|
+
};
|
|
6196
|
+
};
|
|
6197
|
+
} | {
|
|
6198
|
+
output: {
|
|
6199
|
+
error: {
|
|
6200
|
+
code: "forbidden";
|
|
6201
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6202
|
+
message: string;
|
|
6203
|
+
};
|
|
6204
|
+
requestId: string;
|
|
6205
|
+
};
|
|
6206
|
+
outputFormat: "json";
|
|
6207
|
+
status: 403;
|
|
6208
|
+
input: {
|
|
6209
|
+
param: {
|
|
6210
|
+
inviteLinkId: string;
|
|
6211
|
+
orgId: string;
|
|
6212
|
+
};
|
|
6213
|
+
} & {
|
|
6214
|
+
json: {
|
|
6215
|
+
enabled: boolean;
|
|
6216
|
+
};
|
|
6217
|
+
};
|
|
6218
|
+
} | {
|
|
6219
|
+
output: {
|
|
6220
|
+
createdAt: string;
|
|
6221
|
+
createdBy: string;
|
|
6222
|
+
enabled: boolean;
|
|
6223
|
+
expiresAt: string | null;
|
|
6224
|
+
id: string;
|
|
6225
|
+
lastUsedAt: string | null;
|
|
6226
|
+
maxUses: number | null;
|
|
6227
|
+
name: string;
|
|
6228
|
+
orgId: string;
|
|
6229
|
+
role: "member";
|
|
6230
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
6231
|
+
token: string;
|
|
6232
|
+
updatedAt: string;
|
|
6233
|
+
useCount: number;
|
|
6234
|
+
};
|
|
6235
|
+
outputFormat: "json";
|
|
6236
|
+
status: 200;
|
|
6237
|
+
input: {
|
|
6238
|
+
param: {
|
|
6239
|
+
inviteLinkId: string;
|
|
6240
|
+
orgId: string;
|
|
6241
|
+
};
|
|
6242
|
+
} & {
|
|
6243
|
+
json: {
|
|
6244
|
+
enabled: boolean;
|
|
6245
|
+
};
|
|
6246
|
+
};
|
|
6247
|
+
} | {
|
|
6248
|
+
output: {
|
|
6249
|
+
error: {
|
|
6250
|
+
code: "invite_link_not_found";
|
|
6251
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6252
|
+
message: string;
|
|
6253
|
+
};
|
|
6254
|
+
requestId: string;
|
|
6255
|
+
};
|
|
6256
|
+
outputFormat: "json";
|
|
6257
|
+
status: 404;
|
|
6258
|
+
input: {
|
|
6259
|
+
param: {
|
|
6260
|
+
inviteLinkId: string;
|
|
6261
|
+
orgId: string;
|
|
6262
|
+
};
|
|
6263
|
+
} & {
|
|
6264
|
+
json: {
|
|
6265
|
+
enabled: boolean;
|
|
6266
|
+
};
|
|
6267
|
+
};
|
|
6268
|
+
};
|
|
6269
|
+
};
|
|
6270
|
+
} & {
|
|
6271
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
6272
|
+
$delete: {
|
|
6273
|
+
output: {
|
|
6274
|
+
error: {
|
|
6275
|
+
code: "api_key_malformed";
|
|
6276
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6277
|
+
message: string;
|
|
6278
|
+
};
|
|
6279
|
+
requestId: string;
|
|
6280
|
+
};
|
|
6281
|
+
outputFormat: "json";
|
|
6282
|
+
status: 400;
|
|
6283
|
+
input: {
|
|
6284
|
+
param: {
|
|
6285
|
+
inviteLinkId: string;
|
|
6286
|
+
orgId: string;
|
|
6287
|
+
};
|
|
6288
|
+
};
|
|
6289
|
+
} | {
|
|
6290
|
+
output: {
|
|
6291
|
+
error: {
|
|
6292
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6293
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6294
|
+
message: string;
|
|
6295
|
+
};
|
|
6296
|
+
requestId: string;
|
|
6297
|
+
};
|
|
6298
|
+
outputFormat: "json";
|
|
6299
|
+
status: 401;
|
|
6300
|
+
input: {
|
|
6301
|
+
param: {
|
|
6302
|
+
inviteLinkId: string;
|
|
6303
|
+
orgId: string;
|
|
6304
|
+
};
|
|
6305
|
+
};
|
|
6306
|
+
} | {
|
|
6307
|
+
output: {
|
|
6308
|
+
error: {
|
|
6309
|
+
code: "upstream_error";
|
|
6310
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6311
|
+
message: string;
|
|
6312
|
+
};
|
|
6313
|
+
requestId: string;
|
|
6314
|
+
};
|
|
6315
|
+
outputFormat: "json";
|
|
6316
|
+
status: 502;
|
|
6317
|
+
input: {
|
|
6318
|
+
param: {
|
|
6319
|
+
inviteLinkId: string;
|
|
6320
|
+
orgId: string;
|
|
6321
|
+
};
|
|
6322
|
+
};
|
|
6323
|
+
} | {
|
|
6324
|
+
output: {
|
|
6325
|
+
error: {
|
|
6326
|
+
code: "param_invalid";
|
|
6327
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6328
|
+
message: string;
|
|
6329
|
+
};
|
|
6330
|
+
requestId: string;
|
|
6331
|
+
};
|
|
6332
|
+
outputFormat: "json";
|
|
6333
|
+
status: 400;
|
|
6334
|
+
input: {
|
|
6335
|
+
param: {
|
|
6336
|
+
inviteLinkId: string;
|
|
6337
|
+
orgId: string;
|
|
6338
|
+
};
|
|
6339
|
+
};
|
|
6340
|
+
} | {
|
|
6341
|
+
output: {
|
|
6342
|
+
error: {
|
|
6343
|
+
code: "organization_not_found";
|
|
6344
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6345
|
+
message: string;
|
|
6346
|
+
};
|
|
6347
|
+
requestId: string;
|
|
6348
|
+
};
|
|
6349
|
+
outputFormat: "json";
|
|
6350
|
+
status: 404;
|
|
6351
|
+
input: {
|
|
6352
|
+
param: {
|
|
6353
|
+
inviteLinkId: string;
|
|
6354
|
+
orgId: string;
|
|
6355
|
+
};
|
|
6356
|
+
};
|
|
6357
|
+
} | {
|
|
6358
|
+
output: {
|
|
6359
|
+
error: {
|
|
6360
|
+
code: "forbidden";
|
|
6361
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6362
|
+
message: string;
|
|
6363
|
+
};
|
|
6364
|
+
requestId: string;
|
|
6365
|
+
};
|
|
6366
|
+
outputFormat: "json";
|
|
6367
|
+
status: 403;
|
|
6368
|
+
input: {
|
|
6369
|
+
param: {
|
|
6370
|
+
inviteLinkId: string;
|
|
6371
|
+
orgId: string;
|
|
6372
|
+
};
|
|
6373
|
+
};
|
|
6374
|
+
} | {
|
|
6375
|
+
output: {
|
|
6376
|
+
error: {
|
|
6377
|
+
code: "invite_link_not_found";
|
|
6378
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6379
|
+
message: string;
|
|
6380
|
+
};
|
|
6381
|
+
requestId: string;
|
|
6382
|
+
};
|
|
6383
|
+
outputFormat: "json";
|
|
6384
|
+
status: 404;
|
|
6385
|
+
input: {
|
|
6386
|
+
param: {
|
|
6387
|
+
inviteLinkId: string;
|
|
6388
|
+
orgId: string;
|
|
6389
|
+
};
|
|
6390
|
+
};
|
|
6391
|
+
} | {
|
|
6392
|
+
output: {
|
|
6393
|
+
id: string;
|
|
6394
|
+
};
|
|
6395
|
+
outputFormat: "json";
|
|
6396
|
+
status: 200;
|
|
6397
|
+
input: {
|
|
6398
|
+
param: {
|
|
6399
|
+
inviteLinkId: string;
|
|
6400
|
+
orgId: string;
|
|
6401
|
+
};
|
|
6402
|
+
};
|
|
6403
|
+
};
|
|
6404
|
+
};
|
|
6405
|
+
} & {
|
|
6406
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
6407
|
+
$get: {
|
|
6408
|
+
output: {
|
|
6409
|
+
error: {
|
|
6410
|
+
code: "api_key_malformed";
|
|
6411
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6412
|
+
message: string;
|
|
6413
|
+
};
|
|
6414
|
+
requestId: string;
|
|
6415
|
+
};
|
|
6416
|
+
outputFormat: "json";
|
|
6417
|
+
status: 400;
|
|
6418
|
+
input: {
|
|
6419
|
+
param: {
|
|
6420
|
+
inviteLinkId: string;
|
|
6421
|
+
orgId: string;
|
|
6422
|
+
};
|
|
6423
|
+
};
|
|
6424
|
+
} | {
|
|
6425
|
+
output: {
|
|
6426
|
+
error: {
|
|
6427
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6428
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6429
|
+
message: string;
|
|
6430
|
+
};
|
|
6431
|
+
requestId: string;
|
|
6432
|
+
};
|
|
6433
|
+
outputFormat: "json";
|
|
6434
|
+
status: 401;
|
|
6435
|
+
input: {
|
|
6436
|
+
param: {
|
|
6437
|
+
inviteLinkId: string;
|
|
6438
|
+
orgId: string;
|
|
6439
|
+
};
|
|
6440
|
+
};
|
|
6441
|
+
} | {
|
|
6442
|
+
output: {
|
|
6443
|
+
error: {
|
|
6444
|
+
code: "upstream_error";
|
|
6445
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6446
|
+
message: string;
|
|
6447
|
+
};
|
|
6448
|
+
requestId: string;
|
|
6449
|
+
};
|
|
6450
|
+
outputFormat: "json";
|
|
6451
|
+
status: 502;
|
|
6452
|
+
input: {
|
|
6453
|
+
param: {
|
|
6454
|
+
inviteLinkId: string;
|
|
6455
|
+
orgId: string;
|
|
6456
|
+
};
|
|
6457
|
+
};
|
|
6458
|
+
} | {
|
|
6459
|
+
output: {
|
|
6460
|
+
error: {
|
|
6461
|
+
code: "param_invalid";
|
|
6462
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6463
|
+
message: string;
|
|
6464
|
+
};
|
|
6465
|
+
requestId: string;
|
|
6466
|
+
};
|
|
6467
|
+
outputFormat: "json";
|
|
6468
|
+
status: 400;
|
|
6469
|
+
input: {
|
|
6470
|
+
param: {
|
|
6471
|
+
inviteLinkId: string;
|
|
6472
|
+
orgId: string;
|
|
6473
|
+
};
|
|
6474
|
+
};
|
|
6475
|
+
} | {
|
|
6476
|
+
output: {
|
|
6477
|
+
error: {
|
|
6478
|
+
code: "organization_not_found";
|
|
6479
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6480
|
+
message: string;
|
|
6481
|
+
};
|
|
6482
|
+
requestId: string;
|
|
6483
|
+
};
|
|
6484
|
+
outputFormat: "json";
|
|
6485
|
+
status: 404;
|
|
6486
|
+
input: {
|
|
6487
|
+
param: {
|
|
6488
|
+
inviteLinkId: string;
|
|
6489
|
+
orgId: string;
|
|
6490
|
+
};
|
|
6491
|
+
};
|
|
6492
|
+
} | {
|
|
6493
|
+
output: {
|
|
6494
|
+
error: {
|
|
6495
|
+
code: "forbidden";
|
|
6496
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6497
|
+
message: string;
|
|
6498
|
+
};
|
|
6499
|
+
requestId: string;
|
|
6500
|
+
};
|
|
6501
|
+
outputFormat: "json";
|
|
6502
|
+
status: 403;
|
|
6503
|
+
input: {
|
|
6504
|
+
param: {
|
|
6505
|
+
inviteLinkId: string;
|
|
6506
|
+
orgId: string;
|
|
6507
|
+
};
|
|
6508
|
+
};
|
|
6509
|
+
} | {
|
|
6510
|
+
output: {
|
|
6511
|
+
error: {
|
|
6512
|
+
code: "invite_link_not_found";
|
|
6513
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6514
|
+
message: string;
|
|
6515
|
+
};
|
|
6516
|
+
requestId: string;
|
|
6517
|
+
};
|
|
6518
|
+
outputFormat: "json";
|
|
6519
|
+
status: 404;
|
|
6520
|
+
input: {
|
|
6521
|
+
param: {
|
|
6522
|
+
inviteLinkId: string;
|
|
6523
|
+
orgId: string;
|
|
6524
|
+
};
|
|
6525
|
+
};
|
|
6526
|
+
} | {
|
|
6527
|
+
output: {
|
|
6528
|
+
data: {
|
|
6529
|
+
createdAt: string;
|
|
6530
|
+
email: string;
|
|
6531
|
+
id: string;
|
|
6532
|
+
inviteLinkId: string;
|
|
6533
|
+
inviteLinkName: string;
|
|
6534
|
+
orgId: string;
|
|
6535
|
+
userId: string;
|
|
6536
|
+
}[];
|
|
6537
|
+
};
|
|
6538
|
+
outputFormat: "json";
|
|
6539
|
+
status: 200;
|
|
6540
|
+
input: {
|
|
6541
|
+
param: {
|
|
6542
|
+
inviteLinkId: string;
|
|
6543
|
+
orgId: string;
|
|
6544
|
+
};
|
|
6545
|
+
};
|
|
6546
|
+
};
|
|
6547
|
+
};
|
|
6548
|
+
} & {
|
|
6549
|
+
"/v1/invite-links/resolve": {
|
|
6550
|
+
$post: {
|
|
6551
|
+
output: {
|
|
6552
|
+
error: {
|
|
6553
|
+
code: "api_key_malformed";
|
|
6554
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6555
|
+
message: string;
|
|
6556
|
+
};
|
|
6557
|
+
requestId: string;
|
|
6558
|
+
};
|
|
6559
|
+
outputFormat: "json";
|
|
6560
|
+
status: 400;
|
|
6561
|
+
input: {
|
|
6562
|
+
json: {
|
|
6563
|
+
token: string;
|
|
6564
|
+
};
|
|
6565
|
+
};
|
|
6566
|
+
} | {
|
|
6567
|
+
output: {
|
|
6568
|
+
error: {
|
|
6569
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6570
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6571
|
+
message: string;
|
|
6572
|
+
};
|
|
6573
|
+
requestId: string;
|
|
6574
|
+
};
|
|
6575
|
+
outputFormat: "json";
|
|
6576
|
+
status: 401;
|
|
6577
|
+
input: {
|
|
6578
|
+
json: {
|
|
6579
|
+
token: string;
|
|
6580
|
+
};
|
|
6581
|
+
};
|
|
6582
|
+
} | {
|
|
6583
|
+
output: {
|
|
6584
|
+
error: {
|
|
6585
|
+
code: "upstream_error";
|
|
6586
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6587
|
+
message: string;
|
|
6588
|
+
};
|
|
6589
|
+
requestId: string;
|
|
6590
|
+
};
|
|
6591
|
+
outputFormat: "json";
|
|
6592
|
+
status: 502;
|
|
6593
|
+
input: {
|
|
6594
|
+
json: {
|
|
6595
|
+
token: string;
|
|
6596
|
+
};
|
|
6597
|
+
};
|
|
6598
|
+
} | {
|
|
6599
|
+
output: {
|
|
6600
|
+
error: {
|
|
6601
|
+
code: "body_invalid";
|
|
6602
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6603
|
+
message: string;
|
|
6604
|
+
};
|
|
6605
|
+
requestId: string;
|
|
6606
|
+
};
|
|
6607
|
+
outputFormat: "json";
|
|
6608
|
+
status: 400;
|
|
6609
|
+
input: {
|
|
6610
|
+
json: {
|
|
6611
|
+
token: string;
|
|
6612
|
+
};
|
|
6613
|
+
};
|
|
6614
|
+
} | {
|
|
6615
|
+
output: {
|
|
6616
|
+
error: {
|
|
6617
|
+
code: "forbidden";
|
|
6618
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6619
|
+
message: string;
|
|
6620
|
+
};
|
|
6621
|
+
requestId: string;
|
|
6622
|
+
};
|
|
6623
|
+
outputFormat: "json";
|
|
6624
|
+
status: 403;
|
|
6625
|
+
input: {
|
|
6626
|
+
json: {
|
|
6627
|
+
token: string;
|
|
6628
|
+
};
|
|
6629
|
+
};
|
|
6630
|
+
} | {
|
|
6631
|
+
output: {
|
|
6632
|
+
error: {
|
|
6633
|
+
code: "invite_link_not_found";
|
|
6634
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6635
|
+
message: string;
|
|
6636
|
+
};
|
|
6637
|
+
requestId: string;
|
|
6638
|
+
};
|
|
6639
|
+
outputFormat: "json";
|
|
6640
|
+
status: 404;
|
|
6641
|
+
input: {
|
|
6642
|
+
json: {
|
|
6643
|
+
token: string;
|
|
6644
|
+
};
|
|
6645
|
+
};
|
|
6646
|
+
} | {
|
|
6647
|
+
output: {
|
|
6648
|
+
orgName: string;
|
|
6649
|
+
role: "member";
|
|
6650
|
+
};
|
|
6651
|
+
outputFormat: "json";
|
|
6652
|
+
status: 200;
|
|
6653
|
+
input: {
|
|
6654
|
+
json: {
|
|
6655
|
+
token: string;
|
|
6656
|
+
};
|
|
6657
|
+
};
|
|
6658
|
+
};
|
|
6659
|
+
};
|
|
6660
|
+
} & {
|
|
6661
|
+
"/v1/invite-links/accept": {
|
|
6662
|
+
$post: {
|
|
6663
|
+
output: {
|
|
6664
|
+
error: {
|
|
6665
|
+
code: "api_key_malformed";
|
|
6666
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6667
|
+
message: string;
|
|
6668
|
+
};
|
|
6669
|
+
requestId: string;
|
|
6670
|
+
};
|
|
6671
|
+
outputFormat: "json";
|
|
6672
|
+
status: 400;
|
|
6673
|
+
input: {
|
|
6674
|
+
json: {
|
|
6675
|
+
token: string;
|
|
6676
|
+
};
|
|
6677
|
+
};
|
|
6678
|
+
} | {
|
|
6679
|
+
output: {
|
|
6680
|
+
error: {
|
|
6681
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6682
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6683
|
+
message: string;
|
|
6684
|
+
};
|
|
6685
|
+
requestId: string;
|
|
6686
|
+
};
|
|
6687
|
+
outputFormat: "json";
|
|
6688
|
+
status: 401;
|
|
6689
|
+
input: {
|
|
6690
|
+
json: {
|
|
6691
|
+
token: string;
|
|
6692
|
+
};
|
|
6693
|
+
};
|
|
6694
|
+
} | {
|
|
6695
|
+
output: {
|
|
6696
|
+
error: {
|
|
6697
|
+
code: "upstream_error";
|
|
6698
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6699
|
+
message: string;
|
|
6700
|
+
};
|
|
6701
|
+
requestId: string;
|
|
6702
|
+
};
|
|
6703
|
+
outputFormat: "json";
|
|
6704
|
+
status: 502;
|
|
6705
|
+
input: {
|
|
6706
|
+
json: {
|
|
6707
|
+
token: string;
|
|
6708
|
+
};
|
|
6709
|
+
};
|
|
6710
|
+
} | {
|
|
6711
|
+
output: {
|
|
6712
|
+
error: {
|
|
6713
|
+
code: "body_invalid";
|
|
6714
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6715
|
+
message: string;
|
|
6716
|
+
};
|
|
6717
|
+
requestId: string;
|
|
6718
|
+
};
|
|
6719
|
+
outputFormat: "json";
|
|
6720
|
+
status: 400;
|
|
6721
|
+
input: {
|
|
6722
|
+
json: {
|
|
6723
|
+
token: string;
|
|
6724
|
+
};
|
|
6725
|
+
};
|
|
6726
|
+
} | {
|
|
6727
|
+
output: {
|
|
6728
|
+
error: {
|
|
6729
|
+
code: "forbidden";
|
|
6730
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6731
|
+
message: string;
|
|
6732
|
+
};
|
|
6733
|
+
requestId: string;
|
|
6734
|
+
};
|
|
6735
|
+
outputFormat: "json";
|
|
6736
|
+
status: 403;
|
|
6737
|
+
input: {
|
|
6738
|
+
json: {
|
|
6739
|
+
token: string;
|
|
6740
|
+
};
|
|
6741
|
+
};
|
|
6742
|
+
} | {
|
|
6743
|
+
output: {
|
|
6744
|
+
error: {
|
|
6745
|
+
code: "invite_link_not_found";
|
|
6746
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
6747
|
+
message: string;
|
|
6748
|
+
};
|
|
6749
|
+
requestId: string;
|
|
6750
|
+
};
|
|
6751
|
+
outputFormat: "json";
|
|
6752
|
+
status: 404;
|
|
6753
|
+
input: {
|
|
6754
|
+
json: {
|
|
6755
|
+
token: string;
|
|
6756
|
+
};
|
|
6757
|
+
};
|
|
6758
|
+
} | {
|
|
6759
|
+
output: {
|
|
6760
|
+
orgId: string;
|
|
6761
|
+
role: "member";
|
|
6762
|
+
userId: string;
|
|
6763
|
+
};
|
|
6764
|
+
outputFormat: "json";
|
|
6765
|
+
status: 200;
|
|
6766
|
+
input: {
|
|
6767
|
+
json: {
|
|
6768
|
+
token: string;
|
|
6769
|
+
};
|
|
6770
|
+
};
|
|
6771
|
+
};
|
|
6772
|
+
};
|
|
5791
6773
|
}, "/">, "/", "*">;
|
|
5792
6774
|
export declare namespace management {
|
|
5793
6775
|
/** Options for the management route group. */
|