@vrplatform/graphql 1.1.7 → 1.1.8
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.
- package/build/main/common/listings.d.ts +1 -1
- package/build/main/common/listings.js +2 -22
- package/build/main/gqty/schema.generated.d.ts +21 -0
- package/build/main/gqty/schema.generated.js +5 -0
- package/build/module/common/listings.d.ts +1 -1
- package/build/module/common/listings.js +2 -22
- package/build/module/gqty/schema.generated.d.ts +21 -0
- package/build/module/gqty/schema.generated.js +5 -0
- package/package.json +1 -1
- package/src/common/listings.ts +3 -22
- package/src/gqty/schema.generated.d.ts +21 -0
- package/src/gqty/schema.generated.js +5 -0
|
@@ -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
|
-
|
|
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,7 @@ 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
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
|
|
23646
23649
|
calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
|
|
23647
23650
|
calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
|
|
23648
23651
|
calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
|
|
@@ -23978,6 +23981,7 @@ export interface tenant_order_by {
|
|
|
23978
23981
|
billingPlan?: InputMaybe<order_by>;
|
|
23979
23982
|
billingSubscriptionStatus?: InputMaybe<order_by>;
|
|
23980
23983
|
billing_address_id?: InputMaybe<order_by>;
|
|
23984
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
|
|
23981
23985
|
calculatedBillingPartner?: InputMaybe<tenant_order_by>;
|
|
23982
23986
|
calculatedBillingPartnerId?: InputMaybe<order_by>;
|
|
23983
23987
|
calculatedIsBillable?: InputMaybe<order_by>;
|
|
@@ -64996,6 +65000,7 @@ export declare const generatedSchema: {
|
|
|
64996
65000
|
billingPlan: { __type: "String" };
|
|
64997
65001
|
billingSubscriptionStatus: { __type: "String" };
|
|
64998
65002
|
billing_address_id: { __type: "uuid" };
|
|
65003
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
64999
65004
|
calculatedBillingPartner: { __type: "tenant" };
|
|
65000
65005
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65001
65006
|
calculatedIsBillable: { __type: "Boolean" };
|
|
@@ -65628,6 +65633,7 @@ export declare const generatedSchema: {
|
|
|
65628
65633
|
billingPlan: { __type: "String_comparison_exp" };
|
|
65629
65634
|
billingSubscriptionStatus: { __type: "String_comparison_exp" };
|
|
65630
65635
|
billing_address_id: { __type: "uuid_comparison_exp" };
|
|
65636
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
|
|
65631
65637
|
calculatedBillingPartner: { __type: "tenant_bool_exp" };
|
|
65632
65638
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
|
|
65633
65639
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" };
|
|
@@ -65847,6 +65853,7 @@ export declare const generatedSchema: {
|
|
|
65847
65853
|
billingPlan: { __type: "String" };
|
|
65848
65854
|
billingSubscriptionStatus: { __type: "String" };
|
|
65849
65855
|
billing_address_id: { __type: "uuid" };
|
|
65856
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65850
65857
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65851
65858
|
calculatedStatus: { __type: "String" };
|
|
65852
65859
|
cancelledAt: { __type: "date" };
|
|
@@ -65928,6 +65935,7 @@ export declare const generatedSchema: {
|
|
|
65928
65935
|
billingPlan: { __type: "String" };
|
|
65929
65936
|
billingSubscriptionStatus: { __type: "String" };
|
|
65930
65937
|
billing_address_id: { __type: "uuid" };
|
|
65938
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65931
65939
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65932
65940
|
calculatedStatus: { __type: "String" };
|
|
65933
65941
|
cancelledAt: { __type: "date" };
|
|
@@ -66029,6 +66037,7 @@ export declare const generatedSchema: {
|
|
|
66029
66037
|
billingPlan: { __type: "order_by" };
|
|
66030
66038
|
billingSubscriptionStatus: { __type: "order_by" };
|
|
66031
66039
|
billing_address_id: { __type: "order_by" };
|
|
66040
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" };
|
|
66032
66041
|
calculatedBillingPartner: { __type: "tenant_order_by" };
|
|
66033
66042
|
calculatedBillingPartnerId: { __type: "order_by" };
|
|
66034
66043
|
calculatedIsBillable: { __type: "order_by" };
|
|
@@ -99800,6 +99809,10 @@ export interface tenant {
|
|
|
99800
99809
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
99801
99810
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99802
99811
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
99812
|
+
/**
|
|
99813
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
99814
|
+
*/
|
|
99815
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99803
99816
|
/**
|
|
99804
99817
|
* An object relationship
|
|
99805
99818
|
*/
|
|
@@ -101132,6 +101145,10 @@ export interface tenant_max_fields {
|
|
|
101132
101145
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101133
101146
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101134
101147
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101148
|
+
/**
|
|
101149
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101150
|
+
*/
|
|
101151
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101135
101152
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101136
101153
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101137
101154
|
/**
|
|
@@ -101180,6 +101197,10 @@ export interface tenant_min_fields {
|
|
|
101180
101197
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101181
101198
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101182
101199
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101200
|
+
/**
|
|
101201
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101202
|
+
*/
|
|
101203
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101183
101204
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101184
101205
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101185
101206
|
/**
|
|
@@ -37204,6 +37204,7 @@ exports.generatedSchema = {
|
|
|
37204
37204
|
billingPlan: { __type: "String" },
|
|
37205
37205
|
billingSubscriptionStatus: { __type: "String" },
|
|
37206
37206
|
billing_address_id: { __type: "uuid" },
|
|
37207
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
37207
37208
|
calculatedBillingPartner: { __type: "tenant" },
|
|
37208
37209
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
37209
37210
|
calculatedIsBillable: { __type: "Boolean" },
|
|
@@ -37836,6 +37837,7 @@ exports.generatedSchema = {
|
|
|
37836
37837
|
billingPlan: { __type: "String_comparison_exp" },
|
|
37837
37838
|
billingSubscriptionStatus: { __type: "String_comparison_exp" },
|
|
37838
37839
|
billing_address_id: { __type: "uuid_comparison_exp" },
|
|
37840
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
|
|
37839
37841
|
calculatedBillingPartner: { __type: "tenant_bool_exp" },
|
|
37840
37842
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
|
|
37841
37843
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" },
|
|
@@ -38055,6 +38057,7 @@ exports.generatedSchema = {
|
|
|
38055
38057
|
billingPlan: { __type: "String" },
|
|
38056
38058
|
billingSubscriptionStatus: { __type: "String" },
|
|
38057
38059
|
billing_address_id: { __type: "uuid" },
|
|
38060
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38058
38061
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38059
38062
|
calculatedStatus: { __type: "String" },
|
|
38060
38063
|
cancelledAt: { __type: "date" },
|
|
@@ -38136,6 +38139,7 @@ exports.generatedSchema = {
|
|
|
38136
38139
|
billingPlan: { __type: "String" },
|
|
38137
38140
|
billingSubscriptionStatus: { __type: "String" },
|
|
38138
38141
|
billing_address_id: { __type: "uuid" },
|
|
38142
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38139
38143
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38140
38144
|
calculatedStatus: { __type: "String" },
|
|
38141
38145
|
cancelledAt: { __type: "date" },
|
|
@@ -38237,6 +38241,7 @@ exports.generatedSchema = {
|
|
|
38237
38241
|
billingPlan: { __type: "order_by" },
|
|
38238
38242
|
billingSubscriptionStatus: { __type: "order_by" },
|
|
38239
38243
|
billing_address_id: { __type: "order_by" },
|
|
38244
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" },
|
|
38240
38245
|
calculatedBillingPartner: { __type: "tenant_order_by" },
|
|
38241
38246
|
calculatedBillingPartnerId: { __type: "order_by" },
|
|
38242
38247
|
calculatedIsBillable: { __type: "order_by" },
|
|
@@ -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
|
-
|
|
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,7 @@ 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
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
|
|
23646
23649
|
calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
|
|
23647
23650
|
calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
|
|
23648
23651
|
calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
|
|
@@ -23978,6 +23981,7 @@ export interface tenant_order_by {
|
|
|
23978
23981
|
billingPlan?: InputMaybe<order_by>;
|
|
23979
23982
|
billingSubscriptionStatus?: InputMaybe<order_by>;
|
|
23980
23983
|
billing_address_id?: InputMaybe<order_by>;
|
|
23984
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
|
|
23981
23985
|
calculatedBillingPartner?: InputMaybe<tenant_order_by>;
|
|
23982
23986
|
calculatedBillingPartnerId?: InputMaybe<order_by>;
|
|
23983
23987
|
calculatedIsBillable?: InputMaybe<order_by>;
|
|
@@ -64996,6 +65000,7 @@ export declare const generatedSchema: {
|
|
|
64996
65000
|
billingPlan: { __type: "String" };
|
|
64997
65001
|
billingSubscriptionStatus: { __type: "String" };
|
|
64998
65002
|
billing_address_id: { __type: "uuid" };
|
|
65003
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
64999
65004
|
calculatedBillingPartner: { __type: "tenant" };
|
|
65000
65005
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65001
65006
|
calculatedIsBillable: { __type: "Boolean" };
|
|
@@ -65628,6 +65633,7 @@ export declare const generatedSchema: {
|
|
|
65628
65633
|
billingPlan: { __type: "String_comparison_exp" };
|
|
65629
65634
|
billingSubscriptionStatus: { __type: "String_comparison_exp" };
|
|
65630
65635
|
billing_address_id: { __type: "uuid_comparison_exp" };
|
|
65636
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
|
|
65631
65637
|
calculatedBillingPartner: { __type: "tenant_bool_exp" };
|
|
65632
65638
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
|
|
65633
65639
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" };
|
|
@@ -65847,6 +65853,7 @@ export declare const generatedSchema: {
|
|
|
65847
65853
|
billingPlan: { __type: "String" };
|
|
65848
65854
|
billingSubscriptionStatus: { __type: "String" };
|
|
65849
65855
|
billing_address_id: { __type: "uuid" };
|
|
65856
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65850
65857
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65851
65858
|
calculatedStatus: { __type: "String" };
|
|
65852
65859
|
cancelledAt: { __type: "date" };
|
|
@@ -65928,6 +65935,7 @@ export declare const generatedSchema: {
|
|
|
65928
65935
|
billingPlan: { __type: "String" };
|
|
65929
65936
|
billingSubscriptionStatus: { __type: "String" };
|
|
65930
65937
|
billing_address_id: { __type: "uuid" };
|
|
65938
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65931
65939
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65932
65940
|
calculatedStatus: { __type: "String" };
|
|
65933
65941
|
cancelledAt: { __type: "date" };
|
|
@@ -66029,6 +66037,7 @@ export declare const generatedSchema: {
|
|
|
66029
66037
|
billingPlan: { __type: "order_by" };
|
|
66030
66038
|
billingSubscriptionStatus: { __type: "order_by" };
|
|
66031
66039
|
billing_address_id: { __type: "order_by" };
|
|
66040
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" };
|
|
66032
66041
|
calculatedBillingPartner: { __type: "tenant_order_by" };
|
|
66033
66042
|
calculatedBillingPartnerId: { __type: "order_by" };
|
|
66034
66043
|
calculatedIsBillable: { __type: "order_by" };
|
|
@@ -99800,6 +99809,10 @@ export interface tenant {
|
|
|
99800
99809
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
99801
99810
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99802
99811
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
99812
|
+
/**
|
|
99813
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
99814
|
+
*/
|
|
99815
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99803
99816
|
/**
|
|
99804
99817
|
* An object relationship
|
|
99805
99818
|
*/
|
|
@@ -101132,6 +101145,10 @@ export interface tenant_max_fields {
|
|
|
101132
101145
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101133
101146
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101134
101147
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101148
|
+
/**
|
|
101149
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101150
|
+
*/
|
|
101151
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101135
101152
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101136
101153
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101137
101154
|
/**
|
|
@@ -101180,6 +101197,10 @@ export interface tenant_min_fields {
|
|
|
101180
101197
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101181
101198
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101182
101199
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101200
|
+
/**
|
|
101201
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101202
|
+
*/
|
|
101203
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101183
101204
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101184
101205
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101185
101206
|
/**
|
|
@@ -37201,6 +37201,7 @@ export const generatedSchema = {
|
|
|
37201
37201
|
billingPlan: { __type: "String" },
|
|
37202
37202
|
billingSubscriptionStatus: { __type: "String" },
|
|
37203
37203
|
billing_address_id: { __type: "uuid" },
|
|
37204
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
37204
37205
|
calculatedBillingPartner: { __type: "tenant" },
|
|
37205
37206
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
37206
37207
|
calculatedIsBillable: { __type: "Boolean" },
|
|
@@ -37833,6 +37834,7 @@ export const generatedSchema = {
|
|
|
37833
37834
|
billingPlan: { __type: "String_comparison_exp" },
|
|
37834
37835
|
billingSubscriptionStatus: { __type: "String_comparison_exp" },
|
|
37835
37836
|
billing_address_id: { __type: "uuid_comparison_exp" },
|
|
37837
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
|
|
37836
37838
|
calculatedBillingPartner: { __type: "tenant_bool_exp" },
|
|
37837
37839
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
|
|
37838
37840
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" },
|
|
@@ -38052,6 +38054,7 @@ export const generatedSchema = {
|
|
|
38052
38054
|
billingPlan: { __type: "String" },
|
|
38053
38055
|
billingSubscriptionStatus: { __type: "String" },
|
|
38054
38056
|
billing_address_id: { __type: "uuid" },
|
|
38057
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38055
38058
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38056
38059
|
calculatedStatus: { __type: "String" },
|
|
38057
38060
|
cancelledAt: { __type: "date" },
|
|
@@ -38133,6 +38136,7 @@ export const generatedSchema = {
|
|
|
38133
38136
|
billingPlan: { __type: "String" },
|
|
38134
38137
|
billingSubscriptionStatus: { __type: "String" },
|
|
38135
38138
|
billing_address_id: { __type: "uuid" },
|
|
38139
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38136
38140
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38137
38141
|
calculatedStatus: { __type: "String" },
|
|
38138
38142
|
cancelledAt: { __type: "date" },
|
|
@@ -38234,6 +38238,7 @@ export const generatedSchema = {
|
|
|
38234
38238
|
billingPlan: { __type: "order_by" },
|
|
38235
38239
|
billingSubscriptionStatus: { __type: "order_by" },
|
|
38236
38240
|
billing_address_id: { __type: "order_by" },
|
|
38241
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" },
|
|
38237
38242
|
calculatedBillingPartner: { __type: "tenant_order_by" },
|
|
38238
38243
|
calculatedBillingPartnerId: { __type: "order_by" },
|
|
38239
38244
|
calculatedIsBillable: { __type: "order_by" },
|
package/package.json
CHANGED
package/src/common/listings.ts
CHANGED
|
@@ -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
|
-
|
|
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,7 @@ 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
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<String_comparison_exp>;
|
|
23646
23649
|
calculatedBillingPartner?: InputMaybe<tenant_bool_exp>;
|
|
23647
23650
|
calculatedBillingPartnerId?: InputMaybe<uuid_comparison_exp>;
|
|
23648
23651
|
calculatedIsBillable?: InputMaybe<Boolean_comparison_exp>;
|
|
@@ -23978,6 +23981,7 @@ export interface tenant_order_by {
|
|
|
23978
23981
|
billingPlan?: InputMaybe<order_by>;
|
|
23979
23982
|
billingSubscriptionStatus?: InputMaybe<order_by>;
|
|
23980
23983
|
billing_address_id?: InputMaybe<order_by>;
|
|
23984
|
+
calculatedAnalyticsBillingStatus?: InputMaybe<order_by>;
|
|
23981
23985
|
calculatedBillingPartner?: InputMaybe<tenant_order_by>;
|
|
23982
23986
|
calculatedBillingPartnerId?: InputMaybe<order_by>;
|
|
23983
23987
|
calculatedIsBillable?: InputMaybe<order_by>;
|
|
@@ -64996,6 +65000,7 @@ export declare const generatedSchema: {
|
|
|
64996
65000
|
billingPlan: { __type: "String" };
|
|
64997
65001
|
billingSubscriptionStatus: { __type: "String" };
|
|
64998
65002
|
billing_address_id: { __type: "uuid" };
|
|
65003
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
64999
65004
|
calculatedBillingPartner: { __type: "tenant" };
|
|
65000
65005
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65001
65006
|
calculatedIsBillable: { __type: "Boolean" };
|
|
@@ -65628,6 +65633,7 @@ export declare const generatedSchema: {
|
|
|
65628
65633
|
billingPlan: { __type: "String_comparison_exp" };
|
|
65629
65634
|
billingSubscriptionStatus: { __type: "String_comparison_exp" };
|
|
65630
65635
|
billing_address_id: { __type: "uuid_comparison_exp" };
|
|
65636
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" };
|
|
65631
65637
|
calculatedBillingPartner: { __type: "tenant_bool_exp" };
|
|
65632
65638
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" };
|
|
65633
65639
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" };
|
|
@@ -65847,6 +65853,7 @@ export declare const generatedSchema: {
|
|
|
65847
65853
|
billingPlan: { __type: "String" };
|
|
65848
65854
|
billingSubscriptionStatus: { __type: "String" };
|
|
65849
65855
|
billing_address_id: { __type: "uuid" };
|
|
65856
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65850
65857
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65851
65858
|
calculatedStatus: { __type: "String" };
|
|
65852
65859
|
cancelledAt: { __type: "date" };
|
|
@@ -65928,6 +65935,7 @@ export declare const generatedSchema: {
|
|
|
65928
65935
|
billingPlan: { __type: "String" };
|
|
65929
65936
|
billingSubscriptionStatus: { __type: "String" };
|
|
65930
65937
|
billing_address_id: { __type: "uuid" };
|
|
65938
|
+
calculatedAnalyticsBillingStatus: { __type: "String" };
|
|
65931
65939
|
calculatedBillingPartnerId: { __type: "uuid" };
|
|
65932
65940
|
calculatedStatus: { __type: "String" };
|
|
65933
65941
|
cancelledAt: { __type: "date" };
|
|
@@ -66029,6 +66037,7 @@ export declare const generatedSchema: {
|
|
|
66029
66037
|
billingPlan: { __type: "order_by" };
|
|
66030
66038
|
billingSubscriptionStatus: { __type: "order_by" };
|
|
66031
66039
|
billing_address_id: { __type: "order_by" };
|
|
66040
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" };
|
|
66032
66041
|
calculatedBillingPartner: { __type: "tenant_order_by" };
|
|
66033
66042
|
calculatedBillingPartnerId: { __type: "order_by" };
|
|
66034
66043
|
calculatedIsBillable: { __type: "order_by" };
|
|
@@ -99800,6 +99809,10 @@ export interface tenant {
|
|
|
99800
99809
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
99801
99810
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99802
99811
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
99812
|
+
/**
|
|
99813
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
99814
|
+
*/
|
|
99815
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
99803
99816
|
/**
|
|
99804
99817
|
* An object relationship
|
|
99805
99818
|
*/
|
|
@@ -101132,6 +101145,10 @@ export interface tenant_max_fields {
|
|
|
101132
101145
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101133
101146
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101134
101147
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101148
|
+
/**
|
|
101149
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101150
|
+
*/
|
|
101151
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101135
101152
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101136
101153
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101137
101154
|
/**
|
|
@@ -101180,6 +101197,10 @@ export interface tenant_min_fields {
|
|
|
101180
101197
|
billingPlan?: Maybe<ScalarsEnums["String"]>;
|
|
101181
101198
|
billingSubscriptionStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101182
101199
|
billing_address_id?: Maybe<ScalarsEnums["uuid"]>;
|
|
101200
|
+
/**
|
|
101201
|
+
* A computed field, executes function "tenant_calculated_analytics_billing_status"
|
|
101202
|
+
*/
|
|
101203
|
+
calculatedAnalyticsBillingStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101183
101204
|
calculatedBillingPartnerId?: Maybe<ScalarsEnums["uuid"]>;
|
|
101184
101205
|
calculatedStatus?: Maybe<ScalarsEnums["String"]>;
|
|
101185
101206
|
/**
|
|
@@ -37286,6 +37286,7 @@ export const generatedSchema = {
|
|
|
37286
37286
|
billingPlan: { __type: "String" },
|
|
37287
37287
|
billingSubscriptionStatus: { __type: "String" },
|
|
37288
37288
|
billing_address_id: { __type: "uuid" },
|
|
37289
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
37289
37290
|
calculatedBillingPartner: { __type: "tenant" },
|
|
37290
37291
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
37291
37292
|
calculatedIsBillable: { __type: "Boolean" },
|
|
@@ -37920,6 +37921,7 @@ export const generatedSchema = {
|
|
|
37920
37921
|
billingPlan: { __type: "String_comparison_exp" },
|
|
37921
37922
|
billingSubscriptionStatus: { __type: "String_comparison_exp" },
|
|
37922
37923
|
billing_address_id: { __type: "uuid_comparison_exp" },
|
|
37924
|
+
calculatedAnalyticsBillingStatus: { __type: "String_comparison_exp" },
|
|
37923
37925
|
calculatedBillingPartner: { __type: "tenant_bool_exp" },
|
|
37924
37926
|
calculatedBillingPartnerId: { __type: "uuid_comparison_exp" },
|
|
37925
37927
|
calculatedIsBillable: { __type: "Boolean_comparison_exp" },
|
|
@@ -38139,6 +38141,7 @@ export const generatedSchema = {
|
|
|
38139
38141
|
billingPlan: { __type: "String" },
|
|
38140
38142
|
billingSubscriptionStatus: { __type: "String" },
|
|
38141
38143
|
billing_address_id: { __type: "uuid" },
|
|
38144
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38142
38145
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38143
38146
|
calculatedStatus: { __type: "String" },
|
|
38144
38147
|
cancelledAt: { __type: "date" },
|
|
@@ -38220,6 +38223,7 @@ export const generatedSchema = {
|
|
|
38220
38223
|
billingPlan: { __type: "String" },
|
|
38221
38224
|
billingSubscriptionStatus: { __type: "String" },
|
|
38222
38225
|
billing_address_id: { __type: "uuid" },
|
|
38226
|
+
calculatedAnalyticsBillingStatus: { __type: "String" },
|
|
38223
38227
|
calculatedBillingPartnerId: { __type: "uuid" },
|
|
38224
38228
|
calculatedStatus: { __type: "String" },
|
|
38225
38229
|
cancelledAt: { __type: "date" },
|
|
@@ -38321,6 +38325,7 @@ export const generatedSchema = {
|
|
|
38321
38325
|
billingPlan: { __type: "order_by" },
|
|
38322
38326
|
billingSubscriptionStatus: { __type: "order_by" },
|
|
38323
38327
|
billing_address_id: { __type: "order_by" },
|
|
38328
|
+
calculatedAnalyticsBillingStatus: { __type: "order_by" },
|
|
38324
38329
|
calculatedBillingPartner: { __type: "tenant_order_by" },
|
|
38325
38330
|
calculatedBillingPartnerId: { __type: "order_by" },
|
|
38326
38331
|
calculatedIsBillable: { __type: "order_by" },
|