@vectorize-io/hindsight-client 0.4.15 → 0.4.17
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/generated/sdk.gen.d.ts +69 -6
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +112 -6
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +606 -1
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/generated/sdk.gen.ts +200 -5
- package/generated/types.gen.ts +671 -1
- package/package.json +1 -1
|
@@ -593,6 +593,41 @@ export type CreateMentalModelResponse = {
|
|
|
593
593
|
*/
|
|
594
594
|
operation_id: string;
|
|
595
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* CreateWebhookRequest
|
|
598
|
+
*
|
|
599
|
+
* Request model for registering a webhook.
|
|
600
|
+
*/
|
|
601
|
+
export type CreateWebhookRequest = {
|
|
602
|
+
/**
|
|
603
|
+
* Url
|
|
604
|
+
*
|
|
605
|
+
* HTTP(S) endpoint URL to deliver events to
|
|
606
|
+
*/
|
|
607
|
+
url: string;
|
|
608
|
+
/**
|
|
609
|
+
* Secret
|
|
610
|
+
*
|
|
611
|
+
* HMAC-SHA256 signing secret (optional)
|
|
612
|
+
*/
|
|
613
|
+
secret?: string | null;
|
|
614
|
+
/**
|
|
615
|
+
* Event Types
|
|
616
|
+
*
|
|
617
|
+
* List of event types to deliver. Currently supported: 'consolidation.completed'
|
|
618
|
+
*/
|
|
619
|
+
event_types?: Array<string>;
|
|
620
|
+
/**
|
|
621
|
+
* Enabled
|
|
622
|
+
*
|
|
623
|
+
* Whether this webhook is active
|
|
624
|
+
*/
|
|
625
|
+
enabled?: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* HTTP delivery configuration (method, timeout, headers, params)
|
|
628
|
+
*/
|
|
629
|
+
http_config?: WebhookHttpConfig;
|
|
630
|
+
};
|
|
596
631
|
/**
|
|
597
632
|
* DeleteDocumentResponse
|
|
598
633
|
*
|
|
@@ -1841,6 +1876,25 @@ export type RetainResponse = {
|
|
|
1841
1876
|
*/
|
|
1842
1877
|
usage?: TokenUsage | null;
|
|
1843
1878
|
};
|
|
1879
|
+
/**
|
|
1880
|
+
* RetryOperationResponse
|
|
1881
|
+
*
|
|
1882
|
+
* Response model for retry operation endpoint.
|
|
1883
|
+
*/
|
|
1884
|
+
export type RetryOperationResponse = {
|
|
1885
|
+
/**
|
|
1886
|
+
* Success
|
|
1887
|
+
*/
|
|
1888
|
+
success: boolean;
|
|
1889
|
+
/**
|
|
1890
|
+
* Message
|
|
1891
|
+
*/
|
|
1892
|
+
message: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* Operation Id
|
|
1895
|
+
*/
|
|
1896
|
+
operation_id: string;
|
|
1897
|
+
};
|
|
1844
1898
|
/**
|
|
1845
1899
|
* SourceFactsIncludeOptions
|
|
1846
1900
|
*
|
|
@@ -1850,9 +1904,15 @@ export type SourceFactsIncludeOptions = {
|
|
|
1850
1904
|
/**
|
|
1851
1905
|
* Max Tokens
|
|
1852
1906
|
*
|
|
1853
|
-
* Maximum tokens for source facts
|
|
1907
|
+
* Maximum total tokens for source facts across all observations (-1 = unlimited)
|
|
1854
1908
|
*/
|
|
1855
1909
|
max_tokens?: number;
|
|
1910
|
+
/**
|
|
1911
|
+
* Max Tokens Per Observation
|
|
1912
|
+
*
|
|
1913
|
+
* Maximum tokens of source facts per observation (-1 = unlimited)
|
|
1914
|
+
*/
|
|
1915
|
+
max_tokens_per_observation?: number;
|
|
1856
1916
|
};
|
|
1857
1917
|
/**
|
|
1858
1918
|
* TagItem
|
|
@@ -1959,6 +2019,30 @@ export type UpdateDirectiveRequest = {
|
|
|
1959
2019
|
export type UpdateDispositionRequest = {
|
|
1960
2020
|
disposition: DispositionTraits;
|
|
1961
2021
|
};
|
|
2022
|
+
/**
|
|
2023
|
+
* UpdateDocumentRequest
|
|
2024
|
+
*
|
|
2025
|
+
* Request model for updating a document's mutable fields.
|
|
2026
|
+
*/
|
|
2027
|
+
export type UpdateDocumentRequest = {
|
|
2028
|
+
/**
|
|
2029
|
+
* Tags
|
|
2030
|
+
*
|
|
2031
|
+
* New tags for the document and its memory units. Triggers observation invalidation and re-consolidation.
|
|
2032
|
+
*/
|
|
2033
|
+
tags?: Array<string> | null;
|
|
2034
|
+
};
|
|
2035
|
+
/**
|
|
2036
|
+
* UpdateDocumentResponse
|
|
2037
|
+
*
|
|
2038
|
+
* Response model for update document endpoint.
|
|
2039
|
+
*/
|
|
2040
|
+
export type UpdateDocumentResponse = {
|
|
2041
|
+
/**
|
|
2042
|
+
* Success
|
|
2043
|
+
*/
|
|
2044
|
+
success?: boolean;
|
|
2045
|
+
};
|
|
1962
2046
|
/**
|
|
1963
2047
|
* UpdateMentalModelRequest
|
|
1964
2048
|
*
|
|
@@ -1994,6 +2078,41 @@ export type UpdateMentalModelRequest = {
|
|
|
1994
2078
|
*/
|
|
1995
2079
|
trigger?: MentalModelTrigger | null;
|
|
1996
2080
|
};
|
|
2081
|
+
/**
|
|
2082
|
+
* UpdateWebhookRequest
|
|
2083
|
+
*
|
|
2084
|
+
* Request model for updating a webhook. Only provided fields are updated.
|
|
2085
|
+
*/
|
|
2086
|
+
export type UpdateWebhookRequest = {
|
|
2087
|
+
/**
|
|
2088
|
+
* Url
|
|
2089
|
+
*
|
|
2090
|
+
* HTTP(S) endpoint URL
|
|
2091
|
+
*/
|
|
2092
|
+
url?: string | null;
|
|
2093
|
+
/**
|
|
2094
|
+
* Secret
|
|
2095
|
+
*
|
|
2096
|
+
* HMAC-SHA256 signing secret. Omit to keep existing; send null to clear.
|
|
2097
|
+
*/
|
|
2098
|
+
secret?: string | null;
|
|
2099
|
+
/**
|
|
2100
|
+
* Event Types
|
|
2101
|
+
*
|
|
2102
|
+
* List of event types
|
|
2103
|
+
*/
|
|
2104
|
+
event_types?: Array<string> | null;
|
|
2105
|
+
/**
|
|
2106
|
+
* Enabled
|
|
2107
|
+
*
|
|
2108
|
+
* Whether this webhook is active
|
|
2109
|
+
*/
|
|
2110
|
+
enabled?: boolean | null;
|
|
2111
|
+
/**
|
|
2112
|
+
* HTTP delivery configuration
|
|
2113
|
+
*/
|
|
2114
|
+
http_config?: WebhookHttpConfig | null;
|
|
2115
|
+
};
|
|
1997
2116
|
/**
|
|
1998
2117
|
* ValidationError
|
|
1999
2118
|
*/
|
|
@@ -2028,6 +2147,168 @@ export type VersionResponse = {
|
|
|
2028
2147
|
*/
|
|
2029
2148
|
features: FeaturesInfo;
|
|
2030
2149
|
};
|
|
2150
|
+
/**
|
|
2151
|
+
* WebhookDeliveryListResponse
|
|
2152
|
+
*
|
|
2153
|
+
* Response model for listing webhook deliveries.
|
|
2154
|
+
*/
|
|
2155
|
+
export type WebhookDeliveryListResponse = {
|
|
2156
|
+
/**
|
|
2157
|
+
* Items
|
|
2158
|
+
*/
|
|
2159
|
+
items: Array<WebhookDeliveryResponse>;
|
|
2160
|
+
/**
|
|
2161
|
+
* Next Cursor
|
|
2162
|
+
*/
|
|
2163
|
+
next_cursor?: string | null;
|
|
2164
|
+
};
|
|
2165
|
+
/**
|
|
2166
|
+
* WebhookDeliveryResponse
|
|
2167
|
+
*
|
|
2168
|
+
* Response model for a webhook delivery record.
|
|
2169
|
+
*/
|
|
2170
|
+
export type WebhookDeliveryResponse = {
|
|
2171
|
+
/**
|
|
2172
|
+
* Id
|
|
2173
|
+
*/
|
|
2174
|
+
id: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* Webhook Id
|
|
2177
|
+
*/
|
|
2178
|
+
webhook_id: string | null;
|
|
2179
|
+
/**
|
|
2180
|
+
* Url
|
|
2181
|
+
*/
|
|
2182
|
+
url: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* Event Type
|
|
2185
|
+
*/
|
|
2186
|
+
event_type: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* Status
|
|
2189
|
+
*/
|
|
2190
|
+
status: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Attempts
|
|
2193
|
+
*/
|
|
2194
|
+
attempts: number;
|
|
2195
|
+
/**
|
|
2196
|
+
* Next Retry At
|
|
2197
|
+
*/
|
|
2198
|
+
next_retry_at?: string | null;
|
|
2199
|
+
/**
|
|
2200
|
+
* Last Error
|
|
2201
|
+
*/
|
|
2202
|
+
last_error?: string | null;
|
|
2203
|
+
/**
|
|
2204
|
+
* Last Response Status
|
|
2205
|
+
*/
|
|
2206
|
+
last_response_status?: number | null;
|
|
2207
|
+
/**
|
|
2208
|
+
* Last Response Body
|
|
2209
|
+
*/
|
|
2210
|
+
last_response_body?: string | null;
|
|
2211
|
+
/**
|
|
2212
|
+
* Last Attempt At
|
|
2213
|
+
*/
|
|
2214
|
+
last_attempt_at?: string | null;
|
|
2215
|
+
/**
|
|
2216
|
+
* Created At
|
|
2217
|
+
*/
|
|
2218
|
+
created_at?: string | null;
|
|
2219
|
+
/**
|
|
2220
|
+
* Updated At
|
|
2221
|
+
*/
|
|
2222
|
+
updated_at?: string | null;
|
|
2223
|
+
};
|
|
2224
|
+
/**
|
|
2225
|
+
* WebhookHttpConfig
|
|
2226
|
+
*
|
|
2227
|
+
* HTTP delivery configuration for a webhook.
|
|
2228
|
+
*/
|
|
2229
|
+
export type WebhookHttpConfig = {
|
|
2230
|
+
/**
|
|
2231
|
+
* Method
|
|
2232
|
+
*
|
|
2233
|
+
* HTTP method: GET or POST
|
|
2234
|
+
*/
|
|
2235
|
+
method?: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* Timeout Seconds
|
|
2238
|
+
*
|
|
2239
|
+
* HTTP request timeout in seconds
|
|
2240
|
+
*/
|
|
2241
|
+
timeout_seconds?: number;
|
|
2242
|
+
/**
|
|
2243
|
+
* Headers
|
|
2244
|
+
*
|
|
2245
|
+
* Custom HTTP headers
|
|
2246
|
+
*/
|
|
2247
|
+
headers?: {
|
|
2248
|
+
[key: string]: string;
|
|
2249
|
+
};
|
|
2250
|
+
/**
|
|
2251
|
+
* Params
|
|
2252
|
+
*
|
|
2253
|
+
* Custom HTTP query parameters
|
|
2254
|
+
*/
|
|
2255
|
+
params?: {
|
|
2256
|
+
[key: string]: string;
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
/**
|
|
2260
|
+
* WebhookListResponse
|
|
2261
|
+
*
|
|
2262
|
+
* Response model for listing webhooks.
|
|
2263
|
+
*/
|
|
2264
|
+
export type WebhookListResponse = {
|
|
2265
|
+
/**
|
|
2266
|
+
* Items
|
|
2267
|
+
*/
|
|
2268
|
+
items: Array<WebhookResponse>;
|
|
2269
|
+
};
|
|
2270
|
+
/**
|
|
2271
|
+
* WebhookResponse
|
|
2272
|
+
*
|
|
2273
|
+
* Response model for a webhook.
|
|
2274
|
+
*/
|
|
2275
|
+
export type WebhookResponse = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Id
|
|
2278
|
+
*/
|
|
2279
|
+
id: string;
|
|
2280
|
+
/**
|
|
2281
|
+
* Bank Id
|
|
2282
|
+
*/
|
|
2283
|
+
bank_id: string | null;
|
|
2284
|
+
/**
|
|
2285
|
+
* Url
|
|
2286
|
+
*/
|
|
2287
|
+
url: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* Secret
|
|
2290
|
+
*
|
|
2291
|
+
* Signing secret (redacted in responses)
|
|
2292
|
+
*/
|
|
2293
|
+
secret?: string | null;
|
|
2294
|
+
/**
|
|
2295
|
+
* Event Types
|
|
2296
|
+
*/
|
|
2297
|
+
event_types: Array<string>;
|
|
2298
|
+
/**
|
|
2299
|
+
* Enabled
|
|
2300
|
+
*/
|
|
2301
|
+
enabled: boolean;
|
|
2302
|
+
http_config?: WebhookHttpConfig;
|
|
2303
|
+
/**
|
|
2304
|
+
* Created At
|
|
2305
|
+
*/
|
|
2306
|
+
created_at?: string | null;
|
|
2307
|
+
/**
|
|
2308
|
+
* Updated At
|
|
2309
|
+
*/
|
|
2310
|
+
updated_at?: string | null;
|
|
2311
|
+
};
|
|
2031
2312
|
export type HealthEndpointHealthGetData = {
|
|
2032
2313
|
body?: never;
|
|
2033
2314
|
path?: never;
|
|
@@ -2199,6 +2480,40 @@ export type GetMemoryResponses = {
|
|
|
2199
2480
|
*/
|
|
2200
2481
|
200: unknown;
|
|
2201
2482
|
};
|
|
2483
|
+
export type GetObservationHistoryData = {
|
|
2484
|
+
body?: never;
|
|
2485
|
+
headers?: {
|
|
2486
|
+
/**
|
|
2487
|
+
* Authorization
|
|
2488
|
+
*/
|
|
2489
|
+
authorization?: string | null;
|
|
2490
|
+
};
|
|
2491
|
+
path: {
|
|
2492
|
+
/**
|
|
2493
|
+
* Bank Id
|
|
2494
|
+
*/
|
|
2495
|
+
bank_id: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* Memory Id
|
|
2498
|
+
*/
|
|
2499
|
+
memory_id: string;
|
|
2500
|
+
};
|
|
2501
|
+
query?: never;
|
|
2502
|
+
url: "/v1/default/banks/{bank_id}/memories/{memory_id}/history";
|
|
2503
|
+
};
|
|
2504
|
+
export type GetObservationHistoryErrors = {
|
|
2505
|
+
/**
|
|
2506
|
+
* Validation Error
|
|
2507
|
+
*/
|
|
2508
|
+
422: HttpValidationError;
|
|
2509
|
+
};
|
|
2510
|
+
export type GetObservationHistoryError = GetObservationHistoryErrors[keyof GetObservationHistoryErrors];
|
|
2511
|
+
export type GetObservationHistoryResponses = {
|
|
2512
|
+
/**
|
|
2513
|
+
* Successful Response
|
|
2514
|
+
*/
|
|
2515
|
+
200: unknown;
|
|
2516
|
+
};
|
|
2202
2517
|
export type RecallMemoriesData = {
|
|
2203
2518
|
body: RecallRequest;
|
|
2204
2519
|
headers?: {
|
|
@@ -2619,6 +2934,40 @@ export type UpdateMentalModelResponses = {
|
|
|
2619
2934
|
200: MentalModelResponse;
|
|
2620
2935
|
};
|
|
2621
2936
|
export type UpdateMentalModelResponse = UpdateMentalModelResponses[keyof UpdateMentalModelResponses];
|
|
2937
|
+
export type GetMentalModelHistoryData = {
|
|
2938
|
+
body?: never;
|
|
2939
|
+
headers?: {
|
|
2940
|
+
/**
|
|
2941
|
+
* Authorization
|
|
2942
|
+
*/
|
|
2943
|
+
authorization?: string | null;
|
|
2944
|
+
};
|
|
2945
|
+
path: {
|
|
2946
|
+
/**
|
|
2947
|
+
* Bank Id
|
|
2948
|
+
*/
|
|
2949
|
+
bank_id: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Mental Model Id
|
|
2952
|
+
*/
|
|
2953
|
+
mental_model_id: string;
|
|
2954
|
+
};
|
|
2955
|
+
query?: never;
|
|
2956
|
+
url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/history";
|
|
2957
|
+
};
|
|
2958
|
+
export type GetMentalModelHistoryErrors = {
|
|
2959
|
+
/**
|
|
2960
|
+
* Validation Error
|
|
2961
|
+
*/
|
|
2962
|
+
422: HttpValidationError;
|
|
2963
|
+
};
|
|
2964
|
+
export type GetMentalModelHistoryError = GetMentalModelHistoryErrors[keyof GetMentalModelHistoryErrors];
|
|
2965
|
+
export type GetMentalModelHistoryResponses = {
|
|
2966
|
+
/**
|
|
2967
|
+
* Successful Response
|
|
2968
|
+
*/
|
|
2969
|
+
200: unknown;
|
|
2970
|
+
};
|
|
2622
2971
|
export type RefreshMentalModelData = {
|
|
2623
2972
|
body?: never;
|
|
2624
2973
|
headers?: {
|
|
@@ -2975,6 +3324,41 @@ export type GetDocumentResponses = {
|
|
|
2975
3324
|
200: DocumentResponse;
|
|
2976
3325
|
};
|
|
2977
3326
|
export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
|
|
3327
|
+
export type UpdateDocumentData = {
|
|
3328
|
+
body: UpdateDocumentRequest;
|
|
3329
|
+
headers?: {
|
|
3330
|
+
/**
|
|
3331
|
+
* Authorization
|
|
3332
|
+
*/
|
|
3333
|
+
authorization?: string | null;
|
|
3334
|
+
};
|
|
3335
|
+
path: {
|
|
3336
|
+
/**
|
|
3337
|
+
* Bank Id
|
|
3338
|
+
*/
|
|
3339
|
+
bank_id: string;
|
|
3340
|
+
/**
|
|
3341
|
+
* Document Id
|
|
3342
|
+
*/
|
|
3343
|
+
document_id: string;
|
|
3344
|
+
};
|
|
3345
|
+
query?: never;
|
|
3346
|
+
url: "/v1/default/banks/{bank_id}/documents/{document_id}";
|
|
3347
|
+
};
|
|
3348
|
+
export type UpdateDocumentErrors = {
|
|
3349
|
+
/**
|
|
3350
|
+
* Validation Error
|
|
3351
|
+
*/
|
|
3352
|
+
422: HttpValidationError;
|
|
3353
|
+
};
|
|
3354
|
+
export type UpdateDocumentError = UpdateDocumentErrors[keyof UpdateDocumentErrors];
|
|
3355
|
+
export type UpdateDocumentResponses = {
|
|
3356
|
+
/**
|
|
3357
|
+
* Successful Response
|
|
3358
|
+
*/
|
|
3359
|
+
200: UpdateDocumentResponse;
|
|
3360
|
+
};
|
|
3361
|
+
export type UpdateDocumentResponse2 = UpdateDocumentResponses[keyof UpdateDocumentResponses];
|
|
2978
3362
|
export type ListTagsData = {
|
|
2979
3363
|
body?: never;
|
|
2980
3364
|
headers?: {
|
|
@@ -3077,6 +3461,12 @@ export type ListOperationsData = {
|
|
|
3077
3461
|
* Filter by status: pending, completed, or failed
|
|
3078
3462
|
*/
|
|
3079
3463
|
status?: string | null;
|
|
3464
|
+
/**
|
|
3465
|
+
* Type
|
|
3466
|
+
*
|
|
3467
|
+
* Filter by operation type: retain, consolidation, refresh_mental_model, file_convert_retain, webhook_delivery
|
|
3468
|
+
*/
|
|
3469
|
+
type?: string | null;
|
|
3080
3470
|
/**
|
|
3081
3471
|
* Limit
|
|
3082
3472
|
*
|
|
@@ -3176,6 +3566,41 @@ export type GetOperationStatusResponses = {
|
|
|
3176
3566
|
200: OperationStatusResponse;
|
|
3177
3567
|
};
|
|
3178
3568
|
export type GetOperationStatusResponse = GetOperationStatusResponses[keyof GetOperationStatusResponses];
|
|
3569
|
+
export type RetryOperationData = {
|
|
3570
|
+
body?: never;
|
|
3571
|
+
headers?: {
|
|
3572
|
+
/**
|
|
3573
|
+
* Authorization
|
|
3574
|
+
*/
|
|
3575
|
+
authorization?: string | null;
|
|
3576
|
+
};
|
|
3577
|
+
path: {
|
|
3578
|
+
/**
|
|
3579
|
+
* Bank Id
|
|
3580
|
+
*/
|
|
3581
|
+
bank_id: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* Operation Id
|
|
3584
|
+
*/
|
|
3585
|
+
operation_id: string;
|
|
3586
|
+
};
|
|
3587
|
+
query?: never;
|
|
3588
|
+
url: "/v1/default/banks/{bank_id}/operations/{operation_id}/retry";
|
|
3589
|
+
};
|
|
3590
|
+
export type RetryOperationErrors = {
|
|
3591
|
+
/**
|
|
3592
|
+
* Validation Error
|
|
3593
|
+
*/
|
|
3594
|
+
422: HttpValidationError;
|
|
3595
|
+
};
|
|
3596
|
+
export type RetryOperationError = RetryOperationErrors[keyof RetryOperationErrors];
|
|
3597
|
+
export type RetryOperationResponses = {
|
|
3598
|
+
/**
|
|
3599
|
+
* Successful Response
|
|
3600
|
+
*/
|
|
3601
|
+
200: RetryOperationResponse;
|
|
3602
|
+
};
|
|
3603
|
+
export type RetryOperationResponse2 = RetryOperationResponses[keyof RetryOperationResponses];
|
|
3179
3604
|
export type GetBankProfileData = {
|
|
3180
3605
|
body?: never;
|
|
3181
3606
|
headers?: {
|
|
@@ -3552,6 +3977,186 @@ export type TriggerConsolidationResponses = {
|
|
|
3552
3977
|
200: ConsolidationResponse;
|
|
3553
3978
|
};
|
|
3554
3979
|
export type TriggerConsolidationResponse = TriggerConsolidationResponses[keyof TriggerConsolidationResponses];
|
|
3980
|
+
export type ListWebhooksData = {
|
|
3981
|
+
body?: never;
|
|
3982
|
+
headers?: {
|
|
3983
|
+
/**
|
|
3984
|
+
* Authorization
|
|
3985
|
+
*/
|
|
3986
|
+
authorization?: string | null;
|
|
3987
|
+
};
|
|
3988
|
+
path: {
|
|
3989
|
+
/**
|
|
3990
|
+
* Bank Id
|
|
3991
|
+
*/
|
|
3992
|
+
bank_id: string;
|
|
3993
|
+
};
|
|
3994
|
+
query?: never;
|
|
3995
|
+
url: "/v1/default/banks/{bank_id}/webhooks";
|
|
3996
|
+
};
|
|
3997
|
+
export type ListWebhooksErrors = {
|
|
3998
|
+
/**
|
|
3999
|
+
* Validation Error
|
|
4000
|
+
*/
|
|
4001
|
+
422: HttpValidationError;
|
|
4002
|
+
};
|
|
4003
|
+
export type ListWebhooksError = ListWebhooksErrors[keyof ListWebhooksErrors];
|
|
4004
|
+
export type ListWebhooksResponses = {
|
|
4005
|
+
/**
|
|
4006
|
+
* Successful Response
|
|
4007
|
+
*/
|
|
4008
|
+
200: WebhookListResponse;
|
|
4009
|
+
};
|
|
4010
|
+
export type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
|
|
4011
|
+
export type CreateWebhookData = {
|
|
4012
|
+
body: CreateWebhookRequest;
|
|
4013
|
+
headers?: {
|
|
4014
|
+
/**
|
|
4015
|
+
* Authorization
|
|
4016
|
+
*/
|
|
4017
|
+
authorization?: string | null;
|
|
4018
|
+
};
|
|
4019
|
+
path: {
|
|
4020
|
+
/**
|
|
4021
|
+
* Bank Id
|
|
4022
|
+
*/
|
|
4023
|
+
bank_id: string;
|
|
4024
|
+
};
|
|
4025
|
+
query?: never;
|
|
4026
|
+
url: "/v1/default/banks/{bank_id}/webhooks";
|
|
4027
|
+
};
|
|
4028
|
+
export type CreateWebhookErrors = {
|
|
4029
|
+
/**
|
|
4030
|
+
* Validation Error
|
|
4031
|
+
*/
|
|
4032
|
+
422: HttpValidationError;
|
|
4033
|
+
};
|
|
4034
|
+
export type CreateWebhookError = CreateWebhookErrors[keyof CreateWebhookErrors];
|
|
4035
|
+
export type CreateWebhookResponses = {
|
|
4036
|
+
/**
|
|
4037
|
+
* Successful Response
|
|
4038
|
+
*/
|
|
4039
|
+
201: WebhookResponse;
|
|
4040
|
+
};
|
|
4041
|
+
export type CreateWebhookResponse = CreateWebhookResponses[keyof CreateWebhookResponses];
|
|
4042
|
+
export type DeleteWebhookData = {
|
|
4043
|
+
body?: never;
|
|
4044
|
+
headers?: {
|
|
4045
|
+
/**
|
|
4046
|
+
* Authorization
|
|
4047
|
+
*/
|
|
4048
|
+
authorization?: string | null;
|
|
4049
|
+
};
|
|
4050
|
+
path: {
|
|
4051
|
+
/**
|
|
4052
|
+
* Bank Id
|
|
4053
|
+
*/
|
|
4054
|
+
bank_id: string;
|
|
4055
|
+
/**
|
|
4056
|
+
* Webhook Id
|
|
4057
|
+
*/
|
|
4058
|
+
webhook_id: string;
|
|
4059
|
+
};
|
|
4060
|
+
query?: never;
|
|
4061
|
+
url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}";
|
|
4062
|
+
};
|
|
4063
|
+
export type DeleteWebhookErrors = {
|
|
4064
|
+
/**
|
|
4065
|
+
* Validation Error
|
|
4066
|
+
*/
|
|
4067
|
+
422: HttpValidationError;
|
|
4068
|
+
};
|
|
4069
|
+
export type DeleteWebhookError = DeleteWebhookErrors[keyof DeleteWebhookErrors];
|
|
4070
|
+
export type DeleteWebhookResponses = {
|
|
4071
|
+
/**
|
|
4072
|
+
* Successful Response
|
|
4073
|
+
*/
|
|
4074
|
+
200: DeleteResponse;
|
|
4075
|
+
};
|
|
4076
|
+
export type DeleteWebhookResponse = DeleteWebhookResponses[keyof DeleteWebhookResponses];
|
|
4077
|
+
export type UpdateWebhookData = {
|
|
4078
|
+
body: UpdateWebhookRequest;
|
|
4079
|
+
headers?: {
|
|
4080
|
+
/**
|
|
4081
|
+
* Authorization
|
|
4082
|
+
*/
|
|
4083
|
+
authorization?: string | null;
|
|
4084
|
+
};
|
|
4085
|
+
path: {
|
|
4086
|
+
/**
|
|
4087
|
+
* Bank Id
|
|
4088
|
+
*/
|
|
4089
|
+
bank_id: string;
|
|
4090
|
+
/**
|
|
4091
|
+
* Webhook Id
|
|
4092
|
+
*/
|
|
4093
|
+
webhook_id: string;
|
|
4094
|
+
};
|
|
4095
|
+
query?: never;
|
|
4096
|
+
url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}";
|
|
4097
|
+
};
|
|
4098
|
+
export type UpdateWebhookErrors = {
|
|
4099
|
+
/**
|
|
4100
|
+
* Validation Error
|
|
4101
|
+
*/
|
|
4102
|
+
422: HttpValidationError;
|
|
4103
|
+
};
|
|
4104
|
+
export type UpdateWebhookError = UpdateWebhookErrors[keyof UpdateWebhookErrors];
|
|
4105
|
+
export type UpdateWebhookResponses = {
|
|
4106
|
+
/**
|
|
4107
|
+
* Successful Response
|
|
4108
|
+
*/
|
|
4109
|
+
200: WebhookResponse;
|
|
4110
|
+
};
|
|
4111
|
+
export type UpdateWebhookResponse = UpdateWebhookResponses[keyof UpdateWebhookResponses];
|
|
4112
|
+
export type ListWebhookDeliveriesData = {
|
|
4113
|
+
body?: never;
|
|
4114
|
+
headers?: {
|
|
4115
|
+
/**
|
|
4116
|
+
* Authorization
|
|
4117
|
+
*/
|
|
4118
|
+
authorization?: string | null;
|
|
4119
|
+
};
|
|
4120
|
+
path: {
|
|
4121
|
+
/**
|
|
4122
|
+
* Bank Id
|
|
4123
|
+
*/
|
|
4124
|
+
bank_id: string;
|
|
4125
|
+
/**
|
|
4126
|
+
* Webhook Id
|
|
4127
|
+
*/
|
|
4128
|
+
webhook_id: string;
|
|
4129
|
+
};
|
|
4130
|
+
query?: {
|
|
4131
|
+
/**
|
|
4132
|
+
* Limit
|
|
4133
|
+
*
|
|
4134
|
+
* Maximum number of deliveries to return
|
|
4135
|
+
*/
|
|
4136
|
+
limit?: number;
|
|
4137
|
+
/**
|
|
4138
|
+
* Cursor
|
|
4139
|
+
*
|
|
4140
|
+
* Pagination cursor (created_at of last item)
|
|
4141
|
+
*/
|
|
4142
|
+
cursor?: string | null;
|
|
4143
|
+
};
|
|
4144
|
+
url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}/deliveries";
|
|
4145
|
+
};
|
|
4146
|
+
export type ListWebhookDeliveriesErrors = {
|
|
4147
|
+
/**
|
|
4148
|
+
* Validation Error
|
|
4149
|
+
*/
|
|
4150
|
+
422: HttpValidationError;
|
|
4151
|
+
};
|
|
4152
|
+
export type ListWebhookDeliveriesError = ListWebhookDeliveriesErrors[keyof ListWebhookDeliveriesErrors];
|
|
4153
|
+
export type ListWebhookDeliveriesResponses = {
|
|
4154
|
+
/**
|
|
4155
|
+
* Successful Response
|
|
4156
|
+
*/
|
|
4157
|
+
200: WebhookDeliveryListResponse;
|
|
4158
|
+
};
|
|
4159
|
+
export type ListWebhookDeliveriesResponse = ListWebhookDeliveriesResponses[keyof ListWebhookDeliveriesResponses];
|
|
3555
4160
|
export type ClearBankMemoriesData = {
|
|
3556
4161
|
body?: never;
|
|
3557
4162
|
headers?: {
|