@vrplatform/api 1.2.33-stage.805 → 1.2.33-stage.808

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.805",
6
+ "version": "1.2.33-stage.808",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1727,6 +1727,40 @@ export interface paths {
1727
1727
  patch?: never;
1728
1728
  trace?: never;
1729
1729
  };
1730
+ "/flows": {
1731
+ parameters: {
1732
+ query?: never;
1733
+ header?: never;
1734
+ path?: never;
1735
+ cookie?: never;
1736
+ };
1737
+ /** @description List flows */
1738
+ get: operations["getFlows"];
1739
+ put?: never;
1740
+ post?: never;
1741
+ delete?: never;
1742
+ options?: never;
1743
+ head?: never;
1744
+ patch?: never;
1745
+ trace?: never;
1746
+ };
1747
+ "/flows/{id}": {
1748
+ parameters: {
1749
+ query?: never;
1750
+ header?: never;
1751
+ path?: never;
1752
+ cookie?: never;
1753
+ };
1754
+ /** @description Get flow by ID */
1755
+ get: operations["getFlow"];
1756
+ put?: never;
1757
+ post?: never;
1758
+ delete?: never;
1759
+ options?: never;
1760
+ head?: never;
1761
+ patch?: never;
1762
+ trace?: never;
1763
+ };
1730
1764
  }
1731
1765
  export type webhooks = Record<string, never>;
