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

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.
@@ -417,6 +417,48 @@ export interface paths {
417
417
  patch?: never;
418
418
  trace?: never;
419
419
  };
420
+ "/audit/events": {
421
+ parameters: {
422
+ query?: never;
423
+ header?: never;
424
+ path?: never;
425
+ cookie?: never;
426
+ };
427
+ /**
428
+ * @description List public, upsertable audit events for the selected team. Posting changes are omitted by default; use include=postingChanges to expand them. Results are ordered by updatedAt and id so later accounting revisions reappear in ascending synchronization feeds. Ascending reads trail real time by a short visibility lag so concurrently committed revisions are never skipped.
429
+ *
430
+ * Required scope: audit:read
431
+ */
432
+ get: operations["getAuditEvents"];
433
+ put?: never;
434
+ post?: never;
435
+ delete?: never;
436
+ options?: never;
437
+ head?: never;
438
+ patch?: never;
439
+ trace?: never;
440
+ };
441
+ "/audit/events/{id}": {
442
+ parameters: {
443
+ query?: never;
444
+ header?: never;
445
+ path?: never;
446
+ cookie?: never;
447
+ };
448
+ /**
449
+ * @description Get one team-scoped public audit event with signed accounting posting-bucket before and after totals. Internal journal rows and effect mechanics are never returned.
450
+ *
451
+ * Required scope: audit:read
452
+ */
453
+ get: operations["getAuditEventsById"];
454
+ put?: never;
455
+ post?: never;
456
+ delete?: never;
457
+ options?: never;
458
+ head?: never;
459
+ patch?: never;
460
+ trace?: never;
461
+ };
420
462
  "/audit/journal-deltas": {
421
463
  parameters: {
422
464
  query?: never;
@@ -2913,6 +2955,27 @@ export interface paths {
2913
2955
  patch?: never;
2914
2956
  trace?: never;
2915
2957
  };
2958
+ "/partner/audit-events": {
2959
+ parameters: {
2960
+ query?: never;
2961
+ header?: never;
2962
+ path?: never;
2963
+ cookie?: never;
2964
+ };
2965
+ /**
2966
+ * @description List public audit events for managed teams in one regional partition. Posting changes are omitted by default; use include=postingChanges to expand them. Synchronize each data region independently with order=asc and upsert repeated event IDs by revision. Ascending reads trail real time by a short visibility lag so concurrently committed revisions are never skipped.
2967
+ *
2968
+ * Required scope: audit:read
2969
+ */
2970
+ get: operations["listPartnerAuditEvents"];
2971
+ put?: never;
2972
+ post?: never;
2973
+ delete?: never;
2974
+ options?: never;
2975
+ head?: never;
2976
+ patch?: never;
2977
+ trace?: never;
2978
+ };
2916
2979
  "/partner/billing": {
2917
2980
  parameters: {
2918
2981
  query?: never;
@@ -13944,6 +14007,855 @@ export interface operations {
13944
14007
  };
13945
14008
  };
13946
14009
  };
14010
+ getAuditEvents: {
14011
+ parameters: {
14012
+ query?: {
14013
+ cursor?: string;
14014
+ limit?: number;
14015
+ order?: "asc" | "desc";
14016
+ /** @description Timestamp string with date, time, milliseconds, and timezone. */
14017
+ updatedFrom?: string;
14018
+ /** @description Timestamp string with date, time, milliseconds, and timezone. */
14019
+ updatedTo?: string;
14020
+ entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14021
+ entityId?: string;
14022
+ actionId?: string;
14023
+ actionCode?: string;
14024
+ operation?: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14025
+ actorType?: "user" | "api_key" | "sync" | "automation" | "system";
14026
+ actorId?: string;
14027
+ accountingStatus?: string;
14028
+ accountId?: string;
14029
+ include?: "postingChanges";
14030
+ };
14031
+ header?: never;
14032
+ path?: never;
14033
+ cookie?: never;
14034
+ };
14035
+ requestBody?: never;
14036
+ responses: {
14037
+ /** @description Successful response */
14038
+ 200: {
14039
+ headers: {
14040
+ [name: string]: unknown;
14041
+ };
14042
+ content: {
14043
+ "application/json": {
14044
+ data: {
14045
+ /** Format: uuid */
14046
+ id: string;
14047
+ revision: number;
14048
+ /** Format: uuid */
14049
+ actionId: string;
14050
+ team: {
14051
+ /** Format: uuid */
14052
+ id: string;
14053
+ uniqueRef: string | null;
14054
+ name: string;
14055
+ };
14056
+ /**
14057
+ * Format: date-time
14058
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14059
+ * @example 2024-01-15T12:30:00.000+00:00
14060
+ */
14061
+ occurredAt: string;
14062
+ /**
14063
+ * Format: date-time
14064
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14065
+ * @example 2024-01-15T12:30:00.000+00:00
14066
+ */
14067
+ updatedAt: string;
14068
+ actor: {
14069
+ /** @enum {string} */
14070
+ type: "user" | "api_key" | "sync" | "automation" | "system";
14071
+ id: string | null;
14072
+ name: string | null;
14073
+ email: string | null;
14074
+ label: string | null;
14075
+ };
14076
+ source: {
14077
+ /** @enum {string} */
14078
+ type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
14079
+ requestId: string | null;
14080
+ };
14081
+ action: {
14082
+ code: string;
14083
+ summary: string;
14084
+ /** @enum {string} */
14085
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14086
+ };
14087
+ rootEntity: {
14088
+ /** @enum {string} */
14089
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14090
+ /** Format: uuid */
14091
+ id: string;
14092
+ uniqueRef: string | null;
14093
+ name: string | null;
14094
+ };
14095
+ entityChanges: {
14096
+ entity: {
14097
+ /** @enum {string} */
14098
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
14099
+ /** Format: uuid */
14100
+ id: string;
14101
+ uniqueRef: string | null;
14102
+ name: string | null;
14103
+ };
14104
+ /** @enum {string} */
14105
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14106
+ changes: {
14107
+ path: string;
14108
+ before?: unknown;
14109
+ after?: unknown;
14110
+ }[];
14111
+ redactedFields: string[];
14112
+ }[];
14113
+ accountingImpact: {
14114
+ /** @enum {string} */
14115
+ status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
14116
+ changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
14117
+ affected: {
14118
+ accounts: {
14119
+ /** Format: uuid */
14120
+ id: string;
14121
+ name: string;
14122
+ category: {
14123
+ /** Format: uuid */
14124
+ id: string;
14125
+ name: string;
14126
+ classification: string | null;
14127
+ };
14128
+ }[];
14129
+ periods: string[];
14130
+ ownershipPeriodIds: string[];
14131
+ ownerStatementIds: string[];
14132
+ };
14133
+ postingChanges?: {
14134
+ dimensions: {
14135
+ account: {
14136
+ /** Format: uuid */
14137
+ id: string;
14138
+ name: string;
14139
+ category: {
14140
+ /** Format: uuid */
14141
+ id: string;
14142
+ name: string;
14143
+ classification: string | null;
14144
+ };
14145
+ } | null;
14146
+ party: string | null;
14147
+ currency: string | null;
14148
+ postingDate: string | null;
14149
+ ledger: string | null;
14150
+ status: string | null;
14151
+ ownershipPeriodId: string | null;
14152
+ ownerStatementId: string | null;
14153
+ };
14154
+ centTotal: {
14155
+ before: number | null;
14156
+ after: number | null;
14157
+ };
14158
+ }[];
14159
+ };
14160
+ }[];
14161
+ page: {
14162
+ limit: number;
14163
+ hasMore: boolean;
14164
+ nextCursor: string | null;
14165
+ };
14166
+ };
14167
+ };
14168
+ };
14169
+ /** @description Bad request */
14170
+ 400: {
14171
+ headers: {
14172
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14173
+ "Retry-After"?: number;
14174
+ [name: string]: unknown;
14175
+ };
14176
+ content: {
14177
+ "application/json": {
14178
+ code: string;
14179
+ message: string;
14180
+ links?: {
14181
+ docs: string;
14182
+ schema: string;
14183
+ };
14184
+ issues?: {
14185
+ message: string;
14186
+ path?: (string | number)[];
14187
+ schema?: string;
14188
+ }[];
14189
+ retryable?: boolean;
14190
+ context?: unknown;
14191
+ };
14192
+ };
14193
+ };
14194
+ /** @description Unauthorized */
14195
+ 401: {
14196
+ headers: {
14197
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14198
+ "Retry-After"?: number;
14199
+ [name: string]: unknown;
14200
+ };
14201
+ content: {
14202
+ "application/json": {
14203
+ code: string;
14204
+ message: string;
14205
+ links?: {
14206
+ docs: string;
14207
+ schema: string;
14208
+ };
14209
+ issues?: {
14210
+ message: string;
14211
+ path?: (string | number)[];
14212
+ schema?: string;
14213
+ }[];
14214
+ retryable?: boolean;
14215
+ context?: unknown;
14216
+ };
14217
+ };
14218
+ };
14219
+ /** @description Forbidden */
14220
+ 403: {
14221
+ headers: {
14222
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14223
+ "Retry-After"?: number;
14224
+ [name: string]: unknown;
14225
+ };
14226
+ content: {
14227
+ "application/json": {
14228
+ code: string;
14229
+ message: string;
14230
+ links?: {
14231
+ docs: string;
14232
+ schema: string;
14233
+ };
14234
+ issues?: {
14235
+ message: string;
14236
+ path?: (string | number)[];
14237
+ schema?: string;
14238
+ }[];
14239
+ retryable?: boolean;
14240
+ context?: unknown;
14241
+ };
14242
+ };
14243
+ };
14244
+ /** @description Not found */
14245
+ 404: {
14246
+ headers: {
14247
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14248
+ "Retry-After"?: number;
14249
+ [name: string]: unknown;
14250
+ };
14251
+ content: {
14252
+ "application/json": {
14253
+ code: string;
14254
+ message: string;
14255
+ links?: {
14256
+ docs: string;
14257
+ schema: string;
14258
+ };
14259
+ issues?: {
14260
+ message: string;
14261
+ path?: (string | number)[];
14262
+ schema?: string;
14263
+ }[];
14264
+ retryable?: boolean;
14265
+ context?: unknown;
14266
+ };
14267
+ };
14268
+ };
14269
+ /** @description Conflict */
14270
+ 409: {
14271
+ headers: {
14272
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14273
+ "Retry-After"?: number;
14274
+ [name: string]: unknown;
14275
+ };
14276
+ content: {
14277
+ "application/json": {
14278
+ code: string;
14279
+ message: string;
14280
+ links?: {
14281
+ docs: string;
14282
+ schema: string;
14283
+ };
14284
+ issues?: {
14285
+ message: string;
14286
+ path?: (string | number)[];
14287
+ schema?: string;
14288
+ }[];
14289
+ retryable?: boolean;
14290
+ context?: unknown;
14291
+ };
14292
+ };
14293
+ };
14294
+ /** @description Audit cursor expired */
14295
+ 410: {
14296
+ headers: {
14297
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14298
+ "Retry-After"?: number;
14299
+ [name: string]: unknown;
14300
+ };
14301
+ content: {
14302
+ "application/json": {
14303
+ code: string;
14304
+ message: string;
14305
+ links?: {
14306
+ docs: string;
14307
+ schema: string;
14308
+ };
14309
+ issues?: {
14310
+ message: string;
14311
+ path?: (string | number)[];
14312
+ schema?: string;
14313
+ }[];
14314
+ retryable?: boolean;
14315
+ context?: unknown;
14316
+ };
14317
+ };
14318
+ };
14319
+ /** @description Misdirected regional request */
14320
+ 421: {
14321
+ headers: {
14322
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14323
+ "Retry-After"?: number;
14324
+ [name: string]: unknown;
14325
+ };
14326
+ content: {
14327
+ "application/json": {
14328
+ code: string;
14329
+ message: string;
14330
+ links?: {
14331
+ docs: string;
14332
+ schema: string;
14333
+ };
14334
+ issues?: {
14335
+ message: string;
14336
+ path?: (string | number)[];
14337
+ schema?: string;
14338
+ }[];
14339
+ retryable?: boolean;
14340
+ context?: unknown;
14341
+ };
14342
+ };
14343
+ };
14344
+ /** @description Unprocessable content */
14345
+ 422: {
14346
+ headers: {
14347
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14348
+ "Retry-After"?: number;
14349
+ [name: string]: unknown;
14350
+ };
14351
+ content: {
14352
+ "application/json": {
14353
+ code: string;
14354
+ message: string;
14355
+ links?: {
14356
+ docs: string;
14357
+ schema: string;
14358
+ };
14359
+ issues?: {
14360
+ message: string;
14361
+ path?: (string | number)[];
14362
+ schema?: string;
14363
+ }[];
14364
+ retryable?: boolean;
14365
+ context?: unknown;
14366
+ };
14367
+ };
14368
+ };
14369
+ /** @description Rate limited */
14370
+ 429: {
14371
+ headers: {
14372
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14373
+ "Retry-After"?: number;
14374
+ [name: string]: unknown;
14375
+ };
14376
+ content: {
14377
+ "application/json": {
14378
+ code: string;
14379
+ message: string;
14380
+ links?: {
14381
+ docs: string;
14382
+ schema: string;
14383
+ };
14384
+ issues?: {
14385
+ message: string;
14386
+ path?: (string | number)[];
14387
+ schema?: string;
14388
+ }[];
14389
+ retryable?: boolean;
14390
+ context?: unknown;
14391
+ };
14392
+ };
14393
+ };
14394
+ /** @description Internal server error */
14395
+ 500: {
14396
+ headers: {
14397
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14398
+ "Retry-After"?: number;
14399
+ [name: string]: unknown;
14400
+ };
14401
+ content: {
14402
+ "application/json": {
14403
+ code: string;
14404
+ message: string;
14405
+ links?: {
14406
+ docs: string;
14407
+ schema: string;
14408
+ };
14409
+ issues?: {
14410
+ message: string;
14411
+ path?: (string | number)[];
14412
+ schema?: string;
14413
+ }[];
14414
+ retryable?: boolean;
14415
+ context?: unknown;
14416
+ };
14417
+ };
14418
+ };
14419
+ /** @description Service unavailable */
14420
+ 503: {
14421
+ headers: {
14422
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14423
+ "Retry-After"?: number;
14424
+ [name: string]: unknown;
14425
+ };
14426
+ content: {
14427
+ "application/json": {
14428
+ code: string;
14429
+ message: string;
14430
+ links?: {
14431
+ docs: string;
14432
+ schema: string;
14433
+ };
14434
+ issues?: {
14435
+ message: string;
14436
+ path?: (string | number)[];
14437
+ schema?: string;
14438
+ }[];
14439
+ retryable?: boolean;
14440
+ context?: unknown;
14441
+ };
14442
+ };
14443
+ };
14444
+ };
14445
+ };
14446
+ getAuditEventsById: {
14447
+ parameters: {
14448
+ query?: never;
14449
+ header?: never;
14450
+ path: {
14451
+ id: string;
14452
+ };
14453
+ cookie?: never;
14454
+ };
14455
+ requestBody?: never;
14456
+ responses: {
14457
+ /** @description Successful response */
14458
+ 200: {
14459
+ headers: {
14460
+ [name: string]: unknown;
14461
+ };
14462
+ content: {
14463
+ "application/json": {
14464
+ /** Format: uuid */
14465
+ id: string;
14466
+ revision: number;
14467
+ /** Format: uuid */
14468
+ actionId: string;
14469
+ team: {
14470
+ /** Format: uuid */
14471
+ id: string;
14472
+ uniqueRef: string | null;
14473
+ name: string;
14474
+ };
14475
+ /**
14476
+ * Format: date-time
14477
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14478
+ * @example 2024-01-15T12:30:00.000+00:00
14479
+ */
14480
+ occurredAt: string;
14481
+ /**
14482
+ * Format: date-time
14483
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14484
+ * @example 2024-01-15T12:30:00.000+00:00
14485
+ */
14486
+ updatedAt: string;
14487
+ actor: {
14488
+ /** @enum {string} */
14489
+ type: "user" | "api_key" | "sync" | "automation" | "system";
14490
+ id: string | null;
14491
+ name: string | null;
14492
+ email: string | null;
14493
+ label: string | null;
14494
+ };
14495
+ source: {
14496
+ /** @enum {string} */
14497
+ type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
14498
+ requestId: string | null;
14499
+ };
14500
+ action: {
14501
+ code: string;
14502
+ summary: string;
14503
+ /** @enum {string} */
14504
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14505
+ };
14506
+ rootEntity: {
14507
+ /** @enum {string} */
14508
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14509
+ /** Format: uuid */
14510
+ id: string;
14511
+ uniqueRef: string | null;
14512
+ name: string | null;
14513
+ };
14514
+ entityChanges: {
14515
+ entity: {
14516
+ /** @enum {string} */
14517
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
14518
+ /** Format: uuid */
14519
+ id: string;
14520
+ uniqueRef: string | null;
14521
+ name: string | null;
14522
+ };
14523
+ /** @enum {string} */
14524
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14525
+ changes: {
14526
+ path: string;
14527
+ before?: unknown;
14528
+ after?: unknown;
14529
+ }[];
14530
+ redactedFields: string[];
14531
+ }[];
14532
+ accountingImpact: {
14533
+ /** @enum {string} */
14534
+ status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
14535
+ changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
14536
+ affected: {
14537
+ accounts: {
14538
+ /** Format: uuid */
14539
+ id: string;
14540
+ name: string;
14541
+ category: {
14542
+ /** Format: uuid */
14543
+ id: string;
14544
+ name: string;
14545
+ classification: string | null;
14546
+ };
14547
+ }[];
14548
+ periods: string[];
14549
+ ownershipPeriodIds: string[];
14550
+ ownerStatementIds: string[];
14551
+ };
14552
+ postingChanges: {
14553
+ dimensions: {
14554
+ account: {
14555
+ /** Format: uuid */
14556
+ id: string;
14557
+ name: string;
14558
+ category: {
14559
+ /** Format: uuid */
14560
+ id: string;
14561
+ name: string;
14562
+ classification: string | null;
14563
+ };
14564
+ } | null;
14565
+ party: string | null;
14566
+ currency: string | null;
14567
+ postingDate: string | null;
14568
+ ledger: string | null;
14569
+ status: string | null;
14570
+ ownershipPeriodId: string | null;
14571
+ ownerStatementId: string | null;
14572
+ };
14573
+ centTotal: {
14574
+ before: number | null;
14575
+ after: number | null;
14576
+ };
14577
+ }[];
14578
+ };
14579
+ };
14580
+ };
14581
+ };
14582
+ /** @description Bad request */
14583
+ 400: {
14584
+ headers: {
14585
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14586
+ "Retry-After"?: number;
14587
+ [name: string]: unknown;
14588
+ };
14589
+ content: {
14590
+ "application/json": {
14591
+ code: string;
14592
+ message: string;
14593
+ links?: {
14594
+ docs: string;
14595
+ schema: string;
14596
+ };
14597
+ issues?: {
14598
+ message: string;
14599
+ path?: (string | number)[];
14600
+ schema?: string;
14601
+ }[];
14602
+ retryable?: boolean;
14603
+ context?: unknown;
14604
+ };
14605
+ };
14606
+ };
14607
+ /** @description Unauthorized */
14608
+ 401: {
14609
+ headers: {
14610
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14611
+ "Retry-After"?: number;
14612
+ [name: string]: unknown;
14613
+ };
14614
+ content: {
14615
+ "application/json": {
14616
+ code: string;
14617
+ message: string;
14618
+ links?: {
14619
+ docs: string;
14620
+ schema: string;
14621
+ };
14622
+ issues?: {
14623
+ message: string;
14624
+ path?: (string | number)[];
14625
+ schema?: string;
14626
+ }[];
14627
+ retryable?: boolean;
14628
+ context?: unknown;
14629
+ };
14630
+ };
14631
+ };
14632
+ /** @description Forbidden */
14633
+ 403: {
14634
+ headers: {
14635
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14636
+ "Retry-After"?: number;
14637
+ [name: string]: unknown;
14638
+ };
14639
+ content: {
14640
+ "application/json": {
14641
+ code: string;
14642
+ message: string;
14643
+ links?: {
14644
+ docs: string;
14645
+ schema: string;
14646
+ };
14647
+ issues?: {
14648
+ message: string;
14649
+ path?: (string | number)[];
14650
+ schema?: string;
14651
+ }[];
14652
+ retryable?: boolean;
14653
+ context?: unknown;
14654
+ };
14655
+ };
14656
+ };
14657
+ /** @description Not found */
14658
+ 404: {
14659
+ headers: {
14660
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14661
+ "Retry-After"?: number;
14662
+ [name: string]: unknown;
14663
+ };
14664
+ content: {
14665
+ "application/json": {
14666
+ code: string;
14667
+ message: string;
14668
+ links?: {
14669
+ docs: string;
14670
+ schema: string;
14671
+ };
14672
+ issues?: {
14673
+ message: string;
14674
+ path?: (string | number)[];
14675
+ schema?: string;
14676
+ }[];
14677
+ retryable?: boolean;
14678
+ context?: unknown;
14679
+ };
14680
+ };
14681
+ };
14682
+ /** @description Conflict */
14683
+ 409: {
14684
+ headers: {
14685
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14686
+ "Retry-After"?: number;
14687
+ [name: string]: unknown;
14688
+ };
14689
+ content: {
14690
+ "application/json": {
14691
+ code: string;
14692
+ message: string;
14693
+ links?: {
14694
+ docs: string;
14695
+ schema: string;
14696
+ };
14697
+ issues?: {
14698
+ message: string;
14699
+ path?: (string | number)[];
14700
+ schema?: string;
14701
+ }[];
14702
+ retryable?: boolean;
14703
+ context?: unknown;
14704
+ };
14705
+ };
14706
+ };
14707
+ /** @description Gone */
14708
+ 410: {
14709
+ headers: {
14710
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14711
+ "Retry-After"?: number;
14712
+ [name: string]: unknown;
14713
+ };
14714
+ content: {
14715
+ "application/json": {
14716
+ code: string;
14717
+ message: string;
14718
+ links?: {
14719
+ docs: string;
14720
+ schema: string;
14721
+ };
14722
+ issues?: {
14723
+ message: string;
14724
+ path?: (string | number)[];
14725
+ schema?: string;
14726
+ }[];
14727
+ retryable?: boolean;
14728
+ context?: unknown;
14729
+ };
14730
+ };
14731
+ };
14732
+ /** @description Misdirected regional request */
14733
+ 421: {
14734
+ headers: {
14735
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14736
+ "Retry-After"?: number;
14737
+ [name: string]: unknown;
14738
+ };
14739
+ content: {
14740
+ "application/json": {
14741
+ code: string;
14742
+ message: string;
14743
+ links?: {
14744
+ docs: string;
14745
+ schema: string;
14746
+ };
14747
+ issues?: {
14748
+ message: string;
14749
+ path?: (string | number)[];
14750
+ schema?: string;
14751
+ }[];
14752
+ retryable?: boolean;
14753
+ context?: unknown;
14754
+ };
14755
+ };
14756
+ };
14757
+ /** @description Unprocessable content */
14758
+ 422: {
14759
+ headers: {
14760
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14761
+ "Retry-After"?: number;
14762
+ [name: string]: unknown;
14763
+ };
14764
+ content: {
14765
+ "application/json": {
14766
+ code: string;
14767
+ message: string;
14768
+ links?: {
14769
+ docs: string;
14770
+ schema: string;
14771
+ };
14772
+ issues?: {
14773
+ message: string;
14774
+ path?: (string | number)[];
14775
+ schema?: string;
14776
+ }[];
14777
+ retryable?: boolean;
14778
+ context?: unknown;
14779
+ };
14780
+ };
14781
+ };
14782
+ /** @description Rate limited */
14783
+ 429: {
14784
+ headers: {
14785
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14786
+ "Retry-After"?: number;
14787
+ [name: string]: unknown;
14788
+ };
14789
+ content: {
14790
+ "application/json": {
14791
+ code: string;
14792
+ message: string;
14793
+ links?: {
14794
+ docs: string;
14795
+ schema: string;
14796
+ };
14797
+ issues?: {
14798
+ message: string;
14799
+ path?: (string | number)[];
14800
+ schema?: string;
14801
+ }[];
14802
+ retryable?: boolean;
14803
+ context?: unknown;
14804
+ };
14805
+ };
14806
+ };
14807
+ /** @description Internal server error */
14808
+ 500: {
14809
+ headers: {
14810
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14811
+ "Retry-After"?: number;
14812
+ [name: string]: unknown;
14813
+ };
14814
+ content: {
14815
+ "application/json": {
14816
+ code: string;
14817
+ message: string;
14818
+ links?: {
14819
+ docs: string;
14820
+ schema: string;
14821
+ };
14822
+ issues?: {
14823
+ message: string;
14824
+ path?: (string | number)[];
14825
+ schema?: string;
14826
+ }[];
14827
+ retryable?: boolean;
14828
+ context?: unknown;
14829
+ };
14830
+ };
14831
+ };
14832
+ /** @description Service unavailable */
14833
+ 503: {
14834
+ headers: {
14835
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14836
+ "Retry-After"?: number;
14837
+ [name: string]: unknown;
14838
+ };
14839
+ content: {
14840
+ "application/json": {
14841
+ code: string;
14842
+ message: string;
14843
+ links?: {
14844
+ docs: string;
14845
+ schema: string;
14846
+ };
14847
+ issues?: {
14848
+ message: string;
14849
+ path?: (string | number)[];
14850
+ schema?: string;
14851
+ }[];
14852
+ retryable?: boolean;
14853
+ context?: unknown;
14854
+ };
14855
+ };
14856
+ };
14857
+ };
14858
+ };
13947
14859
  getAuditJournalDeltas: {
13948
14860
  parameters: {
13949
14861
  query?: {
@@ -14001,6 +14913,10 @@ export interface operations {
14001
14913
  accountIdAfter: string | null;
14002
14914
  centTotalBefore: number | null;
14003
14915
  centTotalAfter: number | null;
14916
+ currencyBefore: string | null;
14917
+ currencyAfter: string | null;
14918
+ ledgerBefore: string | null;
14919
+ ledgerAfter: string | null;
14004
14920
  txnAtBefore: string | null;
14005
14921
  txnAtAfter: string | null;
14006
14922
  statusBefore: string | null;
@@ -58887,13 +59803,273 @@ export interface operations {
58887
59803
  };
58888
59804
  };
58889
59805
  };
58890
- getMetricReservationCount: {
59806
+ getMetricReservationCount: {
59807
+ parameters: {
59808
+ query?: {
59809
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59810
+ startDate?: string;
59811
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59812
+ endDate?: string;
59813
+ /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
59814
+ dateRange?: string;
59815
+ /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
59816
+ isDateRangeEndInclusive?: boolean;
59817
+ };
59818
+ header?: never;
59819
+ path?: never;
59820
+ cookie?: never;
59821
+ };
59822
+ requestBody?: never;
59823
+ responses: {
59824
+ /** @description Successful response */
59825
+ 200: {
59826
+ headers: {
59827
+ [name: string]: unknown;
59828
+ };
59829
+ content: {
59830
+ "application/json": {
59831
+ data: {
59832
+ current: number;
59833
+ previous: number;
59834
+ delta: number;
59835
+ deltaPercentage: number | null;
59836
+ }[];
59837
+ };
59838
+ };
59839
+ };
59840
+ /** @description Bad request */
59841
+ 400: {
59842
+ headers: {
59843
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59844
+ "Retry-After"?: number;
59845
+ [name: string]: unknown;
59846
+ };
59847
+ content: {
59848
+ "application/json": {
59849
+ code: string;
59850
+ message: string;
59851
+ links?: {
59852
+ docs: string;
59853
+ schema: string;
59854
+ };
59855
+ issues?: {
59856
+ message: string;
59857
+ path?: (string | number)[];
59858
+ schema?: string;
59859
+ }[];
59860
+ retryable?: boolean;
59861
+ context?: unknown;
59862
+ };
59863
+ };
59864
+ };
59865
+ /** @description Unauthorized */
59866
+ 401: {
59867
+ headers: {
59868
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59869
+ "Retry-After"?: number;
59870
+ [name: string]: unknown;
59871
+ };
59872
+ content: {
59873
+ "application/json": {
59874
+ code: string;
59875
+ message: string;
59876
+ links?: {
59877
+ docs: string;
59878
+ schema: string;
59879
+ };
59880
+ issues?: {
59881
+ message: string;
59882
+ path?: (string | number)[];
59883
+ schema?: string;
59884
+ }[];
59885
+ retryable?: boolean;
59886
+ context?: unknown;
59887
+ };
59888
+ };
59889
+ };
59890
+ /** @description Forbidden */
59891
+ 403: {
59892
+ headers: {
59893
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59894
+ "Retry-After"?: number;
59895
+ [name: string]: unknown;
59896
+ };
59897
+ content: {
59898
+ "application/json": {
59899
+ code: string;
59900
+ message: string;
59901
+ links?: {
59902
+ docs: string;
59903
+ schema: string;
59904
+ };
59905
+ issues?: {
59906
+ message: string;
59907
+ path?: (string | number)[];
59908
+ schema?: string;
59909
+ }[];
59910
+ retryable?: boolean;
59911
+ context?: unknown;
59912
+ };
59913
+ };
59914
+ };
59915
+ /** @description Not found */
59916
+ 404: {
59917
+ headers: {
59918
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59919
+ "Retry-After"?: number;
59920
+ [name: string]: unknown;
59921
+ };
59922
+ content: {
59923
+ "application/json": {
59924
+ code: string;
59925
+ message: string;
59926
+ links?: {
59927
+ docs: string;
59928
+ schema: string;
59929
+ };
59930
+ issues?: {
59931
+ message: string;
59932
+ path?: (string | number)[];
59933
+ schema?: string;
59934
+ }[];
59935
+ retryable?: boolean;
59936
+ context?: unknown;
59937
+ };
59938
+ };
59939
+ };
59940
+ /** @description Conflict */
59941
+ 409: {
59942
+ headers: {
59943
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59944
+ "Retry-After"?: number;
59945
+ [name: string]: unknown;
59946
+ };
59947
+ content: {
59948
+ "application/json": {
59949
+ code: string;
59950
+ message: string;
59951
+ links?: {
59952
+ docs: string;
59953
+ schema: string;
59954
+ };
59955
+ issues?: {
59956
+ message: string;
59957
+ path?: (string | number)[];
59958
+ schema?: string;
59959
+ }[];
59960
+ retryable?: boolean;
59961
+ context?: unknown;
59962
+ };
59963
+ };
59964
+ };
59965
+ /** @description Gone */
59966
+ 410: {
59967
+ headers: {
59968
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59969
+ "Retry-After"?: number;
59970
+ [name: string]: unknown;
59971
+ };
59972
+ content: {
59973
+ "application/json": {
59974
+ code: string;
59975
+ message: string;
59976
+ links?: {
59977
+ docs: string;
59978
+ schema: string;
59979
+ };
59980
+ issues?: {
59981
+ message: string;
59982
+ path?: (string | number)[];
59983
+ schema?: string;
59984
+ }[];
59985
+ retryable?: boolean;
59986
+ context?: unknown;
59987
+ };
59988
+ };
59989
+ };
59990
+ /** @description Unprocessable content */
59991
+ 422: {
59992
+ headers: {
59993
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
59994
+ "Retry-After"?: number;
59995
+ [name: string]: unknown;
59996
+ };
59997
+ content: {
59998
+ "application/json": {
59999
+ code: string;
60000
+ message: string;
60001
+ links?: {
60002
+ docs: string;
60003
+ schema: string;
60004
+ };
60005
+ issues?: {
60006
+ message: string;
60007
+ path?: (string | number)[];
60008
+ schema?: string;
60009
+ }[];
60010
+ retryable?: boolean;
60011
+ context?: unknown;
60012
+ };
60013
+ };
60014
+ };
60015
+ /** @description Internal server error */
60016
+ 500: {
60017
+ headers: {
60018
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60019
+ "Retry-After"?: number;
60020
+ [name: string]: unknown;
60021
+ };
60022
+ content: {
60023
+ "application/json": {
60024
+ code: string;
60025
+ message: string;
60026
+ links?: {
60027
+ docs: string;
60028
+ schema: string;
60029
+ };
60030
+ issues?: {
60031
+ message: string;
60032
+ path?: (string | number)[];
60033
+ schema?: string;
60034
+ }[];
60035
+ retryable?: boolean;
60036
+ context?: unknown;
60037
+ };
60038
+ };
60039
+ };
60040
+ /** @description Service unavailable */
60041
+ 503: {
60042
+ headers: {
60043
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60044
+ "Retry-After"?: number;
60045
+ [name: string]: unknown;
60046
+ };
60047
+ content: {
60048
+ "application/json": {
60049
+ code: string;
60050
+ message: string;
60051
+ links?: {
60052
+ docs: string;
60053
+ schema: string;
60054
+ };
60055
+ issues?: {
60056
+ message: string;
60057
+ path?: (string | number)[];
60058
+ schema?: string;
60059
+ }[];
60060
+ retryable?: boolean;
60061
+ context?: unknown;
60062
+ };
60063
+ };
60064
+ };
60065
+ };
60066
+ };
60067
+ getMetricReservationVolume: {
58891
60068
  parameters: {
58892
60069
  query?: {
58893
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
58894
- startDate?: string;
58895
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
58896
- endDate?: string;
60070
+ interval?: "month" | "week" | "day" | "year";
60071
+ /** @description Deprecated: use interval */
60072
+ dimension?: "month" | "week" | "day" | "year";
58897
60073
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
58898
60074
  dateRange?: string;
58899
60075
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -58913,10 +60089,10 @@ export interface operations {
58913
60089
  content: {
58914
60090
  "application/json": {
58915
60091
  data: {
58916
- current: number;
58917
- previous: number;
58918
- delta: number;
58919
- deltaPercentage: number | null;
60092
+ currency: string | null;
60093
+ date: string;
60094
+ /** @description Decimal value in dollars (major currency units) */
60095
+ amount: number;
58920
60096
  }[];
58921
60097
  };
58922
60098
  };
@@ -59148,12 +60324,16 @@ export interface operations {
59148
60324
  };
59149
60325
  };
59150
60326
  };
59151
- getMetricReservationVolume: {
60327
+ getMetricRevenue: {
59152
60328
  parameters: {
59153
60329
  query?: {
59154
60330
  interval?: "month" | "week" | "day" | "year";
59155
60331
  /** @description Deprecated: use interval */
59156
60332
  dimension?: "month" | "week" | "day" | "year";
60333
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
60334
+ startDate?: string;
60335
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
60336
+ endDate?: string;
59157
60337
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
59158
60338
  dateRange?: string;
59159
60339
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -59173,10 +60353,9 @@ export interface operations {
59173
60353
  content: {
59174
60354
  "application/json": {
59175
60355
  data: {
59176
- currency: string | null;
59177
60356
  date: string;
59178
- /** @description Decimal value in dollars (major currency units) */
59179
- amount: number;
60357
+ grossGuestRevenue: number;
60358
+ pmRevenue: number;
59180
60359
  }[];
59181
60360
  };
59182
60361
  };
@@ -59408,16 +60587,14 @@ export interface operations {
59408
60587
  };
59409
60588
  };
59410
60589
  };
59411
- getMetricRevenue: {
60590
+ getSyncMetricsByStatus: {
59412
60591
  parameters: {
59413
- query?: {
60592
+ query: {
59414
60593
  interval?: "month" | "week" | "day" | "year";
59415
60594
  /** @description Deprecated: use interval */
59416
60595
  dimension?: "month" | "week" | "day" | "year";
59417
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59418
- startDate?: string;
59419
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59420
- endDate?: string;
60596
+ connectionId: string;
60597
+ view: "automate" | "extract";
59421
60598
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
59422
60599
  dateRange?: string;
59423
60600
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -59438,8 +60615,21 @@ export interface operations {
59438
60615
  "application/json": {
59439
60616
  data: {
59440
60617
  date: string;
59441
- grossGuestRevenue: number;
59442
- pmRevenue: number;
60618
+ total: number;
60619
+ changes: {
60620
+ completed?: {
60621
+ [key: string]: number;
60622
+ };
60623
+ skipped?: {
60624
+ [key: string]: number;
60625
+ };
60626
+ failed?: {
60627
+ [key: string]: number;
60628
+ };
60629
+ queued?: {
60630
+ [key: string]: number;
60631
+ };
60632
+ };
59443
60633
  }[];
59444
60634
  };
59445
60635
  };
@@ -59671,14 +60861,16 @@ export interface operations {
59671
60861
  };
59672
60862
  };
59673
60863
  };
59674
- getSyncMetricsByStatus: {
60864
+ getMetricTakeRate: {
59675
60865
  parameters: {
59676
- query: {
60866
+ query?: {
59677
60867
  interval?: "month" | "week" | "day" | "year";
59678
60868
  /** @description Deprecated: use interval */
59679
60869
  dimension?: "month" | "week" | "day" | "year";
59680
- connectionId: string;
59681
- view: "automate" | "extract";
60870
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
60871
+ startDate?: string;
60872
+ /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
60873
+ endDate?: string;
59682
60874
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
59683
60875
  dateRange?: string;
59684
60876
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -59699,21 +60891,9 @@ export interface operations {
59699
60891
  "application/json": {
59700
60892
  data: {
59701
60893
  date: string;
59702
- total: number;
59703
- changes: {
59704
- completed?: {
59705
- [key: string]: number;
59706
- };
59707
- skipped?: {
59708
- [key: string]: number;
59709
- };
59710
- failed?: {
59711
- [key: string]: number;
59712
- };
59713
- queued?: {
59714
- [key: string]: number;
59715
- };
59716
- };
60894
+ grossGuestRevenue: number;
60895
+ pmRevenue: number;
60896
+ takeRate: number;
59717
60897
  }[];
59718
60898
  };
59719
60899
  };
@@ -59945,21 +61125,9 @@ export interface operations {
59945
61125
  };
59946
61126
  };
59947
61127
  };
59948
- getMetricTakeRate: {
61128
+ getPartner: {
59949
61129
  parameters: {
59950
- query?: {
59951
- interval?: "month" | "week" | "day" | "year";
59952
- /** @description Deprecated: use interval */
59953
- dimension?: "month" | "week" | "day" | "year";
59954
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59955
- startDate?: string;
59956
- /** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
59957
- endDate?: string;
59958
- /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
59959
- dateRange?: string;
59960
- /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
59961
- isDateRangeEndInclusive?: boolean;
59962
- };
61130
+ query?: never;
59963
61131
  header?: never;
59964
61132
  path?: never;
59965
61133
  cookie?: never;
@@ -59973,12 +61141,11 @@ export interface operations {
59973
61141
  };
59974
61142
  content: {
59975
61143
  "application/json": {
59976
- data: {
59977
- date: string;
59978
- grossGuestRevenue: number;
59979
- pmRevenue: number;
59980
- takeRate: number;
59981
- }[];
61144
+ /** Format: uuid */
61145
+ id: string;
61146
+ name: string;
61147
+ /** @constant */
61148
+ type: "partner";
59982
61149
  };
59983
61150
  };
59984
61151
  };
@@ -60209,10 +61376,32 @@ export interface operations {
60209
61376
  };
60210
61377
  };
60211
61378
  };
60212
- getPartner: {
61379
+ listPartnerAuditEvents: {
60213
61380
  parameters: {
60214
- query?: never;
60215
- header?: never;
61381
+ query?: {
61382
+ cursor?: string;
61383
+ limit?: number;
61384
+ order?: "asc" | "desc";
61385
+ /** @description Timestamp string with date, time, milliseconds, and timezone. */
61386
+ updatedFrom?: string;
61387
+ /** @description Timestamp string with date, time, milliseconds, and timezone. */
61388
+ updatedTo?: string;
61389
+ entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
61390
+ entityId?: string;
61391
+ actionId?: string;
61392
+ actionCode?: string;
61393
+ operation?: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
61394
+ actorType?: "user" | "api_key" | "sync" | "automation" | "system";
61395
+ actorId?: string;
61396
+ accountingStatus?: string;
61397
+ accountId?: string;
61398
+ include?: "postingChanges";
61399
+ teamId?: string;
61400
+ };
61401
+ header?: {
61402
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
61403
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
61404
+ };
60216
61405
  path?: never;
60217
61406
  cookie?: never;
60218
61407
  };
@@ -60225,11 +61414,128 @@ export interface operations {
60225
61414
  };
60226
61415
  content: {
60227
61416
  "application/json": {
60228
- /** Format: uuid */
60229
- id: string;
60230
- name: string;
60231
- /** @constant */
60232
- type: "partner";
61417
+ data: {
61418
+ /** Format: uuid */
61419
+ id: string;
61420
+ revision: number;
61421
+ /** Format: uuid */
61422
+ actionId: string;
61423
+ team: {
61424
+ /** Format: uuid */
61425
+ id: string;
61426
+ uniqueRef: string | null;
61427
+ name: string;
61428
+ };
61429
+ /**
61430
+ * Format: date-time
61431
+ * @description Timestamp string with date, time, milliseconds, and timezone.
61432
+ * @example 2024-01-15T12:30:00.000+00:00
61433
+ */
61434
+ occurredAt: string;
61435
+ /**
61436
+ * Format: date-time
61437
+ * @description Timestamp string with date, time, milliseconds, and timezone.
61438
+ * @example 2024-01-15T12:30:00.000+00:00
61439
+ */
61440
+ updatedAt: string;
61441
+ actor: {
61442
+ /** @enum {string} */
61443
+ type: "user" | "api_key" | "sync" | "automation" | "system";
61444
+ id: string | null;
61445
+ name: string | null;
61446
+ email: string | null;
61447
+ label: string | null;
61448
+ };
61449
+ source: {
61450
+ /** @enum {string} */
61451
+ type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
61452
+ requestId: string | null;
61453
+ };
61454
+ action: {
61455
+ code: string;
61456
+ summary: string;
61457
+ /** @enum {string} */
61458
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
61459
+ };
61460
+ rootEntity: {
61461
+ /** @enum {string} */
61462
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
61463
+ /** Format: uuid */
61464
+ id: string;
61465
+ uniqueRef: string | null;
61466
+ name: string | null;
61467
+ };
61468
+ entityChanges: {
61469
+ entity: {
61470
+ /** @enum {string} */
61471
+ type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
61472
+ /** Format: uuid */
61473
+ id: string;
61474
+ uniqueRef: string | null;
61475
+ name: string | null;
61476
+ };
61477
+ /** @enum {string} */
61478
+ operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
61479
+ changes: {
61480
+ path: string;
61481
+ before?: unknown;
61482
+ after?: unknown;
61483
+ }[];
61484
+ redactedFields: string[];
61485
+ }[];
61486
+ accountingImpact: {
61487
+ /** @enum {string} */
61488
+ status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
61489
+ changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
61490
+ affected: {
61491
+ accounts: {
61492
+ /** Format: uuid */
61493
+ id: string;
61494
+ name: string;
61495
+ category: {
61496
+ /** Format: uuid */
61497
+ id: string;
61498
+ name: string;
61499
+ classification: string | null;
61500
+ };
61501
+ }[];
61502
+ periods: string[];
61503
+ ownershipPeriodIds: string[];
61504
+ ownerStatementIds: string[];
61505
+ };
61506
+ postingChanges?: {
61507
+ dimensions: {
61508
+ account: {
61509
+ /** Format: uuid */
61510
+ id: string;
61511
+ name: string;
61512
+ category: {
61513
+ /** Format: uuid */
61514
+ id: string;
61515
+ name: string;
61516
+ classification: string | null;
61517
+ };
61518
+ } | null;
61519
+ party: string | null;
61520
+ currency: string | null;
61521
+ postingDate: string | null;
61522
+ ledger: string | null;
61523
+ status: string | null;
61524
+ ownershipPeriodId: string | null;
61525
+ ownerStatementId: string | null;
61526
+ };
61527
+ centTotal: {
61528
+ before: number | null;
61529
+ after: number | null;
61530
+ };
61531
+ }[];
61532
+ };
61533
+ }[];
61534
+ page: {
61535
+ limit: number;
61536
+ hasMore: boolean;
61537
+ nextCursor: string | null;
61538
+ };
60233
61539
  };
60234
61540
  };
60235
61541
  };
@@ -60358,7 +61664,7 @@ export interface operations {
60358
61664
  };
60359
61665
  };
60360
61666
  };
60361
- /** @description Gone */
61667
+ /** @description Audit cursor expired */
60362
61668
  410: {
60363
61669
  headers: {
60364
61670
  /** @description Seconds to wait when retryable=true and the server supplies a delay. */
@@ -60383,6 +61689,31 @@ export interface operations {
60383
61689
  };
60384
61690
  };
60385
61691
  };
61692
+ /** @description Misdirected regional request */
61693
+ 421: {
61694
+ headers: {
61695
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
61696
+ "Retry-After"?: number;
61697
+ [name: string]: unknown;
61698
+ };
61699
+ content: {
61700
+ "application/json": {
61701
+ code: string;
61702
+ message: string;
61703
+ links?: {
61704
+ docs: string;
61705
+ schema: string;
61706
+ };
61707
+ issues?: {
61708
+ message: string;
61709
+ path?: (string | number)[];
61710
+ schema?: string;
61711
+ }[];
61712
+ retryable?: boolean;
61713
+ context?: unknown;
61714
+ };
61715
+ };
61716
+ };
60386
61717
  /** @description Unprocessable content */
60387
61718
  422: {
60388
61719
  headers: {
@@ -60408,6 +61739,31 @@ export interface operations {
60408
61739
  };
60409
61740
  };
60410
61741
  };
61742
+ /** @description Rate limited */
61743
+ 429: {
61744
+ headers: {
61745
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
61746
+ "Retry-After"?: number;
61747
+ [name: string]: unknown;
61748
+ };
61749
+ content: {
61750
+ "application/json": {
61751
+ code: string;
61752
+ message: string;
61753
+ links?: {
61754
+ docs: string;
61755
+ schema: string;
61756
+ };
61757
+ issues?: {
61758
+ message: string;
61759
+ path?: (string | number)[];
61760
+ schema?: string;
61761
+ }[];
61762
+ retryable?: boolean;
61763
+ context?: unknown;
61764
+ };
61765
+ };
61766
+ };
60411
61767
  /** @description Internal server error */
60412
61768
  500: {
60413
61769
  headers: {