@vrplatform/api 1.3.0-stage.1120 → 1.3.0-stage.1126

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.
@@ -1896,8 +1896,7 @@ export interface paths {
1896
1896
  /** @description List flows */
1897
1897
  get: operations["getFlows"];
1898
1898
  put?: never;
1899
- /** @description Create a new flow */
1900
- post: operations["createFlow"];
1899
+ post?: never;
1901
1900
  delete?: never;
1902
1901
  options?: never;
1903
1902
  head?: never;
@@ -1913,11 +1912,9 @@ export interface paths {
1913
1912
  };
1914
1913
  /** @description Get flow by ID */
1915
1914
  get: operations["getFlow"];
1916
- /** @description Update flow by ID */
1917
- put: operations["updateFlow"];
1915
+ put?: never;
1918
1916
  post?: never;
1919
- /** @description Delete flow by ID */
1920
- delete: operations["deleteFlow"];
1917
+ delete?: never;
1921
1918
  options?: never;
1922
1919
  head?: never;
1923
1920
  patch?: never;
@@ -1958,41 +1955,6 @@ export interface paths {
1958
1955
  patch?: never;
1959
1956
  trace?: never;
1960
1957
  };
1961
- "/flows/{id}/{connectionId}/settings": {
1962
- parameters: {
1963
- query?: never;
1964
- header?: never;
1965
- path?: never;
1966
- cookie?: never;
1967
- };
1968
- /** @description List flow settings for a connection */
1969
- get: operations["getFlowSettings"];
1970
- put?: never;
1971
- post?: never;
1972
- delete?: never;
1973
- options?: never;
1974
- head?: never;
1975
- patch?: never;
1976
- trace?: never;
1977
- };
1978
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
1979
- parameters: {
1980
- query?: never;
1981
- header?: never;
1982
- path?: never;
1983
- cookie?: never;
1984
- };
1985
- /** @description List available values/options for a flow setting */
1986
- get: operations["listFlowSettingOptions"];
1987
- put?: never;
1988
- /** @description Create, update or delete a flow setting entry */
1989
- post: operations["setFlowSetting"];
1990
- delete?: never;
1991
- options?: never;
1992
- head?: never;
1993
- patch?: never;
1994
- trace?: never;
1995
- };
1996
1958
  "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1997