1732
1766
  export interface components {
@@ -6348,7 +6382,7 @@ export interface operations {
6348
6382
  data: {
6349
6383
  /** Format: uuid */
6350
6384
  listingId: string;
6351
- /** @default 2025-10-18 */
6385
+ /** @default 2025-10-21 */
6352
6386
  startAt: string;
6353
6387
  endAt?: string | null;
6354
6388
  setListingInactive?: boolean | null;
@@ -6430,7 +6464,7 @@ export interface operations {
6430
6464
  "application/json": {
6431
6465
  /** Format: uuid */
6432
6466
  listingId: string;
6433
- /** @default 2025-10-18 */
6467
+ /** @default 2025-10-21 */
6434
6468
  startAt?: string;
6435
6469
  endAt?: string | null;
6436
6470
  members: {
@@ -6464,7 +6498,7 @@ export interface operations {
6464
6498
  "application/json": {
6465
6499
  /** Format: uuid */
6466
6500
  listingId: string;
6467
- /** @default 2025-10-18 */
6501
+ /** @default 2025-10-21 */
6468
6502
  startAt: string;
6469
6503
  endAt?: string | null;
6470
6504
  setListingInactive?: boolean | null;
@@ -6544,7 +6578,7 @@ export interface operations {
6544
6578
  "application/json": {
6545
6579
  /** Format: uuid */
6546
6580
  listingId: string;
6547
- /** @default 2025-10-18 */
6581
+ /** @default 2025-10-21 */
6548
6582
  startAt: string;
6549
6583
  endAt?: string | null;
6550
6584
  setListingInactive?: boolean | null;
@@ -6627,7 +6661,7 @@ export interface operations {
6627
6661
  "application/json": {
6628
6662
  /** Format: uuid */
6629
6663
  listingId?: string;
6630
- /** @default 2025-10-18 */
6664
+ /** @default 2025-10-21 */
6631
6665
  startAt?: string;
6632
6666
  endAt?: string | null;
6633
6667
  members?: {
@@ -6661,7 +6695,7 @@ export interface operations {
6661
6695
  "application/json": {
6662
6696
  /** Format: uuid */
6663
6697
  listingId: string;
6664
- /** @default 2025-10-18 */
6698
+ /** @default 2025-10-21 */
6665
6699
  startAt: string;
6666
6700
  endAt?: string | null;
6667
6701
  setListingInactive?: boolean | null;
@@ -6847,7 +6881,7 @@ export interface operations {
6847
6881
  /** Format: uuid */
6848
6882
  sourceId?: string | null;
6849
6883
  initialOwnership?: {
6850
- /** @default 2025-10-18 */
6884
+ /** @default 2025-10-21 */
6851
6885
  startAt?: string;
6852
6886
  endAt?: string | null;
6853
6887
  members: {
@@ -6905,7 +6939,7 @@ export interface operations {
6905
6939
  status: "active" | "inactive";
6906
6940
  defaultCurrency?: string | null;
6907
6941
  activeOwnership?: {
6908
- /** @default 2025-10-18 */
6942
+ /** @default 2025-10-21 */
6909
6943
  startAt: string;
6910
6944
  endAt?: string | null;
6911
6945
  setListingInactive?: boolean | null;
@@ -7146,7 +7180,7 @@ export interface operations {
7146
7180
  status: "active" | "inactive";
7147
7181
  defaultCurrency?: string | null;
7148
7182
  activeOwnership?: {
7149
- /** @default 2025-10-18 */
7183
+ /** @default 2025-10-21 */
7150
7184
  startAt: string;
7151
7185
  endAt?: string | null;
7152
7186
  setListingInactive?: boolean | null;
@@ -7285,7 +7319,7 @@ export interface operations {
7285
7319
  /** Format: uuid */
7286
7320
  sourceId?: string | null;
7287
7321
  initialOwnership?: {
7288
- /** @default 2025-10-18 */
7322
+ /** @default 2025-10-21 */
7289
7323
  startAt?: string;
7290
7324
  endAt?: string | null;
7291
7325
  members: {
@@ -7339,7 +7373,7 @@ export interface operations {
7339
7373
  status: "active" | "inactive";
7340
7374
  defaultCurrency?: string | null;
7341
7375
  activeOwnership?: {
7342
- /** @default 2025-10-18 */
7376
+ /** @default 2025-10-21 */
7343
7377
  startAt: string;
7344
7378
  endAt?: string | null;
7345
7379
  setListingInactive?: boolean | null;
@@ -7556,7 +7590,7 @@ export interface operations {
7556
7590
  status: "active" | "inactive";
7557
7591
  defaultCurrency?: string | null;
7558
7592
  activeOwnership?: {
7559
- /** @default 2025-10-18 */
7593
+ /** @default 2025-10-21 */
7560
7594
  startAt: string;
7561
7595
  endAt?: string | null;
7562
7596
  setListingInactive?: boolean | null;
@@ -7703,7 +7737,7 @@ export interface operations {
7703
7737
  /** Format: uuid */
7704
7738
  sourceId?: string | null;
7705
7739
  initialOwnership?: {
7706
- /** @default 2025-10-18 */
7740
+ /** @default 2025-10-21 */
7707
7741
  startAt?: string;
7708
7742
  endAt?: string | null;
7709
7743
  members: {
@@ -7757,7 +7791,7 @@ export interface operations {
7757
7791
  status: "active" | "inactive";
7758
7792
  defaultCurrency?: string | null;
7759
7793
  activeOwnership?: {
7760
- /** @default 2025-10-18 */
7794
+ /** @default 2025-10-21 */
7761
7795
  startAt: string;
7762
7796
  endAt?: string | null;
7763
7797
  setListingInactive?: boolean | null;
@@ -23292,8 +23326,12 @@ export interface operations {
23292
23326
  search?: string;
23293
23327
  date?: string;
23294
23328
  amount?: string;
23329
+ /** @description Use a listing uuid or "unmapped" */
23295
23330
  listingId?: string;
23296
- accountId?: string;
23331
+ /** @description comma separated accounts */
23332
+ accountIds?: string;
23333
+ /** @description comma separated categories */
23334
+ categoryIds?: string;
23297
23335
  classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23298
23336
  type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
23299
23337
  relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
@@ -23615,8 +23653,12 @@ export interface operations {
23615
23653
  search?: string;
23616
23654
  date?: string;
23617
23655
  amount?: string;
23656
+ /** @description Use a listing uuid or "unmapped" */
23618
23657
  listingId?: string;
23619
- accountId?: string;
23658
+ /** @description comma separated accounts */
23659
+ accountIds?: string;
23660
+ /** @description comma separated categories */
23661
+ categoryIds?: string;
23620
23662
  classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23621
23663
  type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
23622
23664
  relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
@@ -24352,4 +24394,257 @@ export interface operations {
24352
24394
  };
24353
24395
  };
24354
24396
  };
24397
+ getFlows: {
24398
+ parameters: {
24399
+ query?: {
24400
+ appId?: string;
24401
+ limit?: number;
24402
+ page?: number;
24403
+ };
24404
+ header?: {
24405
+ "X-Team-Id"?: string;
24406
+ };
24407
+ path?: never;
24408
+ cookie?: never;
24409
+ };
24410
+ requestBody?: never;
24411
+ responses: {
24412
+ /** @description Successful response */
24413
+ 200: {
24414
+ headers: {
24415
+ [name: string]: unknown;
24416
+ };
24417
+ content: {
24418
+ "application/json": {
24419
+ data: {
24420
+ /** Format: uuid */
24421
+ id: string;
24422
+ title: string;
24423
+ app: {
24424
+ id: string;
24425
+ name: string;
24426
+ icon?: string | null;
24427
+ };
24428
+ /** @description Mapping schema configuration for this flow */
24429
+ mappingSchema: {
24430
+ [key: string]: {
24431
+ /** @description Title for UI/display */
24432
+ title: string;
24433
+ /** @description Description for UI/display */
24434
+ description: string;
24435
+ /** @description Internal system mapping configuration */
24436
+ internal: {
24437
+ /**
24438
+ * @description Internal semantic type
24439
+ * @enum {string}
24440
+ */
24441
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24442
+ /** @description Optional JSONB filter for internal data */
24443
+ filter?: string;
24444
+ };
24445
+ /** @description External system mapping configuration */
24446
+ external: {
24447
+ /** @description External type identifier (vendor/system specific) */
24448
+ type: string;
24449
+ /** @description Optional JSONB filter for external data */
24450
+ filter?: string;
24451
+ };
24452
+ };
24453
+ };
24454
+ /** @description Setting schema configuration for this flow */
24455
+ settingSchema: {
24456
+ [key: string]: {
24457
+ /** @description Title for UI/display */
24458
+ title: string;
24459
+ /** @description Description for UI/display */
24460
+ description: string;
24461
+ /**
24462
+ * @description Semantic type of the setting value
24463
+ * @enum {string}
24464
+ */
24465
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24466
+ /** @description Optional JSONB filter for available values */
24467
+ filter?: string;
24468
+ };
24469
+ };
24470
+ }[];
24471
+ pagination: {
24472
+ /** @default 100 */
24473
+ limit: number;
24474
+ /** @default 1 */
24475
+ page: number;
24476
+ total: number;
24477
+ totalPage: number;
24478
+ nextPage?: number;
24479
+ };
24480
+ };
24481
+ };
24482
+ };
24483
+ /** @description Invalid input data */
24484
+ 400: {
24485
+ headers: {
24486
+ [name: string]: unknown;
24487
+ };
24488
+ content: {
24489
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24490
+ };
24491
+ };
24492
+ /** @description Authorization not provided */
24493
+ 401: {
24494
+ headers: {
24495
+ [name: string]: unknown;
24496
+ };
24497
+ content: {
24498
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24499
+ };
24500
+ };
24501
+ /** @description Insufficient access */
24502
+ 403: {
24503
+ headers: {
24504
+ [name: string]: unknown;
24505
+ };
24506
+ content: {
24507
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24508
+ };
24509
+ };
24510
+ /** @description Not found */
24511
+ 404: {
24512
+ headers: {
24513
+ [name: string]: unknown;
24514
+ };
24515
+ content: {
24516
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24517
+ };
24518
+ };
24519
+ /** @description Internal server error */
24520
+ 500: {
24521
+ headers: {
24522
+ [name: string]: unknown;
24523
+ };
24524
+ content: {
24525
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24526
+ };
24527
+ };
24528
+ };
24529
+ };
24530
+ getFlow: {
24531
+ parameters: {
24532
+ query?: never;
24533
+ header?: {
24534
+ "X-Team-Id"?: string;
24535
+ };
24536
+ path: {
24537
+ id: string;
24538
+ };
24539
+ cookie?: never;
24540
+ };
24541
+ requestBody?: never;
24542
+ responses: {
24543
+ /** @description Successful response */
24544
+ 200: {
24545
+ headers: {
24546
+ [name: string]: unknown;
24547
+ };
24548
+ content: {
24549
+ "application/json": {
24550
+ /** Format: uuid */
24551
+ id: string;
24552
+ title: string;
24553
+ app: {
24554
+ id: string;
24555
+ name: string;
24556
+ icon?: string | null;
24557
+ };
24558
+ /** @description Mapping schema configuration for this flow */
24559
+ mappingSchema: {
24560
+ [key: string]: {
24561
+ /** @description Title for UI/display */
24562
+ title: string;
24563
+ /** @description Description for UI/display */
24564
+ description: string;
24565
+ /** @description Internal system mapping configuration */
24566
+ internal: {
24567
+ /**
24568
+ * @description Internal semantic type
24569
+ * @enum {string}
24570
+ */
24571
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24572
+ /** @description Optional JSONB filter for internal data */
24573
+ filter?: string;
24574
+ };
24575
+ /** @description External system mapping configuration */
24576
+ external: {
24577
+ /** @description External type identifier (vendor/system specific) */
24578
+ type: string;
24579
+ /** @description Optional JSONB filter for external data */
24580
+ filter?: string;
24581
+ };
24582
+ };
24583
+ };
24584
+ /** @description Setting schema configuration for this flow */
24585
+ settingSchema: {
24586
+ [key: string]: {
24587
+ /** @description Title for UI/display */
24588
+ title: string;
24589
+ /** @description Description for UI/display */
24590
+ description: string;
24591
+ /**
24592
+ * @description Semantic type of the setting value
24593
+ * @enum {string}
24594
+ */
24595
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24596
+ /** @description Optional JSONB filter for available values */
24597
+ filter?: string;
24598
+ };
24599
+ };
24600
+ };
24601
+ };
24602
+ };
24603
+ /** @description Invalid input data */
24604
+ 400: {
24605
+ headers: {
24606
+ [name: string]: unknown;
24607
+ };
24608
+ content: {
24609
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24610
+ };
24611
+ };
24612
+ /** @description Authorization not provided */
24613
+ 401: {
24614
+ headers: {
24615
+ [name: string]: unknown;
24616
+ };
24617
+ content: {
24618
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24619
+ };
24620
+ };
24621
+ /** @description Insufficient access */
24622
+ 403: {
24623
+ headers: {
24624
+ [name: string]: unknown;
24625
+ };
24626
+ content: {
24627
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24628
+ };
24629
+ };
24630
+ /** @description Not found */
24631
+ 404: {
24632
+ headers: {
24633
+ [name: string]: unknown;
24634
+ };
24635
+ content: {
24636
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24637
+ };
24638
+ };
24639
+ /** @description Internal server error */
24640
+ 500: {
24641
+ headers: {
24642
+ [name: string]: unknown;
24643
+ };
24644
+ content: {
24645
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24646
+ };
24647
+ };
24648
+ };
24649
+ };
24355
24650
  }