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

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