@vrplatform/api 1.3.1-stage.4716 → 1.3.1-stage.4717

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.3.1-stage.4716",
6
+ "version": "1.3.1-stage.4717",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2628,6 +2628,27 @@ export interface paths {
2628
2628
  patch?: never;
2629
2629
  trace?: never;
2630
2630
  };
2631
+ "/partner/connections": {
2632
+ parameters: {
2633
+ query?: never;
2634
+ header?: never;
2635
+ path?: never;
2636
+ cookie?: never;
2637
+ };
2638
+ /**
2639
+ * @description List managed teams in one regional partition of the partner portfolio with active connections and current sync state. Supports team and company search, lifecycle, app, and connection error-state filters, pagination, and team ordering. Select the partition with x-data-region.
2640
+ *
2641
+ * Required scope: teams:read
2642
+ */
2643
+ get: operations["getPartnerConnections"];
2644
+ put?: never;
2645
+ post?: never;
2646
+ delete?: never;
2647
+ options?: never;
2648
+ head?: never;
2649
+ patch?: never;
2650
+ trace?: never;
2651
+ };
2631
2652
  "/partner/embed-sessions": {
2632
2653
  parameters: {
2633
2654
  query?: never;
@@ -42504,6 +42525,231 @@ export interface operations {
42504
42525
  };
42505
42526
  };
42506
42527
  };
