@vrplatform/api 1.3.1-stage.5086 → 1.3.1-stage.5094

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.
@@ -425,7 +425,7 @@ export interface paths {
425
425
  cookie?: never;
426
426
  };
427
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.
428
+ * @description List typed public audit events for the selected team with accounting status and signed net effect per account and currency. Results are ordered by updatedAt and id so later revisions reappear in ascending synchronization feeds. Ascending reads trail real time by a short visibility lag so concurrently committed revisions are never skipped.
429
429
  *
430
430
  * Required scope: audit:read
431
431
  */
@@ -446,7 +446,7 @@ export interface paths {
446
446
  cookie?: never;
447
447
  };
448
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.
449
+ * @description Get one team-scoped public audit event with revision-bound, paginated observed journal-entry changes and safe cause attribution.
450
450
  *
451
451
  * Required scope: audit:read
452
452
  */
@@ -2980,7 +2980,7 @@ export interface paths {
2980
2980
  cookie?: never;
2981
2981
  };
2982
2982
  /**
2983
- * @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.
2983
+ * @description List typed public audit events with signed account/currency net effects for managed teams in one regional partition. 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.
2984
2984
  *
2985
2985
  * Required scope: audit:read
2986
2986
  */
@@ -6457,7 +6457,7 @@ export interface operations {
6457
6457
  sourceId?: string | null;
6458
6458
  message: string;
6459
6459
  /** @enum {string} */
6460
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
6460
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
6461
6461
  context?: unknown;
6462
6462
  }[];
6463
6463
  };
