@vrplatform/api 1.3.1-stage.5003 → 1.3.1-stage.5018
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/generated/v1.d.ts +1714 -71
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1714 -71
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1714 -71
package/src/generated/v1.ts
CHANGED
|
@@ -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;
|
|
@@ -5150,6 +5213,27 @@ export interface paths {
|
|
|
5150
5213
|
patch?: never;
|
|
5151
5214
|
trace?: never;
|
|
5152
5215
|
};
|
|
5216
|
+
"/team/duplicate": {
|
|
5217
|
+
parameters: {
|
|
5218
|
+
query?: never;
|
|
5219
|
+
header?: never;
|
|
5220
|
+
path?: never;
|
|
5221
|
+
cookie?: never;
|
|
5222
|
+
};
|
|
5223
|
+
get?: never;
|
|
5224
|
+
put?: never;
|
|
5225
|
+
/**
|
|
5226
|
+
* @description Queue a test-team duplicate of the supported business and accounting graph for the current team selected by x-team-id. The caller must be the managing partner. The stable uniqueRef makes exact retries target the same clone. Optional anonymization replaces visible PII while preserving accounting amounts, dates, and relationships. Users, tokens, audit history, files, webhooks, automations, integration credentials, and sync runtime state are not copied; cloned connections are disabled shells. Poll the returned audit action through the audit API; restricted tokens also need audit:read.
|
|
5227
|
+
*
|
|
5228
|
+
* Required scope: teams:provision, teams:initialize
|
|
5229
|
+
*/
|
|
5230
|
+
post: operations["postTeamDuplicate"];
|
|
5231
|
+
delete?: never;
|
|
5232
|
+
options?: never;
|
|
5233
|
+
head?: never;
|
|
5234
|
+
patch?: never;
|
|
5235
|
+
trace?: never;
|
|
5236
|
+
};
|
|
5153
5237
|
"/team/generate-demo-data": {
|
|
5154
5238
|
parameters: {
|
|
5155
5239
|
query?: never;
|
|
@@ -13508,7 +13592,7 @@ export interface operations {
|
|
|
13508
13592
|
entityId?: string;
|
|
13509
13593
|
entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
13510
13594
|
status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
13511
|
-
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
13595
|
+
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
13512
13596
|
page?: number;
|
|
13513
13597
|
};
|
|
13514
13598
|
header?: never;
|
|
@@ -13546,7 +13630,7 @@ export interface operations {
|
|
|
13546
13630
|
rootEntityType: string | null;
|
|
13547
13631
|
rootEntityId: string | null;
|
|
13548
13632
|
/** @enum {string} */
|
|
13549
|
-
effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
13633
|
+
effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
13550
13634
|
payload: unknown;
|
|
13551
13635
|
entity: ({
|
|
13552
13636
|
/** @constant */
|
|
@@ -13944,6 +14028,855 @@ export interface operations {
|
|
|
13944
14028
|
};
|
|
13945
14029
|
};
|
|
13946
14030
|
};
|
|
14031
|
+
getAuditEvents: {
|
|
14032
|
+
parameters: {
|
|
14033
|
+
query?: {
|
|
14034
|
+
cursor?: string;
|
|
14035
|
+
limit?: number;
|
|
14036
|
+
order?: "asc" | "desc";
|
|
14037
|
+
/** @description Timestamp string with date, time, milliseconds, and timezone. */
|
|
14038
|
+
updatedFrom?: string;
|
|
14039
|
+
/** @description Timestamp string with date, time, milliseconds, and timezone. */
|
|
14040
|
+
updatedTo?: string;
|
|
14041
|
+
entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
|
|
14042
|
+
entityId?: string;
|
|
14043
|
+
actionId?: string;
|
|
14044
|
+
actionCode?: string;
|
|
14045
|
+
operation?: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
14046
|
+
actorType?: "user" | "api_key" | "sync" | "automation" | "system";
|
|
14047
|
+
actorId?: string;
|
|
14048
|
+
accountingStatus?: string;
|
|
14049
|
+
accountId?: string;
|
|
14050
|
+
include?: "postingChanges";
|
|
14051
|
+
};
|
|
14052
|
+
header?: never;
|
|
14053
|
+
path?: never;
|
|
14054
|
+
cookie?: never;
|
|
14055
|
+
};
|
|
14056
|
+
requestBody?: never;
|
|
14057
|
+
responses: {
|
|
14058
|
+
/** @description Successful response */
|
|
14059
|
+
200: {
|
|
14060
|
+
headers: {
|
|
14061
|
+
[name: string]: unknown;
|
|
14062
|
+
};
|
|
14063
|
+
content: {
|
|
14064
|
+
"application/json": {
|
|
14065
|
+
data: {
|
|
14066
|
+
/** Format: uuid */
|
|
14067
|
+
id: string;
|
|
14068
|
+
revision: number;
|
|
14069
|
+
/** Format: uuid */
|
|
14070
|
+
actionId: string;
|
|
14071
|
+
team: {
|
|
14072
|
+
/** Format: uuid */
|
|
14073
|
+
id: string;
|
|
14074
|
+
uniqueRef: string | null;
|
|
14075
|
+
name: string;
|
|
14076
|
+
};
|
|
14077
|
+
/**
|
|
14078
|
+
* Format: date-time
|
|
14079
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
14080
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
14081
|
+
*/
|
|
14082
|
+
occurredAt: string;
|
|
14083
|
+
/**
|
|
14084
|
+
* Format: date-time
|
|
14085
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
14086
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
14087
|
+
*/
|
|
14088
|
+
updatedAt: string;
|
|
14089
|
+
actor: {
|
|
14090
|
+
/** @enum {string} */
|
|
14091
|
+
type: "user" | "api_key" | "sync" | "automation" | "system";
|
|
14092
|
+
id: string | null;
|
|
14093
|
+
name: string | null;
|
|
14094
|
+
email: string | null;
|
|
14095
|
+
label: string | null;
|
|
14096
|
+
};
|
|
14097
|
+
source: {
|
|
14098
|
+
/** @enum {string} */
|
|
14099
|
+
type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
|
|
14100
|
+
requestId: string | null;
|
|
14101
|
+
};
|
|
14102
|
+
action: {
|
|
14103
|
+
code: string;
|
|
14104
|
+
summary: string;
|
|
14105
|
+
/** @enum {string} */
|
|
14106
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
14107
|
+
};
|
|
14108
|
+
rootEntity: {
|
|
14109
|
+
/** @enum {string} */
|
|
14110
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
|
|
14111
|
+
/** Format: uuid */
|
|
14112
|
+
id: string;
|
|
14113
|
+
uniqueRef: string | null;
|
|
14114
|
+
name: string | null;
|
|
14115
|
+
};
|
|
14116
|
+
entityChanges: {
|
|
14117
|
+
entity: {
|
|
14118
|
+
/** @enum {string} */
|
|
14119
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
|
|
14120
|
+
/** Format: uuid */
|
|
14121
|
+
id: string;
|
|
14122
|
+
uniqueRef: string | null;
|
|
14123
|
+
name: string | null;
|
|
14124
|
+
};
|
|
14125
|
+
/** @enum {string} */
|
|
14126
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
14127
|
+
changes: {
|
|
14128
|
+
path: string;
|
|
14129
|
+
before?: unknown;
|
|
14130
|
+
after?: unknown;
|
|
14131
|
+
}[];
|
|
14132
|
+
redactedFields: string[];
|
|
14133
|
+
}[];
|
|
14134
|
+
accountingImpact: {
|
|
14135
|
+
/** @enum {string} */
|
|
14136
|
+
status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
|
|
14137
|
+
changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
|
|
14138
|
+
affected: {
|
|
14139
|
+
accounts: {
|
|
14140
|
+
/** Format: uuid */
|
|
14141
|
+
id: string;
|
|
14142
|
+
name: string;
|
|
14143
|
+
category: {
|
|
14144
|
+
/** Format: uuid */
|
|
14145
|
+
id: string;
|
|
14146
|
+
name: string;
|
|
14147
|
+
classification: string | null;
|
|
14148
|
+
};
|
|
14149
|
+
}[];
|
|
14150
|
+
periods: string[];
|
|
14151
|
+
ownershipPeriodIds: string[];
|
|
14152
|
+
ownerStatementIds: string[];
|
|
14153
|
+
};
|
|
14154
|
+
postingChanges?: {
|
|
14155
|
+
dimensions: {
|
|
14156
|
+
account: {
|
|
14157
|
+
/** Format: uuid */
|
|
14158
|
+
id: string;
|
|
14159
|
+
name: string;
|
|
14160
|
+
category: {
|
|
14161
|
+
/** Format: uuid */
|
|
14162
|
+
id: string;
|
|
14163
|
+
name: string;
|
|
14164
|
+
classification: string | null;
|
|
14165
|
+
};
|
|
14166
|
+
} | null;
|
|
14167
|
+
party: string | null;
|
|
14168
|
+
currency: string | null;
|
|
14169
|
+
postingDate: string | null;
|
|
14170
|
+
ledger: string | null;
|
|
14171
|
+
status: string | null;
|
|
14172
|
+
ownershipPeriodId: string | null;
|
|
14173
|
+
ownerStatementId: string | null;
|
|
14174
|
+
};
|
|
14175
|
+
centTotal: {
|
|
14176
|
+
before: number | null;
|
|
14177
|
+
after: number | null;
|
|
14178
|
+
};
|
|
14179
|
+
}[];
|
|
14180
|
+
};
|
|
14181
|
+
}[];
|
|
14182
|
+
page: {
|
|
14183
|
+
limit: number;
|
|
14184
|
+
hasMore: boolean;
|
|
14185
|
+
nextCursor: string | null;
|
|
14186
|
+
};
|
|
14187
|
+
};
|
|
14188
|
+
};
|
|
14189
|
+
};
|
|
14190
|
+
/** @description Bad request */
|
|
14191
|
+
400: {
|
|
14192
|
+
headers: {
|
|
14193
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14194
|
+
"Retry-After"?: number;
|
|
14195
|
+
[name: string]: unknown;
|
|
14196
|
+
};
|
|
14197
|
+
content: {
|
|
14198
|
+
"application/json": {
|
|
14199
|
+
code: string;
|
|
14200
|
+
message: string;
|
|
14201
|
+
links?: {
|
|
14202
|
+
docs: string;
|
|
14203
|
+
schema: string;
|
|
14204
|
+
};
|
|
14205
|
+
issues?: {
|
|
14206
|
+
message: string;
|
|
14207
|
+
path?: (string | number)[];
|
|
14208
|
+
schema?: string;
|
|
14209
|
+
}[];
|
|
14210
|
+
retryable?: boolean;
|
|
14211
|
+
context?: unknown;
|
|
14212
|
+
};
|
|
14213
|
+
};
|
|
14214
|
+
};
|
|
14215
|
+
/** @description Unauthorized */
|
|
14216
|
+
401: {
|
|
14217
|
+
headers: {
|
|
14218
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14219
|
+
"Retry-After"?: number;
|
|
14220
|
+
[name: string]: unknown;
|
|
14221
|
+
};
|
|
14222
|
+
content: {
|
|
14223
|
+
"application/json": {
|
|
14224
|
+
code: string;
|
|
14225
|
+
message: string;
|
|
14226
|
+
links?: {
|
|
14227
|
+
docs: string;
|
|
14228
|
+
schema: string;
|
|
14229
|
+
};
|
|
14230
|
+
issues?: {
|
|
14231
|
+
message: string;
|
|
14232
|
+
path?: (string | number)[];
|
|
14233
|
+
schema?: string;
|
|
14234
|
+
}[];
|
|
14235
|
+
retryable?: boolean;
|
|
14236
|
+
context?: unknown;
|
|
14237
|
+
};
|
|
14238
|
+
};
|
|
14239
|
+
};
|
|
14240
|
+
/** @description Forbidden */
|
|
14241
|
+
403: {
|
|
14242
|
+
headers: {
|
|
14243
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14244
|
+
"Retry-After"?: number;
|
|
14245
|
+
[name: string]: unknown;
|
|
14246
|
+
};
|
|
14247
|
+
content: {
|
|
14248
|
+
"application/json": {
|
|
14249
|
+
code: string;
|
|
14250
|
+
message: string;
|
|
14251
|
+
links?: {
|
|
14252
|
+
docs: string;
|
|
14253
|
+
schema: string;
|
|
14254
|
+
};
|
|
14255
|
+
issues?: {
|
|
14256
|
+
message: string;
|
|
14257
|
+
path?: (string | number)[];
|
|
14258
|
+
schema?: string;
|
|
14259
|
+
}[];
|
|
14260
|
+
retryable?: boolean;
|
|
14261
|
+
context?: unknown;
|
|
14262
|
+
};
|
|
14263
|
+
};
|
|
14264
|
+
};
|
|
14265
|
+
/** @description Not found */
|
|
14266
|
+
404: {
|
|
14267
|
+
headers: {
|
|
14268
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14269
|
+
"Retry-After"?: number;
|
|
14270
|
+
[name: string]: unknown;
|
|
14271
|
+
};
|
|
14272
|
+
content: {
|
|
14273
|
+
"application/json": {
|
|
14274
|
+
code: string;
|
|
14275
|
+
message: string;
|
|
14276
|
+
links?: {
|
|
14277
|
+
docs: string;
|
|
14278
|
+
schema: string;
|
|
14279
|
+
};
|
|
14280
|
+
issues?: {
|
|
14281
|
+
message: string;
|
|
14282
|
+
path?: (string | number)[];
|
|
14283
|
+
schema?: string;
|
|
14284
|
+
}[];
|
|
14285
|
+
retryable?: boolean;
|
|
14286
|
+
context?: unknown;
|
|
14287
|
+
};
|
|
14288
|
+
};
|
|
14289
|
+
};
|
|
14290
|
+
/** @description Conflict */
|
|
14291
|
+
409: {
|
|
14292
|
+
headers: {
|
|
14293
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14294
|
+
"Retry-After"?: number;
|
|
14295
|
+
[name: string]: unknown;
|
|
14296
|
+
};
|
|
14297
|
+
content: {
|
|
14298
|
+
"application/json": {
|
|
14299
|
+
code: string;
|
|
14300
|
+
message: string;
|
|
14301
|
+
links?: {
|
|
14302
|
+
docs: string;
|
|
14303
|
+
schema: string;
|
|
14304
|
+
};
|
|
14305
|
+
issues?: {
|
|
14306
|
+
message: string;
|
|
14307
|
+
path?: (string | number)[];
|
|
14308
|
+
schema?: string;
|
|
14309
|
+
}[];
|
|
14310
|
+
retryable?: boolean;
|
|
14311
|
+
context?: unknown;
|
|
14312
|
+
};
|
|
14313
|
+
};
|
|
14314
|
+
};
|
|
14315
|
+
/** @description Audit cursor expired */
|
|
14316
|
+
410: {
|
|
14317
|
+
headers: {
|
|
14318
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14319
|
+
"Retry-After"?: number;
|
|
14320
|
+
[name: string]: unknown;
|
|
14321
|
+
};
|
|
14322
|
+
content: {
|
|
14323
|
+
"application/json": {
|
|
14324
|
+
code: string;
|
|
14325
|
+
message: string;
|
|
14326
|
+
links?: {
|
|
14327
|
+
docs: string;
|
|
14328
|
+
schema: string;
|
|
14329
|
+
};
|
|
14330
|
+
issues?: {
|
|
14331
|
+
message: string;
|
|
14332
|
+
path?: (string | number)[];
|
|
14333
|
+
schema?: string;
|
|
14334
|
+
}[];
|
|
14335
|
+
retryable?: boolean;
|
|
14336
|
+
context?: unknown;
|
|
14337
|
+
};
|
|
14338
|
+
};
|
|
14339
|
+
};
|
|
14340
|
+
/** @description Misdirected regional request */
|
|
14341
|
+
421: {
|
|
14342
|
+
headers: {
|
|
14343
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14344
|
+
"Retry-After"?: number;
|
|
14345
|
+
[name: string]: unknown;
|
|
14346
|
+
};
|
|
14347
|
+
content: {
|
|
14348
|
+
"application/json": {
|
|
14349
|
+
code: string;
|
|
14350
|
+
message: string;
|
|
14351
|
+
links?: {
|
|
14352
|
+
docs: string;
|
|
14353
|
+
schema: string;
|
|
14354
|
+
};
|
|
14355
|
+
issues?: {
|
|
14356
|
+
message: string;
|
|
14357
|
+
path?: (string | number)[];
|
|
14358
|
+
schema?: string;
|
|
14359
|
+
}[];
|
|
14360
|
+
retryable?: boolean;
|
|
14361
|
+
context?: unknown;
|
|
14362
|
+
};
|
|
14363
|
+
};
|
|
14364
|
+
};
|
|
14365
|
+
/** @description Unprocessable content */
|
|
14366
|
+
422: {
|
|
14367
|
+
headers: {
|
|
14368
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14369
|
+
"Retry-After"?: number;
|
|
14370
|
+
[name: string]: unknown;
|
|
14371
|
+
};
|
|
14372
|
+
content: {
|
|
14373
|
+
"application/json": {
|
|
14374
|
+
code: string;
|
|
14375
|
+
message: string;
|
|
14376
|
+
links?: {
|
|
14377
|
+
docs: string;
|
|
14378
|
+
schema: string;
|
|
14379
|
+
};
|
|
14380
|
+
issues?: {
|
|
14381
|
+
message: string;
|
|
14382
|
+
path?: (string | number)[];
|
|
14383
|
+
schema?: string;
|
|
14384
|
+
}[];
|
|
14385
|
+
retryable?: boolean;
|
|
14386
|
+
context?: unknown;
|
|
14387
|
+
};
|
|
14388
|
+
};
|
|
14389
|
+
};
|
|
14390
|
+
/** @description Rate limited */
|
|
14391
|
+
429: {
|
|
14392
|
+
headers: {
|
|
14393
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14394
|
+
"Retry-After"?: number;
|
|
14395
|
+
[name: string]: unknown;
|
|
14396
|
+
};
|
|
14397
|
+
content: {
|
|
14398
|
+
"application/json": {
|
|
14399
|
+
code: string;
|
|
14400
|
+
message: string;
|
|
14401
|
+
links?: {
|
|
14402
|
+
docs: string;
|
|
14403
|
+
schema: string;
|
|
14404
|
+
};
|
|
14405
|
+
issues?: {
|
|
14406
|
+
message: string;
|
|
14407
|
+
path?: (string | number)[];
|
|
14408
|
+
schema?: string;
|
|
14409
|
+
}[];
|
|
14410
|
+
retryable?: boolean;
|
|
14411
|
+
context?: unknown;
|
|
14412
|
+
};
|
|
14413
|
+
};
|
|
14414
|
+
};
|
|
14415
|
+
/** @description Internal server error */
|
|
14416
|
+
500: {
|
|
14417
|
+
headers: {
|
|
14418
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14419
|
+
"Retry-After"?: number;
|
|
14420
|
+
[name: string]: unknown;
|
|
14421
|
+
};
|
|
14422
|
+
content: {
|
|
14423
|
+
"application/json": {
|
|
14424
|
+
code: string;
|
|
14425
|
+
message: string;
|
|
14426
|
+
links?: {
|
|
14427
|
+
docs: string;
|
|
14428
|
+
schema: string;
|
|
14429
|
+
};
|
|
14430
|
+
issues?: {
|
|
14431
|
+
message: string;
|
|
14432
|
+
path?: (string | number)[];
|
|
14433
|
+
schema?: string;
|
|
14434
|
+
}[];
|
|
14435
|
+
retryable?: boolean;
|
|
14436
|
+
context?: unknown;
|
|
14437
|
+
};
|
|
14438
|
+
};
|
|
14439
|
+
};
|
|
14440
|
+
/** @description Service unavailable */
|
|
14441
|
+
503: {
|
|
14442
|
+
headers: {
|
|
14443
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14444
|
+
"Retry-After"?: number;
|
|
14445
|
+
[name: string]: unknown;
|
|
14446
|
+
};
|
|
14447
|
+
content: {
|
|
14448
|
+
"application/json": {
|
|
14449
|
+
code: string;
|
|
14450
|
+
message: string;
|
|
14451
|
+
links?: {
|
|
14452
|
+
docs: string;
|
|
14453
|
+
schema: string;
|
|
14454
|
+
};
|
|
14455
|
+
issues?: {
|
|
14456
|
+
message: string;
|
|
14457
|
+
path?: (string | number)[];
|
|
14458
|
+
schema?: string;
|
|
14459
|
+
}[];
|
|
14460
|
+
retryable?: boolean;
|
|
14461
|
+
context?: unknown;
|
|
14462
|
+
};
|
|
14463
|
+
};
|
|
14464
|
+
};
|
|
14465
|
+
};
|
|
14466
|
+
};
|
|
14467
|
+
getAuditEventsById: {
|
|
14468
|
+
parameters: {
|
|
14469
|
+
query?: never;
|
|
14470
|
+
header?: never;
|
|
14471
|
+
path: {
|
|
14472
|
+
id: string;
|
|
14473
|
+
};
|
|
14474
|
+
cookie?: never;
|
|
14475
|
+
};
|
|
14476
|
+
requestBody?: never;
|
|
14477
|
+
responses: {
|
|
14478
|
+
/** @description Successful response */
|
|
14479
|
+
200: {
|
|
14480
|
+
headers: {
|
|
14481
|
+
[name: string]: unknown;
|
|
14482
|
+
};
|
|
14483
|
+
content: {
|
|
14484
|
+
"application/json": {
|
|
14485
|
+
/** Format: uuid */
|
|
14486
|
+
id: string;
|
|
14487
|
+
revision: number;
|
|
14488
|
+
/** Format: uuid */
|
|
14489
|
+
actionId: string;
|
|
14490
|
+
team: {
|
|
14491
|
+
/** Format: uuid */
|
|
14492
|
+
id: string;
|
|
14493
|
+
uniqueRef: string | null;
|
|
14494
|
+
name: string;
|
|
14495
|
+
};
|
|
14496
|
+
/**
|
|
14497
|
+
* Format: date-time
|
|
14498
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
14499
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
14500
|
+
*/
|
|
14501
|
+
occurredAt: string;
|
|
14502
|
+
/**
|
|
14503
|
+
* Format: date-time
|
|
14504
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
14505
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
14506
|
+
*/
|
|
14507
|
+
updatedAt: string;
|
|
14508
|
+
actor: {
|
|
14509
|
+
/** @enum {string} */
|
|
14510
|
+
type: "user" | "api_key" | "sync" | "automation" | "system";
|
|
14511
|
+
id: string | null;
|
|
14512
|
+
name: string | null;
|
|
14513
|
+
email: string | null;
|
|
14514
|
+
label: string | null;
|
|
14515
|
+
};
|
|
14516
|
+
source: {
|
|
14517
|
+
/** @enum {string} */
|
|
14518
|
+
type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
|
|
14519
|
+
requestId: string | null;
|
|
14520
|
+
};
|
|
14521
|
+
action: {
|
|
14522
|
+
code: string;
|
|
14523
|
+
summary: string;
|
|
14524
|
+
/** @enum {string} */
|
|
14525
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
14526
|
+
};
|
|
14527
|
+
rootEntity: {
|
|
14528
|
+
/** @enum {string} */
|
|
14529
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
|
|
14530
|
+
/** Format: uuid */
|
|
14531
|
+
id: string;
|
|
14532
|
+
uniqueRef: string | null;
|
|
14533
|
+
name: string | null;
|
|
14534
|
+
};
|
|
14535
|
+
entityChanges: {
|
|
14536
|
+
entity: {
|
|
14537
|
+
/** @enum {string} */
|
|
14538
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
|
|
14539
|
+
/** Format: uuid */
|
|
14540
|
+
id: string;
|
|
14541
|
+
uniqueRef: string | null;
|
|
14542
|
+
name: string | null;
|
|
14543
|
+
};
|
|
14544
|
+
/** @enum {string} */
|
|
14545
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
14546
|
+
changes: {
|
|
14547
|
+
path: string;
|
|
14548
|
+
before?: unknown;
|
|
14549
|
+
after?: unknown;
|
|
14550
|
+
}[];
|
|
14551
|
+
redactedFields: string[];
|
|
14552
|
+
}[];
|
|
14553
|
+
accountingImpact: {
|
|
14554
|
+
/** @enum {string} */
|
|
14555
|
+
status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
|
|
14556
|
+
changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
|
|
14557
|
+
affected: {
|
|
14558
|
+
accounts: {
|
|
14559
|
+
/** Format: uuid */
|
|
14560
|
+
id: string;
|
|
14561
|
+
name: string;
|
|
14562
|
+
category: {
|
|
14563
|
+
/** Format: uuid */
|
|
14564
|
+
id: string;
|
|
14565
|
+
name: string;
|
|
14566
|
+
classification: string | null;
|
|
14567
|
+
};
|
|
14568
|
+
}[];
|
|
14569
|
+
periods: string[];
|
|
14570
|
+
ownershipPeriodIds: string[];
|
|
14571
|
+
ownerStatementIds: string[];
|
|
14572
|
+
};
|
|
14573
|
+
postingChanges: {
|
|
14574
|
+
dimensions: {
|
|
14575
|
+
account: {
|
|
14576
|
+
/** Format: uuid */
|
|
14577
|
+
id: string;
|
|
14578
|
+
name: string;
|
|
14579
|
+
category: {
|
|
14580
|
+
/** Format: uuid */
|
|
14581
|
+
id: string;
|
|
14582
|
+
name: string;
|
|
14583
|
+
classification: string | null;
|
|
14584
|
+
};
|
|
14585
|
+
} | null;
|
|
14586
|
+
party: string | null;
|
|
14587
|
+
currency: string | null;
|
|
14588
|
+
postingDate: string | null;
|
|
14589
|
+
ledger: string | null;
|
|
14590
|
+
status: string | null;
|
|
14591
|
+
ownershipPeriodId: string | null;
|
|
14592
|
+
ownerStatementId: string | null;
|
|
14593
|
+
};
|
|
14594
|
+
centTotal: {
|
|
14595
|
+
before: number | null;
|
|
14596
|
+
after: number | null;
|
|
14597
|
+
};
|
|
14598
|
+
}[];
|
|
14599
|
+
};
|
|
14600
|
+
};
|
|
14601
|
+
};
|
|
14602
|
+
};
|
|
14603
|
+
/** @description Bad request */
|
|
14604
|
+
400: {
|
|
14605
|
+
headers: {
|
|
14606
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14607
|
+
"Retry-After"?: number;
|
|
14608
|
+
[name: string]: unknown;
|
|
14609
|
+
};
|
|
14610
|
+
content: {
|
|
14611
|
+
"application/json": {
|
|
14612
|
+
code: string;
|
|
14613
|
+
message: string;
|
|
14614
|
+
links?: {
|
|
14615
|
+
docs: string;
|
|
14616
|
+
schema: string;
|
|
14617
|
+
};
|
|
14618
|
+
issues?: {
|
|
14619
|
+
message: string;
|
|
14620
|
+
path?: (string | number)[];
|
|
14621
|
+
schema?: string;
|
|
14622
|
+
}[];
|
|
14623
|
+
retryable?: boolean;
|
|
14624
|
+
context?: unknown;
|
|
14625
|
+
};
|
|
14626
|
+
};
|
|
14627
|
+
};
|
|
14628
|
+
/** @description Unauthorized */
|
|
14629
|
+
401: {
|
|
14630
|
+
headers: {
|
|
14631
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14632
|
+
"Retry-After"?: number;
|
|
14633
|
+
[name: string]: unknown;
|
|
14634
|
+
};
|
|
14635
|
+
content: {
|
|
14636
|
+
"application/json": {
|
|
14637
|
+
code: string;
|
|
14638
|
+
message: string;
|
|
14639
|
+
links?: {
|
|
14640
|
+
docs: string;
|
|
14641
|
+
schema: string;
|
|
14642
|
+
};
|
|
14643
|
+
issues?: {
|
|
14644
|
+
message: string;
|
|
14645
|
+
path?: (string | number)[];
|
|
14646
|
+
schema?: string;
|
|
14647
|
+
}[];
|
|
14648
|
+
retryable?: boolean;
|
|
14649
|
+
context?: unknown;
|
|
14650
|
+
};
|
|
14651
|
+
};
|
|
14652
|
+
};
|
|
14653
|
+
/** @description Forbidden */
|
|
14654
|
+
403: {
|
|
14655
|
+
headers: {
|
|
14656
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14657
|
+
"Retry-After"?: number;
|
|
14658
|
+
[name: string]: unknown;
|
|
14659
|
+
};
|
|
14660
|
+
content: {
|
|
14661
|
+
"application/json": {
|
|
14662
|
+
code: string;
|
|
14663
|
+
message: string;
|
|
14664
|
+
links?: {
|
|
14665
|
+
docs: string;
|
|
14666
|
+
schema: string;
|
|
14667
|
+
};
|
|
14668
|
+
issues?: {
|
|
14669
|
+
message: string;
|
|
14670
|
+
path?: (string | number)[];
|
|
14671
|
+
schema?: string;
|
|
14672
|
+
}[];
|
|
14673
|
+
retryable?: boolean;
|
|
14674
|
+
context?: unknown;
|
|
14675
|
+
};
|
|
14676
|
+
};
|
|
14677
|
+
};
|
|
14678
|
+
/** @description Not found */
|
|
14679
|
+
404: {
|
|
14680
|
+
headers: {
|
|
14681
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14682
|
+
"Retry-After"?: number;
|
|
14683
|
+
[name: string]: unknown;
|
|
14684
|
+
};
|
|
14685
|
+
content: {
|
|
14686
|
+
"application/json": {
|
|
14687
|
+
code: string;
|
|
14688
|
+
message: string;
|
|
14689
|
+
links?: {
|
|
14690
|
+
docs: string;
|
|
14691
|
+
schema: string;
|
|
14692
|
+
};
|
|
14693
|
+
issues?: {
|
|
14694
|
+
message: string;
|
|
14695
|
+
path?: (string | number)[];
|
|
14696
|
+
schema?: string;
|
|
14697
|
+
}[];
|
|
14698
|
+
retryable?: boolean;
|
|
14699
|
+
context?: unknown;
|
|
14700
|
+
};
|
|
14701
|
+
};
|
|
14702
|
+
};
|
|
14703
|
+
/** @description Conflict */
|
|
14704
|
+
409: {
|
|
14705
|
+
headers: {
|
|
14706
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14707
|
+
"Retry-After"?: number;
|
|
14708
|
+
[name: string]: unknown;
|
|
14709
|
+
};
|
|
14710
|
+
content: {
|
|
14711
|
+
"application/json": {
|
|
14712
|
+
code: string;
|
|
14713
|
+
message: string;
|
|
14714
|
+
links?: {
|
|
14715
|
+
docs: string;
|
|
14716
|
+
schema: string;
|
|
14717
|
+
};
|
|
14718
|
+
issues?: {
|
|
14719
|
+
message: string;
|
|
14720
|
+
path?: (string | number)[];
|
|
14721
|
+
schema?: string;
|
|
14722
|
+
}[];
|
|
14723
|
+
retryable?: boolean;
|
|
14724
|
+
context?: unknown;
|
|
14725
|
+
};
|
|
14726
|
+
};
|
|
14727
|
+
};
|
|
14728
|
+
/** @description Gone */
|
|
14729
|
+
410: {
|
|
14730
|
+
headers: {
|
|
14731
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14732
|
+
"Retry-After"?: number;
|
|
14733
|
+
[name: string]: unknown;
|
|
14734
|
+
};
|
|
14735
|
+
content: {
|
|
14736
|
+
"application/json": {
|
|
14737
|
+
code: string;
|
|
14738
|
+
message: string;
|
|
14739
|
+
links?: {
|
|
14740
|
+
docs: string;
|
|
14741
|
+
schema: string;
|
|
14742
|
+
};
|
|
14743
|
+
issues?: {
|
|
14744
|
+
message: string;
|
|
14745
|
+
path?: (string | number)[];
|
|
14746
|
+
schema?: string;
|
|
14747
|
+
}[];
|
|
14748
|
+
retryable?: boolean;
|
|
14749
|
+
context?: unknown;
|
|
14750
|
+
};
|
|
14751
|
+
};
|
|
14752
|
+
};
|
|
14753
|
+
/** @description Misdirected regional request */
|
|
14754
|
+
421: {
|
|
14755
|
+
headers: {
|
|
14756
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14757
|
+
"Retry-After"?: number;
|
|
14758
|
+
[name: string]: unknown;
|
|
14759
|
+
};
|
|
14760
|
+
content: {
|
|
14761
|
+
"application/json": {
|
|
14762
|
+
code: string;
|
|
14763
|
+
message: string;
|
|
14764
|
+
links?: {
|
|
14765
|
+
docs: string;
|
|
14766
|
+
schema: string;
|
|
14767
|
+
};
|
|
14768
|
+
issues?: {
|
|
14769
|
+
message: string;
|
|
14770
|
+
path?: (string | number)[];
|
|
14771
|
+
schema?: string;
|
|
14772
|
+
}[];
|
|
14773
|
+
retryable?: boolean;
|
|
14774
|
+
context?: unknown;
|
|
14775
|
+
};
|
|
14776
|
+
};
|
|
14777
|
+
};
|
|
14778
|
+
/** @description Unprocessable content */
|
|
14779
|
+
422: {
|
|
14780
|
+
headers: {
|
|
14781
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14782
|
+
"Retry-After"?: number;
|
|
14783
|
+
[name: string]: unknown;
|
|
14784
|
+
};
|
|
14785
|
+
content: {
|
|
14786
|
+
"application/json": {
|
|
14787
|
+
code: string;
|
|
14788
|
+
message: string;
|
|
14789
|
+
links?: {
|
|
14790
|
+
docs: string;
|
|
14791
|
+
schema: string;
|
|
14792
|
+
};
|
|
14793
|
+
issues?: {
|
|
14794
|
+
message: string;
|
|
14795
|
+
path?: (string | number)[];
|
|
14796
|
+
schema?: string;
|
|
14797
|
+
}[];
|
|
14798
|
+
retryable?: boolean;
|
|
14799
|
+
context?: unknown;
|
|
14800
|
+
};
|
|
14801
|
+
};
|
|
14802
|
+
};
|
|
14803
|
+
/** @description Rate limited */
|
|
14804
|
+
429: {
|
|
14805
|
+
headers: {
|
|
14806
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14807
|
+
"Retry-After"?: number;
|
|
14808
|
+
[name: string]: unknown;
|
|
14809
|
+
};
|
|
14810
|
+
content: {
|
|
14811
|
+
"application/json": {
|
|
14812
|
+
code: string;
|
|
14813
|
+
message: string;
|
|
14814
|
+
links?: {
|
|
14815
|
+
docs: string;
|
|
14816
|
+
schema: string;
|
|
14817
|
+
};
|
|
14818
|
+
issues?: {
|
|
14819
|
+
message: string;
|
|
14820
|
+
path?: (string | number)[];
|
|
14821
|
+
schema?: string;
|
|
14822
|
+
}[];
|
|
14823
|
+
retryable?: boolean;
|
|
14824
|
+
context?: unknown;
|
|
14825
|
+
};
|
|
14826
|
+
};
|
|
14827
|
+
};
|
|
14828
|
+
/** @description Internal server error */
|
|
14829
|
+
500: {
|
|
14830
|
+
headers: {
|
|
14831
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14832
|
+
"Retry-After"?: number;
|
|
14833
|
+
[name: string]: unknown;
|
|
14834
|
+
};
|
|
14835
|
+
content: {
|
|
14836
|
+
"application/json": {
|
|
14837
|
+
code: string;
|
|
14838
|
+
message: string;
|
|
14839
|
+
links?: {
|
|
14840
|
+
docs: string;
|
|
14841
|
+
schema: string;
|
|
14842
|
+
};
|
|
14843
|
+
issues?: {
|
|
14844
|
+
message: string;
|
|
14845
|
+
path?: (string | number)[];
|
|
14846
|
+
schema?: string;
|
|
14847
|
+
}[];
|
|
14848
|
+
retryable?: boolean;
|
|
14849
|
+
context?: unknown;
|
|
14850
|
+
};
|
|
14851
|
+
};
|
|
14852
|
+
};
|
|
14853
|
+
/** @description Service unavailable */
|
|
14854
|
+
503: {
|
|
14855
|
+
headers: {
|
|
14856
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
14857
|
+
"Retry-After"?: number;
|
|
14858
|
+
[name: string]: unknown;
|
|
14859
|
+
};
|
|
14860
|
+
content: {
|
|
14861
|
+
"application/json": {
|
|
14862
|
+
code: string;
|
|
14863
|
+
message: string;
|
|
14864
|
+
links?: {
|
|
14865
|
+
docs: string;
|
|
14866
|
+
schema: string;
|
|
14867
|
+
};
|
|
14868
|
+
issues?: {
|
|
14869
|
+
message: string;
|
|
14870
|
+
path?: (string | number)[];
|
|
14871
|
+
schema?: string;
|
|
14872
|
+
}[];
|
|
14873
|
+
retryable?: boolean;
|
|
14874
|
+
context?: unknown;
|
|
14875
|
+
};
|
|
14876
|
+
};
|
|
14877
|
+
};
|
|
14878
|
+
};
|
|
14879
|
+
};
|
|
13947
14880
|
getAuditJournalDeltas: {
|
|
13948
14881
|
parameters: {
|
|
13949
14882
|
query?: {
|
|
@@ -14001,6 +14934,10 @@ export interface operations {
|
|
|
14001
14934
|
accountIdAfter: string | null;
|
|
14002
14935
|
centTotalBefore: number | null;
|
|
14003
14936
|
centTotalAfter: number | null;
|
|
14937
|
+
currencyBefore: string | null;
|
|
14938
|
+
currencyAfter: string | null;
|
|
14939
|
+
ledgerBefore: string | null;
|
|
14940
|
+
ledgerAfter: string | null;
|
|
14004
14941
|
txnAtBefore: string | null;
|
|
14005
14942
|
txnAtAfter: string | null;
|
|
14006
14943
|
statusBefore: string | null;
|
|
@@ -58887,13 +59824,273 @@ export interface operations {
|
|
|
58887
59824
|
};
|
|
58888
59825
|
};
|
|
58889
59826
|
};
|
|
58890
|
-
getMetricReservationCount: {
|
|
59827
|
+
getMetricReservationCount: {
|
|
59828
|
+
parameters: {
|
|
59829
|
+
query?: {
|
|
59830
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
59831
|
+
startDate?: string;
|
|
59832
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
59833
|
+
endDate?: string;
|
|
59834
|
+
/** @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. */
|
|
59835
|
+
dateRange?: string;
|
|
59836
|
+
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
59837
|
+
isDateRangeEndInclusive?: boolean;
|
|
59838
|
+
};
|
|
59839
|
+
header?: never;
|
|
59840
|
+
path?: never;
|
|
59841
|
+
cookie?: never;
|
|
59842
|
+
};
|
|
59843
|
+
requestBody?: never;
|
|
59844
|
+
responses: {
|
|
59845
|
+
/** @description Successful response */
|
|
59846
|
+
200: {
|
|
59847
|
+
headers: {
|
|
59848
|
+
[name: string]: unknown;
|
|
59849
|
+
};
|
|
59850
|
+
content: {
|
|
59851
|
+
"application/json": {
|
|
59852
|
+
data: {
|
|
59853
|
+
current: number;
|
|
59854
|
+
previous: number;
|
|
59855
|
+
delta: number;
|
|
59856
|
+
deltaPercentage: number | null;
|
|
59857
|
+
}[];
|
|
59858
|
+
};
|
|
59859
|
+
};
|
|
59860
|
+
};
|
|
59861
|
+
/** @description Bad request */
|
|
59862
|
+
400: {
|
|
59863
|
+
headers: {
|
|
59864
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59865
|
+
"Retry-After"?: number;
|
|
59866
|
+
[name: string]: unknown;
|
|
59867
|
+
};
|
|
59868
|
+
content: {
|
|
59869
|
+
"application/json": {
|
|
59870
|
+
code: string;
|
|
59871
|
+
message: string;
|
|
59872
|
+
links?: {
|
|
59873
|
+
docs: string;
|
|
59874
|
+
schema: string;
|
|
59875
|
+
};
|
|
59876
|
+
issues?: {
|
|
59877
|
+
message: string;
|
|
59878
|
+
path?: (string | number)[];
|
|
59879
|
+
schema?: string;
|
|
59880
|
+
}[];
|
|
59881
|
+
retryable?: boolean;
|
|
59882
|
+
context?: unknown;
|
|
59883
|
+
};
|
|
59884
|
+
};
|
|
59885
|
+
};
|
|
59886
|
+
/** @description Unauthorized */
|
|
59887
|
+
401: {
|
|
59888
|
+
headers: {
|
|
59889
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59890
|
+
"Retry-After"?: number;
|
|
59891
|
+
[name: string]: unknown;
|
|
59892
|
+
};
|
|
59893
|
+
content: {
|
|
59894
|
+
"application/json": {
|
|
59895
|
+
code: string;
|
|
59896
|
+
message: string;
|
|
59897
|
+
links?: {
|
|
59898
|
+
docs: string;
|
|
59899
|
+
schema: string;
|
|
59900
|
+
};
|
|
59901
|
+
issues?: {
|
|
59902
|
+
message: string;
|
|
59903
|
+
path?: (string | number)[];
|
|
59904
|
+
schema?: string;
|
|
59905
|
+
}[];
|
|
59906
|
+
retryable?: boolean;
|
|
59907
|
+
context?: unknown;
|
|
59908
|
+
};
|
|
59909
|
+
};
|
|
59910
|
+
};
|
|
59911
|
+
/** @description Forbidden */
|
|
59912
|
+
403: {
|
|
59913
|
+
headers: {
|
|
59914
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59915
|
+
"Retry-After"?: number;
|
|
59916
|
+
[name: string]: unknown;
|
|
59917
|
+
};
|
|
59918
|
+
content: {
|
|
59919
|
+
"application/json": {
|
|
59920
|
+
code: string;
|
|
59921
|
+
message: string;
|
|
59922
|
+
links?: {
|
|
59923
|
+
docs: string;
|
|
59924
|
+
schema: string;
|
|
59925
|
+
};
|
|
59926
|
+
issues?: {
|
|
59927
|
+
message: string;
|
|
59928
|
+
path?: (string | number)[];
|
|
59929
|
+
schema?: string;
|
|
59930
|
+
}[];
|
|
59931
|
+
retryable?: boolean;
|
|
59932
|
+
context?: unknown;
|
|
59933
|
+
};
|
|
59934
|
+
};
|
|
59935
|
+
};
|
|
59936
|
+
/** @description Not found */
|
|
59937
|
+
404: {
|
|
59938
|
+
headers: {
|
|
59939
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59940
|
+
"Retry-After"?: number;
|
|
59941
|
+
[name: string]: unknown;
|
|
59942
|
+
};
|
|
59943
|
+
content: {
|
|
59944
|
+
"application/json": {
|
|
59945
|
+
code: string;
|
|
59946
|
+
message: string;
|
|
59947
|
+
links?: {
|
|
59948
|
+
docs: string;
|
|
59949
|
+
schema: string;
|
|
59950
|
+
};
|
|
59951
|
+
issues?: {
|
|
59952
|
+
message: string;
|
|
59953
|
+
path?: (string | number)[];
|
|
59954
|
+
schema?: string;
|
|
59955
|
+
}[];
|
|
59956
|
+
retryable?: boolean;
|
|
59957
|
+
context?: unknown;
|
|
59958
|
+
};
|
|
59959
|
+
};
|
|
59960
|
+
};
|
|
59961
|
+
/** @description Conflict */
|
|
59962
|
+
409: {
|
|
59963
|
+
headers: {
|
|
59964
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59965
|
+
"Retry-After"?: number;
|
|
59966
|
+
[name: string]: unknown;
|
|
59967
|
+
};
|
|
59968
|
+
content: {
|
|
59969
|
+
"application/json": {
|
|
59970
|
+
code: string;
|
|
59971
|
+
message: string;
|
|
59972
|
+
links?: {
|
|
59973
|
+
docs: string;
|
|
59974
|
+
schema: string;
|
|
59975
|
+
};
|
|
59976
|
+
issues?: {
|
|
59977
|
+
message: string;
|
|
59978
|
+
path?: (string | number)[];
|
|
59979
|
+
schema?: string;
|
|
59980
|
+
}[];
|
|
59981
|
+
retryable?: boolean;
|
|
59982
|
+
context?: unknown;
|
|
59983
|
+
};
|
|
59984
|
+
};
|
|
59985
|
+
};
|
|
59986
|
+
/** @description Gone */
|
|
59987
|
+
410: {
|
|
59988
|
+
headers: {
|
|
59989
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
59990
|
+
"Retry-After"?: number;
|
|
59991
|
+
[name: string]: unknown;
|
|
59992
|
+
};
|
|
59993
|
+
content: {
|
|
59994
|
+
"application/json": {
|
|
59995
|
+
code: string;
|
|
59996
|
+
message: string;
|
|
59997
|
+
links?: {
|
|
59998
|
+
docs: string;
|
|
59999
|
+
schema: string;
|
|
60000
|
+
};
|
|
60001
|
+
issues?: {
|
|
60002
|
+
message: string;
|
|
60003
|
+
path?: (string | number)[];
|
|
60004
|
+
schema?: string;
|
|
60005
|
+
}[];
|
|
60006
|
+
retryable?: boolean;
|
|
60007
|
+
context?: unknown;
|
|
60008
|
+
};
|
|
60009
|
+
};
|
|
60010
|
+
};
|
|
60011
|
+
/** @description Unprocessable content */
|
|
60012
|
+
422: {
|
|
60013
|
+
headers: {
|
|
60014
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
60015
|
+
"Retry-After"?: number;
|
|
60016
|
+
[name: string]: unknown;
|
|
60017
|
+
};
|
|
60018
|
+
content: {
|
|
60019
|
+
"application/json": {
|
|
60020
|
+
code: string;
|
|
60021
|
+
message: string;
|
|
60022
|
+
links?: {
|
|
60023
|
+
docs: string;
|
|
60024
|
+
schema: string;
|
|
60025
|
+
};
|
|
60026
|
+
issues?: {
|
|
60027
|
+
message: string;
|
|
60028
|
+
path?: (string | number)[];
|
|
60029
|
+
schema?: string;
|
|
60030
|
+
}[];
|
|
60031
|
+
retryable?: boolean;
|
|
60032
|
+
context?: unknown;
|
|
60033
|
+
};
|
|
60034
|
+
};
|
|
60035
|
+
};
|
|
60036
|
+
/** @description Internal server error */
|
|
60037
|
+
500: {
|
|
60038
|
+
headers: {
|
|
60039
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
60040
|
+
"Retry-After"?: number;
|
|
60041
|
+
[name: string]: unknown;
|
|
60042
|
+
};
|
|
60043
|
+
content: {
|
|
60044
|
+
"application/json": {
|
|
60045
|
+
code: string;
|
|
60046
|
+
message: string;
|
|
60047
|
+
links?: {
|
|
60048
|
+
docs: string;
|
|
60049
|
+
schema: string;
|
|
60050
|
+
};
|
|
60051
|
+
issues?: {
|
|
60052
|
+
message: string;
|
|
60053
|
+
path?: (string | number)[];
|
|
60054
|
+
schema?: string;
|
|
60055
|
+
}[];
|
|
60056
|
+
retryable?: boolean;
|
|
60057
|
+
context?: unknown;
|
|
60058
|
+
};
|
|
60059
|
+
};
|
|
60060
|
+
};
|
|
60061
|
+
/** @description Service unavailable */
|
|
60062
|
+
503: {
|
|
60063
|
+
headers: {
|
|
60064
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
60065
|
+
"Retry-After"?: number;
|
|
60066
|
+
[name: string]: unknown;
|
|
60067
|
+
};
|
|
60068
|
+
content: {
|
|
60069
|
+
"application/json": {
|
|
60070
|
+
code: string;
|
|
60071
|
+
message: string;
|
|
60072
|
+
links?: {
|
|
60073
|
+
docs: string;
|
|
60074
|
+
schema: string;
|
|
60075
|
+
};
|
|
60076
|
+
issues?: {
|
|
60077
|
+
message: string;
|
|
60078
|
+
path?: (string | number)[];
|
|
60079
|
+
schema?: string;
|
|
60080
|
+
}[];
|
|
60081
|
+
retryable?: boolean;
|
|
60082
|
+
context?: unknown;
|
|
60083
|
+
};
|
|
60084
|
+
};
|
|
60085
|
+
};
|
|
60086
|
+
};
|
|
60087
|
+
};
|
|
60088
|
+
getMetricReservationVolume: {
|
|
58891
60089
|
parameters: {
|
|
58892
60090
|
query?: {
|
|
58893
|
-
|
|
58894
|
-
|
|
58895
|
-
|
|
58896
|
-
endDate?: string;
|
|
60091
|
+
interval?: "month" | "week" | "day" | "year";
|
|
60092
|
+
/** @description Deprecated: use interval */
|
|
60093
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
58897
60094
|
/** @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
60095
|
dateRange?: string;
|
|
58899
60096
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -58913,10 +60110,10 @@ export interface operations {
|
|
|
58913
60110
|
content: {
|
|
58914
60111
|
"application/json": {
|
|
58915
60112
|
data: {
|
|
58916
|
-
|
|
58917
|
-
|
|
58918
|
-
|
|
58919
|
-
|
|
60113
|
+
currency: string | null;
|
|
60114
|
+
date: string;
|
|
60115
|
+
/** @description Decimal value in dollars (major currency units) */
|
|
60116
|
+
amount: number;
|
|
58920
60117
|
}[];
|
|
58921
60118
|
};
|
|
58922
60119
|
};
|
|
@@ -59148,12 +60345,16 @@ export interface operations {
|
|
|
59148
60345
|
};
|
|
59149
60346
|
};
|
|
59150
60347
|
};
|
|
59151
|
-
|
|
60348
|
+
getMetricRevenue: {
|
|
59152
60349
|
parameters: {
|
|
59153
60350
|
query?: {
|
|
59154
60351
|
interval?: "month" | "week" | "day" | "year";
|
|
59155
60352
|
/** @description Deprecated: use interval */
|
|
59156
60353
|
dimension?: "month" | "week" | "day" | "year";
|
|
60354
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
60355
|
+
startDate?: string;
|
|
60356
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
60357
|
+
endDate?: string;
|
|
59157
60358
|
/** @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
60359
|
dateRange?: string;
|
|
59159
60360
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -59173,10 +60374,9 @@ export interface operations {
|
|
|
59173
60374
|
content: {
|
|
59174
60375
|
"application/json": {
|
|
59175
60376
|
data: {
|
|
59176
|
-
currency: string | null;
|
|
59177
60377
|
date: string;
|
|
59178
|
-
|
|
59179
|
-
|
|
60378
|
+
grossGuestRevenue: number;
|
|
60379
|
+
pmRevenue: number;
|
|
59180
60380
|
}[];
|
|
59181
60381
|
};
|
|
59182
60382
|
};
|
|
@@ -59408,16 +60608,14 @@ export interface operations {
|
|
|
59408
60608
|
};
|
|
59409
60609
|
};
|
|
59410
60610
|
};
|
|
59411
|
-
|
|
60611
|
+
getSyncMetricsByStatus: {
|
|
59412
60612
|
parameters: {
|
|
59413
|
-
query
|
|
60613
|
+
query: {
|
|
59414
60614
|
interval?: "month" | "week" | "day" | "year";
|
|
59415
60615
|
/** @description Deprecated: use interval */
|
|
59416
60616
|
dimension?: "month" | "week" | "day" | "year";
|
|
59417
|
-
|
|
59418
|
-
|
|
59419
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
59420
|
-
endDate?: string;
|
|
60617
|
+
connectionId: string;
|
|
60618
|
+
view: "automate" | "extract";
|
|
59421
60619
|
/** @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
60620
|
dateRange?: string;
|
|
59423
60621
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -59438,8 +60636,21 @@ export interface operations {
|
|
|
59438
60636
|
"application/json": {
|
|
59439
60637
|
data: {
|
|
59440
60638
|
date: string;
|
|
59441
|
-
|
|
59442
|
-
|
|
60639
|
+
total: number;
|
|
60640
|
+
changes: {
|
|
60641
|
+
completed?: {
|
|
60642
|
+
[key: string]: number;
|
|
60643
|
+
};
|
|
60644
|
+
skipped?: {
|
|
60645
|
+
[key: string]: number;
|
|
60646
|
+
};
|
|
60647
|
+
failed?: {
|
|
60648
|
+
[key: string]: number;
|
|
60649
|
+
};
|
|
60650
|
+
queued?: {
|
|
60651
|
+
[key: string]: number;
|
|
60652
|
+
};
|
|
60653
|
+
};
|
|
59443
60654
|
}[];
|
|
59444
60655
|
};
|
|
59445
60656
|
};
|
|
@@ -59671,14 +60882,16 @@ export interface operations {
|
|
|
59671
60882
|
};
|
|
59672
60883
|
};
|
|
59673
60884
|
};
|
|
59674
|
-
|
|
60885
|
+
getMetricTakeRate: {
|
|
59675
60886
|
parameters: {
|
|
59676
|
-
query
|
|
60887
|
+
query?: {
|
|
59677
60888
|
interval?: "month" | "week" | "day" | "year";
|
|
59678
60889
|
/** @description Deprecated: use interval */
|
|
59679
60890
|
dimension?: "month" | "week" | "day" | "year";
|
|
59680
|
-
|
|
59681
|
-
|
|
60891
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
60892
|
+
startDate?: string;
|
|
60893
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
60894
|
+
endDate?: string;
|
|
59682
60895
|
/** @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
60896
|
dateRange?: string;
|
|
59684
60897
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -59699,21 +60912,9 @@ export interface operations {
|
|
|
59699
60912
|
"application/json": {
|
|
59700
60913
|
data: {
|
|
59701
60914
|
date: string;
|
|
59702
|
-
|
|
59703
|
-
|
|
59704
|
-
|
|
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
|
-
};
|
|
60915
|
+
grossGuestRevenue: number;
|
|
60916
|
+
pmRevenue: number;
|
|
60917
|
+
takeRate: number;
|
|
59717
60918
|
}[];
|
|
59718
60919
|
};
|
|
59719
60920
|
};
|
|
@@ -59945,21 +61146,9 @@ export interface operations {
|
|
|
59945
61146
|
};
|
|
59946
61147
|
};
|
|
59947
61148
|
};
|
|
59948
|
-
|
|
61149
|
+
getPartner: {
|
|
59949
61150
|
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
|
-
};
|
|
61151
|
+
query?: never;
|
|
59963
61152
|
header?: never;
|
|
59964
61153
|
path?: never;
|
|
59965
61154
|
cookie?: never;
|
|
@@ -59973,12 +61162,11 @@ export interface operations {
|
|
|
59973
61162
|
};
|
|
59974
61163
|
content: {
|
|
59975
61164
|
"application/json": {
|
|
59976
|
-
|
|
59977
|
-
|
|
59978
|
-
|
|
59979
|
-
|
|
59980
|
-
|
|
59981
|
-
}[];
|
|
61165
|
+
/** Format: uuid */
|
|
61166
|
+
id: string;
|
|
61167
|
+
name: string;
|
|
61168
|
+
/** @constant */
|
|
61169
|
+
type: "partner";
|
|
59982
61170
|
};
|
|
59983
61171
|
};
|
|
59984
61172
|
};
|
|
@@ -60209,10 +61397,32 @@ export interface operations {
|
|
|
60209
61397
|
};
|
|
60210
61398
|
};
|
|
60211
61399
|
};
|
|
60212
|
-
|
|
61400
|
+
listPartnerAuditEvents: {
|
|
60213
61401
|
parameters: {
|
|
60214
|
-
query?:
|
|
60215
|
-
|
|
61402
|
+
query?: {
|
|
61403
|
+
cursor?: string;
|
|
61404
|
+
limit?: number;
|
|
61405
|
+
order?: "asc" | "desc";
|
|
61406
|
+
/** @description Timestamp string with date, time, milliseconds, and timezone. */
|
|
61407
|
+
updatedFrom?: string;
|
|
61408
|
+
/** @description Timestamp string with date, time, milliseconds, and timezone. */
|
|
61409
|
+
updatedTo?: string;
|
|
61410
|
+
entityType?: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
|
|
61411
|
+
entityId?: string;
|
|
61412
|
+
actionId?: string;
|
|
61413
|
+
actionCode?: string;
|
|
61414
|
+
operation?: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
61415
|
+
actorType?: "user" | "api_key" | "sync" | "automation" | "system";
|
|
61416
|
+
actorId?: string;
|
|
61417
|
+
accountingStatus?: string;
|
|
61418
|
+
accountId?: string;
|
|
61419
|
+
include?: "postingChanges";
|
|
61420
|
+
teamId?: string;
|
|
61421
|
+
};
|
|
61422
|
+
header?: {
|
|
61423
|
+
/** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
|
|
61424
|
+
"x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
61425
|
+
};
|
|
60216
61426
|
path?: never;
|
|
60217
61427
|
cookie?: never;
|
|
60218
61428
|
};
|
|
@@ -60225,11 +61435,128 @@ export interface operations {
|
|
|
60225
61435
|
};
|
|
60226
61436
|
content: {
|
|
60227
61437
|
"application/json": {
|
|
60228
|
-
|
|
60229
|
-
|
|
60230
|
-
|
|
60231
|
-
|
|
60232
|
-
|
|
61438
|
+
data: {
|
|
61439
|
+
/** Format: uuid */
|
|
61440
|
+
id: string;
|
|
61441
|
+
revision: number;
|
|
61442
|
+
/** Format: uuid */
|
|
61443
|
+
actionId: string;
|
|
61444
|
+
team: {
|
|
61445
|
+
/** Format: uuid */
|
|
61446
|
+
id: string;
|
|
61447
|
+
uniqueRef: string | null;
|
|
61448
|
+
name: string;
|
|
61449
|
+
};
|
|
61450
|
+
/**
|
|
61451
|
+
* Format: date-time
|
|
61452
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
61453
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
61454
|
+
*/
|
|
61455
|
+
occurredAt: string;
|
|
61456
|
+
/**
|
|
61457
|
+
* Format: date-time
|
|
61458
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
61459
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
61460
|
+
*/
|
|
61461
|
+
updatedAt: string;
|
|
61462
|
+
actor: {
|
|
61463
|
+
/** @enum {string} */
|
|
61464
|
+
type: "user" | "api_key" | "sync" | "automation" | "system";
|
|
61465
|
+
id: string | null;
|
|
61466
|
+
name: string | null;
|
|
61467
|
+
email: string | null;
|
|
61468
|
+
label: string | null;
|
|
61469
|
+
};
|
|
61470
|
+
source: {
|
|
61471
|
+
/** @enum {string} */
|
|
61472
|
+
type: "portal" | "api" | "integration" | "sync" | "automation" | "system";
|
|
61473
|
+
requestId: string | null;
|
|
61474
|
+
};
|
|
61475
|
+
action: {
|
|
61476
|
+
code: string;
|
|
61477
|
+
summary: string;
|
|
61478
|
+
/** @enum {string} */
|
|
61479
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
61480
|
+
};
|
|
61481
|
+
rootEntity: {
|
|
61482
|
+
/** @enum {string} */
|
|
61483
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction";
|
|
61484
|
+
/** Format: uuid */
|
|
61485
|
+
id: string;
|
|
61486
|
+
uniqueRef: string | null;
|
|
61487
|
+
name: string | null;
|
|
61488
|
+
};
|
|
61489
|
+
entityChanges: {
|
|
61490
|
+
entity: {
|
|
61491
|
+
/** @enum {string} */
|
|
61492
|
+
type: "account" | "listing" | "listingOwnershipPeriod" | "ownerStatement" | "reservation" | "transaction" | "paymentLine";
|
|
61493
|
+
/** Format: uuid */
|
|
61494
|
+
id: string;
|
|
61495
|
+
uniqueRef: string | null;
|
|
61496
|
+
name: string | null;
|
|
61497
|
+
};
|
|
61498
|
+
/** @enum {string} */
|
|
61499
|
+
operation: "create" | "update" | "delete" | "archive" | "restore" | "execute" | "recalculate";
|
|
61500
|
+
changes: {
|
|
61501
|
+
path: string;
|
|
61502
|
+
before?: unknown;
|
|
61503
|
+
after?: unknown;
|
|
61504
|
+
}[];
|
|
61505
|
+
redactedFields: string[];
|
|
61506
|
+
}[];
|
|
61507
|
+
accountingImpact: {
|
|
61508
|
+
/** @enum {string} */
|
|
61509
|
+
status: "not_applicable" | "pending" | "unchanged" | "changed" | "blocked" | "failed" | "mixed";
|
|
61510
|
+
changedDimensions: ("account" | "amount" | "currency" | "posting_date" | "party" | "ledger" | "status" | "ownership_period" | "owner_statement")[];
|
|
61511
|
+
affected: {
|
|
61512
|
+
accounts: {
|
|
61513
|
+
/** Format: uuid */
|
|
61514
|
+
id: string;
|
|
61515
|
+
name: string;
|
|
61516
|
+
category: {
|
|
61517
|
+
/** Format: uuid */
|
|
61518
|
+
id: string;
|
|
61519
|
+
name: string;
|
|
61520
|
+
classification: string | null;
|
|
61521
|
+
};
|
|
61522
|
+
}[];
|
|
61523
|
+
periods: string[];
|
|
61524
|
+
ownershipPeriodIds: string[];
|
|
61525
|
+
ownerStatementIds: string[];
|
|
61526
|
+
};
|
|
61527
|
+
postingChanges?: {
|
|
61528
|
+
dimensions: {
|
|
61529
|
+
account: {
|
|
61530
|
+
/** Format: uuid */
|
|
61531
|
+
id: string;
|
|
61532
|
+
name: string;
|
|
61533
|
+
category: {
|
|
61534
|
+
/** Format: uuid */
|
|
61535
|
+
id: string;
|
|
61536
|
+
name: string;
|
|
61537
|
+
classification: string | null;
|
|
61538
|
+
};
|
|
61539
|
+
} | null;
|
|
61540
|
+
party: string | null;
|
|
61541
|
+
currency: string | null;
|
|
61542
|
+
postingDate: string | null;
|
|
61543
|
+
ledger: string | null;
|
|
61544
|
+
status: string | null;
|
|
61545
|
+
ownershipPeriodId: string | null;
|
|
61546
|
+
ownerStatementId: string | null;
|
|
61547
|
+
};
|
|
61548
|
+
centTotal: {
|
|
61549
|
+
before: number | null;
|
|
61550
|
+
after: number | null;
|
|
61551
|
+
};
|
|
61552
|
+
}[];
|
|
61553
|
+
};
|
|
61554
|
+
}[];
|
|
61555
|
+
page: {
|
|
61556
|
+
limit: number;
|
|
61557
|
+
hasMore: boolean;
|
|
61558
|
+
nextCursor: string | null;
|
|
61559
|
+
};
|
|
60233
61560
|
};
|
|
60234
61561
|
};
|
|
60235
61562
|
};
|
|
@@ -60358,7 +61685,7 @@ export interface operations {
|
|
|
60358
61685
|
};
|
|
60359
61686
|
};
|
|
60360
61687
|
};
|
|
60361
|
-
/** @description
|
|
61688
|
+
/** @description Audit cursor expired */
|
|
60362
61689
|
410: {
|
|
60363
61690
|
headers: {
|
|
60364
61691
|
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
@@ -60383,6 +61710,31 @@ export interface operations {
|
|
|
60383
61710
|
};
|
|
60384
61711
|
};
|
|
60385
61712
|
};
|
|
61713
|
+
/** @description Misdirected regional request */
|
|
61714
|
+
421: {
|
|
61715
|
+
headers: {
|
|
61716
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
61717
|
+
"Retry-After"?: number;
|
|
61718
|
+
[name: string]: unknown;
|
|
61719
|
+
};
|
|
61720
|
+
content: {
|
|
61721
|
+
"application/json": {
|
|
61722
|
+
code: string;
|
|
61723
|
+
message: string;
|
|
61724
|
+
links?: {
|
|
61725
|
+
docs: string;
|
|
61726
|
+
schema: string;
|
|
61727
|
+
};
|
|
61728
|
+
issues?: {
|
|
61729
|
+
message: string;
|
|
61730
|
+
path?: (string | number)[];
|
|
61731
|
+
schema?: string;
|
|
61732
|
+
}[];
|
|
61733
|
+
retryable?: boolean;
|
|
61734
|
+
context?: unknown;
|
|
61735
|
+
};
|
|
61736
|
+
};
|
|
61737
|
+
};
|
|
60386
61738
|
/** @description Unprocessable content */
|
|
60387
61739
|
422: {
|
|
60388
61740
|
headers: {
|
|
@@ -60408,6 +61760,31 @@ export interface operations {
|
|
|
60408
61760
|
};
|
|
60409
61761
|
};
|
|
60410
61762
|
};
|
|
61763
|
+
/** @description Rate limited */
|
|
61764
|
+
429: {
|
|
61765
|
+
headers: {
|
|
61766
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
61767
|
+
"Retry-After"?: number;
|
|
61768
|
+
[name: string]: unknown;
|
|
61769
|
+
};
|
|
61770
|
+
content: {
|
|
61771
|
+
"application/json": {
|
|
61772
|
+
code: string;
|
|
61773
|
+
message: string;
|
|
61774
|
+
links?: {
|
|
61775
|
+
docs: string;
|
|
61776
|
+
schema: string;
|
|
61777
|
+
};
|
|
61778
|
+
issues?: {
|
|
61779
|
+
message: string;
|
|
61780
|
+
path?: (string | number)[];
|
|
61781
|
+
schema?: string;
|
|
61782
|
+
}[];
|
|
61783
|
+
retryable?: boolean;
|
|
61784
|
+
context?: unknown;
|
|
61785
|
+
};
|
|
61786
|
+
};
|
|
61787
|
+
};
|
|
60411
61788
|
/** @description Internal server error */
|
|
60412
61789
|
500: {
|
|
60413
61790
|
headers: {
|
|
@@ -111799,6 +113176,272 @@ export interface operations {
|
|
|
111799
113176
|
};
|
|
111800
113177
|
};
|
|
111801
113178
|
};
|
|
113179
|
+
postTeamDuplicate: {
|
|
113180
|
+
parameters: {
|
|
113181
|
+
query?: never;
|
|
113182
|
+
header?: never;
|
|
113183
|
+
path?: never;
|
|
113184
|
+
cookie?: never;
|
|
113185
|
+
};
|
|
113186
|
+
requestBody?: {
|
|
113187
|
+
content: {
|
|
113188
|
+
"application/json": {
|
|
113189
|
+
name: string;
|
|
113190
|
+
uniqueRef: string;
|
|
113191
|
+
/** @default false */
|
|
113192
|
+
anonymize?: boolean;
|
|
113193
|
+
};
|
|
113194
|
+
};
|
|
113195
|
+
};
|
|
113196
|
+
responses: {
|
|
113197
|
+
/** @description Successful response */
|
|
113198
|
+
200: {
|
|
113199
|
+
headers: {
|
|
113200
|
+
[name: string]: unknown;
|
|
113201
|
+
};
|
|
113202
|
+
content: {
|
|
113203
|
+
"application/json": {
|
|
113204
|
+
/** Format: uuid */
|
|
113205
|
+
actionId: string;
|
|
113206
|
+
anonymized: boolean;
|
|
113207
|
+
name: string;
|
|
113208
|
+
/** Format: uuid */
|
|
113209
|
+
sourceTeamId: string;
|
|
113210
|
+
/** @constant */
|
|
113211
|
+
status: "queued";
|
|
113212
|
+
/** Format: uuid */
|
|
113213
|
+
targetTeamId: string;
|
|
113214
|
+
uniqueRef: string;
|
|
113215
|
+
};
|
|
113216
|
+
};
|
|
113217
|
+
};
|
|
113218
|
+
/** @description Bad request */
|
|
113219
|
+
400: {
|
|
113220
|
+
headers: {
|
|
113221
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113222
|
+
"Retry-After"?: number;
|
|
113223
|
+
[name: string]: unknown;
|
|
113224
|
+
};
|
|
113225
|
+
content: {
|
|
113226
|
+
"application/json": {
|
|
113227
|
+
code: string;
|
|
113228
|
+
message: string;
|
|
113229
|
+
links?: {
|
|
113230
|
+
docs: string;
|
|
113231
|
+
schema: string;
|
|
113232
|
+
};
|
|
113233
|
+
issues?: {
|
|
113234
|
+
message: string;
|
|
113235
|
+
path?: (string | number)[];
|
|
113236
|
+
schema?: string;
|
|
113237
|
+
}[];
|
|
113238
|
+
retryable?: boolean;
|
|
113239
|
+
context?: unknown;
|
|
113240
|
+
};
|
|
113241
|
+
};
|
|
113242
|
+
};
|
|
113243
|
+
/** @description Unauthorized */
|
|
113244
|
+
401: {
|
|
113245
|
+
headers: {
|
|
113246
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113247
|
+
"Retry-After"?: number;
|
|
113248
|
+
[name: string]: unknown;
|
|
113249
|
+
};
|
|
113250
|
+
content: {
|
|
113251
|
+
"application/json": {
|
|
113252
|
+
code: string;
|
|
113253
|
+
message: string;
|
|
113254
|
+
links?: {
|
|
113255
|
+
docs: string;
|
|
113256
|
+
schema: string;
|
|
113257
|
+
};
|
|
113258
|
+
issues?: {
|
|
113259
|
+
message: string;
|
|
113260
|
+
path?: (string | number)[];
|
|
113261
|
+
schema?: string;
|
|
113262
|
+
}[];
|
|
113263
|
+
retryable?: boolean;
|
|
113264
|
+
context?: unknown;
|
|
113265
|
+
};
|
|
113266
|
+
};
|
|
113267
|
+
};
|
|
113268
|
+
/** @description Forbidden */
|
|
113269
|
+
403: {
|
|
113270
|
+
headers: {
|
|
113271
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113272
|
+
"Retry-After"?: number;
|
|
113273
|
+
[name: string]: unknown;
|
|
113274
|
+
};
|
|
113275
|
+
content: {
|
|
113276
|
+
"application/json": {
|
|
113277
|
+
code: string;
|
|
113278
|
+
message: string;
|
|
113279
|
+
links?: {
|
|
113280
|
+
docs: string;
|
|
113281
|
+
schema: string;
|
|
113282
|
+
};
|
|
113283
|
+
issues?: {
|
|
113284
|
+
message: string;
|
|
113285
|
+
path?: (string | number)[];
|
|
113286
|
+
schema?: string;
|
|
113287
|
+
}[];
|
|
113288
|
+
retryable?: boolean;
|
|
113289
|
+
context?: unknown;
|
|
113290
|
+
};
|
|
113291
|
+
};
|
|
113292
|
+
};
|
|
113293
|
+
/** @description Not found */
|
|
113294
|
+
404: {
|
|
113295
|
+
headers: {
|
|
113296
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113297
|
+
"Retry-After"?: number;
|
|
113298
|
+
[name: string]: unknown;
|
|
113299
|
+
};
|
|
113300
|
+
content: {
|
|
113301
|
+
"application/json": {
|
|
113302
|
+
code: string;
|
|
113303
|
+
message: string;
|
|
113304
|
+
links?: {
|
|
113305
|
+
docs: string;
|
|
113306
|
+
schema: string;
|
|
113307
|
+
};
|
|
113308
|
+
issues?: {
|
|
113309
|
+
message: string;
|
|
113310
|
+
path?: (string | number)[];
|
|
113311
|
+
schema?: string;
|
|
113312
|
+
}[];
|
|
113313
|
+
retryable?: boolean;
|
|
113314
|
+
context?: unknown;
|
|
113315
|
+
};
|
|
113316
|
+
};
|
|
113317
|
+
};
|
|
113318
|
+
/** @description Conflict */
|
|
113319
|
+
409: {
|
|
113320
|
+
headers: {
|
|
113321
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113322
|
+
"Retry-After"?: number;
|
|
113323
|
+
[name: string]: unknown;
|
|
113324
|
+
};
|
|
113325
|
+
content: {
|
|
113326
|
+
"application/json": {
|
|
113327
|
+
code: string;
|
|
113328
|
+
message: string;
|
|
113329
|
+
links?: {
|
|
113330
|
+
docs: string;
|
|
113331
|
+
schema: string;
|
|
113332
|
+
};
|
|
113333
|
+
issues?: {
|
|
113334
|
+
message: string;
|
|
113335
|
+
path?: (string | number)[];
|
|
113336
|
+
schema?: string;
|
|
113337
|
+
}[];
|
|
113338
|
+
retryable?: boolean;
|
|
113339
|
+
context?: unknown;
|
|
113340
|
+
};
|
|
113341
|
+
};
|
|
113342
|
+
};
|
|
113343
|
+
/** @description Gone */
|
|
113344
|
+
410: {
|
|
113345
|
+
headers: {
|
|
113346
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113347
|
+
"Retry-After"?: number;
|
|
113348
|
+
[name: string]: unknown;
|
|
113349
|
+
};
|
|
113350
|
+
content: {
|
|
113351
|
+
"application/json": {
|
|
113352
|
+
code: string;
|
|
113353
|
+
message: string;
|
|
113354
|
+
links?: {
|
|
113355
|
+
docs: string;
|
|
113356
|
+
schema: string;
|
|
113357
|
+
};
|
|
113358
|
+
issues?: {
|
|
113359
|
+
message: string;
|
|
113360
|
+
path?: (string | number)[];
|
|
113361
|
+
schema?: string;
|
|
113362
|
+
}[];
|
|
113363
|
+
retryable?: boolean;
|
|
113364
|
+
context?: unknown;
|
|
113365
|
+
};
|
|
113366
|
+
};
|
|
113367
|
+
};
|
|
113368
|
+
/** @description Unprocessable content */
|
|
113369
|
+
422: {
|
|
113370
|
+
headers: {
|
|
113371
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113372
|
+
"Retry-After"?: number;
|
|
113373
|
+
[name: string]: unknown;
|
|
113374
|
+
};
|
|
113375
|
+
content: {
|
|
113376
|
+
"application/json": {
|
|
113377
|
+
code: string;
|
|
113378
|
+
message: string;
|
|
113379
|
+
links?: {
|
|
113380
|
+
docs: string;
|
|
113381
|
+
schema: string;
|
|
113382
|
+
};
|
|
113383
|
+
issues?: {
|
|
113384
|
+
message: string;
|
|
113385
|
+
path?: (string | number)[];
|
|
113386
|
+
schema?: string;
|
|
113387
|
+
}[];
|
|
113388
|
+
retryable?: boolean;
|
|
113389
|
+
context?: unknown;
|
|
113390
|
+
};
|
|
113391
|
+
};
|
|
113392
|
+
};
|
|
113393
|
+
/** @description Internal server error */
|
|
113394
|
+
500: {
|
|
113395
|
+
headers: {
|
|
113396
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113397
|
+
"Retry-After"?: number;
|
|
113398
|
+
[name: string]: unknown;
|
|
113399
|
+
};
|
|
113400
|
+
content: {
|
|
113401
|
+
"application/json": {
|
|
113402
|
+
code: string;
|
|
113403
|
+
message: string;
|
|
113404
|
+
links?: {
|
|
113405
|
+
docs: string;
|
|
113406
|
+
schema: string;
|
|
113407
|
+
};
|
|
113408
|
+
issues?: {
|
|
113409
|
+
message: string;
|
|
113410
|
+
path?: (string | number)[];
|
|
113411
|
+
schema?: string;
|
|
113412
|
+
}[];
|
|
113413
|
+
retryable?: boolean;
|
|
113414
|
+
context?: unknown;
|
|
113415
|
+
};
|
|
113416
|
+
};
|
|
113417
|
+
};
|
|
113418
|
+
/** @description Service unavailable */
|
|
113419
|
+
503: {
|
|
113420
|
+
headers: {
|
|
113421
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
113422
|
+
"Retry-After"?: number;
|
|
113423
|
+
[name: string]: unknown;
|
|
113424
|
+
};
|
|
113425
|
+
content: {
|
|
113426
|
+
"application/json": {
|
|
113427
|
+
code: string;
|
|
113428
|
+
message: string;
|
|
113429
|
+
links?: {
|
|
113430
|
+
docs: string;
|
|
113431
|
+
schema: string;
|
|
113432
|
+
};
|
|
113433
|
+
issues?: {
|
|
113434
|
+
message: string;
|
|
113435
|
+
path?: (string | number)[];
|
|
113436
|
+
schema?: string;
|
|
113437
|
+
}[];
|
|
113438
|
+
retryable?: boolean;
|
|
113439
|
+
context?: unknown;
|
|
113440
|
+
};
|
|
113441
|
+
};
|
|
113442
|
+
};
|
|
113443
|
+
};
|
|
113444
|
+
};
|
|
111802
113445
|
postTeamGenerateDemoData: {
|
|
111803
113446
|
parameters: {
|
|
111804
113447
|
query?: never;
|