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