@@ -14058,7 +14058,7 @@ export interface operations {
14058
14058
  updatedFrom?: string;
14059
14059
  /** @description Timestamp string with date, time, milliseconds, and timezone. */
14060
14060
  updatedTo?: string;
14061
- entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14061
+ entityType?: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction";
14062
14062
  entityId?: string;
14063
14063
  actionId?: string;
14064
14064
  actionCode?: string;
@@ -14067,7 +14067,12 @@ export interface operations {
14067
14067
  actorId?: string;
14068
14068
  accountingStatus?: string;
14069
14069
  accountId?: string;
14070
- include?: "postingChanges";
14070
+ /** @description Whether any public entity or journal-entry change exists */
14071
+ hasChanges?: boolean;
14072
+ /** @description Public subject participating in entityChanges */
14073
+ changedEntityType?: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine";
14074
+ /** @description Exact public registry path for changedEntityType */
14075
+ changedPath?: string;
14071
14076
  };
14072
14077
  header?: never;
14073
14078
  path?: never;
@@ -14127,7 +14132,7 @@ export interface operations {
14127
14132
  };
14128
14133
  rootEntity: {
14129
14134
  /** @enum {string} */
14130
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14135
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction";
14131
14136
  /** Format: uuid */
14132
14137
  id: string;
14133
14138
  uniqueRef: string | null;
@@ -14136,7 +14141,7 @@ export interface operations {
14136
14141
  entityChanges: {
14137
14142
  entity: {
14138
14143
  /** @enum {string} */
14139
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
14144
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine";
14140
14145
  /** Format: uuid */
14141
14146
  id: string;
14142
14147
  uniqueRef: string | null;
@@ -14146,17 +14151,108 @@ export interface operations {
14146
14151
  operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14147
14152
  changes: {
14148
14153
  path: string;
14149
- before?: unknown;
14150
- after?: unknown;
14154
+ before?: (({
14155
+ /** @constant */
14156
+ type: "string";
14157
+ value: string;
14158
+ } | {
14159
+ /** @constant */
14160
+ type: "boolean";
14161
+ value: boolean;
14162
+ } | {
14163
+ /** @constant */
14164
+ type: "integer";
14165
+ value: number;
14166
+ } | {
14167
+ /** @constant */
14168
+ type: "money";
14169
+ centTotal: number;
14170
+ currency: string;
14171
+ } | {
14172
+ /** @constant */
14173
+ type: "date";
14174
+ value: string;
14175
+ } | {
14176
+ /** @constant */
14177
+ type: "timestamp";
14178
+ /**
14179
+ * Format: date-time
14180
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14181
+ * @example 2024-01-15T12:30:00.000+00:00
14182
+ */
14183
+ value: string;
14184
+ } | {
14185
+ /** @constant */
14186
+ type: "enum";
14187
+ value: string;
14188
+ } | {
14189
+ /** @constant */
14190
+ type: "entity_reference";
14191
+ entityType: string;
14192
+ /** Format: uuid */
14193
+ id: string;
14194
+ }) | {
14195
+ /** @constant */
14196
+ type: "list";
14197
+ /** @constant */
14198
+ itemType: "string";
14199
+ items: string[];
14200
+ }) | null;
14201
+ after?: (({
14202
+ /** @constant */
14203
+ type: "string";
14204
+ value: string;
14205
+ } | {
14206
+ /** @constant */
14207
+ type: "boolean";
14208
+ value: boolean;
14209
+ } | {
14210
+ /** @constant */
14211
+ type: "integer";
14212
+ value: number;
14213
+ } | {
14214
+ /** @constant */
14215
+ type: "money";
14216
+ centTotal: number;
14217
+ currency: string;
14218
+ } | {
14219
+ /** @constant */
14220
+ type: "date";
14221
+ value: string;
14222
+ } | {
14223
+ /** @constant */
14224
+ type: "timestamp";
14225
+ /**
14226
+ * Format: date-time
14227
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14228
+ * @example 2024-01-15T12:30:00.000+00:00
14229
+ */
14230
+ value: string;
14231
+ } | {
14232
+ /** @constant */
14233
+ type: "enum";
14234
+ value: string;
14235
+ } | {
14236
+ /** @constant */
14237
+ type: "entity_reference";
14238
+ entityType: string;
14239
+ /** Format: uuid */
14240
+ id: string;
14241
+ }) | {
14242
+ /** @constant */
14243
+ type: "list";
14244
+ /** @constant */
14245
+ itemType: "string";
14246
+ items: string[];
14247
+ }) | null;
14151
14248
  }[];
14152
14249
  redactedFields: string[];
14153
14250
  }[];
14154
14251
  accountingImpact: {
14155
14252
  /** @enum {string} */
14156
14253
  status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
14157
- changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
14158
- affected: {
14159
- accounts: {
14254
+ netEffect: {
14255
+ account: {
14160
14256
  /** Format: uuid */
14161
14257
  id: string;
14162
14258
  name: string;
@@ -14166,35 +14262,12 @@ export interface operations {
14166
14262
  name: string;
14167
14263
  classification: string | null;
14168
14264
  };
14169
- }[];
14170
- periods: string[];
14171
- ownershipPeriodIds: string[];
14172
- ownerStatementIds: string[];
14173
- };
14174
- postingChanges?: {
14175
- dimensions: {
14176
- account: {
14177
- /** Format: uuid */
14178
- id: string;
14179
- name: string;
14180
- category: {
14181
- /** Format: uuid */
14182
- id: string;
14183
- name: string;
14184
- classification: string | null;
14185
- };
14186
- } | null;
14187
- party: string | null;
14188
- currency: string | null;
14189
- postingDate: string | null;
14190
- ledger: string | null;
14191
- status: string | null;
14192
- ownershipPeriodId: string | null;
14193
- ownerStatementId: string | null;
14194
14265
  };
14195
- centTotal: {
14196
- before: number | null;
14197
- after: number | null;
14266
+ amount: {
14267
+ /** @constant */
14268
+ type: "money";
14269
+ centTotal: number;
14270
+ currency: string;
14198
14271
  };
14199
14272
  }[];
14200
14273
  };
@@ -14486,7 +14559,10 @@ export interface operations {
14486
14559
  };
14487
14560
  getAuditEventsById: {
14488
14561
  parameters: {
14489
- query?: never;
14562
+ query?: {
14563
+ entryCursor?: string;
14564
+ entryLimit?: number;
14565
+ };
14490
14566
  header?: never;
14491
14567
  path: {
14492
14568
  id: string;
@@ -14546,7 +14622,7 @@ export interface operations {
14546
14622
  };
14547
14623
  rootEntity: {
14548
14624
  /** @enum {string} */
14549
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
14625
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction";
14550
14626
  /** Format: uuid */
14551
14627
  id: string;
14552
14628
  uniqueRef: string | null;
@@ -14555,7 +14631,7 @@ export interface operations {
14555
14631
  entityChanges: {
14556
14632
  entity: {
14557
14633
  /** @enum {string} */
14558
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
14634
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine";
14559
14635
  /** Format: uuid */
14560
14636
  id: string;
14561
14637
  uniqueRef: string | null;
@@ -14565,17 +14641,108 @@ export interface operations {
14565
14641
  operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
14566
14642
  changes: {
14567
14643
  path: string;
14568
- before?: unknown;
14569
- after?: unknown;
14644
+ before?: (({
14645
+ /** @constant */
14646
+ type: "string";
14647
+ value: string;
14648
+ } | {
14649
+ /** @constant */
14650
+ type: "boolean";
14651
+ value: boolean;
14652
+ } | {
14653
+ /** @constant */
14654
+ type: "integer";
14655
+ value: number;
14656
+ } | {
14657
+ /** @constant */
14658
+ type: "money";
14659
+ centTotal: number;
14660
+ currency: string;
14661
+ } | {
14662
+ /** @constant */
14663
+ type: "date";
14664
+ value: string;
14665
+ } | {
14666
+ /** @constant */
14667
+ type: "timestamp";
14668
+ /**
14669
+ * Format: date-time
14670
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14671
+ * @example 2024-01-15T12:30:00.000+00:00
14672
+ */
14673
+ value: string;
14674
+ } | {
14675
+ /** @constant */
14676
+ type: "enum";
14677
+ value: string;
14678
+ } | {
14679
+ /** @constant */
14680
+ type: "entity_reference";
14681
+ entityType: string;
14682
+ /** Format: uuid */
14683
+ id: string;
14684
+ }) | {
14685
+ /** @constant */
14686
+ type: "list";
14687
+ /** @constant */
14688
+ itemType: "string";
14689
+ items: string[];
14690
+ }) | null;
14691
+ after?: (({
14692
+ /** @constant */
14693
+ type: "string";
14694
+ value: string;
14695
+ } | {
14696
+ /** @constant */
14697
+ type: "boolean";
14698
+ value: boolean;
14699
+ } | {
14700
+ /** @constant */
14701
+ type: "integer";
14702
+ value: number;
14703
+ } | {
14704
+ /** @constant */
14705
+ type: "money";
14706
+ centTotal: number;
14707
+ currency: string;
14708
+ } | {
14709
+ /** @constant */
14710
+ type: "date";
14711
+ value: string;
14712
+ } | {
14713
+ /** @constant */
14714
+ type: "timestamp";
14715
+ /**
14716
+ * Format: date-time
14717
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14718
+ * @example 2024-01-15T12:30:00.000+00:00
14719
+ */
14720
+ value: string;
14721
+ } | {
14722
+ /** @constant */
14723
+ type: "enum";
14724
+ value: string;
14725
+ } | {
14726
+ /** @constant */
14727
+ type: "entity_reference";
14728
+ entityType: string;
14729
+ /** Format: uuid */
14730
+ id: string;
14731
+ }) | {
14732
+ /** @constant */
14733
+ type: "list";
14734
+ /** @constant */
14735
+ itemType: "string";
14736
+ items: string[];
14737
+ }) | null;
14570
14738
  }[];
14571
14739
  redactedFields: string[];
14572
14740
  }[];
14573
14741
  accountingImpact: {
14574
14742
  /** @enum {string} */
14575
14743
  status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
14576
- changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
14577
- affected: {
14578
- accounts: {
14744
+ netEffect: {
14745
+ account: {
14579
14746
  /** Format: uuid */
14580
14747
  id: string;
14581
14748
  name: string;
@@ -14585,13 +14752,31 @@ export interface operations {
14585
14752
  name: string;
14586
14753
  classification: string | null;
14587
14754
  };
14588
- }[];
14589
- periods: string[];
14590
- ownershipPeriodIds: string[];
14591
- ownerStatementIds: string[];
14592
- };
14593
- postingChanges: {
14594
- dimensions: {
14755
+ };
14756
+ amount: {
14757
+ /** @constant */
14758
+ type: "money";
14759
+ centTotal: number;
14760
+ currency: string;
14761
+ };
14762
+ }[];
14763
+ };
14764
+ entryChanges: {
14765
+ data: {
14766
+ /** Format: uuid */
14767
+ id: string;
14768
+ /** Format: uuid */
14769
+ journalEntryId: string;
14770
+ /** @enum {string} */
14771
+ operation: "insert" | "update" | "delete";
14772
+ /**
14773
+ * Format: date-time
14774
+ * @description Timestamp string with date, time, milliseconds, and timezone.
14775
+ * @example 2024-01-15T12:30:00.000+00:00
14776
+ */
14777
+ changedAt: string;
14778
+ changedFields: string[];
14779
+ before?: {
14595
14780
  account: {
14596
14781
  /** Format: uuid */
14597
14782
  id: string;
@@ -14603,19 +14788,118 @@ export interface operations {
14603
14788
  classification: string | null;
14604
14789
  };
14605
14790
  } | null;
14606
- party: string | null;
14607
- currency: string | null;
14608
- postingDate: string | null;
14609
- ledger: string | null;
14610
- status: string | null;
14611
- ownershipPeriodId: string | null;
14612
- ownerStatementId: string | null;
14791
+ amount: {
14792
+ /** @constant */
14793
+ type: "money";
14794
+ centTotal: number;
14795
+ currency: string;
14796
+ };
14797
+ postingDate: {
14798
+ /** @constant */
14799
+ type: "date";
14800
+ value: string;
14801
+ } | null;
14802
+ ledger: {
14803
+ /** @constant */
14804
+ type: "enum";
14805
+ value: string;
14806
+ } | null;
14807
+ status: {
14808
+ /** @constant */
14809
+ type: "enum";
14810
+ value: string;
14811
+ } | null;
14812
+ party: {
14813
+ /** @constant */
14814
+ type: "enum";
14815
+ value: string;
14816
+ } | null;
14817
+ ownershipPeriod: {
14818
+ /** @constant */
14819
+ type: "entity_reference";
14820
+ entityType: string;
14821
+ /** Format: uuid */
14822
+ id: string;
14823
+ } | null;
14824
+ ownerStatement: {
14825
+ /** @constant */
14826
+ type: "entity_reference";
14827
+ entityType: string;
14828
+ /** Format: uuid */
14829
+ id: string;
14830
+ } | null;
14613
14831
  };
14614
- centTotal: {
14615
- before: number | null;
14616
- after: number | null;
14832
+ after?: {
14833
+ account: {
14834
+ /** Format: uuid */
14835
+ id: string;
14836
+ name: string;
14837
+ category: {
14838
+ /** Format: uuid */
14839
+ id: string;
14840
+ name: string;
14841
+ classification: string | null;
14842
+ };
14843
+ } | null;
14844
+ amount: {
14845
+ /** @constant */
14846
+ type: "money";
14847
+ centTotal: number;
14848
+ currency: string;
14849
+ };
14850
+ postingDate: {
14851
+ /** @constant */
14852
+ type: "date";
14853
+ value: string;
14854
+ } | null;
14855
+ ledger: {
14856
+ /** @constant */
14857
+ type: "enum";
14858
+ value: string;
14859
+ } | null;
14860
+ status: {
14861
+ /** @constant */
14862
+ type: "enum";
14863
+ value: string;
14864
+ } | null;
14865
+ party: {
14866
+ /** @constant */
14867
+ type: "enum";
14868
+ value: string;
14869
+ } | null;
14870
+ ownershipPeriod: {
14871
+ /** @constant */
14872
+ type: "entity_reference";
14873
+ entityType: string;
14874
+ /** Format: uuid */
14875
+ id: string;
14876
+ } | null;
14877
+ ownerStatement: {
14878
+ /** @constant */
14879
+ type: "entity_reference";
14880
+ entityType: string;
14881
+ /** Format: uuid */
14882
+ id: string;
14883
+ } | null;
14617
14884
  };
14885
+ causedBy: {
14886
+ entity: {
14887
+ /** @enum {string} */
14888
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine" | "journalEntry";
14889
+ /** Format: uuid */
14890
+ id: string;
14891
+ };
14892
+ /** @enum {string} */
14893
+ operation: "create" | "update" | "delete";
14894
+ changedPaths: string[];
14895
+ } | null;
14618
14896
  }[];
14897
+ page: {
14898
+ eventRevision: number;
14899
+ limit: number;
14900
+ hasMore: boolean;
14901
+ nextCursor: string | null;
14902
+ };
14619
14903
  };
14620
14904
  };
14621
14905
  };
@@ -14720,16 +15004,15 @@ export interface operations {
14720
15004
  };
14721
15005
  };
14722
15006
  };
14723
- /** @description Conflict */
15007
+ /** @description The audit event changed during entry pagination */
14724
15008
  409: {
14725
15009
  headers: {
14726
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
14727
- "Retry-After"?: number;
14728
15010
  [name: string]: unknown;
14729
15011
  };
14730
15012
  content: {
14731
15013
  "application/json": {
14732
- code: string;
15014
+ /** @constant */
15015
+ code: "AUDIT_EVENT_REVISED";
14733
15016
  message: string;
14734
15017
  links?: {
14735
15018
  docs: string;
@@ -14741,7 +15024,9 @@ export interface operations {
14741
15024
  schema?: string;
14742
15025
  }[];
14743
15026
  retryable?: boolean;
14744
- context?: unknown;
15027
+ context: {
15028
+ currentRevision: number;
15029
+ };
14745
15030
  };
14746
15031
  };
14747
15032
  };
@@ -16486,7 +16771,7 @@ export interface operations {
16486
16771
  sourceId?: string | null;
16487
16772
  message: string;
16488
16773
  /** @enum {string} */
16489
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
16774
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
16490
16775
  context?: unknown;
16491
16776
  }[];
16492
16777
  };
@@ -26439,7 +26724,7 @@ export interface operations {
26439
26724
  sourceId?: string | null;
26440
26725
  message: string;
26441
26726
  /** @enum {string} */
26442
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
26727
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
26443
26728
  context?: unknown;
26444
26729
  }[];
26445
26730
  };
@@ -48286,7 +48571,7 @@ export interface operations {
48286
48571
  sourceId?: string | null;
48287
48572
  message: string;
48288
48573
  /** @enum {string} */
48289
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
48574
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
48290
48575
  context?: unknown;
48291
48576
  }[];
48292
48577
  };
@@ -50053,7 +50338,7 @@ export interface operations {
50053
50338
  sourceId?: string | null;
50054
50339
  message: string;
50055
50340
  /** @enum {string} */
50056
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
50341
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
50057
50342
  context?: unknown;
50058
50343
  }[];
50059
50344
  };
@@ -61689,7 +61974,7 @@ export interface operations {
61689
61974
  updatedFrom?: string;
61690
61975
  /** @description Timestamp string with date, time, milliseconds, and timezone. */
61691
61976
  updatedTo?: string;
61692
- entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
61977
+ entityType?: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction";
61693
61978
  entityId?: string;
61694
61979
  actionId?: string;
61695
61980
  actionCode?: string;
@@ -61698,7 +61983,12 @@ export interface operations {
61698
61983
  actorId?: string;
61699
61984
  accountingStatus?: string;
61700
61985
  accountId?: string;
61701
- include?: "postingChanges";
61986
+ /** @description Whether any public entity or journal-entry change exists */
61987
+ hasChanges?: boolean;
61988
+ /** @description Public subject participating in entityChanges */
61989
+ changedEntityType?: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine";
61990
+ /** @description Exact public registry path for changedEntityType */
61991
+ changedPath?: string;
61702
61992
  teamId?: string;
61703
61993
  };
61704
61994
  header?: {
@@ -61762,7 +62052,7 @@ export interface operations {
61762
62052
  };
61763
62053
  rootEntity: {
61764
62054
  /** @enum {string} */
61765
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
62055
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction";
61766
62056
  /** Format: uuid */
61767
62057
  id: string;
61768
62058
  uniqueRef: string | null;
@@ -61771,7 +62061,7 @@ export interface operations {
61771
62061
  entityChanges: {
61772
62062
  entity: {
61773
62063
  /** @enum {string} */
61774
- type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
62064
+ type: "account" | "accountConnection" | "bankRecord" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "reservation" | "transaction" | "paymentLine";
61775
62065
  /** Format: uuid */
61776
62066
  id: string;
61777
62067
  uniqueRef: string | null;
@@ -61781,17 +62071,108 @@ export interface operations {
61781
62071
  operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
61782
62072
  changes: {
61783
62073
  path: string;
61784
- before?: unknown;
61785
- after?: unknown;
62074
+ before?: (({
62075
+ /** @constant */
62076
+ type: "string";
62077
+ value: string;
62078
+ } | {
62079
+ /** @constant */
62080
+ type: "boolean";
62081
+ value: boolean;
62082
+ } | {
62083
+ /** @constant */
62084
+ type: "integer";
62085
+ value: number;
62086
+ } | {
62087
+ /** @constant */
62088
+ type: "money";
62089
+ centTotal: number;
62090
+ currency: string;
62091
+ } | {
62092
+ /** @constant */
62093
+ type: "date";
62094
+ value: string;
62095
+ } | {
62096
+ /** @constant */
62097
+ type: "timestamp";
62098
+ /**
62099
+ * Format: date-time
62100
+ * @description Timestamp string with date, time, milliseconds, and timezone.
62101
+ * @example 2024-01-15T12:30:00.000+00:00
62102
+ */
62103
+ value: string;
62104
+ } | {
62105
+ /** @constant */
62106
+ type: "enum";
62107
+ value: string;
62108
+ } | {
62109
+ /** @constant */
62110
+ type: "entity_reference";
62111
+ entityType: string;
62112
+ /** Format: uuid */
62113
+ id: string;
62114
+ }) | {
62115
+ /** @constant */
62116
+ type: "list";
62117
+ /** @constant */
62118
+ itemType: "string";
62119
+ items: string[];
62120
+ }) | null;
62121
+ after?: (({
62122
+ /** @constant */
62123
+ type: "string";
62124
+ value: string;
62125
+ } | {
62126
+ /** @constant */
62127
+ type: "boolean";
62128
+ value: boolean;
62129
+ } | {
62130
+ /** @constant */
62131
+ type: "integer";
62132
+ value: number;
62133
+ } | {
62134
+ /** @constant */
62135
+ type: "money";
62136
+ centTotal: number;
62137
+ currency: string;
62138
+ } | {
62139
+ /** @constant */
62140
+ type: "date";
62141
+ value: string;
62142
+ } | {
62143
+ /** @constant */
62144
+ type: "timestamp";
62145
+ /**
62146
+ * Format: date-time
62147
+ * @description Timestamp string with date, time, milliseconds, and timezone.
62148
+ * @example 2024-01-15T12:30:00.000+00:00
62149
+ */
62150
+ value: string;
62151
+ } | {
62152
+ /** @constant */
62153
+ type: "enum";
62154
+ value: string;
62155
+ } | {
62156
+ /** @constant */
62157
+ type: "entity_reference";
62158
+ entityType: string;
62159
+ /** Format: uuid */
62160
+ id: string;
62161
+ }) | {
62162
+ /** @constant */
62163
+ type: "list";
62164
+ /** @constant */
62165
+ itemType: "string";
62166
+ items: string[];
62167
+ }) | null;
61786
62168
  }[];
61787
62169
  redactedFields: string[];
61788
62170
  }[];
61789
62171
  accountingImpact: {
61790
62172
  /** @enum {string} */
61791
62173
  status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
61792
- changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
61793
- affected: {
61794
- accounts: {
62174
+ netEffect: {
62175
+ account: {
61795
62176
  /** Format: uuid */
61796
62177
  id: string;
61797
62178
  name: string;
@@ -61801,35 +62182,12 @@ export interface operations {
61801
62182
  name: string;
61802
62183
  classification: string | null;
61803
62184
  };
61804
- }[];
61805
- periods: string[];
61806
- ownershipPeriodIds: string[];
61807
- ownerStatementIds: string[];
61808
- };
61809
- postingChanges?: {
61810
- dimensions: {
61811
- account: {
61812
- /** Format: uuid */
61813
- id: string;
61814
- name: string;
61815
- category: {
61816
- /** Format: uuid */
61817
- id: string;
61818
- name: string;
61819
- classification: string | null;
61820
- };
61821
- } | null;
61822
- party: string | null;
61823
- currency: string | null;
61824
- postingDate: string | null;
61825
- ledger: string | null;
61826
- status: string | null;
61827
- ownershipPeriodId: string | null;
61828
- ownerStatementId: string | null;
61829
62185
  };
61830
- centTotal: {
61831
- before: number | null;
61832
- after: number | null;
62186
+ amount: {
62187
+ /** @constant */
62188
+ type: "money";
62189
+ centTotal: number;
62190
+ currency: string;
61833
62191
  };
61834
62192
  }[];
61835
62193
  };
@@ -88772,7 +89130,7 @@ export interface operations {
88772
89130
  sourceId?: string | null;
88773
89131
  message: string;
88774
89132
  /** @enum {string} */
88775
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
89133
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
88776
89134
  context?: unknown;
88777
89135
  }[];
88778
89136
  };
@@ -122006,7 +122364,7 @@ export interface operations {
122006
122364
  sourceId?: string | null;
122007
122365
  message: string;
122008
122366
  /** @enum {string} */
122009
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
122367
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
122010
122368
  context?: unknown;
122011
122369
  }[];
122012
122370
  };