@vrplatform/api 1.2.33-stage.692 → 1.2.33-stage.694

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.2.33-stage.692",
6
+ "version": "1.2.33-stage.694",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -15429,9 +15429,44 @@ export interface operations {
15429
15429
  };
15430
15430
  content: {
15431
15431
  "application/json": {
15432
- description: string;
15432
+ id: string;
15433
+ /** @enum {string} */
15434
+ status: "active" | "inactive";
15433
15435
  uniqueRef: string;
15436
+ description: string;
15434
15437
  date: string;
15438
+ currency: string;
15439
+ amount: number;
15440
+ pattern: {
15441
+ /** @enum {string} */
15442
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15443
+ interval?: number | null;
15444
+ weekDays?: number[] | null;
15445
+ monthDays?: number[] | null;
15446
+ months?: number[] | null;
15447
+ count?: number | null;
15448
+ endDate?: string | null;
15449
+ };
15450
+ /** @enum {string} */
15451
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15452
+ patternFormatted?: string | null;
15453
+ nextTransactionInstanceAt?: string | null;
15454
+ instancesCount: number;
15455
+ account?: {
15456
+ id: string;
15457
+ name: string;
15458
+ bankAccount?: {
15459
+ /** Format: uuid */
15460
+ id?: string | null;
15461
+ name: string;
15462
+ } | null;
15463
+ } | null;
15464
+ contact?: {
15465
+ /** Format: uuid */
15466
+ id: string;
15467
+ name?: string | null;
15468
+ uniqueRef?: string | null;
15469
+ } | null;
15435
15470
  lines: {
15436
15471
  uniqueRef?: string | null;
15437
15472
  description: string;
@@ -15476,8 +15511,6 @@ export interface operations {
15476
15511
  account?: {
15477
15512
  id: string;
15478
15513
  name: string;
15479
- /** @enum {string|null} */
15480
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15481
15514
  } | null;
15482
15515
  /** @enum {string} */
15483
15516
  party: "owners" | "manager";
@@ -15504,11 +15537,6 @@ export interface operations {
15504
15537
  } | null;
15505
15538
  } | null;
15506
15539
  }[];
15507
- /** Format: uuid */
15508
- recurringTemplateId?: string | null;
15509
- /** @enum {string} */
15510
- status: "active" | "inactive";
15511
- id: string;
15512
15540
  issues: ({
15513
15541
  /** @enum {string} */
15514
15542
  code: "missingInstances";
@@ -15526,41 +15554,6 @@ export interface operations {
15526
15554
  ids: string[];
15527
15555
  };
15528
15556
  })[];
15529
- currency: string;
15530
- /** @description Value in cents (100 = 1€) */
15531
- amount: number;
15532
- account?: {
15533
- id: string;
15534
- name: string;
15535
- /** @enum {string|null} */
15536
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15537
- bankAccount?: {
15538
- /** Format: uuid */
15539
- id?: string | null;
15540
- name: string;
15541
- } | null;
15542
- } | null;
15543
- contact?: {
15544
- /** Format: uuid */
15545
- id: string;
15546
- name?: string | null;
15547
- uniqueRef?: string | null;
15548
- } | null;
15549
- pattern: {
15550
- /** @enum {string} */
15551
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15552
- interval?: number | null;
15553
- weekDays?: number[] | null;
15554
- monthDays?: number[] | null;
15555
- months?: number[] | null;
15556
- count?: number | null;
15557
- endDate?: string | null;
15558
- };
15559
- /** @enum {string} */
15560
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15561
- nextTransactionInstanceAt?: string | null;
15562
- patternFormatted?: string | null;
15563
- instancesCount: number;
15564
15557
  };
15565
15558
  };
15566
15559
  };
