@vrplatform/api 1.3.1-stage.1715 → 1.3.1-stage.1718

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.
@@ -359,7 +359,8 @@ export interface paths {
359
359
  /** @description Sync connection by uniqueRef and type */
360
360
  get: operations["syncConnection"];
361
361
  put?: never;
362
- post?: never;
362
+ /** @description Sync connection by uniqueRef and type */
363
+ post: operations["syncConnectionPost"];
363
364
  delete?: never;
364
365
  options?: never;
365
366
  head?: never;
@@ -3506,6 +3507,18 @@ export interface operations {
3506
3507
  shortRef?: string | null;
3507
3508
  } | null;
3508
3509
  matchStatus?: string | null;
3510
+ appliedAmount?: {
3511
+ taxBehavior?: ("excluded" | "included") | null;
3512
+ taxRate?: {
3513
+ id: string;
3514
+ name: string;
3515
+ /**
3516
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
3517
+ * @example 100000
3518
+ */
3519
+ basisPoints: number;
3520
+ } | null;
3521
+ } | null;
3509
3522
  markup?: {
3510
3523
  amount?: number | null;
3511
3524
  taxBehavior?: ("excluded" | "included") | null;
@@ -6475,6 +6488,192 @@ export interface operations {
6475
6488
  };
6476
6489
  };
6477
6490
  };