42528
+ getPartnerConnections: {
42529
+ parameters: {
42530
+ query?: {
42531
+ /** @description Filter by team or company name */
42532
+ search?: string;
42533
+ status?: "active" | "inactive" | "onboarding";
42534
+ /** @description Filter teams with an active connection to this app */
42535
+ appId?: string;
42536
+ /** @description Filter teams by whether an active connection is in error */
42537
+ isErrorState?: boolean;
42538
+ /** @description Team field to sort by; defaults to createdAt */
42539
+ sortBy?: "name" | "createdAt";
42540
+ /** @description Sort direction; defaults to desc for createdAt and asc for name */
42541
+ sortDirection?: "asc" | "desc";
42542
+ limit?: number;
42543
+ page?: number;
42544
+ offset?: number;
42545
+ };
42546
+ header?: {
42547
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
42548
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
42549
+ };
42550
+ path?: never;
42551
+ cookie?: never;
42552
+ };
42553
+ requestBody?: never;
42554
+ responses: {
42555
+ /** @description Successful response */
42556
+ 200: {
42557
+ headers: {
42558
+ [name: string]: unknown;
42559
+ };
42560
+ content: {
42561
+ "application/json": {
42562
+ data: {
42563
+ /** Format: uuid */
42564
+ id: string;
42565
+ name: string;
42566
+ logo?: string;
42567
+ /**
42568
+ * Format: date-time
42569
+ * @description Timestamp string with date, time, milliseconds, and timezone.
42570
+ * @example 2024-01-15T12:30:00.000+00:00
42571
+ */
42572
+ createdAt: string;
42573
+ /** @enum {string} */
42574
+ status: "active" | "inactive";
42575
+ isOnboarding: boolean;
42576
+ connections: {
42577
+ /** Format: uuid */
42578
+ id: string;
42579
+ name: string;
42580
+ isErrorState: boolean;
42581
+ app: {
42582
+ id: string;
42583
+ name: string;
42584
+ icon: string | null;
42585
+ /** @enum {string} */
42586
+ category: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
42587
+ };
42588
+ currentSync: {
42589
+ /** @enum {string} */
42590
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
42591
+ /**
42592
+ * Format: date-time
42593
+ * @description Timestamp string with date, time, milliseconds, and timezone.
42594
+ * @example 2024-01-15T12:30:00.000+00:00
42595
+ */
42596
+ createdAt: string;
42597
+ /**
42598
+ * Format: date-time
42599
+ * @description Timestamp string with date, time, milliseconds, and timezone.
42600
+ * @example 2024-01-15T12:30:00.000+00:00
42601
+ */
42602
+ updatedAt: string;
42603
+ message?: string | null;
42604
+ } | null;
42605
+ }[];
42606
+ }[];
42607
+ pagination: {
42608
+ /** @default 100 */
42609
+ limit: number;
42610
+ /** @default 1 */
42611
+ page: number;
42612
+ total: number;
42613
+ totalPage: number;
42614
+ nextPage?: number;
42615
+ };
42616
+ };
42617
+ };
42618
+ };
42619
+ /** @description Bad request */
42620
+ 400: {
42621
+ headers: {
42622
+ [name: string]: unknown;
42623
+ };
42624
+ content: {
42625
+ "application/json": {
42626
+ code: string;
42627
+ message: string;
42628
+ links?: {
42629
+ docs: string;
42630
+ schema: string;
42631
+ };
42632
+ issues?: {
42633
+ message: string;
42634
+ path?: (string | number)[];
42635
+ schema?: string;
42636
+ }[];
42637
+ context?: unknown;
42638
+ };
42639
+ };
42640
+ };
42641
+ /** @description Unauthorized */
42642
+ 401: {
42643
+ headers: {
42644
+ [name: string]: unknown;
42645
+ };
42646
+ content: {
42647
+ "application/json": {
42648
+ code: string;
42649
+ message: string;
42650
+ links?: {
42651
+ docs: string;
42652
+ schema: string;
42653
+ };
42654
+ issues?: {
42655
+ message: string;
42656
+ path?: (string | number)[];
42657
+ schema?: string;
42658
+ }[];
42659
+ context?: unknown;
42660
+ };
42661
+ };
42662
+ };
42663
+ /** @description Forbidden */
42664
+ 403: {
42665
+ headers: {
42666
+ [name: string]: unknown;
42667
+ };
42668
+ content: {
42669
+ "application/json": {
42670
+ code: string;
42671
+ message: string;
42672
+ links?: {
42673
+ docs: string;
42674
+ schema: string;
42675
+ };
42676
+ issues?: {
42677
+ message: string;
42678
+ path?: (string | number)[];
42679
+ schema?: string;
42680
+ }[];
42681
+ context?: unknown;
42682
+ };
42683
+ };
42684
+ };
42685
+ /** @description Not found */
42686
+ 404: {
42687
+ headers: {
42688
+ [name: string]: unknown;
42689
+ };
42690
+ content: {
42691
+ "application/json": {
42692
+ code: string;
42693
+ message: string;
42694
+ links?: {
42695
+ docs: string;
42696
+ schema: string;
42697
+ };
42698
+ issues?: {
42699
+ message: string;
42700
+ path?: (string | number)[];
42701
+ schema?: string;
42702
+ }[];
42703
+ context?: unknown;
42704
+ };
42705
+ };
42706
+ };
42707
+ /** @description Internal server error */
42708
+ 500: {
42709
+ headers: {
42710
+ [name: string]: unknown;
42711
+ };
42712
+ content: {
42713
+ "application/json": {
42714
+ code: string;
42715
+ message: string;
42716
+ links?: {
42717
+ docs: string;
42718
+ schema: string;
42719
+ };
42720
+ issues?: {
42721
+ message: string;
42722
+ path?: (string | number)[];
42723
+ schema?: string;
42724
+ }[];
42725
+ context?: unknown;
42726
+ };
42727
+ };
42728
+ };
42729
+ /** @description Service unavailable */
42730
+ 503: {
42731
+ headers: {
42732
+ [name: string]: unknown;
42733
+ };
42734
+ content: {
42735
+ "application/json": {
42736
+ code: string;
42737
+ message: string;
42738
+ links?: {
42739
+ docs: string;
42740
+ schema: string;
42741
+ };
42742
+ issues?: {
42743
+ message: string;
42744
+ path?: (string | number)[];
42745
+ schema?: string;
42746
+ }[];
42747
+ context?: unknown;
42748
+ };
42749
+ };
42750
+ };
42751
+ };
42752
+ };
42507
42753
  createEmbedSession: {
42508
42754
  parameters: {
42509
42755
  query?: never;