@vrplatform/api 1.3.1-stage.4133 → 1.3.1-stage.4140
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 +692 -10
- package/build/main/generated/v1.js.map +1 -1
- package/build/main/routing.d.ts +7 -0
- package/build/main/routing.js +7 -0
- package/build/main/routing.js.map +1 -1
- package/build/module/generated/v1.d.ts +692 -10
- package/build/module/generated/v1.js.map +1 -1
- package/build/module/routing.d.ts +7 -0
- package/build/module/routing.js +7 -0
- package/build/module/routing.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +692 -10
- package/src/routing.ts +7 -0
|
@@ -295,6 +295,23 @@ export interface paths {
|
|
|
295
295
|
patch?: never;
|
|
296
296
|
trace?: never;
|
|
297
297
|
};
|
|
298
|
+
"/auth/embed/session": {
|
|
299
|
+
parameters: {
|
|
300
|
+
query?: never;
|
|
301
|
+
header?: never;
|
|
302
|
+
path?: never;
|
|
303
|
+
cookie?: never;
|
|
304
|
+
};
|
|
305
|
+
get?: never;
|
|
306
|
+
put?: never;
|
|
307
|
+
/** @description Issue a short-lived embedded session for a provider user. */
|
|
308
|
+
post: operations["postAuthEmbedSession"];
|
|
309
|
+
delete?: never;
|
|
310
|
+
options?: never;
|
|
311
|
+
head?: never;
|
|
312
|
+
patch?: never;
|
|
313
|
+
trace?: never;
|
|
314
|
+
};
|
|
298
315
|
"/bank-accounts": {
|
|
299
316
|
parameters: {
|
|
300
317
|
query?: never;
|
|
@@ -3918,6 +3935,40 @@ export interface paths {
|
|
|
3918
3935
|
patch?: never;
|
|
3919
3936
|
trace?: never;
|
|
3920
3937
|
};
|
|
3938
|
+
"/users": {
|
|
3939
|
+
parameters: {
|
|
3940
|
+
query?: never;
|
|
3941
|
+
header?: never;
|
|
3942
|
+
path?: never;
|
|
3943
|
+
cookie?: never;
|
|
3944
|
+
};
|
|
3945
|
+
get?: never;
|
|
3946
|
+
put?: never;
|
|
3947
|
+
/** @description Create or update a platform user by email, optionally granting an initial team membership. Admin access only; used by the identity provider signup hooks. */
|
|
3948
|
+
post: operations["postUsers"];
|
|
3949
|
+
delete?: never;
|
|
3950
|
+
options?: never;
|
|
3951
|
+
head?: never;
|
|
3952
|
+
patch?: never;
|
|
3953
|
+
trace?: never;
|
|
3954
|
+
};
|
|
3955
|
+
"/users/{id}": {
|
|
3956
|
+
parameters: {
|
|
3957
|
+
query?: never;
|
|
3958
|
+
header?: never;
|
|
3959
|
+
path?: never;
|
|
3960
|
+
cookie?: never;
|
|
3961
|
+
};
|
|
3962
|
+
get?: never;
|
|
3963
|
+
/** @description Update a platform user by id. Admin access only; used by the identity provider profile-update hooks. */
|
|
3964
|
+
put: operations["putUsersById"];
|
|
3965
|
+
post?: never;
|
|
3966
|
+
delete?: never;
|
|
3967
|
+
options?: never;
|
|
3968
|
+
head?: never;
|
|
3969
|
+
patch?: never;
|
|
3970
|
+
trace?: never;
|
|
3971
|
+
};
|
|
3921
3972
|
}
|
|
3922
3973
|
export type webhooks = Record<string, never>;
|
|
3923
3974
|
export interface components {
|
|
@@ -8349,6 +8400,154 @@ export interface operations {
|
|
|
8349
8400
|
};
|
|
8350
8401
|
};
|
|
8351
8402
|
};
|
|
8403
|
+
postAuthEmbedSession: {
|
|
8404
|
+
parameters: {
|
|
8405
|
+
query?: {
|
|
8406
|
+
autoProvision?: boolean;
|
|
8407
|
+
};
|
|
8408
|
+
header?: never;
|
|
8409
|
+
path?: never;
|
|
8410
|
+
cookie?: never;
|
|
8411
|
+
};
|
|
8412
|
+
requestBody?: {
|
|
8413
|
+
content: {
|
|
8414
|
+
"application/json": {
|
|
8415
|
+
sub: string;
|
|
8416
|
+
/** Format: uuid */
|
|
8417
|
+
tenantId: string;
|
|
8418
|
+
ttlMinutes?: number;
|
|
8419
|
+
};
|
|
8420
|
+
};
|
|
8421
|
+
};
|
|
8422
|
+
responses: {
|
|
8423
|
+
/** @description Successful response */
|
|
8424
|
+
200: {
|
|
8425
|
+
headers: {
|
|
8426
|
+
[name: string]: unknown;
|
|
8427
|
+
};
|
|
8428
|
+
content: {
|
|
8429
|
+
"application/json": {
|
|
8430
|
+
accessToken: string;
|
|
8431
|
+
expiresAt: string;
|
|
8432
|
+
/** Format: uuid */
|
|
8433
|
+
tenantId: string;
|
|
8434
|
+
/** Format: uuid */
|
|
8435
|
+
userId: string;
|
|
8436
|
+
};
|
|
8437
|
+
};
|
|
8438
|
+
};
|
|
8439
|
+
/** @description Bad request */
|
|
8440
|
+
400: {
|
|
8441
|
+
headers: {
|
|
8442
|
+
[name: string]: unknown;
|
|
8443
|
+
};
|
|
8444
|
+
content: {
|
|
8445
|
+
"application/json": {
|
|
8446
|
+
code: string;
|
|
8447
|
+
message: string;
|
|
8448
|
+
links?: {
|
|
8449
|
+
docs: string;
|
|
8450
|
+
schema: string;
|
|
8451
|
+
};
|
|
8452
|
+
issues?: {
|
|
8453
|
+
message: string;
|
|
8454
|
+
path?: (string | number)[];
|
|
8455
|
+
schema?: string;
|
|
8456
|
+
}[];
|
|
8457
|
+
context?: unknown;
|
|
8458
|
+
};
|
|
8459
|
+
};
|
|
8460
|
+
};
|
|
8461
|
+
/** @description Unauthorized */
|
|
8462
|
+
401: {
|
|
8463
|
+
headers: {
|
|
8464
|
+
[name: string]: unknown;
|
|
8465
|
+
};
|
|
8466
|
+
content: {
|
|
8467
|
+
"application/json": {
|
|
8468
|
+
code: string;
|
|
8469
|
+
message: string;
|
|
8470
|
+
links?: {
|
|
8471
|
+
docs: string;
|
|
8472
|
+
schema: string;
|
|
8473
|
+
};
|
|
8474
|
+
issues?: {
|
|
8475
|
+
message: string;
|
|
8476
|
+
path?: (string | number)[];
|
|
8477
|
+
schema?: string;
|
|
8478
|
+
}[];
|
|
8479
|
+
context?: unknown;
|
|
8480
|
+
};
|
|
8481
|
+
};
|
|
8482
|
+
};
|
|
8483
|
+
/** @description Forbidden */
|
|
8484
|
+
403: {
|
|
8485
|
+
headers: {
|
|
8486
|
+
[name: string]: unknown;
|
|
8487
|
+
};
|
|
8488
|
+
content: {
|
|
8489
|
+
"application/json": {
|
|
8490
|
+
code: string;
|
|
8491
|
+
message: string;
|
|
8492
|
+
links?: {
|
|
8493
|
+
docs: string;
|
|
8494
|
+
schema: string;
|
|
8495
|
+
};
|
|
8496
|
+
issues?: {
|
|
8497
|
+
message: string;
|
|
8498
|
+
path?: (string | number)[];
|
|
8499
|
+
schema?: string;
|
|
8500
|
+
}[];
|
|
8501
|
+
context?: unknown;
|
|
8502
|
+
};
|
|
8503
|
+
};
|
|
8504
|
+
};
|
|
8505
|
+
/** @description Not found */
|
|
8506
|
+
404: {
|
|
8507
|
+
headers: {
|
|
8508
|
+
[name: string]: unknown;
|
|
8509
|
+
};
|
|
8510
|
+
content: {
|
|
8511
|
+
"application/json": {
|
|
8512
|
+
code: string;
|
|
8513
|
+
message: string;
|
|
8514
|
+
links?: {
|
|
8515
|
+
docs: string;
|
|
8516
|
+
schema: string;
|
|
8517
|
+
};
|
|
8518
|
+
issues?: {
|
|
8519
|
+
message: string;
|
|
8520
|
+
path?: (string | number)[];
|
|
8521
|
+
schema?: string;
|
|
8522
|
+
}[];
|
|
8523
|
+
context?: unknown;
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
};
|
|
8527
|
+
/** @description Internal server error */
|
|
8528
|
+
500: {
|
|
8529
|
+
headers: {
|
|
8530
|
+
[name: string]: unknown;
|
|
8531
|
+
};
|
|
8532
|
+
content: {
|
|
8533
|
+
"application/json": {
|
|
8534
|
+
code: string;
|
|
8535
|
+
message: string;
|
|
8536
|
+
links?: {
|
|
8537
|
+
docs: string;
|
|
8538
|
+
schema: string;
|
|
8539
|
+
};
|
|
8540
|
+
issues?: {
|
|
8541
|
+
message: string;
|
|
8542
|
+
path?: (string | number)[];
|
|
8543
|
+
schema?: string;
|
|
8544
|
+
}[];
|
|
8545
|
+
context?: unknown;
|
|
8546
|
+
};
|
|
8547
|
+
};
|
|
8548
|
+
};
|
|
8549
|
+
};
|
|
8550
|
+
};
|
|
8352
8551
|
getBankAccounts: {
|
|
8353
8552
|
parameters: {
|
|
8354
8553
|
query?: {
|
|
@@ -59133,7 +59332,7 @@ export interface operations {
|
|
|
59133
59332
|
/** Format: uuid */
|
|
59134
59333
|
id: string;
|
|
59135
59334
|
/** @enum {string} */
|
|
59136
|
-
dataRegion: "
|
|
59335
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
59137
59336
|
/** @enum {string} */
|
|
59138
59337
|
storageRealm: "vrintegration" | "vrtrust";
|
|
59139
59338
|
defaultCurrency?: string | null;
|
|
@@ -59228,6 +59427,19 @@ export interface operations {
|
|
|
59228
59427
|
appId: string;
|
|
59229
59428
|
}[];
|
|
59230
59429
|
};
|
|
59430
|
+
} | {
|
|
59431
|
+
/** @constant */
|
|
59432
|
+
code: "pmsMissingAccountingStart";
|
|
59433
|
+
/** @constant */
|
|
59434
|
+
severity: "error";
|
|
59435
|
+
context: {
|
|
59436
|
+
connections: {
|
|
59437
|
+
/** Format: uuid */
|
|
59438
|
+
id: string;
|
|
59439
|
+
name: string;
|
|
59440
|
+
appId: string;
|
|
59441
|
+
}[];
|
|
59442
|
+
};
|
|
59231
59443
|
})[];
|
|
59232
59444
|
isGeneralLedger?: boolean | null;
|
|
59233
59445
|
isOpex?: boolean;
|
|
@@ -59405,7 +59617,7 @@ export interface operations {
|
|
|
59405
59617
|
content: {
|
|
59406
59618
|
"application/json": {
|
|
59407
59619
|
/** @enum {string} */
|
|
59408
|
-
dataRegion?: "
|
|
59620
|
+
dataRegion?: "ap" | "crunchy" | "eu" | "us";
|
|
59409
59621
|
defaultCurrency?: string | null;
|
|
59410
59622
|
longTermStayNights?: number | null;
|
|
59411
59623
|
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
|
|
@@ -59480,7 +59692,7 @@ export interface operations {
|
|
|
59480
59692
|
/** Format: uuid */
|
|
59481
59693
|
id: string;
|
|
59482
59694
|
/** @enum {string} */
|
|
59483
|
-
dataRegion: "
|
|
59695
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
59484
59696
|
/** @enum {string} */
|
|
59485
59697
|
storageRealm: "vrintegration" | "vrtrust";
|
|
59486
59698
|
defaultCurrency?: string | null;
|
|
@@ -59575,6 +59787,19 @@ export interface operations {
|
|
|
59575
59787
|
appId: string;
|
|
59576
59788
|
}[];
|
|
59577
59789
|
};
|
|
59790
|
+
} | {
|
|
59791
|
+
/** @constant */
|
|
59792
|
+
code: "pmsMissingAccountingStart";
|
|
59793
|
+
/** @constant */
|
|
59794
|
+
severity: "error";
|
|
59795
|
+
context: {
|
|
59796
|
+
connections: {
|
|
59797
|
+
/** Format: uuid */
|
|
59798
|
+
id: string;
|
|
59799
|
+
name: string;
|
|
59800
|
+
appId: string;
|
|
59801
|
+
}[];
|
|
59802
|
+
};
|
|
59578
59803
|
})[];
|
|
59579
59804
|
isGeneralLedger?: boolean | null;
|
|
59580
59805
|
isOpex?: boolean;
|
|
@@ -60148,6 +60373,23 @@ export interface operations {
|
|
|
60148
60373
|
latestVersion: number;
|
|
60149
60374
|
}[];
|
|
60150
60375
|
};
|
|
60376
|
+
} | {
|
|
60377
|
+
/** @enum {string} */
|
|
60378
|
+
severity: "error" | "warning";
|
|
60379
|
+
/** @enum {string} */
|
|
60380
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
60381
|
+
message: string;
|
|
60382
|
+
affected: number;
|
|
60383
|
+
/** @constant */
|
|
60384
|
+
code: "pmsMissingAccountingStart";
|
|
60385
|
+
context: {
|
|
60386
|
+
connections: {
|
|
60387
|
+
/** Format: uuid */
|
|
60388
|
+
id: string;
|
|
60389
|
+
name: string;
|
|
60390
|
+
appId: string;
|
|
60391
|
+
}[];
|
|
60392
|
+
};
|
|
60151
60393
|
} | {
|
|
60152
60394
|
/** @enum {string} */
|
|
60153
60395
|
severity: "error" | "warning";
|
|
@@ -60511,7 +60753,7 @@ export interface operations {
|
|
|
60511
60753
|
/** Format: uuid */
|
|
60512
60754
|
id: string;
|
|
60513
60755
|
/** @enum {string} */
|
|
60514
|
-
dataRegion: "
|
|
60756
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
60515
60757
|
/** @enum {string} */
|
|
60516
60758
|
storageRealm: "vrintegration" | "vrtrust";
|
|
60517
60759
|
defaultCurrency?: string | null;
|
|
@@ -60606,6 +60848,19 @@ export interface operations {
|
|
|
60606
60848
|
appId: string;
|
|
60607
60849
|
}[];
|
|
60608
60850
|
};
|
|
60851
|
+
} | {
|
|
60852
|
+
/** @constant */
|
|
60853
|
+
code: "pmsMissingAccountingStart";
|
|
60854
|
+
/** @constant */
|
|
60855
|
+
severity: "error";
|
|
60856
|
+
context: {
|
|
60857
|
+
connections: {
|
|
60858
|
+
/** Format: uuid */
|
|
60859
|
+
id: string;
|
|
60860
|
+
name: string;
|
|
60861
|
+
appId: string;
|
|
60862
|
+
}[];
|
|
60863
|
+
};
|
|
60609
60864
|
})[];
|
|
60610
60865
|
isGeneralLedger?: boolean | null;
|
|
60611
60866
|
isOpex?: boolean;
|
|
@@ -60802,7 +61057,7 @@ export interface operations {
|
|
|
60802
61057
|
/** Format: uuid */
|
|
60803
61058
|
id: string;
|
|
60804
61059
|
/** @enum {string} */
|
|
60805
|
-
dataRegion: "
|
|
61060
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
60806
61061
|
/** @enum {string} */
|
|
60807
61062
|
storageRealm: "vrintegration" | "vrtrust";
|
|
60808
61063
|
defaultCurrency?: string | null;
|
|
@@ -60897,6 +61152,19 @@ export interface operations {
|
|
|
60897
61152
|
appId: string;
|
|
60898
61153
|
}[];
|
|
60899
61154
|
};
|
|
61155
|
+
} | {
|
|
61156
|
+
/** @constant */
|
|
61157
|
+
code: "pmsMissingAccountingStart";
|
|
61158
|
+
/** @constant */
|
|
61159
|
+
severity: "error";
|
|
61160
|
+
context: {
|
|
61161
|
+
connections: {
|
|
61162
|
+
/** Format: uuid */
|
|
61163
|
+
id: string;
|
|
61164
|
+
name: string;
|
|
61165
|
+
appId: string;
|
|
61166
|
+
}[];
|
|
61167
|
+
};
|
|
60900
61168
|
})[];
|
|
60901
61169
|
isGeneralLedger?: boolean | null;
|
|
60902
61170
|
isOpex?: boolean;
|
|
@@ -61091,7 +61359,7 @@ export interface operations {
|
|
|
61091
61359
|
/** Format: uuid */
|
|
61092
61360
|
id: string;
|
|
61093
61361
|
/** @enum {string} */
|
|
61094
|
-
dataRegion: "
|
|
61362
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
61095
61363
|
/** @enum {string} */
|
|
61096
61364
|
storageRealm: "vrintegration" | "vrtrust";
|
|
61097
61365
|
defaultCurrency?: string | null;
|
|
@@ -61186,6 +61454,19 @@ export interface operations {
|
|
|
61186
61454
|
appId: string;
|
|
61187
61455
|
}[];
|
|
61188
61456
|
};
|
|
61457
|
+
} | {
|
|
61458
|
+
/** @constant */
|
|
61459
|
+
code: "pmsMissingAccountingStart";
|
|
61460
|
+
/** @constant */
|
|
61461
|
+
severity: "error";
|
|
61462
|
+
context: {
|
|
61463
|
+
connections: {
|
|
61464
|
+
/** Format: uuid */
|
|
61465
|
+
id: string;
|
|
61466
|
+
name: string;
|
|
61467
|
+
appId: string;
|
|
61468
|
+
}[];
|
|
61469
|
+
};
|
|
61189
61470
|
})[];
|
|
61190
61471
|
isGeneralLedger?: boolean | null;
|
|
61191
61472
|
isOpex?: boolean;
|
|
@@ -63401,7 +63682,7 @@ export interface operations {
|
|
|
63401
63682
|
/** Format: uuid */
|
|
63402
63683
|
id: string;
|
|
63403
63684
|
/** @enum {string} */
|
|
63404
|
-
dataRegion: "
|
|
63685
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
63405
63686
|
/** @enum {string} */
|
|
63406
63687
|
storageRealm: "vrintegration" | "vrtrust";
|
|
63407
63688
|
defaultCurrency?: string | null;
|
|
@@ -63496,6 +63777,19 @@ export interface operations {
|
|
|
63496
63777
|
appId: string;
|
|
63497
63778
|
}[];
|
|
63498
63779
|
};
|
|
63780
|
+
} | {
|
|
63781
|
+
/** @constant */
|
|
63782
|
+
code: "pmsMissingAccountingStart";
|
|
63783
|
+
/** @constant */
|
|
63784
|
+
severity: "error";
|
|
63785
|
+
context: {
|
|
63786
|
+
connections: {
|
|
63787
|
+
/** Format: uuid */
|
|
63788
|
+
id: string;
|
|
63789
|
+
name: string;
|
|
63790
|
+
appId: string;
|
|
63791
|
+
}[];
|
|
63792
|
+
};
|
|
63499
63793
|
})[];
|
|
63500
63794
|
isGeneralLedger?: boolean | null;
|
|
63501
63795
|
isOpex?: boolean;
|
|
@@ -63675,7 +63969,7 @@ export interface operations {
|
|
|
63675
63969
|
/** Format: uuid */
|
|
63676
63970
|
id: string;
|
|
63677
63971
|
/** @enum {string} */
|
|
63678
|
-
dataRegion: "
|
|
63972
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
63679
63973
|
/** @enum {string} */
|
|
63680
63974
|
storageRealm: "vrintegration" | "vrtrust";
|
|
63681
63975
|
defaultCurrency?: string | null;
|
|
@@ -63770,6 +64064,19 @@ export interface operations {
|
|
|
63770
64064
|
appId: string;
|
|
63771
64065
|
}[];
|
|
63772
64066
|
};
|
|
64067
|
+
} | {
|
|
64068
|
+
/** @constant */
|
|
64069
|
+
code: "pmsMissingAccountingStart";
|
|
64070
|
+
/** @constant */
|
|
64071
|
+
severity: "error";
|
|
64072
|
+
context: {
|
|
64073
|
+
connections: {
|
|
64074
|
+
/** Format: uuid */
|
|
64075
|
+
id: string;
|
|
64076
|
+
name: string;
|
|
64077
|
+
appId: string;
|
|
64078
|
+
}[];
|
|
64079
|
+
};
|
|
63773
64080
|
})[];
|
|
63774
64081
|
isGeneralLedger?: boolean | null;
|
|
63775
64082
|
isOpex?: boolean;
|
|
@@ -64026,7 +64333,7 @@ export interface operations {
|
|
|
64026
64333
|
/** Format: uuid */
|
|
64027
64334
|
id: string;
|
|
64028
64335
|
/** @enum {string} */
|
|
64029
|
-
dataRegion: "
|
|
64336
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
64030
64337
|
/** @enum {string} */
|
|
64031
64338
|
storageRealm: "vrintegration" | "vrtrust";
|
|
64032
64339
|
defaultCurrency?: string | null;
|
|
@@ -64121,6 +64428,19 @@ export interface operations {
|
|
|
64121
64428
|
appId: string;
|
|
64122
64429
|
}[];
|
|
64123
64430
|
};
|
|
64431
|
+
} | {
|
|
64432
|
+
/** @constant */
|
|
64433
|
+
code: "pmsMissingAccountingStart";
|
|
64434
|
+
/** @constant */
|
|
64435
|
+
severity: "error";
|
|
64436
|
+
context: {
|
|
64437
|
+
connections: {
|
|
64438
|
+
/** Format: uuid */
|
|
64439
|
+
id: string;
|
|
64440
|
+
name: string;
|
|
64441
|
+
appId: string;
|
|
64442
|
+
}[];
|
|
64443
|
+
};
|
|
64124
64444
|
})[];
|
|
64125
64445
|
isGeneralLedger?: boolean | null;
|
|
64126
64446
|
isOpex?: boolean;
|
|
@@ -64872,7 +65192,7 @@ export interface operations {
|
|
|
64872
65192
|
/** Format: uuid */
|
|
64873
65193
|
id: string;
|
|
64874
65194
|
/** @enum {string} */
|
|
64875
|
-
dataRegion: "
|
|
65195
|
+
dataRegion: "ap" | "crunchy" | "eu" | "us";
|
|
64876
65196
|
/** @enum {string} */
|
|
64877
65197
|
storageRealm: "vrintegration" | "vrtrust";
|
|
64878
65198
|
defaultCurrency?: string | null;
|
|
@@ -64967,6 +65287,19 @@ export interface operations {
|
|
|
64967
65287
|
appId: string;
|
|
64968
65288
|
}[];
|
|
64969
65289
|
};
|
|
65290
|
+
} | {
|
|
65291
|
+
/** @constant */
|
|
65292
|
+
code: "pmsMissingAccountingStart";
|
|
65293
|
+
/** @constant */
|
|
65294
|
+
severity: "error";
|
|
65295
|
+
context: {
|
|
65296
|
+
connections: {
|
|
65297
|
+
/** Format: uuid */
|
|
65298
|
+
id: string;
|
|
65299
|
+
name: string;
|
|
65300
|
+
appId: string;
|
|
65301
|
+
}[];
|
|
65302
|
+
};
|
|
64970
65303
|
})[];
|
|
64971
65304
|
isGeneralLedger?: boolean | null;
|
|
64972
65305
|
isOpex?: boolean;
|
|
@@ -65225,6 +65558,23 @@ export interface operations {
|
|
|
65225
65558
|
latestVersion: number;
|
|
65226
65559
|
}[];
|
|
65227
65560
|
};
|
|
65561
|
+
} | {
|
|
65562
|
+
/** @enum {string} */
|
|
65563
|
+
severity: "error" | "warning";
|
|
65564
|
+
/** @enum {string} */
|
|
65565
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
65566
|
+
message: string;
|
|
65567
|
+
affected: number;
|
|
65568
|
+
/** @constant */
|
|
65569
|
+
code: "pmsMissingAccountingStart";
|
|
65570
|
+
context: {
|
|
65571
|
+
connections: {
|
|
65572
|
+
/** Format: uuid */
|
|
65573
|
+
id: string;
|
|
65574
|
+
name: string;
|
|
65575
|
+
appId: string;
|
|
65576
|
+
}[];
|
|
65577
|
+
};
|
|
65228
65578
|
} | {
|
|
65229
65579
|
/** @enum {string} */
|
|
65230
65580
|
severity: "error" | "warning";
|
|
@@ -72375,4 +72725,336 @@ export interface operations {
|
|
|
72375
72725
|
};
|
|
72376
72726
|
};
|
|
72377
72727
|
};
|
|
72728
|
+
postUsers: {
|
|
72729
|
+
parameters: {
|
|
72730
|
+
query?: never;
|
|
72731
|
+
header?: never;
|
|
72732
|
+
path?: never;
|
|
72733
|
+
cookie?: never;
|
|
72734
|
+
};
|
|
72735
|
+
requestBody?: {
|
|
72736
|
+
content: {
|
|
72737
|
+
"application/json": {
|
|
72738
|
+
/** Format: uuid */
|
|
72739
|
+
id?: string;
|
|
72740
|
+
email: string;
|
|
72741
|
+
firstName?: string | null;
|
|
72742
|
+
lastName?: string | null;
|
|
72743
|
+
name?: string | null;
|
|
72744
|
+
/**
|
|
72745
|
+
* @default active
|
|
72746
|
+
* @enum {string}
|
|
72747
|
+
*/
|
|
72748
|
+
status?: "active" | "inactive" | "archived" | "unconfirmed";
|
|
72749
|
+
partnerId?: string | null;
|
|
72750
|
+
secondaryEmails?: string[];
|
|
72751
|
+
membership?: {
|
|
72752
|
+
/** Format: uuid */
|
|
72753
|
+
tenantId: string;
|
|
72754
|
+
/**
|
|
72755
|
+
* @default user
|
|
72756
|
+
* @enum {string}
|
|
72757
|
+
*/
|
|
72758
|
+
role?: "admin" | "user" | "owner";
|
|
72759
|
+
};
|
|
72760
|
+
};
|
|
72761
|
+
};
|
|
72762
|
+
};
|
|
72763
|
+
responses: {
|
|
72764
|
+
/** @description Successful response */
|
|
72765
|
+
200: {
|
|
72766
|
+
headers: {
|
|
72767
|
+
[name: string]: unknown;
|
|
72768
|
+
};
|
|
72769
|
+
content: {
|
|
72770
|
+
"application/json": {
|
|
72771
|
+
/** Format: uuid */
|
|
72772
|
+
id: string;
|
|
72773
|
+
isAdmin: boolean;
|
|
72774
|
+
memberships: {
|
|
72775
|
+
/** Format: uuid */
|
|
72776
|
+
tenantId: string;
|
|
72777
|
+
role: string | null;
|
|
72778
|
+
}[];
|
|
72779
|
+
};
|
|
72780
|
+
};
|
|
72781
|
+
};
|
|
72782
|
+
/** @description Bad request */
|
|
72783
|
+
400: {
|
|
72784
|
+
headers: {
|
|
72785
|
+
[name: string]: unknown;
|
|
72786
|
+
};
|
|
72787
|
+
content: {
|
|
72788
|
+
"application/json": {
|
|
72789
|
+
code: string;
|
|
72790
|
+
message: string;
|
|
72791
|
+
links?: {
|
|
72792
|
+
docs: string;
|
|
72793
|
+
schema: string;
|
|
72794
|
+
};
|
|
72795
|
+
issues?: {
|
|
72796
|
+
message: string;
|
|
72797
|
+
path?: (string | number)[];
|
|
72798
|
+
schema?: string;
|
|
72799
|
+
}[];
|
|
72800
|
+
context?: unknown;
|
|
72801
|
+
};
|
|
72802
|
+
};
|
|
72803
|
+
};
|
|
72804
|
+
/** @description Unauthorized */
|
|
72805
|
+
401: {
|
|
72806
|
+
headers: {
|
|
72807
|
+
[name: string]: unknown;
|
|
72808
|
+
};
|
|
72809
|
+
content: {
|
|
72810
|
+
"application/json": {
|
|
72811
|
+
code: string;
|
|
72812
|
+
message: string;
|
|
72813
|
+
links?: {
|
|
72814
|
+
docs: string;
|
|
72815
|
+
schema: string;
|
|
72816
|
+
};
|
|
72817
|
+
issues?: {
|
|
72818
|
+
message: string;
|
|
72819
|
+
path?: (string | number)[];
|
|
72820
|
+
schema?: string;
|
|
72821
|
+
}[];
|
|
72822
|
+
context?: unknown;
|
|
72823
|
+
};
|
|
72824
|
+
};
|
|
72825
|
+
};
|
|
72826
|
+
/** @description Forbidden */
|
|
72827
|
+
403: {
|
|
72828
|
+
headers: {
|
|
72829
|
+
[name: string]: unknown;
|
|
72830
|
+
};
|
|
72831
|
+
content: {
|
|
72832
|
+
"application/json": {
|
|
72833
|
+
code: string;
|
|
72834
|
+
message: string;
|
|
72835
|
+
links?: {
|
|
72836
|
+
docs: string;
|
|
72837
|
+
schema: string;
|
|
72838
|
+
};
|
|
72839
|
+
issues?: {
|
|
72840
|
+
message: string;
|
|
72841
|
+
path?: (string | number)[];
|
|
72842
|
+
schema?: string;
|
|
72843
|
+
}[];
|
|
72844
|
+
context?: unknown;
|
|
72845
|
+
};
|
|
72846
|
+
};
|
|
72847
|
+
};
|
|
72848
|
+
/** @description Not found */
|
|
72849
|
+
404: {
|
|
72850
|
+
headers: {
|
|
72851
|
+
[name: string]: unknown;
|
|
72852
|
+
};
|
|
72853
|
+
content: {
|
|
72854
|
+
"application/json": {
|
|
72855
|
+
code: string;
|
|
72856
|
+
message: string;
|
|
72857
|
+
links?: {
|
|
72858
|
+
docs: string;
|
|
72859
|
+
schema: string;
|
|
72860
|
+
};
|
|
72861
|
+
issues?: {
|
|
72862
|
+
message: string;
|
|
72863
|
+
path?: (string | number)[];
|
|
72864
|
+
schema?: string;
|
|
72865
|
+
}[];
|
|
72866
|
+
context?: unknown;
|
|
72867
|
+
};
|
|
72868
|
+
};
|
|
72869
|
+
};
|
|
72870
|
+
/** @description Internal server error */
|
|
72871
|
+
500: {
|
|
72872
|
+
headers: {
|
|
72873
|
+
[name: string]: unknown;
|
|
72874
|
+
};
|
|
72875
|
+
content: {
|
|
72876
|
+
"application/json": {
|
|
72877
|
+
code: string;
|
|
72878
|
+
message: string;
|
|
72879
|
+
links?: {
|
|
72880
|
+
docs: string;
|
|
72881
|
+
schema: string;
|
|
72882
|
+
};
|
|
72883
|
+
issues?: {
|
|
72884
|
+
message: string;
|
|
72885
|
+
path?: (string | number)[];
|
|
72886
|
+
schema?: string;
|
|
72887
|
+
}[];
|
|
72888
|
+
context?: unknown;
|
|
72889
|
+
};
|
|
72890
|
+
};
|
|
72891
|
+
};
|
|
72892
|
+
};
|
|
72893
|
+
};
|
|
72894
|
+
putUsersById: {
|
|
72895
|
+
parameters: {
|
|
72896
|
+
query?: never;
|
|
72897
|
+
header?: never;
|
|
72898
|
+
path: {
|
|
72899
|
+
id: string;
|
|
72900
|
+
};
|
|
72901
|
+
cookie?: never;
|
|
72902
|
+
};
|
|
72903
|
+
requestBody?: {
|
|
72904
|
+
content: {
|
|
72905
|
+
"application/json": {
|
|
72906
|
+
email: string;
|
|
72907
|
+
firstName?: string | null;
|
|
72908
|
+
lastName?: string | null;
|
|
72909
|
+
name?: string | null;
|
|
72910
|
+
/**
|
|
72911
|
+
* @default active
|
|
72912
|
+
* @enum {string}
|
|
72913
|
+
*/
|
|
72914
|
+
status?: "active" | "inactive" | "archived" | "unconfirmed";
|
|
72915
|
+
partnerId?: string | null;
|
|
72916
|
+
secondaryEmails?: string[];
|
|
72917
|
+
membership?: {
|
|
72918
|
+
/** Format: uuid */
|
|
72919
|
+
tenantId: string;
|
|
72920
|
+
/**
|
|
72921
|
+
* @default user
|
|
72922
|
+
* @enum {string}
|
|
72923
|
+
*/
|
|
72924
|
+
role?: "admin" | "user" | "owner";
|
|
72925
|
+
};
|
|
72926
|
+
};
|
|
72927
|
+
};
|
|
72928
|
+
};
|
|
72929
|
+
responses: {
|
|
72930
|
+
/** @description Successful response */
|
|
72931
|
+
200: {
|
|
72932
|
+
headers: {
|
|
72933
|
+
[name: string]: unknown;
|
|
72934
|
+
};
|
|
72935
|
+
content: {
|
|
72936
|
+
"application/json": {
|
|
72937
|
+
/** Format: uuid */
|
|
72938
|
+
id: string;
|
|
72939
|
+
isAdmin: boolean;
|
|
72940
|
+
memberships: {
|
|
72941
|
+
/** Format: uuid */
|
|
72942
|
+
tenantId: string;
|
|
72943
|
+
role: string | null;
|
|
72944
|
+
}[];
|
|
72945
|
+
};
|
|
72946
|
+
};
|
|
72947
|
+
};
|
|
72948
|
+
/** @description Bad request */
|
|
72949
|
+
400: {
|
|
72950
|
+
headers: {
|
|
72951
|
+
[name: string]: unknown;
|
|
72952
|
+
};
|
|
72953
|
+
content: {
|
|
72954
|
+
"application/json": {
|
|
72955
|
+
code: string;
|
|
72956
|
+
message: string;
|
|
72957
|
+
links?: {
|
|
72958
|
+
docs: string;
|
|
72959
|
+
schema: string;
|
|
72960
|
+
};
|
|
72961
|
+
issues?: {
|
|
72962
|
+
message: string;
|
|
72963
|
+
path?: (string | number)[];
|
|
72964
|
+
schema?: string;
|
|
72965
|
+
}[];
|
|
72966
|
+
context?: unknown;
|
|
72967
|
+
};
|
|
72968
|
+
};
|
|
72969
|
+
};
|
|
72970
|
+
/** @description Unauthorized */
|
|
72971
|
+
401: {
|
|
72972
|
+
headers: {
|
|
72973
|
+
[name: string]: unknown;
|
|
72974
|
+
};
|
|
72975
|
+
content: {
|
|
72976
|
+
"application/json": {
|
|
72977
|
+
code: string;
|
|
72978
|
+
message: string;
|
|
72979
|
+
links?: {
|
|
72980
|
+
docs: string;
|
|
72981
|
+
schema: string;
|
|
72982
|
+
};
|
|
72983
|
+
issues?: {
|
|
72984
|
+
message: string;
|
|
72985
|
+
path?: (string | number)[];
|
|
72986
|
+
schema?: string;
|
|
72987
|
+
}[];
|
|
72988
|
+
context?: unknown;
|
|
72989
|
+
};
|
|
72990
|
+
};
|
|
72991
|
+
};
|
|
72992
|
+
/** @description Forbidden */
|
|
72993
|
+
403: {
|
|
72994
|
+
headers: {
|
|
72995
|
+
[name: string]: unknown;
|
|
72996
|
+
};
|
|
72997
|
+
content: {
|
|
72998
|
+
"application/json": {
|
|
72999
|
+
code: string;
|
|
73000
|
+
message: string;
|
|
73001
|
+
links?: {
|
|
73002
|
+
docs: string;
|
|
73003
|
+
schema: string;
|
|
73004
|
+
};
|
|
73005
|
+
issues?: {
|
|
73006
|
+
message: string;
|
|
73007
|
+
path?: (string | number)[];
|
|
73008
|
+
schema?: string;
|
|
73009
|
+
}[];
|
|
73010
|
+
context?: unknown;
|
|
73011
|
+
};
|
|
73012
|
+
};
|
|
73013
|
+
};
|
|
73014
|
+
/** @description Not found */
|
|
73015
|
+
404: {
|
|
73016
|
+
headers: {
|
|
73017
|
+
[name: string]: unknown;
|
|
73018
|
+
};
|
|
73019
|
+
content: {
|
|
73020
|
+
"application/json": {
|
|
73021
|
+
code: string;
|
|
73022
|
+
message: string;
|
|
73023
|
+
links?: {
|
|
73024
|
+
docs: string;
|
|
73025
|
+
schema: string;
|
|
73026
|
+
};
|
|
73027
|
+
issues?: {
|
|
73028
|
+
message: string;
|
|
73029
|
+
path?: (string | number)[];
|
|
73030
|
+
schema?: string;
|
|
73031
|
+
}[];
|
|
73032
|
+
context?: unknown;
|
|
73033
|
+
};
|
|
73034
|
+
};
|
|
73035
|
+
};
|
|
73036
|
+
/** @description Internal server error */
|
|
73037
|
+
500: {
|
|
73038
|
+
headers: {
|
|
73039
|
+
[name: string]: unknown;
|
|
73040
|
+
};
|
|
73041
|
+
content: {
|
|
73042
|
+
"application/json": {
|
|
73043
|
+
code: string;
|
|
73044
|
+
message: string;
|
|
73045
|
+
links?: {
|
|
73046
|
+
docs: string;
|
|
73047
|
+
schema: string;
|
|
73048
|
+
};
|
|
73049
|
+
issues?: {
|
|
73050
|
+
message: string;
|
|
73051
|
+
path?: (string | number)[];
|
|
73052
|
+
schema?: string;
|
|
73053
|
+
}[];
|
|
73054
|
+
context?: unknown;
|
|
73055
|
+
};
|
|
73056
|
+
};
|
|
73057
|
+
};
|
|
73058
|
+
};
|
|
73059
|
+
};
|
|
72378
73060
|
}
|