@robosystems/client 2.6.1 → 2.7.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/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +3 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +28 -18
- package/sdk/sdk.gen.js +64 -45
- package/sdk/sdk.gen.ts +56 -37
- package/sdk/types.gen.d.ts +187 -129
- package/sdk/types.gen.ts +193 -129
- package/sdk.gen.d.ts +28 -18
- package/sdk.gen.js +64 -45
- package/sdk.gen.ts +56 -37
- package/types.gen.d.ts +187 -129
- package/types.gen.ts +193 -129
package/sdk/types.gen.d.ts
CHANGED
|
@@ -5409,11 +5409,12 @@ export type EventHandlerResponse = {
|
|
|
5409
5409
|
* Request to publish an event to the source-of-truth system.
|
|
5410
5410
|
*
|
|
5411
5411
|
* For events on a connection with `write_policy='qb_authoritative'`
|
|
5412
|
-
* (or `'hybrid'`), this triggers a synchronous write to QuickBooks
|
|
5413
|
-
*
|
|
5414
|
-
*
|
|
5415
|
-
* `
|
|
5416
|
-
* (
|
|
5412
|
+
* (or `'hybrid'`), this triggers a synchronous write to QuickBooks:
|
|
5413
|
+
* each draft entry posts as its own JournalEntry, with the entry id as
|
|
5414
|
+
* the RequestId, and its QuickBooks id is recorded per entry on
|
|
5415
|
+
* `event.metadata.qb_entry_ids`. The event goes `fulfilled` once no
|
|
5416
|
+
* draft remains, or `pending` when QuickBooks rejects an entry (what
|
|
5417
|
+
* landed is kept).
|
|
5417
5418
|
*
|
|
5418
5419
|
* `'native'`-policy events fast-path through with no QB write —
|
|
5419
5420
|
* RoboSystems IS the source of truth, no outbound publish needed.
|
|
@@ -5997,7 +5998,7 @@ export type FiscalCalendarResponse = {
|
|
|
5997
5998
|
/**
|
|
5998
5999
|
* Blockers
|
|
5999
6000
|
*
|
|
6000
|
-
* Structured blocker codes when closeable_now is False: 'sequence_violation', 'period_incomplete', 'sync_stale', 'calendar_not_initialized', 'period_already_closed', 'pending_obligations', 'stranded_obligations'
|
|
6001
|
+
* Structured blocker codes when closeable_now is False: 'sequence_violation', 'period_incomplete', 'sync_stale', 'calendar_not_initialized', 'period_already_closed', 'pending_obligations', 'stranded_obligations', 'reconciling_items', 'unposted_source_events', 'unreconciled_accounts'
|
|
6001
6002
|
*/
|
|
6002
6003
|
blockers?: Array<string>;
|
|
6003
6004
|
/**
|
|
@@ -16760,6 +16761,19 @@ export type SetReconciliationPolicyRequest = {
|
|
|
16760
16761
|
*/
|
|
16761
16762
|
separate_reviewer?: boolean | null;
|
|
16762
16763
|
};
|
|
16764
|
+
/**
|
|
16765
|
+
* SetSelectedGraphRequest
|
|
16766
|
+
*
|
|
16767
|
+
* Request model for setting the user's selected graph.
|
|
16768
|
+
*/
|
|
16769
|
+
export type SetSelectedGraphRequest = {
|
|
16770
|
+
/**
|
|
16771
|
+
* Graph Id
|
|
16772
|
+
*
|
|
16773
|
+
* The graph the apps open on the caller's next load
|
|
16774
|
+
*/
|
|
16775
|
+
graph_id: string;
|
|
16776
|
+
};
|
|
16763
16777
|
/**
|
|
16764
16778
|
* SetWritePolicyRequest
|
|
16765
16779
|
*
|
|
@@ -21082,6 +21096,50 @@ export type UpdateUserPasswordResponses = {
|
|
|
21082
21096
|
200: SuccessResponse;
|
|
21083
21097
|
};
|
|
21084
21098
|
export type UpdateUserPasswordResponse = UpdateUserPasswordResponses[keyof UpdateUserPasswordResponses];
|
|
21099
|
+
export type SetSelectedGraphData = {
|
|
21100
|
+
body: SetSelectedGraphRequest;
|
|
21101
|
+
path?: never;
|
|
21102
|
+
query?: never;
|
|
21103
|
+
url: '/v1/user/selected-graph';
|
|
21104
|
+
};
|
|
21105
|
+
export type SetSelectedGraphErrors = {
|
|
21106
|
+
/**
|
|
21107
|
+
* Invalid request
|
|
21108
|
+
*/
|
|
21109
|
+
400: ErrorResponse;
|
|
21110
|
+
/**
|
|
21111
|
+
* Authentication required
|
|
21112
|
+
*/
|
|
21113
|
+
401: ErrorResponse;
|
|
21114
|
+
/**
|
|
21115
|
+
* Access denied
|
|
21116
|
+
*/
|
|
21117
|
+
403: ErrorResponse;
|
|
21118
|
+
/**
|
|
21119
|
+
* Resource not found
|
|
21120
|
+
*/
|
|
21121
|
+
404: ErrorResponse;
|
|
21122
|
+
/**
|
|
21123
|
+
* Validation Error
|
|
21124
|
+
*/
|
|
21125
|
+
422: HttpValidationError;
|
|
21126
|
+
/**
|
|
21127
|
+
* Rate limit exceeded
|
|
21128
|
+
*/
|
|
21129
|
+
429: ErrorResponse;
|
|
21130
|
+
/**
|
|
21131
|
+
* Internal server error
|
|
21132
|
+
*/
|
|
21133
|
+
500: ErrorResponse;
|
|
21134
|
+
};
|
|
21135
|
+
export type SetSelectedGraphError = SetSelectedGraphErrors[keyof SetSelectedGraphErrors];
|
|
21136
|
+
export type SetSelectedGraphResponses = {
|
|
21137
|
+
/**
|
|
21138
|
+
* Successful Response
|
|
21139
|
+
*/
|
|
21140
|
+
200: SuccessResponse;
|
|
21141
|
+
};
|
|
21142
|
+
export type SetSelectedGraphResponse = SetSelectedGraphResponses[keyof SetSelectedGraphResponses];
|
|
21085
21143
|
export type ListUserApiKeysData = {
|
|
21086
21144
|
body?: never;
|
|
21087
21145
|
path?: never;
|
|
@@ -22002,30 +22060,18 @@ export type GetOrgUsageResponses = {
|
|
|
22002
22060
|
200: OrgUsageResponse;
|
|
22003
22061
|
};
|
|
22004
22062
|
export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
|
|
22005
|
-
export type
|
|
22006
|
-
body
|
|
22007
|
-
headers?: {
|
|
22008
|
-
/**
|
|
22009
|
-
* Idempotency-Key
|
|
22010
|
-
*/
|
|
22011
|
-
'Idempotency-Key'?: string | null;
|
|
22012
|
-
};
|
|
22063
|
+
export type GetConnectionOptionsData = {
|
|
22064
|
+
body?: never;
|
|
22013
22065
|
path: {
|
|
22014
22066
|
/**
|
|
22015
22067
|
* Graph Id
|
|
22016
22068
|
*/
|
|
22017
22069
|
graph_id: string;
|
|
22018
|
-
/**
|
|
22019
|
-
* Connection Id
|
|
22020
|
-
*
|
|
22021
|
-
* Connection identifier
|
|
22022
|
-
*/
|
|
22023
|
-
connection_id: string;
|
|
22024
22070
|
};
|
|
22025
22071
|
query?: never;
|
|
22026
|
-
url: '/v1/graphs/{graph_id}/connections/
|
|
22072
|
+
url: '/v1/graphs/{graph_id}/connections/options';
|
|
22027
22073
|
};
|
|
22028
|
-
export type
|
|
22074
|
+
export type GetConnectionOptionsErrors = {
|
|
22029
22075
|
/**
|
|
22030
22076
|
* Invalid request
|
|
22031
22077
|
*/
|
|
@@ -22043,13 +22089,9 @@ export type SyncConnectionErrors = {
|
|
|
22043
22089
|
*/
|
|
22044
22090
|
404: ErrorResponse;
|
|
22045
22091
|
/**
|
|
22046
|
-
*
|
|
22047
|
-
*/
|
|
22048
|
-
409: ErrorResponse;
|
|
22049
|
-
/**
|
|
22050
|
-
* Validation error
|
|
22092
|
+
* Validation Error
|
|
22051
22093
|
*/
|
|
22052
|
-
422:
|
|
22094
|
+
422: HttpValidationError;
|
|
22053
22095
|
/**
|
|
22054
22096
|
* Rate limit exceeded
|
|
22055
22097
|
*/
|
|
@@ -22058,20 +22100,16 @@ export type SyncConnectionErrors = {
|
|
|
22058
22100
|
* Internal server error
|
|
22059
22101
|
*/
|
|
22060
22102
|
500: ErrorResponse;
|
|
22061
|
-
/**
|
|
22062
|
-
* Sync request timed out
|
|
22063
|
-
*/
|
|
22064
|
-
504: unknown;
|
|
22065
22103
|
};
|
|
22066
|
-
export type
|
|
22067
|
-
export type
|
|
22104
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
22105
|
+
export type GetConnectionOptionsResponses = {
|
|
22068
22106
|
/**
|
|
22069
22107
|
* Successful Response
|
|
22070
22108
|
*/
|
|
22071
|
-
|
|
22109
|
+
200: ConnectionOptionsResponse;
|
|
22072
22110
|
};
|
|
22073
|
-
export type
|
|
22074
|
-
export type
|
|
22111
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
22112
|
+
export type ListConnectionsData = {
|
|
22075
22113
|
body?: never;
|
|
22076
22114
|
path: {
|
|
22077
22115
|
/**
|
|
@@ -22079,10 +22117,23 @@ export type GetConnectionOptionsData = {
|
|
|
22079
22117
|
*/
|
|
22080
22118
|
graph_id: string;
|
|
22081
22119
|
};
|
|
22082
|
-
query?:
|
|
22083
|
-
|
|
22120
|
+
query?: {
|
|
22121
|
+
/**
|
|
22122
|
+
* Entity Id
|
|
22123
|
+
*
|
|
22124
|
+
* Filter by entity ID
|
|
22125
|
+
*/
|
|
22126
|
+
entity_id?: string | null;
|
|
22127
|
+
/**
|
|
22128
|
+
* Provider
|
|
22129
|
+
*
|
|
22130
|
+
* Filter by provider type
|
|
22131
|
+
*/
|
|
22132
|
+
provider?: 'quickbooks' | 'external' | 'mercury' | 'plaid' | null;
|
|
22133
|
+
};
|
|
22134
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
22084
22135
|
};
|
|
22085
|
-
export type
|
|
22136
|
+
export type ListConnectionsErrors = {
|
|
22086
22137
|
/**
|
|
22087
22138
|
* Invalid request
|
|
22088
22139
|
*/
|
|
@@ -22112,16 +22163,18 @@ export type GetConnectionOptionsErrors = {
|
|
|
22112
22163
|
*/
|
|
22113
22164
|
500: ErrorResponse;
|
|
22114
22165
|
};
|
|
22115
|
-
export type
|
|
22116
|
-
export type
|
|
22166
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
22167
|
+
export type ListConnectionsResponses = {
|
|
22117
22168
|
/**
|
|
22169
|
+
* Response Listconnections
|
|
22170
|
+
*
|
|
22118
22171
|
* Successful Response
|
|
22119
22172
|
*/
|
|
22120
|
-
200:
|
|
22173
|
+
200: Array<ConnectionResponse>;
|
|
22121
22174
|
};
|
|
22122
|
-
export type
|
|
22123
|
-
export type
|
|
22124
|
-
body:
|
|
22175
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
22176
|
+
export type CreateConnectionData = {
|
|
22177
|
+
body: CreateConnectionRequest;
|
|
22125
22178
|
path: {
|
|
22126
22179
|
/**
|
|
22127
22180
|
* Graph Id
|
|
@@ -22129,9 +22182,9 @@ export type InitOAuthData = {
|
|
|
22129
22182
|
graph_id: string;
|
|
22130
22183
|
};
|
|
22131
22184
|
query?: never;
|
|
22132
|
-
url: '/v1/graphs/{graph_id}/connections
|
|
22185
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
22133
22186
|
};
|
|
22134
|
-
export type
|
|
22187
|
+
export type CreateConnectionErrors = {
|
|
22135
22188
|
/**
|
|
22136
22189
|
* Invalid request
|
|
22137
22190
|
*/
|
|
@@ -22148,6 +22201,10 @@ export type InitOAuthErrors = {
|
|
|
22148
22201
|
* Resource not found
|
|
22149
22202
|
*/
|
|
22150
22203
|
404: ErrorResponse;
|
|
22204
|
+
/**
|
|
22205
|
+
* Connection already exists for this provider
|
|
22206
|
+
*/
|
|
22207
|
+
409: unknown;
|
|
22151
22208
|
/**
|
|
22152
22209
|
* Validation Error
|
|
22153
22210
|
*/
|
|
@@ -22161,32 +22218,26 @@ export type InitOAuthErrors = {
|
|
|
22161
22218
|
*/
|
|
22162
22219
|
500: ErrorResponse;
|
|
22163
22220
|
};
|
|
22164
|
-
export type
|
|
22165
|
-
export type
|
|
22221
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
22222
|
+
export type CreateConnectionResponses = {
|
|
22166
22223
|
/**
|
|
22167
22224
|
* Successful Response
|
|
22168
22225
|
*/
|
|
22169
|
-
|
|
22226
|
+
201: ConnectionResponse;
|
|
22170
22227
|
};
|
|
22171
|
-
export type
|
|
22172
|
-
export type
|
|
22173
|
-
body:
|
|
22228
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
22229
|
+
export type InitOAuthData = {
|
|
22230
|
+
body: OAuthInitRequest;
|
|
22174
22231
|
path: {
|
|
22175
|
-
/**
|
|
22176
|
-
* Provider
|
|
22177
|
-
*
|
|
22178
|
-
* OAuth provider name
|
|
22179
|
-
*/
|
|
22180
|
-
provider: string;
|
|
22181
22232
|
/**
|
|
22182
22233
|
* Graph Id
|
|
22183
22234
|
*/
|
|
22184
22235
|
graph_id: string;
|
|
22185
22236
|
};
|
|
22186
22237
|
query?: never;
|
|
22187
|
-
url: '/v1/graphs/{graph_id}/connections/oauth/
|
|
22238
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/init';
|
|
22188
22239
|
};
|
|
22189
|
-
export type
|
|
22240
|
+
export type InitOAuthErrors = {
|
|
22190
22241
|
/**
|
|
22191
22242
|
* Invalid request
|
|
22192
22243
|
*/
|
|
@@ -22216,39 +22267,32 @@ export type OauthCallbackErrors = {
|
|
|
22216
22267
|
*/
|
|
22217
22268
|
500: ErrorResponse;
|
|
22218
22269
|
};
|
|
22219
|
-
export type
|
|
22220
|
-
export type
|
|
22270
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
22271
|
+
export type InitOAuthResponses = {
|
|
22221
22272
|
/**
|
|
22222
22273
|
* Successful Response
|
|
22223
22274
|
*/
|
|
22224
|
-
200:
|
|
22275
|
+
200: OAuthInitResponse;
|
|
22225
22276
|
};
|
|
22226
|
-
export type
|
|
22227
|
-
export type
|
|
22228
|
-
body
|
|
22277
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
22278
|
+
export type OauthCallbackData = {
|
|
22279
|
+
body: OAuthCallbackRequest;
|
|
22229
22280
|
path: {
|
|
22230
22281
|
/**
|
|
22231
|
-
*
|
|
22232
|
-
*/
|
|
22233
|
-
graph_id: string;
|
|
22234
|
-
};
|
|
22235
|
-
query?: {
|
|
22236
|
-
/**
|
|
22237
|
-
* Entity Id
|
|
22282
|
+
* Provider
|
|
22238
22283
|
*
|
|
22239
|
-
*
|
|
22284
|
+
* OAuth provider name
|
|
22240
22285
|
*/
|
|
22241
|
-
|
|
22286
|
+
provider: string;
|
|
22242
22287
|
/**
|
|
22243
|
-
*
|
|
22244
|
-
*
|
|
22245
|
-
* Filter by provider type
|
|
22288
|
+
* Graph Id
|
|
22246
22289
|
*/
|
|
22247
|
-
|
|
22290
|
+
graph_id: string;
|
|
22248
22291
|
};
|
|
22249
|
-
|
|
22292
|
+
query?: never;
|
|
22293
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
|
|
22250
22294
|
};
|
|
22251
|
-
export type
|
|
22295
|
+
export type OauthCallbackErrors = {
|
|
22252
22296
|
/**
|
|
22253
22297
|
* Invalid request
|
|
22254
22298
|
*/
|
|
@@ -22278,28 +22322,39 @@ export type ListConnectionsErrors = {
|
|
|
22278
22322
|
*/
|
|
22279
22323
|
500: ErrorResponse;
|
|
22280
22324
|
};
|
|
22281
|
-
export type
|
|
22282
|
-
export type
|
|
22325
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
22326
|
+
export type OauthCallbackResponses = {
|
|
22283
22327
|
/**
|
|
22284
|
-
* Response Listconnections
|
|
22285
|
-
*
|
|
22286
22328
|
* Successful Response
|
|
22287
22329
|
*/
|
|
22288
|
-
200:
|
|
22330
|
+
200: OAuthCallbackResponse;
|
|
22289
22331
|
};
|
|
22290
|
-
export type
|
|
22291
|
-
export type
|
|
22292
|
-
body
|
|
22332
|
+
export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
|
|
22333
|
+
export type DeleteConnectionData = {
|
|
22334
|
+
body?: never;
|
|
22293
22335
|
path: {
|
|
22294
22336
|
/**
|
|
22295
22337
|
* Graph Id
|
|
22296
22338
|
*/
|
|
22297
22339
|
graph_id: string;
|
|
22340
|
+
/**
|
|
22341
|
+
* Connection Id
|
|
22342
|
+
*
|
|
22343
|
+
* Connection identifier
|
|
22344
|
+
*/
|
|
22345
|
+
connection_id: string;
|
|
22298
22346
|
};
|
|
22299
|
-
query?:
|
|
22300
|
-
|
|
22347
|
+
query?: {
|
|
22348
|
+
/**
|
|
22349
|
+
* Disposition
|
|
22350
|
+
*
|
|
22351
|
+
* `disconnect` (default): soft-delete; a later re-OAuth to the same realm revives the connection. `sever`: the native-accounting cutover — QuickBooks only; the chart it created is stamped native-owned, write_policy drops to native, and the connection is never revived.
|
|
22352
|
+
*/
|
|
22353
|
+
disposition?: 'disconnect' | 'sever';
|
|
22354
|
+
};
|
|
22355
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
22301
22356
|
};
|
|
22302
|
-
export type
|
|
22357
|
+
export type DeleteConnectionErrors = {
|
|
22303
22358
|
/**
|
|
22304
22359
|
* Invalid request
|
|
22305
22360
|
*/
|
|
@@ -22316,10 +22371,6 @@ export type CreateConnectionErrors = {
|
|
|
22316
22371
|
* Resource not found
|
|
22317
22372
|
*/
|
|
22318
22373
|
404: ErrorResponse;
|
|
22319
|
-
/**
|
|
22320
|
-
* Connection already exists for this provider
|
|
22321
|
-
*/
|
|
22322
|
-
409: unknown;
|
|
22323
22374
|
/**
|
|
22324
22375
|
* Validation Error
|
|
22325
22376
|
*/
|
|
@@ -22333,15 +22384,15 @@ export type CreateConnectionErrors = {
|
|
|
22333
22384
|
*/
|
|
22334
22385
|
500: ErrorResponse;
|
|
22335
22386
|
};
|
|
22336
|
-
export type
|
|
22337
|
-
export type
|
|
22387
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
22388
|
+
export type DeleteConnectionResponses = {
|
|
22338
22389
|
/**
|
|
22339
22390
|
* Successful Response
|
|
22340
22391
|
*/
|
|
22341
|
-
|
|
22392
|
+
200: SuccessResponse;
|
|
22342
22393
|
};
|
|
22343
|
-
export type
|
|
22344
|
-
export type
|
|
22394
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
22395
|
+
export type GetConnectionData = {
|
|
22345
22396
|
body?: never;
|
|
22346
22397
|
path: {
|
|
22347
22398
|
/**
|
|
@@ -22351,21 +22402,14 @@ export type DeleteConnectionData = {
|
|
|
22351
22402
|
/**
|
|
22352
22403
|
* Connection Id
|
|
22353
22404
|
*
|
|
22354
|
-
*
|
|
22405
|
+
* Unique connection identifier
|
|
22355
22406
|
*/
|
|
22356
22407
|
connection_id: string;
|
|
22357
22408
|
};
|
|
22358
|
-
query?:
|
|
22359
|
-
/**
|
|
22360
|
-
* Disposition
|
|
22361
|
-
*
|
|
22362
|
-
* `disconnect` (default): soft-delete; a later re-OAuth to the same realm revives the connection. `sever`: the native-accounting cutover — QuickBooks only; the chart it created is stamped native-owned, write_policy drops to native, and the connection is never revived.
|
|
22363
|
-
*/
|
|
22364
|
-
disposition?: 'disconnect' | 'sever';
|
|
22365
|
-
};
|
|
22409
|
+
query?: never;
|
|
22366
22410
|
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
22367
22411
|
};
|
|
22368
|
-
export type
|
|
22412
|
+
export type GetConnectionErrors = {
|
|
22369
22413
|
/**
|
|
22370
22414
|
* Invalid request
|
|
22371
22415
|
*/
|
|
@@ -22395,16 +22439,22 @@ export type DeleteConnectionErrors = {
|
|
|
22395
22439
|
*/
|
|
22396
22440
|
500: ErrorResponse;
|
|
22397
22441
|
};
|
|
22398
|
-
export type
|
|
22399
|
-
export type
|
|
22442
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
22443
|
+
export type GetConnectionResponses = {
|
|
22400
22444
|
/**
|
|
22401
22445
|
* Successful Response
|
|
22402
22446
|
*/
|
|
22403
|
-
200:
|
|
22447
|
+
200: ConnectionResponse;
|
|
22404
22448
|
};
|
|
22405
|
-
export type
|
|
22406
|
-
export type
|
|
22407
|
-
body
|
|
22449
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
22450
|
+
export type SyncConnectionData = {
|
|
22451
|
+
body: SyncConnectionRequest;
|
|
22452
|
+
headers?: {
|
|
22453
|
+
/**
|
|
22454
|
+
* Idempotency-Key
|
|
22455
|
+
*/
|
|
22456
|
+
'Idempotency-Key'?: string | null;
|
|
22457
|
+
};
|
|
22408
22458
|
path: {
|
|
22409
22459
|
/**
|
|
22410
22460
|
* Graph Id
|
|
@@ -22413,14 +22463,14 @@ export type GetConnectionData = {
|
|
|
22413
22463
|
/**
|
|
22414
22464
|
* Connection Id
|
|
22415
22465
|
*
|
|
22416
|
-
*
|
|
22466
|
+
* Connection identifier
|
|
22417
22467
|
*/
|
|
22418
22468
|
connection_id: string;
|
|
22419
22469
|
};
|
|
22420
22470
|
query?: never;
|
|
22421
|
-
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
22471
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
|
|
22422
22472
|
};
|
|
22423
|
-
export type
|
|
22473
|
+
export type SyncConnectionErrors = {
|
|
22424
22474
|
/**
|
|
22425
22475
|
* Invalid request
|
|
22426
22476
|
*/
|
|
@@ -22438,9 +22488,13 @@ export type GetConnectionErrors = {
|
|
|
22438
22488
|
*/
|
|
22439
22489
|
404: ErrorResponse;
|
|
22440
22490
|
/**
|
|
22441
|
-
*
|
|
22491
|
+
* Idempotency-Key conflict — key reused with different body
|
|
22442
22492
|
*/
|
|
22443
|
-
|
|
22493
|
+
409: ErrorResponse;
|
|
22494
|
+
/**
|
|
22495
|
+
* Validation error
|
|
22496
|
+
*/
|
|
22497
|
+
422: ErrorResponse;
|
|
22444
22498
|
/**
|
|
22445
22499
|
* Rate limit exceeded
|
|
22446
22500
|
*/
|
|
@@ -22449,15 +22503,19 @@ export type GetConnectionErrors = {
|
|
|
22449
22503
|
* Internal server error
|
|
22450
22504
|
*/
|
|
22451
22505
|
500: ErrorResponse;
|
|
22506
|
+
/**
|
|
22507
|
+
* Sync request timed out
|
|
22508
|
+
*/
|
|
22509
|
+
504: unknown;
|
|
22452
22510
|
};
|
|
22453
|
-
export type
|
|
22454
|
-
export type
|
|
22511
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
22512
|
+
export type SyncConnectionResponses = {
|
|
22455
22513
|
/**
|
|
22456
22514
|
* Successful Response
|
|
22457
22515
|
*/
|
|
22458
|
-
|
|
22516
|
+
202: OperationEnvelope;
|
|
22459
22517
|
};
|
|
22460
|
-
export type
|
|
22518
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
22461
22519
|
export type SetConnectionWritePolicyData = {
|
|
22462
22520
|
body: SetWritePolicyRequest;
|
|
22463
22521
|
path: {
|
|
@@ -26013,7 +26071,7 @@ export type StreamOperationEventsData = {
|
|
|
26013
26071
|
/**
|
|
26014
26072
|
* From Sequence
|
|
26015
26073
|
*
|
|
26016
|
-
*
|
|
26074
|
+
* Replay stored events from this sequence number, then stream live ones. A running operation replays nothing at 0 (live events only); a settled one replays its history from here (0 = all) and closes.
|
|
26017
26075
|
*/
|
|
26018
26076
|
from_sequence?: number;
|
|
26019
26077
|
/**
|