@vrplatform/api 1.3.1-stage.5016 → 1.3.1-stage.5018

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.3.1-stage.5016",
6
+ "version": "1.3.1-stage.5018",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -5213,6 +5213,27 @@ export interface paths {
5213
5213
  patch?: never;
5214
5214
  trace?: never;
5215
5215
  };
5216
+ "/team/duplicate": {
5217
+ parameters: {
5218
+ query?: never;
5219
+ header?: never;
5220
+ path?: never;
5221
+ cookie?: never;
5222
+ };
5223
+ get?: never;
5224
+ put?: never;
5225
+ /**
5226
+ * @description Queue a test-team duplicate of the supported business and accounting graph for the current team selected by x-team-id. The caller must be the managing partner. The stable uniqueRef makes exact retries target the same clone. Optional anonymization replaces visible PII while preserving accounting amounts, dates, and relationships. Users, tokens, audit history, files, webhooks, automations, integration credentials, and sync runtime state are not copied; cloned connections are disabled shells. Poll the returned audit action through the audit API; restricted tokens also need audit:read.
5227
+ *
5228
+ * Required scope: teams:provision, teams:initialize
5229
+ */
5230
+ post: operations["postTeamDuplicate"];
5231
+ delete?: never;
5232
+ options?: never;
5233
+ head?: never;
5234
+ patch?: never;
5235
+ trace?: never;
5236
+ };
5216
5237
  "/team/generate-demo-data": {
5217
5238
  parameters: {
5218
5239
  query?: never;
@@ -13571,7 +13592,7 @@ export interface operations {
13571
13592
  entityId?: string;
13572
13593
  entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
13573
13594
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
13574
- effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13595
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13575
13596
  page?: number;
13576
13597
  };
13577
13598
  header?: never;
@@ -13609,7 +13630,7 @@ export interface operations {
13609
13630
  rootEntityType: string | null;
13610
13631
  rootEntityId: string | null;
13611
13632
  /** @enum {string} */
13612
- effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13633
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13613
13634
  payload: unknown;
13614
13635
  entity: ({
13615
13636
  /** @constant */
@@ -113155,6 +113176,272 @@ export interface operations {
113155
113176
  };
113156
113177
  };
113157
113178
  };
113179
+ postTeamDuplicate: {
113180
+ parameters: {
113181
+ query?: never;
113182
+ header?: never;
113183
+ path?: never;
113184
+ cookie?: never;
113185
+ };
113186
+ requestBody?: {
113187
+ content: {
113188
+ "application/json": {
113189
+ name: string;
113190
+ uniqueRef: string;
113191
+ /** @default false */
113192
+ anonymize?: boolean;
113193
+ };
113194
+ };
113195
+ };
113196
+ responses: {
113197
+ /** @description Successful response */
113198
+ 200: {
113199
+ headers: {
113200
+ [name: string]: unknown;
113201
+ };
113202
+ content: {
113203
+ "application/json": {
113204
+ /** Format: uuid */
113205
+ actionId: string;
113206
+ anonymized: boolean;
113207
+ name: string;
113208
+ /** Format: uuid */
113209
+ sourceTeamId: string;
113210
+ /** @constant */
113211
+ status: "queued";
113212
+ /** Format: uuid */
113213
+ targetTeamId: string;
113214
+ uniqueRef: string;
113215
+ };
113216
+ };
113217
+ };
113218
+ /** @description Bad request */
113219
+ 400: {
113220
+ headers: {
113221
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113222
+ "Retry-After"?: number;
113223
+ [name: string]: unknown;
113224
+ };
113225
+ content: {
113226
+ "application/json": {
113227
+ code: string;
113228
+ message: string;
113229
+ links?: {
113230
+ docs: string;
113231
+ schema: string;
113232
+ };
113233
+ issues?: {
113234
+ message: string;
113235
+ path?: (string | number)[];
113236
+ schema?: string;
113237
+ }[];
113238
+ retryable?: boolean;
113239
+ context?: unknown;
113240
+ };
113241
+ };
113242
+ };
113243
+ /** @description Unauthorized */
113244
+ 401: {
113245
+ headers: {
113246
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113247
+ "Retry-After"?: number;
113248
+ [name: string]: unknown;
113249
+ };
113250
+ content: {
113251
+ "application/json": {
113252
+ code: string;
113253
+ message: string;
113254
+ links?: {
113255
+ docs: string;
113256
+ schema: string;
113257
+ };
113258
+ issues?: {
113259
+ message: string;
113260
+ path?: (string | number)[];
113261
+ schema?: string;
113262
+ }[];
113263
+ retryable?: boolean;
113264
+ context?: unknown;
113265
+ };
113266
+ };
113267
+ };
113268
+ /** @description Forbidden */
113269
+ 403: {
113270
+ headers: {
113271
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113272
+ "Retry-After"?: number;
113273
+ [name: string]: unknown;
113274
+ };
113275
+ content: {
113276
+ "application/json": {
113277
+ code: string;
113278
+ message: string;
113279
+ links?: {
113280
+ docs: string;
113281
+ schema: string;
113282
+ };
113283
+ issues?: {
113284
+ message: string;
113285
+ path?: (string | number)[];
113286
+ schema?: string;
113287
+ }[];
113288
+ retryable?: boolean;
113289
+ context?: unknown;
113290
+ };
113291
+ };
113292
+ };
113293
+ /** @description Not found */
113294
+ 404: {
113295
+ headers: {
113296
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113297
+ "Retry-After"?: number;
113298
+ [name: string]: unknown;
113299
+ };
113300
+ content: {
113301
+ "application/json": {
113302
+ code: string;
113303
+ message: string;
113304
+ links?: {
113305
+ docs: string;
113306
+ schema: string;
113307
+ };
113308
+ issues?: {
113309
+ message: string;
113310
+ path?: (string | number)[];
113311
+ schema?: string;
113312
+ }[];
113313
+ retryable?: boolean;
113314
+ context?: unknown;
113315
+ };
113316
+ };
113317
+ };
113318
+ /** @description Conflict */
113319
+ 409: {
113320
+ headers: {
113321
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113322
+ "Retry-After"?: number;
113323
+ [name: string]: unknown;
113324
+ };
113325
+ content: {
113326
+ "application/json": {
113327
+ code: string;
113328
+ message: string;
113329
+ links?: {
113330
+ docs: string;
113331
+ schema: string;
113332
+ };
113333
+ issues?: {
113334
+ message: string;
113335
+ path?: (string | number)[];
113336
+ schema?: string;
113337
+ }[];
113338
+ retryable?: boolean;
113339
+ context?: unknown;
113340
+ };
113341
+ };
113342
+ };
113343
+ /** @description Gone */
113344
+ 410: {
113345
+ headers: {
113346
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113347
+ "Retry-After"?: number;
113348
+ [name: string]: unknown;
113349
+ };
113350
+ content: {
113351
+ "application/json": {
113352
+ code: string;
113353
+ message: string;
113354
+ links?: {
113355
+ docs: string;
113356
+ schema: string;
113357
+ };
113358
+ issues?: {
113359
+ message: string;
113360
+ path?: (string | number)[];
113361
+ schema?: string;
113362
+ }[];
113363
+ retryable?: boolean;
113364
+ context?: unknown;
113365
+ };
113366
+ };
113367
+ };
113368
+ /** @description Unprocessable content */
113369
+ 422: {
113370
+ headers: {
113371
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113372
+ "Retry-After"?: number;
113373
+ [name: string]: unknown;
113374
+ };
113375
+ content: {
113376
+ "application/json": {
113377
+ code: string;
113378
+ message: string;
113379
+ links?: {
113380
+ docs: string;
113381
+ schema: string;
113382
+ };
113383
+ issues?: {
113384
+ message: string;
113385
+ path?: (string | number)[];
113386
+ schema?: string;
113387
+ }[];
113388
+ retryable?: boolean;
113389
+ context?: unknown;
113390
+ };
113391
+ };
113392
+ };
113393
+ /** @description Internal server error */
113394
+ 500: {
113395
+ headers: {
113396
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113397
+ "Retry-After"?: number;
113398
+ [name: string]: unknown;
113399
+ };
113400
+ content: {
113401
+ "application/json": {
113402
+ code: string;
113403
+ message: string;
113404
+ links?: {
113405
+ docs: string;
113406
+ schema: string;
113407
+ };
113408
+ issues?: {
113409
+ message: string;
113410
+ path?: (string | number)[];
113411
+ schema?: string;
113412
+ }[];
113413
+ retryable?: boolean;
113414
+ context?: unknown;
113415
+ };
113416
+ };
113417
+ };
113418
+ /** @description Service unavailable */
113419
+ 503: {
113420
+ headers: {
113421
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
113422
+ "Retry-After"?: number;
113423
+ [name: string]: unknown;
113424
+ };
113425
+ content: {
113426
+ "application/json": {
113427
+ code: string;
113428
+ message: string;
113429
+ links?: {
113430
+ docs: string;
113431
+ schema: string;
113432
+ };
113433
+ issues?: {
113434
+ message: string;
113435
+ path?: (string | number)[];
113436
+ schema?: string;
113437
+ }[];
113438
+ retryable?: boolean;
113439
+ context?: unknown;
113440
+ };
113441
+ };
113442
+ };
113443
+ };
113444
+ };
113158
113445
  postTeamGenerateDemoData: {
113159
113446
  parameters: {
113160
113447
  query?: never;