6491
+ syncConnectionPost: {
6492
+ parameters: {
6493
+ query?: never;
6494
+ header?: never;
6495
+ path: {
6496
+ id: string;
6497
+ };
6498
+ cookie?: never;
6499
+ };
6500
+ requestBody?: {
6501
+ content: {
6502
+ "application/json": {
6503
+ uniqueRef: string;
6504
+ /** @enum {string} */
6505
+ type: "reservation" | "listing" | "payout";
6506
+ };
6507
+ };
6508
+ };
6509
+ responses: {
6510
+ /** @description Successful response */
6511
+ 200: {
6512
+ headers: {
6513
+ [name: string]: unknown;
6514
+ };
6515
+ content: {
6516
+ "application/json": (({
6517
+ /** Format: uuid */
6518
+ id: string;
6519
+ /** @constant */
6520
+ status: "completed";
6521
+ message: string;
6522
+ /** @constant */
6523
+ type: "reservation";
6524
+ /** Format: uuid */
6525
+ reservationId: string;
6526
+ } | {
6527
+ /** Format: uuid */
6528
+ id: string;
6529
+ /** @constant */
6530
+ status: "completed";
6531
+ message: string;
6532
+ /** @constant */
6533
+ type: "listing";
6534
+ /** Format: uuid */
6535
+ listingId: string;
6536
+ } | {
6537
+ /** Format: uuid */
6538
+ id: string;
6539
+ /** @constant */
6540
+ status: "completed";
6541
+ message: string;
6542
+ /** @constant */
6543
+ type: "payout";
6544
+ /** Format: uuid */
6545
+ paymentId: string;
6546
+ }) | {
6547
+ /** Format: uuid */
6548
+ id: string;
6549
+ /** @constant */
6550
+ status: "failed";
6551
+ message: string;
6552
+ /** @enum {string} */
6553
+ type: "reservation" | "listing" | "payout";
6554
+ }) | (({
6555
+ /** Format: uuid */
6556
+ id: string;
6557
+ /** @constant */
6558
+ status: "completed";
6559
+ message: string;
6560
+ /** @constant */
6561
+ type: "reservation";
6562
+ /** Format: uuid */
6563
+ reservationId: string;
6564
+ } | {
6565
+ /** Format: uuid */
6566
+ id: string;
6567
+ /** @constant */
6568
+ status: "completed";
6569
+ message: string;
6570
+ /** @constant */
6571
+ type: "listing";
6572
+ /** Format: uuid */
6573
+ listingId: string;
6574
+ } | {
6575
+ /** Format: uuid */
6576
+ id: string;
6577
+ /** @constant */
6578
+ status: "completed";
6579
+ message: string;
6580
+ /** @constant */
6581
+ type: "payout";
6582
+ /** Format: uuid */
6583
+ paymentId: string;
6584
+ }) | {
6585
+ /** Format: uuid */
6586
+ id: string;
6587
+ /** @constant */
6588
+ status: "failed";
6589
+ message: string;
6590
+ /** @enum {string} */
6591
+ type: "reservation" | "listing" | "payout";
6592
+ })[];
6593
+ };
6594
+ };
6595
+ /** @description Bad request */
6596
+ 400: {
6597
+ headers: {
6598
+ [name: string]: unknown;
6599
+ };
6600
+ content: {
6601
+ "application/json": {
6602
+ code: string;
6603
+ message: string;
6604
+ issues?: {
6605
+ message: string;
6606
+ }[];
6607
+ context?: unknown;
6608
+ };
6609
+ };
6610
+ };
6611
+ /** @description Unauthorized */
6612
+ 401: {
6613
+ headers: {
6614
+ [name: string]: unknown;
6615
+ };
6616
+ content: {
6617
+ "application/json": {
6618
+ code: string;
6619
+ message: string;
6620
+ issues?: {
6621
+ message: string;
6622
+ }[];
6623
+ context?: unknown;
6624
+ };
6625
+ };
6626
+ };
6627
+ /** @description Forbidden */
6628
+ 403: {
6629
+ headers: {
6630
+ [name: string]: unknown;
6631
+ };
6632
+ content: {
6633
+ "application/json": {
6634
+ code: string;
6635
+ message: string;
6636
+ issues?: {
6637
+ message: string;
6638
+ }[];
6639
+ context?: unknown;
6640
+ };
6641
+ };
6642
+ };
6643
+ /** @description Not found */
6644
+ 404: {
6645
+ headers: {
6646
+ [name: string]: unknown;
6647
+ };
6648
+ content: {
6649
+ "application/json": {
6650
+ code: string;
6651
+ message: string;
6652
+ issues?: {
6653
+ message: string;
6654
+ }[];
6655
+ context?: unknown;
6656
+ };
6657
+ };
6658
+ };
6659
+ /** @description Internal server error */
6660
+ 500: {
6661
+ headers: {
6662
+ [name: string]: unknown;
6663
+ };
6664
+ content: {
6665
+ "application/json": {
6666
+ code: string;
6667
+ message: string;
6668
+ issues?: {
6669
+ message: string;
6670
+ }[];
6671
+ context?: unknown;
6672
+ };
6673
+ };
6674
+ };
6675
+ };
6676
+ };
6478
6677
  getContacts: {
6479
6678
  parameters: {
6480
6679
  query?: {
@@ -25698,6 +25897,18 @@ export interface operations {
25698
25897
  shortRef?: string | null;
25699
25898
  } | null;
25700
25899
  matchStatus?: string | null;
25900
+ appliedAmount?: {
25901
+ taxBehavior?: ("excluded" | "included") | null;
25902
+ taxRate?: {
25903
+ id: string;
25904
+ name: string;
25905
+ /**
25906
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
25907
+ * @example 100000
25908
+ */
25909
+ basisPoints: number;
25910
+ } | null;
25911
+ } | null;
25701
25912
  markup?: {
25702
25913
  amount?: number | null;
25703
25914
  taxBehavior?: ("excluded" | "included") | null;
@@ -28718,6 +28929,17 @@ export interface operations {
28718
28929
  name?: string | null;
28719
28930
  firstName?: string | null;
28720
28931
  }[] | null;
28932
+ extractableConnections?: {
28933
+ [key: string]: {
28934
+ connections: {
28935
+ /** Format: uuid */
28936
+ id: string;
28937
+ name: string;
28938
+ appId: string;
28939
+ urlExample?: string | null;
28940
+ }[];
28941
+ };
28942
+ } | null;
28721
28943
  }[];
28722
28944
  pagination: {
28723
28945
  /** @default 100 */
@@ -28962,6 +29184,17 @@ export interface operations {
28962
29184
  name?: string | null;
28963
29185
  firstName?: string | null;
28964
29186
  }[] | null;
29187
+ extractableConnections?: {
29188
+ [key: string]: {
29189
+ connections: {
29190
+ /** Format: uuid */
29191
+ id: string;
29192
+ name: string;
29193
+ appId: string;
29194
+ urlExample?: string | null;
29195
+ }[];
29196
+ };
29197
+ } | null;
28965
29198
  };
28966
29199
  };
28967
29200
  };
@@ -29733,6 +29966,17 @@ export interface operations {
29733
29966
  name?: string | null;
29734
29967
  firstName?: string | null;
29735
29968
  }[] | null;
29969
+ extractableConnections?: {
29970
+ [key: string]: {
29971
+ connections: {
29972
+ /** Format: uuid */
29973
+ id: string;
29974
+ name: string;
29975
+ appId: string;
29976
+ urlExample?: string | null;
29977
+ }[];
29978
+ };
29979
+ } | null;
29736
29980
  };
