@vrplatform/api 1.2.33-958 → 1.2.33-962

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.
@@ -1405,6 +1405,23 @@ export interface paths {
1405
1405
  patch?: never;
1406
1406
  trace?: never;
1407
1407
  };
1408
+ "/store-actions/{id}": {
1409
+ parameters: {
1410
+ query?: never;
1411
+ header?: never;
1412
+ path?: never;
1413
+ cookie?: never;
1414
+ };
1415
+ /** @description Retrieve a dispatched action and queued effects for progress tracking */
1416
+ get: operations["getStoreAction"];
1417
+ put?: never;
1418
+ post?: never;
1419
+ delete?: never;
1420
+ options?: never;
1421
+ head?: never;
1422
+ patch?: never;
1423
+ trace?: never;
1424
+ };
1408
1425
  "/reviews": {
1409
1426
  parameters: {
1410
1427
  query?: never;
@@ -21229,6 +21246,118 @@ export interface operations {
21229
21246
  };
21230
21247
  };
21231
21248
  };
21249
+ getStoreAction: {
21250
+ parameters: {
21251
+ query?: never;
21252
+ header?: {
21253
+ "X-Team-Id"?: string;
21254
+ };
21255
+ path: {
21256
+ id: string;
21257
+ };
21258
+ cookie?: never;
21259
+ };
21260
+ requestBody?: never;
21261
+ responses: {
21262
+ /** @description Successful response */
21263
+ 200: {
21264
+ headers: {
21265
+ [name: string]: unknown;
21266
+ };
21267
+ content: {
21268
+ "application/json": {
21269
+ /** Format: uuid */
21270
+ id: string;
21271
+ /** Format: uuid */
21272
+ tenantId: string;
21273
+ actionType: string;
21274
+ message: string | null;
21275
+ payload?: unknown;
21276
+ userId: string | null;
21277
+ /** Format: date-time */
21278
+ createdAt: string;
21279
+ effects: {
21280
+ /** Format: uuid */
21281
+ id: string;
21282
+ /** @enum {string} */
21283
+ effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT";
21284
+ payload?: unknown;
21285
+ /** @enum {string} */
21286
+ status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21287
+ priority: number;
21288
+ retryCount: number;
21289
+ maxRetries: number;
21290
+ sequence: number;
21291
+ /** Format: date-time */
21292
+ claimedAt: string | null;
21293
+ claimedBy: string | null;
21294
+ /** Format: date-time */
21295
+ completedAt: string | null;
21296
+ /** Format: date-time */
21297
+ lastAttemptAt: string | null;
21298
+ lastError: string | null;
21299
+ /** Format: date-time */
21300
+ createdAt: string;
21301
+ }[];
21302
+ effectCounts: {
21303
+ total: number;
21304
+ pending: number;
21305
+ claimed: number;
21306
+ running: number;
21307
+ completed: number;
21308
+ failed: number;
21309
+ deadLetter: number;
21310
+ };
21311
+ };
21312
+ };
21313
+ };
21314
+ /** @description Invalid input data */
21315
+ 400: {
21316
+ headers: {
21317
+ [name: string]: unknown;
21318
+ };
21319
+ content: {
21320
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
21321
+ };
21322
+ };
21323
+ /** @description Authorization not provided */
21324
+ 401: {
21325
+ headers: {
21326
+ [name: string]: unknown;
21327
+ };
21328
+ content: {
21329
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
21330
+ };
21331
+ };
21332
+ /** @description Insufficient access */
21333
+ 403: {
21334
+ headers: {
21335
+ [name: string]: unknown;
21336
+ };
21337
+ content: {
21338
+ "application/json": components["schemas"]["error.FORBIDDEN"];
21339
+ };
21340
+ };
21341
+ /** @description Not found */
21342
+ 404: {
21343
+ headers: {
21344
+ [name: string]: unknown;
21345
+ };
21346
+ content: {
21347
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21348
+ };
21349
+ };
21350
+ /** @description Internal server error */
21351
+ 500: {
21352
+ headers: {
21353
+ [name: string]: unknown;
21354
+ };
21355
+ content: {
21356
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21357
+ };
21358
+ };
21359
+ };
21360
+ };
21232
21361
  getReviews: {
21233
21362
  parameters: {
21234
21363
  query?: {