@vrplatform/api 1.3.1-stage.2514 → 1.3.1-stage.2518

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.
@@ -748,6 +748,58 @@ export interface paths {
748
748
  patch: operations["patchContactsByIdRevokeAccess"];
749
749
  trace?: never;
750
750
  };
751
+ "/contacts/{id}/viewers": {
752
+ parameters: {
753
+ query?: never;
754
+ header?: never;
755
+ path?: never;
756
+ cookie?: never;
757
+ };
758
+ /** @description List owner-viewer access for an owner contact */
759
+ get: operations["getContactsByIdViewers"];
760
+ put?: never;
761
+ /** @description Invite an owner viewer for an owner contact */
762
+ post: operations["postContactsByIdViewers"];
763
+ delete?: never;
764
+ options?: never;
765
+ head?: never;
766
+ patch?: never;
767
+ trace?: never;
768
+ };
769
+ "/contacts/{id}/viewers/{userId}": {
770
+ parameters: {
771
+ query?: never;
772
+ header?: never;
773
+ path?: never;
774
+ cookie?: never;
775
+ };
776
+ get?: never;
777
+ put?: never;
778
+ post?: never;
779
+ /** @description Remove an owner-viewer access row from an owner contact */
780
+ delete: operations["deleteContactsByIdViewersByUserId"];
781
+ options?: never;
782
+ head?: never;
783
+ patch?: never;
784
+ trace?: never;
785
+ };
786
+ "/contacts/{id}/viewers/{userId}/invite": {
787
+ parameters: {
788
+ query?: never;
789
+ header?: never;
790
+ path?: never;
791
+ cookie?: never;
792
+ };
793
+ get?: never;
794
+ put?: never;
795
+ post?: never;
796
+ delete?: never;
797
+ options?: never;
798
+ head?: never;
799
+ /** @description Reinvite an existing owner viewer */
800
+ patch: operations["patchContactsByIdViewersByUserIdInvite"];
801
+ trace?: never;
802
+ };
751
803
  "/csv/import": {
752
804
  parameters: {
753
805
  query?: never;
@@ -1253,6 +1305,23 @@ export interface paths {
1253
1305
  patch?: never;
1254
1306
  trace?: never;
1255
1307
  };
1308
+ "/members": {
1309
+ parameters: {
1310
+ query?: never;
1311
+ header?: never;
1312
+ path?: never;
1313
+ cookie?: never;
1314
+ };
1315
+ /** @description List property-managers for the current team */
1316
+ get: operations["getMembers"];
1317
+ put?: never;
1318
+ post?: never;
1319
+ delete?: never;
1320
+ options?: never;
1321
+ head?: never;
1322
+ patch?: never;
1323
+ trace?: never;
1324
+ };
1256
1325
  "/metrics/active-listings": {
1257
1326
  parameters: {
1258
1327
  query?: never;
@@ -12811,25 +12880,16 @@ export interface operations {
12811
12880
  };
12812
12881
  };
12813
12882
  };
12814
- csvImport: {
12883
+ getContactsByIdViewers: {
12815
12884
  parameters: {
12816
12885
  query?: never;
12817
12886
  header?: never;
12818
- path?: never;
12819
- cookie?: never;
12820
- };
12821
- requestBody?: {
12822
- content: {
12823
- "application/json": {
12824
- fileData?: string;
12825
- fileUri?: string;
12826
- fileName?: string;
12827
- connectionId: string;
12828
- uniqueRef: string;
12829
- params?: unknown;
12830
- };
12887
+ path: {
12888
+ id: string;
12831
12889
  };
12890
+ cookie?: never;
12832
12891
  };
12892
+ requestBody?: never;
12833
12893
  responses: {
12834
12894
  /** @description Successful response */
12835
12895
  200: {
@@ -12839,19 +12899,16 @@ export interface operations {
12839
12899
  content: {
12840
12900
  "application/json": {
12841
12901
  data: {
12842
- syncId: string;
12843
- /** @enum {string} */
12844
- status: "completed";
12845
- } | {
12902
+ /** Format: uuid */
12903
+ userId: string;
12904
+ email: string;
12905
+ firstName: string | null;
12906
+ lastName: string | null;
12846
12907
  /** @enum {string} */
12847
- status: "failed";
12848
- syncId: string;
12849
- error: string;
12850
- parseErrors?: {
12851
- rowNumber: number;
12852
- message: string;
12853
- }[];
12854
- };
12908
+ status: "active" | "inactive" | "unconfirmed";
12909
+ lastInvitedAt: string | null;
12910
+ lastSeen: string | null;
12911
+ }[];
12855
12912
  };
12856
12913
  };
12857
12914
  };
@@ -12937,18 +12994,24 @@ export interface operations {
12937
12994
  };
12938
12995
  };
12939
12996
  };
12940
- getFlows: {
12997
+ postContactsByIdViewers: {
12941
12998
  parameters: {
12942
- query?: {
12943
- appId?: string;
12944
- limit?: number;
12945
- page?: number;
12946
- };
12999
+ query?: never;
12947
13000
  header?: never;
12948
- path?: never;
13001
+ path: {
13002
+ id: string;
13003
+ };
12949
13004
  cookie?: never;
12950
13005
  };
12951
- requestBody?: never;
13006
+ requestBody?: {
13007
+ content: {
13008
+ "application/json": {
13009
+ email: string;
13010
+ /** @default true */
13011
+ sendEmail?: boolean;
13012
+ };
13013
+ };
13014
+ };
12952
13015
  responses: {
12953
13016
  /** @description Successful response */
12954
13017
  200: {
@@ -12957,77 +13020,17 @@ export interface operations {
12957
13020
  };
12958
13021
  content: {
12959
13022
  "application/json": {
12960
- data: {
13023
+ url: string;
13024
+ viewer: {
12961
13025
  /** Format: uuid */
12962
- id: string;
12963
- title: string;
12964
- appId: string;
12965
- isPublic: boolean;
12966
- /** @default false */
12967
- useGlobalMapping: boolean;
12968
- description?: string | null;
12969
- /** @description Mapping schema configuration for this flow */
12970
- mappingSchema: {
12971
- [key: string]: {
12972
- /** @description Title for UI/display */
12973
- title: string;
12974
- /** @description Description for UI/display */
12975
- description: string;
12976
- /** @description Optional internal left-side semantic type for internal-keyed mappings */
12977
- type?: string;
12978
- /** @description Internal system mapping configuration */
12979
- internal?: {
12980
- /**
12981
- * @description Internal semantic type
12982
- * @enum {string}
12983
- */
12984
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
12985
- /** @description Optional JSONB filter for internal data */
12986
- filter?: string;
12987
- };
12988
- /** @description External system mapping configuration */
12989
- external?: {
12990
- /** @description External type identifier (vendor/system specific) */
12991
- type: string;
12992
- /** @description Optional JSONB filter for external data */
12993
- filter?: string;
12994
- };
12995
- };
12996
- };
12997
- /** @description Setting schema configuration for this flow */
12998
- settingSchema: {
12999
- [key: string]: {
13000
- /** @description Title for UI/display */
13001
- title: string;
13002
- /** @description Description for UI/display */
13003
- description: string;
13004
- /**
13005
- * @description Semantic type of the setting value
13006
- * @enum {string}
13007
- */
13008
- type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13009
- /** @description Optional JSONB filter for available values */
13010
- filter?: string;
13011
- /** @description External type identifier (vendor/system specific) for options */
13012
- external?: string;
13013
- };
13014
- };
13015
- /** @description Run schema configuration for this flow */
13016
- runSchema: {
13017
- /** @description Human readable description for date selection when triggering a run */
13018
- dateDescription?: string;
13019
- };
13026
+ userId: string;
13027
+ email: string;
13028
+ firstName: string | null;
13029
+ lastName: string | null;
13020
13030
  /** @enum {string} */
13021
- type?: "push" | "pull";
13022
- }[];
13023
- pagination: {
13024
- /** @default 100 */
13025
- limit: number;
13026
- /** @default 1 */
13027
- page: number;
13028
- total: number;
13029
- totalPage: number;
13030
- nextPage?: number;
13031
+ status: "active" | "inactive" | "unconfirmed";
13032
+ lastInvitedAt: string | null;
13033
+ lastSeen: string | null;
13031
13034
  };
13032
13035
  };
13033
13036
  };
@@ -13114,12 +13117,13 @@ export interface operations {
13114
13117
  };
13115
13118
  };
13116
13119
  };
13117
- getFlow: {
13120
+ deleteContactsByIdViewersByUserId: {
13118
13121
  parameters: {
13119
13122
  query?: never;
13120
13123
  header?: never;
13121
13124
  path: {
13122
13125
  id: string;
13126
+ userId: string;
13123
13127
  };
13124
13128
  cookie?: never;
13125
13129
  };
@@ -13132,67 +13136,8 @@ export interface operations {
13132
13136
  };
13133
13137
  content: {
13134
13138
  "application/json": {
13135
- /** Format: uuid */
13136
- id: string;
13137
- title: string;
13138
- appId: string;
13139
- isPublic: boolean;
13140
- /** @default false */
13141
- useGlobalMapping: boolean;
13142
- description?: string | null;
13143
- /** @description Mapping schema configuration for this flow */
13144
- mappingSchema: {
13145
- [key: string]: {
13146
- /** @description Title for UI/display */
13147
- title: string;
13148
- /** @description Description for UI/display */
13149
- description: string;
13150
- /** @description Optional internal left-side semantic type for internal-keyed mappings */
13151
- type?: string;
13152
- /** @description Internal system mapping configuration */
13153
- internal?: {
13154
- /**
13155
- * @description Internal semantic type
13156
- * @enum {string}
13157
- */
13158
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13159
- /** @description Optional JSONB filter for internal data */
13160
- filter?: string;
13161
- };
13162
- /** @description External system mapping configuration */
13163
- external?: {
13164
- /** @description External type identifier (vendor/system specific) */
13165
- type: string;
13166
- /** @description Optional JSONB filter for external data */
13167
- filter?: string;
13168
- };
13169
- };
13170
- };
13171
- /** @description Setting schema configuration for this flow */
13172
- settingSchema: {
13173
- [key: string]: {
13174
- /** @description Title for UI/display */
13175
- title: string;
13176
- /** @description Description for UI/display */
13177
- description: string;
13178
- /**
13179
- * @description Semantic type of the setting value
13180
- * @enum {string}
13181
- */
13182
- type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13183
- /** @description Optional JSONB filter for available values */
13184
- filter?: string;
13185
- /** @description External type identifier (vendor/system specific) for options */
13186
- external?: string;
13187
- };
13188
- };
13189
- /** @description Run schema configuration for this flow */
13190
- runSchema: {
13191
- /** @description Human readable description for date selection when triggering a run */
13192
- dateDescription?: string;
13193
- };
13194
- /** @enum {string} */
13195
- type?: "push" | "pull";
13139
+ /** @constant */
13140
+ status: "deleted";
13196
13141
  };
13197
13142
  };
13198
13143
  };
@@ -13278,23 +13223,613 @@ export interface operations {
13278
13223
  };
13279
13224
  };
13280
13225
  };
13281
- getFlowConnection: {
13226
+ patchContactsByIdViewersByUserIdInvite: {
13282
13227
  parameters: {
13283
13228
  query?: never;
13284
13229
  header?: never;
13285
13230
  path: {
13286
13231
  id: string;
13287
- connectionId: string;
13232
+ userId: string;
13288
13233
  };
13289
13234
  cookie?: never;
13290
13235
  };
13291
- requestBody?: never;
13292
- responses: {
13293
- /** @description Successful response */
13294
- 200: {
13295
- headers: {
13296
- [name: string]: unknown;
13297
- };
13236
+ requestBody?: {
13237
+ content: {
13238
+ "application/json": {
13239
+ /** @default true */
13240
+ sendEmail?: boolean;
13241
+ };
13242
+ };
13243
+ };
13244
+ responses: {
13245
+ /** @description Successful response */
13246
+ 200: {
13247
+ headers: {
13248
+ [name: string]: unknown;
13249
+ };
13250
+ content: {
13251
+ "application/json": {
13252
+ url: string;
13253
+ viewer: {
13254
+ /** Format: uuid */
13255
+ userId: string;
13256
+ email: string;
13257
+ firstName: string | null;
13258
+ lastName: string | null;
13259
+ /** @enum {string} */
13260
+ status: "active" | "inactive" | "unconfirmed";
13261
+ lastInvitedAt: string | null;
13262
+ lastSeen: string | null;
13263
+ };
13264
+ };
13265
+ };
13266
+ };
13267
+ /** @description Bad request */
13268
+ 400: {
13269
+ headers: {
13270
+ [name: string]: unknown;
13271
+ };
13272
+ content: {
13273
+ "application/json": {
13274
+ code: string;
13275
+ message: string;
13276
+ issues?: {
13277
+ message: string;
13278
+ }[];
13279
+ context?: unknown;
13280
+ };
13281
+ };
13282
+ };
13283
+ /** @description Unauthorized */
13284
+ 401: {
13285
+ headers: {
13286
+ [name: string]: unknown;
13287
+ };
13288
+ content: {
13289
+ "application/json": {
13290
+ code: string;
13291
+ message: string;
13292
+ issues?: {
13293
+ message: string;
13294
+ }[];
13295
+ context?: unknown;
13296
+ };
13297
+ };
13298
+ };
13299
+ /** @description Forbidden */
13300
+ 403: {
13301
+ headers: {
13302
+ [name: string]: unknown;
13303
+ };
13304
+ content: {
13305
+ "application/json": {
13306
+ code: string;
13307
+ message: string;
13308
+ issues?: {
13309
+ message: string;
13310
+ }[];
13311
+ context?: unknown;
13312
+ };
13313
+ };
13314
+ };
13315
+ /** @description Not found */
13316
+ 404: {
13317
+ headers: {
13318
+ [name: string]: unknown;
13319
+ };
13320
+ content: {
13321
+ "application/json": {
13322
+ code: string;
13323
+ message: string;
13324
+ issues?: {
13325
+ message: string;
13326
+ }[];
13327
+ context?: unknown;
13328
+ };
13329
+ };
13330
+ };
13331
+ /** @description Internal server error */
13332
+ 500: {
13333
+ headers: {
13334
+ [name: string]: unknown;
13335
+ };
13336
+ content: {
13337
+ "application/json": {
13338
+ code: string;
13339
+ message: string;
13340
+ issues?: {
13341
+ message: string;
13342
+ }[];
13343
+ context?: unknown;
13344
+ };
13345
+ };
13346
+ };
13347
+ };
13348
+ };
13349
+ csvImport: {
13350
+ parameters: {
13351
+ query?: never;
13352
+ header?: never;
13353
+ path?: never;
13354
+ cookie?: never;
13355
+ };
13356
+ requestBody?: {
13357
+ content: {
13358
+ "application/json": {
13359
+ fileData?: string;
13360
+ fileUri?: string;
13361
+ fileName?: string;
13362
+ connectionId: string;
13363
+ uniqueRef: string;
13364
+ params?: unknown;
13365
+ };
13366
+ };
13367
+ };
13368
+ responses: {
13369
+ /** @description Successful response */
13370
+ 200: {
13371
+ headers: {
13372
+ [name: string]: unknown;
13373
+ };
13374
+ content: {
13375
+ "application/json": {
13376
+ data: {
13377
+ syncId: string;
13378
+ /** @enum {string} */
13379
+ status: "completed";
13380
+ } | {
13381
+ /** @enum {string} */
13382
+ status: "failed";
13383
+ syncId: string;
13384
+ error: string;
13385
+ parseErrors?: {
13386
+ rowNumber: number;
13387
+ message: string;
13388
+ }[];
13389
+ };
13390
+ };
13391
+ };
13392
+ };
13393
+ /** @description Bad request */
13394
+ 400: {
13395
+ headers: {
13396
+ [name: string]: unknown;
13397
+ };
13398
+ content: {
13399
+ "application/json": {
13400
+ code: string;
13401
+ message: string;
13402
+ issues?: {
13403
+ message: string;
13404
+ }[];
13405
+ context?: unknown;
13406
+ };
13407
+ };
13408
+ };
13409
+ /** @description Unauthorized */
13410
+ 401: {
13411
+ headers: {
13412
+ [name: string]: unknown;
13413
+ };
13414
+ content: {
13415
+ "application/json": {
13416
+ code: string;
13417
+ message: string;
13418
+ issues?: {
13419
+ message: string;
13420
+ }[];
13421
+ context?: unknown;
13422
+ };
13423
+ };
13424
+ };
13425
+ /** @description Forbidden */
13426
+ 403: {
13427
+ headers: {
13428
+ [name: string]: unknown;
13429
+ };
13430
+ content: {
13431
+ "application/json": {
13432
+ code: string;
13433
+ message: string;
13434
+ issues?: {
13435
+ message: string;
13436
+ }[];
13437
+ context?: unknown;
13438
+ };
13439
+ };
13440
+ };
13441
+ /** @description Not found */
13442
+ 404: {
13443
+ headers: {
13444
+ [name: string]: unknown;
13445
+ };
13446
+ content: {
13447
+ "application/json": {
13448
+ code: string;
13449
+ message: string;
13450
+ issues?: {
13451
+ message: string;
13452
+ }[];
13453
+ context?: unknown;
13454
+ };
13455
+ };
13456
+ };
13457
+ /** @description Internal server error */
13458
+ 500: {
13459
+ headers: {
13460
+ [name: string]: unknown;
13461
+ };
13462
+ content: {
13463
+ "application/json": {
13464
+ code: string;
13465
+ message: string;
13466
+ issues?: {
13467
+ message: string;
13468
+ }[];
13469
+ context?: unknown;
13470
+ };
13471
+ };
13472
+ };
13473
+ };
13474
+ };
13475
+ getFlows: {
13476
+ parameters: {
13477
+ query?: {
13478
+ appId?: string;
13479
+ limit?: number;
13480
+ page?: number;
13481
+ };
13482
+ header?: never;
13483
+ path?: never;
13484
+ cookie?: never;
13485
+ };
13486
+ requestBody?: never;
13487
+ responses: {
13488
+ /** @description Successful response */
13489
+ 200: {
13490
+ headers: {
13491
+ [name: string]: unknown;
13492
+ };
13493
+ content: {
13494
+ "application/json": {
13495
+ data: {
13496
+ /** Format: uuid */
13497
+ id: string;
13498
+ title: string;
13499
+ appId: string;
13500
+ isPublic: boolean;
13501
+ /** @default false */
13502
+ useGlobalMapping: boolean;
13503
+ description?: string | null;
13504
+ /** @description Mapping schema configuration for this flow */
13505
+ mappingSchema: {
13506
+ [key: string]: {
13507
+ /** @description Title for UI/display */
13508
+ title: string;
13509
+ /** @description Description for UI/display */
13510
+ description: string;
13511
+ /** @description Optional internal left-side semantic type for internal-keyed mappings */
13512
+ type?: string;
13513
+ /** @description Internal system mapping configuration */
13514
+ internal?: {
13515
+ /**
13516
+ * @description Internal semantic type
13517
+ * @enum {string}
13518
+ */
13519
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13520
+ /** @description Optional JSONB filter for internal data */
13521
+ filter?: string;
13522
+ };
13523
+ /** @description External system mapping configuration */
13524
+ external?: {
13525
+ /** @description External type identifier (vendor/system specific) */
13526
+ type: string;
13527
+ /** @description Optional JSONB filter for external data */
13528
+ filter?: string;
13529
+ };
13530
+ };
13531
+ };
13532
+ /** @description Setting schema configuration for this flow */
13533
+ settingSchema: {
13534
+ [key: string]: {
13535
+ /** @description Title for UI/display */
13536
+ title: string;
13537
+ /** @description Description for UI/display */
13538
+ description: string;
13539
+ /**
13540
+ * @description Semantic type of the setting value
13541
+ * @enum {string}
13542
+ */
13543
+ type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13544
+ /** @description Optional JSONB filter for available values */
13545
+ filter?: string;
13546
+ /** @description External type identifier (vendor/system specific) for options */
13547
+ external?: string;
13548
+ };
13549
+ };
13550
+ /** @description Run schema configuration for this flow */
13551
+ runSchema: {
13552
+ /** @description Human readable description for date selection when triggering a run */
13553
+ dateDescription?: string;
13554
+ };
13555
+ /** @enum {string} */
13556
+ type?: "push" | "pull";
13557
+ }[];
13558
+ pagination: {
13559
+ /** @default 100 */
13560
+ limit: number;
13561
+ /** @default 1 */
13562
+ page: number;
13563
+ total: number;
13564
+ totalPage: number;
13565
+ nextPage?: number;
13566
+ };
13567
+ };
13568
+ };
13569
+ };
13570
+ /** @description Bad request */
13571
+ 400: {
13572
+ headers: {
13573
+ [name: string]: unknown;
13574
+ };
13575
+ content: {
13576
+ "application/json": {
13577
+ code: string;
13578
+ message: string;
13579
+ issues?: {
13580
+ message: string;
13581
+ }[];
13582
+ context?: unknown;
13583
+ };
13584
+ };
13585
+ };
13586
+ /** @description Unauthorized */
13587
+ 401: {
13588
+ headers: {
13589
+ [name: string]: unknown;
13590
+ };
13591
+ content: {
13592
+ "application/json": {
13593
+ code: string;
13594
+ message: string;
13595
+ issues?: {
13596
+ message: string;
13597
+ }[];
13598
+ context?: unknown;
13599
+ };
13600
+ };
13601
+ };
13602
+ /** @description Forbidden */
13603
+ 403: {
13604
+ headers: {
13605
+ [name: string]: unknown;
13606
+ };
13607
+ content: {
13608
+ "application/json": {
13609
+ code: string;
13610
+ message: string;
13611
+ issues?: {
13612
+ message: string;
13613
+ }[];
13614
+ context?: unknown;
13615
+ };
13616
+ };
13617
+ };
13618
+ /** @description Not found */
13619
+ 404: {
13620
+ headers: {
13621
+ [name: string]: unknown;
13622
+ };
13623
+ content: {
13624
+ "application/json": {
13625
+ code: string;
13626
+ message: string;
13627
+ issues?: {
13628
+ message: string;
13629
+ }[];
13630
+ context?: unknown;
13631
+ };
13632
+ };
13633
+ };
13634
+ /** @description Internal server error */
13635
+ 500: {
13636
+ headers: {
13637
+ [name: string]: unknown;
13638
+ };
13639
+ content: {
13640
+ "application/json": {
13641
+ code: string;
13642
+ message: string;
13643
+ issues?: {
13644
+ message: string;
13645
+ }[];
13646
+ context?: unknown;
13647
+ };
13648
+ };
13649
+ };
13650
+ };
13651
+ };
13652
+ getFlow: {
13653
+ parameters: {
13654
+ query?: never;
13655
+ header?: never;
13656
+ path: {
13657
+ id: string;
13658
+ };
13659
+ cookie?: never;
13660
+ };
13661
+ requestBody?: never;
13662
+ responses: {
13663
+ /** @description Successful response */
13664
+ 200: {
13665
+ headers: {
13666
+ [name: string]: unknown;
13667
+ };
13668
+ content: {
13669
+ "application/json": {
13670
+ /** Format: uuid */
13671
+ id: string;
13672
+ title: string;
13673
+ appId: string;
13674
+ isPublic: boolean;
13675
+ /** @default false */
13676
+ useGlobalMapping: boolean;
13677
+ description?: string | null;
13678
+ /** @description Mapping schema configuration for this flow */
13679
+ mappingSchema: {
13680
+ [key: string]: {
13681
+ /** @description Title for UI/display */
13682
+ title: string;
13683
+ /** @description Description for UI/display */
13684
+ description: string;
13685
+ /** @description Optional internal left-side semantic type for internal-keyed mappings */
13686
+ type?: string;
13687
+ /** @description Internal system mapping configuration */
13688
+ internal?: {
13689
+ /**
13690
+ * @description Internal semantic type
13691
+ * @enum {string}
13692
+ */
13693
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13694
+ /** @description Optional JSONB filter for internal data */
13695
+ filter?: string;
13696
+ };
13697
+ /** @description External system mapping configuration */
13698
+ external?: {
13699
+ /** @description External type identifier (vendor/system specific) */
13700
+ type: string;
13701
+ /** @description Optional JSONB filter for external data */
13702
+ filter?: string;
13703
+ };
13704
+ };
13705
+ };
13706
+ /** @description Setting schema configuration for this flow */
13707
+ settingSchema: {
13708
+ [key: string]: {
13709
+ /** @description Title for UI/display */
13710
+ title: string;
13711
+ /** @description Description for UI/display */
13712
+ description: string;
13713
+ /**
13714
+ * @description Semantic type of the setting value
13715
+ * @enum {string}
13716
+ */
13717
+ type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13718
+ /** @description Optional JSONB filter for available values */
13719
+ filter?: string;
13720
+ /** @description External type identifier (vendor/system specific) for options */
13721
+ external?: string;
13722
+ };
13723
+ };
13724
+ /** @description Run schema configuration for this flow */
13725
+ runSchema: {
13726
+ /** @description Human readable description for date selection when triggering a run */
13727
+ dateDescription?: string;
13728
+ };
13729
+ /** @enum {string} */
13730
+ type?: "push" | "pull";
13731
+ };
13732
+ };
13733
+ };
13734
+ /** @description Bad request */
13735
+ 400: {
13736
+ headers: {
13737
+ [name: string]: unknown;
13738
+ };
13739
+ content: {
13740
+ "application/json": {
13741
+ code: string;
13742
+ message: string;
13743
+ issues?: {
13744
+ message: string;
13745
+ }[];
13746
+ context?: unknown;
13747
+ };
13748
+ };
13749
+ };
13750
+ /** @description Unauthorized */
13751
+ 401: {
13752
+ headers: {
13753
+ [name: string]: unknown;
13754
+ };
13755
+ content: {
13756
+ "application/json": {
13757
+ code: string;
13758
+ message: string;
13759
+ issues?: {
13760
+ message: string;
13761
+ }[];
13762
+ context?: unknown;
13763
+ };
13764
+ };
13765
+ };
13766
+ /** @description Forbidden */
13767
+ 403: {
13768
+ headers: {
13769
+ [name: string]: unknown;
13770
+ };
13771
+ content: {
13772
+ "application/json": {
13773
+ code: string;
13774
+ message: string;
13775
+ issues?: {
13776
+ message: string;
13777
+ }[];
13778
+ context?: unknown;
13779
+ };
13780
+ };
13781
+ };
13782
+ /** @description Not found */
13783
+ 404: {
13784
+ headers: {
13785
+ [name: string]: unknown;
13786
+ };
13787
+ content: {
13788
+ "application/json": {
13789
+ code: string;
13790
+ message: string;
13791
+ issues?: {
13792
+ message: string;
13793
+ }[];
13794
+ context?: unknown;
13795
+ };
13796
+ };
13797
+ };
13798
+ /** @description Internal server error */
13799
+ 500: {
13800
+ headers: {
13801
+ [name: string]: unknown;
13802
+ };
13803
+ content: {
13804
+ "application/json": {
13805
+ code: string;
13806
+ message: string;
13807
+ issues?: {
13808
+ message: string;
13809
+ }[];
13810
+ context?: unknown;
13811
+ };
13812
+ };
13813
+ };
13814
+ };
13815
+ };
13816
+ getFlowConnection: {
13817
+ parameters: {
13818
+ query?: never;
13819
+ header?: never;
13820
+ path: {
13821
+ id: string;
13822
+ connectionId: string;
13823
+ };
13824
+ cookie?: never;
13825
+ };
13826
+ requestBody?: never;
13827
+ responses: {
13828
+ /** @description Successful response */
13829
+ 200: {
13830
+ headers: {
13831
+ [name: string]: unknown;
13832
+ };
13298
13833
  content: {
13299
13834
  "application/json": {
13300
13835
  /** Format: uuid */
@@ -18539,6 +19074,8 @@ export interface operations {
18539
19074
  ownerId?: string;
18540
19075
  /** Format: uuid */
18541
19076
  teamId: string;
19077
+ /** @enum {string} */
19078
+ role: "admin" | "viewer";
18542
19079
  }[];
18543
19080
  teamAccess: {
18544
19081
  /** Format: uuid */
@@ -18640,6 +19177,122 @@ export interface operations {
18640
19177
  };
18641
19178
  };
18642
19179
  };
19180
+ getMembers: {
19181
+ parameters: {
19182
+ query?: never;
19183
+ header?: never;
19184
+ path?: never;
19185
+ cookie?: never;
19186
+ };
19187
+ requestBody?: never;
19188
+ responses: {
19189
+ /** @description Successful response */
19190
+ 200: {
19191
+ headers: {
19192
+ [name: string]: unknown;
19193
+ };
19194
+ content: {
19195
+ "application/json": {
19196
+ data: {
19197
+ /** Format: uuid */
19198
+ id: string;
19199
+ /** Format: uuid */
19200
+ userId: string;
19201
+ /** Format: uuid */
19202
+ tenantId: string;
19203
+ /** Format: email */
19204
+ email: string;
19205
+ role: string;
19206
+ status?: string | null;
19207
+ name?: string | null;
19208
+ firstName?: string | null;
19209
+ lastName?: string | null;
19210
+ }[];
19211
+ };
19212
+ };
19213
+ };
19214
+ /** @description Bad request */
19215
+ 400: {
19216
+ headers: {
19217
+ [name: string]: unknown;
19218
+ };
19219
+ content: {
19220
+ "application/json": {
19221
+ code: string;
19222
+ message: string;
19223
+ issues?: {
19224
+ message: string;
19225
+ }[];
19226
+ context?: unknown;
19227
+ };
19228
+ };
19229
+ };
19230
+ /** @description Unauthorized */
19231
+ 401: {
19232
+ headers: {
19233
+ [name: string]: unknown;
19234
+ };
19235
+ content: {
19236
+ "application/json": {
19237
+ code: string;
19238
+ message: string;
19239
+ issues?: {
19240
+ message: string;
19241
+ }[];
19242
+ context?: unknown;
19243
+ };
19244
+ };
19245
+ };
19246
+ /** @description Forbidden */
19247
+ 403: {
19248
+ headers: {
19249
+ [name: string]: unknown;
19250
+ };
19251
+ content: {
19252
+ "application/json": {
19253
+ code: string;
19254
+ message: string;
19255
+ issues?: {
19256
+ message: string;
19257
+ }[];
19258
+ context?: unknown;
19259
+ };
19260
+ };
19261
+ };
19262
+ /** @description Not found */
19263
+ 404: {
19264
+ headers: {
19265
+ [name: string]: unknown;
19266
+ };
19267
+ content: {
19268
+ "application/json": {
19269
+ code: string;
19270
+ message: string;
19271
+ issues?: {
19272
+ message: string;
19273
+ }[];
19274
+ context?: unknown;
19275
+ };
19276
+ };
19277
+ };
19278
+ /** @description Internal server error */
19279
+ 500: {
19280
+ headers: {
19281
+ [name: string]: unknown;
19282
+ };
19283
+ content: {
19284
+ "application/json": {
19285
+ code: string;
19286
+ message: string;
19287
+ issues?: {
19288
+ message: string;
19289
+ }[];
19290
+ context?: unknown;
19291
+ };
19292
+ };
19293
+ };
19294
+ };
19295
+ };
18643
19296
  getMetricActiveListings: {
18644
19297
  parameters: {
18645
19298
  query: {