29737
29981
  };
29738
29982
  };
@@ -29974,6 +30218,17 @@ export interface operations {
29974
30218
  name?: string | null;
29975
30219
  firstName?: string | null;
29976
30220
  }[] | null;
30221
+ extractableConnections?: {
30222
+ [key: string]: {
30223
+ connections: {
30224
+ /** Format: uuid */
30225
+ id: string;
30226
+ name: string;
30227
+ appId: string;
30228
+ urlExample?: string | null;
30229
+ }[];
30230
+ };
30231
+ } | null;
29977
30232
  };
29978
30233
  };
29979
30234
  };
@@ -30489,6 +30744,17 @@ export interface operations {
30489
30744
  name?: string | null;
30490
30745
  firstName?: string | null;
30491
30746
  }[] | null;
30747
+ extractableConnections?: {
30748
+ [key: string]: {
30749
+ connections: {
30750
+ /** Format: uuid */
30751
+ id: string;
30752
+ name: string;
30753
+ appId: string;
30754
+ urlExample?: string | null;
30755
+ }[];
30756
+ };
30757
+ } | null;
30492
30758
  };
30493
30759
  };
30494
30760
  };
@@ -30684,6 +30950,18 @@ export interface operations {
30684
30950
  shortRef?: string | null;
30685
30951
  } | null;
30686
30952
  matchStatus?: string | null;
