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