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