30953
+ appliedAmount?: {
30954
+ taxBehavior?: ("excluded" | "included") | null;
30955
+ taxRate?: {
30956
+ id: string;
30957
+ name: string;
30958
+ /**
30959
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
30960
+ * @example 100000
30961
+ */
30962
+ basisPoints: number;
30963
+ } | null;
30964
+ } | null;
30687
30965
  markup?: {
30688
30966
  amount?: number | null;
30689
30967
  taxBehavior?: ("excluded" | "included") | null;
@@ -30940,6 +31218,10 @@ export interface operations {
30940
31218
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
30941
31219
  /** @description Value in cents (100 = 1€) */
30942
31220
  amount: number;
31221
+ appliedAmount?: {
31222
+ taxRateId?: string | null;
31223
+ taxBehavior?: ("excluded" | "included") | null;
31224
+ } | null;
30943
31225
  markup?: {
30944
31226
  amount?: number | null;
30945
31227
  taxRateId?: string | null;
@@ -31065,6 +31347,18 @@ export interface operations {
31065
31347
  shortRef?: string | null;
31066
31348
  } | null;
31067
31349
  matchStatus?: string | null;
31350
+ appliedAmount?: {
31351
+ taxBehavior?: ("excluded" | "included") | null;
31352
+ taxRate?: {
31353
+ id: string;
31354
+ name: string;
31355
+ /**
31356
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
31357
+ * @example 100000
31358
+ */
31359
+ basisPoints: number;
31360
+ } | null;
31361
+ } | null;
31068
31362
  markup?: {
31069
31363
  amount?: number | null;
31070
31364
  taxBehavior?: ("excluded" | "included") | null;
@@ -31314,6 +31608,10 @@ export interface operations {
31314
31608
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
31315
31609
  /** @description Value in cents (100 = 1€) */
31316
31610
  amount: number;
31611
+ appliedAmount?: {
31612
+ taxRateId?: string | null;
31613
+ taxBehavior?: ("excluded" | "included") | null;
31614
+ } | null;
31317
31615
  markup?: {
31318
31616
  amount?: number | null;
31319
31617
  taxRateId?: string | null;
@@ -32429,6 +32727,18 @@ export interface operations {
32429
32727
  shortRef?: string | null;
32430
32728
  } | null;
32431
32729
  matchStatus?: string | null;
32730
+ appliedAmount?: {
32731
+ taxBehavior?: ("excluded" | "included") | null;
32732
+ taxRate?: {
32733
+ id: string;
32734
+ name: string;
32735
+ /**
32736
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
32737
+ * @example 100000
32738
+ */
32739
+ basisPoints: number;
32740
+ } | null;
32741
+ } | null;
32432
32742
  markup?: {
32433
32743
  amount?: number | null;
32434
32744
  taxBehavior?: ("excluded" | "included") | null;
@@ -32726,6 +33036,18 @@ export interface operations {
32726
33036
  shortRef?: string | null;
32727
33037
  } | null;
32728
33038
  matchStatus?: string | null;
33039
+ appliedAmount?: {
33040
+ taxBehavior?: ("excluded" | "included") | null;
33041
+ taxRate?: {
33042
+ id: string;
33043
+ name: string;
33044
+ /**
33045
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
33046
+ * @example 100000
33047
+ */
33048
+ basisPoints: number;
33049
+ } | null;
33050
+ } | null;
32729
33051
  markup?: {
32730
33052
  amount?: number | null;
32731
33053
  taxBehavior?: ("excluded" | "included") | null;
@@ -33098,6 +33420,18 @@ export interface operations {
33098
33420
  shortRef?: string | null;
33099
33421
  } | null;
33100
33422
  matchStatus?: string | null;
33423
+ appliedAmount?: {
33424
+ taxBehavior?: ("excluded" | "included") | null;
33425
+ taxRate?: {
33426
+ id: string;
33427
+ name: string;
33428
+ /**
33429
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
33430
+ * @example 100000
33431
+ */
33432
+ basisPoints: number;
33433
+ } | null;
33434
+ } | null;
33101
33435
  markup?: {
33102
33436
  amount?: number | null;
33103
33437
  taxBehavior?: ("excluded" | "included") | null;
@@ -33388,6 +33722,18 @@ export interface operations {
33388
33722
  shortRef?: string | null;
33389
33723
  } | null;
33390
33724
  matchStatus?: string | null;
33725
+ appliedAmount?: {
33726
+ taxBehavior?: ("excluded" | "included") | null;
33727
+ taxRate?: {
33728
+ id: string;
33729
+ name: string;
33730
+ /**
33731
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
33732
+ * @example 100000
33733
+ */
33734
+ basisPoints: number;
33735
+ } | null;
33736
+ } | null;
33391
33737
  markup?: {
33392
33738
  amount?: number | null;
33393
33739
  taxBehavior?: ("excluded" | "included") | null;
@@ -33726,6 +34072,18 @@ export interface operations {
33726
34072
  shortRef?: string | null;
33727
34073
  } | null;
33728
34074
  matchStatus?: string | null;
34075
+ appliedAmount?: {
34076
+ taxBehavior?: ("excluded" | "included") | null;
34077
+ taxRate?: {
34078
+ id: string;
34079
+ name: string;
34080
+ /**
34081
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
34082
+ * @example 100000
34083
+ */
34084
+ basisPoints: number;
34085
+ } | null;
34086
+ } | null;
33729
34087
  markup?: {
33730
34088
  amount?: number | null;
33731
34089
  taxBehavior?: ("excluded" | "included") | null;
@@ -34157,6 +34515,18 @@ export interface operations {
34157
34515
  shortRef?: string | null;
34158
34516
  } | null;
34159
34517
  matchStatus?: string | null;
34518
+ appliedAmount?: {
34519
+ taxBehavior?: ("excluded" | "included") | null;
34520
+ taxRate?: {
34521
+ id: string;
34522
+ name: string;
34523
+ /**
34524
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
34525
+ * @example 100000
34526
+ */
34527
+ basisPoints: number;
34528
+ } | null;
34529
+ } | null;
34160
34530
  markup?: {
34161
34531
  amount?: number | null;
34162
34532
  taxBehavior?: ("excluded" | "included") | null;
@@ -34435,6 +34805,10 @@ export interface operations {
34435
34805
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
34436
34806
  /** @description Value in cents (100 = 1€) */
34437
34807
  amount?: number;
34808
+ appliedAmount?: {
34809
+ taxRateId?: string | null;
34810
+ taxBehavior?: ("excluded" | "included") | null;
34811
+ } | null;
34438
34812
  markup?: {
34439
34813
  amount?: number | null;
34440
34814
  taxRateId?: string | null;
@@ -34461,6 +34835,10 @@ export interface operations {
34461
34835
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
34462
34836
  /** @description Value in cents (100 = 1€) */
34463
34837
  amount: number;
34838
+ appliedAmount?: {
34839
+ taxRateId?: string | null;
34840
+ taxBehavior?: ("excluded" | "included") | null;
34841
+ } | null;
34464
34842
  markup?: {
34465
34843
  amount?: number | null;
34466
34844
  taxRateId?: string | null;
@@ -34487,6 +34865,10 @@ export interface operations {
34487
34865
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
34488
34866
  /** @description Value in cents (100 = 1€) */
34489
34867
  amount?: number;
34868
+ appliedAmount?: {
34869
+ taxRateId?: string | null;
34870
+ taxBehavior?: ("excluded" | "included") | null;
34871
+ } | null;
34490
34872
  markup?: {
34491
34873
  amount?: number | null;
34492
34874
  taxRateId?: string | null;
@@ -34586,6 +34968,18 @@ export interface operations {
34586
34968
  shortRef?: string | null;
34587
34969
  } | null;
34588
34970
  matchStatus?: string | null;
34971
+ appliedAmount?: {
34972
+ taxBehavior?: ("excluded" | "included") | null;
34973
+ taxRate?: {
34974
+ id: string;
34975
+ name: string;
34976
+ /**
34977
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
34978
+ * @example 100000
34979
+ */
34980
+ basisPoints: number;
34981
+ } | null;
34982
+ } | null;
34589
34983
  markup?: {
34590
34984
  amount?: number | null;
34591
34985
  taxBehavior?: ("excluded" | "included") | null;
@@ -34936,6 +35330,10 @@ export interface operations {
34936
35330
  assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer") | null;
34937
35331
  /** @description Value in cents (100 = 1€) */
34938
35332
  amount?: number;
35333
+ appliedAmount?: {
35334
+ taxRateId?: string | null;
35335
+ taxBehavior?: ("excluded" | "included") | null;
35336
+ } | null;
34939
35337
  markup?: {
34940
35338
  amount?: number | null;
34941
35339
  taxRateId?: string | null;
@@ -35030,6 +35428,18 @@ export interface operations {
35030
35428
  shortRef?: string | null;
35031
35429
  } | null;
35032
35430
  matchStatus?: string | null;
35431
+ appliedAmount?: {
35432
+ taxBehavior?: ("excluded" | "included") | null;
35433
+ taxRate?: {
35434
+ id: string;
35435
+ name: string;
35436
+ /**
35437
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
35438
+ * @example 100000
35439
+ */
35440
+ basisPoints: number;
35441
+ } | null;
35442
+ } | null;
35033
35443
  markup?: {
35034
35444
  amount?: number | null;
35035
35445
  taxBehavior?: ("excluded" | "included") | null;