1959
  parameters: {
1998
1960
  query?: never;
@@ -2011,15 +1973,15 @@ export interface paths {
2011
1973
  patch?: never;
2012
1974
  trace?: never;
2013
1975
  };
2014
- "/flows/{id}/{connectionId}/mappings": {
1976
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
2015
1977
  parameters: {
2016
1978
  query?: never;
2017
1979
  header?: never;
2018
1980
  path?: never;
2019
1981
  cookie?: never;
2020
1982
  };
2021
- /** @description List flow mappings for a connection */
2022
- get: operations["getFlowMappings"];
1983
+ /** @description List available source entities for a flow mapping */
1984
+ get: operations["getFlowMappingSources"];
2023
1985
  put?: never;
2024
1986
  post?: never;
2025
1987
  delete?: never;
@@ -2028,15 +1990,15 @@ export interface paths {
2028
1990
  patch?: never;
2029
1991
  trace?: never;
2030
1992
  };
2031
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
1993
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2032
1994
  parameters: {
2033
1995
  query?: never;
2034
1996
  header?: never;
2035
1997
  path?: never;
2036
1998
  cookie?: never;
2037
1999
  };
2038
- /** @description List available source entities for a flow mapping */
2039
- get: operations["listFlowMappingSources"];
2000
+ /** @description List available destination entities for a flow mapping */
2001
+ get: operations["getFlowMappingDestinations"];
2040
2002
  put?: never;
2041
2003
  post?: never;
2042
2004
  delete?: never;
@@ -2045,17 +2007,18 @@ export interface paths {
2045
2007
  patch?: never;
2046
2008
  trace?: never;
2047
2009
  };
2048
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2010
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
2049
2011
  parameters: {
2050
2012
  query?: never;
2051
2013
  header?: never;
2052
2014
  path?: never;
2053
2015
  cookie?: never;
2054
2016
  };
2055
- /** @description List available destination entities for a flow mapping */
2056
- get: operations["listFlowMappingDestinations"];
2017
+ /** @description List available values/options for a flow setting */
2018
+ get: operations["getFlowSetting"];
2057
2019
  put?: never;
2058
- post?: never;
2020
+ /** @description Create, update or delete a flow setting entry */
2021
+ post: operations["setFlowSetting"];
2059
2022
  delete?: never;
2060
2023
  options?: never;
2061
2024
  head?: never;
@@ -2383,27 +2346,6 @@ export interface components {
2383
2346
  */
2384
2347
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2385
2348
  };
2386
- /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2387
- FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2388
- /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2389
- FlowSettingItemPost: {
2390
- /** Format: uuid */
2391
- id: string;
2392
- /** Format: uuid */
2393
- flowId: string;
2394
- /** Format: uuid */
2395
- connectionId: string;
2396
- settingKey: string;
2397
- title: string | null;
2398
- description: string | null;
2399
- /**
2400
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2401
- * @enum {string|null}
2402
- */
2403
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2404
- filter: string | null;
2405
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2406
- };
2407
2349
  /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2408
2350
  FlowMappingItemGet: {
2409
2351
  /** Format: uuid */
@@ -2454,6 +2396,27 @@ export interface components {
2454
2396
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2455
2397
  };
2456
2398
  };
2399
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2400
+ FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2401
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2402
+ FlowSettingItemPost: {
2403
+ /** Format: uuid */
2404
+ id: string;
2405
+ /** Format: uuid */
2406
+ flowId: string;
2407
+ /** Format: uuid */
2408
+ connectionId: string;
2409
+ settingKey: string;
2410
+ title: string | null;
2411
+ description: string | null;
2412
+ /**
2413
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2414
+ * @enum {string|null}
2415
+ */
2416
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2417
+ filter: string | null;
2418
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2419
+ };
2457
2420
  };
2458
2421
  responses: never;
2459
2422
  parameters: never;
@@ -4072,7 +4035,6 @@ export interface operations {
4072
4035
  /** @description Adjustments are manually added financial lines that are not part of the booking platform */
4073
4036
  adjustments?: {
4074
4037
  id?: string | null;
4075
- type?: string;
4076
4038
  description?: string | null;
4077
4039
  reservationRef?: string | null;
4078
4040
  /** @description Value in cents (100 = 1€) */
@@ -4082,6 +4044,7 @@ export interface operations {
4082
4044
  metadata?: {
4083
4045
  [key: string]: unknown;
4084
4046
  } | null;
4047
+ type?: string | null;
4085
4048
  /** Format: uuid */
4086
4049
  recurringFeeId?: string | null;
4087
4050
  /** @enum {string|null} */
@@ -4181,6 +4144,15 @@ export interface operations {
4181
4144
  /** @enum {string} */
4182
4145
  severity: "warning";
4183
4146
  context: Record<string, never>;
4147
+ } | {
4148
+ /** @enum {string} */
4149
+ code: "guestTotalsMismatch";
4150
+ /** @enum {string} */
4151
+ severity: "warning";
4152
+ context: {
4153
+ difference: number;
4154
+ };
4155
+ message: string;
4184
4156
  })[];
4185
4157
  connection?: {
4186
4158
  /** Format: uuid */
@@ -4325,13 +4297,13 @@ export interface operations {
4325
4297
  adjustments: {
4326
4298
  /** Format: uuid */
4327
4299
  id: string;
4328
- type?: string;
4329
4300
  description?: string | null;
4330
4301
  /** @description Value in cents (100 = 1€) */
4331
4302
  amount: number;
4332
4303
  metadata?: {
4333
4304
  [key: string]: unknown;
4334
4305
  } | null;
4306
+ type?: string | null;
4335
4307
  /** @enum {string|null} */
4336
4308
  party?: "owners" | "manager" | null;
4337
4309
  account?: {
@@ -4559,6 +4531,15 @@ export interface operations {
4559
4531
  /** @enum {string} */
4560
4532
  severity: "warning";
4561
4533
  context: Record<string, never>;
4534
+ } | {
4535
+ /** @enum {string} */
4536
+ code: "guestTotalsMismatch";
4537
+ /** @enum {string} */
4538
+ severity: "warning";
4539
+ context: {
4540
+ difference: number;
4541
+ };
4542
+ message: string;
4562
4543
  })[];
4563
4544
  connection?: {
4564
4545
  /** Format: uuid */
@@ -4703,13 +4684,13 @@ export interface operations {
4703
4684
  adjustments: {
4704
4685
  /** Format: uuid */
4705
4686
  id: string;
4706
- type?: string;
4707
4687
  description?: string | null;
4708
4688
  /** @description Value in cents (100 = 1€) */
4709
4689
  amount: number;
4710
4690
  metadata?: {
4711
4691
  [key: string]: unknown;
4712
4692
  } | null;
4693
+ type?: string | null;
4713
4694
  /** @enum {string|null} */
4714
4695
  party?: "owners" | "manager" | null;
4715
4696
  account?: {
@@ -4844,7 +4825,6 @@ export interface operations {
4844
4825
  adjustments?: {
4845
4826
  /** Format: uuid */
4846
4827
  id?: string | null;
4847
- type?: string;
4848
4828
  description?: string | null;
4849
4829
  reservationRef?: string | null;
4850
4830
  /** @description Value in cents (100 = 1€) */
@@ -4854,6 +4834,7 @@ export interface operations {
4854
4834
  metadata?: {
4855
4835
  [key: string]: unknown;
4856
4836
  } | null;
4837
+ type?: string | null;
4857
4838
  /** Format: uuid */
4858
4839
  recurringFeeId?: string | null;
4859
4840
  /** @enum {string|null} */
@@ -4899,7 +4880,6 @@ export interface operations {
4899
4880
  adjustments_create?: {
4900
4881
  /** Format: uuid */
4901
4882
  id?: string | null;
4902
- type?: string;
4903
4883
  description?: string | null;
4904
4884
  reservationRef?: string | null;
4905
4885
  /** @description Value in cents (100 = 1€) */
@@ -4909,6 +4889,7 @@ export interface operations {
4909
4889
  metadata?: {
4910
4890
  [key: string]: unknown;
4911
4891
  } | null;
4892
+ type?: string | null;
4912
4893
  /** Format: uuid */
4913
4894
  recurringFeeId?: string | null;
4914
4895
  /** @enum {string|null} */
@@ -4918,7 +4899,6 @@ export interface operations {
4918
4899
  adjustments_update?: {
4919
4900
  /** Format: uuid */
4920
4901
  id: string;
4921
- type?: string;
4922
4902
  description?: string | null;
4923
4903
  reservationRef?: string | null;
4924
4904
  /** @description Value in cents (100 = 1€) */
@@ -4928,6 +4908,7 @@ export interface operations {
4928
4908
  metadata?: {
4929
4909
  [key: string]: unknown;
4930
4910
  } | null;
4911
+ type?: string | null;
4931
4912
  /** Format: uuid */
4932
4913
  recurringFeeId?: string | null;
4933
4914
  /** @enum {string|null} */
@@ -5022,6 +5003,15 @@ export interface operations {
5022
5003
  /** @enum {string} */
5023
5004
  severity: "warning";
5024
5005
  context: Record<string, never>;
5006
+ } | {
5007
+ /** @enum {string} */
5008
+ code: "guestTotalsMismatch";
5009
+ /** @enum {string} */
5010
+ severity: "warning";
5011
+ context: {
5012
+ difference: number;
5013
+ };
5014
+ message: string;
5025
5015
  })[];
5026
5016
  connection?: {
5027
5017
  /** Format: uuid */
@@ -5166,13 +5156,13 @@ export interface operations {
5166
5156
  adjustments: {
5167
5157
  /** Format: uuid */
5168
5158
  id: string;
5169
- type?: string;
5170
5159
  description?: string | null;
5171
5160
  /** @description Value in cents (100 = 1€) */
5172
5161
  amount: number;
5173
5162
  metadata?: {
5174
5163
  [key: string]: unknown;
5175
5164
  } | null;
5165
+ type?: string | null;
5176
5166
  /** @enum {string|null} */
5177
5167
  party?: "owners" | "manager" | null;
5178
5168
  account?: {
@@ -5423,6 +5413,15 @@ export interface operations {
5423
5413
  /** @enum {string} */
5424
5414
  severity: "warning";
5425
5415
  context: Record<string, never>;
5416
+ } | {
5417
+ /** @enum {string} */
5418
+ code: "guestTotalsMismatch";
5419
+ /** @enum {string} */
5420
+ severity: "warning";
5421
+ context: {
5422
+ difference: number;
5423
+ };
5424
+ message: string;
5426
5425
  })[];
5427
5426
  connection?: {
5428
5427
  /** Format: uuid */
@@ -5604,7 +5603,6 @@ export interface operations {
5604
5603
  /** @description Adjustments are manually added financial lines that are not part of the booking platform */
5605
5604
  adjustments?: {
5606
5605
  id?: string | null;
5607
- type?: string;
5608
5606
  description?: string | null;
5609
5607
  reservationRef?: string | null;
5610
5608
  /** @description Value in cents (100 = 1€) */
@@ -5614,6 +5612,7 @@ export interface operations {
5614
5612
  metadata?: {
5615
5613
  [key: string]: unknown;
5616
5614
  } | null;
5615
+ type?: string | null;
5617
5616
  /** Format: uuid */
5618
5617
  recurringFeeId?: string | null;
5619
5618
  /** @enum {string|null} */
@@ -5706,6 +5705,15 @@ export interface operations {
5706
5705
  /** @enum {string} */
5707
5706
  severity: "warning";
5708
5707
  context: Record<string, never>;
5708
+ } | {
5709
+ /** @enum {string} */
5710
+ code: "guestTotalsMismatch";
5711
+ /** @enum {string} */
5712
+ severity: "warning";
5713
+ context: {
5714
+ difference: number;
5715
+ };
5716
+ message: string;
5709
5717
  })[];
5710
5718
  connection?: {
5711
5719
  /** Format: uuid */
@@ -5850,13 +5858,13 @@ export interface operations {
5850
5858
  adjustments: {
5851
5859
  /** Format: uuid */
5852
5860
  id: string;
5853
- type?: string;
5854
5861
  description?: string | null;
5855
5862
  /** @description Value in cents (100 = 1€) */
5856
5863
  amount: number;
5857
5864
  metadata?: {
5858
5865
  [key: string]: unknown;
5859
5866
  } | null;
5867
+ type?: string | null;
5860
5868
  /** @enum {string|null} */
5861
5869
  party?: "owners" | "manager" | null;
5862
5870
  account?: {
@@ -5938,7 +5946,7 @@ export interface operations {
5938
5946
  data: {
5939
5947
  /** Format: uuid */
5940
5948
  listingId: string;
5941
- /** @default 2025-11-20 */
5949
+ /** @default 2025-11-21 */
5942
5950
  startAt: string;
5943
5951
  endAt?: string | null;
5944
5952
  setListingInactive?: boolean | null;
@@ -6020,7 +6028,7 @@ export interface operations {
6020
6028
  "application/json": {
6021
6029
  /** Format: uuid */
6022
6030
  listingId: string;
6023
- /** @default 2025-11-20 */
6031
+ /** @default 2025-11-21 */
6024
6032
  startAt?: string;
6025
6033
  endAt?: string | null;
6026
6034
  members: {
@@ -6054,7 +6062,7 @@ export interface operations {
6054
6062
  "application/json": {
6055
6063
  /** Format: uuid */
6056
6064
  listingId: string;
6057
- /** @default 2025-11-20 */
6065
+ /** @default 2025-11-21 */
6058
6066
  startAt: string;
6059
6067
  endAt?: string | null;
6060
6068
  setListingInactive?: boolean | null;
@@ -6134,7 +6142,7 @@ export interface operations {
6134
6142
  "application/json": {
6135
6143
  /** Format: uuid */
6136
6144
  listingId: string;
6137
- /** @default 2025-11-20 */
6145
+ /** @default 2025-11-21 */
6138
6146
  startAt: string;
6139
6147
  endAt?: string | null;
6140
6148
  setListingInactive?: boolean | null;
@@ -6217,7 +6225,7 @@ export interface operations {
6217
6225
  "application/json": {
6218
6226
  /** Format: uuid */
6219
6227
  listingId?: string;
6220
- /** @default 2025-11-20 */
6228
+ /** @default 2025-11-21 */
6221
6229
  startAt?: string;
6222
6230
  endAt?: string | null;
6223
6231
  members?: {
@@ -6251,7 +6259,7 @@ export interface operations {
6251
6259
  "application/json": {
6252
6260
  /** Format: uuid */
6253
6261
  listingId: string;
6254
- /** @default 2025-11-20 */
6262
+ /** @default 2025-11-21 */
6255
6263
  startAt: string;
6256
6264
  endAt?: string | null;
6257
6265
  setListingInactive?: boolean | null;
@@ -6437,7 +6445,7 @@ export interface operations {
6437
6445
  /** Format: uuid */
6438
6446
  sourceId?: string | null;
6439
6447
  initialOwnership?: {
6440
- /** @default 2025-11-20 */
6448
+ /** @default 2025-11-21 */
6441
6449
  startAt?: string;
6442
6450
  endAt?: string | null;
6443
6451
  members: {
@@ -6495,7 +6503,7 @@ export interface operations {
6495
6503
  status: "active" | "inactive";
6496
6504
  defaultCurrency?: string | null;
6497
6505
  activeOwnership?: {
6498
- /** @default 2025-11-20 */
6506
+ /** @default 2025-11-21 */
6499
6507
  startAt: string;
6500
6508
  endAt?: string | null;
6501
6509
  setListingInactive?: boolean | null;
@@ -6736,7 +6744,7 @@ export interface operations {
6736
6744
  status: "active" | "inactive";
6737
6745
  defaultCurrency?: string | null;
6738
6746
  activeOwnership?: {
6739
- /** @default 2025-11-20 */
6747
+ /** @default 2025-11-21 */
6740
6748
  startAt: string;
6741
6749
  endAt?: string | null;
6742
6750
  setListingInactive?: boolean | null;
@@ -6875,7 +6883,7 @@ export interface operations {
6875
6883
  /** Format: uuid */
6876
6884
  sourceId?: string | null;
6877
6885
  initialOwnership?: {
6878
- /** @default 2025-11-20 */
6886
+ /** @default 2025-11-21 */
6879
6887
  startAt?: string;
6880
6888
  endAt?: string | null;
6881
6889
  members: {
@@ -6929,7 +6937,7 @@ export interface operations {
6929
6937
  status: "active" | "inactive";
6930
6938
  defaultCurrency?: string | null;
6931
6939
  activeOwnership?: {
6932
- /** @default 2025-11-20 */
6940
+ /** @default 2025-11-21 */
6933
6941
  startAt: string;
6934
6942
  endAt?: string | null;
6935
6943
  setListingInactive?: boolean | null;
@@ -7146,7 +7154,7 @@ export interface operations {
7146
7154
  status: "active" | "inactive";
7147
7155
  defaultCurrency?: string | null;
7148
7156
  activeOwnership?: {
7149
- /** @default 2025-11-20 */
7157
+ /** @default 2025-11-21 */
7150
7158
  startAt: string;
7151
7159
  endAt?: string | null;
7152
7160
  setListingInactive?: boolean | null;
@@ -7293,7 +7301,7 @@ export interface operations {
7293
7301
  /** Format: uuid */
7294
7302
  sourceId?: string | null;
7295
7303
  initialOwnership?: {
7296
- /** @default 2025-11-20 */
7304
+ /** @default 2025-11-21 */
7297
7305
  startAt?: string;
7298
7306
  endAt?: string | null;
7299
7307
  members: {
@@ -7347,7 +7355,7 @@ export interface operations {
7347
7355
  status: "active" | "inactive";
7348
7356
  defaultCurrency?: string | null;
7349
7357
  activeOwnership?: {
7350
- /** @default 2025-11-20 */
7358
+ /** @default 2025-11-21 */
7351
7359
  startAt: string;
7352
7360
  endAt?: string | null;
7353
7361
  setListingInactive?: boolean | null;
@@ -22549,8 +22557,12 @@ export interface operations {
22549
22557
  date?: string;
22550
22558
  amount?: string;
22551
22559
  isDateRangeEndInclusive?: boolean;
22560
+ /** @description comma separated reservation ids */
22552
22561
  reservationIds?: string;
22562
+ /** @description comma separated transaction ids */
22553
22563
  transactionIds?: string;
22564
+ /** @description comma separated owner statement ids */
22565
+ ownerStatementIds?: string;
22554
22566
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22555
22567
  currency?: string;
22556
22568
  /** @description listing ids comma separated or "unmapped" */
@@ -22693,8 +22705,12 @@ export interface operations {
22693
22705
  date?: string;
22694
22706
  amount?: string;
22695
22707
  isDateRangeEndInclusive?: boolean;
22708
+ /** @description comma separated reservation ids */
22696
22709
  reservationIds?: string;
22710
+ /** @description comma separated transaction ids */
22697
22711
  transactionIds?: string;
22712
+ /** @description comma separated owner statement ids */
22713
+ ownerStatementIds?: string;
22698
22714
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22699
22715
  currency?: string;
22700
22716
  /** @description listing ids comma separated or "unmapped" */
@@ -22995,8 +23011,12 @@ export interface operations {
22995
23011
  date?: string;
22996
23012
  amount?: string;
22997
23013
  isDateRangeEndInclusive?: boolean;
23014
+ /** @description comma separated reservation ids */
22998
23015
  reservationIds?: string;
23016
+ /** @description comma separated transaction ids */
22999
23017
  transactionIds?: string;
23018
+ /** @description comma separated owner statement ids */
23019
+ ownerStatementIds?: string;
23000
23020
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
23001
23021
  currency?: string;
23002
23022
  /** @description listing ids comma separated or "unmapped" */
@@ -23137,8 +23157,12 @@ export interface operations {
23137
23157
  date?: string;
23138
23158
  amount?: string;
23139
23159
  isDateRangeEndInclusive?: boolean;
23160
+ /** @description comma separated reservation ids */
23140
23161
  reservationIds?: string;
23162
+ /** @description comma separated transaction ids */
23141
23163
  transactionIds?: string;
23164
+ /** @description comma separated owner statement ids */
23165
+ ownerStatementIds?: string;
23142
23166
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
23143
23167
  currency?: string;
23144
23168
  /** @description listing ids comma separated or "unmapped" */
@@ -24228,119 +24252,6 @@ export interface operations {
24228
24252
  };
24229
24253
  };
24230
24254
  };
24231
- createFlow: {
24232
- parameters: {
24233
- query?: never;
24234
- header?: {
24235
- "X-Team-Id"?: string;
24236
- };
24237
- path?: never;
24238
- cookie?: never;
24239
- };
24240
- requestBody: {
24241
- content: {
24242
- "application/json": {
24243
- uniqueRef: string;
24244
- title: string;
24245
- appId: string;
24246
- description?: string | null;
24247
- /** @enum {string} */
24248
- type?: "push" | "pull";
24249
- /** @description Dictionary of mapping entries by mapping_key */
24250
- mappingSchema?: {
24251
- [key: string]: {
24252
- /** @description Title for UI/display */
24253
- title: string;
24254
- /** @description Description for UI/display */
24255
- description: string;
24256
- /** @description Internal system mapping configuration */
24257
- internal: {
24258
- /**
24259
- * @description Internal semantic type
24260
- * @enum {string}
24261
- */
24262
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24263
- /** @description Optional JSONB filter for internal data */
24264
- filter?: string;
24265
- };
24266
- /** @description External system mapping configuration */
24267
- external: {
24268
- /** @description External type identifier (vendor/system specific) */
24269
- type: string;
24270
- /** @description Optional JSONB filter for external data */
24271
- filter?: string;
24272
- };
24273
- };
24274
- };
24275
- /** @description Dictionary of setting entries by setting_key */
24276
- settingSchema?: {
24277
- [key: string]: {
24278
- /** @description Title for UI/display */
24279
- title: string;
24280
- /** @description Description for UI/display */
24281
- description: string;
24282
- /**
24283
- * @description Semantic type of the setting value
24284
- * @enum {string}
24285
- */
24286
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24287
- /** @description Optional JSONB filter for available values */
24288
- filter?: string;
24289
- };
24290
- };
24291
- };
24292
- };
24293
- };
24294
- responses: {
24295
- /** @description Successful response */
24296
- 200: {
24297
- headers: {
24298
- [name: string]: unknown;
24299
- };
24300
- content: {
24301
- "application/json": {
24302
- id: string;
24303
- };
24304
- };
24305
- };
24306
- /** @description Invalid input data */
24307
- 400: {
24308
- headers: {
24309
- [name: string]: unknown;
24310
- };
24311
- content: {
24312
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24313
- };
24314
- };
24315
- /** @description Authorization not provided */
24316
- 401: {
24317
- headers: {
24318
- [name: string]: unknown;
24319
- };
24320
- content: {
24321
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24322
- };
24323
- };
24324
- /** @description Insufficient access */
24325
- 403: {
24326
- headers: {
24327
- [name: string]: unknown;
24328
- };
24329
- content: {
24330
- "application/json": components["schemas"]["error.FORBIDDEN"];
24331
- };
24332
- };
24333
- /** @description Internal server error */
24334
- 500: {
24335
- headers: {
24336
- [name: string]: unknown;
24337
- };
24338
- content: {
24339
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24340
- };
24341
- };
24342
- };
24343
- };
24344
24255
  getFlow: {
24345
24256
  parameters: {
24346
24257
  query?: never;
@@ -24464,7 +24375,7 @@ export interface operations {
24464
24375
  };
24465
24376
  };
24466
24377
  };
24467
- updateFlow: {
24378
+ getFlowConnection: {
24468
24379
  parameters: {
24469
24380
  query?: never;
24470
24381
  header?: {
@@ -24472,254 +24383,7 @@ export interface operations {
24472
24383
  };
24473
24384
  path: {
24474
24385
  id: string;
24475
- };
24476
- cookie?: never;
24477
- };
24478
- requestBody: {
24479
- content: {
24480
- "application/json": {
24481
- title?: string;
24482
- appId?: string;
24483
- description?: string | null;
24484
- /** @description Dictionary of mapping entries by mapping_key */
24485
- mappingSchema?: {
24486
- [key: string]: {
24487
- /** @description Title for UI/display */
24488
- title: string;
24489
- /** @description Description for UI/display */
24490
- description: string;
24491
- /** @description Internal system mapping configuration */
24492
- internal: {
24493
- /**
24494
- * @description Internal semantic type
24495
- * @enum {string}
24496
- */
24497
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24498
- /** @description Optional JSONB filter for internal data */
24499
- filter?: string;
24500
- };
24501
- /** @description External system mapping configuration */
24502
- external: {
24503
- /** @description External type identifier (vendor/system specific) */
24504
- type: string;
24505
- /** @description Optional JSONB filter for external data */
24506
- filter?: string;
24507
- };
24508
- };
24509
- };
24510
- /** @description Dictionary of setting entries by setting_key */
24511
- settingSchema?: {
24512
- [key: string]: {
24513
- /** @description Title for UI/display */
24514
- title: string;
24515
- /** @description Description for UI/display */
24516
- description: string;
24517
- /**
24518
- * @description Semantic type of the setting value
24519
- * @enum {string}
24520
- */
24521
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24522
- /** @description Optional JSONB filter for available values */
24523
- filter?: string;
24524
- };
24525
- };
24526
- /** @enum {string} */
24527
- type?: "push" | "pull";
24528
- };
24529
- };
24530
- };
24531
- responses: {
24532
- /** @description Successful response */
24533
- 200: {
24534
- headers: {
24535
- [name: string]: unknown;
24536
- };
24537
- content: {
24538
- "application/json": {
24539
- /** Format: uuid */
24540
- id: string;
24541
- title: string;
24542
- app: {
24543
- id: string;
24544
- name: string;
24545
- icon?: string | null;
24546
- };
24547
- description?: string | null;
24548
- /** @description Mapping schema configuration for this flow */
24549
- mappingSchema: {
24550
- [key: string]: {
24551
- /** @description Title for UI/display */
24552
- title: string;
24553
- /** @description Description for UI/display */
24554
- description: string;
24555
- /** @description Internal system mapping configuration */
24556
- internal: {
24557
- /**
24558
- * @description Internal semantic type
24559
- * @enum {string}
24560
- */
24561
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24562
- /** @description Optional JSONB filter for internal data */
24563
- filter?: string;
24564
- };
24565
- /** @description External system mapping configuration */
24566
- external: {
24567
- /** @description External type identifier (vendor/system specific) */
24568
- type: string;
24569
- /** @description Optional JSONB filter for external data */
24570
- filter?: string;
24571
- };
24572
- };
24573
- };
24574
- /** @description Setting schema configuration for this flow */
24575
- settingSchema: {
24576
- [key: string]: {
24577
- /** @description Title for UI/display */
24578
- title: string;
24579
- /** @description Description for UI/display */
24580
- description: string;
24581
- /**
24582
- * @description Semantic type of the setting value
24583
- * @enum {string}
24584
- */
24585
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24586
- /** @description Optional JSONB filter for available values */
24587
- filter?: string;
24588
- };
24589
- };
24590
- /** @enum {string} */
24591
- type?: "push" | "pull";
24592
- };
24593
- };
24594
- };
24595
- /** @description Invalid input data */
24596
- 400: {
24597
- headers: {
24598
- [name: string]: unknown;
24599
- };
24600
- content: {
24601
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24602
- };
24603
- };
24604
- /** @description Authorization not provided */
24605
- 401: {
24606
- headers: {
24607
- [name: string]: unknown;
24608
- };
24609
- content: {
24610
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24611
- };
24612
- };
24613
- /** @description Insufficient access */
24614
- 403: {
24615
- headers: {
24616
- [name: string]: unknown;
24617
- };
24618
- content: {
24619
- "application/json": components["schemas"]["error.FORBIDDEN"];
24620
- };
24621
- };
24622
- /** @description Not found */
24623
- 404: {
24624
- headers: {
24625
- [name: string]: unknown;
24626
- };
24627
- content: {
24628
- "application/json": components["schemas"]["error.NOT_FOUND"];
24629
- };
24630
- };
24631
- /** @description Internal server error */
24632
- 500: {
24633
- headers: {
24634
- [name: string]: unknown;
24635
- };
24636
- content: {
24637
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24638
- };
24639
- };
24640
- };
24641
- };
24642
- deleteFlow: {
24643
- parameters: {
24644
- query?: never;
24645
- header?: {
24646
- "X-Team-Id"?: string;
24647
- };
24648
- path: {
24649
- id: string;
24650
- };
24651
- cookie?: never;
24652
- };
24653
- requestBody?: never;
24654
- responses: {
24655
- /** @description Successful response */
24656
- 200: {
24657
- headers: {
24658
- [name: string]: unknown;
24659
- };
24660
- content: {
24661
- "application/json": {
24662
- /** @enum {string} */
24663
- status: "deleted";
24664
- };
24665
- };
24666
- };
24667
- /** @description Invalid input data */
24668
- 400: {
24669
- headers: {
24670
- [name: string]: unknown;
24671
- };
24672
- content: {
24673
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24674
- };
24675
- };
24676
- /** @description Authorization not provided */
24677
- 401: {
24678
- headers: {
24679
- [name: string]: unknown;
24680
- };
24681
- content: {
24682
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24683
- };
24684
- };
24685
- /** @description Insufficient access */
24686
- 403: {
24687
- headers: {
24688
- [name: string]: unknown;
24689
- };
24690
- content: {
24691
- "application/json": components["schemas"]["error.FORBIDDEN"];
24692
- };
24693
- };
24694
- /** @description Not found */
24695
- 404: {
24696
- headers: {
24697
- [name: string]: unknown;
24698
- };
24699
- content: {
24700
- "application/json": components["schemas"]["error.NOT_FOUND"];
24701
- };
24702
- };
24703
- /** @description Internal server error */
24704
- 500: {
24705
- headers: {
24706
- [name: string]: unknown;
24707
- };
24708
- content: {
24709
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24710
- };
24711
- };
24712
- };
24713
- };
24714
- getFlowConnection: {
24715
- parameters: {
24716
- query?: never;
24717
- header?: {
24718
- "X-Team-Id"?: string;
24719
- };
24720
- path: {
24721
- id: string;
24722
- connectionId: string;
24386
+ connectionId: string;
24723
24387
  };
24724
24388
  cookie?: never;
24725
24389
  };
@@ -24951,9 +24615,10 @@ export interface operations {
24951
24615
  };
24952
24616
  };
24953
24617
  };
24954
- getFlowSettings: {
24618
+ getFlowMapping: {
24955
24619
  parameters: {
24956
24620
  query?: {
24621
+ sourceId?: string;
24957
24622
  limit?: number;
24958
24623
  page?: number;
24959
24624
  };
@@ -24963,6 +24628,7 @@ export interface operations {
24963
24628
  path: {
24964
24629
  id: string;
24965
24630
  connectionId: string;
24631
+ mappingKey: string;
24966
24632
  };
24967
24633
  cookie?: never;
24968
24634
  };
@@ -24975,7 +24641,7 @@ export interface operations {
24975
24641
  };
24976
24642
  content: {
24977
24643
  "application/json": {
24978
- data: components["schemas"]["FlowSettingItemGet"][];
24644
+ data: components["schemas"]["FlowMappingItemGet"][];
24979
24645
  pagination: {
24980
24646
  /** @default 100 */
24981
24647
  limit: number;
@@ -25035,24 +24701,32 @@ export interface operations {
25035
24701
  };
25036
24702
  };
25037
24703
  };
25038
- listFlowSettingOptions: {
24704
+ setFlowMapping: {
25039
24705
  parameters: {
25040
- query?: {
25041
- search?: string;
25042
- limit?: number;
25043
- page?: number;
25044
- };
24706
+ query?: never;
25045
24707
  header?: {
25046
24708
  "X-Team-Id"?: string;
25047
24709
  };
25048
24710
  path: {
25049
24711
  id: string;
25050
24712
  connectionId: string;
25051
- settingKey: string;
24713
+ mappingKey: string;
25052
24714
  };
25053
24715
  cookie?: never;
25054
24716
  };
25055
- requestBody?: never;
24717
+ requestBody: {
24718
+ content: {
24719
+ "application/json": {
24720
+ /** Format: uuid */
24721
+ sourceId: string;
24722
+ value?: unknown;
24723
+ /** @default 100 */
24724
+ limit?: number;
24725
+ /** @default 1 */
24726
+ page?: number;
24727
+ };
24728
+ };
24729
+ };
25056
24730
  responses: {
25057
24731
  /** @description Successful response */
25058
24732
  200: {
@@ -25061,12 +24735,7 @@ export interface operations {
25061
24735
  };
25062
24736
  content: {
25063
24737
  "application/json": {
25064
- data: {
25065
- id: string;
25066
- name: string;
25067
- description: string | null;
25068
- value?: unknown;
25069
- }[];
24738
+ data: components["schemas"]["FlowMappingItemPost"][];
25070
24739
  pagination: {
25071
24740
  /** @default 100 */
25072
24741
  limit: number;
@@ -25106,93 +24775,6 @@ export interface operations {
25106
24775
  "application/json": components["schemas"]["error.FORBIDDEN"];
25107
24776
  };
25108
24777
  };
25109
- /** @description Not found */
25110
- 404: {
25111
- headers: {
25112
- [name: string]: unknown;
25113
- };
25114
- content: {
25115
- "application/json": components["schemas"]["error.NOT_FOUND"];
25116
- };
25117
- };
25118
- /** @description Internal server error */
25119
- 500: {
25120
- headers: {
25121
- [name: string]: unknown;
25122
- };
25123
- content: {
25124
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25125
- };
25126
- };
25127
- };
25128
- };
25129
- setFlowSetting: {
25130
- parameters: {
25131
- query?: never;
25132
- header?: {
25133
- "X-Team-Id"?: string;
25134
- };
25135
- path: {
25136
- id: string;
25137
- connectionId: string;
25138
- settingKey: string;
25139
- };
25140
- cookie?: never;
25141
- };
25142
- requestBody: {
25143
- content: {
25144
- "application/json": {
25145
- value?: unknown;
25146
- };
25147
- };
25148
- };
25149
- responses: {
25150
- /** @description Successful response */
25151
- 200: {
25152
- headers: {
25153
- [name: string]: unknown;
25154
- };
25155
- content: {
25156
- "application/json": {
25157
- /** Format: uuid */
25158
- id: string;
25159
- /** Format: uuid */
25160
- connectionId: string;
25161
- title: string;
25162
- description: string | null;
25163
- /** @enum {string} */
25164
- status: "active" | "inactive";
25165
- settings: components["schemas"]["FlowSettingItemsPost"];
25166
- };
25167
- };
25168
- };
25169
- /** @description Invalid input data */
25170
- 400: {
25171
- headers: {
25172
- [name: string]: unknown;
25173
- };
25174
- content: {
25175
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25176
- };
25177
- };
25178
- /** @description Authorization not provided */
25179
- 401: {
25180
- headers: {
25181
- [name: string]: unknown;
25182
- };
25183
- content: {
25184
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25185
- };
25186
- };
25187
- /** @description Insufficient access */
25188
- 403: {
25189
- headers: {
25190
- [name: string]: unknown;
25191
- };
25192
- content: {
25193
- "application/json": components["schemas"]["error.FORBIDDEN"];
25194
- };
25195
- };
25196
24778
  /** @description Internal server error */
25197
24779
  500: {
25198
24780
  headers: {
@@ -25204,10 +24786,10 @@ export interface operations {
25204
24786
  };
25205
24787
  };
25206
24788
  };
25207
- getFlowMapping: {
24789
+ getFlowMappingSources: {
25208
24790
  parameters: {
25209
24791
  query?: {
25210
- sourceId?: string;
24792
+ search?: string;
25211
24793
  limit?: number;
25212
24794
  page?: number;
25213
24795
  };
@@ -25230,7 +24812,12 @@ export interface operations {
25230
24812
  };
25231
24813
  content: {
25232
24814
  "application/json": {
25233
- data: components["schemas"]["FlowMappingItemGet"][];
24815
+ data: {
24816
+ id: string;
24817
+ name: string;
24818
+ /** @enum {string} */
24819
+ status: "mapped" | "unmapped";
24820
+ }[];
25234
24821
  pagination: {
25235
24822
  /** @default 100 */
25236
24823
  limit: number;
@@ -25290,95 +24877,10 @@ export interface operations {
25290
24877
  };
25291
24878
  };
25292
24879
  };
25293
- setFlowMapping: {
25294
- parameters: {
25295
- query?: never;
25296
- header?: {
25297
- "X-Team-Id"?: string;
25298
- };
25299
- path: {
25300
- id: string;
25301
- connectionId: string;
25302
- mappingKey: string;
25303
- };
25304
- cookie?: never;
25305
- };
25306
- requestBody: {
25307
- content: {
25308
- "application/json": {
25309
- /** Format: uuid */
25310
- sourceId: string;
25311
- value?: unknown;
25312
- /** @default 100 */
25313
- limit?: number;
25314
- /** @default 1 */
25315
- page?: number;
25316
- };
25317
- };
25318
- };
25319
- responses: {
25320
- /** @description Successful response */
25321
- 200: {
25322
- headers: {
25323
- [name: string]: unknown;
25324
- };
25325
- content: {
25326
- "application/json": {
25327
- data: components["schemas"]["FlowMappingItemPost"][];
25328
- pagination: {
25329
- /** @default 100 */
25330
- limit: number;
25331
- /** @default 1 */
25332
- page: number;
25333
- total: number;
25334
- totalPage: number;
25335
- nextPage?: number;
25336
- };
25337
- };
25338
- };
25339
- };
25340
- /** @description Invalid input data */
25341
- 400: {
25342
- headers: {
25343
- [name: string]: unknown;
25344
- };
25345
- content: {
25346
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25347
- };
25348
- };
25349
- /** @description Authorization not provided */
25350
- 401: {
25351
- headers: {
25352
- [name: string]: unknown;
25353
- };
25354
- content: {
25355
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25356
- };
25357
- };
25358
- /** @description Insufficient access */
25359
- 403: {
25360
- headers: {
25361
- [name: string]: unknown;
25362
- };
25363
- content: {
25364
- "application/json": components["schemas"]["error.FORBIDDEN"];
25365
- };
25366
- };
25367
- /** @description Internal server error */
25368
- 500: {
25369
- headers: {
25370
- [name: string]: unknown;
25371
- };
25372
- content: {
25373
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25374
- };
25375
- };
25376
- };
25377
- };
25378
- getFlowMappings: {
24880
+ getFlowMappingDestinations: {
25379
24881
  parameters: {
25380
24882
  query?: {
25381
- sourceId?: string;
24883
+ search?: string;
25382
24884
  limit?: number;
25383
24885
  page?: number;
25384
24886
  };
@@ -25388,6 +24890,7 @@ export interface operations {
25388
24890
  path: {
25389
24891
  id: string;
25390
24892
  connectionId: string;
24893
+ mappingKey: string;
25391
24894
  };
25392
24895
  cookie?: never;
25393
24896
  };
@@ -25400,7 +24903,10 @@ export interface operations {
25400
24903
  };
25401
24904
  content: {
25402
24905
  "application/json": {
25403
- data: components["schemas"]["FlowMappingItemGet"][];
24906
+ data: {
24907
+ id: string;
24908
+ name: string;
24909
+ }[];
25404
24910
  pagination: {
25405
24911
  /** @default 100 */
25406
24912
  limit: number;
@@ -25460,7 +24966,7 @@ export interface operations {
25460
24966
  };
25461
24967
  };
25462
24968
  };
25463
- listFlowMappingSources: {
24969
+ getFlowSetting: {
25464
24970
  parameters: {
25465
24971
  query?: {
25466
24972
  search?: string;
@@ -25473,7 +24979,7 @@ export interface operations {
25473
24979
  path: {
25474
24980
  id: string;
25475
24981
  connectionId: string;
25476
- mappingKey: string;
24982
+ settingKey: string;
25477
24983
  };
25478
24984
  cookie?: never;
25479
24985
  };
@@ -25489,8 +24995,8 @@ export interface operations {
25489
24995
  data: {
25490
24996
  id: string;
25491
24997
  name: string;
25492
- /** @enum {string} */
25493
- status: "mapped" | "unmapped";
24998
+ description: string | null;
24999
+ value?: unknown;
25494
25000
  }[];
25495
25001
  pagination: {
25496
25002
  /** @default 100 */
@@ -25551,24 +25057,26 @@ export interface operations {
25551
25057
  };
25552
25058
  };
25553
25059
  };
25554
- listFlowMappingDestinations: {
25060
+ setFlowSetting: {
25555
25061
  parameters: {
25556
- query?: {
25557
- search?: string;
25558
- limit?: number;
25559
- page?: number;
25560
- };
25062
+ query?: never;
25561
25063
  header?: {
25562
25064
  "X-Team-Id"?: string;
25563
25065
  };
25564
25066
  path: {
25565
25067
  id: string;
25566
25068
  connectionId: string;
25567
- mappingKey: string;
25069
+ settingKey: string;
25568
25070
  };
25569
25071
  cookie?: never;
25570
25072
  };
25571
- requestBody?: never;
25073
+ requestBody: {
25074
+ content: {
25075
+ "application/json": {
25076
+ value?: unknown;
25077
+ };
25078
+ };
25079
+ };
25572
25080
  responses: {
25573
25081
  /** @description Successful response */
25574
25082
  200: {
@@ -25577,19 +25085,15 @@ export interface operations {
25577
25085
  };
25578
25086
  content: {
25579
25087
  "application/json": {
25580
- data: {
25581
- id: string;
25582
- name: string;
25583
- }[];
25584
- pagination: {
25585
- /** @default 100 */
25586
- limit: number;
25587
- /** @default 1 */
25588
- page: number;
25589
- total: number;
25590
- totalPage: number;
25591
- nextPage?: number;
25592
- };
25088
+ /** Format: uuid */
25089
+ id: string;
25090
+ /** Format: uuid */
25091
+ connectionId: string;
25092
+ title: string;
25093
+ description: string | null;
25094
+ /** @enum {string} */
25095
+ status: "active" | "inactive";
25096
+ settings: components["schemas"]["FlowSettingItemsPost"];
25593
25097
  };
25594
25098
  };
25595
25099
  };
@@ -25620,15 +25124,6 @@ export interface operations {
25620
25124
  "application/json": components["schemas"]["error.FORBIDDEN"];
25621
25125
  };
25622
25126
  };
25623
- /** @description Not found */
25624
- 404: {
25625
- headers: {
25626
- [name: string]: unknown;
25627
- };
25628
- content: {
25629
- "application/json": components["schemas"]["error.NOT_FOUND"];
25630
- };
25631
- };
25632
25127
  /** @description Internal server error */
25633
25128
  500: {
25634
25129
  headers: {