@vrplatform/graphql 1.1.7 → 1.1.9

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
1
  import type { listing_bool_exp } from '../gqty';
2
2
  export declare function whereListingIsActive(): listing_bool_exp;
3
- export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string): listing_bool_exp;
3
+ export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string, includeUpcoming?: boolean): listing_bool_exp;
4
4
  export declare const whereGlListingIsInactive: (where?: listing_bool_exp, date?: string, includeUpcoming?: boolean) => listing_bool_exp;
@@ -24,7 +24,7 @@ function whereListingIsActive() {
24
24
  ],
25
25
  };
26
26
  }
27
- function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd()) {
27
+ function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd(), includeUpcoming = false) {
28
28
  const statusWhere = {
29
29
  _or: [
30
30
  {
@@ -33,27 +33,7 @@ function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd()) {
33
33
  },
34
34
  },
35
35
  {
36
- ownershipPeriods: {
37
- setListingInactive: { _eq: false },
38
- _or: [
39
- {
40
- startAt: {
41
- _lt: date,
42
- },
43
- endAt: {
44
- _gte: date,
45
- },
46
- },
47
- {
48
- startAt: {
49
- _lt: date,
50
- },
51
- endAt: {
52
- _is_null: true,
53
- },
54
- },
55
- ],
56
- },
36
+ _not: (0, exports.whereGlListingIsInactive)(undefined, date, includeUpcoming),
57
37
  },
58
38
  ],
59
39
  };
