@twotaps/site-utils-base 0.0.6 → 0.1.0
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/cli/generate-sdl.js.map +1 -1
- package/dist/page/page.dto.d.ts +1 -1
- package/dist/page/page.query.js +28 -3
- package/dist/page/page.query.js.map +1 -1
- package/dist/page/page.service.d.ts +19 -23
- package/dist/page/page.service.js +16 -4
- package/dist/page/page.service.js.map +1 -1
- package/dist/types.d.ts +767 -325
- package/dist/types.js +109 -9
- package/dist/types.js.map +1 -1
- package/dist/util.d.ts +5 -9
- package/dist/util.js +21 -5
- 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,294 @@ 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'];
|
|
64
154
|
};
|
|
65
155
|
export type CreateFormFieldInputDto = {
|
|
66
156
|
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']>;
|
|
157
|
+
fieldIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
158
|
+
formId: Scalars['Int']['input'];
|
|
159
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
160
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
161
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
162
|
+
name: Scalars['String']['input'];
|
|
163
|
+
placeholder: Scalars['String']['input'];
|
|
164
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
75
165
|
type: FormFieldType;
|
|
76
166
|
};
|
|
77
167
|
export type CreateFormInputDto = {
|
|
78
168
|
botProtection: BotProtectionType;
|
|
79
|
-
enableRecaptcha?:
|
|
80
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
81
|
-
name: Scalars['String'];
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
169
|
+
enableRecaptcha?: Scalars['Boolean']['input'];
|
|
170
|
+
formIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
171
|
+
name: Scalars['String']['input'];
|
|
172
|
+
retentionPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
173
|
+
siteId: Scalars['Int']['input'];
|
|
174
|
+
submitButtonLabel: Scalars['String']['input'];
|
|
175
|
+
thankYouMessage: Scalars['String']['input'];
|
|
85
176
|
};
|
|
86
177
|
export type CreateFormIntegrationActionDto = {
|
|
87
|
-
dependOnId?: InputMaybe<Scalars['Int']>;
|
|
88
|
-
formIntegrationId: Scalars['Int'];
|
|
89
|
-
integrationId: Scalars['Int'];
|
|
90
|
-
specification: Scalars['JSONObject'];
|
|
178
|
+
dependOnId?: InputMaybe<Scalars['Int']['input']>;
|
|
179
|
+
formIntegrationId: Scalars['Int']['input'];
|
|
180
|
+
integrationId: Scalars['Int']['input'];
|
|
181
|
+
specification: Scalars['JSONObject']['input'];
|
|
91
182
|
};
|
|
92
183
|
export type CreateFormIntegrationActionLogDto = {
|
|
93
|
-
formIntegrationActionId: Scalars['Int'];
|
|
94
|
-
isSuccess: Scalars['Boolean'];
|
|
95
|
-
requestData?: InputMaybe<Scalars['String']>;
|
|
96
|
-
response: Scalars['String'];
|
|
97
|
-
submissionId: Scalars['Int'];
|
|
184
|
+
formIntegrationActionId: Scalars['Int']['input'];
|
|
185
|
+
isSuccess: Scalars['Boolean']['input'];
|
|
186
|
+
requestData?: InputMaybe<Scalars['String']['input']>;
|
|
187
|
+
response: Scalars['String']['input'];
|
|
188
|
+
submissionId: Scalars['Int']['input'];
|
|
98
189
|
};
|
|
99
190
|
export type CreateFormIntegrationInputDto = {
|
|
100
|
-
formId: Scalars['Int'];
|
|
101
|
-
pageId?: InputMaybe<Scalars['Int']>;
|
|
191
|
+
formId: Scalars['Int']['input'];
|
|
192
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
102
193
|
};
|
|
103
194
|
export type CreateFormSubmissionInputDto = {
|
|
104
195
|
actionLogs?: InputMaybe<Array<FormSubmissionIntegrationActionLogEntityInputDto>>;
|
|
105
|
-
domain
|
|
106
|
-
formId: Scalars['Int'];
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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']>;
|
|
142
234
|
schemas?: InputMaybe<Array<PageRevisionSchemaInput>>;
|
|
143
|
-
templateId?: InputMaybe<Scalars['Int']>;
|
|
235
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
144
236
|
type: PageRevisionType;
|
|
145
237
|
};
|
|
146
238
|
export type CreatePageRevisionSchemaInput = {
|
|
147
|
-
anchorId?: InputMaybe<Scalars['String']>;
|
|
239
|
+
anchorId?: InputMaybe<Scalars['String']['input']>;
|
|
148
240
|
properties: Array<PageRevisionSchemaPropertiesInput>;
|
|
149
|
-
revisionId: Scalars['Int'];
|
|
150
|
-
sortOrder: Scalars['Int'];
|
|
151
|
-
ttschemaId: Scalars['Int'];
|
|
241
|
+
revisionId: Scalars['Int']['input'];
|
|
242
|
+
sortOrder: Scalars['Int']['input'];
|
|
243
|
+
ttschemaId: Scalars['Int']['input'];
|
|
244
|
+
};
|
|
245
|
+
export type CreateRedirectEntityDto = {
|
|
246
|
+
fromPath: Scalars['String']['input'];
|
|
247
|
+
siteId: Scalars['Int']['input'];
|
|
248
|
+
status: RedirectStatus;
|
|
249
|
+
toPageId?: InputMaybe<Scalars['Int']['input']>;
|
|
250
|
+
toType: RedirectToType;
|
|
251
|
+
toUrl?: InputMaybe<Scalars['String']['input']>;
|
|
252
|
+
type: RedirectType;
|
|
152
253
|
};
|
|
153
254
|
export type CreateSiteDto = {
|
|
154
|
-
brandId: Scalars['Int'];
|
|
155
|
-
customScriptBody
|
|
156
|
-
customScriptHead
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
255
|
+
brandId: Scalars['Int']['input'];
|
|
256
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
257
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
258
|
+
footerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
259
|
+
googleAccountId?: InputMaybe<Scalars['Float']['input']>;
|
|
260
|
+
googleAnalyticsAccountId?: InputMaybe<Scalars['String']['input']>;
|
|
261
|
+
googleAnalyticsPropertyId?: InputMaybe<Scalars['String']['input']>;
|
|
262
|
+
headerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
263
|
+
homepageId?: InputMaybe<Scalars['Int']['input']>;
|
|
264
|
+
name: Scalars['String']['input'];
|
|
265
|
+
thumbnailImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
266
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
267
|
+
ttSchemaWrapperId: Scalars['Int']['input'];
|
|
268
|
+
webhookUrl?: InputMaybe<Scalars['String']['input']>;
|
|
160
269
|
};
|
|
161
270
|
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'];
|
|
271
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
272
|
+
displayName: Scalars['String']['input'];
|
|
273
|
+
hasMultipleValues?: Scalars['Boolean']['input'];
|
|
274
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
275
|
+
name: Scalars['String']['input'];
|
|
276
|
+
readOnly?: Scalars['Boolean']['input'];
|
|
277
|
+
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
278
|
+
sortOrder: Scalars['Int']['input'];
|
|
279
|
+
ttschemaId: Scalars['Int']['input'];
|
|
171
280
|
type: TtSchemaFieldType;
|
|
172
|
-
typeDefinition
|
|
281
|
+
typeDefinition?: InputMaybe<Scalars['JSON']['input']>;
|
|
282
|
+
typeTTSchemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
173
283
|
};
|
|
174
284
|
export type CreateTtSchemaInput = {
|
|
175
|
-
name: Scalars['String'];
|
|
176
|
-
titlePlural: Scalars['String'];
|
|
177
|
-
titleSingular: Scalars['String'];
|
|
178
|
-
|
|
285
|
+
name: Scalars['String']['input'];
|
|
286
|
+
titlePlural: Scalars['String']['input'];
|
|
287
|
+
titleSingular: Scalars['String']['input'];
|
|
288
|
+
ttSchemaWrapperId: Scalars['Int']['input'];
|
|
179
289
|
type: TtSchemaType;
|
|
290
|
+
visibility: TtSchemaVisibility;
|
|
180
291
|
};
|
|
181
292
|
export type CreateTemplateInput = {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
293
|
+
campaign: Scalars['Boolean']['input'];
|
|
294
|
+
name: Scalars['String']['input'];
|
|
295
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
296
|
+
siteId: Scalars['Int']['input'];
|
|
185
297
|
type: TemplateType;
|
|
186
298
|
};
|
|
187
299
|
export type CreateUserInput = {
|
|
188
|
-
email: Scalars['String'];
|
|
189
|
-
firstName: Scalars['String'];
|
|
190
|
-
lastName: Scalars['String'];
|
|
191
|
-
password: Scalars['String'];
|
|
192
|
-
verified: Scalars['Boolean'];
|
|
300
|
+
email: Scalars['String']['input'];
|
|
301
|
+
firstName: Scalars['String']['input'];
|
|
302
|
+
lastName: Scalars['String']['input'];
|
|
303
|
+
password: Scalars['String']['input'];
|
|
304
|
+
verified: Scalars['Boolean']['input'];
|
|
193
305
|
};
|
|
194
306
|
export type CreateUserResourceDto = {
|
|
195
|
-
resourceId: Scalars['Int'];
|
|
196
|
-
resourceIdentifier: Scalars['String'];
|
|
197
|
-
roleId: Scalars['Int'];
|
|
198
|
-
userId: Scalars['Int'];
|
|
307
|
+
resourceId: Scalars['Int']['input'];
|
|
308
|
+
resourceIdentifier: Scalars['String']['input'];
|
|
309
|
+
roleId: Scalars['Int']['input'];
|
|
310
|
+
userId: Scalars['Int']['input'];
|
|
199
311
|
};
|
|
200
312
|
export type CustomPagePropertiesInput = {
|
|
201
|
-
fieldId: Scalars['Int'];
|
|
202
|
-
name: Scalars['String'];
|
|
203
|
-
value: Array<Scalars['String']>;
|
|
204
|
-
};
|
|
313
|
+
fieldId: Scalars['Int']['input'];
|
|
314
|
+
name: Scalars['String']['input'];
|
|
315
|
+
value: Array<Scalars['String']['input']>;
|
|
316
|
+
};
|
|
317
|
+
export type DashboardPanelConfigInput = {
|
|
318
|
+
id: Scalars['String']['input'];
|
|
319
|
+
type: DashboardPanelType;
|
|
320
|
+
x: Scalars['Int']['input'];
|
|
321
|
+
y: Scalars['Int']['input'];
|
|
322
|
+
};
|
|
323
|
+
export declare enum DashboardPanelType {
|
|
324
|
+
AgeDistribution = "AgeDistribution",
|
|
325
|
+
AverageSession = "AverageSession",
|
|
326
|
+
ConversionRate = "ConversionRate",
|
|
327
|
+
LeadSources = "LeadSources",
|
|
328
|
+
LeadsByTime = "LeadsByTime",
|
|
329
|
+
LinkClicks = "LinkClicks",
|
|
330
|
+
LocationsOverTime = "LocationsOverTime",
|
|
331
|
+
NumberOfLeads = "NumberOfLeads",
|
|
332
|
+
TopClicked = "TopClicked",
|
|
333
|
+
TopLeadPages = "TopLeadPages",
|
|
334
|
+
TotalLeads = "TotalLeads",
|
|
335
|
+
TotalSessions = "TotalSessions"
|
|
336
|
+
}
|
|
205
337
|
export declare enum ErrorTemplateType {
|
|
206
338
|
Error404 = "Error404",
|
|
207
339
|
Error500 = "Error500"
|
|
208
340
|
}
|
|
209
341
|
export type FormEntityInput = {
|
|
210
342
|
botProtection: BotProtectionType;
|
|
211
|
-
enableRecaptcha?:
|
|
212
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
213
|
-
id: Scalars['Int'];
|
|
214
|
-
name: Scalars['String'];
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
343
|
+
enableRecaptcha?: Scalars['Boolean']['input'];
|
|
344
|
+
formIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
+
id: Scalars['Int']['input'];
|
|
346
|
+
name: Scalars['String']['input'];
|
|
347
|
+
retentionPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
348
|
+
siteId: Scalars['Int']['input'];
|
|
349
|
+
submitButtonLabel: Scalars['String']['input'];
|
|
350
|
+
thankYouMessage: Scalars['String']['input'];
|
|
218
351
|
};
|
|
219
352
|
export type FormFieldConfigInput = {
|
|
220
|
-
customCss?: InputMaybe<Scalars['String']>;
|
|
221
|
-
defaultValue?: InputMaybe<Scalars['JSON']>;
|
|
222
|
-
info?: InputMaybe<Scalars['String']>;
|
|
353
|
+
customCss?: InputMaybe<Scalars['String']['input']>;
|
|
354
|
+
defaultValue?: InputMaybe<Scalars['JSON']['input']>;
|
|
355
|
+
info?: InputMaybe<Scalars['String']['input']>;
|
|
356
|
+
inputType?: InputMaybe<FormFieldInputType>;
|
|
223
357
|
options?: InputMaybe<Array<KeyValueInput>>;
|
|
224
358
|
validation?: InputMaybe<FormFieldValidationConfigInput>;
|
|
225
359
|
};
|
|
@@ -233,16 +367,23 @@ export declare enum FormFieldConstraintType {
|
|
|
233
367
|
}
|
|
234
368
|
export type FormFieldEntityInput = {
|
|
235
369
|
config?: InputMaybe<FormFieldConfigInput>;
|
|
236
|
-
fieldIdentifier?: InputMaybe<Scalars['String']>;
|
|
237
|
-
helpText?: InputMaybe<Scalars['String']>;
|
|
238
|
-
id: Scalars['Int'];
|
|
239
|
-
isRequired?: InputMaybe<Scalars['Boolean']>;
|
|
240
|
-
label?: InputMaybe<Scalars['String']>;
|
|
241
|
-
name: Scalars['String'];
|
|
242
|
-
placeholder: Scalars['String'];
|
|
243
|
-
sortOrder?: InputMaybe<Scalars['Int']>;
|
|
370
|
+
fieldIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
371
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
372
|
+
id: Scalars['Int']['input'];
|
|
373
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
374
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
375
|
+
name: Scalars['String']['input'];
|
|
376
|
+
placeholder: Scalars['String']['input'];
|
|
377
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
244
378
|
type: FormFieldType;
|
|
245
379
|
};
|
|
380
|
+
export declare enum FormFieldInputType {
|
|
381
|
+
Date = "Date",
|
|
382
|
+
Email = "Email",
|
|
383
|
+
Number = "Number",
|
|
384
|
+
Phone = "Phone",
|
|
385
|
+
Text = "Text"
|
|
386
|
+
}
|
|
246
387
|
export declare enum FormFieldType {
|
|
247
388
|
Consent = "Consent",
|
|
248
389
|
Hidden = "Hidden",
|
|
@@ -255,46 +396,59 @@ export type FormFieldValidationConfigInput = {
|
|
|
255
396
|
constraints: Array<FormFieldValidationConstraintInput>;
|
|
256
397
|
};
|
|
257
398
|
export type FormFieldValidationConstraintInput = {
|
|
258
|
-
id: Scalars['String'];
|
|
259
|
-
message: Scalars['String'];
|
|
260
|
-
props: Scalars['JSON'];
|
|
399
|
+
id: Scalars['String']['input'];
|
|
400
|
+
message: Scalars['String']['input'];
|
|
401
|
+
props: Scalars['JSON']['input'];
|
|
261
402
|
type: FormFieldConstraintType;
|
|
262
403
|
};
|
|
263
404
|
export type FormIntegrationActionInputEntity = {
|
|
264
405
|
formIntegration?: InputMaybe<FormIntegrationInputEntityDto>;
|
|
265
|
-
id: Scalars['Int'];
|
|
406
|
+
id: Scalars['Int']['input'];
|
|
266
407
|
integration?: InputMaybe<IntegrationInput>;
|
|
267
|
-
specification: Scalars['JSONObject'];
|
|
408
|
+
specification: Scalars['JSONObject']['input'];
|
|
268
409
|
};
|
|
269
410
|
export type FormIntegrationActionLogInputEntity = {
|
|
270
411
|
formIntegrationAction?: InputMaybe<FormIntegrationActionInputEntity>;
|
|
271
|
-
id: Scalars['Int'];
|
|
272
|
-
isSuccess: Scalars['Boolean'];
|
|
273
|
-
requestData?: InputMaybe<Scalars['String']>;
|
|
274
|
-
response: Scalars['String'];
|
|
412
|
+
id: Scalars['Int']['input'];
|
|
413
|
+
isSuccess: Scalars['Boolean']['input'];
|
|
414
|
+
requestData?: InputMaybe<Scalars['String']['input']>;
|
|
415
|
+
response: Scalars['String']['input'];
|
|
275
416
|
submission?: InputMaybe<FormSubmissionEntityInput>;
|
|
276
417
|
};
|
|
277
418
|
export type FormIntegrationInputEntityDto = {
|
|
278
419
|
actions?: InputMaybe<Array<FormIntegrationActionInputEntity>>;
|
|
279
|
-
formId: Scalars['Int'];
|
|
280
|
-
id: Scalars['Int'];
|
|
281
|
-
pageId?: InputMaybe<Scalars['Int']>;
|
|
420
|
+
formId: Scalars['Int']['input'];
|
|
421
|
+
id: Scalars['Int']['input'];
|
|
422
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
282
423
|
};
|
|
283
424
|
export type FormSubmissionEntityInput = {
|
|
284
425
|
actionLogs?: InputMaybe<Array<FormSubmissionIntegrationActionLogEntityInputDto>>;
|
|
285
|
-
createdAt: Scalars['String'];
|
|
286
|
-
id: Scalars['Int'];
|
|
287
|
-
redirectURL?: InputMaybe<Scalars['String']>;
|
|
288
|
-
value: Scalars['JSONObject'];
|
|
426
|
+
createdAt: Scalars['String']['input'];
|
|
427
|
+
id: Scalars['Int']['input'];
|
|
428
|
+
redirectURL?: InputMaybe<Scalars['String']['input']>;
|
|
429
|
+
value: Scalars['JSONObject']['input'];
|
|
289
430
|
};
|
|
290
431
|
export type FormSubmissionIntegrationActionLogEntityInputDto = {
|
|
291
432
|
integration?: InputMaybe<FormSubmissionIntegrationEntityInputDto>;
|
|
292
|
-
isSuccess: Scalars['Boolean'];
|
|
293
|
-
requestData?: InputMaybe<Scalars['String']>;
|
|
294
|
-
response: Scalars['String'];
|
|
433
|
+
isSuccess: Scalars['Boolean']['input'];
|
|
434
|
+
requestData?: InputMaybe<Scalars['String']['input']>;
|
|
435
|
+
response: Scalars['String']['input'];
|
|
295
436
|
};
|
|
296
437
|
export type FormSubmissionIntegrationEntityInputDto = {
|
|
297
|
-
name: Scalars['String'];
|
|
438
|
+
name: Scalars['String']['input'];
|
|
439
|
+
};
|
|
440
|
+
export type FranConnectSyncProcessDto = {
|
|
441
|
+
events: Array<FranconnectChangeEvent>;
|
|
442
|
+
webhookConfig: FranconnectSyncWebhookProps;
|
|
443
|
+
};
|
|
444
|
+
export type FranconnectChangeEvent = {
|
|
445
|
+
referenceId: Scalars['String']['input'];
|
|
446
|
+
subModule: Scalars['String']['input'];
|
|
447
|
+
};
|
|
448
|
+
export type FranconnectSyncWebhookProps = {
|
|
449
|
+
apiOrigin: Scalars['String']['input'];
|
|
450
|
+
key: Scalars['String']['input'];
|
|
451
|
+
tenantId: Scalars['String']['input'];
|
|
298
452
|
};
|
|
299
453
|
export declare enum GlofoxForm {
|
|
300
454
|
Join = "Join",
|
|
@@ -302,33 +456,42 @@ export declare enum GlofoxForm {
|
|
|
302
456
|
Trial = "Trial"
|
|
303
457
|
}
|
|
304
458
|
export type GlofoxFormLeadsPaginationParams = {
|
|
305
|
-
conditions?: InputMaybe<Scalars['JSONObject']>;
|
|
306
|
-
count?: InputMaybe<Scalars['Int']>;
|
|
459
|
+
conditions?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
460
|
+
count?: InputMaybe<Scalars['Int']['input']>;
|
|
307
461
|
form: GlofoxForm;
|
|
308
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
309
|
-
offset?:
|
|
310
|
-
query?: InputMaybe<Scalars['String']>;
|
|
462
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
463
|
+
offset?: Scalars['Int']['input'];
|
|
464
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
465
|
+
/** Restrict paginated entities to those the user has a particular role on */
|
|
466
|
+
role?: InputMaybe<Role>;
|
|
467
|
+
sortColumn?: InputMaybe<Scalars['String']['input']>;
|
|
468
|
+
sortDirection?: InputMaybe<SortDirection>;
|
|
469
|
+
};
|
|
470
|
+
export type GmbLocationPaginationParams = {
|
|
471
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
472
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
311
473
|
};
|
|
312
474
|
export type IntegrationDeleteArgs = {
|
|
313
|
-
id: Scalars['Int'];
|
|
475
|
+
id: Scalars['Int']['input'];
|
|
314
476
|
};
|
|
315
477
|
export type IntegrationInput = {
|
|
316
|
-
id: Scalars['Int'];
|
|
317
|
-
name: Scalars['String'];
|
|
318
|
-
organisationId?: InputMaybe<Scalars['Int']>;
|
|
319
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
478
|
+
id: Scalars['Int']['input'];
|
|
479
|
+
name: Scalars['String']['input'];
|
|
480
|
+
organisationId?: InputMaybe<Scalars['Int']['input']>;
|
|
481
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
320
482
|
type: IntegrationType;
|
|
321
483
|
};
|
|
322
484
|
export declare enum IntegrationType {
|
|
323
485
|
Clubwise = "Clubwise",
|
|
324
486
|
GymSales = "GymSales",
|
|
325
487
|
RecaptchaV3 = "RecaptchaV3",
|
|
326
|
-
Sendgrid = "Sendgrid"
|
|
488
|
+
Sendgrid = "Sendgrid",
|
|
489
|
+
ZapierWebhook = "ZapierWebhook"
|
|
327
490
|
}
|
|
328
491
|
export type KeyValueInput = {
|
|
329
|
-
id: Scalars['String'];
|
|
330
|
-
key: Scalars['String'];
|
|
331
|
-
value: Scalars['String'];
|
|
492
|
+
id: Scalars['String']['input'];
|
|
493
|
+
key: Scalars['String']['input'];
|
|
494
|
+
value: Scalars['String']['input'];
|
|
332
495
|
};
|
|
333
496
|
export declare enum PageOrder {
|
|
334
497
|
CreatedAt = "CREATED_AT",
|
|
@@ -339,24 +502,47 @@ export declare enum PageOrderDirection {
|
|
|
339
502
|
Descending = "DESCENDING"
|
|
340
503
|
}
|
|
341
504
|
export type PageRevisionSchemaInput = {
|
|
342
|
-
anchorId?: InputMaybe<Scalars['String']>;
|
|
505
|
+
anchorId?: InputMaybe<Scalars['String']['input']>;
|
|
506
|
+
campaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
507
|
+
hideBlockForCampaignPlaceholders?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
508
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
343
509
|
properties: Array<PageRevisionSchemaPropertiesInput>;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
510
|
+
schemaBlockId?: InputMaybe<Scalars['Int']['input']>;
|
|
511
|
+
sortOrder: Scalars['Int']['input'];
|
|
512
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
513
|
+
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
347
514
|
};
|
|
348
515
|
export type PageRevisionSchemaPropertiesInput = {
|
|
349
|
-
dynamicReference?: InputMaybe<Scalars['String']>;
|
|
350
|
-
fieldId: Scalars['Int'];
|
|
351
|
-
isDynamic?:
|
|
352
|
-
name: Scalars['String'];
|
|
353
|
-
value: Scalars['JSON'];
|
|
516
|
+
dynamicReference?: InputMaybe<Scalars['String']['input']>;
|
|
517
|
+
fieldId: Scalars['Int']['input'];
|
|
518
|
+
isDynamic?: Scalars['Boolean']['input'];
|
|
519
|
+
name: Scalars['String']['input'];
|
|
520
|
+
value: Scalars['JSON']['input'];
|
|
354
521
|
};
|
|
355
522
|
export declare enum PageRevisionType {
|
|
356
523
|
CustomFields = "CustomFields",
|
|
357
524
|
Page = "Page",
|
|
358
525
|
Template = "Template"
|
|
359
526
|
}
|
|
527
|
+
export type PaginationParam = {
|
|
528
|
+
conditions?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
529
|
+
count?: InputMaybe<Scalars['Int']['input']>;
|
|
530
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
531
|
+
offset?: Scalars['Int']['input'];
|
|
532
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
533
|
+
/** Restrict paginated entities to those the user has a particular role on */
|
|
534
|
+
role?: InputMaybe<Role>;
|
|
535
|
+
sortColumn?: InputMaybe<Scalars['String']['input']>;
|
|
536
|
+
sortDirection?: InputMaybe<SortDirection>;
|
|
537
|
+
};
|
|
538
|
+
export declare enum RedirectStatus {
|
|
539
|
+
Active = "Active",
|
|
540
|
+
Inactive = "Inactive"
|
|
541
|
+
}
|
|
542
|
+
export declare enum RedirectToType {
|
|
543
|
+
Page = "Page",
|
|
544
|
+
Url = "Url"
|
|
545
|
+
}
|
|
360
546
|
export declare enum RedirectType {
|
|
361
547
|
Permanent = "Permanent",
|
|
362
548
|
Temporary = "Temporary"
|
|
@@ -365,8 +551,59 @@ export declare enum RefreshTokenStatus {
|
|
|
365
551
|
Expired = "EXPIRED",
|
|
366
552
|
Ok = "OK"
|
|
367
553
|
}
|
|
554
|
+
export type ReportStatRequest = {
|
|
555
|
+
type: ReportStatType;
|
|
556
|
+
};
|
|
557
|
+
export declare enum ReportStatType {
|
|
558
|
+
AgeDistribution = "AgeDistribution",
|
|
559
|
+
AverageDailyLeads = "AverageDailyLeads",
|
|
560
|
+
AverageLeadsPerPage = "AverageLeadsPerPage",
|
|
561
|
+
AverageSessionDuration = "AverageSessionDuration",
|
|
562
|
+
ConversionEvents = "ConversionEvents",
|
|
563
|
+
ConversionRate = "ConversionRate",
|
|
564
|
+
DeviceDistribution = "DeviceDistribution",
|
|
565
|
+
FormSubmissions = "FormSubmissions",
|
|
566
|
+
GenderDistribution = "GenderDistribution",
|
|
567
|
+
GlofoxLeads = "GlofoxLeads",
|
|
568
|
+
GlofoxTotalJoins = "GlofoxTotalJoins",
|
|
569
|
+
GlofoxTotalLeads = "GlofoxTotalLeads",
|
|
570
|
+
LeadSources = "LeadSources",
|
|
571
|
+
LeadSourcesSession = "LeadSourcesSession",
|
|
572
|
+
LeadsByTime = "LeadsByTime",
|
|
573
|
+
NumberOfLeads = "NumberOfLeads",
|
|
574
|
+
PricingConversions = "PricingConversions",
|
|
575
|
+
TopClicked = "TopClicked",
|
|
576
|
+
TopLeadsPages = "TopLeadsPages",
|
|
577
|
+
TotalLeadsSeries = "TotalLeadsSeries",
|
|
578
|
+
TotalUsers = "TotalUsers"
|
|
579
|
+
}
|
|
368
580
|
export type ResetPasswordInputDto = {
|
|
369
|
-
password: Scalars['String'];
|
|
581
|
+
password: Scalars['String']['input'];
|
|
582
|
+
};
|
|
583
|
+
export declare enum Role {
|
|
584
|
+
Admin = "ADMIN",
|
|
585
|
+
Editor = "EDITOR",
|
|
586
|
+
None = "NONE",
|
|
587
|
+
Owner = "OWNER",
|
|
588
|
+
Viewer = "VIEWER"
|
|
589
|
+
}
|
|
590
|
+
export type SiteReportRequestDto = {
|
|
591
|
+
month: Scalars['String']['input'];
|
|
592
|
+
pageIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
593
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
594
|
+
stats: Array<ReportStatRequest>;
|
|
595
|
+
};
|
|
596
|
+
export declare enum SortDirection {
|
|
597
|
+
Ascending = "ASCENDING",
|
|
598
|
+
Descending = "DESCENDING"
|
|
599
|
+
}
|
|
600
|
+
export type TtSchemaFieldSortOrderDto = {
|
|
601
|
+
id: Scalars['Int']['input'];
|
|
602
|
+
sortOrder: Scalars['Int']['input'];
|
|
603
|
+
};
|
|
604
|
+
export type TtSchemaFieldSortOrderInput = {
|
|
605
|
+
fields: Array<TtSchemaFieldSortOrderDto>;
|
|
606
|
+
id: Scalars['Int']['input'];
|
|
370
607
|
};
|
|
371
608
|
export declare enum TtSchemaFieldType {
|
|
372
609
|
Component = "Component",
|
|
@@ -375,6 +612,7 @@ export declare enum TtSchemaFieldType {
|
|
|
375
612
|
GmbLocation = "GmbLocation",
|
|
376
613
|
Image = "Image",
|
|
377
614
|
Link = "Link",
|
|
615
|
+
Page = "Page",
|
|
378
616
|
RichText = "RichText",
|
|
379
617
|
Schema = "Schema",
|
|
380
618
|
Text = "Text",
|
|
@@ -383,176 +621,198 @@ export declare enum TtSchemaFieldType {
|
|
|
383
621
|
}
|
|
384
622
|
export declare enum TtSchemaType {
|
|
385
623
|
Block = "Block",
|
|
624
|
+
Campaign = "Campaign",
|
|
386
625
|
Component = "Component",
|
|
387
626
|
Object = "Object",
|
|
388
627
|
Page = "Page",
|
|
389
628
|
Schema = "Schema"
|
|
390
629
|
}
|
|
630
|
+
export declare enum TtSchemaVisibility {
|
|
631
|
+
All = "All",
|
|
632
|
+
Hidden = "Hidden",
|
|
633
|
+
SiteAdminOnly = "SiteAdminOnly"
|
|
634
|
+
}
|
|
391
635
|
export type TtSchemaWrapperInput = {
|
|
392
|
-
name: Scalars['String'];
|
|
393
|
-
organisationId: Scalars['Int'];
|
|
636
|
+
name: Scalars['String']['input'];
|
|
637
|
+
organisationId: Scalars['Int']['input'];
|
|
394
638
|
};
|
|
639
|
+
export declare enum TemplateOrder {
|
|
640
|
+
Name = "NAME",
|
|
641
|
+
UpdatedAt = "UPDATED_AT"
|
|
642
|
+
}
|
|
643
|
+
export declare enum TemplateOrderDirection {
|
|
644
|
+
Ascending = "ASCENDING",
|
|
645
|
+
Descending = "DESCENDING"
|
|
646
|
+
}
|
|
395
647
|
export declare enum TemplateType {
|
|
396
648
|
Campaign = "Campaign",
|
|
397
649
|
FixedPageLayout = "FixedPageLayout",
|
|
398
650
|
SiteWideBlock = "SiteWideBlock",
|
|
399
651
|
StarterPageLayout = "StarterPageLayout"
|
|
400
652
|
}
|
|
401
|
-
export type
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
653
|
+
export type UpdateCampaignDto = {
|
|
654
|
+
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
655
|
+
id: Scalars['Float']['input'];
|
|
656
|
+
imageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
657
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
658
|
+
pageIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
659
|
+
pageMetadata?: InputMaybe<CampaignPageMetadataCreateDto>;
|
|
660
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
661
|
+
placeholderTemplates?: InputMaybe<Array<CampaignPlaceholderTemplateInputDto>>;
|
|
662
|
+
regenerateSubpages?: InputMaybe<Scalars['Boolean']['input']>;
|
|
663
|
+
startTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
664
|
+
};
|
|
665
|
+
export type UpdateDashboardDto = {
|
|
666
|
+
id: Scalars['Int']['input'];
|
|
667
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
668
|
+
panels?: InputMaybe<Array<DashboardPanelConfigInput>>;
|
|
406
669
|
};
|
|
407
670
|
export type UpdateFormFieldInputDto = {
|
|
408
671
|
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: Scalars['String'];
|
|
415
|
-
placeholder: Scalars['String'];
|
|
416
|
-
siteId: Scalars['Int'];
|
|
417
|
-
sortOrder?: InputMaybe<Scalars['Int']>;
|
|
672
|
+
fieldIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
673
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
674
|
+
id: Scalars['Int']['input'];
|
|
675
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
676
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
677
|
+
name: Scalars['String']['input'];
|
|
678
|
+
placeholder: Scalars['String']['input'];
|
|
679
|
+
siteId: Scalars['Int']['input'];
|
|
680
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
418
681
|
type: FormFieldType;
|
|
419
682
|
};
|
|
420
683
|
export type UpdateFormFieldSortOrder = {
|
|
421
|
-
siteId: Scalars['Int'];
|
|
422
|
-
sortOrders: Scalars['JSONObject'];
|
|
684
|
+
siteId: Scalars['Int']['input'];
|
|
685
|
+
sortOrders: Scalars['JSONObject']['input'];
|
|
423
686
|
};
|
|
424
687
|
export type UpdateFormInput = {
|
|
425
688
|
botProtection: BotProtectionType;
|
|
426
|
-
enableRecaptcha?:
|
|
427
|
-
formIdentifier?: InputMaybe<Scalars['String']>;
|
|
428
|
-
id: Scalars['Int'];
|
|
429
|
-
name: Scalars['String'];
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
689
|
+
enableRecaptcha?: Scalars['Boolean']['input'];
|
|
690
|
+
formIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
691
|
+
id: Scalars['Int']['input'];
|
|
692
|
+
name: Scalars['String']['input'];
|
|
693
|
+
retentionPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
694
|
+
siteId: Scalars['Int']['input'];
|
|
695
|
+
submitButtonLabel: Scalars['String']['input'];
|
|
696
|
+
thankYouMessage: Scalars['String']['input'];
|
|
433
697
|
};
|
|
434
698
|
export type UpdateFormIntegrationAction = {
|
|
435
|
-
id: Scalars['Int'];
|
|
699
|
+
id: Scalars['Int']['input'];
|
|
436
700
|
integration?: InputMaybe<UpdateIntegrationDto>;
|
|
437
|
-
siteId?: InputMaybe<Scalars['Int']>;
|
|
438
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
701
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
702
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
439
703
|
};
|
|
440
704
|
export type UpdateIntegrationDto = {
|
|
441
|
-
id: Scalars['Int'];
|
|
442
|
-
name?: InputMaybe<Scalars['String']>;
|
|
443
|
-
organisationId?: InputMaybe<Scalars['Int']>;
|
|
444
|
-
specification?: InputMaybe<Scalars['JSONObject']>;
|
|
705
|
+
id: Scalars['Int']['input'];
|
|
706
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
707
|
+
organisationId?: InputMaybe<Scalars['Int']['input']>;
|
|
708
|
+
specification?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
445
709
|
type?: InputMaybe<IntegrationType>;
|
|
446
710
|
};
|
|
447
711
|
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
|
-
|
|
712
|
+
allowCrawling?: InputMaybe<Scalars['Boolean']['input']>;
|
|
713
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
714
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
715
|
+
draftCustomFieldsId?: InputMaybe<Scalars['Int']['input']>;
|
|
716
|
+
draftRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
717
|
+
id: Scalars['Int']['input'];
|
|
718
|
+
lang?: InputMaybe<Scalars['String']['input']>;
|
|
719
|
+
metaDescription?: InputMaybe<Scalars['String']['input']>;
|
|
720
|
+
metaTitle?: InputMaybe<Scalars['String']['input']>;
|
|
721
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
722
|
+
parentId?: InputMaybe<Scalars['Int']['input']>;
|
|
458
723
|
properties?: InputMaybe<Array<CustomPagePropertiesInput>>;
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
tags?: InputMaybe<Scalars['String']>;
|
|
462
|
-
templateId?: InputMaybe<Scalars['Int']>;
|
|
463
|
-
ttschemaId?: InputMaybe<Scalars['Int']>;
|
|
464
|
-
urlSegment
|
|
724
|
+
publishedCustomFieldsId?: InputMaybe<Scalars['Int']['input']>;
|
|
725
|
+
publishedRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
726
|
+
tags?: InputMaybe<Scalars['String']['input']>;
|
|
727
|
+
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
728
|
+
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
729
|
+
urlSegment?: InputMaybe<Scalars['String']['input']>;
|
|
730
|
+
};
|
|
731
|
+
export type UpdateRedirectEntityDto = {
|
|
732
|
+
fromPath?: InputMaybe<Scalars['String']['input']>;
|
|
733
|
+
id: Scalars['Int']['input'];
|
|
734
|
+
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
735
|
+
status?: InputMaybe<RedirectStatus>;
|
|
736
|
+
toPageId?: InputMaybe<Scalars['Int']['input']>;
|
|
737
|
+
toType?: InputMaybe<RedirectToType>;
|
|
738
|
+
toUrl?: InputMaybe<Scalars['String']['input']>;
|
|
739
|
+
type?: InputMaybe<RedirectType>;
|
|
740
|
+
};
|
|
741
|
+
export type UpdateSiteDto = {
|
|
742
|
+
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
743
|
+
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
744
|
+
footerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
745
|
+
googleAccountId?: InputMaybe<Scalars['Float']['input']>;
|
|
746
|
+
googleAnalyticsAccountId?: InputMaybe<Scalars['String']['input']>;
|
|
747
|
+
googleAnalyticsPropertyId?: InputMaybe<Scalars['String']['input']>;
|
|
748
|
+
headerTemplateId?: InputMaybe<Scalars['Int']['input']>;
|
|
749
|
+
homepageId?: InputMaybe<Scalars['Int']['input']>;
|
|
750
|
+
id: Scalars['Int']['input'];
|
|
751
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
752
|
+
thumbnailImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
753
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
754
|
+
webhookUrl?: InputMaybe<Scalars['String']['input']>;
|
|
755
|
+
};
|
|
756
|
+
export type UpdateTtSchemaFieldDto = {
|
|
757
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
758
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
759
|
+
hasMultipleValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
760
|
+
helpText?: InputMaybe<Scalars['String']['input']>;
|
|
761
|
+
id: Scalars['Int']['input'];
|
|
762
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
763
|
+
readOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
764
|
+
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
765
|
+
sortOrder?: InputMaybe<Scalars['Int']['input']>;
|
|
766
|
+
typeDefinition?: InputMaybe<Scalars['JSON']['input']>;
|
|
767
|
+
};
|
|
768
|
+
export type UpdateTtSchemaInput = {
|
|
769
|
+
id: Scalars['Int']['input'];
|
|
770
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
771
|
+
titlePlural?: InputMaybe<Scalars['String']['input']>;
|
|
772
|
+
titleSingular?: InputMaybe<Scalars['String']['input']>;
|
|
773
|
+
visibility?: InputMaybe<TtSchemaVisibility>;
|
|
774
|
+
};
|
|
775
|
+
export type UpdateTtSchemaWrapperInput = {
|
|
776
|
+
id: Scalars['Int']['input'];
|
|
777
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
778
|
+
};
|
|
779
|
+
export type UpdateTemplateInputDto = {
|
|
780
|
+
id: Scalars['Int']['input'];
|
|
781
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
782
|
+
pageTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
783
|
+
type?: InputMaybe<TemplateType>;
|
|
465
784
|
};
|
|
466
785
|
export type UpdateUserInputDto = {
|
|
467
|
-
firstName: Scalars['String'];
|
|
468
|
-
lastName: Scalars['String'];
|
|
469
|
-
password: Scalars['String'];
|
|
786
|
+
firstName: Scalars['String']['input'];
|
|
787
|
+
lastName: Scalars['String']['input'];
|
|
788
|
+
password: Scalars['String']['input'];
|
|
470
789
|
};
|
|
471
790
|
export type UpdateUserResourceDto = {
|
|
472
|
-
id: Scalars['Int'];
|
|
473
|
-
resourceId: Scalars['Int'];
|
|
474
|
-
resourceIdentifier: Scalars['String'];
|
|
475
|
-
roleId: Scalars['Int'];
|
|
476
|
-
userId: Scalars['Int'];
|
|
791
|
+
id: Scalars['Int']['input'];
|
|
792
|
+
resourceId: Scalars['Int']['input'];
|
|
793
|
+
resourceIdentifier: Scalars['String']['input'];
|
|
794
|
+
roleId: Scalars['Int']['input'];
|
|
795
|
+
userId: Scalars['Int']['input'];
|
|
477
796
|
};
|
|
478
797
|
export declare enum UserVerificationTokenType {
|
|
479
798
|
NewUser = "NEW_USER",
|
|
480
799
|
PasswordReset = "PASSWORD_RESET"
|
|
481
800
|
}
|
|
482
801
|
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
|
-
};
|
|
802
|
+
object: Scalars['JSON']['input'];
|
|
543
803
|
};
|
|
544
804
|
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']>>;
|
|
805
|
+
latitude?: InputMaybe<Scalars['Float']['input']>;
|
|
806
|
+
longitude?: InputMaybe<Scalars['Float']['input']>;
|
|
807
|
+
pageType: Scalars['String']['input'];
|
|
808
|
+
domain: Scalars['String']['input'];
|
|
809
|
+
limitPageId?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>> | InputMaybe<Scalars['Int']['input']>>;
|
|
810
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
811
|
+
radius?: InputMaybe<Scalars['Float']['input']>;
|
|
812
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
813
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
814
|
+
filters?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
815
|
+
fields?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
556
816
|
}>;
|
|
557
817
|
export type DynamicPageFilteringQuery = {
|
|
558
818
|
__typename?: 'Query';
|
|
@@ -576,6 +836,8 @@ export type RevisionSchemaFragmentFragment = {
|
|
|
576
836
|
id: number;
|
|
577
837
|
sortOrder: number;
|
|
578
838
|
anchorId?: string | null;
|
|
839
|
+
campaign: boolean;
|
|
840
|
+
label?: string | null;
|
|
579
841
|
properties?: Array<{
|
|
580
842
|
__typename?: 'PageRevisionSchemaProperties';
|
|
581
843
|
fieldId: number;
|
|
@@ -588,6 +850,7 @@ export type RevisionSchemaFragmentFragment = {
|
|
|
588
850
|
name: string;
|
|
589
851
|
titlePlural: string;
|
|
590
852
|
titleSingular: string;
|
|
853
|
+
type: TtSchemaType;
|
|
591
854
|
fields: Array<{
|
|
592
855
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
593
856
|
id: number;
|
|
@@ -627,6 +890,123 @@ export type RevisionFragmentFragment = {
|
|
|
627
890
|
id: number;
|
|
628
891
|
sortOrder: number;
|
|
629
892
|
anchorId?: string | null;
|
|
893
|
+
campaign: boolean;
|
|
894
|
+
label?: string | null;
|
|
895
|
+
template?: {
|
|
896
|
+
__typename?: 'TemplateEntityDto';
|
|
897
|
+
id: number;
|
|
898
|
+
name: string;
|
|
899
|
+
publishedRevision?: {
|
|
900
|
+
__typename?: 'PageRevisionEntityDto';
|
|
901
|
+
id: number;
|
|
902
|
+
schema: Array<{
|
|
903
|
+
__typename?: 'PageRevisionSchemaEntityDto';
|
|
904
|
+
id: number;
|
|
905
|
+
sortOrder: number;
|
|
906
|
+
anchorId?: string | null;
|
|
907
|
+
campaign: boolean;
|
|
908
|
+
label?: string | null;
|
|
909
|
+
properties?: Array<{
|
|
910
|
+
__typename?: 'PageRevisionSchemaProperties';
|
|
911
|
+
fieldId: number;
|
|
912
|
+
name: string;
|
|
913
|
+
value: any;
|
|
914
|
+
}> | null;
|
|
915
|
+
ttschema?: {
|
|
916
|
+
__typename?: 'TTSchemaEntityDto';
|
|
917
|
+
id: number;
|
|
918
|
+
name: string;
|
|
919
|
+
titlePlural: string;
|
|
920
|
+
titleSingular: string;
|
|
921
|
+
type: TtSchemaType;
|
|
922
|
+
fields: Array<{
|
|
923
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
924
|
+
id: number;
|
|
925
|
+
name: string;
|
|
926
|
+
type: TtSchemaFieldType;
|
|
927
|
+
hasMultipleValues: boolean;
|
|
928
|
+
typeTTSchema?: {
|
|
929
|
+
__typename?: 'TTSchemaEntityDto';
|
|
930
|
+
id: number;
|
|
931
|
+
} | null;
|
|
932
|
+
}>;
|
|
933
|
+
subSchemas: Array<{
|
|
934
|
+
__typename?: 'TTSchemaEntityDto';
|
|
935
|
+
id: number;
|
|
936
|
+
name: string;
|
|
937
|
+
titlePlural: string;
|
|
938
|
+
titleSingular: string;
|
|
939
|
+
fields: Array<{
|
|
940
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
941
|
+
id: number;
|
|
942
|
+
name: string;
|
|
943
|
+
type: TtSchemaFieldType;
|
|
944
|
+
hasMultipleValues: boolean;
|
|
945
|
+
typeTTSchema?: {
|
|
946
|
+
__typename?: 'TTSchemaEntityDto';
|
|
947
|
+
id: number;
|
|
948
|
+
} | null;
|
|
949
|
+
}>;
|
|
950
|
+
}>;
|
|
951
|
+
} | null;
|
|
952
|
+
}>;
|
|
953
|
+
} | null;
|
|
954
|
+
} | null;
|
|
955
|
+
properties?: Array<{
|
|
956
|
+
__typename?: 'PageRevisionSchemaProperties';
|
|
957
|
+
fieldId: number;
|
|
958
|
+
name: string;
|
|
959
|
+
value: any;
|
|
960
|
+
}> | null;
|
|
961
|
+
ttschema?: {
|
|
962
|
+
__typename?: 'TTSchemaEntityDto';
|
|
963
|
+
id: number;
|
|
964
|
+
name: string;
|
|
965
|
+
titlePlural: string;
|
|
966
|
+
titleSingular: string;
|
|
967
|
+
type: TtSchemaType;
|
|
968
|
+
fields: Array<{
|
|
969
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
970
|
+
id: number;
|
|
971
|
+
name: string;
|
|
972
|
+
type: TtSchemaFieldType;
|
|
973
|
+
hasMultipleValues: boolean;
|
|
974
|
+
typeTTSchema?: {
|
|
975
|
+
__typename?: 'TTSchemaEntityDto';
|
|
976
|
+
id: number;
|
|
977
|
+
} | null;
|
|
978
|
+
}>;
|
|
979
|
+
subSchemas: Array<{
|
|
980
|
+
__typename?: 'TTSchemaEntityDto';
|
|
981
|
+
id: number;
|
|
982
|
+
name: string;
|
|
983
|
+
titlePlural: string;
|
|
984
|
+
titleSingular: string;
|
|
985
|
+
fields: Array<{
|
|
986
|
+
__typename?: 'TTSchemaFieldEntityDto';
|
|
987
|
+
id: number;
|
|
988
|
+
name: string;
|
|
989
|
+
type: TtSchemaFieldType;
|
|
990
|
+
hasMultipleValues: boolean;
|
|
991
|
+
typeTTSchema?: {
|
|
992
|
+
__typename?: 'TTSchemaEntityDto';
|
|
993
|
+
id: number;
|
|
994
|
+
} | null;
|
|
995
|
+
}>;
|
|
996
|
+
}>;
|
|
997
|
+
} | null;
|
|
998
|
+
}>;
|
|
999
|
+
};
|
|
1000
|
+
export type RevisionBlockFragmentFragment = {
|
|
1001
|
+
__typename?: 'PageRevisionEntityDto';
|
|
1002
|
+
id: number;
|
|
1003
|
+
schema: Array<{
|
|
1004
|
+
__typename?: 'PageRevisionSchemaEntityDto';
|
|
1005
|
+
id: number;
|
|
1006
|
+
sortOrder: number;
|
|
1007
|
+
anchorId?: string | null;
|
|
1008
|
+
campaign: boolean;
|
|
1009
|
+
label?: string | null;
|
|
630
1010
|
template?: {
|
|
631
1011
|
__typename?: 'TemplateEntityDto';
|
|
632
1012
|
id: number;
|
|
@@ -639,6 +1019,8 @@ export type RevisionFragmentFragment = {
|
|
|
639
1019
|
id: number;
|
|
640
1020
|
sortOrder: number;
|
|
641
1021
|
anchorId?: string | null;
|
|
1022
|
+
campaign: boolean;
|
|
1023
|
+
label?: string | null;
|
|
642
1024
|
properties?: Array<{
|
|
643
1025
|
__typename?: 'PageRevisionSchemaProperties';
|
|
644
1026
|
fieldId: number;
|
|
@@ -651,6 +1033,7 @@ export type RevisionFragmentFragment = {
|
|
|
651
1033
|
name: string;
|
|
652
1034
|
titlePlural: string;
|
|
653
1035
|
titleSingular: string;
|
|
1036
|
+
type: TtSchemaType;
|
|
654
1037
|
fields: Array<{
|
|
655
1038
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
656
1039
|
id: number;
|
|
@@ -696,6 +1079,7 @@ export type RevisionFragmentFragment = {
|
|
|
696
1079
|
name: string;
|
|
697
1080
|
titlePlural: string;
|
|
698
1081
|
titleSingular: string;
|
|
1082
|
+
type: TtSchemaType;
|
|
699
1083
|
fields: Array<{
|
|
700
1084
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
701
1085
|
id: number;
|
|
@@ -739,16 +1123,26 @@ export type PageFragmentFragment = {
|
|
|
739
1123
|
lang: string;
|
|
740
1124
|
brandId: number;
|
|
741
1125
|
sitePath?: string | null;
|
|
1126
|
+
templateId?: number | null;
|
|
742
1127
|
site: {
|
|
743
1128
|
__typename?: 'SiteEntityDto';
|
|
744
1129
|
id: number;
|
|
1130
|
+
name: string;
|
|
745
1131
|
customScriptHead: string;
|
|
746
1132
|
customScriptBody: string;
|
|
747
1133
|
};
|
|
1134
|
+
breadcrumbs: Array<{
|
|
1135
|
+
__typename?: 'Breadcrumb';
|
|
1136
|
+
name: string;
|
|
1137
|
+
urlPath: string;
|
|
1138
|
+
}>;
|
|
748
1139
|
};
|
|
749
1140
|
export type PageQueryVariables = Exact<{
|
|
750
|
-
slug?: InputMaybe<Scalars['String']>;
|
|
751
|
-
domain
|
|
1141
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1142
|
+
domain?: InputMaybe<Scalars['String']['input']>;
|
|
1143
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
|
1144
|
+
campaignId?: InputMaybe<Scalars['Int']['input']>;
|
|
1145
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
752
1146
|
}>;
|
|
753
1147
|
export type PageQuery = {
|
|
754
1148
|
__typename?: 'Query';
|
|
@@ -763,6 +1157,7 @@ export type PageQuery = {
|
|
|
763
1157
|
lang: string;
|
|
764
1158
|
brandId: number;
|
|
765
1159
|
sitePath?: string | null;
|
|
1160
|
+
templateId?: number | null;
|
|
766
1161
|
publishedRevision?: {
|
|
767
1162
|
__typename?: 'PageRevisionEntityDto';
|
|
768
1163
|
id: number;
|
|
@@ -771,6 +1166,8 @@ export type PageQuery = {
|
|
|
771
1166
|
id: number;
|
|
772
1167
|
sortOrder: number;
|
|
773
1168
|
anchorId?: string | null;
|
|
1169
|
+
campaign: boolean;
|
|
1170
|
+
label?: string | null;
|
|
774
1171
|
template?: {
|
|
775
1172
|
__typename?: 'TemplateEntityDto';
|
|
776
1173
|
id: number;
|
|
@@ -783,6 +1180,8 @@ export type PageQuery = {
|
|
|
783
1180
|
id: number;
|
|
784
1181
|
sortOrder: number;
|
|
785
1182
|
anchorId?: string | null;
|
|
1183
|
+
campaign: boolean;
|
|
1184
|
+
label?: string | null;
|
|
786
1185
|
properties?: Array<{
|
|
787
1186
|
__typename?: 'PageRevisionSchemaProperties';
|
|
788
1187
|
fieldId: number;
|
|
@@ -795,6 +1194,7 @@ export type PageQuery = {
|
|
|
795
1194
|
name: string;
|
|
796
1195
|
titlePlural: string;
|
|
797
1196
|
titleSingular: string;
|
|
1197
|
+
type: TtSchemaType;
|
|
798
1198
|
fields: Array<{
|
|
799
1199
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
800
1200
|
id: number;
|
|
@@ -840,6 +1240,7 @@ export type PageQuery = {
|
|
|
840
1240
|
name: string;
|
|
841
1241
|
titlePlural: string;
|
|
842
1242
|
titleSingular: string;
|
|
1243
|
+
type: TtSchemaType;
|
|
843
1244
|
fields: Array<{
|
|
844
1245
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
845
1246
|
id: number;
|
|
@@ -875,19 +1276,26 @@ export type PageQuery = {
|
|
|
875
1276
|
site: {
|
|
876
1277
|
__typename?: 'SiteEntityDto';
|
|
877
1278
|
id: number;
|
|
1279
|
+
name: string;
|
|
878
1280
|
customScriptHead: string;
|
|
879
1281
|
customScriptBody: string;
|
|
880
1282
|
};
|
|
1283
|
+
breadcrumbs: Array<{
|
|
1284
|
+
__typename?: 'Breadcrumb';
|
|
1285
|
+
name: string;
|
|
1286
|
+
urlPath: string;
|
|
1287
|
+
}>;
|
|
881
1288
|
};
|
|
882
1289
|
};
|
|
883
1290
|
export type ErrorTemplateQueryVariables = Exact<{
|
|
884
|
-
domain: Scalars['String'];
|
|
885
|
-
path: Scalars['String'];
|
|
1291
|
+
domain: Scalars['String']['input'];
|
|
1292
|
+
path: Scalars['String']['input'];
|
|
886
1293
|
errorType: ErrorTemplateType;
|
|
1294
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
887
1295
|
}>;
|
|
888
1296
|
export type ErrorTemplateQuery = {
|
|
889
1297
|
__typename?: 'Query';
|
|
890
|
-
errorTemplate
|
|
1298
|
+
errorTemplate?: {
|
|
891
1299
|
__typename?: 'TemplateEntityDto';
|
|
892
1300
|
publishedRevision?: {
|
|
893
1301
|
__typename?: 'PageRevisionEntityDto';
|
|
@@ -897,6 +1305,8 @@ export type ErrorTemplateQuery = {
|
|
|
897
1305
|
id: number;
|
|
898
1306
|
sortOrder: number;
|
|
899
1307
|
anchorId?: string | null;
|
|
1308
|
+
campaign: boolean;
|
|
1309
|
+
label?: string | null;
|
|
900
1310
|
template?: {
|
|
901
1311
|
__typename?: 'TemplateEntityDto';
|
|
902
1312
|
id: number;
|
|
@@ -909,6 +1319,8 @@ export type ErrorTemplateQuery = {
|
|
|
909
1319
|
id: number;
|
|
910
1320
|
sortOrder: number;
|
|
911
1321
|
anchorId?: string | null;
|
|
1322
|
+
campaign: boolean;
|
|
1323
|
+
label?: string | null;
|
|
912
1324
|
properties?: Array<{
|
|
913
1325
|
__typename?: 'PageRevisionSchemaProperties';
|
|
914
1326
|
fieldId: number;
|
|
@@ -921,6 +1333,7 @@ export type ErrorTemplateQuery = {
|
|
|
921
1333
|
name: string;
|
|
922
1334
|
titlePlural: string;
|
|
923
1335
|
titleSingular: string;
|
|
1336
|
+
type: TtSchemaType;
|
|
924
1337
|
fields: Array<{
|
|
925
1338
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
926
1339
|
id: number;
|
|
@@ -966,6 +1379,7 @@ export type ErrorTemplateQuery = {
|
|
|
966
1379
|
name: string;
|
|
967
1380
|
titlePlural: string;
|
|
968
1381
|
titleSingular: string;
|
|
1382
|
+
type: TtSchemaType;
|
|
969
1383
|
fields: Array<{
|
|
970
1384
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
971
1385
|
id: number;
|
|
@@ -998,11 +1412,12 @@ export type ErrorTemplateQuery = {
|
|
|
998
1412
|
} | null;
|
|
999
1413
|
}>;
|
|
1000
1414
|
} | null;
|
|
1001
|
-
};
|
|
1415
|
+
} | null;
|
|
1002
1416
|
};
|
|
1003
1417
|
export type UrlResolutionQueryVariables = Exact<{
|
|
1004
|
-
slug?: InputMaybe<Scalars['String']>;
|
|
1005
|
-
domain: Scalars['String'];
|
|
1418
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
1419
|
+
domain: Scalars['String']['input'];
|
|
1420
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1006
1421
|
}>;
|
|
1007
1422
|
export type UrlResolutionQuery = {
|
|
1008
1423
|
__typename?: 'Query';
|
|
@@ -1019,6 +1434,7 @@ export type UrlResolutionQuery = {
|
|
|
1019
1434
|
lang: string;
|
|
1020
1435
|
brandId: number;
|
|
1021
1436
|
sitePath?: string | null;
|
|
1437
|
+
templateId?: number | null;
|
|
1022
1438
|
publishedRevision?: {
|
|
1023
1439
|
__typename?: 'PageRevisionEntityDto';
|
|
1024
1440
|
id: number;
|
|
@@ -1027,6 +1443,8 @@ export type UrlResolutionQuery = {
|
|
|
1027
1443
|
id: number;
|
|
1028
1444
|
sortOrder: number;
|
|
1029
1445
|
anchorId?: string | null;
|
|
1446
|
+
campaign: boolean;
|
|
1447
|
+
label?: string | null;
|
|
1030
1448
|
template?: {
|
|
1031
1449
|
__typename?: 'TemplateEntityDto';
|
|
1032
1450
|
id: number;
|
|
@@ -1039,6 +1457,8 @@ export type UrlResolutionQuery = {
|
|
|
1039
1457
|
id: number;
|
|
1040
1458
|
sortOrder: number;
|
|
1041
1459
|
anchorId?: string | null;
|
|
1460
|
+
campaign: boolean;
|
|
1461
|
+
label?: string | null;
|
|
1042
1462
|
properties?: Array<{
|
|
1043
1463
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1044
1464
|
fieldId: number;
|
|
@@ -1051,6 +1471,7 @@ export type UrlResolutionQuery = {
|
|
|
1051
1471
|
name: string;
|
|
1052
1472
|
titlePlural: string;
|
|
1053
1473
|
titleSingular: string;
|
|
1474
|
+
type: TtSchemaType;
|
|
1054
1475
|
fields: Array<{
|
|
1055
1476
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1056
1477
|
id: number;
|
|
@@ -1096,6 +1517,7 @@ export type UrlResolutionQuery = {
|
|
|
1096
1517
|
name: string;
|
|
1097
1518
|
titlePlural: string;
|
|
1098
1519
|
titleSingular: string;
|
|
1520
|
+
type: TtSchemaType;
|
|
1099
1521
|
fields: Array<{
|
|
1100
1522
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1101
1523
|
id: number;
|
|
@@ -1131,22 +1553,29 @@ export type UrlResolutionQuery = {
|
|
|
1131
1553
|
site: {
|
|
1132
1554
|
__typename?: 'SiteEntityDto';
|
|
1133
1555
|
id: number;
|
|
1556
|
+
name: string;
|
|
1134
1557
|
customScriptHead: string;
|
|
1135
1558
|
customScriptBody: string;
|
|
1136
1559
|
};
|
|
1560
|
+
breadcrumbs: Array<{
|
|
1561
|
+
__typename?: 'Breadcrumb';
|
|
1562
|
+
name: string;
|
|
1563
|
+
urlPath: string;
|
|
1564
|
+
}>;
|
|
1137
1565
|
} | null;
|
|
1138
1566
|
redirect?: {
|
|
1139
|
-
__typename?: '
|
|
1567
|
+
__typename?: 'URLRedirectEntityDto';
|
|
1140
1568
|
target: string;
|
|
1141
1569
|
type: RedirectType;
|
|
1142
1570
|
} | null;
|
|
1143
1571
|
};
|
|
1144
1572
|
};
|
|
1145
1573
|
export type LayoutRevisionQueryVariables = Exact<{
|
|
1146
|
-
id: Scalars['Int'];
|
|
1147
|
-
|
|
1148
|
-
campaignId
|
|
1149
|
-
|
|
1574
|
+
id: Scalars['Int']['input'];
|
|
1575
|
+
draftMode?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1576
|
+
campaignId?: InputMaybe<Scalars['Int']['input']>;
|
|
1577
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
1578
|
+
block?: InputMaybe<Scalars['Int']['input']>;
|
|
1150
1579
|
}>;
|
|
1151
1580
|
export type LayoutRevisionQuery = {
|
|
1152
1581
|
__typename?: 'Query';
|
|
@@ -1164,18 +1593,27 @@ export type LayoutRevisionQuery = {
|
|
|
1164
1593
|
lang: string;
|
|
1165
1594
|
brandId: number;
|
|
1166
1595
|
sitePath?: string | null;
|
|
1596
|
+
templateId?: number | null;
|
|
1167
1597
|
site: {
|
|
1168
1598
|
__typename?: 'SiteEntityDto';
|
|
1169
1599
|
id: number;
|
|
1600
|
+
name: string;
|
|
1170
1601
|
customScriptHead: string;
|
|
1171
1602
|
customScriptBody: string;
|
|
1172
1603
|
};
|
|
1604
|
+
breadcrumbs: Array<{
|
|
1605
|
+
__typename?: 'Breadcrumb';
|
|
1606
|
+
name: string;
|
|
1607
|
+
urlPath: string;
|
|
1608
|
+
}>;
|
|
1173
1609
|
} | null;
|
|
1174
1610
|
schema: Array<{
|
|
1175
1611
|
__typename?: 'PageRevisionSchemaEntityDto';
|
|
1176
1612
|
id: number;
|
|
1177
1613
|
sortOrder: number;
|
|
1178
1614
|
anchorId?: string | null;
|
|
1615
|
+
campaign: boolean;
|
|
1616
|
+
label?: string | null;
|
|
1179
1617
|
template?: {
|
|
1180
1618
|
__typename?: 'TemplateEntityDto';
|
|
1181
1619
|
id: number;
|
|
@@ -1188,6 +1626,8 @@ export type LayoutRevisionQuery = {
|
|
|
1188
1626
|
id: number;
|
|
1189
1627
|
sortOrder: number;
|
|
1190
1628
|
anchorId?: string | null;
|
|
1629
|
+
campaign: boolean;
|
|
1630
|
+
label?: string | null;
|
|
1191
1631
|
properties?: Array<{
|
|
1192
1632
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1193
1633
|
fieldId: number;
|
|
@@ -1200,6 +1640,7 @@ export type LayoutRevisionQuery = {
|
|
|
1200
1640
|
name: string;
|
|
1201
1641
|
titlePlural: string;
|
|
1202
1642
|
titleSingular: string;
|
|
1643
|
+
type: TtSchemaType;
|
|
1203
1644
|
fields: Array<{
|
|
1204
1645
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1205
1646
|
id: number;
|
|
@@ -1245,6 +1686,7 @@ export type LayoutRevisionQuery = {
|
|
|
1245
1686
|
name: string;
|
|
1246
1687
|
titlePlural: string;
|
|
1247
1688
|
titleSingular: string;
|
|
1689
|
+
type: TtSchemaType;
|
|
1248
1690
|
fields: Array<{
|
|
1249
1691
|
__typename?: 'TTSchemaFieldEntityDto';
|
|
1250
1692
|
id: number;
|
|
@@ -1279,7 +1721,7 @@ export type LayoutRevisionQuery = {
|
|
|
1279
1721
|
};
|
|
1280
1722
|
};
|
|
1281
1723
|
export type AssetListQueryVariables = Exact<{
|
|
1282
|
-
ids: Array<Scalars['Int']> | Scalars['Int'];
|
|
1724
|
+
ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1283
1725
|
}>;
|
|
1284
1726
|
export type AssetListQuery = {
|
|
1285
1727
|
__typename?: 'Query';
|
|
@@ -1292,7 +1734,7 @@ export type AssetListQuery = {
|
|
|
1292
1734
|
}>;
|
|
1293
1735
|
};
|
|
1294
1736
|
export type DomainWithSitemapQueryVariables = Exact<{
|
|
1295
|
-
domain: Scalars['String'];
|
|
1737
|
+
domain: Scalars['String']['input'];
|
|
1296
1738
|
}>;
|
|
1297
1739
|
export type DomainWithSitemapQuery = {
|
|
1298
1740
|
__typename?: 'Query';
|
|
@@ -1302,7 +1744,7 @@ export type DomainWithSitemapQuery = {
|
|
|
1302
1744
|
};
|
|
1303
1745
|
};
|
|
1304
1746
|
export type DomainWithRobotQueryVariables = Exact<{
|
|
1305
|
-
domain: Scalars['String'];
|
|
1747
|
+
domain: Scalars['String']['input'];
|
|
1306
1748
|
}>;
|
|
1307
1749
|
export type DomainWithRobotQuery = {
|
|
1308
1750
|
__typename?: 'Query';
|