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

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.
@@ -1726,6 +1726,40 @@ export interface paths {
1726
1726
  patch?: never;
1727
1727
  trace?: never;
1728
1728
  };
1729
+ "/flows": {
1730
+ parameters: {
1731
+ query?: never;
1732
+ header?: never;
1733
+ path?: never;
1734
+ cookie?: never;
1735
+ };
1736
+ /** @description List flows */
1737
+ get: operations["getFlows"];
1738
+ put?: never;
1739
+ post?: never;
1740
+ delete?: never;
1741
+ options?: never;
1742
+ head?: never;
1743
+ patch?: never;
1744
+ trace?: never;
1745
+ };
1746
+ "/flows/{id}": {
1747
+ parameters: {
1748
+ query?: never;
1749
+ header?: never;
1750
+ path?: never;
1751
+ cookie?: never;
1752
+ };
1753
+ /** @description Get flow by ID */
1754
+ get: operations["getFlow"];
1755
+ put?: never;
1756
+ post?: never;
1757
+ delete?: never;
1758
+ options?: never;
1759
+ head?: never;
1760
+ patch?: never;
1761
+ trace?: never;
1762
+ };
1729
1763
  }
1730
1764
  export type webhooks = Record<string, never>;
1731
1765
  export interface components {
@@ -6347,7 +6381,7 @@ export interface operations {
6347
6381
  data: {
6348
6382
  /** Format: uuid */
6349
6383
  listingId: string;
6350
- /** @default 2025-10-18 */
6384
+ /** @default 2025-10-20 */
6351
6385
  startAt: string;
6352
6386
  endAt?: string | null;
6353
6387
  setListingInactive?: boolean | null;
@@ -6429,7 +6463,7 @@ export interface operations {
6429
6463
  "application/json": {
6430
6464
  /** Format: uuid */
6431
6465
  listingId: string;
6432
- /** @default 2025-10-18 */
6466
+ /** @default 2025-10-20 */
6433
6467
  startAt?: string;
6434
6468
  endAt?: string | null;
6435
6469
  members: {
@@ -6463,7 +6497,7 @@ export interface operations {
6463
6497
  "application/json": {
6464
6498
  /** Format: uuid */
6465
6499
  listingId: string;
6466
- /** @default 2025-10-18 */
6500
+ /** @default 2025-10-20 */
6467
6501
  startAt: string;
6468
6502
  endAt?: string | null;
6469
6503
  setListingInactive?: boolean | null;
@@ -6543,7 +6577,7 @@ export interface operations {
6543
6577
  "application/json": {
6544
6578
  /** Format: uuid */
6545
6579
  listingId: string;
6546
- /** @default 2025-10-18 */
6580
+ /** @default 2025-10-20 */
6547
6581
  startAt: string;
6548
6582
  endAt?: string | null;
6549
6583
  setListingInactive?: boolean | null;
@@ -6626,7 +6660,7 @@ export interface operations {
6626
6660
  "application/json": {
6627
6661
  /** Format: uuid */
6628
6662
  listingId?: string;
6629
- /** @default 2025-10-18 */
6663
+ /** @default 2025-10-20 */
6630
6664
  startAt?: string;
6631
6665
  endAt?: string | null;
6632
6666
  members?: {
@@ -6660,7 +6694,7 @@ export interface operations {
6660
6694
  "application/json": {
6661
6695
  /** Format: uuid */
6662
6696
  listingId: string;
6663
- /** @default 2025-10-18 */
6697
+ /** @default 2025-10-20 */
6664
6698
  startAt: string;
6665
6699
  endAt?: string | null;
6666
6700
  setListingInactive?: boolean | null;
@@ -6846,7 +6880,7 @@ export interface operations {
6846
6880
  /** Format: uuid */
6847
6881
  sourceId?: string | null;
6848
6882
  initialOwnership?: {
6849
- /** @default 2025-10-18 */
6883
+ /** @default 2025-10-20 */
6850
6884
  startAt?: string;
6851
6885
  endAt?: string | null;
6852
6886
  members: {
@@ -6904,7 +6938,7 @@ export interface operations {
6904
6938
  status: "active" | "inactive";
6905
6939
  defaultCurrency?: string | null;
6906
6940
  activeOwnership?: {
6907
- /** @default 2025-10-18 */
6941
+ /** @default 2025-10-20 */
6908
6942
  startAt: string;
6909
6943
  endAt?: string | null;
6910
6944
  setListingInactive?: boolean | null;
@@ -7145,7 +7179,7 @@ export interface operations {
7145
7179
  status: "active" | "inactive";
7146
7180
  defaultCurrency?: string | null;
7147
7181
  activeOwnership?: {
7148
- /** @default 2025-10-18 */
7182
+ /** @default 2025-10-20 */
7149
7183
  startAt: string;
7150
7184
  endAt?: string | null;
7151
7185
  setListingInactive?: boolean | null;
@@ -7284,7 +7318,7 @@ export interface operations {
7284
7318
  /** Format: uuid */
7285
7319
  sourceId?: string | null;
7286
7320
  initialOwnership?: {
7287
- /** @default 2025-10-18 */
7321
+ /** @default 2025-10-20 */
7288
7322
  startAt?: string;
7289
7323
  endAt?: string | null;
7290
7324
  members: {
@@ -7338,7 +7372,7 @@ export interface operations {
7338
7372
  status: "active" | "inactive";
7339
7373
  defaultCurrency?: string | null;
7340
7374
  activeOwnership?: {
7341
- /** @default 2025-10-18 */
7375
+ /** @default 2025-10-20 */
7342
7376
  startAt: string;
7343
7377
  endAt?: string | null;
7344
7378
  setListingInactive?: boolean | null;
@@ -7555,7 +7589,7 @@ export interface operations {
7555
7589
  status: "active" | "inactive";
7556
7590
  defaultCurrency?: string | null;
7557
7591
  activeOwnership?: {
7558
- /** @default 2025-10-18 */
7592
+ /** @default 2025-10-20 */
7559
7593
  startAt: string;
7560
7594
  endAt?: string | null;
7561
7595
  setListingInactive?: boolean | null;
@@ -7702,7 +7736,7 @@ export interface operations {
7702
7736
  /** Format: uuid */
7703
7737
  sourceId?: string | null;
7704
7738
  initialOwnership?: {
7705
- /** @default 2025-10-18 */
7739
+ /** @default 2025-10-20 */
7706
7740
  startAt?: string;
7707
7741
  endAt?: string | null;
7708
7742
  members: {
@@ -7756,7 +7790,7 @@ export interface operations {
7756
7790
  status: "active" | "inactive";
7757
7791
  defaultCurrency?: string | null;
7758
7792
  activeOwnership?: {
7759
- /** @default 2025-10-18 */
7793
+ /** @default 2025-10-20 */
7760
7794
  startAt: string;
7761
7795
  endAt?: string | null;
7762
7796
  setListingInactive?: boolean | null;
@@ -24351,4 +24385,257 @@ export interface operations {
24351
24385
  };
24352
24386
  };
24353
24387
  };
24388
+ getFlows: {
24389
+ parameters: {
24390
+ query?: {
24391
+ appId?: string;
24392
+ limit?: number;
24393
+ page?: number;
24394
+ };
24395
+ header?: {
24396
+ "X-Team-Id"?: string;
24397
+ };
24398
+ path?: never;
24399
+ cookie?: never;
24400
+ };
24401
+ requestBody?: never;
24402
+ responses: {
24403
+ /** @description Successful response */
24404
+ 200: {
24405
+ headers: {
24406
+ [name: string]: unknown;
24407
+ };
24408
+ content: {
24409
+ "application/json": {
24410
+ data: {
24411
+ /** Format: uuid */
24412
+ id: string;
24413
+ title: string;
24414
+ app: {
24415
+ id: string;
24416
+ name: string;
24417
+ icon?: string | null;
24418
+ };
24419
+ /** @description Mapping schema configuration for this flow */
24420
+ mappingSchema: {
24421
+ [key: string]: {
24422
+ /** @description Title for UI/display */
24423
+ title: string;
24424
+ /** @description Description for UI/display */
24425
+ description: string;
24426
+ /** @description Internal system mapping configuration */
24427
+ internal: {
24428
+ /**
24429
+ * @description Internal semantic type
24430
+ * @enum {string}
24431
+ */
24432
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24433
+ /** @description Optional JSONB filter for internal data */
24434
+ filter?: string;
24435
+ };
24436
+ /** @description External system mapping configuration */
24437
+ external: {
24438
+ /** @description External type identifier (vendor/system specific) */
24439
+ type: string;
24440
+ /** @description Optional JSONB filter for external data */
24441
+ filter?: string;
24442
+ };
24443
+ };
24444
+ };
24445
+ /** @description Setting schema configuration for this flow */
24446
+ settingSchema: {
24447
+ [key: string]: {
24448
+ /** @description Title for UI/display */
24449
+ title: string;
24450
+ /** @description Description for UI/display */
24451
+ description: string;
24452
+ /**
24453
+ * @description Semantic type of the setting value
24454
+ * @enum {string}
24455
+ */
24456
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24457
+ /** @description Optional JSONB filter for available values */
24458
+ filter?: string;
24459
+ };
24460
+ };
24461
+ }[];
24462
+ pagination: {
24463
+ /** @default 100 */
24464
+ limit: number;
24465
+ /** @default 1 */
24466
+ page: number;
24467
+ total: number;
24468
+ totalPage: number;
24469
+ nextPage?: number;
24470
+ };
24471
+ };
24472
+ };
24473
+ };
24474
+ /** @description Invalid input data */
24475
+ 400: {
24476
+ headers: {
24477
+ [name: string]: unknown;
24478
+ };
24479
+ content: {
24480
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24481
+ };
24482
+ };
24483
+ /** @description Authorization not provided */
24484
+ 401: {
24485
+ headers: {
24486
+ [name: string]: unknown;
24487
+ };
24488
+ content: {
24489
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24490
+ };
24491
+ };
24492
+ /** @description Insufficient access */
24493
+ 403: {
24494
+ headers: {
24495
+ [name: string]: unknown;
24496
+ };
24497
+ content: {
24498
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24499
+ };
24500
+ };
24501
+ /** @description Not found */
24502
+ 404: {
24503
+ headers: {
24504
+ [name: string]: unknown;
24505
+ };
24506
+ content: {
24507
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24508
+ };
24509
+ };
24510
+ /** @description Internal server error */
24511
+ 500: {
24512
+ headers: {
24513
+ [name: string]: unknown;
24514
+ };
24515
+ content: {
24516
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24517
+ };
24518
+ };
24519
+ };
24520
+ };
24521
+ getFlow: {
24522
+ parameters: {
24523
+ query?: never;
24524
+ header?: {
24525
+ "X-Team-Id"?: string;
24526
+ };
24527
+ path: {
24528
+ id: string;
24529
+ };
24530
+ cookie?: never;
24531
+ };
24532
+ requestBody?: never;
24533
+ responses: {
24534
+ /** @description Successful response */
24535
+ 200: {
24536
+ headers: {
24537
+ [name: string]: unknown;
24538
+ };
24539
+ content: {
24540
+ "application/json": {
24541
+ /** Format: uuid */
24542
+ id: string;
24543
+ title: string;
24544
+ app: {
24545
+ id: string;
24546
+ name: string;
24547
+ icon?: string | null;
24548
+ };
24549
+ /** @description Mapping schema configuration for this flow */
24550
+ mappingSchema: {
24551
+ [key: string]: {
24552
+ /** @description Title for UI/display */
24553
+ title: string;
24554
+ /** @description Description for UI/display */
24555
+ description: string;
24556
+ /** @description Internal system mapping configuration */
24557
+ internal: {
24558
+ /**
24559
+ * @description Internal semantic type
24560
+ * @enum {string}
24561
+ */
24562
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24563
+ /** @description Optional JSONB filter for internal data */
24564
+ filter?: string;
24565
+ };
24566
+ /** @description External system mapping configuration */
24567
+ external: {
24568
+ /** @description External type identifier (vendor/system specific) */
24569
+ type: string;
24570
+ /** @description Optional JSONB filter for external data */
24571
+ filter?: string;
24572
+ };
24573
+ };
24574
+ };
24575
+ /** @description Setting schema configuration for this flow */
24576
+ settingSchema: {
24577
+ [key: string]: {
24578
+ /** @description Title for UI/display */
24579
+ title: string;
24580
+ /** @description Description for UI/display */
24581
+ description: string;
24582
+ /**
24583
+ * @description Semantic type of the setting value
24584
+ * @enum {string}
24585
+ */
24586
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24587
+ /** @description Optional JSONB filter for available values */
24588
+ filter?: string;
24589
+ };
24590
+ };
24591
+ };
24592
+ };
24593
+ };
24594
+ /** @description Invalid input data */
24595
+ 400: {
24596
+ headers: {
24597
+ [name: string]: unknown;
24598
+ };
24599
+ content: {
24600
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24601
+ };
24602
+ };
24603
+ /** @description Authorization not provided */
24604
+ 401: {
24605
+ headers: {
24606
+ [name: string]: unknown;
24607
+ };
24608
+ content: {
24609
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24610
+ };
24611
+ };
24612
+ /** @description Insufficient access */
24613
+ 403: {
24614
+ headers: {
24615
+ [name: string]: unknown;
24616
+ };
24617
+ content: {
24618
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24619
+ };
24620
+ };
24621
+ /** @description Not found */
24622
+ 404: {
24623
+ headers: {
24624
+ [name: string]: unknown;
24625
+ };
24626
+ content: {
24627
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24628
+ };
24629
+ };
24630
+ /** @description Internal server error */
24631
+ 500: {
24632
+ headers: {
24633
+ [name: string]: unknown;
24634
+ };
24635
+ content: {
24636
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24637
+ };
24638
+ };
24639
+ };
24640
+ };
24354
24641
  }