@@ -19488,6 +19488,8 @@ export interface reservation_bool_exp {
19488
19488
 
19489
19489
  /** unique or primary key constraints on table "reservation" */
19490
19490
  export type reservation_constraint =
19491
+ /** unique or primary key constraint on columns "calculated_deduplication_ref" */
19492
+ | "reservation_calculated_deduplication_ref_key"
19491
19493
  /** unique or primary key constraint on columns "unique_ref", "connection_id" */
19492
19494
  | "reservation_connection_id_unique_ref_key"
19493
19495
  /** unique or primary key constraint on columns "id" */
@@ -23643,6 +23645,8 @@ export interface tenant_bool_exp {
23643
23645
  billingPlan?: InputMaybe<String_comparison_exp>;
23644
23646
  billingSubscriptionStatus?: InputMaybe<String_comparison_exp>;
23645
23647
  billing_address_id?: InputMaybe<uuid_comparison_exp>;
23648
+ booksClosedAt?: InputMaybe<date_comparison_exp>;
23649
+ calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
23646
23650
  calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
23647
23651
  calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
23648
23652
  calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
@@ -23791,6 +23795,7 @@ export interface tenant_insert_input {
23791
23795
  billingPlan?: InputMaybe<Scalars["String"]>;
23792
23796
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
23793
23797
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
23798
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
23794
23799
  calculatedBillingPartner?: InputMaybe<tenant_obj_rel_insert_input>;
23795
23800
  /** Billing subscription is getting cancelled at date */
23796
23801
  cancelledAt?: InputMaybe<Scalars["date"]>;
@@ -23871,6 +23876,7 @@ export interface tenant_max_order_by {
23871
23876
  billingPlan?: InputMaybe<order_by>;
23872
23877
  billingSubscriptionStatus?: InputMaybe<order_by>;
23873
23878
  billing_address_id?: InputMaybe<order_by>;
23879
+ booksClosedAt?: InputMaybe<order_by>;
23874
23880
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23875
23881
  calculatedStatus?: InputMaybe<order_by>;
23876
23882
  /** Billing subscription is getting cancelled at date */
@@ -23914,6 +23920,7 @@ export interface tenant_min_order_by {
23914
23920
  billingPlan?: InputMaybe<order_by>;
23915
23921
  billingSubscriptionStatus?: InputMaybe<order_by>;
23916
23922
  billing_address_id?: InputMaybe<order_by>;
23923
+ booksClosedAt?: InputMaybe<order_by>;
23917
23924
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23918
23925
  calculatedStatus?: InputMaybe<order_by>;
23919
23926
  /** Billing subscription is getting cancelled at date */
@@ -23978,6 +23985,8 @@ export interface tenant_order_by {
23978
23985
  billingPlan?: InputMaybe<order_by>;
23979
23986
  billingSubscriptionStatus?: InputMaybe<order_by>;
23980
23987
  billing_address_id?: InputMaybe<order_by>;
23988
+ booksClosedAt?: InputMaybe<order_by>;
23989
+ calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
23981
23990
  calculatedBillingPartner?: InputMaybe<tenant_order_by>;
23982
23991
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23983
23992
  calculatedIsBillable?: InputMaybe<order_by>;
@@ -24088,6 +24097,8 @@ export type tenant_select_column =
24088
24097
  /** column name */
24089
24098
  | "billing_address_id"
24090
24099
  /** column name */
24100
+ | "booksClosedAt"
24101
+ /** column name */
24091
24102
  | "calculatedBillingPartnerId"
24092
24103
  /** column name */
24093
24104
  | "calculatedIsBillable"
@@ -24216,6 +24227,7 @@ export interface tenant_set_input {
24216
24227
  billingPlan?: InputMaybe<Scalars["String"]>;
24217
24228
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24218
24229
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24230
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24219
24231
  /** Billing subscription is getting cancelled at date */
24220
24232
  cancelledAt?: InputMaybe<Scalars["date"]>;
24221
24233
  chartOfAccountTenantId?: InputMaybe<Scalars["uuid"]>;
@@ -24296,6 +24308,7 @@ export interface tenant_stream_cursor_value_input {
24296
24308
  billingPlan?: InputMaybe<Scalars["String"]>;
24297
24309
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24298
24310
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24311
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24299
24312
  calculatedBillingPartnerId?: InputMaybe<Scalars["uuid"]>;
24300
24313
  calculatedIsBillable?: InputMaybe<Scalars["Boolean"]>;
24301
24314
  calculatedStatus?: InputMaybe<Scalars["String"]>;
@@ -24372,6 +24385,8 @@ export type tenant_update_column =
24372
24385
  /** column name */
24373
24386
  | "billing_address_id"
24374
24387
  /** column name */
24388
+ | "booksClosedAt"
24389
+ /** column name */
24375
24390
  | "cancelledAt"
24376
24391
  /** column name */
24377
24392
  | "chartOfAccountTenantId"
@@ -64996,6 +65011,8 @@ export declare const generatedSchema: {
64996
65011
  billingPlan: { __type: "String" };
64997
65012
  billingSubscriptionStatus: { __type: "String" };
64998
65013
  billing_address_id: { __type: "uuid" };
65014
+ booksClosedAt: { __type: "date" };
65015
+ calculatedAnalyticsBillingStatus: { __type: "String" };
64999
65016
  calculatedBillingPartner: { __type: "tenant" };
65000
65017
  calculatedBillingPartnerId: { __type: "uuid" };
65001
65018
  calculatedIsBillable: { __type: "Boolean" };
@@ -65628,6 +65645,8 @@ export declare const generatedSchema: {
65628
65645
  billingPlan: { __type: "String_comparison_exp" };
65629
65646
  billingSubscriptionStatus: { __type: "String_comparison_exp" };
65630
65647
  billing_address_id: { __type: "uuid_comparison_exp" };
65648
+ booksClosedAt: { __type: "date_comparison_exp" };
65649
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
65631
65650
  calculatedBillingPartner: { __type: "tenant_bool_exp" };
65632
65651
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
65633
65652
  calculatedIsBillable: { __type: "Boolean_comparison_exp" };
@@ -65769,6 +65788,7 @@ export declare const generatedSchema: {
65769
65788
  billingPlan: { __type: "String" };
65770
65789
  billingSubscriptionStatus: { __type: "String" };
65771
65790
  billing_address_id: { __type: "uuid" };
65791
+ booksClosedAt: { __type: "date" };
65772
65792
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" };
65773
65793
  cancelledAt: { __type: "date" };
65774
65794
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" };
@@ -65847,6 +65867,8 @@ export declare const generatedSchema: {
65847
65867
  billingPlan: { __type: "String" };
65848
65868
  billingSubscriptionStatus: { __type: "String" };
65849
65869
  billing_address_id: { __type: "uuid" };
65870
+ booksClosedAt: { __type: "date" };
65871
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65850
65872
  calculatedBillingPartnerId: { __type: "uuid" };
65851
65873
  calculatedStatus: { __type: "String" };
65852
65874
  cancelledAt: { __type: "date" };
@@ -65887,6 +65909,7 @@ export declare const generatedSchema: {
65887
65909
  billingPlan: { __type: "order_by" };
65888
65910
  billingSubscriptionStatus: { __type: "order_by" };
65889
65911
  billing_address_id: { __type: "order_by" };
65912
+ booksClosedAt: { __type: "order_by" };
65890
65913
  calculatedBillingPartnerId: { __type: "order_by" };
65891
65914
  calculatedStatus: { __type: "order_by" };
65892
65915
  cancelledAt: { __type: "order_by" };
@@ -65928,6 +65951,8 @@ export declare const generatedSchema: {
65928
65951
  billingPlan: { __type: "String" };
65929
65952
  billingSubscriptionStatus: { __type: "String" };
65930
65953
  billing_address_id: { __type: "uuid" };
65954
+ booksClosedAt: { __type: "date" };
65955
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65931
65956
  calculatedBillingPartnerId: { __type: "uuid" };
65932
65957
  calculatedStatus: { __type: "String" };
65933
65958
  cancelledAt: { __type: "date" };
@@ -65968,6 +65993,7 @@ export declare const generatedSchema: {
65968
65993
  billingPlan: { __type: "order_by" };
65969
65994
  billingSubscriptionStatus: { __type: "order_by" };
65970
65995
  billing_address_id: { __type: "order_by" };
65996
+ booksClosedAt: { __type: "order_by" };
65971
65997
  calculatedBillingPartnerId: { __type: "order_by" };
65972
65998
  calculatedStatus: { __type: "order_by" };
65973
65999
  cancelledAt: { __type: "order_by" };
@@ -66029,6 +66055,8 @@ export declare const generatedSchema: {
66029
66055
  billingPlan: { __type: "order_by" };
66030
66056
  billingSubscriptionStatus: { __type: "order_by" };
66031
66057
  billing_address_id: { __type: "order_by" };
66058
+ booksClosedAt: { __type: "order_by" };
66059
+ calculatedAnalyticsBillingStatus: { __type: "order_by" };
66032
66060
  calculatedBillingPartner: { __type: "tenant_order_by" };
66033
66061
  calculatedBillingPartnerId: { __type: "order_by" };
66034
66062
  calculatedIsBillable: { __type: "order_by" };
@@ -66124,6 +66152,7 @@ export declare const generatedSchema: {
66124
66152
  billingPlan: { __type: "String" };
66125
66153
  billingSubscriptionStatus: { __type: "String" };
66126
66154
  billing_address_id: { __type: "uuid" };
66155
+ booksClosedAt: { __type: "date" };
66127
66156
  cancelledAt: { __type: "date" };
66128
66157
  chartOfAccountTenantId: { __type: "uuid" };
66129
66158
  clerkId: { __type: "String" };
@@ -66206,6 +66235,7 @@ export declare const generatedSchema: {
66206
66235
  billingPlan: { __type: "String" };
66207
66236
  billingSubscriptionStatus: { __type: "String" };
66208
66237
  billing_address_id: { __type: "uuid" };
66238
+ booksClosedAt: { __type: "date" };
66209
66239
  calculatedBillingPartnerId: { __type: "uuid" };
66210
66240
  calculatedIsBillable: { __type: "Boolean" };
66211
66241
  calculatedStatus: { __type: "String" };
@@ -99800,6 +99830,11 @@ export interface tenant {
99800
99830
  billingPlan?: Maybe<ScalarsEnums["String"]>;
99801
99831
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
99802
99832
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
99833
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
99834
+ /**
99835
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
99836
+ */
99837
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
99803
99838
  /**
99804
99839
  * An object relationship
99805
99840
  */
@@ -101132,6 +101167,11 @@ export interface tenant_max_fields {
101132
101167
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101133
101168
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101134
101169
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101170
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101171
+ /**
101172
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101173
+ */
101174
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101135
101175
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101136
101176
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101137
101177
  /**
@@ -101180,6 +101220,11 @@ export interface tenant_min_fields {
101180
101220
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101181
101221
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101182
101222
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101223
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101224
+ /**
101225
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101226
+ */
101227
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101183
101228
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101184
101229
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101185
101230
  /**
@@ -37204,6 +37204,8 @@ exports.generatedSchema = {
37204
37204
  billingPlan: { __type: "String" },
37205
37205
  billingSubscriptionStatus: { __type: "String" },
37206
37206
  billing_address_id: { __type: "uuid" },
37207
+ booksClosedAt: { __type: "date" },
37208
+ calculatedAnalyticsBillingStatus: { __type: "String" },
37207
37209
  calculatedBillingPartner: { __type: "tenant" },
37208
37210
  calculatedBillingPartnerId: { __type: "uuid" },
37209
37211
  calculatedIsBillable: { __type: "Boolean" },
@@ -37836,6 +37838,8 @@ exports.generatedSchema = {
37836
37838
  billingPlan: { __type: "String_comparison_exp" },
37837
37839
  billingSubscriptionStatus: { __type: "String_comparison_exp" },
37838
37840
  billing_address_id: { __type: "uuid_comparison_exp" },
37841
+ booksClosedAt: { __type: "date_comparison_exp" },
37842
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
37839
37843
  calculatedBillingPartner: { __type: "tenant_bool_exp" },
37840
37844
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
37841
37845
  calculatedIsBillable: { __type: "Boolean_comparison_exp" },
@@ -37977,6 +37981,7 @@ exports.generatedSchema = {
37977
37981
  billingPlan: { __type: "String" },
37978
37982
  billingSubscriptionStatus: { __type: "String" },
37979
37983
  billing_address_id: { __type: "uuid" },
37984
+ booksClosedAt: { __type: "date" },
37980
37985
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" },
37981
37986
  cancelledAt: { __type: "date" },
37982
37987
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" },
@@ -38055,6 +38060,8 @@ exports.generatedSchema = {
38055
38060
  billingPlan: { __type: "String" },
38056
38061
  billingSubscriptionStatus: { __type: "String" },
38057
38062
  billing_address_id: { __type: "uuid" },
38063
+ booksClosedAt: { __type: "date" },
38064
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38058
38065
  calculatedBillingPartnerId: { __type: "uuid" },
38059
38066
  calculatedStatus: { __type: "String" },
38060
38067
  cancelledAt: { __type: "date" },
@@ -38095,6 +38102,7 @@ exports.generatedSchema = {
38095
38102
  billingPlan: { __type: "order_by" },
38096
38103
  billingSubscriptionStatus: { __type: "order_by" },
38097
38104
  billing_address_id: { __type: "order_by" },
38105
+ booksClosedAt: { __type: "order_by" },
38098
38106
  calculatedBillingPartnerId: { __type: "order_by" },
38099
38107
  calculatedStatus: { __type: "order_by" },
38100
38108
  cancelledAt: { __type: "order_by" },
@@ -38136,6 +38144,8 @@ exports.generatedSchema = {
38136
38144
  billingPlan: { __type: "String" },
38137
38145
  billingSubscriptionStatus: { __type: "String" },
38138
38146
  billing_address_id: { __type: "uuid" },
38147
+ booksClosedAt: { __type: "date" },
38148
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38139
38149
  calculatedBillingPartnerId: { __type: "uuid" },
38140
38150
  calculatedStatus: { __type: "String" },
38141
38151
  cancelledAt: { __type: "date" },
@@ -38176,6 +38186,7 @@ exports.generatedSchema = {
38176
38186
  billingPlan: { __type: "order_by" },
38177
38187
  billingSubscriptionStatus: { __type: "order_by" },
38178
38188
  billing_address_id: { __type: "order_by" },
38189
+ booksClosedAt: { __type: "order_by" },
38179
38190
  calculatedBillingPartnerId: { __type: "order_by" },
38180
38191
  calculatedStatus: { __type: "order_by" },
38181
38192
  cancelledAt: { __type: "order_by" },
@@ -38237,6 +38248,8 @@ exports.generatedSchema = {
38237
38248
  billingPlan: { __type: "order_by" },
38238
38249
  billingSubscriptionStatus: { __type: "order_by" },
38239
38250
  billing_address_id: { __type: "order_by" },
38251
+ booksClosedAt: { __type: "order_by" },
38252
+ calculatedAnalyticsBillingStatus: { __type: "order_by" },
38240
38253
  calculatedBillingPartner: { __type: "tenant_order_by" },
38241
38254
  calculatedBillingPartnerId: { __type: "order_by" },
38242
38255
  calculatedIsBillable: { __type: "order_by" },
@@ -38332,6 +38345,7 @@ exports.generatedSchema = {
38332
38345
  billingPlan: { __type: "String" },
38333
38346
  billingSubscriptionStatus: { __type: "String" },
38334
38347
  billing_address_id: { __type: "uuid" },
38348
+ booksClosedAt: { __type: "date" },
38335
38349
  cancelledAt: { __type: "date" },
38336
38350
  chartOfAccountTenantId: { __type: "uuid" },
38337
38351
  clerkId: { __type: "String" },
@@ -38414,6 +38428,7 @@ exports.generatedSchema = {
38414
38428
  billingPlan: { __type: "String" },
38415
38429
  billingSubscriptionStatus: { __type: "String" },
38416
38430
  billing_address_id: { __type: "uuid" },
38431
+ booksClosedAt: { __type: "date" },
38417
38432
  calculatedBillingPartnerId: { __type: "uuid" },
38418
38433
  calculatedIsBillable: { __type: "Boolean" },
38419
38434
  calculatedStatus: { __type: "String" },
@@ -1,4 +1,4 @@
1
1
  import type { listing_bool_exp } from '../gqty';
2
2
  export declare function whereListingIsActive(): listing_bool_exp;
3
- export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string): listing_bool_exp;
3
+ export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string, includeUpcoming?: boolean): listing_bool_exp;
4
4
  export declare const whereGlListingIsInactive: (where?: listing_bool_exp, date?: string, includeUpcoming?: boolean) => listing_bool_exp;
@@ -19,7 +19,7 @@ export function whereListingIsActive() {
19
19
  ],
20
20
  };
21
21
  }
22
- export function whereGlListingIsActive(where, date = utc().yyyymmdd()) {
22
+ export function whereGlListingIsActive(where, date = utc().yyyymmdd(), includeUpcoming = false) {
23
23
  const statusWhere = {
24
24
  _or: [
25
25
  {
@@ -28,27 +28,7 @@ export function whereGlListingIsActive(where, date = utc().yyyymmdd()) {
28
28
  },
29
29
  },
30
30
  {
31
- ownershipPeriods: {
32
- setListingInactive: { _eq: false },
33
- _or: [
34
- {
35
- startAt: {
36
- _lt: date,
37
- },
38
- endAt: {
39
- _gte: date,
40
- },
41
- },
42
- {
43
- startAt: {
44
- _lt: date,
45
- },
46
- endAt: {
47
- _is_null: true,
48
- },
49
- },
50
- ],
51
- },
31
+ _not: whereGlListingIsInactive(undefined, date, includeUpcoming),
52
32
  },
53
33
  ],
54
34
  };
@@ -19488,6 +19488,8 @@ export interface reservation_bool_exp {
19488
19488
 
19489
19489
  /** unique or primary key constraints on table "reservation" */
19490
19490
  export type reservation_constraint =
19491
+ /** unique or primary key constraint on columns "calculated_deduplication_ref" */
19492
+ | "reservation_calculated_deduplication_ref_key"
19491
19493
  /** unique or primary key constraint on columns "unique_ref", "connection_id" */
19492
19494
  | "reservation_connection_id_unique_ref_key"
19493
19495
  /** unique or primary key constraint on columns "id" */
@@ -23643,6 +23645,8 @@ export interface tenant_bool_exp {
23643
23645
  billingPlan?: InputMaybe<String_comparison_exp>;
23644
23646
  billingSubscriptionStatus?: InputMaybe<String_comparison_exp>;
23645
23647
  billing_address_id?: InputMaybe<uuid_comparison_exp>;
23648
+ booksClosedAt?: InputMaybe<date_comparison_exp>;
23649
+ calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
23646
23650
  calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
23647
23651
  calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
23648
23652
  calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
@@ -23791,6 +23795,7 @@ export interface tenant_insert_input {
23791
23795
  billingPlan?: InputMaybe<Scalars["String"]>;
23792
23796
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
23793
23797
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
23798
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
23794
23799
  calculatedBillingPartner?: InputMaybe<tenant_obj_rel_insert_input>;
23795
23800
  /** Billing subscription is getting cancelled at date */
23796
23801
  cancelledAt?: InputMaybe<Scalars["date"]>;
@@ -23871,6 +23876,7 @@ export interface tenant_max_order_by {
23871
23876
  billingPlan?: InputMaybe<order_by>;
23872
23877
  billingSubscriptionStatus?: InputMaybe<order_by>;
23873
23878
  billing_address_id?: InputMaybe<order_by>;
23879
+ booksClosedAt?: InputMaybe<order_by>;
23874
23880
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23875
23881
  calculatedStatus?: InputMaybe<order_by>;
23876
23882
  /** Billing subscription is getting cancelled at date */
@@ -23914,6 +23920,7 @@ export interface tenant_min_order_by {
23914
23920
  billingPlan?: InputMaybe<order_by>;
23915
23921
  billingSubscriptionStatus?: InputMaybe<order_by>;
23916
23922
  billing_address_id?: InputMaybe<order_by>;
23923
+ booksClosedAt?: InputMaybe<order_by>;
23917
23924
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23918
23925
  calculatedStatus?: InputMaybe<order_by>;
23919
23926
  /** Billing subscription is getting cancelled at date */
@@ -23978,6 +23985,8 @@ export interface tenant_order_by {
23978
23985
  billingPlan?: InputMaybe<order_by>;
23979
23986
  billingSubscriptionStatus?: InputMaybe<order_by>;
23980
23987
  billing_address_id?: InputMaybe<order_by>;
23988
+ booksClosedAt?: InputMaybe<order_by>;
23989
+ calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
23981
23990
  calculatedBillingPartner?: InputMaybe<tenant_order_by>;
23982
23991
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23983
23992
  calculatedIsBillable?: InputMaybe<order_by>;
@@ -24088,6 +24097,8 @@ export type tenant_select_column =
24088
24097
  /** column name */
24089
24098
  | "billing_address_id"
24090
24099
  /** column name */
24100
+ | "booksClosedAt"
24101
+ /** column name */
24091
24102
  | "calculatedBillingPartnerId"
24092
24103
  /** column name */
24093
24104
  | "calculatedIsBillable"
@@ -24216,6 +24227,7 @@ export interface tenant_set_input {
24216
24227
  billingPlan?: InputMaybe<Scalars["String"]>;
24217
24228
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24218
24229
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24230
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24219
24231
  /** Billing subscription is getting cancelled at date */
24220
24232
  cancelledAt?: InputMaybe<Scalars["date"]>;
24221
24233
  chartOfAccountTenantId?: InputMaybe<Scalars["uuid"]>;
@@ -24296,6 +24308,7 @@ export interface tenant_stream_cursor_value_input {
24296
24308
  billingPlan?: InputMaybe<Scalars["String"]>;
24297
24309
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24298
24310
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24311
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24299
24312
  calculatedBillingPartnerId?: InputMaybe<Scalars["uuid"]>;
24300
24313
  calculatedIsBillable?: InputMaybe<Scalars["Boolean"]>;
24301
24314
  calculatedStatus?: InputMaybe<Scalars["String"]>;
@@ -24372,6 +24385,8 @@ export type tenant_update_column =
24372
24385
  /** column name */
24373
24386
  | "billing_address_id"
24374
24387
  /** column name */
24388
+ | "booksClosedAt"
24389
+ /** column name */
24375
24390
  | "cancelledAt"
24376
24391
  /** column name */
24377
24392
  | "chartOfAccountTenantId"
@@ -64996,6 +65011,8 @@ export declare const generatedSchema: {
64996
65011
  billingPlan: { __type: "String" };
64997
65012
  billingSubscriptionStatus: { __type: "String" };
64998
65013
  billing_address_id: { __type: "uuid" };
65014
+ booksClosedAt: { __type: "date" };
65015
+ calculatedAnalyticsBillingStatus: { __type: "String" };
64999
65016
  calculatedBillingPartner: { __type: "tenant" };
65000
65017
  calculatedBillingPartnerId: { __type: "uuid" };
65001
65018
  calculatedIsBillable: { __type: "Boolean" };
@@ -65628,6 +65645,8 @@ export declare const generatedSchema: {
65628
65645
  billingPlan: { __type: "String_comparison_exp" };
65629
65646
  billingSubscriptionStatus: { __type: "String_comparison_exp" };
65630
65647
  billing_address_id: { __type: "uuid_comparison_exp" };
65648
+ booksClosedAt: { __type: "date_comparison_exp" };
65649
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
65631
65650
  calculatedBillingPartner: { __type: "tenant_bool_exp" };
65632
65651
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
65633
65652
  calculatedIsBillable: { __type: "Boolean_comparison_exp" };
@@ -65769,6 +65788,7 @@ export declare const generatedSchema: {
65769
65788
  billingPlan: { __type: "String" };
65770
65789
  billingSubscriptionStatus: { __type: "String" };
65771
65790
  billing_address_id: { __type: "uuid" };
65791
+ booksClosedAt: { __type: "date" };
65772
65792
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" };
65773
65793
  cancelledAt: { __type: "date" };
65774
65794
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" };
@@ -65847,6 +65867,8 @@ export declare const generatedSchema: {
65847
65867
  billingPlan: { __type: "String" };
65848
65868
  billingSubscriptionStatus: { __type: "String" };
65849
65869
  billing_address_id: { __type: "uuid" };
65870
+ booksClosedAt: { __type: "date" };
65871
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65850
65872
  calculatedBillingPartnerId: { __type: "uuid" };
65851
65873
  calculatedStatus: { __type: "String" };
65852
65874
  cancelledAt: { __type: "date" };
@@ -65887,6 +65909,7 @@ export declare const generatedSchema: {
65887
65909
  billingPlan: { __type: "order_by" };
65888
65910
  billingSubscriptionStatus: { __type: "order_by" };
65889
65911
  billing_address_id: { __type: "order_by" };
65912
+ booksClosedAt: { __type: "order_by" };
65890
65913
  calculatedBillingPartnerId: { __type: "order_by" };
65891
65914
  calculatedStatus: { __type: "order_by" };
65892
65915
  cancelledAt: { __type: "order_by" };
@@ -65928,6 +65951,8 @@ export declare const generatedSchema: {
65928
65951
  billingPlan: { __type: "String" };
65929
65952
  billingSubscriptionStatus: { __type: "String" };
65930
65953
  billing_address_id: { __type: "uuid" };
65954
+ booksClosedAt: { __type: "date" };
65955
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65931
65956
  calculatedBillingPartnerId: { __type: "uuid" };
65932
65957
  calculatedStatus: { __type: "String" };
65933
65958
  cancelledAt: { __type: "date" };
@@ -65968,6 +65993,7 @@ export declare const generatedSchema: {
65968
65993
  billingPlan: { __type: "order_by" };
65969
65994
  billingSubscriptionStatus: { __type: "order_by" };
65970
65995
  billing_address_id: { __type: "order_by" };
65996
+ booksClosedAt: { __type: "order_by" };
65971
65997
  calculatedBillingPartnerId: { __type: "order_by" };
65972
65998
  calculatedStatus: { __type: "order_by" };
65973
65999
  cancelledAt: { __type: "order_by" };
@@ -66029,6 +66055,8 @@ export declare const generatedSchema: {
66029
66055
  billingPlan: { __type: "order_by" };
66030
66056
  billingSubscriptionStatus: { __type: "order_by" };
66031
66057
  billing_address_id: { __type: "order_by" };
66058
+ booksClosedAt: { __type: "order_by" };
66059
+ calculatedAnalyticsBillingStatus: { __type: "order_by" };
66032
66060
  calculatedBillingPartner: { __type: "tenant_order_by" };
66033
66061
  calculatedBillingPartnerId: { __type: "order_by" };
66034
66062
  calculatedIsBillable: { __type: "order_by" };
@@ -66124,6 +66152,7 @@ export declare const generatedSchema: {
66124
66152
  billingPlan: { __type: "String" };
66125
66153
  billingSubscriptionStatus: { __type: "String" };
66126
66154
  billing_address_id: { __type: "uuid" };
66155
+ booksClosedAt: { __type: "date" };
66127
66156
  cancelledAt: { __type: "date" };
66128
66157
  chartOfAccountTenantId: { __type: "uuid" };
66129
66158
  clerkId: { __type: "String" };
@@ -66206,6 +66235,7 @@ export declare const generatedSchema: {
66206
66235
  billingPlan: { __type: "String" };
66207
66236
  billingSubscriptionStatus: { __type: "String" };
66208
66237
  billing_address_id: { __type: "uuid" };
66238
+ booksClosedAt: { __type: "date" };
66209
66239
  calculatedBillingPartnerId: { __type: "uuid" };
66210
66240
  calculatedIsBillable: { __type: "Boolean" };
66211
66241
  calculatedStatus: { __type: "String" };
@@ -99800,6 +99830,11 @@ export interface tenant {
99800
99830
  billingPlan?: Maybe<ScalarsEnums["String"]>;
99801
99831
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
99802
99832
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
99833
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
99834
+ /**
99835
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
99836
+ */
99837
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
99803
99838
  /**
99804
99839
  * An object relationship
99805
99840
  */
@@ -101132,6 +101167,11 @@ export interface tenant_max_fields {
101132
101167
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101133
101168
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101134
101169
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101170
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101171
+ /**
101172
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101173
+ */
101174
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101135
101175
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101136
101176
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101137
101177
  /**
@@ -101180,6 +101220,11 @@ export interface tenant_min_fields {
101180
101220
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101181
101221
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101182
101222
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101223
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101224
+ /**
101225
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101226
+ */
101227
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101183
101228
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101184
101229
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101185
101230
  /**
@@ -37201,6 +37201,8 @@ export const generatedSchema = {
37201
37201
  billingPlan: { __type: "String" },
37202
37202
  billingSubscriptionStatus: { __type: "String" },
37203
37203
  billing_address_id: { __type: "uuid" },
37204
+ booksClosedAt: { __type: "date" },
37205
+ calculatedAnalyticsBillingStatus: { __type: "String" },
37204
37206
  calculatedBillingPartner: { __type: "tenant" },
37205
37207
  calculatedBillingPartnerId: { __type: "uuid" },
37206
37208
  calculatedIsBillable: { __type: "Boolean" },
@@ -37833,6 +37835,8 @@ export const generatedSchema = {
37833
37835
  billingPlan: { __type: "String_comparison_exp" },
37834
37836
  billingSubscriptionStatus: { __type: "String_comparison_exp" },
37835
37837
  billing_address_id: { __type: "uuid_comparison_exp" },
37838
+ booksClosedAt: { __type: "date_comparison_exp" },
37839
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
37836
37840
  calculatedBillingPartner: { __type: "tenant_bool_exp" },
37837
37841
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
37838
37842
  calculatedIsBillable: { __type: "Boolean_comparison_exp" },
@@ -37974,6 +37978,7 @@ export const generatedSchema = {
37974
37978
  billingPlan: { __type: "String" },
37975
37979
  billingSubscriptionStatus: { __type: "String" },
37976
37980
  billing_address_id: { __type: "uuid" },
37981
+ booksClosedAt: { __type: "date" },
37977
37982
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" },
37978
37983
  cancelledAt: { __type: "date" },
37979
37984
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" },
@@ -38052,6 +38057,8 @@ export const generatedSchema = {
38052
38057
  billingPlan: { __type: "String" },
38053
38058
  billingSubscriptionStatus: { __type: "String" },
38054
38059
  billing_address_id: { __type: "uuid" },
38060
+ booksClosedAt: { __type: "date" },
38061
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38055
38062
  calculatedBillingPartnerId: { __type: "uuid" },
38056
38063
  calculatedStatus: { __type: "String" },
38057
38064
  cancelledAt: { __type: "date" },
@@ -38092,6 +38099,7 @@ export const generatedSchema = {
38092
38099
  billingPlan: { __type: "order_by" },
38093
38100
  billingSubscriptionStatus: { __type: "order_by" },
38094
38101
  billing_address_id: { __type: "order_by" },
38102
+ booksClosedAt: { __type: "order_by" },
38095
38103
  calculatedBillingPartnerId: { __type: "order_by" },
38096
38104
  calculatedStatus: { __type: "order_by" },
38097
38105
  cancelledAt: { __type: "order_by" },
@@ -38133,6 +38141,8 @@ export const generatedSchema = {
38133
38141
  billingPlan: { __type: "String" },
38134
38142
  billingSubscriptionStatus: { __type: "String" },
38135
38143
  billing_address_id: { __type: "uuid" },
38144
+ booksClosedAt: { __type: "date" },
38145
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38136
38146
  calculatedBillingPartnerId: { __type: "uuid" },
38137
38147
  calculatedStatus: { __type: "String" },
38138
38148
  cancelledAt: { __type: "date" },
@@ -38173,6 +38183,7 @@ export const generatedSchema = {
38173
38183
  billingPlan: { __type: "order_by" },
38174
38184
  billingSubscriptionStatus: { __type: "order_by" },
38175
38185
  billing_address_id: { __type: "order_by" },
38186
+ booksClosedAt: { __type: "order_by" },
38176
38187
  calculatedBillingPartnerId: { __type: "order_by" },
38177
38188
  calculatedStatus: { __type: "order_by" },
38178
38189
  cancelledAt: { __type: "order_by" },
@@ -38234,6 +38245,8 @@ export const generatedSchema = {
38234
38245
  billingPlan: { __type: "order_by" },
38235
38246
  billingSubscriptionStatus: { __type: "order_by" },
38236
38247
  billing_address_id: { __type: "order_by" },
38248
+ booksClosedAt: { __type: "order_by" },
38249
+ calculatedAnalyticsBillingStatus: { __type: "order_by" },
38237
38250
  calculatedBillingPartner: { __type: "tenant_order_by" },
38238
38251
  calculatedBillingPartnerId: { __type: "order_by" },
38239
38252
  calculatedIsBillable: { __type: "order_by" },
@@ -38329,6 +38342,7 @@ export const generatedSchema = {
38329
38342
  billingPlan: { __type: "String" },
38330
38343
  billingSubscriptionStatus: { __type: "String" },
38331
38344
  billing_address_id: { __type: "uuid" },
38345
+ booksClosedAt: { __type: "date" },
38332
38346
  cancelledAt: { __type: "date" },
38333
38347
  chartOfAccountTenantId: { __type: "uuid" },
38334
38348
  clerkId: { __type: "String" },
@@ -38411,6 +38425,7 @@ export const generatedSchema = {
38411
38425
  billingPlan: { __type: "String" },
38412
38426
  billingSubscriptionStatus: { __type: "String" },
38413
38427
  billing_address_id: { __type: "uuid" },
38428
+ booksClosedAt: { __type: "date" },
38414
38429
  calculatedBillingPartnerId: { __type: "uuid" },
38415
38430
  calculatedIsBillable: { __type: "Boolean" },
38416
38431
  calculatedStatus: { __type: "String" },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "!**/*.spec.*",
11
11
  "LICENSE"
12
12
  ],
13
- "version": "1.1.7",
13
+ "version": "1.1.9",
14
14
  "description": "Finalytic graphql",
15
15
  "main": "build/main/index.js",
16
16
  "module": "build/module/index.js",
@@ -24,7 +24,8 @@ export function whereListingIsActive(): listing_bool_exp {
24
24
 
25
25
  export function whereGlListingIsActive(
26
26
  where?: listing_bool_exp,
27
- date: string = utc().yyyymmdd()
27
+ date: string = utc().yyyymmdd(),
28
+ includeUpcoming = false
28
29
  ): listing_bool_exp {
29
30
  const statusWhere = {
30
31
  _or: [
@@ -34,27 +35,7 @@ export function whereGlListingIsActive(
34
35
  },
35
36
  },
36
37
  {
37
- ownershipPeriods: {
38
- setListingInactive: { _eq: false },
39
- _or: [
40
- {
41
- startAt: {
42
- _lt: date,
43
- },
44
- endAt: {
45
- _gte: date,
46
- },
47
- },
48
- {
49
- startAt: {
50
- _lt: date,
51
- },
52
- endAt: {
53
- _is_null: true,
54
- },
55
- },
56
- ],
57
- },
38
+ _not: whereGlListingIsInactive(undefined, date, includeUpcoming),
58
39
  },
59
40
  ],
60
41
  } satisfies listing_bool_exp;
@@ -19488,6 +19488,8 @@ export interface reservation_bool_exp {
19488
19488
 
19489
19489
  /** unique or primary key constraints on table "reservation" */
19490
19490
  export type reservation_constraint =
19491
+ /** unique or primary key constraint on columns "calculated_deduplication_ref" */
19492
+ | "reservation_calculated_deduplication_ref_key"
19491
19493
  /** unique or primary key constraint on columns "unique_ref", "connection_id" */
19492
19494
  | "reservation_connection_id_unique_ref_key"
19493
19495
  /** unique or primary key constraint on columns "id" */
@@ -23643,6 +23645,8 @@ export interface tenant_bool_exp {
23643
23645
  billingPlan?: InputMaybe<String_comparison_exp>;
23644
23646
  billingSubscriptionStatus?: InputMaybe<String_comparison_exp>;
23645
23647
  billing_address_id?: InputMaybe<uuid_comparison_exp>;
23648
+ booksClosedAt?: InputMaybe<date_comparison_exp>;
23649
+ calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
23646
23650
  calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
23647
23651
  calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
23648
23652
  calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
@@ -23791,6 +23795,7 @@ export interface tenant_insert_input {
23791
23795
  billingPlan?: InputMaybe<Scalars["String"]>;
23792
23796
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
23793
23797
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
23798
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
23794
23799
  calculatedBillingPartner?: InputMaybe<tenant_obj_rel_insert_input>;
23795
23800
  /** Billing subscription is getting cancelled at date */
23796
23801
  cancelledAt?: InputMaybe<Scalars["date"]>;
@@ -23871,6 +23876,7 @@ export interface tenant_max_order_by {
23871
23876
  billingPlan?: InputMaybe<order_by>;
23872
23877
  billingSubscriptionStatus?: InputMaybe<order_by>;
23873
23878
  billing_address_id?: InputMaybe<order_by>;
23879
+ booksClosedAt?: InputMaybe<order_by>;
23874
23880
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23875
23881
  calculatedStatus?: InputMaybe<order_by>;
23876
23882
  /** Billing subscription is getting cancelled at date */
@@ -23914,6 +23920,7 @@ export interface tenant_min_order_by {
23914
23920
  billingPlan?: InputMaybe<order_by>;
23915
23921
  billingSubscriptionStatus?: InputMaybe<order_by>;
23916
23922
  billing_address_id?: InputMaybe<order_by>;
23923
+ booksClosedAt?: InputMaybe<order_by>;
23917
23924
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23918
23925
  calculatedStatus?: InputMaybe<order_by>;
23919
23926
  /** Billing subscription is getting cancelled at date */
@@ -23978,6 +23985,8 @@ export interface tenant_order_by {
23978
23985
  billingPlan?: InputMaybe<order_by>;
23979
23986
  billingSubscriptionStatus?: InputMaybe<order_by>;
23980
23987
  billing_address_id?: InputMaybe<order_by>;
23988
+ booksClosedAt?: InputMaybe<order_by>;
23989
+ calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
23981
23990
  calculatedBillingPartner?: InputMaybe<tenant_order_by>;
23982
23991
  calculatedBillingPartnerId?: InputMaybe<order_by>;
23983
23992
  calculatedIsBillable?: InputMaybe<order_by>;
@@ -24088,6 +24097,8 @@ export type tenant_select_column =
24088
24097
  /** column name */
24089
24098
  | "billing_address_id"
24090
24099
  /** column name */
24100
+ | "booksClosedAt"
24101
+ /** column name */
24091
24102
  | "calculatedBillingPartnerId"
24092
24103
  /** column name */
24093
24104
  | "calculatedIsBillable"
@@ -24216,6 +24227,7 @@ export interface tenant_set_input {
24216
24227
  billingPlan?: InputMaybe<Scalars["String"]>;
24217
24228
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24218
24229
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24230
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24219
24231
  /** Billing subscription is getting cancelled at date */
24220
24232
  cancelledAt?: InputMaybe<Scalars["date"]>;
24221
24233
  chartOfAccountTenantId?: InputMaybe<Scalars["uuid"]>;
@@ -24296,6 +24308,7 @@ export interface tenant_stream_cursor_value_input {
24296
24308
  billingPlan?: InputMaybe<Scalars["String"]>;
24297
24309
  billingSubscriptionStatus?: InputMaybe<Scalars["String"]>;
24298
24310
  billing_address_id?: InputMaybe<Scalars["uuid"]>;
24311
+ booksClosedAt?: InputMaybe<Scalars["date"]>;
24299
24312
  calculatedBillingPartnerId?: InputMaybe<Scalars["uuid"]>;
24300
24313
  calculatedIsBillable?: InputMaybe<Scalars["Boolean"]>;
24301
24314
  calculatedStatus?: InputMaybe<Scalars["String"]>;
@@ -24372,6 +24385,8 @@ export type tenant_update_column =
24372
24385
  /** column name */
24373
24386
  | "billing_address_id"
24374
24387
  /** column name */
24388
+ | "booksClosedAt"
24389
+ /** column name */
24375
24390
  | "cancelledAt"
24376
24391
  /** column name */
24377
24392
  | "chartOfAccountTenantId"
@@ -64996,6 +65011,8 @@ export declare const generatedSchema: {
64996
65011
  billingPlan: { __type: "String" };
64997
65012
  billingSubscriptionStatus: { __type: "String" };
64998
65013
  billing_address_id: { __type: "uuid" };
65014
+ booksClosedAt: { __type: "date" };
65015
+ calculatedAnalyticsBillingStatus: { __type: "String" };
64999
65016
  calculatedBillingPartner: { __type: "tenant" };
65000
65017
  calculatedBillingPartnerId: { __type: "uuid" };
65001
65018
  calculatedIsBillable: { __type: "Boolean" };
@@ -65628,6 +65645,8 @@ export declare const generatedSchema: {
65628
65645
  billingPlan: { __type: "String_comparison_exp" };
65629
65646
  billingSubscriptionStatus: { __type: "String_comparison_exp" };
65630
65647
  billing_address_id: { __type: "uuid_comparison_exp" };
65648
+ booksClosedAt: { __type: "date_comparison_exp" };
65649
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
65631
65650
  calculatedBillingPartner: { __type: "tenant_bool_exp" };
65632
65651
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
65633
65652
  calculatedIsBillable: { __type: "Boolean_comparison_exp" };
@@ -65769,6 +65788,7 @@ export declare const generatedSchema: {
65769
65788
  billingPlan: { __type: "String" };
65770
65789
  billingSubscriptionStatus: { __type: "String" };
65771
65790
  billing_address_id: { __type: "uuid" };
65791
+ booksClosedAt: { __type: "date" };
65772
65792
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" };
65773
65793
  cancelledAt: { __type: "date" };
65774
65794
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" };
@@ -65847,6 +65867,8 @@ export declare const generatedSchema: {
65847
65867
  billingPlan: { __type: "String" };
65848
65868
  billingSubscriptionStatus: { __type: "String" };
65849
65869
  billing_address_id: { __type: "uuid" };
65870
+ booksClosedAt: { __type: "date" };
65871
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65850
65872
  calculatedBillingPartnerId: { __type: "uuid" };
65851
65873
  calculatedStatus: { __type: "String" };
65852
65874
  cancelledAt: { __type: "date" };
@@ -65887,6 +65909,7 @@ export declare const generatedSchema: {
65887
65909
  billingPlan: { __type: "order_by" };
65888
65910
  billingSubscriptionStatus: { __type: "order_by" };
65889
65911
  billing_address_id: { __type: "order_by" };
65912
+ booksClosedAt: { __type: "order_by" };
65890
65913
  calculatedBillingPartnerId: { __type: "order_by" };
65891
65914
  calculatedStatus: { __type: "order_by" };
65892
65915
  cancelledAt: { __type: "order_by" };
@@ -65928,6 +65951,8 @@ export declare const generatedSchema: {
65928
65951
  billingPlan: { __type: "String" };
65929
65952
  billingSubscriptionStatus: { __type: "String" };
65930
65953
  billing_address_id: { __type: "uuid" };
65954
+ booksClosedAt: { __type: "date" };
65955
+ calculatedAnalyticsBillingStatus: { __type: "String" };
65931
65956
  calculatedBillingPartnerId: { __type: "uuid" };
65932
65957
  calculatedStatus: { __type: "String" };
65933
65958
  cancelledAt: { __type: "date" };
@@ -65968,6 +65993,7 @@ export declare const generatedSchema: {
65968
65993
  billingPlan: { __type: "order_by" };
65969
65994
  billingSubscriptionStatus: { __type: "order_by" };
65970
65995
  billing_address_id: { __type: "order_by" };
65996
+ booksClosedAt: { __type: "order_by" };
65971
65997
  calculatedBillingPartnerId: { __type: "order_by" };
65972
65998
  calculatedStatus: { __type: "order_by" };
65973
65999
  cancelledAt: { __type: "order_by" };
@@ -66029,6 +66055,8 @@ export declare const generatedSchema: {
66029
66055
  billingPlan: { __type: "order_by" };
66030
66056
  billingSubscriptionStatus: { __type: "order_by" };
66031
66057
  billing_address_id: { __type: "order_by" };
66058
+ booksClosedAt: { __type: "order_by" };
66059
+ calculatedAnalyticsBillingStatus: { __type: "order_by" };
66032
66060
  calculatedBillingPartner: { __type: "tenant_order_by" };
66033
66061
  calculatedBillingPartnerId: { __type: "order_by" };
66034
66062
  calculatedIsBillable: { __type: "order_by" };
@@ -66124,6 +66152,7 @@ export declare const generatedSchema: {
66124
66152
  billingPlan: { __type: "String" };
66125
66153
  billingSubscriptionStatus: { __type: "String" };
66126
66154
  billing_address_id: { __type: "uuid" };
66155
+ booksClosedAt: { __type: "date" };
66127
66156
  cancelledAt: { __type: "date" };
66128
66157
  chartOfAccountTenantId: { __type: "uuid" };
66129
66158
  clerkId: { __type: "String" };
@@ -66206,6 +66235,7 @@ export declare const generatedSchema: {
66206
66235
  billingPlan: { __type: "String" };
66207
66236
  billingSubscriptionStatus: { __type: "String" };
66208
66237
  billing_address_id: { __type: "uuid" };
66238
+ booksClosedAt: { __type: "date" };
66209
66239
  calculatedBillingPartnerId: { __type: "uuid" };
66210
66240
  calculatedIsBillable: { __type: "Boolean" };
66211
66241
  calculatedStatus: { __type: "String" };
@@ -99800,6 +99830,11 @@ export interface tenant {
99800
99830
  billingPlan?: Maybe<ScalarsEnums["String"]>;
99801
99831
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
99802
99832
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
99833
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
99834
+ /**
99835
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
99836
+ */
99837
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
99803
99838
  /**
99804
99839
  * An object relationship
99805
99840
  */
@@ -101132,6 +101167,11 @@ export interface tenant_max_fields {
101132
101167
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101133
101168
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101134
101169
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101170
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101171
+ /**
101172
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101173
+ */
101174
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101135
101175
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101136
101176
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101137
101177
  /**
@@ -101180,6 +101220,11 @@ export interface tenant_min_fields {
101180
101220
  billingPlan?: Maybe<ScalarsEnums["String"]>;
101181
101221
  billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
101182
101222
  billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
101223
+ booksClosedAt?: Maybe<ScalarsEnums["date"]>;
101224
+ /**
101225
+ * A computed field, executes function "tenant_calculated_analytics_billing_status"
101226
+ */
101227
+ calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
101183
101228
  calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
101184
101229
  calculatedStatus?: Maybe<ScalarsEnums["String"]>;
101185
101230
  /**
@@ -37286,6 +37286,8 @@ export const generatedSchema = {
37286
37286
  billingPlan: { __type: "String" },
37287
37287
  billingSubscriptionStatus: { __type: "String" },
37288
37288
  billing_address_id: { __type: "uuid" },
37289
+ booksClosedAt: { __type: "date" },
37290
+ calculatedAnalyticsBillingStatus: { __type: "String" },
37289
37291
  calculatedBillingPartner: { __type: "tenant" },
37290
37292
  calculatedBillingPartnerId: { __type: "uuid" },
37291
37293
  calculatedIsBillable: { __type: "Boolean" },
@@ -37920,6 +37922,8 @@ export const generatedSchema = {
37920
37922
  billingPlan: { __type: "String_comparison_exp" },
37921
37923
  billingSubscriptionStatus: { __type: "String_comparison_exp" },
37922
37924
  billing_address_id: { __type: "uuid_comparison_exp" },
37925
+ booksClosedAt: { __type: "date_comparison_exp" },
37926
+ calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
37923
37927
  calculatedBillingPartner: { __type: "tenant_bool_exp" },
37924
37928
  calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
37925
37929
  calculatedIsBillable: { __type: "Boolean_comparison_exp" },
@@ -38061,6 +38065,7 @@ export const generatedSchema = {
38061
38065
  billingPlan: { __type: "String" },
38062
38066
  billingSubscriptionStatus: { __type: "String" },
38063
38067
  billing_address_id: { __type: "uuid" },
38068
+ booksClosedAt: { __type: "date" },
38064
38069
  calculatedBillingPartner: { __type: "tenant_obj_rel_insert_input" },
38065
38070
  cancelledAt: { __type: "date" },
38066
38071
  chartOfAccountClients: { __type: "tenant_arr_rel_insert_input" },
@@ -38139,6 +38144,8 @@ export const generatedSchema = {
38139
38144
  billingPlan: { __type: "String" },
38140
38145
  billingSubscriptionStatus: { __type: "String" },
38141
38146
  billing_address_id: { __type: "uuid" },
38147
+ booksClosedAt: { __type: "date" },
38148
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38142
38149
  calculatedBillingPartnerId: { __type: "uuid" },
38143
38150
  calculatedStatus: { __type: "String" },
38144
38151
  cancelledAt: { __type: "date" },
@@ -38179,6 +38186,7 @@ export const generatedSchema = {
38179
38186
  billingPlan: { __type: "order_by" },
38180
38187
  billingSubscriptionStatus: { __type: "order_by" },
38181
38188
  billing_address_id: { __type: "order_by" },
38189
+ booksClosedAt: { __type: "order_by" },
38182
38190
  calculatedBillingPartnerId: { __type: "order_by" },
38183
38191
  calculatedStatus: { __type: "order_by" },
38184
38192
  cancelledAt: { __type: "order_by" },
@@ -38220,6 +38228,8 @@ export const generatedSchema = {
38220
38228
  billingPlan: { __type: "String" },
38221
38229
  billingSubscriptionStatus: { __type: "String" },
38222
38230
  billing_address_id: { __type: "uuid" },
38231
+ booksClosedAt: { __type: "date" },
38232
+ calculatedAnalyticsBillingStatus: { __type: "String" },
38223
38233
  calculatedBillingPartnerId: { __type: "uuid" },
38224
38234
  calculatedStatus: { __type: "String" },
38225
38235
  cancelledAt: { __type: "date" },
@@ -38260,6 +38270,7 @@ export const generatedSchema = {
38260
38270
  billingPlan: { __type: "order_by" },
38261
38271
  billingSubscriptionStatus: { __type: "order_by" },
38262
38272
  billing_address_id: { __type: "order_by" },
38273
+ booksClosedAt: { __type: "order_by" },
38263
38274
  calculatedBillingPartnerId: { __type: "order_by" },
38264
38275
  calculatedStatus: { __type: "order_by" },
38265
38276
  cancelledAt: { __type: "order_by" },
@@ -38321,6 +38332,8 @@ export const generatedSchema = {
38321
38332
  billingPlan: { __type: "order_by" },
38322
38333
  billingSubscriptionStatus: { __type: "order_by" },
38323
38334
  billing_address_id: { __type: "order_by" },
38335
+ booksClosedAt: { __type: "order_by" },
38336
+ calculatedAnalyticsBillingStatus: { __type: "order_by" },
38324
38337
  calculatedBillingPartner: { __type: "tenant_order_by" },
38325
38338
  calculatedBillingPartnerId: { __type: "order_by" },
38326
38339
  calculatedIsBillable: { __type: "order_by" },
@@ -38416,6 +38429,7 @@ export const generatedSchema = {
38416
38429
  billingPlan: { __type: "String" },
38417
38430
  billingSubscriptionStatus: { __type: "String" },
38418
38431
  billing_address_id: { __type: "uuid" },
38432
+ booksClosedAt: { __type: "date" },
38419
38433
  cancelledAt: { __type: "date" },
38420
38434
  chartOfAccountTenantId: { __type: "uuid" },
38421
38435
  clerkId: { __type: "String" },
@@ -38498,6 +38512,7 @@ export const generatedSchema = {
38498
38512
  billingPlan: { __type: "String" },
38499
38513
  billingSubscriptionStatus: { __type: "String" },
38500
38514
  billing_address_id: { __type: "uuid" },
38515
+ booksClosedAt: { __type: "date" },
38501
38516
  calculatedBillingPartnerId: { __type: "uuid" },
38502
38517
  calculatedIsBillable: { __type: "Boolean" },
38503
38518
  calculatedStatus: { __type: "String" },