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