@robosystems/client 0.1.15 → 0.1.16
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/package.json +48 -6
- package/sdk/client/client.gen.d.ts +2 -0
- package/sdk/client/client.gen.js +153 -0
- package/sdk/client/client.gen.ts +200 -0
- package/sdk/client/index.d.ts +7 -0
- package/sdk/client/index.js +15 -0
- package/sdk/client/index.ts +25 -0
- package/sdk/client/types.gen.d.ts +122 -0
- package/sdk/client/types.gen.js +4 -0
- package/sdk/client/types.gen.ts +233 -0
- package/sdk/client/utils.gen.d.ts +45 -0
- package/sdk/client/utils.gen.js +296 -0
- package/sdk/client/utils.gen.ts +419 -0
- package/sdk/client.gen.d.ts +12 -0
- package/sdk/client.gen.js +8 -0
- package/sdk/client.gen.ts +18 -0
- package/sdk/core/auth.gen.d.ts +18 -0
- package/sdk/core/auth.gen.js +18 -0
- package/sdk/core/auth.gen.ts +42 -0
- package/sdk/core/bodySerializer.gen.d.ts +17 -0
- package/sdk/core/bodySerializer.gen.js +57 -0
- package/sdk/core/bodySerializer.gen.ts +90 -0
- package/sdk/core/params.gen.d.ts +33 -0
- package/sdk/core/params.gen.js +92 -0
- package/sdk/core/params.gen.ts +153 -0
- package/sdk/core/pathSerializer.gen.d.ts +33 -0
- package/sdk/core/pathSerializer.gen.js +123 -0
- package/sdk/core/pathSerializer.gen.ts +181 -0
- package/sdk/core/types.gen.d.ts +78 -0
- package/sdk/core/types.gen.js +4 -0
- package/sdk/core/types.gen.ts +121 -0
- package/sdk/index.d.ts +2 -0
- package/sdk/index.js +19 -0
- package/sdk/index.ts +3 -0
- package/sdk/sdk.gen.d.ts +1269 -0
- package/sdk/sdk.gen.js +2664 -0
- package/sdk/sdk.gen.ts +2677 -0
- package/sdk/types.gen.d.ts +6265 -0
- package/sdk/types.gen.js +3 -0
- package/sdk/types.gen.ts +6784 -0
- package/sdk-extensions/OperationClient.d.ts +64 -0
- package/sdk-extensions/OperationClient.js +251 -0
- package/sdk-extensions/OperationClient.ts +322 -0
- package/sdk-extensions/QueryClient.d.ts +50 -0
- package/sdk-extensions/QueryClient.js +190 -0
- package/sdk-extensions/QueryClient.ts +283 -0
- package/sdk-extensions/README.md +672 -0
- package/sdk-extensions/SSEClient.d.ts +48 -0
- package/sdk-extensions/SSEClient.js +148 -0
- package/sdk-extensions/SSEClient.ts +189 -0
- package/sdk-extensions/config.d.ts +32 -0
- package/sdk-extensions/config.js +74 -0
- package/sdk-extensions/config.ts +91 -0
- package/sdk-extensions/hooks.d.ts +110 -0
- package/sdk-extensions/hooks.js +371 -0
- package/sdk-extensions/hooks.ts +438 -0
- package/sdk-extensions/index.d.ts +46 -0
- package/sdk-extensions/index.js +110 -0
- package/sdk-extensions/index.ts +123 -0
- package/sdk.gen.d.ts +128 -2
- package/sdk.gen.js +216 -2
- package/sdk.gen.ts +216 -2
- package/types.gen.d.ts +573 -4
- package/types.gen.ts +606 -4
- package/openapi-ts.config.js +0 -9
- package/prepare.js +0 -220
package/types.gen.d.ts
CHANGED
|
@@ -684,6 +684,43 @@ export type CreateGraphRequest = {
|
|
|
684
684
|
*/
|
|
685
685
|
tags?: Array<string>;
|
|
686
686
|
};
|
|
687
|
+
/**
|
|
688
|
+
* CreateSubgraphRequest
|
|
689
|
+
* Request model for creating a subgraph.
|
|
690
|
+
*/
|
|
691
|
+
export type CreateSubgraphRequest = {
|
|
692
|
+
/**
|
|
693
|
+
* Name
|
|
694
|
+
* Alphanumeric name for the subgraph (e.g., dev, staging, prod1)
|
|
695
|
+
*/
|
|
696
|
+
name: string;
|
|
697
|
+
/**
|
|
698
|
+
* Display Name
|
|
699
|
+
* Human-readable display name for the subgraph
|
|
700
|
+
*/
|
|
701
|
+
display_name: string;
|
|
702
|
+
/**
|
|
703
|
+
* Description
|
|
704
|
+
* Optional description of the subgraph's purpose
|
|
705
|
+
*/
|
|
706
|
+
description?: string | null;
|
|
707
|
+
/**
|
|
708
|
+
* Schema Extensions
|
|
709
|
+
* Schema extensions to include (inherits from parent by default)
|
|
710
|
+
*/
|
|
711
|
+
schema_extensions?: Array<string> | null;
|
|
712
|
+
/**
|
|
713
|
+
* Type of subgraph (currently only 'static' is supported)
|
|
714
|
+
*/
|
|
715
|
+
subgraph_type?: SubgraphType;
|
|
716
|
+
/**
|
|
717
|
+
* Metadata
|
|
718
|
+
* Additional metadata for the subgraph
|
|
719
|
+
*/
|
|
720
|
+
metadata?: {
|
|
721
|
+
[key: string]: unknown;
|
|
722
|
+
} | null;
|
|
723
|
+
};
|
|
687
724
|
/**
|
|
688
725
|
* CreditCheckRequest
|
|
689
726
|
* Request to check credit balance.
|
|
@@ -764,10 +801,6 @@ export type CreditSummaryResponse = {
|
|
|
764
801
|
* Graph Tier
|
|
765
802
|
*/
|
|
766
803
|
graph_tier: string;
|
|
767
|
-
/**
|
|
768
|
-
* Credit Multiplier
|
|
769
|
-
*/
|
|
770
|
-
credit_multiplier: number;
|
|
771
804
|
/**
|
|
772
805
|
* Current Balance
|
|
773
806
|
*/
|
|
@@ -1029,6 +1062,58 @@ export type DatabaseInfoResponse = {
|
|
|
1029
1062
|
*/
|
|
1030
1063
|
last_backup_date?: string | null;
|
|
1031
1064
|
};
|
|
1065
|
+
/**
|
|
1066
|
+
* DeleteSubgraphRequest
|
|
1067
|
+
* Request model for deleting a subgraph.
|
|
1068
|
+
*/
|
|
1069
|
+
export type DeleteSubgraphRequest = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Force
|
|
1072
|
+
* Force deletion even if subgraph contains data
|
|
1073
|
+
*/
|
|
1074
|
+
force?: boolean;
|
|
1075
|
+
/**
|
|
1076
|
+
* Backup First
|
|
1077
|
+
* Create a backup before deletion
|
|
1078
|
+
*/
|
|
1079
|
+
backup_first?: boolean;
|
|
1080
|
+
/**
|
|
1081
|
+
* Backup Location
|
|
1082
|
+
* S3 location for backup (uses default if not specified)
|
|
1083
|
+
*/
|
|
1084
|
+
backup_location?: string | null;
|
|
1085
|
+
};
|
|
1086
|
+
/**
|
|
1087
|
+
* DeleteSubgraphResponse
|
|
1088
|
+
* Response model for subgraph deletion.
|
|
1089
|
+
*/
|
|
1090
|
+
export type DeleteSubgraphResponse = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Graph Id
|
|
1093
|
+
* Deleted subgraph identifier
|
|
1094
|
+
*/
|
|
1095
|
+
graph_id: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* Status
|
|
1098
|
+
* Deletion status
|
|
1099
|
+
*/
|
|
1100
|
+
status: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Backup Location
|
|
1103
|
+
* Location of backup if created
|
|
1104
|
+
*/
|
|
1105
|
+
backup_location?: string | null;
|
|
1106
|
+
/**
|
|
1107
|
+
* Deleted At
|
|
1108
|
+
* When deletion occurred
|
|
1109
|
+
*/
|
|
1110
|
+
deleted_at: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Message
|
|
1113
|
+
* Additional information about the deletion
|
|
1114
|
+
*/
|
|
1115
|
+
message?: string | null;
|
|
1116
|
+
};
|
|
1032
1117
|
/**
|
|
1033
1118
|
* DetailedTransactionsResponse
|
|
1034
1119
|
* Detailed response for transaction queries.
|
|
@@ -1433,6 +1518,47 @@ export type LinkTokenRequest = {
|
|
|
1433
1518
|
[key: string]: unknown;
|
|
1434
1519
|
} | null;
|
|
1435
1520
|
};
|
|
1521
|
+
/**
|
|
1522
|
+
* ListSubgraphsResponse
|
|
1523
|
+
* Response model for listing subgraphs.
|
|
1524
|
+
*/
|
|
1525
|
+
export type ListSubgraphsResponse = {
|
|
1526
|
+
/**
|
|
1527
|
+
* Parent Graph Id
|
|
1528
|
+
* Parent graph identifier
|
|
1529
|
+
*/
|
|
1530
|
+
parent_graph_id: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* Parent Graph Name
|
|
1533
|
+
* Parent graph name
|
|
1534
|
+
*/
|
|
1535
|
+
parent_graph_name: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Parent Graph Tier
|
|
1538
|
+
* Parent graph tier
|
|
1539
|
+
*/
|
|
1540
|
+
parent_graph_tier: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Subgraph Count
|
|
1543
|
+
* Total number of subgraphs
|
|
1544
|
+
*/
|
|
1545
|
+
subgraph_count: number;
|
|
1546
|
+
/**
|
|
1547
|
+
* Max Subgraphs
|
|
1548
|
+
* Maximum allowed subgraphs for this tier (None = unlimited)
|
|
1549
|
+
*/
|
|
1550
|
+
max_subgraphs?: number | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* Total Size Mb
|
|
1553
|
+
* Combined size of all subgraphs in megabytes
|
|
1554
|
+
*/
|
|
1555
|
+
total_size_mb?: number | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Subgraphs
|
|
1558
|
+
* List of subgraphs
|
|
1559
|
+
*/
|
|
1560
|
+
subgraphs: Array<SubgraphSummary>;
|
|
1561
|
+
};
|
|
1436
1562
|
/**
|
|
1437
1563
|
* LoginRequest
|
|
1438
1564
|
* Login request model.
|
|
@@ -1980,6 +2106,179 @@ export type StorageLimitResponse = {
|
|
|
1980
2106
|
*/
|
|
1981
2107
|
recommendations?: Array<string> | null;
|
|
1982
2108
|
};
|
|
2109
|
+
/**
|
|
2110
|
+
* SubgraphQuotaResponse
|
|
2111
|
+
* Response model for subgraph quota information.
|
|
2112
|
+
*/
|
|
2113
|
+
export type SubgraphQuotaResponse = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Parent Graph Id
|
|
2116
|
+
* Parent graph identifier
|
|
2117
|
+
*/
|
|
2118
|
+
parent_graph_id: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* Tier
|
|
2121
|
+
* Graph tier
|
|
2122
|
+
*/
|
|
2123
|
+
tier: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* Current Count
|
|
2126
|
+
* Current number of subgraphs
|
|
2127
|
+
*/
|
|
2128
|
+
current_count: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* Max Allowed
|
|
2131
|
+
* Maximum allowed subgraphs (None = unlimited)
|
|
2132
|
+
*/
|
|
2133
|
+
max_allowed?: number | null;
|
|
2134
|
+
/**
|
|
2135
|
+
* Remaining
|
|
2136
|
+
* Remaining subgraphs that can be created
|
|
2137
|
+
*/
|
|
2138
|
+
remaining?: number | null;
|
|
2139
|
+
/**
|
|
2140
|
+
* Total Size Mb
|
|
2141
|
+
* Total size of all subgraphs
|
|
2142
|
+
*/
|
|
2143
|
+
total_size_mb?: number | null;
|
|
2144
|
+
/**
|
|
2145
|
+
* Max Size Mb
|
|
2146
|
+
* Maximum allowed total size
|
|
2147
|
+
*/
|
|
2148
|
+
max_size_mb?: number | null;
|
|
2149
|
+
};
|
|
2150
|
+
/**
|
|
2151
|
+
* SubgraphResponse
|
|
2152
|
+
* Response model for a subgraph.
|
|
2153
|
+
*/
|
|
2154
|
+
export type SubgraphResponse = {
|
|
2155
|
+
/**
|
|
2156
|
+
* Graph Id
|
|
2157
|
+
* Full subgraph identifier (e.g., kg123_dev)
|
|
2158
|
+
*/
|
|
2159
|
+
graph_id: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* Parent Graph Id
|
|
2162
|
+
* Parent graph identifier
|
|
2163
|
+
*/
|
|
2164
|
+
parent_graph_id: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Subgraph Index
|
|
2167
|
+
* Numeric index of the subgraph
|
|
2168
|
+
*/
|
|
2169
|
+
subgraph_index: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* Subgraph Name
|
|
2172
|
+
* Alphanumeric name of the subgraph
|
|
2173
|
+
*/
|
|
2174
|
+
subgraph_name: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* Display Name
|
|
2177
|
+
* Human-readable display name
|
|
2178
|
+
*/
|
|
2179
|
+
display_name: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Description
|
|
2182
|
+
* Description of the subgraph's purpose
|
|
2183
|
+
*/
|
|
2184
|
+
description?: string | null;
|
|
2185
|
+
/**
|
|
2186
|
+
* Type of subgraph
|
|
2187
|
+
*/
|
|
2188
|
+
subgraph_type: SubgraphType;
|
|
2189
|
+
/**
|
|
2190
|
+
* Status
|
|
2191
|
+
* Current status of the subgraph
|
|
2192
|
+
*/
|
|
2193
|
+
status: string;
|
|
2194
|
+
/**
|
|
2195
|
+
* Created At
|
|
2196
|
+
* When the subgraph was created
|
|
2197
|
+
*/
|
|
2198
|
+
created_at: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Updated At
|
|
2201
|
+
* When the subgraph was last updated
|
|
2202
|
+
*/
|
|
2203
|
+
updated_at: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Size Mb
|
|
2206
|
+
* Size of the subgraph database in megabytes
|
|
2207
|
+
*/
|
|
2208
|
+
size_mb?: number | null;
|
|
2209
|
+
/**
|
|
2210
|
+
* Node Count
|
|
2211
|
+
* Number of nodes in the subgraph
|
|
2212
|
+
*/
|
|
2213
|
+
node_count?: number | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* Edge Count
|
|
2216
|
+
* Number of edges in the subgraph
|
|
2217
|
+
*/
|
|
2218
|
+
edge_count?: number | null;
|
|
2219
|
+
/**
|
|
2220
|
+
* Last Accessed
|
|
2221
|
+
* When the subgraph was last accessed
|
|
2222
|
+
*/
|
|
2223
|
+
last_accessed?: string | null;
|
|
2224
|
+
/**
|
|
2225
|
+
* Metadata
|
|
2226
|
+
* Additional metadata for the subgraph
|
|
2227
|
+
*/
|
|
2228
|
+
metadata?: {
|
|
2229
|
+
[key: string]: unknown;
|
|
2230
|
+
} | null;
|
|
2231
|
+
};
|
|
2232
|
+
/**
|
|
2233
|
+
* SubgraphSummary
|
|
2234
|
+
* Summary model for listing subgraphs.
|
|
2235
|
+
*/
|
|
2236
|
+
export type SubgraphSummary = {
|
|
2237
|
+
/**
|
|
2238
|
+
* Graph Id
|
|
2239
|
+
* Full subgraph identifier
|
|
2240
|
+
*/
|
|
2241
|
+
graph_id: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Subgraph Name
|
|
2244
|
+
* Alphanumeric name
|
|
2245
|
+
*/
|
|
2246
|
+
subgraph_name: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* Display Name
|
|
2249
|
+
* Human-readable name
|
|
2250
|
+
*/
|
|
2251
|
+
display_name: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* Type of subgraph
|
|
2254
|
+
*/
|
|
2255
|
+
subgraph_type: SubgraphType;
|
|
2256
|
+
/**
|
|
2257
|
+
* Status
|
|
2258
|
+
* Current status
|
|
2259
|
+
*/
|
|
2260
|
+
status: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* Size Mb
|
|
2263
|
+
* Size in megabytes
|
|
2264
|
+
*/
|
|
2265
|
+
size_mb?: number | null;
|
|
2266
|
+
/**
|
|
2267
|
+
* Created At
|
|
2268
|
+
* Creation timestamp
|
|
2269
|
+
*/
|
|
2270
|
+
created_at: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Last Accessed
|
|
2273
|
+
* Last access timestamp
|
|
2274
|
+
*/
|
|
2275
|
+
last_accessed?: string | null;
|
|
2276
|
+
};
|
|
2277
|
+
/**
|
|
2278
|
+
* SubgraphType
|
|
2279
|
+
* Types of subgraphs.
|
|
2280
|
+
*/
|
|
2281
|
+
export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
|
|
1983
2282
|
/**
|
|
1984
2283
|
* SubscriptionInfo
|
|
1985
2284
|
* User subscription information.
|
|
@@ -5487,6 +5786,276 @@ export type GetDatabaseInfoResponses = {
|
|
|
5487
5786
|
200: DatabaseInfoResponse;
|
|
5488
5787
|
};
|
|
5489
5788
|
export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
|
|
5789
|
+
export type ListSubgraphsData = {
|
|
5790
|
+
body?: never;
|
|
5791
|
+
headers?: {
|
|
5792
|
+
/**
|
|
5793
|
+
* Authorization
|
|
5794
|
+
*/
|
|
5795
|
+
authorization?: string | null;
|
|
5796
|
+
};
|
|
5797
|
+
path: {
|
|
5798
|
+
/**
|
|
5799
|
+
* Graph Id
|
|
5800
|
+
* Parent graph identifier
|
|
5801
|
+
*/
|
|
5802
|
+
graph_id: string;
|
|
5803
|
+
};
|
|
5804
|
+
query?: never;
|
|
5805
|
+
url: '/v1/{graph_id}/subgraphs';
|
|
5806
|
+
};
|
|
5807
|
+
export type ListSubgraphsErrors = {
|
|
5808
|
+
/**
|
|
5809
|
+
* Not authenticated
|
|
5810
|
+
*/
|
|
5811
|
+
401: unknown;
|
|
5812
|
+
/**
|
|
5813
|
+
* Access denied to parent graph
|
|
5814
|
+
*/
|
|
5815
|
+
403: unknown;
|
|
5816
|
+
/**
|
|
5817
|
+
* Parent graph not found
|
|
5818
|
+
*/
|
|
5819
|
+
404: unknown;
|
|
5820
|
+
/**
|
|
5821
|
+
* Validation Error
|
|
5822
|
+
*/
|
|
5823
|
+
422: HttpValidationError;
|
|
5824
|
+
/**
|
|
5825
|
+
* Internal server error
|
|
5826
|
+
*/
|
|
5827
|
+
500: unknown;
|
|
5828
|
+
};
|
|
5829
|
+
export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
|
|
5830
|
+
export type ListSubgraphsResponses = {
|
|
5831
|
+
/**
|
|
5832
|
+
* Subgraphs retrieved successfully
|
|
5833
|
+
*/
|
|
5834
|
+
200: ListSubgraphsResponse;
|
|
5835
|
+
};
|
|
5836
|
+
export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
|
|
5837
|
+
export type CreateSubgraphData = {
|
|
5838
|
+
body: CreateSubgraphRequest;
|
|
5839
|
+
headers?: {
|
|
5840
|
+
/**
|
|
5841
|
+
* Authorization
|
|
5842
|
+
*/
|
|
5843
|
+
authorization?: string | null;
|
|
5844
|
+
};
|
|
5845
|
+
path: {
|
|
5846
|
+
/**
|
|
5847
|
+
* Graph Id
|
|
5848
|
+
* Parent graph identifier
|
|
5849
|
+
*/
|
|
5850
|
+
graph_id: string;
|
|
5851
|
+
};
|
|
5852
|
+
query?: never;
|
|
5853
|
+
url: '/v1/{graph_id}/subgraphs';
|
|
5854
|
+
};
|
|
5855
|
+
export type CreateSubgraphErrors = {
|
|
5856
|
+
/**
|
|
5857
|
+
* Invalid subgraph name or configuration
|
|
5858
|
+
*/
|
|
5859
|
+
400: unknown;
|
|
5860
|
+
/**
|
|
5861
|
+
* Not authenticated
|
|
5862
|
+
*/
|
|
5863
|
+
401: unknown;
|
|
5864
|
+
/**
|
|
5865
|
+
* Insufficient permissions or tier
|
|
5866
|
+
*/
|
|
5867
|
+
403: unknown;
|
|
5868
|
+
/**
|
|
5869
|
+
* Parent graph not found
|
|
5870
|
+
*/
|
|
5871
|
+
404: unknown;
|
|
5872
|
+
/**
|
|
5873
|
+
* Subgraph name already exists
|
|
5874
|
+
*/
|
|
5875
|
+
409: unknown;
|
|
5876
|
+
/**
|
|
5877
|
+
* Validation Error
|
|
5878
|
+
*/
|
|
5879
|
+
422: HttpValidationError;
|
|
5880
|
+
/**
|
|
5881
|
+
* Internal server error
|
|
5882
|
+
*/
|
|
5883
|
+
500: unknown;
|
|
5884
|
+
};
|
|
5885
|
+
export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
|
|
5886
|
+
export type CreateSubgraphResponses = {
|
|
5887
|
+
/**
|
|
5888
|
+
* Subgraph created successfully
|
|
5889
|
+
*/
|
|
5890
|
+
200: SubgraphResponse;
|
|
5891
|
+
};
|
|
5892
|
+
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
5893
|
+
export type DeleteSubgraphData = {
|
|
5894
|
+
body?: DeleteSubgraphRequest;
|
|
5895
|
+
headers?: {
|
|
5896
|
+
/**
|
|
5897
|
+
* Authorization
|
|
5898
|
+
*/
|
|
5899
|
+
authorization?: string | null;
|
|
5900
|
+
};
|
|
5901
|
+
path: {
|
|
5902
|
+
/**
|
|
5903
|
+
* Graph Id
|
|
5904
|
+
* Parent graph identifier
|
|
5905
|
+
*/
|
|
5906
|
+
graph_id: string;
|
|
5907
|
+
/**
|
|
5908
|
+
* Subgraph Name
|
|
5909
|
+
* Subgraph name to delete
|
|
5910
|
+
*/
|
|
5911
|
+
subgraph_name: string;
|
|
5912
|
+
};
|
|
5913
|
+
query?: never;
|
|
5914
|
+
url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
|
|
5915
|
+
};
|
|
5916
|
+
export type DeleteSubgraphErrors = {
|
|
5917
|
+
/**
|
|
5918
|
+
* Invalid subgraph identifier
|
|
5919
|
+
*/
|
|
5920
|
+
400: unknown;
|
|
5921
|
+
/**
|
|
5922
|
+
* Not authenticated
|
|
5923
|
+
*/
|
|
5924
|
+
401: unknown;
|
|
5925
|
+
/**
|
|
5926
|
+
* Insufficient permissions
|
|
5927
|
+
*/
|
|
5928
|
+
403: unknown;
|
|
5929
|
+
/**
|
|
5930
|
+
* Subgraph not found
|
|
5931
|
+
*/
|
|
5932
|
+
404: unknown;
|
|
5933
|
+
/**
|
|
5934
|
+
* Subgraph contains data (use force=true)
|
|
5935
|
+
*/
|
|
5936
|
+
409: unknown;
|
|
5937
|
+
/**
|
|
5938
|
+
* Validation Error
|
|
5939
|
+
*/
|
|
5940
|
+
422: HttpValidationError;
|
|
5941
|
+
/**
|
|
5942
|
+
* Internal server error
|
|
5943
|
+
*/
|
|
5944
|
+
500: unknown;
|
|
5945
|
+
};
|
|
5946
|
+
export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
|
|
5947
|
+
export type DeleteSubgraphResponses = {
|
|
5948
|
+
/**
|
|
5949
|
+
* Subgraph deleted successfully
|
|
5950
|
+
*/
|
|
5951
|
+
200: DeleteSubgraphResponse;
|
|
5952
|
+
};
|
|
5953
|
+
export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
|
|
5954
|
+
export type GetSubgraphQuotaData = {
|
|
5955
|
+
body?: never;
|
|
5956
|
+
headers?: {
|
|
5957
|
+
/**
|
|
5958
|
+
* Authorization
|
|
5959
|
+
*/
|
|
5960
|
+
authorization?: string | null;
|
|
5961
|
+
};
|
|
5962
|
+
path: {
|
|
5963
|
+
/**
|
|
5964
|
+
* Graph Id
|
|
5965
|
+
* Parent graph identifier
|
|
5966
|
+
*/
|
|
5967
|
+
graph_id: string;
|
|
5968
|
+
};
|
|
5969
|
+
query?: never;
|
|
5970
|
+
url: '/v1/{graph_id}/subgraphs/quota';
|
|
5971
|
+
};
|
|
5972
|
+
export type GetSubgraphQuotaErrors = {
|
|
5973
|
+
/**
|
|
5974
|
+
* Not authenticated
|
|
5975
|
+
*/
|
|
5976
|
+
401: unknown;
|
|
5977
|
+
/**
|
|
5978
|
+
* Access denied to parent graph
|
|
5979
|
+
*/
|
|
5980
|
+
403: unknown;
|
|
5981
|
+
/**
|
|
5982
|
+
* Parent graph not found
|
|
5983
|
+
*/
|
|
5984
|
+
404: unknown;
|
|
5985
|
+
/**
|
|
5986
|
+
* Validation Error
|
|
5987
|
+
*/
|
|
5988
|
+
422: HttpValidationError;
|
|
5989
|
+
/**
|
|
5990
|
+
* Internal server error
|
|
5991
|
+
*/
|
|
5992
|
+
500: unknown;
|
|
5993
|
+
};
|
|
5994
|
+
export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
|
|
5995
|
+
export type GetSubgraphQuotaResponses = {
|
|
5996
|
+
/**
|
|
5997
|
+
* Quota information retrieved
|
|
5998
|
+
*/
|
|
5999
|
+
200: SubgraphQuotaResponse;
|
|
6000
|
+
};
|
|
6001
|
+
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
6002
|
+
export type GetSubgraphInfoData = {
|
|
6003
|
+
body?: never;
|
|
6004
|
+
headers?: {
|
|
6005
|
+
/**
|
|
6006
|
+
* Authorization
|
|
6007
|
+
*/
|
|
6008
|
+
authorization?: string | null;
|
|
6009
|
+
};
|
|
6010
|
+
path: {
|
|
6011
|
+
/**
|
|
6012
|
+
* Graph Id
|
|
6013
|
+
* Parent graph identifier
|
|
6014
|
+
*/
|
|
6015
|
+
graph_id: string;
|
|
6016
|
+
/**
|
|
6017
|
+
* Subgraph Name
|
|
6018
|
+
* Subgraph name
|
|
6019
|
+
*/
|
|
6020
|
+
subgraph_name: string;
|
|
6021
|
+
};
|
|
6022
|
+
query?: never;
|
|
6023
|
+
url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
|
|
6024
|
+
};
|
|
6025
|
+
export type GetSubgraphInfoErrors = {
|
|
6026
|
+
/**
|
|
6027
|
+
* Not a valid subgraph
|
|
6028
|
+
*/
|
|
6029
|
+
400: unknown;
|
|
6030
|
+
/**
|
|
6031
|
+
* Not authenticated
|
|
6032
|
+
*/
|
|
6033
|
+
401: unknown;
|
|
6034
|
+
/**
|
|
6035
|
+
* Access denied
|
|
6036
|
+
*/
|
|
6037
|
+
403: unknown;
|
|
6038
|
+
/**
|
|
6039
|
+
* Subgraph not found
|
|
6040
|
+
*/
|
|
6041
|
+
404: unknown;
|
|
6042
|
+
/**
|
|
6043
|
+
* Validation Error
|
|
6044
|
+
*/
|
|
6045
|
+
422: HttpValidationError;
|
|
6046
|
+
/**
|
|
6047
|
+
* Internal server error
|
|
6048
|
+
*/
|
|
6049
|
+
500: unknown;
|
|
6050
|
+
};
|
|
6051
|
+
export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
|
|
6052
|
+
export type GetSubgraphInfoResponses = {
|
|
6053
|
+
/**
|
|
6054
|
+
* Subgraph information retrieved
|
|
6055
|
+
*/
|
|
6056
|
+
200: SubgraphResponse;
|
|
6057
|
+
};
|
|
6058
|
+
export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
|
|
5490
6059
|
export type CreateGraphData = {
|
|
5491
6060
|
body: CreateGraphRequest;
|
|
5492
6061
|
headers?: {
|