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