@vrplatform/graphql 1.1.23 → 1.1.25

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.
@@ -1,4 +1,4 @@
1
- import { type RetryableFetchParams } from '@finalytic/utils';
1
+ import { type RetryableFetchParams } from '@vrplatform/utils';
2
2
  import { type GQtyClient } from 'gqty';
3
3
  import { type GeneratedSchema } from '../gqty';
4
4
  import type { GqlAuthParam } from '../types';
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultAssertHasuraRetryableResponse = void 0;
4
4
  exports.useHasuraClient = useHasuraClient;
5
- const utils_1 = require("@finalytic/utils");
5
+ const utils_1 = require("@vrplatform/utils");
6
6
  const gqty_1 = require("gqty");
7
7
  const constants_1 = require("../constants");
8
8
  const gqty_2 = require("../gqty");
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.whereGlListingIsInactive = void 0;
4
4
  exports.whereListingIsActive = whereListingIsActive;
5
5
  exports.whereGlListingIsActive = whereGlListingIsActive;
6
- const utils_1 = require("@finalytic/utils");
6
+ const utils_1 = require("@vrplatform/utils");
7
7
  function whereListingIsActive() {
8
8
  return {
9
9
  _or: [
@@ -6,7 +6,7 @@ exports.assertTenantActive = assertTenantActive;
6
6
  exports.mapTenantStatus = mapTenantStatus;
7
7
  exports.whereTenantNotTestTeam = whereTenantNotTestTeam;
8
8
  exports.whereTenantShouldBePaid = whereTenantShouldBePaid;
9
- const utils_1 = require("@finalytic/utils");
9
+ const utils_1 = require("@vrplatform/utils");
10
10
  const error_1 = require("../error");
11
11
  // Tenants
12
12
  exports.VRP_TENANT_ID = '7bfec41f-aa3f-4602-95d2-f7996e4f0e59';
@@ -6809,6 +6809,8 @@ export interface core_flow_mapping_bool_exp {
6809
6809
  rate_id?: InputMaybe<uuid_comparison_exp>;
6810
6810
  source?: InputMaybe<source_bool_exp>;
6811
6811
  source_id?: InputMaybe<uuid_comparison_exp>;
6812
+ tenant?: InputMaybe<tenant_bool_exp>;
6813
+ tenant_id?: InputMaybe<uuid_comparison_exp>;
6812
6814
  value?: InputMaybe<jsonb_comparison_exp>;
6813
6815
  }
6814
6816
 
@@ -6852,6 +6854,8 @@ export interface core_flow_mapping_insert_input {
6852
6854
  rate_id?: InputMaybe<Scalars["uuid"]>;
6853
6855
  source?: InputMaybe<source_obj_rel_insert_input>;
6854
6856
  source_id?: InputMaybe<Scalars["uuid"]>;
6857
+ tenant?: InputMaybe<tenant_obj_rel_insert_input>;
6858
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
6855
6859
  value?: InputMaybe<Scalars["jsonb"]>;
6856
6860
  }
6857
6861
 
@@ -6880,6 +6884,8 @@ export interface core_flow_mapping_order_by {
6880
6884
  rate_id?: InputMaybe<order_by>;
6881
6885
  source?: InputMaybe<source_order_by>;
6882
6886
  source_id?: InputMaybe<order_by>;
6887
+ tenant?: InputMaybe<tenant_order_by>;
6888
+ tenant_id?: InputMaybe<order_by>;
6883
6889
  value?: InputMaybe<order_by>;
6884
6890
  }
6885
6891
 
@@ -6914,6 +6920,8 @@ export type core_flow_mapping_select_column =
6914
6920
  /** column name */
6915
6921
  | "source_id"
6916
6922
  /** column name */
6923
+ | "tenant_id"
6924
+ /** column name */
6917
6925
  | "value";
6918
6926
 
6919
6927
  /** input type for updating data in table "core.flow_mapping" */
@@ -6927,6 +6935,7 @@ export interface core_flow_mapping_set_input {
6927
6935
  mapping_key?: InputMaybe<Scalars["String"]>;
6928
6936
  rate_id?: InputMaybe<Scalars["uuid"]>;
6929
6937
  source_id?: InputMaybe<Scalars["uuid"]>;
6938
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
6930
6939
  value?: InputMaybe<Scalars["jsonb"]>;
6931
6940
  }
6932
6941
 
@@ -6949,6 +6958,7 @@ export interface core_flow_mapping_stream_cursor_value_input {
6949
6958
  mapping_key?: InputMaybe<Scalars["String"]>;
6950
6959
  rate_id?: InputMaybe<Scalars["uuid"]>;
6951
6960
  source_id?: InputMaybe<Scalars["uuid"]>;
6961
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
6952
6962
  value?: InputMaybe<Scalars["jsonb"]>;
6953
6963
  }
6954
6964
 
@@ -6973,6 +6983,8 @@ export type core_flow_mapping_update_column =
6973
6983
  /** column name */
6974
6984
  | "source_id"
6975
6985
  /** column name */
6986
+ | "tenant_id"
6987
+ /** column name */
6976
6988
  | "value";
6977
6989
 
6978
6990
  export interface core_flow_mapping_updates {
@@ -7066,14 +7078,22 @@ export interface core_flow_setting_bool_exp {
7066
7078
  _and?: InputMaybe<Array<core_flow_setting_bool_exp>>;
7067
7079
  _not?: InputMaybe<core_flow_setting_bool_exp>;
7068
7080
  _or?: InputMaybe<Array<core_flow_setting_bool_exp>>;
7081
+ account?: InputMaybe<account_bool_exp>;
7069
7082
  account_id?: InputMaybe<uuid_comparison_exp>;
7083
+ booking_channel?: InputMaybe<booking_channel_bool_exp>;
7070
7084
  booking_channel_id?: InputMaybe<uuid_comparison_exp>;
7085
+ connection?: InputMaybe<connection_bool_exp>;
7071
7086
  connection_id?: InputMaybe<uuid_comparison_exp>;
7087
+ contact?: InputMaybe<contact_bool_exp>;
7072
7088
  contact_id?: InputMaybe<uuid_comparison_exp>;
7089
+ flow?: InputMaybe<core_flow_bool_exp>;
7073
7090
  flow_id?: InputMaybe<uuid_comparison_exp>;
7074
7091
  id?: InputMaybe<uuid_comparison_exp>;
7092
+ listing?: InputMaybe<listing_bool_exp>;
7075
7093
  listing_id?: InputMaybe<uuid_comparison_exp>;
7076
7094
  setting_key?: InputMaybe<String_comparison_exp>;
7095
+ tenant?: InputMaybe<tenant_bool_exp>;
7096
+ tenant_id?: InputMaybe<uuid_comparison_exp>;
7077
7097
  value?: InputMaybe<jsonb_comparison_exp>;
7078
7098
  }
7079
7099
 
@@ -7101,14 +7121,22 @@ export interface core_flow_setting_delete_key_input {
7101
7121
 
7102
7122
  /** input type for inserting data into table "core.flow_setting" */
7103
7123
  export interface core_flow_setting_insert_input {
7124
+ account?: InputMaybe<account_obj_rel_insert_input>;
7104
7125
  account_id?: InputMaybe<Scalars["uuid"]>;
7126
+ booking_channel?: InputMaybe<booking_channel_obj_rel_insert_input>;
7105
7127
  booking_channel_id?: InputMaybe<Scalars["uuid"]>;
7128
+ connection?: InputMaybe<connection_obj_rel_insert_input>;
7106
7129
  connection_id?: InputMaybe<Scalars["uuid"]>;
7130
+ contact?: InputMaybe<contact_obj_rel_insert_input>;
7107
7131
  contact_id?: InputMaybe<Scalars["uuid"]>;
7132
+ flow?: InputMaybe<core_flow_obj_rel_insert_input>;
7108
7133
  flow_id?: InputMaybe<Scalars["uuid"]>;
7109
7134
  id?: InputMaybe<Scalars["uuid"]>;
7135
+ listing?: InputMaybe<listing_obj_rel_insert_input>;
7110
7136
  listing_id?: InputMaybe<Scalars["uuid"]>;
7111
7137
  setting_key?: InputMaybe<Scalars["String"]>;
7138
+ tenant?: InputMaybe<tenant_obj_rel_insert_input>;
7139
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
7112
7140
  value?: InputMaybe<Scalars["jsonb"]>;
7113
7141
  }
7114
7142
 
@@ -7121,14 +7149,22 @@ export interface core_flow_setting_on_conflict {
7121
7149
 
7122
7150
  /** Ordering options when selecting data from "core.flow_setting". */
7123
7151
  export interface core_flow_setting_order_by {
7152
+ account?: InputMaybe<account_order_by>;
7124
7153
  account_id?: InputMaybe<order_by>;
7154
+ booking_channel?: InputMaybe<booking_channel_order_by>;
7125
7155
  booking_channel_id?: InputMaybe<order_by>;
7156
+ connection?: InputMaybe<connection_order_by>;
7126
7157
  connection_id?: InputMaybe<order_by>;
7158
+ contact?: InputMaybe<contact_order_by>;
7127
7159
  contact_id?: InputMaybe<order_by>;
7160
+ flow?: InputMaybe<core_flow_order_by>;
7128
7161
  flow_id?: InputMaybe<order_by>;
7129
7162
  id?: InputMaybe<order_by>;
7163
+ listing?: InputMaybe<listing_order_by>;
7130
7164
  listing_id?: InputMaybe<order_by>;
7131
7165
  setting_key?: InputMaybe<order_by>;
7166
+ tenant?: InputMaybe<tenant_order_by>;
7167
+ tenant_id?: InputMaybe<order_by>;
7132
7168
  value?: InputMaybe<order_by>;
7133
7169
  }
7134
7170
 
@@ -7161,6 +7197,8 @@ export type core_flow_setting_select_column =
7161
7197
  /** column name */
7162
7198
  | "setting_key"
7163
7199
  /** column name */
7200
+ | "tenant_id"
7201
+ /** column name */
7164
7202
  | "value";
7165
7203
 
7166
7204
  /** input type for updating data in table "core.flow_setting" */
@@ -7173,6 +7211,7 @@ export interface core_flow_setting_set_input {
7173
7211
  id?: InputMaybe<Scalars["uuid"]>;
7174
7212
  listing_id?: InputMaybe<Scalars["uuid"]>;
7175
7213
  setting_key?: InputMaybe<Scalars["String"]>;
7214
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
7176
7215
  value?: InputMaybe<Scalars["jsonb"]>;
7177
7216
  }
7178
7217
 
@@ -7194,6 +7233,7 @@ export interface core_flow_setting_stream_cursor_value_input {
7194
7233
  id?: InputMaybe<Scalars["uuid"]>;
7195
7234
  listing_id?: InputMaybe<Scalars["uuid"]>;
7196
7235
  setting_key?: InputMaybe<Scalars["String"]>;
7236
+ tenant_id?: InputMaybe<Scalars["uuid"]>;
7197
7237
  value?: InputMaybe<Scalars["jsonb"]>;
7198
7238
  }
7199
7239
 
@@ -7216,6 +7256,8 @@ export type core_flow_setting_update_column =
7216
7256
  /** column name */
7217
7257
  | "setting_key"
7218
7258
  /** column name */
7259
+ | "tenant_id"
7260
+ /** column name */
7219
7261
  | "value";
7220
7262
 
7221
7263
  export interface core_flow_setting_updates {
@@ -35435,6 +35477,8 @@ export declare const generatedSchema: {
35435
35477
  rate_id: { __type: "uuid" };
35436
35478
  source: { __type: "source!" };
35437
35479
  source_id: { __type: "uuid!" };
35480
+ tenant: { __type: "tenant!" };
35481
+ tenant_id: { __type: "uuid!" };
35438
35482
  value: { __type: "jsonb"; __args: { path: "String" } };
35439
35483
  };
35440
35484
  core_flow_mapping_aggregate: {
@@ -35475,6 +35519,8 @@ export declare const generatedSchema: {
35475
35519
  rate_id: { __type: "uuid_comparison_exp" };
35476
35520
  source: { __type: "source_bool_exp" };
35477
35521
  source_id: { __type: "uuid_comparison_exp" };
35522
+ tenant: { __type: "tenant_bool_exp" };
35523
+ tenant_id: { __type: "uuid_comparison_exp" };
35478
35524
  value: { __type: "jsonb_comparison_exp" };
35479
35525
  };
35480
35526
  core_flow_mapping_delete_at_path_input: { value: { __type: "[String!]" } };
@@ -35497,6 +35543,8 @@ export declare const generatedSchema: {
35497
35543
  rate_id: { __type: "uuid" };
35498
35544
  source: { __type: "source_obj_rel_insert_input" };
35499
35545
  source_id: { __type: "uuid" };
35546
+ tenant: { __type: "tenant_obj_rel_insert_input" };
35547
+ tenant_id: { __type: "uuid" };
35500
35548
  value: { __type: "jsonb" };
35501
35549
  };
35502
35550
  core_flow_mapping_max_fields: {
@@ -35510,6 +35558,7 @@ export declare const generatedSchema: {
35510
35558
  mapping_key: { __type: "String" };
35511
35559
  rate_id: { __type: "uuid" };
35512
35560
  source_id: { __type: "uuid" };
35561
+ tenant_id: { __type: "uuid" };
35513
35562
  };
35514
35563
  core_flow_mapping_min_fields: {
35515
35564
  __typename: { __type: "String!" };
@@ -35522,6 +35571,7 @@ export declare const generatedSchema: {
35522
35571
  mapping_key: { __type: "String" };
35523
35572
  rate_id: { __type: "uuid" };
35524
35573
  source_id: { __type: "uuid" };
35574
+ tenant_id: { __type: "uuid" };
35525
35575
  };
35526
35576
  core_flow_mapping_mutation_response: {
35527
35577
  __typename: { __type: "String!" };
@@ -35550,6 +35600,8 @@ export declare const generatedSchema: {
35550
35600
  rate_id: { __type: "order_by" };
35551
35601
  source: { __type: "source_order_by" };
35552
35602
  source_id: { __type: "order_by" };
35603
+ tenant: { __type: "tenant_order_by" };
35604
+ tenant_id: { __type: "order_by" };
35553
35605
  value: { __type: "order_by" };
35554
35606
  };
35555
35607
  core_flow_mapping_pk_columns_input: { id: { __type: "uuid!" } };
@@ -35564,6 +35616,7 @@ export declare const generatedSchema: {
35564
35616
  mapping_key: { __type: "String" };
35565
35617
  rate_id: { __type: "uuid" };
35566
35618
  source_id: { __type: "uuid" };
35619
+ tenant_id: { __type: "uuid" };
35567
35620
  value: { __type: "jsonb" };
35568
35621
  };
35569
35622
  core_flow_mapping_stream_cursor_input: {
@@ -35580,6 +35633,7 @@ export declare const generatedSchema: {
35580
35633
  mapping_key: { __type: "String" };
35581
35634
  rate_id: { __type: "uuid" };
35582
35635
  source_id: { __type: "uuid" };
35636
+ tenant_id: { __type: "uuid" };
35583
35637
  value: { __type: "jsonb" };
35584
35638
  };
35585
35639
  core_flow_mapping_updates: {
@@ -35646,14 +35700,22 @@ export declare const generatedSchema: {
35646
35700
  };
35647
35701
  core_flow_setting: {
35648
35702
  __typename: { __type: "String!" };
35703
+ account: { __type: "account" };
35649
35704
  account_id: { __type: "uuid" };
35705
+ booking_channel: { __type: "booking_channel" };
35650
35706
  booking_channel_id: { __type: "uuid" };
35707
+ connection: { __type: "connection!" };
35651
35708
  connection_id: { __type: "uuid!" };
35709
+ contact: { __type: "contact" };
35652
35710
  contact_id: { __type: "uuid" };
35711
+ flow: { __type: "core_flow!" };
35653
35712
  flow_id: { __type: "uuid!" };
35654
35713
  id: { __type: "uuid!" };
35714
+ listing: { __type: "listing" };
35655
35715
  listing_id: { __type: "uuid" };
35656
35716
  setting_key: { __type: "String!" };
35717
+ tenant: { __type: "tenant!" };
35718
+ tenant_id: { __type: "uuid!" };
35657
35719
  value: { __type: "jsonb"; __args: { path: "String" } };
35658
35720
  };
35659
35721
  core_flow_setting_aggregate: {
@@ -35678,28 +35740,44 @@ export declare const generatedSchema: {
35678
35740
  _and: { __type: "[core_flow_setting_bool_exp!]" };
35679
35741
  _not: { __type: "core_flow_setting_bool_exp" };
35680
35742
  _or: { __type: "[core_flow_setting_bool_exp!]" };
35743
+ account: { __type: "account_bool_exp" };
35681
35744
  account_id: { __type: "uuid_comparison_exp" };
35745
+ booking_channel: { __type: "booking_channel_bool_exp" };
35682
35746
  booking_channel_id: { __type: "uuid_comparison_exp" };
35747
+ connection: { __type: "connection_bool_exp" };
35683
35748
  connection_id: { __type: "uuid_comparison_exp" };
35749
+ contact: { __type: "contact_bool_exp" };
35684
35750
  contact_id: { __type: "uuid_comparison_exp" };
35751
+ flow: { __type: "core_flow_bool_exp" };
35685
35752
  flow_id: { __type: "uuid_comparison_exp" };
35686
35753
  id: { __type: "uuid_comparison_exp" };
35754
+ listing: { __type: "listing_bool_exp" };
35687
35755
  listing_id: { __type: "uuid_comparison_exp" };
35688
35756
  setting_key: { __type: "String_comparison_exp" };
35757
+ tenant: { __type: "tenant_bool_exp" };
35758
+ tenant_id: { __type: "uuid_comparison_exp" };
35689
35759
  value: { __type: "jsonb_comparison_exp" };
35690
35760
  };
35691
35761
  core_flow_setting_delete_at_path_input: { value: { __type: "[String!]" } };
35692
35762
  core_flow_setting_delete_elem_input: { value: { __type: "Int" } };
35693
35763
  core_flow_setting_delete_key_input: { value: { __type: "String" } };
35694
35764
  core_flow_setting_insert_input: {
35765
+ account: { __type: "account_obj_rel_insert_input" };
35695
35766
  account_id: { __type: "uuid" };
35767
+ booking_channel: { __type: "booking_channel_obj_rel_insert_input" };
35696
35768
  booking_channel_id: { __type: "uuid" };
35769
+ connection: { __type: "connection_obj_rel_insert_input" };
35697
35770
  connection_id: { __type: "uuid" };
35771
+ contact: { __type: "contact_obj_rel_insert_input" };
35698
35772
  contact_id: { __type: "uuid" };
35773
+ flow: { __type: "core_flow_obj_rel_insert_input" };
35699
35774
  flow_id: { __type: "uuid" };
35700
35775
  id: { __type: "uuid" };
35776
+ listing: { __type: "listing_obj_rel_insert_input" };
35701
35777
  listing_id: { __type: "uuid" };
35702
35778
  setting_key: { __type: "String" };
35779
+ tenant: { __type: "tenant_obj_rel_insert_input" };
35780
+ tenant_id: { __type: "uuid" };
35703
35781
  value: { __type: "jsonb" };
35704
35782
  };
35705
35783
  core_flow_setting_max_fields: {
@@ -35712,6 +35790,7 @@ export declare const generatedSchema: {
35712
35790
  id: { __type: "uuid" };
35713
35791
  listing_id: { __type: "uuid" };
35714
35792
  setting_key: { __type: "String" };
35793
+ tenant_id: { __type: "uuid" };
35715
35794
  };
35716
35795
  core_flow_setting_min_fields: {
35717
35796
  __typename: { __type: "String!" };
@@ -35723,6 +35802,7 @@ export declare const generatedSchema: {
35723
35802
  id: { __type: "uuid" };
35724
35803
  listing_id: { __type: "uuid" };
35725
35804
  setting_key: { __type: "String" };
35805
+ tenant_id: { __type: "uuid" };
35726
35806
  };
35727
35807
  core_flow_setting_mutation_response: {
35728
35808
  __typename: { __type: "String!" };
@@ -35735,14 +35815,22 @@ export declare const generatedSchema: {
35735
35815
  where: { __type: "core_flow_setting_bool_exp" };
35736
35816
  };
35737
35817
  core_flow_setting_order_by: {
35818
+ account: { __type: "account_order_by" };
35738
35819
  account_id: { __type: "order_by" };
35820
+ booking_channel: { __type: "booking_channel_order_by" };
35739
35821
  booking_channel_id: { __type: "order_by" };
35822
+ connection: { __type: "connection_order_by" };
35740
35823
  connection_id: { __type: "order_by" };
35824
+ contact: { __type: "contact_order_by" };
35741
35825
  contact_id: { __type: "order_by" };
35826
+ flow: { __type: "core_flow_order_by" };
35742
35827
  flow_id: { __type: "order_by" };
35743
35828
  id: { __type: "order_by" };
35829
+ listing: { __type: "listing_order_by" };
35744
35830
  listing_id: { __type: "order_by" };
35745
35831
  setting_key: { __type: "order_by" };
35832
+ tenant: { __type: "tenant_order_by" };
35833
+ tenant_id: { __type: "order_by" };
35746
35834
  value: { __type: "order_by" };
35747
35835
  };
35748
35836
  core_flow_setting_pk_columns_input: { id: { __type: "uuid!" } };
@@ -35756,6 +35844,7 @@ export declare const generatedSchema: {
35756
35844
  id: { __type: "uuid" };
35757
35845
  listing_id: { __type: "uuid" };
35758
35846
  setting_key: { __type: "String" };
35847
+ tenant_id: { __type: "uuid" };
35759
35848
  value: { __type: "jsonb" };
35760
35849
  };
35761
35850
  core_flow_setting_stream_cursor_input: {
@@ -35771,6 +35860,7 @@ export declare const generatedSchema: {
35771
35860
  id: { __type: "uuid" };
35772
35861
  listing_id: { __type: "uuid" };
35773
35862
  setting_key: { __type: "String" };
35863
+ tenant_id: { __type: "uuid" };
35774
35864
  value: { __type: "jsonb" };
35775
35865
  };
35776
35866
  core_flow_setting_updates: {
@@ -76792,6 +76882,11 @@ export interface core_flow_mapping {
76792
76882
  */
76793
76883
  source: source;
76794
76884
  source_id: ScalarsEnums["uuid"];
76885
+ /**
76886
+ * An object relationship
76887
+ */
76888
+ tenant: tenant;
76889
+ tenant_id: ScalarsEnums["uuid"];
76795
76890
  value: (args?: {
76796
76891
  /**
76797
76892
  * JSON select path
@@ -76836,6 +76931,7 @@ export interface core_flow_mapping_max_fields {
76836
76931
  mapping_key?: Maybe<ScalarsEnums["String"]>;
76837
76932
  rate_id?: Maybe<ScalarsEnums["uuid"]>;
76838
76933
  source_id?: Maybe<ScalarsEnums["uuid"]>;
76934
+ tenant_id?: Maybe<ScalarsEnums["uuid"]>;
76839
76935
  }
76840
76936
 
76841
76937
  /**
@@ -76852,6 +76948,7 @@ export interface core_flow_mapping_min_fields {
76852
76948
  mapping_key?: Maybe<ScalarsEnums["String"]>;
76853
76949
  rate_id?: Maybe<ScalarsEnums["uuid"]>;
76854
76950
  source_id?: Maybe<ScalarsEnums["uuid"]>;
76951
+ tenant_id?: Maybe<ScalarsEnums["uuid"]>;
76855
76952
  }
76856
76953
 
76857
76954
  /**
@@ -76913,14 +77010,43 @@ export interface core_flow_mutation_response {
76913
77010
  */
76914
77011
  export interface core_flow_setting {
76915
77012
  __typename?: "core_flow_setting";
77013
+ /**
77014
+ * An object relationship
77015
+ */
77016
+ account?: Maybe<account>;
76916
77017
  account_id?: Maybe<ScalarsEnums["uuid"]>;
77018
+ /**
77019
+ * An object relationship
77020
+ */
77021
+ booking_channel?: Maybe<booking_channel>;
76917
77022
  booking_channel_id?: Maybe<ScalarsEnums["uuid"]>;
77023
+ /**
77024
+ * An object relationship
77025
+ */
77026
+ connection: connection;
76918
77027
  connection_id: ScalarsEnums["uuid"];
77028
+ /**
77029
+ * An object relationship
77030
+ */
77031
+ contact?: Maybe<contact>;
76919
77032
  contact_id?: Maybe<ScalarsEnums["uuid"]>;
77033
+ /**
77034
+ * An object relationship
77035
+ */
77036
+ flow: core_flow;
76920
77037
  flow_id: ScalarsEnums["uuid"];
76921
77038
  id: ScalarsEnums["uuid"];
77039
+ /**
77040
+ * An object relationship
77041
+ */
77042
+ listing?: Maybe<listing>;
76922
77043
  listing_id?: Maybe<ScalarsEnums["uuid"]>;
76923
77044
  setting_key: ScalarsEnums["String"];
77045
+ /**
77046
+ * An object relationship
77047
+ */
77048
+ tenant: tenant;
77049
+ tenant_id: ScalarsEnums["uuid"];
76924
77050
  value: (args?: {
76925
77051
  /**
76926
77052
  * JSON select path
@@ -76964,6 +77090,7 @@ export interface core_flow_setting_max_fields {
76964
77090
  id?: Maybe<ScalarsEnums["uuid"]>;
76965
77091
  listing_id?: Maybe<ScalarsEnums["uuid"]>;
76966
77092
  setting_key?: Maybe<ScalarsEnums["String"]>;
77093
+ tenant_id?: Maybe<ScalarsEnums["uuid"]>;
76967
77094
  }
76968
77095
 
76969
77096
  /**
@@ -76979,6 +77106,7 @@ export interface core_flow_setting_min_fields {
76979
77106
  id?: Maybe<ScalarsEnums["uuid"]>;
76980
77107
  listing_id?: Maybe<ScalarsEnums["uuid"]>;
76981
77108
  setting_key?: Maybe<ScalarsEnums["String"]>;
77109
+ tenant_id?: Maybe<ScalarsEnums["uuid"]>;
76982
77110
  }
76983
77111
 
76984
77112
  /**
@@ -7490,6 +7490,8 @@ exports.generatedSchema = {
7490
7490
  rate_id: { __type: "uuid" },
7491
7491
  source: { __type: "source!" },
7492
7492
  source_id: { __type: "uuid!" },
7493
+ tenant: { __type: "tenant!" },
7494
+ tenant_id: { __type: "uuid!" },
7493
7495
  value: { __type: "jsonb", __args: { path: "String" } },
7494
7496
  },
7495
7497
  core_flow_mapping_aggregate: {
@@ -7530,6 +7532,8 @@ exports.generatedSchema = {
7530
7532
  rate_id: { __type: "uuid_comparison_exp" },
7531
7533
  source: { __type: "source_bool_exp" },
7532
7534
  source_id: { __type: "uuid_comparison_exp" },
7535
+ tenant: { __type: "tenant_bool_exp" },
7536
+ tenant_id: { __type: "uuid_comparison_exp" },
7533
7537
  value: { __type: "jsonb_comparison_exp" },
7534
7538
  },
7535
7539
  core_flow_mapping_delete_at_path_input: { value: { __type: "[String!]" } },
@@ -7552,6 +7556,8 @@ exports.generatedSchema = {
7552
7556
  rate_id: { __type: "uuid" },
7553
7557
  source: { __type: "source_obj_rel_insert_input" },
7554
7558
  source_id: { __type: "uuid" },
7559
+ tenant: { __type: "tenant_obj_rel_insert_input" },
7560
+ tenant_id: { __type: "uuid" },
7555
7561
  value: { __type: "jsonb" },
7556
7562
  },
7557
7563
  core_flow_mapping_max_fields: {
@@ -7565,6 +7571,7 @@ exports.generatedSchema = {
7565
7571
  mapping_key: { __type: "String" },
7566
7572
  rate_id: { __type: "uuid" },
7567
7573
  source_id: { __type: "uuid" },
7574
+ tenant_id: { __type: "uuid" },
7568
7575
  },
7569
7576
  core_flow_mapping_min_fields: {
7570
7577
  __typename: { __type: "String!" },
@@ -7577,6 +7584,7 @@ exports.generatedSchema = {
7577
7584
  mapping_key: { __type: "String" },
7578
7585
  rate_id: { __type: "uuid" },
7579
7586
  source_id: { __type: "uuid" },
7587
+ tenant_id: { __type: "uuid" },
7580
7588
  },
7581
7589
  core_flow_mapping_mutation_response: {
7582
7590
  __typename: { __type: "String!" },
@@ -7605,6 +7613,8 @@ exports.generatedSchema = {
7605
7613
  rate_id: { __type: "order_by" },
7606
7614
  source: { __type: "source_order_by" },
7607
7615
  source_id: { __type: "order_by" },
7616
+ tenant: { __type: "tenant_order_by" },
7617
+ tenant_id: { __type: "order_by" },
7608
7618
  value: { __type: "order_by" },
7609
7619
  },
7610
7620
  core_flow_mapping_pk_columns_input: { id: { __type: "uuid!" } },
@@ -7619,6 +7629,7 @@ exports.generatedSchema = {
7619
7629
  mapping_key: { __type: "String" },
7620
7630
  rate_id: { __type: "uuid" },
7621
7631
  source_id: { __type: "uuid" },
7632
+ tenant_id: { __type: "uuid" },
7622
7633
  value: { __type: "jsonb" },
7623
7634
  },
7624
7635
  core_flow_mapping_stream_cursor_input: {
@@ -7635,6 +7646,7 @@ exports.generatedSchema = {
7635
7646
  mapping_key: { __type: "String" },
7636
7647
  rate_id: { __type: "uuid" },
7637
7648
  source_id: { __type: "uuid" },
7649
+ tenant_id: { __type: "uuid" },
7638
7650
  value: { __type: "jsonb" },
7639
7651
  },
7640
7652
  core_flow_mapping_updates: {
@@ -7701,14 +7713,22 @@ exports.generatedSchema = {
7701
7713
  },
7702
7714
  core_flow_setting: {
7703
7715
  __typename: { __type: "String!" },
7716
+ account: { __type: "account" },
7704
7717
  account_id: { __type: "uuid" },
7718
+ booking_channel: { __type: "booking_channel" },
7705
7719
  booking_channel_id: { __type: "uuid" },
7720
+ connection: { __type: "connection!" },
7706
7721
  connection_id: { __type: "uuid!" },
7722
+ contact: { __type: "contact" },
7707
7723
  contact_id: { __type: "uuid" },
7724
+ flow: { __type: "core_flow!" },
7708
7725
  flow_id: { __type: "uuid!" },
7709
7726
  id: { __type: "uuid!" },
7727
+ listing: { __type: "listing" },
7710
7728
  listing_id: { __type: "uuid" },
7711
7729
  setting_key: { __type: "String!" },
7730
+ tenant: { __type: "tenant!" },
7731
+ tenant_id: { __type: "uuid!" },
7712
7732
  value: { __type: "jsonb", __args: { path: "String" } },
7713
7733
  },
7714
7734
  core_flow_setting_aggregate: {
@@ -7733,28 +7753,44 @@ exports.generatedSchema = {
7733
7753
  _and: { __type: "[core_flow_setting_bool_exp!]" },
7734
7754
  _not: { __type: "core_flow_setting_bool_exp" },
7735
7755
  _or: { __type: "[core_flow_setting_bool_exp!]" },
7756
+ account: { __type: "account_bool_exp" },
7736
7757
  account_id: { __type: "uuid_comparison_exp" },
7758
+ booking_channel: { __type: "booking_channel_bool_exp" },
7737
7759
  booking_channel_id: { __type: "uuid_comparison_exp" },
7760
+ connection: { __type: "connection_bool_exp" },
7738
7761
  connection_id: { __type: "uuid_comparison_exp" },
7762
+ contact: { __type: "contact_bool_exp" },
7739
7763
  contact_id: { __type: "uuid_comparison_exp" },
7764
+ flow: { __type: "core_flow_bool_exp" },
7740
7765
  flow_id: { __type: "uuid_comparison_exp" },
7741
7766
  id: { __type: "uuid_comparison_exp" },
7767
+ listing: { __type: "listing_bool_exp" },
7742
7768
  listing_id: { __type: "uuid_comparison_exp" },
7743
7769
  setting_key: { __type: "String_comparison_exp" },
7770
+ tenant: { __type: "tenant_bool_exp" },
7771
+ tenant_id: { __type: "uuid_comparison_exp" },
7744
7772
  value: { __type: "jsonb_comparison_exp" },
7745
7773
  },
7746
7774
  core_flow_setting_delete_at_path_input: { value: { __type: "[String!]" } },
7747
7775
  core_flow_setting_delete_elem_input: { value: { __type: "Int" } },
7748
7776
  core_flow_setting_delete_key_input: { value: { __type: "String" } },
7749
7777
  core_flow_setting_insert_input: {
7778
+ account: { __type: "account_obj_rel_insert_input" },
7750
7779
  account_id: { __type: "uuid" },
7780
+ booking_channel: { __type: "booking_channel_obj_rel_insert_input" },
7751
7781
  booking_channel_id: { __type: "uuid" },
7782
+ connection: { __type: "connection_obj_rel_insert_input" },
7752
7783
  connection_id: { __type: "uuid" },
7784
+ contact: { __type: "contact_obj_rel_insert_input" },
7753
7785
  contact_id: { __type: "uuid" },
7786
+ flow: { __type: "core_flow_obj_rel_insert_input" },
7754
7787
  flow_id: { __type: "uuid" },
7755
7788
  id: { __type: "uuid" },
7789
+ listing: { __type: "listing_obj_rel_insert_input" },
7756
7790
  listing_id: { __type: "uuid" },
7757
7791
  setting_key: { __type: "String" },
7792
+ tenant: { __type: "tenant_obj_rel_insert_input" },
7793
+ tenant_id: { __type: "uuid" },
7758
7794
  value: { __type: "jsonb" },
7759
7795
  },
7760
7796
  core_flow_setting_max_fields: {
@@ -7767,6 +7803,7 @@ exports.generatedSchema = {
7767
7803
  id: { __type: "uuid" },
7768
7804
  listing_id: { __type: "uuid" },
7769
7805
  setting_key: { __type: "String" },
7806
+ tenant_id: { __type: "uuid" },
7770
7807
  },
7771
7808
  core_flow_setting_min_fields: {
7772
7809
  __typename: { __type: "String!" },
@@ -7778,6 +7815,7 @@ exports.generatedSchema = {
7778
7815
  id: { __type: "uuid" },
7779
7816
  listing_id: { __type: "uuid" },
7780
7817
  setting_key: { __type: "String" },
7818
+ tenant_id: { __type: "uuid" },
7781
7819
  },
7782
7820
  core_flow_setting_mutation_response: {
7783
7821
  __typename: { __type: "String!" },
@@ -7790,14 +7828,22 @@ exports.generatedSchema = {
7790
7828
  where: { __type: "core_flow_setting_bool_exp" },
7791
7829
  },
7792
7830
  core_flow_setting_order_by: {
7831
+ account: { __type: "account_order_by" },
7793
7832
  account_id: { __type: "order_by" },
7833
+ booking_channel: { __type: "booking_channel_order_by" },
7794
7834
  booking_channel_id: { __type: "order_by" },
7835
+ connection: { __type: "connection_order_by" },
7795
7836
  connection_id: { __type: "order_by" },
7837
+ contact: { __type: "contact_order_by" },
7796
7838
  contact_id: { __type: "order_by" },
7839
+ flow: { __type: "core_flow_order_by" },
7797
7840
  flow_id: { __type: "order_by" },
7798
7841
  id: { __type: "order_by" },
7842
+ listing: { __type: "listing_order_by" },
7799
7843
  listing_id: { __type: "order_by" },
7800
7844
  setting_key: { __type: "order_by" },
7845
+ tenant: { __type: "tenant_order_by" },
7846
+ tenant_id: { __type: "order_by" },
7801
7847
  value: { __type: "order_by" },
7802
7848
  },
7803
7849
  core_flow_setting_pk_columns_input: { id: { __type: "uuid!" } },
@@ -7811,6 +7857,7 @@ exports.generatedSchema = {
7811
7857
  id: { __type: "uuid" },
7812
7858
  listing_id: { __type: "uuid" },
7813
7859
  setting_key: { __type: "String" },
7860
+ tenant_id: { __type: "uuid" },
7814
7861
  value: { __type: "jsonb" },
7815
7862
  },
7816
7863
  core_flow_setting_stream_cursor_input: {
@@ -7826,6 +7873,7 @@ exports.generatedSchema = {
7826
7873
  id: { __type: "uuid" },
7827
7874
  listing_id: { __type: "uuid" },
7828
7875
  setting_key: { __type: "String" },
7876
+ tenant_id: { __type: "uuid" },
7829
7877
  value: { __type: "jsonb" },
7830
7878
  },
7831
7879
  core_flow_setting_updates: {
@@ -1,4 +1,4 @@
1
- import { type RetryableFetchParams } from '@finalytic/utils';
1
+ import { type RetryableFetchParams } from '@vrplatform/utils';
2
2
  import { type GQtyClient } from 'gqty';
3
3
  import { type GeneratedSchema } from '../gqty';
4
4
  import type { GqlAuthParam } from '../types';
@@ -1,4 +1,4 @@
1
- import { defaultAssertRetryableResponse, formatResponse, useRetryableFetch, } from '@finalytic/utils';
1
+ import { defaultAssertRetryableResponse, formatResponse, useRetryableFetch, } from '@vrplatform/utils';
2
2
  import { createClient } from 'gqty';
3
3
  import { hasuraGraphqlUri, hasuraQueryTypeHeader } from '../constants';
4
4
  import { generatedSchema, scalarsEnumsHash, } from '../gqty';
@@ -1,4 +1,4 @@
1
- import { hasValue, utc } from '@finalytic/utils';
1
+ import { hasValue, utc } from '@vrplatform/utils';
2
2
  export function whereListingIsActive() {
3
3
  return {
4
4
  _or: [