@twotaps/site-utils-base 0.0.6 → 0.1.1
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/dist/.tsbuildInfo +1 -0
- package/dist/cli/generate-sdl.js.map +1 -1
- package/dist/page/page.dto.d.ts +5 -2
- package/dist/page/page.dto.js.map +1 -1
- package/dist/page/page.query.js +31 -3
- package/dist/page/page.query.js.map +1 -1
- package/dist/page/page.service.d.ts +21 -23
- package/dist/page/page.service.js +16 -4
- package/dist/page/page.service.js.map +1 -1
- package/dist/types.d.ts +769 -361
- package/dist/types.js +115 -9
- package/dist/types.js.map +1 -1
- package/dist/util.d.ts +6 -9
- package/dist/util.js +22 -7
- package/dist/util.js.map +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -11,15 +11,52 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
|
11
11
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
12
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
13
|
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
14
22
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
23
|
export type Scalars = {
|
|
16
|
-
ID:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
DateTime: {
|
|
45
|
+
input: any;
|
|
46
|
+
output: any;
|
|
47
|
+
};
|
|
48
|
+
JSON: {
|
|
49
|
+
input: any;
|
|
50
|
+
output: any;
|
|
51
|
+
};
|
|
52
|
+
JSONObject: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export type AnnounceCampaignDto = {
|
|
58
|
+
campaignId: Scalars['Int']['input'];
|
|
59
|
+
notify?: InputMaybe<Scalars['Boolean']['input']>;
|
|
23
60
|
};
|
|
24
61
|
export declare enum AssetType {
|
|
25
62
|
Archive = "Archive",
|
|
@@ -29,197 +66,287 @@ export declare enum AssetType {
|
|
|
29
66
|
Image = "Image",
|
|
30
67
|
Video = "Video"
|
|
31
68
|
}
|
|
32
|
-
export declare enum AssetTypeCs {
|
|
33
|
-
Archive = "Archive",
|
|
34
|
-
Document = "Document",
|
|
35
|
-
Folder = "Folder",
|
|
36
|
-
Html = "Html",
|
|
37
|
-
Image = "Image",
|
|
38
|
-
Video = "Video"
|
|
39
|
-
}
|
|
40
69
|
export declare enum BotProtectionType {
|
|
41
70
|
None = "none",
|
|
42
71
|
ReCaptchaV2 = "reCAPTCHA_v2",
|
|
43
72
|
ReCaptchaV2Invisible = "reCAPTCHA_v2_Invisible",
|
|
44
73
|
ReCaptchaV3 = "reCAPTCHA_v3"
|
|
45
74
|
}
|
|
75
|
+
export declare enum CampaignConsentType {
|
|
76
|
+
Mandatory = "Mandatory",
|
|
77
|
+
OptIn = "OptIn",
|
|
78
|
+
OptOut = "OptOut"
|
|
79
|
+
}
|
|
80
|
+
export type CampaignPageMetadataCreateDto = {
|
|
81
|
+
allowCrawling: Scalars['Boolean']['input'];
|
|
82
|
+
metaDescription: Scalars['String']['input'];
|
|
83
|
+
metaTitle: Scalars['String']['input'];
|
|
84
|
+
templateId: Scalars['Float']['input'];
|
|
85
|
+
urlSegment: Scalars['String']['input'];
|
|
86
|
+
};
|
|
87
|
+
export type CampaignPagesOptInStatusAllUpdateDto = {
|
|
88
|
+
campaignId: Scalars['Int']['input'];
|
|
89
|
+
optIn: Scalars['Boolean']['input'];
|
|
90
|
+
};
|
|
91
|
+
export type CampaignPagesOptInStatusUpdateDto = {
|
|
92
|
+
campaignId: Scalars['Int']['input'];
|
|
93
|
+
optIn: Scalars['Boolean']['input'];
|
|
94
|
+
pageIds: Array<Scalars['Int']['input']>;
|
|
95
|
+
};
|
|
96
|
+
export type CampaignPlaceholderTemplateInputDto = {
|
|
97
|
+
schemaBlockId: Scalars['Int']['input'];
|
|
98
|
+
templateId: Scalars['Int']['input'];
|
|
99
|
+
};
|
|
100
|
+
export declare enum CampaignStatus {
|
|
101
|
+
Announced = "Announced",
|
|
102
|
+
Draft = "Draft",
|
|
103
|
+
Ended = "Ended",
|
|
104
|
+
ReadyToEnd = "ReadyToEnd",
|
|
105
|
+
ReadyToRun = "ReadyToRun",
|
|
106
|
+
Running = "Running"
|
|
107
|
+
}
|
|
108
|
+
export declare enum CampaignType {
|
|
109
|
+
Block = "Block",
|
|
110
|
+
Page = "Page"
|
|
111
|
+
}
|
|
112
|
+
export type CloneTemplateInput = {
|
|
113
|
+
campaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
114
|
+
existingTemplateId: Scalars['Int']['input'];
|
|
115
|
+
name: Scalars['String']['input'];
|
|
116
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
117
|
+
type?: InputMaybe<TemplateType>;
|
|
118
|
+
};
|
|
46
119
|
export type CreateAssetInput = {
|
|
47
|
-
accessLevel?: InputMaybe<Scalars['String']>;
|
|
48
|
-
altText?: InputMaybe<Scalars['String']>;
|
|
49
|
-
fileName: Scalars['String'];
|
|
50
|
-
height?: InputMaybe<Scalars['Float']>;
|
|
51
|
-
isAssociated: Scalars['Boolean'];
|
|
52
|
-
sizeInBytes?: InputMaybe<Scalars['Float']>;
|
|
120
|
+
accessLevel?: InputMaybe<Scalars['String']['input']>;
|
|
121
|
+
altText?: InputMaybe<Scalars['String']['input']>;
|
|
122
|
+
fileName: Scalars['String']['input'];
|
|
123
|
+
height?: InputMaybe<Scalars['Float']['input']>;
|
|
124
|
+
isAssociated: Scalars['Boolean']['input'];
|
|
125
|
+
sizeInBytes?: InputMaybe<Scalars['Float']['input']>;
|
|
53
126
|
type: AssetType;
|
|
54
|
-
width?: InputMaybe<Scalars['Float']>;
|
|
127
|
+
width?: InputMaybe<Scalars['Float']['input']>;
|
|
55
128
|
};
|
|
56
129
|
export type CreateBrandDto = {
|
|
57
|
-
name: Scalars['String'];
|
|
58
|
-
organisationId: Scalars['Int'];
|
|
130
|
+
name: Scalars['String']['input'];
|
|
131
|
+
organisationId: Scalars['Int']['input'];
|
|
132
|
+
};
|
|
133
|
+
export type CreateCampaignDto = {
|
|
134
|
+
consentType: CampaignConsentType;
|
|
135
|
+
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
136
|
+
imageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
137
|
+
name: Scalars['String']['input'];
|
|
138
|
+
pageIds: Array<Scalars['Int']['input']>;
|
|
139
|
+
pageMetadata?: InputMaybe<CampaignPageMetadataCreateDto>;
|
|
140
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
141
|
+
placeholderTemplates?: InputMaybe<Array<CampaignPlaceholderTemplateInputDto>>;
|
|
142
|
+
siteId: Scalars['Int']['input'];
|
|
143
|
+
startTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
144
|
+
type: CampaignType;
|
|
145
|
+
};
|
|
146
|
+
export type CreateDashboardDto = {
|
|
147
|
+
name: Scalars['String']['input'];
|
|
148
|
+
organisationId: Scalars['Float']['input'];
|
|
59
149
|
};
|
|
60
150
|
export type CreateDomainDto = {
|
|
61
|
-
brandId: Scalars['Int'];
|
|
62
|
-
domainName: Scalars['String'];
|
|
63
|
-
siteId: Scalars['Int'];
|
|
151
|
+
brandId: Scalars['Int']['input'];
|
|
152
|
+
domainName: Scalars['String']['input'];
|
|
153
|
+
siteId: Scalars['Int']['input'];
|
|
154
|
+
ssl: Scalars['Boolean']['input'];
|
|
64
155
|
};
|
|
65
156
|
export type CreateFormFieldInputDto = {
|
|
66
157
|
config?: InputMaybe<FormFieldConfigInput>;
|
|
67
|
-
fieldIdentifier?: InputMaybe<Scalars['String']>;
|
|
68
|
-
formId: Scalars['Int'];
|
|
69
|
-
helpText?: InputMaybe<Scalars['String']>;
|
|
70
|
-
isRequired?: InputMaybe<Scalars['Boolean']>;
|
|
71
|
-
label?: InputMaybe<Scalars['String']>;
|
|
72
|
-
name: Scalars['String'];
|
|
73
|
-
placeholder: Scalars['String'];
|
|
74
|
-
sortOrder?: InputMaybe<Scalars['Int']>;
|
|
158
|
+
fieldIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
159
|
+
formId: Scalars['Int']['input'];
|
|
160
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
161
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
162
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
163
|
+
name: Scalars['String']['input'];
|
|
164
|
+
placeholder: Scalars['String']['input'];
|
|
165
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
75
166
|
type: FormFieldType;
|
|
76
167
|
};
|
|
77
168
|
export type CreateFormInputDto = {
|
|
78
169
|
botProtection: BotProtectionType;
|
|
79
|
-
enableRecaptcha?:
|
|
80
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
81
|
-
name: Scalars['String'];
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
170
|
+
enableRecaptcha?: Scalars['Boolean']['input'];
|
|
171
|
+
formIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
172
|
+
name: Scalars['String']['input'];
|
|
173
|
+
retentionPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
174
|
+
siteId: Scalars['Int']['input'];
|
|
175
|
+
submitButtonLabel: Scalars['String']['input'];
|
|
176
|
+
thankYouMessage: Scalars['String']['input'];
|
|
85
177
|
};
|
|
86
178
|
export type CreateFormIntegrationActionDto = {
|
|
87
|
-
dependOnId?: InputMaybe<Scalars['Int']>;
|
|
88
|
-
formIntegrationId: Scalars['Int'];
|
|
89
|
-
integrationId: Scalars['Int'];
|
|
90
|
-
specification: Scalars['JSONObject'];
|
|
179
|
+
dependOnId?: InputMaybe<Scalars['Int']['input']>;
|
|
180
|
+
formIntegrationId: Scalars['Int']['input'];
|
|
181
|
+
integrationId: Scalars['Int']['input'];
|
|
182
|
+
specification: Scalars['JSONObject']['input'];
|
|
91
183
|
};
|
|
92
184
|
export type CreateFormIntegrationActionLogDto = {
|
|
93
|
-
formIntegrationActionId: Scalars['Int'];
|
|
94
|
-
isSuccess: Scalars['Boolean'];
|
|
95
|
-
requestData?: InputMaybe<Scalars['String']>;
|
|
96
|
-
response: Scalars['String'];
|
|
97
|
-
submissionId: Scalars['Int'];
|
|
185
|
+
formIntegrationActionId: Scalars['Int']['input'];
|
|
186
|
+
isSuccess: Scalars['Boolean']['input'];
|
|
187
|
+
requestData?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
+
response: Scalars['String']['input'];
|
|
189
|
+
submissionId: Scalars['Int']['input'];
|
|
98
190
|
};
|
|
99
191
|
export type CreateFormIntegrationInputDto = {
|
|
100
|
-
formId: Scalars['Int'];
|
|
101
|
-
pageId?: InputMaybe<Scalars['Int']>;
|
|
192
|
+
formId: Scalars['Int']['input'];
|
|
193
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
102
194
|
};
|
|
103
195
|
export type CreateFormSubmissionInputDto = {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
token?: InputMaybe<Scalars['String']>;
|
|
108
|
-
url
|
|
109
|
-
value: Scalars['JSONObject'];
|
|
196
|
+
domain?: InputMaybe<Scalars['String']['input']>;
|
|
197
|
+
formId: Scalars['Int']['input'];
|
|
198
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
199
|
+
token?: InputMaybe<Scalars['String']['input']>;
|
|
200
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
201
|
+
value: Scalars['JSONObject']['input'];
|
|
110
202
|
};
|
|
111
203
|
export type CreateIntegrationInputDto = {
|
|
112
|
-
name: Scalars['String'];
|
|
113
|
-
organisationId?: InputMaybe<Scalars['Int']>;
|
|
114
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
204
|
+
name: Scalars['String']['input'];
|
|
205
|
+
organisationId?: InputMaybe<Scalars['Int']['input']>;
|
|
206
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
115
207
|
type: IntegrationType;
|
|
116
208
|
};
|
|
117
209
|
export type CreateOrganisationDto = {
|
|
118
|
-
name: Scalars['String'];
|
|
210
|
+
name: Scalars['String']['input'];
|
|
119
211
|
};
|
|
120
212
|
export type CreatePageDto = {
|
|
121
|
-
allowCrawling?: InputMaybe<Scalars['Boolean']>;
|
|
122
|
-
customScriptBody?: InputMaybe<Scalars['String']>;
|
|
123
|
-
customScriptHead?: InputMaybe<Scalars['String']>;
|
|
124
|
-
draftRevisionId?: InputMaybe<Scalars['Int']>;
|
|
125
|
-
lang?: InputMaybe<Scalars['String']>;
|
|
126
|
-
metaDescription: Scalars['String'];
|
|
127
|
-
metaTitle: Scalars['String'];
|
|
128
|
-
name: Scalars['String'];
|
|
129
|
-
parentId?: InputMaybe<Scalars['Int']>;
|
|
213
|
+
allowCrawling?: InputMaybe<Scalars['Boolean']['input']>;
|
|
214
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
215
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
216
|
+
draftRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
217
|
+
lang?: InputMaybe<Scalars['String']['input']>;
|
|
218
|
+
metaDescription: Scalars['String']['input'];
|
|
219
|
+
metaTitle: Scalars['String']['input'];
|
|
220
|
+
name: Scalars['String']['input'];
|
|
221
|
+
parentId?: InputMaybe<Scalars['Int']['input']>;
|
|
130
222
|
properties?: InputMaybe<Array<CustomPagePropertiesInput>>;
|
|
131
|
-
publishedRevisionId?: InputMaybe<Scalars['Int']>;
|
|
132
|
-
siteId: Scalars['Int'];
|
|
133
|
-
tags?: InputMaybe<Scalars['String']>;
|
|
134
|
-
templateId?: InputMaybe<Scalars['Int']>;
|
|
135
|
-
ttschemaId?: InputMaybe<Scalars['Int']>;
|
|
136
|
-
urlSegment: Scalars['String'];
|
|
223
|
+
publishedRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
224
|
+
siteId: Scalars['Int']['input'];
|
|
225
|
+
tags?: InputMaybe<Scalars['String']['input']>;
|
|
226
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
227
|
+
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
228
|
+
urlSegment: Scalars['String']['input'];
|
|
137
229
|
};
|
|
138
230
|
export type CreatePageRevisionInput = {
|
|
139
|
-
pageId?: InputMaybe<Scalars['Int']>;
|
|
140
|
-
publish: Scalars['Boolean'];
|
|
141
|
-
references?: InputMaybe<Scalars['JSON']>;
|
|
231
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
232
|
+
publish: Scalars['Boolean']['input'];
|
|
233
|
+
references?: InputMaybe<Scalars['JSON']['input']>;
|
|
234
|
+
scheduledAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
142
235
|
schemas?: InputMaybe<Array<PageRevisionSchemaInput>>;
|
|
143
|
-
templateId?: InputMaybe<Scalars['Int']>;
|
|
236
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
144
237
|
type: PageRevisionType;
|
|
145
238
|
};
|
|
146
239
|
export type CreatePageRevisionSchemaInput = {
|
|
147
|
-
anchorId?: InputMaybe<Scalars['String']>;
|
|
240
|
+
anchorId?: InputMaybe<Scalars['String']['input']>;
|
|
148
241
|
properties: Array<PageRevisionSchemaPropertiesInput>;
|
|
149
|
-
revisionId: Scalars['Int'];
|
|
150
|
-
sortOrder: Scalars['Int'];
|
|
151
|
-
ttschemaId: Scalars['Int'];
|
|
242
|
+
revisionId: Scalars['Int']['input'];
|
|
243
|
+
sortOrder: Scalars['Int']['input'];
|
|
244
|
+
ttschemaId: Scalars['Int']['input'];
|
|
245
|
+
};
|
|
246
|
+
export type CreateRedirectEntityDto = {
|
|
247
|
+
fromPath: Scalars['String']['input'];
|
|
248
|
+
siteId: Scalars['Int']['input'];
|
|
249
|
+
status: RedirectStatus;
|
|
250
|
+
toPageId?: InputMaybe<Scalars['Int']['input']>;
|
|
251
|
+
toType: RedirectToType;
|
|
252
|
+
toUrl?: InputMaybe<Scalars['String']['input']>;
|
|
253
|
+
type: RedirectType;
|
|
152
254
|
};
|
|
153
255
|
export type CreateSiteDto = {
|
|
154
|
-
brandId: Scalars['Int'];
|
|
155
|
-
customScriptBody
|
|
156
|
-
customScriptHead
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
256
|
+
brandId: Scalars['Int']['input'];
|
|
257
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
258
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
259
|
+
error404TemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
260
|
+
error500TemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
261
|
+
footerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
262
|
+
googleAccountId?: InputMaybe<Scalars['Float']['input']>;
|
|
263
|
+
googleAnalyticsAccountId?: InputMaybe<Scalars['String']['input']>;
|
|
264
|
+
googleAnalyticsPropertyId?: InputMaybe<Scalars['String']['input']>;
|
|
265
|
+
headerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
266
|
+
homepageId?: InputMaybe<Scalars['Int']['input']>;
|
|
267
|
+
name: Scalars['String']['input'];
|
|
268
|
+
thumbnailImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
269
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
270
|
+
ttSchemaWrapperId: Scalars['Int']['input'];
|
|
271
|
+
webhookUrl?: InputMaybe<Scalars['String']['input']>;
|
|
160
272
|
};
|
|
161
273
|
export type CreateTtSchemaFieldDto = {
|
|
162
|
-
description?: InputMaybe<Scalars['String']>;
|
|
163
|
-
displayName: Scalars['String'];
|
|
164
|
-
hasMultipleValues?:
|
|
165
|
-
helpText?: InputMaybe<Scalars['String']>;
|
|
166
|
-
name: Scalars['String'];
|
|
167
|
-
readOnly?:
|
|
168
|
-
required?: InputMaybe<Scalars['Boolean']>;
|
|
169
|
-
sortOrder: Scalars['Int'];
|
|
170
|
-
ttschemaId: Scalars['Int'];
|
|
274
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
275
|
+
displayName: Scalars['String']['input'];
|
|
276
|
+
hasMultipleValues?: Scalars['Boolean']['input'];
|
|
277
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
278
|
+
name: Scalars['String']['input'];
|
|
279
|
+
readOnly?: Scalars['Boolean']['input'];
|
|
280
|
+
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
281
|
+
sortOrder: Scalars['Int']['input'];
|
|
282
|
+
ttschemaId: Scalars['Int']['input'];
|
|
171
283
|
type: TtSchemaFieldType;
|
|
172
|
-
typeDefinition
|
|
284
|
+
typeDefinition?: InputMaybe<Scalars['JSON']['input']>;
|
|
285
|
+
typeTTSchemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
286
|
+
visibility: TtSchemaFieldVisibility;
|
|
173
287
|
};
|
|
174
288
|
export type CreateTtSchemaInput = {
|
|
175
|
-
name: Scalars['String'];
|
|
176
|
-
titlePlural: Scalars['String'];
|
|
177
|
-
titleSingular: Scalars['String'];
|
|
178
|
-
|
|
289
|
+
name: Scalars['String']['input'];
|
|
290
|
+
titlePlural: Scalars['String']['input'];
|
|
291
|
+
titleSingular: Scalars['String']['input'];
|
|
292
|
+
ttSchemaWrapperId: Scalars['Int']['input'];
|
|
179
293
|
type: TtSchemaType;
|
|
294
|
+
visibility: TtSchemaVisibility;
|
|
180
295
|
};
|
|
181
296
|
export type CreateTemplateInput = {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
297
|
+
campaign: Scalars['Boolean']['input'];
|
|
298
|
+
name: Scalars['String']['input'];
|
|
299
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
300
|
+
siteId: Scalars['Int']['input'];
|
|
185
301
|
type: TemplateType;
|
|
186
302
|
};
|
|
187
303
|
export type CreateUserInput = {
|
|
188
|
-
email: Scalars['String'];
|
|
189
|
-
firstName: Scalars['String'];
|
|
190
|
-
lastName: Scalars['String'];
|
|
191
|
-
password: Scalars['String'];
|
|
192
|
-
verified: Scalars['Boolean'];
|
|
304
|
+
email: Scalars['String']['input'];
|
|
305
|
+
firstName: Scalars['String']['input'];
|
|
306
|
+
lastName: Scalars['String']['input'];
|
|
307
|
+
password: Scalars['String']['input'];
|
|
308
|
+
verified: Scalars['Boolean']['input'];
|
|
193
309
|
};
|
|
194
310
|
export type CreateUserResourceDto = {
|
|
195
|
-
resourceId: Scalars['Int'];
|
|
196
|
-
resourceIdentifier: Scalars['String'];
|
|
197
|
-
roleId: Scalars['Int'];
|
|
198
|
-
userId: Scalars['Int'];
|
|
311
|
+
resourceId: Scalars['Int']['input'];
|
|
312
|
+
resourceIdentifier: Scalars['String']['input'];
|
|
313
|
+
roleId: Scalars['Int']['input'];
|
|
314
|
+
userId: Scalars['Int']['input'];
|
|
199
315
|
};
|
|
200
316
|
export type CustomPagePropertiesInput = {
|
|
201
|
-
fieldId: Scalars['Int'];
|
|
202
|
-
name: Scalars['String'];
|
|
203
|
-
value: Array<Scalars['String']>;
|
|
204
|
-
};
|
|
317
|
+
fieldId: Scalars['Int']['input'];
|
|
318
|
+
name: Scalars['String']['input'];
|
|
319
|
+
value: Array<Scalars['String']['input']>;
|
|
320
|
+
};
|
|
321
|
+
export type DashboardPanelConfigInput = {
|
|
322
|
+
id: Scalars['String']['input'];
|
|
323
|
+
type: DashboardPanelType;
|
|
324
|
+
x: Scalars['Int']['input'];
|
|
325
|
+
y: Scalars['Int']['input'];
|
|
326
|
+
};
|
|
327
|
+
export declare enum DashboardPanelType {
|
|
328
|
+
AgeDistribution = "AgeDistribution",
|
|
329
|
+
AverageSession = "AverageSession",
|
|
330
|
+
ConversionRate = "ConversionRate",
|
|
331
|
+
LeadSources = "LeadSources",
|
|
332
|
+
LeadsByTime = "LeadsByTime",
|
|
333
|
+
LinkClicks = "LinkClicks",
|
|
334
|
+
LocationsOverTime = "LocationsOverTime",
|
|
335
|
+
NumberOfLeads = "NumberOfLeads",
|
|
336
|
+
TopClicked = "TopClicked",
|
|
337
|
+
TopLeadPages = "TopLeadPages",
|
|
338
|
+
TotalLeads = "TotalLeads",
|
|
339
|
+
TotalSessions = "TotalSessions"
|
|
340
|
+
}
|
|
205
341
|
export declare enum ErrorTemplateType {
|
|
206
342
|
Error404 = "Error404",
|
|
207
343
|
Error500 = "Error500"
|
|
208
344
|
}
|
|
209
|
-
export type FormEntityInput = {
|
|
210
|
-
botProtection: BotProtectionType;
|
|
211
|
-
enableRecaptcha?: InputMaybe<Scalars['Boolean']>;
|
|
212
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
213
|
-
id: Scalars['Int'];
|
|
214
|
-
name: Scalars['String'];
|
|
215
|
-
siteId: Scalars['Int'];
|
|
216
|
-
submitButtonLabel: Scalars['String'];
|
|
217
|
-
thankYouMessage: Scalars['String'];
|
|
218
|
-
};
|
|
219
345
|
export type FormFieldConfigInput = {
|
|
220
|
-
customCss?: InputMaybe<Scalars['String']>;
|
|
221
|
-
defaultValue?: InputMaybe<Scalars['JSON']>;
|
|
222
|
-
info?: InputMaybe<Scalars['String']>;
|
|
346
|
+
customCss?: InputMaybe<Scalars['String']['input']>;
|
|
347
|
+
defaultValue?: InputMaybe<Scalars['JSON']['input']>;
|
|
348
|
+
info?: InputMaybe<Scalars['String']['input']>;
|
|
349
|
+
inputType?: InputMaybe<FormFieldInputType>;
|
|
223
350
|
options?: InputMaybe<Array<KeyValueInput>>;
|
|
224
351
|
validation?: InputMaybe<FormFieldValidationConfigInput>;
|
|
225
352
|
};
|
|
@@ -231,18 +358,13 @@ export declare enum FormFieldConstraintType {
|
|
|
231
358
|
StringMaximumLength = "STRING_MAXIMUM_LENGTH",
|
|
232
359
|
StringMinimumLength = "STRING_MINIMUM_LENGTH"
|
|
233
360
|
}
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
name: Scalars['String'];
|
|
242
|
-
placeholder: Scalars['String'];
|
|
243
|
-
sortOrder?: InputMaybe<Scalars['Int']>;
|
|
244
|
-
type: FormFieldType;
|
|
245
|
-
};
|
|
361
|
+
export declare enum FormFieldInputType {
|
|
362
|
+
Date = "Date",
|
|
363
|
+
Email = "Email",
|
|
364
|
+
Number = "Number",
|
|
365
|
+
Phone = "Phone",
|
|
366
|
+
Text = "Text"
|
|
367
|
+
}
|
|
246
368
|
export declare enum FormFieldType {
|
|
247
369
|
Consent = "Consent",
|
|
248
370
|
Hidden = "Hidden",
|
|
@@ -255,46 +377,23 @@ export type FormFieldValidationConfigInput = {
|
|
|
255
377
|
constraints: Array<FormFieldValidationConstraintInput>;
|
|
256
378
|
};
|
|
257
379
|
export type FormFieldValidationConstraintInput = {
|
|
258
|
-
id: Scalars['String'];
|
|
259
|
-
message: Scalars['String'];
|
|
260
|
-
props: Scalars['JSON'];
|
|
380
|
+
id: Scalars['String']['input'];
|
|
381
|
+
message: Scalars['String']['input'];
|
|
382
|
+
props: Scalars['JSON']['input'];
|
|
261
383
|
type: FormFieldConstraintType;
|
|
262
384
|
};
|
|
263
|
-
export type
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
submission?: InputMaybe<FormSubmissionEntityInput>;
|
|
276
|
-
};
|
|
277
|
-
export type FormIntegrationInputEntityDto = {
|
|
278
|
-
actions?: InputMaybe<Array<FormIntegrationActionInputEntity>>;
|
|
279
|
-
formId: Scalars['Int'];
|
|
280
|
-
id: Scalars['Int'];
|
|
281
|
-
pageId?: InputMaybe<Scalars['Int']>;
|
|
282
|
-
};
|
|
283
|
-
export type FormSubmissionEntityInput = {
|
|
284
|
-
actionLogs?: InputMaybe<Array<FormSubmissionIntegrationActionLogEntityInputDto>>;
|
|
285
|
-
createdAt: Scalars['String'];
|
|
286
|
-
id: Scalars['Int'];
|
|
287
|
-
redirectURL?: InputMaybe<Scalars['String']>;
|
|
288
|
-
value: Scalars['JSONObject'];
|
|
289
|
-
};
|
|
290
|
-
export type FormSubmissionIntegrationActionLogEntityInputDto = {
|
|
291
|
-
integration?: InputMaybe<FormSubmissionIntegrationEntityInputDto>;
|
|
292
|
-
isSuccess: Scalars['Boolean'];
|
|
293
|
-
requestData?: InputMaybe<Scalars['String']>;
|
|
294
|
-
response: Scalars['String'];
|
|
295
|
-
};
|
|
296
|
-
export type FormSubmissionIntegrationEntityInputDto = {
|
|
297
|
-
name: Scalars['String'];
|
|
385
|
+
export type FranConnectSyncProcessDto = {
|
|
386
|
+
events: Array<FranconnectChangeEvent>;
|
|
387
|
+
webhookConfig: FranconnectSyncWebhookProps;
|
|
388
|
+
};
|
|
389
|
+
export type FranconnectChangeEvent = {
|
|
390
|
+
referenceId: Scalars['String']['input'];
|
|
391
|
+
subModule: Scalars['String']['input'];
|
|
392
|
+
};
|
|
393
|
+
export type FranconnectSyncWebhookProps = {
|
|
394
|
+
apiOrigin?: Scalars['String']['input'];
|
|
395
|
+
key?: Scalars['String']['input'];
|
|
396
|
+
tenantId?: Scalars['String']['input'];
|
|
298
397
|
};
|
|
299
398
|
export declare enum GlofoxForm {
|
|
300
399
|
Join = "Join",
|
|
@@ -302,33 +401,35 @@ export declare enum GlofoxForm {
|
|
|
302
401
|
Trial = "Trial"
|
|
303
402
|
}
|
|
304
403
|
export type GlofoxFormLeadsPaginationParams = {
|
|
305
|
-
conditions?: InputMaybe<Scalars['JSONObject']>;
|
|
306
|
-
count?: InputMaybe<Scalars['Int']>;
|
|
404
|
+
conditions?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
405
|
+
count?: InputMaybe<Scalars['Int']['input']>;
|
|
307
406
|
form: GlofoxForm;
|
|
308
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
309
|
-
offset?:
|
|
310
|
-
query?: InputMaybe<Scalars['String']>;
|
|
407
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
408
|
+
offset?: Scalars['Int']['input'];
|
|
409
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
410
|
+
/** Restrict paginated entities to those the user has a particular role on */
|
|
411
|
+
role?: InputMaybe<Role>;
|
|
412
|
+
sortColumn?: InputMaybe<Scalars['String']['input']>;
|
|
413
|
+
sortDirection?: InputMaybe<SortDirection>;
|
|
414
|
+
};
|
|
415
|
+
export type GmbLocationPaginationParams = {
|
|
416
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
417
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
311
418
|
};
|
|
312
419
|
export type IntegrationDeleteArgs = {
|
|
313
|
-
id: Scalars['Int'];
|
|
314
|
-
};
|
|
315
|
-
export type IntegrationInput = {
|
|
316
|
-
id: Scalars['Int'];
|
|
317
|
-
name: Scalars['String'];
|
|
318
|
-
organisationId?: InputMaybe<Scalars['Int']>;
|
|
319
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
320
|
-
type: IntegrationType;
|
|
420
|
+
id: Scalars['Int']['input'];
|
|
321
421
|
};
|
|
322
422
|
export declare enum IntegrationType {
|
|
323
423
|
Clubwise = "Clubwise",
|
|
324
424
|
GymSales = "GymSales",
|
|
325
425
|
RecaptchaV3 = "RecaptchaV3",
|
|
326
|
-
Sendgrid = "Sendgrid"
|
|
426
|
+
Sendgrid = "Sendgrid",
|
|
427
|
+
ZapierWebhook = "ZapierWebhook"
|
|
327
428
|
}
|
|
328
429
|
export type KeyValueInput = {
|
|
329
|
-
id: Scalars['String'];
|
|
330
|
-
key: Scalars['String'];
|
|
331
|
-
value: Scalars['String'];
|
|
430
|
+
id: Scalars['String']['input'];
|
|
431
|
+
key: Scalars['String']['input'];
|
|
432
|
+
value: Scalars['String']['input'];
|
|
332
433
|
};
|
|
333
434
|
export declare enum PageOrder {
|
|
334
435
|
CreatedAt = "CREATED_AT",
|
|
@@ -339,24 +440,47 @@ export declare enum PageOrderDirection {
|
|
|
339
440
|
Descending = "DESCENDING"
|
|
340
441
|
}
|
|
341
442
|
export type PageRevisionSchemaInput = {
|
|
342
|
-
anchorId?: InputMaybe<Scalars['String']>;
|
|
443
|
+
anchorId?: InputMaybe<Scalars['String']['input']>;
|
|
444
|
+
campaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
445
|
+
hideBlockForCampaignPlaceholders?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
446
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
343
447
|
properties: Array<PageRevisionSchemaPropertiesInput>;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
448
|
+
schemaBlockId?: InputMaybe<Scalars['Int']['input']>;
|
|
449
|
+
sortOrder: Scalars['Int']['input'];
|
|
450
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
451
|
+
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
347
452
|
};
|
|
348
453
|
export type PageRevisionSchemaPropertiesInput = {
|
|
349
|
-
dynamicReference?: InputMaybe<Scalars['String']>;
|
|
350
|
-
fieldId: Scalars['Int'];
|
|
351
|
-
isDynamic?:
|
|
352
|
-
name: Scalars['String'];
|
|
353
|
-
value: Scalars['JSON'];
|
|
454
|
+
dynamicReference?: InputMaybe<Scalars['String']['input']>;
|
|
455
|
+
fieldId: Scalars['Int']['input'];
|
|
456
|
+
isDynamic?: Scalars['Boolean']['input'];
|
|
457
|
+
name: Scalars['String']['input'];
|
|
458
|
+
value: Scalars['JSON']['input'];
|
|
354
459
|
};
|
|
355
460
|
export declare enum PageRevisionType {
|
|
356
461
|
CustomFields = "CustomFields",
|
|
357
462
|
Page = "Page",
|
|
358
463
|
Template = "Template"
|
|
359
464
|
}
|
|
465
|
+
export type PaginationParam = {
|
|
466
|
+
conditions?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
467
|
+
count?: InputMaybe<Scalars['Int']['input']>;
|
|
468
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
469
|
+
offset?: Scalars['Int']['input'];
|
|
470
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
471
|
+
/** Restrict paginated entities to those the user has a particular role on */
|
|
472
|
+
role?: InputMaybe<Role>;
|
|
473
|
+
sortColumn?: InputMaybe<Scalars['String']['input']>;
|
|
474
|
+
sortDirection?: InputMaybe<SortDirection>;
|
|
475
|
+
};
|
|
476
|
+
export declare enum RedirectStatus {
|
|
477
|
+
Active = "Active",
|
|
478
|
+
Inactive = "Inactive"
|
|
479
|
+
}
|
|
480
|
+
export declare enum RedirectToType {
|
|
481
|
+
Page = "Page",
|
|
482
|
+
Url = "Url"
|
|
483
|
+
}
|
|
360
484
|
export declare enum RedirectType {
|
|
361
485
|
Permanent = "Permanent",
|
|
362
486
|
Temporary = "Temporary"
|
|
@@ -365,8 +489,59 @@ export declare enum RefreshTokenStatus {
|
|
|
365
489
|
Expired = "EXPIRED",
|
|
366
490
|
Ok = "OK"
|
|
367
491
|
}
|
|
492
|
+
export type ReportStatRequest = {
|
|
493
|
+
type: ReportStatType;
|
|
494
|
+
};
|
|
495
|
+
export declare enum ReportStatType {
|
|
496
|
+
AgeDistribution = "AgeDistribution",
|
|
497
|
+
AverageDailyLeads = "AverageDailyLeads",
|
|
498
|
+
AverageLeadsPerPage = "AverageLeadsPerPage",
|
|
499
|
+
AverageSessionDuration = "AverageSessionDuration",
|
|
500
|
+
ConversionEvents = "ConversionEvents",
|
|
501
|
+
ConversionRate = "ConversionRate",
|
|
502
|
+
DeviceDistribution = "DeviceDistribution",
|
|
503
|
+
FormSubmissions = "FormSubmissions",
|
|
504
|
+
GenderDistribution = "GenderDistribution",
|
|
505
|
+
GlofoxLeads = "GlofoxLeads",
|
|
506
|
+
GlofoxTotalJoins = "GlofoxTotalJoins",
|
|
507
|
+
GlofoxTotalLeads = "GlofoxTotalLeads",
|
|
508
|
+
LeadSources = "LeadSources",
|
|
509
|
+
LeadSourcesSession = "LeadSourcesSession",
|
|
510
|
+
LeadsByTime = "LeadsByTime",
|
|
511
|
+
NumberOfLeads = "NumberOfLeads",
|
|
512
|
+
PricingConversions = "PricingConversions",
|
|
513
|
+
TopClicked = "TopClicked",
|
|
514
|
+
TopLeadsPages = "TopLeadsPages",
|
|
515
|
+
TotalLeadsSeries = "TotalLeadsSeries",
|
|
516
|
+
TotalUsers = "TotalUsers"
|
|
517
|
+
}
|
|
368
518
|
export type ResetPasswordInputDto = {
|
|
369
|
-
password: Scalars['String'];
|
|
519
|
+
password: Scalars['String']['input'];
|
|
520
|
+
};
|
|
521
|
+
export declare enum Role {
|
|
522
|
+
Admin = "ADMIN",
|
|
523
|
+
Editor = "EDITOR",
|
|
524
|
+
None = "NONE",
|
|
525
|
+
Owner = "OWNER",
|
|
526
|
+
Viewer = "VIEWER"
|
|
527
|
+
}
|
|
528
|
+
export type SiteReportRequestDto = {
|
|
529
|
+
month: Scalars['String']['input'];
|
|
530
|
+
pageIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
531
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
532
|
+
stats: Array<ReportStatRequest>;
|
|
533
|
+
};
|
|
534
|
+
export declare enum SortDirection {
|
|
535
|
+
Ascending = "ASCENDING",
|
|
536
|
+
Descending = "DESCENDING"
|
|
537
|
+
}
|
|
538
|
+
export type TtSchemaFieldSortOrderDto = {
|
|
539
|
+
id: Scalars['Int']['input'];
|
|
540
|
+
sortOrder: Scalars['Int']['input'];
|
|
541
|
+
};
|
|
542
|
+
export type TtSchemaFieldSortOrderInput = {
|
|
543
|
+
fields: Array<TtSchemaFieldSortOrderDto>;
|
|
544
|
+
id: Scalars['Int']['input'];
|
|
370
545
|
};
|
|
371
546
|
export declare enum TtSchemaFieldType {
|
|
372
547
|
Component = "Component",
|
|
@@ -375,184 +550,214 @@ export declare enum TtSchemaFieldType {
|
|
|
375
550
|
GmbLocation = "GmbLocation",
|
|
376
551
|
Image = "Image",
|
|
377
552
|
Link = "Link",
|
|
553
|
+
Page = "Page",
|
|
378
554
|
RichText = "RichText",
|
|
379
555
|
Schema = "Schema",
|
|
380
556
|
Text = "Text",
|
|
381
557
|
TextArea = "TextArea",
|
|
382
558
|
TextSelect = "TextSelect"
|
|
383
559
|
}
|
|
560
|
+
export declare enum TtSchemaFieldVisibility {
|
|
561
|
+
All = "All",
|
|
562
|
+
Hidden = "Hidden",
|
|
563
|
+
SiteAdminOnly = "SiteAdminOnly"
|
|
564
|
+
}
|
|
384
565
|
export declare enum TtSchemaType {
|
|
385
566
|
Block = "Block",
|
|
567
|
+
Campaign = "Campaign",
|
|
386
568
|
Component = "Component",
|
|
387
569
|
Object = "Object",
|
|
388
570
|
Page = "Page",
|
|
389
571
|
Schema = "Schema"
|
|
390
572
|
}
|
|
573
|
+
export declare enum TtSchemaVisibility {
|
|
574
|
+
All = "All",
|
|
575
|
+
Hidden = "Hidden",
|
|
576
|
+
SiteAdminOnly = "SiteAdminOnly"
|
|
577
|
+
}
|
|
391
578
|
export type TtSchemaWrapperInput = {
|
|
392
|
-
name: Scalars['String'];
|
|
393
|
-
organisationId: Scalars['Int'];
|
|
579
|
+
name: Scalars['String']['input'];
|
|
580
|
+
organisationId: Scalars['Int']['input'];
|
|
394
581
|
};
|
|
582
|
+
export declare enum TemplateOrder {
|
|
583
|
+
Name = "NAME",
|
|
584
|
+
UpdatedAt = "UPDATED_AT"
|
|
585
|
+
}
|
|
586
|
+
export declare enum TemplateOrderDirection {
|
|
587
|
+
Ascending = "ASCENDING",
|
|
588
|
+
Descending = "DESCENDING"
|
|
589
|
+
}
|
|
395
590
|
export declare enum TemplateType {
|
|
396
591
|
Campaign = "Campaign",
|
|
397
592
|
FixedPageLayout = "FixedPageLayout",
|
|
398
593
|
SiteWideBlock = "SiteWideBlock",
|
|
399
594
|
StarterPageLayout = "StarterPageLayout"
|
|
400
595
|
}
|
|
401
|
-
export type
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
596
|
+
export type UpdateCampaignDto = {
|
|
597
|
+
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
598
|
+
id: Scalars['Float']['input'];
|
|
599
|
+
imageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
600
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
pageIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
602
|
+
pageMetadata?: InputMaybe<CampaignPageMetadataCreateDto>;
|
|
603
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
604
|
+
placeholderTemplates?: InputMaybe<Array<CampaignPlaceholderTemplateInputDto>>;
|
|
605
|
+
regenerateSubpages?: InputMaybe<Scalars['Boolean']['input']>;
|
|
606
|
+
startTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
607
|
+
};
|
|
608
|
+
export type UpdateDashboardDto = {
|
|
609
|
+
id: Scalars['Int']['input'];
|
|
610
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
611
|
+
panels?: InputMaybe<Array<DashboardPanelConfigInput>>;
|
|
406
612
|
};
|
|
407
613
|
export type UpdateFormFieldInputDto = {
|
|
408
614
|
config?: InputMaybe<FormFieldConfigInput>;
|
|
409
|
-
fieldIdentifier?: InputMaybe<Scalars['String']>;
|
|
410
|
-
helpText?: InputMaybe<Scalars['String']>;
|
|
411
|
-
id: Scalars['Int'];
|
|
412
|
-
isRequired?: InputMaybe<Scalars['Boolean']>;
|
|
413
|
-
label?: InputMaybe<Scalars['String']>;
|
|
414
|
-
name
|
|
415
|
-
placeholder
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
export type UpdateFormInput = {
|
|
615
|
+
fieldIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
616
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
617
|
+
id: Scalars['Int']['input'];
|
|
618
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
619
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
620
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
621
|
+
placeholder?: InputMaybe<Scalars['String']['input']>;
|
|
622
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
623
|
+
type?: InputMaybe<FormFieldType>;
|
|
624
|
+
};
|
|
625
|
+
export type UpdateFormFieldSortOrderDto = {
|
|
626
|
+
siteId: Scalars['Int']['input'];
|
|
627
|
+
sortOrders: Scalars['JSONObject']['input'];
|
|
628
|
+
};
|
|
629
|
+
export type UpdateFormInputDto = {
|
|
425
630
|
botProtection: BotProtectionType;
|
|
426
|
-
enableRecaptcha?:
|
|
427
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
428
|
-
id: Scalars['Int'];
|
|
429
|
-
name: Scalars['String'];
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
631
|
+
enableRecaptcha?: Scalars['Boolean']['input'];
|
|
632
|
+
formIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
633
|
+
id: Scalars['Int']['input'];
|
|
634
|
+
name: Scalars['String']['input'];
|
|
635
|
+
retentionPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
636
|
+
siteId: Scalars['Int']['input'];
|
|
637
|
+
submitButtonLabel: Scalars['String']['input'];
|
|
638
|
+
thankYouMessage: Scalars['String']['input'];
|
|
639
|
+
};
|
|
640
|
+
export type UpdateFormIntegrationActionDto = {
|
|
641
|
+
id: Scalars['Int']['input'];
|
|
436
642
|
integration?: InputMaybe<UpdateIntegrationDto>;
|
|
437
|
-
siteId?: InputMaybe<Scalars['Int']>;
|
|
438
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
643
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
644
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
439
645
|
};
|
|
440
646
|
export type UpdateIntegrationDto = {
|
|
441
|
-
id: Scalars['Int'];
|
|
442
|
-
name?: InputMaybe<Scalars['String']>;
|
|
443
|
-
organisationId?: InputMaybe<Scalars['Int']>;
|
|
444
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
647
|
+
id: Scalars['Int']['input'];
|
|
648
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
649
|
+
organisationId?: InputMaybe<Scalars['Int']['input']>;
|
|
650
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
445
651
|
type?: InputMaybe<IntegrationType>;
|
|
446
652
|
};
|
|
447
653
|
export type UpdatePageDto = {
|
|
448
|
-
allowCrawling?: InputMaybe<Scalars['Boolean']>;
|
|
449
|
-
customScriptBody?: InputMaybe<Scalars['String']>;
|
|
450
|
-
customScriptHead?: InputMaybe<Scalars['String']>;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
654
|
+
allowCrawling?: InputMaybe<Scalars['Boolean']['input']>;
|
|
655
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
656
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
657
|
+
draftCustomFieldsId?: InputMaybe<Scalars['Int']['input']>;
|
|
658
|
+
draftRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
659
|
+
id: Scalars['Int']['input'];
|
|
660
|
+
lang?: InputMaybe<Scalars['String']['input']>;
|
|
661
|
+
metaDescription?: InputMaybe<Scalars['String']['input']>;
|
|
662
|
+
metaTitle?: InputMaybe<Scalars['String']['input']>;
|
|
663
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
664
|
+
parentId?: InputMaybe<Scalars['Int']['input']>;
|
|
458
665
|
properties?: InputMaybe<Array<CustomPagePropertiesInput>>;
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
tags?: InputMaybe<Scalars['String']>;
|
|
462
|
-
templateId?: InputMaybe<Scalars['Int']>;
|
|
463
|
-
ttschemaId?: InputMaybe<Scalars['Int']>;
|
|
464
|
-
urlSegment
|
|
666
|
+
publishedCustomFieldsId?: InputMaybe<Scalars['Int']['input']>;
|
|
667
|
+
publishedRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
668
|
+
tags?: InputMaybe<Scalars['String']['input']>;
|
|
669
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
670
|
+
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
671
|
+
urlSegment?: InputMaybe<Scalars['String']['input']>;
|
|
672
|
+
};
|
|
673
|
+
export type UpdateRedirectEntityDto = {
|
|
674
|
+
fromPath?: InputMaybe<Scalars['String']['input']>;
|
|
675
|
+
id: Scalars['Int']['input'];
|
|
676
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
677
|
+
status?: InputMaybe<RedirectStatus>;
|
|
678
|
+
toPageId?: InputMaybe<Scalars['Int']['input']>;
|
|
679
|
+
toType?: InputMaybe<RedirectToType>;
|
|
680
|
+
toUrl?: InputMaybe<Scalars['String']['input']>;
|
|
681
|
+
type?: InputMaybe<RedirectType>;
|
|
682
|
+
};
|
|
683
|
+
export type UpdateSiteDto = {
|
|
684
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
685
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
686
|
+
error404TemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
687
|
+
error500TemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
688
|
+
footerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
689
|
+
googleAccountId?: InputMaybe<Scalars['Float']['input']>;
|
|
690
|
+
googleAnalyticsAccountId?: InputMaybe<Scalars['String']['input']>;
|
|
691
|
+
googleAnalyticsPropertyId?: InputMaybe<Scalars['String']['input']>;
|
|
692
|
+
headerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
693
|
+
homepageId?: InputMaybe<Scalars['Int']['input']>;
|
|
694
|
+
id: Scalars['Int']['input'];
|
|
695
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
696
|
+
thumbnailImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
697
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
698
|
+
webhookUrl?: InputMaybe<Scalars['String']['input']>;
|
|
699
|
+
};
|
|
700
|
+
export type UpdateTtSchemaFieldDto = {
|
|
701
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
702
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
703
|
+
hasMultipleValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
704
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
705
|
+
id: Scalars['Int']['input'];
|
|
706
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
707
|
+
readOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
708
|
+
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
709
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
710
|
+
typeDefinition?: InputMaybe<Scalars['JSON']['input']>;
|
|
711
|
+
visibility?: InputMaybe<TtSchemaFieldVisibility>;
|
|
712
|
+
};
|
|
713
|
+
export type UpdateTtSchemaInput = {
|
|
714
|
+
id: Scalars['Int']['input'];
|
|
715
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
716
|
+
titlePlural?: InputMaybe<Scalars['String']['input']>;
|
|
717
|
+
titleSingular?: InputMaybe<Scalars['String']['input']>;
|
|
718
|
+
visibility?: InputMaybe<TtSchemaVisibility>;
|
|
719
|
+
};
|
|
720
|
+
export type UpdateTtSchemaWrapperInput = {
|
|
721
|
+
id: Scalars['Int']['input'];
|
|
722
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
723
|
+
};
|
|
724
|
+
export type UpdateTemplateInputDto = {
|
|
725
|
+
id: Scalars['Int']['input'];
|
|
726
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
727
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
728
|
+
type?: InputMaybe<TemplateType>;
|
|
465
729
|
};
|
|
466
730
|
export type UpdateUserInputDto = {
|
|
467
|
-
firstName: Scalars['String'];
|
|
468
|
-
lastName: Scalars['String'];
|
|
469
|
-
password: Scalars['String'];
|
|
731
|
+
firstName: Scalars['String']['input'];
|
|
732
|
+
lastName: Scalars['String']['input'];
|
|
733
|
+
password: Scalars['String']['input'];
|
|
470
734
|
};
|
|
471
735
|
export type UpdateUserResourceDto = {
|
|
472
|
-
id: Scalars['Int'];
|
|
473
|
-
resourceId: Scalars['Int'];
|
|
474
|
-
resourceIdentifier: Scalars['String'];
|
|
475
|
-
roleId: Scalars['Int'];
|
|
476
|
-
userId: Scalars['Int'];
|
|
736
|
+
id: Scalars['Int']['input'];
|
|
737
|
+
resourceId: Scalars['Int']['input'];
|
|
738
|
+
resourceIdentifier: Scalars['String']['input'];
|
|
739
|
+
roleId: Scalars['Int']['input'];
|
|
740
|
+
userId: Scalars['Int']['input'];
|
|
477
741
|
};
|
|
478
742
|
export declare enum UserVerificationTokenType {
|
|
479
743
|
NewUser = "NEW_USER",
|
|
480
744
|
PasswordReset = "PASSWORD_RESET"
|
|
481
745
|
}
|
|
482
746
|
export type ValidationInputDto = {
|
|
483
|
-
object: Scalars['JSON'];
|
|
484
|
-
typeName: Scalars['String'];
|
|
485
|
-
};
|
|
486
|
-
export type FormQueryVariables = Exact<{
|
|
487
|
-
id: Scalars['Int'];
|
|
488
|
-
}>;
|
|
489
|
-
export type FormQuery = {
|
|
490
|
-
__typename?: 'Query';
|
|
491
|
-
form: {
|
|
492
|
-
__typename?: 'FormEntity';
|
|
493
|
-
id: number;
|
|
494
|
-
name: string;
|
|
495
|
-
submitButtonLabel: string;
|
|
496
|
-
thankYouMessage: string;
|
|
497
|
-
recaptchaSiteToken?: string | null;
|
|
498
|
-
enableRecaptcha: boolean;
|
|
499
|
-
botProtection: BotProtectionType;
|
|
500
|
-
fields: Array<{
|
|
501
|
-
__typename?: 'FormFieldEntity';
|
|
502
|
-
id: number;
|
|
503
|
-
name: string;
|
|
504
|
-
isRequired?: boolean | null;
|
|
505
|
-
label?: string | null;
|
|
506
|
-
placeholder: string;
|
|
507
|
-
type: FormFieldType;
|
|
508
|
-
config?: {
|
|
509
|
-
__typename?: 'FormFieldConfig';
|
|
510
|
-
customCss?: string | null;
|
|
511
|
-
info?: string | null;
|
|
512
|
-
defaultValue?: any | null;
|
|
513
|
-
validation?: {
|
|
514
|
-
__typename?: 'FormFieldValidationConfig';
|
|
515
|
-
constraints: Array<{
|
|
516
|
-
__typename?: 'FormFieldValidationConstraint';
|
|
517
|
-
id: string;
|
|
518
|
-
type: FormFieldConstraintType;
|
|
519
|
-
props: any;
|
|
520
|
-
message: string;
|
|
521
|
-
}>;
|
|
522
|
-
} | null;
|
|
523
|
-
options?: Array<{
|
|
524
|
-
__typename?: 'KeyValue';
|
|
525
|
-
id: string;
|
|
526
|
-
key: string;
|
|
527
|
-
value: string;
|
|
528
|
-
}> | null;
|
|
529
|
-
} | null;
|
|
530
|
-
}>;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
export type FormSubmissionMutationVariables = Exact<{
|
|
534
|
-
submission: CreateFormSubmissionInputDto;
|
|
535
|
-
}>;
|
|
536
|
-
export type FormSubmissionMutation = {
|
|
537
|
-
__typename?: 'Mutation';
|
|
538
|
-
createSubmission: {
|
|
539
|
-
__typename?: 'FormSubmissionEntity';
|
|
540
|
-
id: number;
|
|
541
|
-
redirectURL?: string | null;
|
|
542
|
-
};
|
|
747
|
+
object: Scalars['JSON']['input'];
|
|
543
748
|
};
|
|
544
749
|
export type DynamicPageFilteringQueryVariables = Exact<{
|
|
545
|
-
latitude?: InputMaybe<Scalars['Float']>;
|
|
546
|
-
longitude?: InputMaybe<Scalars['Float']>;
|
|
547
|
-
pageType: Scalars['String'];
|
|
548
|
-
domain: Scalars['String'];
|
|
549
|
-
limitPageId?: InputMaybe<Array<InputMaybe<Scalars['Int']>> | InputMaybe<Scalars['Int']>>;
|
|
550
|
-
query?: InputMaybe<Scalars['String']>;
|
|
551
|
-
radius?: InputMaybe<Scalars['Float']>;
|
|
552
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
553
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
554
|
-
filters?: InputMaybe<Scalars['JSONObject']>;
|
|
555
|
-
fields?: InputMaybe<Array<InputMaybe<Scalars['String']>> | InputMaybe<Scalars['String']>>;
|
|
750
|
+
latitude?: InputMaybe<Scalars['Float']['input']>;
|
|
751
|
+
longitude?: InputMaybe<Scalars['Float']['input']>;
|
|
752
|
+
pageType: Scalars['String']['input'];
|
|
753
|
+
domain: Scalars['String']['input'];
|
|
754
|
+
limitPageId?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>> | InputMaybe<Scalars['Int']['input']>>;
|
|
755
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
756
|
+
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
757
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
758
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
759
|
+
filters?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
760
|
+
fields?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
556
761
|
}>;
|
|
557
762
|
export type DynamicPageFilteringQuery = {
|
|
558
763
|
__typename?: 'Query';
|
|
@@ -576,6 +781,9 @@ export type RevisionSchemaFragmentFragment = {
|
|
|
576
781
|
id: number;
|
|
577
782
|
sortOrder: number;
|
|
578
783
|
anchorId?: string | null;
|
|
784
|
+
campaign: boolean;
|
|
785
|
+
label?: string | null;
|
|
786
|
+
schemaBlockId?: number | null;
|
|
579
787
|
properties?: Array<{
|
|
580
788
|
__typename?: 'PageRevisionSchemaProperties';
|
|
581
789
|
fieldId: number;
|
|
@@ -588,6 +796,7 @@ export type RevisionSchemaFragmentFragment = {
|
|
|
588
796
|
name: string;
|
|
589
797
|
titlePlural: string;
|
|
590
798
|
titleSingular: string;
|
|
799
|
+
type: TtSchemaType;
|
|
591
800
|
fields: Array<{
|
|
592
801
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
593
802
|
id: number;
|
|
@@ -627,6 +836,9 @@ export type RevisionFragmentFragment = {
|
|
|
627
836
|
id: number;
|
|
628
837
|
sortOrder: number;
|
|
629
838
|
anchorId?: string | null;
|
|
839
|
+
campaign: boolean;
|
|
840
|
+
label?: string | null;
|
|
841
|
+
schemaBlockId?: number | null;
|
|
630
842
|
template?: {
|
|
631
843
|
__typename?: 'TemplateEntityDto';
|
|
632
844
|
id: number;
|
|
@@ -639,6 +851,9 @@ export type RevisionFragmentFragment = {
|
|
|
639
851
|
id: number;
|
|
640
852
|
sortOrder: number;
|
|
641
853
|
anchorId?: string | null;
|
|
854
|
+
campaign: boolean;
|
|
855
|
+
label?: string | null;
|
|
856
|
+
schemaBlockId?: number | null;
|
|
642
857
|
properties?: Array<{
|
|
643
858
|
__typename?: 'PageRevisionSchemaProperties';
|
|
644
859
|
fieldId: number;
|
|
@@ -651,6 +866,7 @@ export type RevisionFragmentFragment = {
|
|
|
651
866
|
name: string;
|
|
652
867
|
titlePlural: string;
|
|
653
868
|
titleSingular: string;
|
|
869
|
+
type: TtSchemaType;
|
|
654
870
|
fields: Array<{
|
|
655
871
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
656
872
|
id: number;
|
|
@@ -696,6 +912,124 @@ export type RevisionFragmentFragment = {
|
|
|
696
912
|
name: string;
|
|
697
913
|
titlePlural: string;
|
|
698
914
|
titleSingular: string;
|
|
915
|
+
type: TtSchemaType;
|
|
916
|
+
fields: Array<{
|
|
917
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
918
|
+
id: number;
|
|
919
|
+
name: string;
|
|
920
|
+
type: TtSchemaFieldType;
|
|
921
|
+
hasMultipleValues: boolean;
|
|
922
|
+
typeTTSchema?: {
|
|
923
|
+
__typename?: 'TTSchemaEntityDto';
|
|
924
|
+
id: number;
|
|
925
|
+
} | null;
|
|
926
|
+
}>;
|
|
927
|
+
subSchemas: Array<{
|
|
928
|
+
__typename?: 'TTSchemaEntityDto';
|
|
929
|
+
id: number;
|
|
930
|
+
name: string;
|
|
931
|
+
titlePlural: string;
|
|
932
|
+
titleSingular: string;
|
|
933
|
+
fields: Array<{
|
|
934
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
935
|
+
id: number;
|
|
936
|
+
name: string;
|
|
937
|
+
type: TtSchemaFieldType;
|
|
938
|
+
hasMultipleValues: boolean;
|
|
939
|
+
typeTTSchema?: {
|
|
940
|
+
__typename?: 'TTSchemaEntityDto';
|
|
941
|
+
id: number;
|
|
942
|
+
} | null;
|
|
943
|
+
}>;
|
|
944
|
+
}>;
|
|
945
|
+
} | null;
|
|
946
|
+
}>;
|
|
947
|
+
};
|
|
948
|
+
export type RevisionBlockFragmentFragment = {
|
|
949
|
+
__typename?: 'PageRevisionEntityDto';
|
|
950
|
+
id: number;
|
|
951
|
+
schema: Array<{
|
|
952
|
+
__typename?: 'PageRevisionSchemaEntityDto';
|
|
953
|
+
id: number;
|
|
954
|
+
sortOrder: number;
|
|
955
|
+
anchorId?: string | null;
|
|
956
|
+
campaign: boolean;
|
|
957
|
+
label?: string | null;
|
|
958
|
+
schemaBlockId?: number | null;
|
|
959
|
+
template?: {
|
|
960
|
+
__typename?: 'TemplateEntityDto';
|
|
961
|
+
id: number;
|
|
962
|
+
name: string;
|
|
963
|
+
publishedRevision?: {
|
|
964
|
+
__typename?: 'PageRevisionEntityDto';
|
|
965
|
+
id: number;
|
|
966
|
+
schema: Array<{
|
|
967
|
+
__typename?: 'PageRevisionSchemaEntityDto';
|
|
968
|
+
id: number;
|
|
969
|
+
sortOrder: number;
|
|
970
|
+
anchorId?: string | null;
|
|
971
|
+
campaign: boolean;
|
|
972
|
+
label?: string | null;
|
|
973
|
+
schemaBlockId?: number | null;
|
|
974
|
+
properties?: Array<{
|
|
975
|
+
__typename?: 'PageRevisionSchemaProperties';
|
|
976
|
+
fieldId: number;
|
|
977
|
+
name: string;
|
|
978
|
+
value: any;
|
|
979
|
+
}> | null;
|
|
980
|
+
ttschema?: {
|
|
981
|
+
__typename?: 'TTSchemaEntityDto';
|
|
982
|
+
id: number;
|
|
983
|
+
name: string;
|
|
984
|
+
titlePlural: string;
|
|
985
|
+
titleSingular: string;
|
|
986
|
+
type: TtSchemaType;
|
|
987
|
+
fields: Array<{
|
|
988
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
989
|
+
id: number;
|
|
990
|
+
name: string;
|
|
991
|
+
type: TtSchemaFieldType;
|
|
992
|
+
hasMultipleValues: boolean;
|
|
993
|
+
typeTTSchema?: {
|
|
994
|
+
__typename?: 'TTSchemaEntityDto';
|
|
995
|
+
id: number;
|
|
996
|
+
} | null;
|
|
997
|
+
}>;
|
|
998
|
+
subSchemas: Array<{
|
|
999
|
+
__typename?: 'TTSchemaEntityDto';
|
|
1000
|
+
id: number;
|
|
1001
|
+
name: string;
|
|
1002
|
+
titlePlural: string;
|
|
1003
|
+
titleSingular: string;
|
|
1004
|
+
fields: Array<{
|
|
1005
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
1006
|
+
id: number;
|
|
1007
|
+
name: string;
|
|
1008
|
+
type: TtSchemaFieldType;
|
|
1009
|
+
hasMultipleValues: boolean;
|
|
1010
|
+
typeTTSchema?: {
|
|
1011
|
+
__typename?: 'TTSchemaEntityDto';
|
|
1012
|
+
id: number;
|
|
1013
|
+
} | null;
|
|
1014
|
+
}>;
|
|
1015
|
+
}>;
|
|
1016
|
+
} | null;
|
|
1017
|
+
}>;
|
|
1018
|
+
} | null;
|
|
1019
|
+
} | null;
|
|
1020
|
+
properties?: Array<{
|
|
1021
|
+
__typename?: 'PageRevisionSchemaProperties';
|
|
1022
|
+
fieldId: number;
|
|
1023
|
+
name: string;
|
|
1024
|
+
value: any;
|
|
1025
|
+
}> | null;
|
|
1026
|
+
ttschema?: {
|
|
1027
|
+
__typename?: 'TTSchemaEntityDto';
|
|
1028
|
+
id: number;
|
|
1029
|
+
name: string;
|
|
1030
|
+
titlePlural: string;
|
|
1031
|
+
titleSingular: string;
|
|
1032
|
+
type: TtSchemaType;
|
|
699
1033
|
fields: Array<{
|
|
700
1034
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
701
1035
|
id: number;
|
|
@@ -739,16 +1073,28 @@ export type PageFragmentFragment = {
|
|
|
739
1073
|
lang: string;
|
|
740
1074
|
brandId: number;
|
|
741
1075
|
sitePath?: string | null;
|
|
1076
|
+
templateId?: number | null;
|
|
1077
|
+
createdAt?: any | null;
|
|
1078
|
+
updatedAt?: any | null;
|
|
742
1079
|
site: {
|
|
743
1080
|
__typename?: 'SiteEntityDto';
|
|
744
1081
|
id: number;
|
|
1082
|
+
name: string;
|
|
745
1083
|
customScriptHead: string;
|
|
746
1084
|
customScriptBody: string;
|
|
747
1085
|
};
|
|
1086
|
+
breadcrumbs: Array<{
|
|
1087
|
+
__typename?: 'Breadcrumb';
|
|
1088
|
+
name: string;
|
|
1089
|
+
urlPath: string;
|
|
1090
|
+
}>;
|
|
748
1091
|
};
|
|
749
1092
|
export type PageQueryVariables = Exact<{
|
|
750
|
-
slug?: InputMaybe<Scalars['String']>;
|
|
751
|
-
domain
|
|
1093
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1094
|
+
domain?: InputMaybe<Scalars['String']['input']>;
|
|
1095
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
|
1096
|
+
campaignId?: InputMaybe<Scalars['Int']['input']>;
|
|
1097
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
752
1098
|
}>;
|
|
753
1099
|
export type PageQuery = {
|
|
754
1100
|
__typename?: 'Query';
|
|
@@ -763,6 +1109,9 @@ export type PageQuery = {
|
|
|
763
1109
|
lang: string;
|
|
764
1110
|
brandId: number;
|
|
765
1111
|
sitePath?: string | null;
|
|
1112
|
+
templateId?: number | null;
|
|
1113
|
+
createdAt?: any | null;
|
|
1114
|
+
updatedAt?: any | null;
|
|
766
1115
|
publishedRevision?: {
|
|
767
1116
|
__typename?: 'PageRevisionEntityDto';
|
|
768
1117
|
id: number;
|
|
@@ -771,6 +1120,9 @@ export type PageQuery = {
|
|
|
771
1120
|
id: number;
|
|
772
1121
|
sortOrder: number;
|
|
773
1122
|
anchorId?: string | null;
|
|
1123
|
+
campaign: boolean;
|
|
1124
|
+
label?: string | null;
|
|
1125
|
+
schemaBlockId?: number | null;
|
|
774
1126
|
template?: {
|
|
775
1127
|
__typename?: 'TemplateEntityDto';
|
|
776
1128
|
id: number;
|
|
@@ -783,6 +1135,9 @@ export type PageQuery = {
|
|
|
783
1135
|
id: number;
|
|
784
1136
|
sortOrder: number;
|
|
785
1137
|
anchorId?: string | null;
|
|
1138
|
+
campaign: boolean;
|
|
1139
|
+
label?: string | null;
|
|
1140
|
+
schemaBlockId?: number | null;
|
|
786
1141
|
properties?: Array<{
|
|
787
1142
|
__typename?: 'PageRevisionSchemaProperties';
|
|
788
1143
|
fieldId: number;
|
|
@@ -795,6 +1150,7 @@ export type PageQuery = {
|
|
|
795
1150
|
name: string;
|
|
796
1151
|
titlePlural: string;
|
|
797
1152
|
titleSingular: string;
|
|
1153
|
+
type: TtSchemaType;
|
|
798
1154
|
fields: Array<{
|
|
799
1155
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
800
1156
|
id: number;
|
|
@@ -840,6 +1196,7 @@ export type PageQuery = {
|
|
|
840
1196
|
name: string;
|
|
841
1197
|
titlePlural: string;
|
|
842
1198
|
titleSingular: string;
|
|
1199
|
+
type: TtSchemaType;
|
|
843
1200
|
fields: Array<{
|
|
844
1201
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
845
1202
|
id: number;
|
|
@@ -875,19 +1232,26 @@ export type PageQuery = {
|
|
|
875
1232
|
site: {
|
|
876
1233
|
__typename?: 'SiteEntityDto';
|
|
877
1234
|
id: number;
|
|
1235
|
+
name: string;
|
|
878
1236
|
customScriptHead: string;
|
|
879
1237
|
customScriptBody: string;
|
|
880
1238
|
};
|
|
1239
|
+
breadcrumbs: Array<{
|
|
1240
|
+
__typename?: 'Breadcrumb';
|
|
1241
|
+
name: string;
|
|
1242
|
+
urlPath: string;
|
|
1243
|
+
}>;
|
|
881
1244
|
};
|
|
882
1245
|
};
|
|
883
1246
|
export type ErrorTemplateQueryVariables = Exact<{
|
|
884
|
-
domain: Scalars['String'];
|
|
885
|
-
path: Scalars['String'];
|
|
1247
|
+
domain: Scalars['String']['input'];
|
|
1248
|
+
path: Scalars['String']['input'];
|
|
886
1249
|
errorType: ErrorTemplateType;
|
|
1250
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
887
1251
|
}>;
|
|
888
1252
|
export type ErrorTemplateQuery = {
|
|
889
1253
|
__typename?: 'Query';
|
|
890
|
-
errorTemplate
|
|
1254
|
+
errorTemplate?: {
|
|
891
1255
|
__typename?: 'TemplateEntityDto';
|
|
892
1256
|
publishedRevision?: {
|
|
893
1257
|
__typename?: 'PageRevisionEntityDto';
|
|
@@ -897,6 +1261,9 @@ export type ErrorTemplateQuery = {
|
|
|
897
1261
|
id: number;
|
|
898
1262
|
sortOrder: number;
|
|
899
1263
|
anchorId?: string | null;
|
|
1264
|
+
campaign: boolean;
|
|
1265
|
+
label?: string | null;
|
|
1266
|
+
schemaBlockId?: number | null;
|
|
900
1267
|
template?: {
|
|
901
1268
|
__typename?: 'TemplateEntityDto';
|
|
902
1269
|
id: number;
|
|
@@ -909,6 +1276,9 @@ export type ErrorTemplateQuery = {
|
|
|
909
1276
|
id: number;
|
|
910
1277
|
sortOrder: number;
|
|
911
1278
|
anchorId?: string | null;
|
|
1279
|
+
campaign: boolean;
|
|
1280
|
+
label?: string | null;
|
|
1281
|
+
schemaBlockId?: number | null;
|
|
912
1282
|
properties?: Array<{
|
|
913
1283
|
__typename?: 'PageRevisionSchemaProperties';
|
|
914
1284
|
fieldId: number;
|
|
@@ -921,6 +1291,7 @@ export type ErrorTemplateQuery = {
|
|
|
921
1291
|
name: string;
|
|
922
1292
|
titlePlural: string;
|
|
923
1293
|
titleSingular: string;
|
|
1294
|
+
type: TtSchemaType;
|
|
924
1295
|
fields: Array<{
|
|
925
1296
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
926
1297
|
id: number;
|
|
@@ -966,6 +1337,7 @@ export type ErrorTemplateQuery = {
|
|
|
966
1337
|
name: string;
|
|
967
1338
|
titlePlural: string;
|
|
968
1339
|
titleSingular: string;
|
|
1340
|
+
type: TtSchemaType;
|
|
969
1341
|
fields: Array<{
|
|
970
1342
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
971
1343
|
id: number;
|
|
@@ -998,11 +1370,12 @@ export type ErrorTemplateQuery = {
|
|
|
998
1370
|
} | null;
|
|
999
1371
|
}>;
|
|
1000
1372
|
} | null;
|
|
1001
|
-
};
|
|
1373
|
+
} | null;
|
|
1002
1374
|
};
|
|
1003
1375
|
export type UrlResolutionQueryVariables = Exact<{
|
|
1004
|
-
slug?: InputMaybe<Scalars['String']>;
|
|
1005
|
-
domain: Scalars['String'];
|
|
1376
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1377
|
+
domain: Scalars['String']['input'];
|
|
1378
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1006
1379
|
}>;
|
|
1007
1380
|
export type UrlResolutionQuery = {
|
|
1008
1381
|
__typename?: 'Query';
|
|
@@ -1019,6 +1392,9 @@ export type UrlResolutionQuery = {
|
|
|
1019
1392
|
lang: string;
|
|
1020
1393
|
brandId: number;
|
|
1021
1394
|
sitePath?: string | null;
|
|
1395
|
+
templateId?: number | null;
|
|
1396
|
+
createdAt?: any | null;
|
|
1397
|
+
updatedAt?: any | null;
|
|
1022
1398
|
publishedRevision?: {
|
|
1023
1399
|
__typename?: 'PageRevisionEntityDto';
|
|
1024
1400
|
id: number;
|
|
@@ -1027,6 +1403,9 @@ export type UrlResolutionQuery = {
|
|
|
1027
1403
|
id: number;
|
|
1028
1404
|
sortOrder: number;
|
|
1029
1405
|
anchorId?: string | null;
|
|
1406
|
+
campaign: boolean;
|
|
1407
|
+
label?: string | null;
|
|
1408
|
+
schemaBlockId?: number | null;
|
|
1030
1409
|
template?: {
|
|
1031
1410
|
__typename?: 'TemplateEntityDto';
|
|
1032
1411
|
id: number;
|
|
@@ -1039,6 +1418,9 @@ export type UrlResolutionQuery = {
|
|
|
1039
1418
|
id: number;
|
|
1040
1419
|
sortOrder: number;
|
|
1041
1420
|
anchorId?: string | null;
|
|
1421
|
+
campaign: boolean;
|
|
1422
|
+
label?: string | null;
|
|
1423
|
+
schemaBlockId?: number | null;
|
|
1042
1424
|
properties?: Array<{
|
|
1043
1425
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1044
1426
|
fieldId: number;
|
|
@@ -1051,6 +1433,7 @@ export type UrlResolutionQuery = {
|
|
|
1051
1433
|
name: string;
|
|
1052
1434
|
titlePlural: string;
|
|
1053
1435
|
titleSingular: string;
|
|
1436
|
+
type: TtSchemaType;
|
|
1054
1437
|
fields: Array<{
|
|
1055
1438
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1056
1439
|
id: number;
|
|
@@ -1096,6 +1479,7 @@ export type UrlResolutionQuery = {
|
|
|
1096
1479
|
name: string;
|
|
1097
1480
|
titlePlural: string;
|
|
1098
1481
|
titleSingular: string;
|
|
1482
|
+
type: TtSchemaType;
|
|
1099
1483
|
fields: Array<{
|
|
1100
1484
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1101
1485
|
id: number;
|
|
@@ -1131,22 +1515,29 @@ export type UrlResolutionQuery = {
|
|
|
1131
1515
|
site: {
|
|
1132
1516
|
__typename?: 'SiteEntityDto';
|
|
1133
1517
|
id: number;
|
|
1518
|
+
name: string;
|
|
1134
1519
|
customScriptHead: string;
|
|
1135
1520
|
customScriptBody: string;
|
|
1136
1521
|
};
|
|
1522
|
+
breadcrumbs: Array<{
|
|
1523
|
+
__typename?: 'Breadcrumb';
|
|
1524
|
+
name: string;
|
|
1525
|
+
urlPath: string;
|
|
1526
|
+
}>;
|
|
1137
1527
|
} | null;
|
|
1138
1528
|
redirect?: {
|
|
1139
|
-
__typename?: '
|
|
1529
|
+
__typename?: 'URLRedirectEntityDto';
|
|
1140
1530
|
target: string;
|
|
1141
1531
|
type: RedirectType;
|
|
1142
1532
|
} | null;
|
|
1143
1533
|
};
|
|
1144
1534
|
};
|
|
1145
1535
|
export type LayoutRevisionQueryVariables = Exact<{
|
|
1146
|
-
id: Scalars['Int'];
|
|
1147
|
-
|
|
1148
|
-
campaignId
|
|
1149
|
-
|
|
1536
|
+
id: Scalars['Int']['input'];
|
|
1537
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1538
|
+
campaignId?: InputMaybe<Scalars['Int']['input']>;
|
|
1539
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
1540
|
+
block?: InputMaybe<Scalars['Int']['input']>;
|
|
1150
1541
|
}>;
|
|
1151
1542
|
export type LayoutRevisionQuery = {
|
|
1152
1543
|
__typename?: 'Query';
|
|
@@ -1164,18 +1555,30 @@ export type LayoutRevisionQuery = {
|
|
|
1164
1555
|
lang: string;
|
|
1165
1556
|
brandId: number;
|
|
1166
1557
|
sitePath?: string | null;
|
|
1558
|
+
templateId?: number | null;
|
|
1559
|
+
createdAt?: any | null;
|
|
1560
|
+
updatedAt?: any | null;
|
|
1167
1561
|
site: {
|
|
1168
1562
|
__typename?: 'SiteEntityDto';
|
|
1169
1563
|
id: number;
|
|
1564
|
+
name: string;
|
|
1170
1565
|
customScriptHead: string;
|
|
1171
1566
|
customScriptBody: string;
|
|
1172
1567
|
};
|
|
1568
|
+
breadcrumbs: Array<{
|
|
1569
|
+
__typename?: 'Breadcrumb';
|
|
1570
|
+
name: string;
|
|
1571
|
+
urlPath: string;
|
|
1572
|
+
}>;
|
|
1173
1573
|
} | null;
|
|
1174
1574
|
schema: Array<{
|
|
1175
1575
|
__typename?: 'PageRevisionSchemaEntityDto';
|
|
1176
1576
|
id: number;
|
|
1177
1577
|
sortOrder: number;
|
|
1178
1578
|
anchorId?: string | null;
|
|
1579
|
+
campaign: boolean;
|
|
1580
|
+
label?: string | null;
|
|
1581
|
+
schemaBlockId?: number | null;
|
|
1179
1582
|
template?: {
|
|
1180
1583
|
__typename?: 'TemplateEntityDto';
|
|
1181
1584
|
id: number;
|
|
@@ -1188,6 +1591,9 @@ export type LayoutRevisionQuery = {
|
|
|
1188
1591
|
id: number;
|
|
1189
1592
|
sortOrder: number;
|
|
1190
1593
|
anchorId?: string | null;
|
|
1594
|
+
campaign: boolean;
|
|
1595
|
+
label?: string | null;
|
|
1596
|
+
schemaBlockId?: number | null;
|
|
1191
1597
|
properties?: Array<{
|
|
1192
1598
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1193
1599
|
fieldId: number;
|
|
@@ -1200,6 +1606,7 @@ export type LayoutRevisionQuery = {
|
|
|
1200
1606
|
name: string;
|
|
1201
1607
|
titlePlural: string;
|
|
1202
1608
|
titleSingular: string;
|
|
1609
|
+
type: TtSchemaType;
|
|
1203
1610
|
fields: Array<{
|
|
1204
1611
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1205
1612
|
id: number;
|
|
@@ -1245,6 +1652,7 @@ export type LayoutRevisionQuery = {
|
|
|
1245
1652
|
name: string;
|
|
1246
1653
|
titlePlural: string;
|
|
1247
1654
|
titleSingular: string;
|
|
1655
|
+
type: TtSchemaType;
|
|
1248
1656
|
fields: Array<{
|
|
1249
1657
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1250
1658
|
id: number;
|
|
@@ -1279,7 +1687,7 @@ export type LayoutRevisionQuery = {
|
|
|
1279
1687
|
};
|
|
1280
1688
|
};
|
|
1281
1689
|
export type AssetListQueryVariables = Exact<{
|
|
1282
|
-
ids: Array<Scalars['Int']> | Scalars['Int'];
|
|
1690
|
+
ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1283
1691
|
}>;
|
|
1284
1692
|
export type AssetListQuery = {
|
|
1285
1693
|
__typename?: 'Query';
|
|
@@ -1292,7 +1700,7 @@ export type AssetListQuery = {
|
|
|
1292
1700
|
}>;
|
|
1293
1701
|
};
|
|
1294
1702
|
export type DomainWithSitemapQueryVariables = Exact<{
|
|
1295
|
-
domain: Scalars['String'];
|
|
1703
|
+
domain: Scalars['String']['input'];
|
|
1296
1704
|
}>;
|
|
1297
1705
|
export type DomainWithSitemapQuery = {
|
|
1298
1706
|
__typename?: 'Query';
|
|
@@ -1302,7 +1710,7 @@ export type DomainWithSitemapQuery = {
|
|
|
1302
1710
|
};
|
|
1303
1711
|
};
|
|
1304
1712
|
export type DomainWithRobotQueryVariables = Exact<{
|
|
1305
|
-
domain: Scalars['String'];
|
|
1713
|
+
domain: Scalars['String']['input'];
|
|
1306
1714
|
}>;
|
|
1307
1715
|
export type DomainWithRobotQuery = {
|
|
1308
1716
|
__typename?: 'Query';
|