@@ -15625,47 +15618,12 @@ export interface operations {
15625
15618
  requestBody: {
15626
15619
  content: {
15627
15620
  "application/json": {
15628
- description?: string;
15629
- accountId?: string | null;
15630
- contactId?: string | null;
15631
15621
  uniqueRef?: string;
15622
+ description?: string;
15632
15623
  date?: string;
15633
15624
  currency?: string | null;
15634
- lines?: {
15635
- recurringTemplateId?: string | null;
15636
- uniqueRef?: string | null;
15637
- description: string;
15638
- accountId?: string | null;
15639
- /** @enum {string|null} */
15640
- 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;
15641
- /** @description Value in cents (100 = 1€) */
15642
- amount: number;
15643
- markup?: {
15644
- /** @description Value in cents (100 = 1€) */
15645
- amount?: number | null;
15646
- /** Format: uuid */
15647
- taxRateId?: string | null;
15648
- /**
15649
- * @default excluded
15650
- * @enum {string|null}
15651
- */
15652
- taxBehavior?: "excluded" | "included" | null;
15653
- } | null;
15654
- listingId?: string | null;
15655
- reservationId?: string | null;
15656
- /** Format: uuid */
15657
- ownerStatementId?: string | null;
15658
- /** @enum {string|null} */
15659
- party?: "owners" | "manager" | null;
15660
- contactId?: string | null;
15661
- matchers?: {
15662
- confirmationCode?: string | null;
15663
- customerId?: string | null;
15664
- lineType?: string | null;
15665
- } | null;
15666
- }[];
15667
- /** @enum {string|null} */
15668
- status?: "active" | "inactive" | null;
15625
+ accountId?: string | null;
15626
+ contactId?: string | null;
15669
15627
  pattern?: {
15670
15628
  /** @enum {string} */
15671
15629
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -15678,6 +15636,17 @@ export interface operations {
15678
15636
  };
15679
15637
  /** @enum {string} */
15680
15638
  paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
15639
+ lines?: {
15640
+ description: string;
15641
+ accountId?: string | null;
15642
+ amount: number;
15643
+ listingId?: string | null;
15644
+ party?: string | null;
15645
+ contactId?: string | null;
15646
+ }[];
15647
+ skipInitialInstance?: boolean;
15648
+ /** @enum {string|null} */
15649
+ status?: "active" | "inactive" | null;
15681
15650
  };
15682
15651
  };
15683
15652
  };
@@ -15689,9 +15658,44 @@ export interface operations {
15689
15658
  };
15690
15659
  content: {
15691
15660
  "application/json": {
15692
- description: string;
15661
+ id: string;
15662
+ /** @enum {string} */
15663
+ status: "active" | "inactive";
15693
15664
  uniqueRef: string;
15665
+ description: string;
15694
15666
  date: string;
15667
+ currency: string;
15668
+ amount: number;
15669
+ pattern: {
15670
+ /** @enum {string} */
15671
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15672
+ interval?: number | null;
15673
+ weekDays?: number[] | null;
15674
+ monthDays?: number[] | null;
15675
+ months?: number[] | null;
15676
+ count?: number | null;
15677
+ endDate?: string | null;
15678
+ };
15679
+ /** @enum {string} */
15680
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15681
+ patternFormatted?: string | null;
15682
+ nextTransactionInstanceAt?: string | null;
15683
+ instancesCount: number;
15684
+ account?: {
15685
+ id: string;
15686
+ name: string;
15687
+ bankAccount?: {
15688
+ /** Format: uuid */
15689
+ id?: string | null;
15690
+ name: string;
15691
+ } | null;
15692
+ } | null;
15693
+ contact?: {
15694
+ /** Format: uuid */
15695
+ id: string;
15696
+ name?: string | null;
15697
+ uniqueRef?: string | null;
15698
+ } | null;
15695
15699
  lines: {
15696
15700
  uniqueRef?: string | null;
15697
15701
  description: string;
@@ -15736,8 +15740,6 @@ export interface operations {
15736
15740
  account?: {
15737
15741
  id: string;
15738
15742
  name: string;
15739
- /** @enum {string|null} */
15740
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15741
15743
  } | null;
15742
15744
  /** @enum {string} */
15743
15745
  party: "owners" | "manager";
@@ -15764,11 +15766,6 @@ export interface operations {
15764
15766
  } | null;
15765
15767
  } | null;
15766
15768
  }[];
15767
- /** Format: uuid */
15768
- recurringTemplateId?: string | null;
15769
- /** @enum {string} */
15770
- status: "active" | "inactive";
15771
- id: string;
15772
15769
  issues: ({
15773
15770
  /** @enum {string} */
15774
15771
  code: "missingInstances";
@@ -15786,41 +15783,6 @@ export interface operations {
15786
15783
  ids: string[];
15787
15784
  };
15788
15785
  })[];
15789
- currency: string;
15790
- /** @description Value in cents (100 = 1€) */
15791
- amount: number;
15792
- account?: {
15793
- id: string;
15794
- name: string;
15795
- /** @enum {string|null} */
15796
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15797
- bankAccount?: {
15798
- /** Format: uuid */
15799
- id?: string | null;
15800
- name: string;
15801
- } | null;
15802
- } | null;
15803
- contact?: {
15804
- /** Format: uuid */
15805
- id: string;
15806
- name?: string | null;
15807
- uniqueRef?: string | null;
15808
- } | null;
15809
- pattern: {
15810
- /** @enum {string} */
15811
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15812
- interval?: number | null;
15813
- weekDays?: number[] | null;
15814
- monthDays?: number[] | null;
15815
- months?: number[] | null;
15816
- count?: number | null;
15817
- endDate?: string | null;
15818
- };
15819
- /** @enum {string} */
15820
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15821
- nextTransactionInstanceAt?: string | null;
15822
- patternFormatted?: string | null;
15823
- instancesCount: number;
15824
15786
  };
15825
15787
  };
15826
15788
  };
@@ -15969,9 +15931,44 @@ export interface operations {
15969
15931
  content: {
15970
15932
  "application/json": {
15971
15933
  data: {
15972
- description: string;
15934
+ id: string;
15935
+ /** @enum {string} */
15936
+ status: "active" | "inactive";
15973
15937
  uniqueRef: string;
15938
+ description: string;
15974
15939
  date: string;
15940
+ currency: string;
15941
+ amount: number;
15942
+ pattern: {
15943
+ /** @enum {string} */
15944
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15945
+ interval?: number | null;
15946
+ weekDays?: number[] | null;
15947
+ monthDays?: number[] | null;
15948
+ months?: number[] | null;
15949
+ count?: number | null;
15950
+ endDate?: string | null;
15951
+ };
15952
+ /** @enum {string} */
15953
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15954
+ patternFormatted?: string | null;
15955
+ nextTransactionInstanceAt?: string | null;
15956
+ instancesCount: number;
15957
+ account?: {
15958
+ id: string;
15959
+ name: string;
15960
+ bankAccount?: {
15961
+ /** Format: uuid */
15962
+ id?: string | null;
15963
+ name: string;
15964
+ } | null;
15965
+ } | null;
15966
+ contact?: {
15967
+ /** Format: uuid */
15968
+ id: string;
15969
+ name?: string | null;
15970
+ uniqueRef?: string | null;
15971
+ } | null;
15975
15972
  lines: {
15976
15973
  uniqueRef?: string | null;
15977
15974
  description: string;
@@ -16016,8 +16013,6 @@ export interface operations {
16016
16013
  account?: {
16017
16014
  id: string;
16018
16015
  name: string;
16019
- /** @enum {string|null} */
16020
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16021
16016
  } | null;
16022
16017
  /** @enum {string} */
16023
16018
  party: "owners" | "manager";
@@ -16044,11 +16039,6 @@ export interface operations {
16044
16039
  } | null;
16045
16040
  } | null;
16046
16041
  }[];
16047
- /** Format: uuid */
16048
- recurringTemplateId?: string | null;
16049
- /** @enum {string} */
16050
- status: "active" | "inactive";
16051
- id: string;
16052
16042
  issues: ({
16053
16043
  /** @enum {string} */
16054
16044
  code: "missingInstances";
@@ -16066,41 +16056,6 @@ export interface operations {
16066
16056
  ids: string[];
16067
16057
  };
16068
16058
  })[];
16069
- currency: string;
16070
- /** @description Value in cents (100 = 1€) */
16071
- amount: number;
16072
- account?: {
16073
- id: string;
16074
- name: string;
16075
- /** @enum {string|null} */
16076
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16077
- bankAccount?: {
16078
- /** Format: uuid */
16079
- id?: string | null;
16080
- name: string;
16081
- } | null;
16082
- } | null;
16083
- contact?: {
16084
- /** Format: uuid */
16085
- id: string;
16086
- name?: string | null;
16087
- uniqueRef?: string | null;
16088
- } | null;
16089
- pattern: {
16090
- /** @enum {string} */
16091
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16092
- interval?: number | null;
16093
- weekDays?: number[] | null;
16094
- monthDays?: number[] | null;
16095
- months?: number[] | null;
16096
- count?: number | null;
16097
- endDate?: string | null;
16098
- };
16099
- /** @enum {string} */
16100
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16101
- nextTransactionInstanceAt?: string | null;
16102
- patternFormatted?: string | null;
16103
- instancesCount: number;
16104
16059
  }[];
16105
16060
  pagination: {
16106
16061
  /** @default 100 */
@@ -16173,47 +16128,12 @@ export interface operations {
16173
16128
  requestBody: {
16174
16129
  content: {
16175
16130
  "application/json": {
16176
- description: string;
16177
- accountId?: string | null;
16178
- contactId?: string | null;
16179
16131
  uniqueRef: string;
16132
+ description: string;
16180
16133
  date: string;
16181
16134
  currency?: string | null;
16182
- lines: {
16183
- recurringTemplateId?: string | null;
16184
- uniqueRef?: string | null;
16185
- description: string;
16186
- accountId?: string | null;
16187
- /** @enum {string|null} */
16188
- 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;
16189
- /** @description Value in cents (100 = 1€) */
16190
- amount: number;
16191
- markup?: {
16192
- /** @description Value in cents (100 = 1€) */
16193
- amount?: number | null;
16194
- /** Format: uuid */
16195
- taxRateId?: string | null;
16196
- /**
16197
- * @default excluded
16198
- * @enum {string|null}
16199
- */
16200
- taxBehavior?: "excluded" | "included" | null;
16201
- } | null;
16202
- listingId?: string | null;
16203
- reservationId?: string | null;
16204
- /** Format: uuid */
16205
- ownerStatementId?: string | null;
16206
- /** @enum {string|null} */
16207
- party?: "owners" | "manager" | null;
16208
- contactId?: string | null;
16209
- matchers?: {
16210
- confirmationCode?: string | null;
16211
- customerId?: string | null;
16212
- lineType?: string | null;
16213
- } | null;
16214
- }[];
16215
- /** @enum {string|null} */
16216
- status?: "active" | "inactive" | null;
16135
+ accountId?: string | null;
16136
+ contactId?: string | null;
16217
16137
  pattern: {
16218
16138
  /** @enum {string} */
16219
16139
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -16226,6 +16146,15 @@ export interface operations {
16226
16146
  };
16227
16147
  /** @enum {string} */
16228
16148
  paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16149
+ lines: {
16150
+ description: string;
16151
+ accountId?: string | null;
16152
+ amount: number;
16153
+ listingId?: string | null;
16154
+ party?: string | null;
16155
+ contactId?: string | null;
16156
+ }[];
16157
+ skipInitialInstance?: boolean;
16229
16158
  };
16230
16159
  };
16231
16160
  };
@@ -16237,9 +16166,44 @@ export interface operations {
16237
16166
  };
16238
16167
  content: {
16239
16168
  "application/json": {
16240
- description: string;
16169
+ id: string;
16170
+ /** @enum {string} */
16171
+ status: "active" | "inactive";
16241
16172
  uniqueRef: string;
16173
+ description: string;
16242
16174
  date: string;
16175
+ currency: string;
16176
+ amount: number;
16177
+ pattern: {
16178
+ /** @enum {string} */
16179
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16180
+ interval?: number | null;
16181
+ weekDays?: number[] | null;
16182
+ monthDays?: number[] | null;
16183
+ months?: number[] | null;
16184
+ count?: number | null;
16185
+ endDate?: string | null;
16186
+ };
16187
+ /** @enum {string} */
16188
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16189
+ patternFormatted?: string | null;
16190
+ nextTransactionInstanceAt?: string | null;
16191
+ instancesCount: number;
16192
+ account?: {
16193
+ id: string;
16194
+ name: string;
16195
+ bankAccount?: {
16196
+ /** Format: uuid */
16197
+ id?: string | null;
16198
+ name: string;
16199
+ } | null;
16200
+ } | null;
16201
+ contact?: {
16202
+ /** Format: uuid */
16203
+ id: string;
16204
+ name?: string | null;
16205
+ uniqueRef?: string | null;
16206
+ } | null;
16243
16207
  lines: {
16244
16208
  uniqueRef?: string | null;
16245
16209
  description: string;
@@ -16284,8 +16248,6 @@ export interface operations {
16284
16248
  account?: {
16285
16249
  id: string;
16286
16250
  name: string;
16287
- /** @enum {string|null} */
16288
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16289
16251
  } | null;
16290
16252
  /** @enum {string} */
16291
16253
  party: "owners" | "manager";
@@ -16312,11 +16274,6 @@ export interface operations {
16312
16274
  } | null;
16313
16275
  } | null;
16314
16276
  }[];
16315
- /** Format: uuid */
16316
- recurringTemplateId?: string | null;
16317
- /** @enum {string} */
16318
- status: "active" | "inactive";
16319
- id: string;
16320
16277
  issues: ({
16321
16278
  /** @enum {string} */
16322
16279
  code: "missingInstances";
@@ -16334,41 +16291,6 @@ export interface operations {
16334
16291
  ids: string[];
16335
16292
  };
16336
16293
  })[];
16337
- currency: string;
16338
- /** @description Value in cents (100 = 1€) */
16339
- amount: number;
16340
- account?: {
16341
- id: string;
16342
- name: string;
16343
- /** @enum {string|null} */
16344
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16345
- bankAccount?: {
16346
- /** Format: uuid */
16347
- id?: string | null;
16348
- name: string;
16349
- } | null;
16350
- } | null;
16351
- contact?: {
16352
- /** Format: uuid */
16353
- id: string;
16354
- name?: string | null;
16355
- uniqueRef?: string | null;
16356
- } | null;
16357
- pattern: {
16358
- /** @enum {string} */
16359
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16360
- interval?: number | null;
16361
- weekDays?: number[] | null;
16362
- monthDays?: number[] | null;
16363
- months?: number[] | null;
16364
- count?: number | null;
16365
- endDate?: string | null;
16366
- };
16367
- /** @enum {string} */
16368
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16369
- nextTransactionInstanceAt?: string | null;
16370
- patternFormatted?: string | null;
16371
- instancesCount: number;
16372
16294
  };
16373
16295
  };
16374
16296
  };