@proca/cli 3.3.1 → 3.8.3
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/README.md +1992 -60
- package/package.json +88 -71
- package/proca-cli +8 -0
- package/src/commands/action/add.mjs +192 -0
- package/src/commands/action/confirm.mjs +93 -0
- package/src/commands/action/count.mjs +61 -0
- package/src/commands/action/list.mjs +204 -0
- package/src/commands/action/replay.mjs +56 -0
- package/src/commands/action/requeue.mjs +156 -0
- package/src/commands/campaign/add.mjs +113 -0
- package/src/commands/campaign/copy.mjs +91 -0
- package/src/commands/campaign/delete.mjs +41 -0
- package/src/commands/campaign/get.mjs +132 -0
- package/src/commands/campaign/list.mjs +161 -0
- package/src/commands/campaign/mtt.mjs +131 -0
- package/src/commands/campaign/queries.graphql +19 -0
- package/src/commands/campaign/status.mjs +63 -0
- package/src/commands/campaign/widget/archive.mjs +124 -0
- package/src/commands/campaign/widget/copy.mjs +175 -0
- package/src/commands/campaign/widget/get.mjs +19 -0
- package/src/commands/campaign/widget/index.mjs +17 -0
- package/src/commands/campaign/widget/rebuild.mjs +50 -0
- package/src/commands/config/add.mjs +97 -0
- package/src/commands/config/folder.mjs +42 -0
- package/src/commands/config/server.mjs +33 -0
- package/src/commands/config/set.mjs +103 -0
- package/src/commands/config/user.mjs +79 -0
- package/src/commands/contact/count.mjs +41 -0
- package/src/commands/contact/list.mjs +207 -0
- package/src/commands/org/add.mjs +75 -0
- package/src/commands/org/crm.mjs +88 -0
- package/src/commands/org/delete.mjs +48 -0
- package/src/commands/org/email.mjs +111 -0
- package/src/commands/org/get.mjs +152 -0
- package/src/commands/service/add.mjs +78 -0
- package/src/commands/service/list.mjs +24 -0
- package/src/commands/target/add.mjs +94 -0
- package/src/commands/template/add.mjs +97 -0
- package/src/commands/template/list.mjs +61 -0
- package/src/commands/user/get.mjs +91 -0
- package/src/commands/user/invite.mjs +56 -0
- package/src/commands/user/join.mjs +81 -0
- package/src/commands/user/leave.mjs +57 -0
- package/src/commands/user/list.mjs +80 -0
- package/src/commands/user/reset.mjs +83 -0
- package/src/commands/widget/add.mjs +116 -0
- package/src/commands/widget/delete.mjs +45 -0
- package/src/commands/widget/get.mjs +60 -0
- package/src/commands/widget/list.mjs +135 -0
- package/src/commands/widget/rebuild.mjs +64 -0
- package/src/commands/widget/update.mjs +174 -0
- package/src/config.mjs +49 -0
- package/src/generated/schema.json +10677 -0
- package/src/hooks/help.mjs +14 -0
- package/src/hooks/init.mjs +41 -0
- package/src/index.mjs +1 -0
- package/src/procaCommand.mjs +316 -0
- package/src/queries/campaign.mjs +35 -0
- package/src/queries/widget.mjs +25 -0
- package/src/urql.mjs +60 -0
- package/src/util/twitter.mjs +23 -0
- package/theme.json +29 -0
- package/LICENSE +0 -661
- package/bin/proca-cli +0 -4
- package/dist/a.d.ts +0 -1
- package/dist/a.js +0 -21
- package/dist/a.js.map +0 -1
- package/dist/browser.d.ts +0 -1
- package/dist/browser.js +0 -24
- package/dist/browser.js.map +0 -1
- package/dist/campaign.d.ts +0 -156
- package/dist/campaign.js +0 -188
- package/dist/campaign.js.map +0 -1
- package/dist/cli.d.ts +0 -40
- package/dist/cli.js +0 -411
- package/dist/cli.js.map +0 -1
- package/dist/client.d.ts +0 -2
- package/dist/client.js +0 -18
- package/dist/client.js.map +0 -1
- package/dist/config.d.ts +0 -35
- package/dist/config.js +0 -71
- package/dist/config.js.map +0 -1
- package/dist/crypto.d.ts +0 -40
- package/dist/crypto.js +0 -53
- package/dist/crypto.js.map +0 -1
- package/dist/decrypt.d.ts +0 -7
- package/dist/decrypt.js +0 -29
- package/dist/decrypt.js.map +0 -1
- package/dist/export.d.ts +0 -15
- package/dist/export.js +0 -141
- package/dist/export.js.map +0 -1
- package/dist/format.d.ts +0 -37
- package/dist/format.js +0 -200
- package/dist/format.js.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -35
- package/dist/index.js.map +0 -1
- package/dist/keys.d.ts +0 -4
- package/dist/keys.js +0 -38
- package/dist/keys.js.map +0 -1
- package/dist/org.d.ts +0 -11
- package/dist/org.js +0 -93
- package/dist/org.js.map +0 -1
- package/dist/proca.d.ts +0 -2066
- package/dist/proca.js +0 -396
- package/dist/proca.js.map +0 -1
- package/dist/queue.d.ts +0 -8
- package/dist/queue.js +0 -126
- package/dist/queue.js.map +0 -1
- package/dist/queueMessage.d.ts +0 -102
- package/dist/queueMessage.js +0 -109
- package/dist/queueMessage.js.map +0 -1
- package/dist/scalarLocations.d.ts +0 -4
- package/dist/scalarLocations.js +0 -236
- package/dist/scalarLocations.js.map +0 -1
- package/dist/service/actionnetwork.d.ts +0 -10
- package/dist/service/actionnetwork.js +0 -302
- package/dist/service/actionnetwork.js.map +0 -1
- package/dist/service/distance.d.ts +0 -3
- package/dist/service/distance.js +0 -92
- package/dist/service/distance.js.map +0 -1
- package/dist/service/echo.d.ts +0 -4
- package/dist/service/echo.js +0 -19
- package/dist/service/echo.js.map +0 -1
- package/dist/service/email.d.ts +0 -14
- package/dist/service/email.js +0 -67
- package/dist/service/email.js.map +0 -1
- package/dist/service/identity.d.ts +0 -58
- package/dist/service/identity.js +0 -190
- package/dist/service/identity.js.map +0 -1
- package/dist/service/index.d.ts +0 -14
- package/dist/service/index.js +0 -61
- package/dist/service/index.js.map +0 -1
- package/dist/setup.d.ts +0 -2
- package/dist/setup.js +0 -287
- package/dist/setup.js.map +0 -1
- package/dist/test.d.ts +0 -1
- package/dist/test.js +0 -33
- package/dist/test.js.map +0 -1
- package/dist/util.d.ts +0 -5
- package/dist/util.js +0 -30
- package/dist/util.js.map +0 -1
- package/dist/watch.d.ts +0 -9
- package/dist/watch.js +0 -76
- package/dist/watch.js.map +0 -1
package/dist/proca.d.ts
DELETED
|
@@ -1,2066 +0,0 @@
|
|
|
1
|
-
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
-
export declare type Maybe<T> = T | null;
|
|
3
|
-
export declare type Exact<T extends {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
}> = {
|
|
6
|
-
[K in keyof T]: T[K];
|
|
7
|
-
};
|
|
8
|
-
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
-
};
|
|
11
|
-
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
-
};
|
|
14
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
|
-
export declare type Scalars = {
|
|
16
|
-
ID: string;
|
|
17
|
-
String: string;
|
|
18
|
-
Boolean: boolean;
|
|
19
|
-
Int: number;
|
|
20
|
-
Float: number;
|
|
21
|
-
/**
|
|
22
|
-
* The `Date` scalar type represents a date. The Date appears in a JSON
|
|
23
|
-
* response as an ISO8601 formatted string, without a time component.
|
|
24
|
-
*/
|
|
25
|
-
Date: any;
|
|
26
|
-
/**
|
|
27
|
-
* The `DateTime` scalar type represents a date and time in the UTC
|
|
28
|
-
* timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
29
|
-
* string, including UTC timezone ("Z"). The parsed date and time string will
|
|
30
|
-
* be converted to UTC if there is an offset.
|
|
31
|
-
*/
|
|
32
|
-
DateTime: any;
|
|
33
|
-
Json: any;
|
|
34
|
-
/**
|
|
35
|
-
* The `Naive DateTime` scalar type represents a naive date and time without
|
|
36
|
-
* timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
37
|
-
* string.
|
|
38
|
-
*/
|
|
39
|
-
NaiveDateTime: any;
|
|
40
|
-
};
|
|
41
|
-
export declare type Action = {
|
|
42
|
-
__typename?: 'Action';
|
|
43
|
-
actionId: Scalars['Int'];
|
|
44
|
-
createdAt: Scalars['NaiveDateTime'];
|
|
45
|
-
actionType: Scalars['String'];
|
|
46
|
-
contact: Contact;
|
|
47
|
-
customFields: Scalars['Json'];
|
|
48
|
-
/**
|
|
49
|
-
* Deprecated, use customFields
|
|
50
|
-
* @deprecated use custom_fields
|
|
51
|
-
*/
|
|
52
|
-
fields: Array<CustomField>;
|
|
53
|
-
tracking: Maybe<Tracking>;
|
|
54
|
-
campaign: Campaign;
|
|
55
|
-
actionPage: ActionPage;
|
|
56
|
-
privacy: Consent;
|
|
57
|
-
donation: Maybe<Donation>;
|
|
58
|
-
};
|
|
59
|
-
export declare type ActionCustomFields = {
|
|
60
|
-
__typename?: 'ActionCustomFields';
|
|
61
|
-
actionId: Scalars['Int'];
|
|
62
|
-
actionType: Scalars['String'];
|
|
63
|
-
insertedAt: Scalars['NaiveDateTime'];
|
|
64
|
-
customFields: Scalars['Json'];
|
|
65
|
-
/** @deprecated use custom_fields */
|
|
66
|
-
fields: Array<CustomField>;
|
|
67
|
-
};
|
|
68
|
-
/** Custom field added to action. For signature it can be contact, for mail it can be subject and body */
|
|
69
|
-
export declare type ActionInput = {
|
|
70
|
-
/** Action Type */
|
|
71
|
-
actionType: Scalars['String'];
|
|
72
|
-
/** Custom fields added to action */
|
|
73
|
-
customFields?: Maybe<Scalars['Json']>;
|
|
74
|
-
/** Deprecated format: Other fields added to action */
|
|
75
|
-
fields?: Maybe<Array<CustomFieldInput>>;
|
|
76
|
-
/** Donation payload */
|
|
77
|
-
donation?: Maybe<DonationActionInput>;
|
|
78
|
-
/** MTT payload */
|
|
79
|
-
mtt?: Maybe<MttActionInput>;
|
|
80
|
-
/** Test mode */
|
|
81
|
-
testing?: Maybe<Scalars['Boolean']>;
|
|
82
|
-
};
|
|
83
|
-
export declare type ActionPage = {
|
|
84
|
-
id: Scalars['Int'];
|
|
85
|
-
/** Locale for the widget, in i18n format */
|
|
86
|
-
locale: Scalars['String'];
|
|
87
|
-
/** Name where the widget is hosted */
|
|
88
|
-
name: Scalars['String'];
|
|
89
|
-
/** Thank you email templated of this Action Page */
|
|
90
|
-
thankYouTemplate: Maybe<Scalars['String']>;
|
|
91
|
-
/** A reference to thank you email template of this ActionPage */
|
|
92
|
-
thankYouTemplateRef: Maybe<Scalars['String']>;
|
|
93
|
-
/** Is live? */
|
|
94
|
-
live: Scalars['Boolean'];
|
|
95
|
-
/** List of steps in journey (DEPRECATED: moved under config) */
|
|
96
|
-
journey: Array<Scalars['String']>;
|
|
97
|
-
/** Config JSON of this action page */
|
|
98
|
-
config: Scalars['Json'];
|
|
99
|
-
/** Campaign this action page belongs to. */
|
|
100
|
-
campaign: Campaign;
|
|
101
|
-
/** Org the action page belongs to */
|
|
102
|
-
org: Org;
|
|
103
|
-
};
|
|
104
|
-
/** ActionPage input */
|
|
105
|
-
export declare type ActionPageInput = {
|
|
106
|
-
/**
|
|
107
|
-
* Unique NAME identifying ActionPage.
|
|
108
|
-
*
|
|
109
|
-
* Does not have to exist, must be unique. Can be a 'technical' identifier
|
|
110
|
-
* scoped to particular organization, so it does not have to change when the
|
|
111
|
-
* slugs/names change (eg. some.org/1234). However, frontent Widget can
|
|
112
|
-
* ask for ActionPage by it's current location.href (but without https://), in which case it is useful
|
|
113
|
-
* to make this url match the real widget location.
|
|
114
|
-
*/
|
|
115
|
-
name?: Maybe<Scalars['String']>;
|
|
116
|
-
/** 2-letter, lowercase, code of ActionPage language */
|
|
117
|
-
locale?: Maybe<Scalars['String']>;
|
|
118
|
-
/** Thank you email template of this ActionPage */
|
|
119
|
-
thankYouTemplate?: Maybe<Scalars['String']>;
|
|
120
|
-
/** Supporter confirm email template of this ActionPage */
|
|
121
|
-
supporterConfirmTemplate?: Maybe<Scalars['String']>;
|
|
122
|
-
/** Extra supporter count. If you want to add a number of signatories you have offline or kept in another system, you can specify the number here. */
|
|
123
|
-
extraSupporters?: Maybe<Scalars['Int']>;
|
|
124
|
-
/** JSON string containing Action Page config */
|
|
125
|
-
config?: Maybe<Scalars['Json']>;
|
|
126
|
-
/** Collected PII is processed even with no opt-in */
|
|
127
|
-
delivery?: Maybe<Scalars['Boolean']>;
|
|
128
|
-
};
|
|
129
|
-
export declare enum ActionPageStatus {
|
|
130
|
-
/** This action page is ready to receive first action or is stalled for over 1 year */
|
|
131
|
-
Standby = "STANDBY",
|
|
132
|
-
/** This action page received actions lately */
|
|
133
|
-
Active = "ACTIVE",
|
|
134
|
-
/** This action page did not receive actions lately */
|
|
135
|
-
Stalled = "STALLED"
|
|
136
|
-
}
|
|
137
|
-
/** Count of actions for particular action type */
|
|
138
|
-
export declare type ActionTypeCount = {
|
|
139
|
-
__typename?: 'ActionTypeCount';
|
|
140
|
-
/** action type */
|
|
141
|
-
actionType: Scalars['String'];
|
|
142
|
-
/** count of actions of action type */
|
|
143
|
-
count: Scalars['Int'];
|
|
144
|
-
};
|
|
145
|
-
export declare type ActivateKeyResult = {
|
|
146
|
-
__typename?: 'ActivateKeyResult';
|
|
147
|
-
status: Status;
|
|
148
|
-
};
|
|
149
|
-
export declare type AddKeyInput = {
|
|
150
|
-
name: Scalars['String'];
|
|
151
|
-
public: Scalars['String'];
|
|
152
|
-
};
|
|
153
|
-
/** Address type which can hold different addres fields. */
|
|
154
|
-
export declare type AddressInput = {
|
|
155
|
-
/** Country code (two-letter). */
|
|
156
|
-
country?: Maybe<Scalars['String']>;
|
|
157
|
-
/** Postcode, in format correct for country locale */
|
|
158
|
-
postcode?: Maybe<Scalars['String']>;
|
|
159
|
-
/** Locality, which can be a city/town/village */
|
|
160
|
-
locality?: Maybe<Scalars['String']>;
|
|
161
|
-
/** Region, being province, voyevodship, county */
|
|
162
|
-
region?: Maybe<Scalars['String']>;
|
|
163
|
-
/** Street name */
|
|
164
|
-
street?: Maybe<Scalars['String']>;
|
|
165
|
-
/** Street number */
|
|
166
|
-
streetNumber?: Maybe<Scalars['String']>;
|
|
167
|
-
};
|
|
168
|
-
/** Count of actions for particular action type */
|
|
169
|
-
export declare type AreaCount = {
|
|
170
|
-
__typename?: 'AreaCount';
|
|
171
|
-
/** area */
|
|
172
|
-
area: Scalars['String'];
|
|
173
|
-
/** count of supporters in this area */
|
|
174
|
-
count: Scalars['Int'];
|
|
175
|
-
};
|
|
176
|
-
export declare type Campaign = {
|
|
177
|
-
/** Campaign id */
|
|
178
|
-
id: Scalars['Int'];
|
|
179
|
-
/** External ID (if set) */
|
|
180
|
-
externalId: Maybe<Scalars['Int']>;
|
|
181
|
-
/** Internal name of the campaign */
|
|
182
|
-
name: Scalars['String'];
|
|
183
|
-
/** Full, official name of the campaign */
|
|
184
|
-
title: Scalars['String'];
|
|
185
|
-
/** Schema for contact personal information */
|
|
186
|
-
contactSchema: ContactSchema;
|
|
187
|
-
/** Custom config map */
|
|
188
|
-
config: Scalars['Json'];
|
|
189
|
-
/** Campaign statistics */
|
|
190
|
-
stats: CampaignStats;
|
|
191
|
-
org: Org;
|
|
192
|
-
/** Fetch public actions */
|
|
193
|
-
actions: PublicActionsResult;
|
|
194
|
-
targets: Maybe<Array<Maybe<Target>>>;
|
|
195
|
-
};
|
|
196
|
-
export declare type CampaignActionsArgs = {
|
|
197
|
-
actionType: Scalars['String'];
|
|
198
|
-
limit: Scalars['Int'];
|
|
199
|
-
};
|
|
200
|
-
/** Campaign input */
|
|
201
|
-
export declare type CampaignInput = {
|
|
202
|
-
/** Campaign unchanging identifier */
|
|
203
|
-
name?: Maybe<Scalars['String']>;
|
|
204
|
-
/** Campaign external_id. If provided, it will be used to find campaign. Can be used to rename a campaign */
|
|
205
|
-
externalId?: Maybe<Scalars['Int']>;
|
|
206
|
-
/** Campaign human readable title */
|
|
207
|
-
title?: Maybe<Scalars['String']>;
|
|
208
|
-
/** Schema for contact personal information */
|
|
209
|
-
contactSchema?: Maybe<ContactSchema>;
|
|
210
|
-
/** Custom config as stringified JSON map */
|
|
211
|
-
config?: Maybe<Scalars['Json']>;
|
|
212
|
-
/** Action pages of this campaign */
|
|
213
|
-
actionPages?: Maybe<Array<ActionPageInput>>;
|
|
214
|
-
/** MTT configuration */
|
|
215
|
-
mtt?: Maybe<CampaignMttInput>;
|
|
216
|
-
};
|
|
217
|
-
export declare type CampaignMtt = {
|
|
218
|
-
__typename?: 'CampaignMtt';
|
|
219
|
-
startAt: Scalars['DateTime'];
|
|
220
|
-
endAt: Scalars['DateTime'];
|
|
221
|
-
messageTemplate: Maybe<Scalars['String']>;
|
|
222
|
-
testEmail: Maybe<Scalars['String']>;
|
|
223
|
-
};
|
|
224
|
-
export declare type CampaignMttInput = {
|
|
225
|
-
startAt?: Maybe<Scalars['DateTime']>;
|
|
226
|
-
endAt?: Maybe<Scalars['DateTime']>;
|
|
227
|
-
messageTemplate?: Maybe<Scalars['String']>;
|
|
228
|
-
testEmail?: Maybe<Scalars['String']>;
|
|
229
|
-
};
|
|
230
|
-
/** Campaign statistics */
|
|
231
|
-
export declare type CampaignStats = {
|
|
232
|
-
__typename?: 'CampaignStats';
|
|
233
|
-
/** Unique action tagers count */
|
|
234
|
-
supporterCount: Scalars['Int'];
|
|
235
|
-
/** Unique action takers by area */
|
|
236
|
-
supporterCountByArea: Array<AreaCount>;
|
|
237
|
-
/** Unique action takers by org */
|
|
238
|
-
supporterCountByOrg: Array<OrgCount>;
|
|
239
|
-
supporterCountByOthers: Scalars['Int'];
|
|
240
|
-
/** Action counts for selected action types */
|
|
241
|
-
actionCount: Array<ActionTypeCount>;
|
|
242
|
-
};
|
|
243
|
-
/** Campaign statistics */
|
|
244
|
-
export declare type CampaignStatsSupporterCountByOthersArgs = {
|
|
245
|
-
orgName: Scalars['String'];
|
|
246
|
-
};
|
|
247
|
-
export declare type ChangeUserStatus = {
|
|
248
|
-
__typename?: 'ChangeUserStatus';
|
|
249
|
-
status: Status;
|
|
250
|
-
};
|
|
251
|
-
export declare type Confirm = {
|
|
252
|
-
__typename?: 'Confirm';
|
|
253
|
-
code: Scalars['String'];
|
|
254
|
-
email: Maybe<Scalars['String']>;
|
|
255
|
-
message: Maybe<Scalars['String']>;
|
|
256
|
-
objectId: Maybe<Scalars['Int']>;
|
|
257
|
-
creator: Maybe<User>;
|
|
258
|
-
};
|
|
259
|
-
export declare type ConfirmInput = {
|
|
260
|
-
code: Scalars['String'];
|
|
261
|
-
email?: Maybe<Scalars['String']>;
|
|
262
|
-
objectId?: Maybe<Scalars['Int']>;
|
|
263
|
-
};
|
|
264
|
-
export declare type ConfirmResult = {
|
|
265
|
-
__typename?: 'ConfirmResult';
|
|
266
|
-
status: Status;
|
|
267
|
-
actionPage: Maybe<ActionPage>;
|
|
268
|
-
campaign: Maybe<Campaign>;
|
|
269
|
-
org: Maybe<Org>;
|
|
270
|
-
message: Maybe<Scalars['String']>;
|
|
271
|
-
};
|
|
272
|
-
/** GDPR consent data for this org */
|
|
273
|
-
export declare type Consent = {
|
|
274
|
-
__typename?: 'Consent';
|
|
275
|
-
optIn: Scalars['Boolean'];
|
|
276
|
-
givenAt: Scalars['NaiveDateTime'];
|
|
277
|
-
emailStatus: EmailStatus;
|
|
278
|
-
emailStatusChanged: Maybe<Scalars['NaiveDateTime']>;
|
|
279
|
-
withConsent: Scalars['Boolean'];
|
|
280
|
-
};
|
|
281
|
-
/** GDPR consent data structure */
|
|
282
|
-
export declare type ConsentInput = {
|
|
283
|
-
/** Has contact consented to receiving communication from widget owner? */
|
|
284
|
-
optIn: Scalars['Boolean'];
|
|
285
|
-
/** Opt in to the campaign leader */
|
|
286
|
-
leadOptIn?: Maybe<Scalars['Boolean']>;
|
|
287
|
-
};
|
|
288
|
-
export declare type Contact = {
|
|
289
|
-
__typename?: 'Contact';
|
|
290
|
-
contactRef: Scalars['ID'];
|
|
291
|
-
payload: Scalars['String'];
|
|
292
|
-
nonce: Maybe<Scalars['String']>;
|
|
293
|
-
publicKey: Maybe<KeyIds>;
|
|
294
|
-
signKey: Maybe<KeyIds>;
|
|
295
|
-
};
|
|
296
|
-
/** Contact information */
|
|
297
|
-
export declare type ContactInput = {
|
|
298
|
-
/** Full name */
|
|
299
|
-
name?: Maybe<Scalars['String']>;
|
|
300
|
-
/** First name (when you provide full name split into first and last) */
|
|
301
|
-
firstName?: Maybe<Scalars['String']>;
|
|
302
|
-
/** Last name (when you provide full name split into first and last) */
|
|
303
|
-
lastName?: Maybe<Scalars['String']>;
|
|
304
|
-
/** Email */
|
|
305
|
-
email?: Maybe<Scalars['String']>;
|
|
306
|
-
/** Contacts phone number */
|
|
307
|
-
phone?: Maybe<Scalars['String']>;
|
|
308
|
-
/** Date of birth in format YYYY-MM-DD */
|
|
309
|
-
birthDate?: Maybe<Scalars['Date']>;
|
|
310
|
-
/** Contacts address */
|
|
311
|
-
address?: Maybe<AddressInput>;
|
|
312
|
-
/** Nationality information */
|
|
313
|
-
nationality?: Maybe<NationalityInput>;
|
|
314
|
-
};
|
|
315
|
-
export declare type ContactReference = {
|
|
316
|
-
__typename?: 'ContactReference';
|
|
317
|
-
/** Contact's reference */
|
|
318
|
-
contactRef: Scalars['String'];
|
|
319
|
-
/** Contacts first name */
|
|
320
|
-
firstName: Maybe<Scalars['String']>;
|
|
321
|
-
};
|
|
322
|
-
export declare enum ContactSchema {
|
|
323
|
-
Basic = "BASIC",
|
|
324
|
-
PopularInitiative = "POPULAR_INITIATIVE",
|
|
325
|
-
Eci = "ECI",
|
|
326
|
-
ItCi = "IT_CI"
|
|
327
|
-
}
|
|
328
|
-
/** Custom field with a key and value. */
|
|
329
|
-
export declare type CustomField = {
|
|
330
|
-
__typename?: 'CustomField';
|
|
331
|
-
key: Scalars['String'];
|
|
332
|
-
value: Scalars['String'];
|
|
333
|
-
};
|
|
334
|
-
/** Custom field with a key and value. Both are strings. */
|
|
335
|
-
export declare type CustomFieldInput = {
|
|
336
|
-
key: Scalars['String'];
|
|
337
|
-
value: Scalars['String'];
|
|
338
|
-
/** Unused. To mark action_type/key as transient, use campaign.transient_actions list */
|
|
339
|
-
transient?: Maybe<Scalars['Boolean']>;
|
|
340
|
-
};
|
|
341
|
-
export declare type DeleteUserResult = {
|
|
342
|
-
__typename?: 'DeleteUserResult';
|
|
343
|
-
status: Status;
|
|
344
|
-
};
|
|
345
|
-
export declare type Donation = {
|
|
346
|
-
__typename?: 'Donation';
|
|
347
|
-
schema: Maybe<DonationSchema>;
|
|
348
|
-
/** Provide amount of this donation, in smallest units for currency */
|
|
349
|
-
amount: Scalars['Int'];
|
|
350
|
-
/** Provide currency of this donation */
|
|
351
|
-
currency: Scalars['String'];
|
|
352
|
-
/** Donation data */
|
|
353
|
-
payload: Scalars['Json'];
|
|
354
|
-
/** Donation frequency unit */
|
|
355
|
-
frequencyUnit: DonationFrequencyUnit;
|
|
356
|
-
};
|
|
357
|
-
export declare type DonationActionInput = {
|
|
358
|
-
/** Provide payload schema to validate, eg. stripe_payment_intent */
|
|
359
|
-
schema?: Maybe<DonationSchema>;
|
|
360
|
-
/** Provide amount of this donation, in smallest units for currency */
|
|
361
|
-
amount?: Maybe<Scalars['Int']>;
|
|
362
|
-
/** Provide currency of this donation */
|
|
363
|
-
currency?: Maybe<Scalars['String']>;
|
|
364
|
-
frequencyUnit?: Maybe<DonationFrequencyUnit>;
|
|
365
|
-
payload: Scalars['Json'];
|
|
366
|
-
};
|
|
367
|
-
export declare enum DonationFrequencyUnit {
|
|
368
|
-
OneOff = "ONE_OFF",
|
|
369
|
-
Weekly = "WEEKLY",
|
|
370
|
-
Monthly = "MONTHLY",
|
|
371
|
-
Daily = "DAILY"
|
|
372
|
-
}
|
|
373
|
-
export declare enum DonationSchema {
|
|
374
|
-
StripePaymentIntent = "STRIPE_PAYMENT_INTENT"
|
|
375
|
-
}
|
|
376
|
-
export declare enum EmailStatus {
|
|
377
|
-
None = "NONE",
|
|
378
|
-
DoubleOptIn = "DOUBLE_OPT_IN",
|
|
379
|
-
Bounce = "BOUNCE",
|
|
380
|
-
Blocked = "BLOCKED",
|
|
381
|
-
Spam = "SPAM",
|
|
382
|
-
Unsub = "UNSUB"
|
|
383
|
-
}
|
|
384
|
-
export declare type GenKeyInput = {
|
|
385
|
-
name: Scalars['String'];
|
|
386
|
-
};
|
|
387
|
-
export declare type JoinOrgResult = {
|
|
388
|
-
__typename?: 'JoinOrgResult';
|
|
389
|
-
status: Status;
|
|
390
|
-
org: Org;
|
|
391
|
-
};
|
|
392
|
-
/** Encryption or sign key with integer id (database) */
|
|
393
|
-
export declare type Key = {
|
|
394
|
-
__typename?: 'Key';
|
|
395
|
-
id: Scalars['Int'];
|
|
396
|
-
public: Scalars['String'];
|
|
397
|
-
name: Scalars['String'];
|
|
398
|
-
active: Scalars['Boolean'];
|
|
399
|
-
expired: Scalars['Boolean'];
|
|
400
|
-
/** When the key was expired, in UTC */
|
|
401
|
-
expiredAt: Maybe<Scalars['NaiveDateTime']>;
|
|
402
|
-
};
|
|
403
|
-
export declare type KeyIds = {
|
|
404
|
-
__typename?: 'KeyIds';
|
|
405
|
-
id: Scalars['Int'];
|
|
406
|
-
public: Scalars['String'];
|
|
407
|
-
};
|
|
408
|
-
export declare type KeyWithPrivate = {
|
|
409
|
-
__typename?: 'KeyWithPrivate';
|
|
410
|
-
id: Scalars['Int'];
|
|
411
|
-
public: Scalars['String'];
|
|
412
|
-
private: Scalars['String'];
|
|
413
|
-
name: Scalars['String'];
|
|
414
|
-
active: Scalars['Boolean'];
|
|
415
|
-
expired: Scalars['Boolean'];
|
|
416
|
-
/** When the key was expired, in UTC */
|
|
417
|
-
expiredAt: Maybe<Scalars['NaiveDateTime']>;
|
|
418
|
-
};
|
|
419
|
-
export declare type LaunchActionPageResult = {
|
|
420
|
-
__typename?: 'LaunchActionPageResult';
|
|
421
|
-
status: Status;
|
|
422
|
-
};
|
|
423
|
-
export declare type MttActionInput = {
|
|
424
|
-
/** Subject line */
|
|
425
|
-
subject: Scalars['String'];
|
|
426
|
-
/** Body */
|
|
427
|
-
body: Scalars['String'];
|
|
428
|
-
/** Target ids */
|
|
429
|
-
targets: Array<Scalars['String']>;
|
|
430
|
-
};
|
|
431
|
-
export declare type NationalityInput = {
|
|
432
|
-
/** Nationality / issuer of id document */
|
|
433
|
-
country: Scalars['String'];
|
|
434
|
-
/** Document type */
|
|
435
|
-
documentType?: Maybe<Scalars['String']>;
|
|
436
|
-
/** Document serial id/number */
|
|
437
|
-
documentNumber?: Maybe<Scalars['String']>;
|
|
438
|
-
};
|
|
439
|
-
export declare type Org = {
|
|
440
|
-
/** Organisation short name */
|
|
441
|
-
name: Scalars['String'];
|
|
442
|
-
/** Organisation title (human readable name) */
|
|
443
|
-
title: Scalars['String'];
|
|
444
|
-
/** config */
|
|
445
|
-
config: Scalars['Json'];
|
|
446
|
-
};
|
|
447
|
-
/** Count of supporters for particular org */
|
|
448
|
-
export declare type OrgCount = {
|
|
449
|
-
__typename?: 'OrgCount';
|
|
450
|
-
/** org */
|
|
451
|
-
org: Org;
|
|
452
|
-
/** count of supporters registered by org */
|
|
453
|
-
count: Scalars['Int'];
|
|
454
|
-
};
|
|
455
|
-
export declare type OrgInput = {
|
|
456
|
-
/** Name used to rename */
|
|
457
|
-
name?: Maybe<Scalars['String']>;
|
|
458
|
-
/** Organisation title (human readable name) */
|
|
459
|
-
title?: Maybe<Scalars['String']>;
|
|
460
|
-
/** Schema for contact personal information */
|
|
461
|
-
contactSchema?: Maybe<ContactSchema>;
|
|
462
|
-
/** Email opt in enabled */
|
|
463
|
-
supporterConfirm?: Maybe<Scalars['Boolean']>;
|
|
464
|
-
/** Email opt in template name */
|
|
465
|
-
supporterConfirmTemplate?: Maybe<Scalars['String']>;
|
|
466
|
-
/** Only send thank you emails to opt-ins */
|
|
467
|
-
doiThankYou?: Maybe<Scalars['Boolean']>;
|
|
468
|
-
/** Config */
|
|
469
|
-
config?: Maybe<Scalars['Json']>;
|
|
470
|
-
};
|
|
471
|
-
export declare type OrgUser = {
|
|
472
|
-
__typename?: 'OrgUser';
|
|
473
|
-
email: Scalars['String'];
|
|
474
|
-
/** Role in an org */
|
|
475
|
-
role: Scalars['String'];
|
|
476
|
-
/** Date and time the user was created on this instance */
|
|
477
|
-
createdAt: Scalars['NaiveDateTime'];
|
|
478
|
-
/** Date and time when user joined org */
|
|
479
|
-
joinedAt: Scalars['NaiveDateTime'];
|
|
480
|
-
/** Will be removed */
|
|
481
|
-
lastSigninAt: Maybe<Scalars['NaiveDateTime']>;
|
|
482
|
-
};
|
|
483
|
-
export declare type OrgUserInput = {
|
|
484
|
-
email: Scalars['String'];
|
|
485
|
-
role: Scalars['String'];
|
|
486
|
-
};
|
|
487
|
-
export declare type Partnership = {
|
|
488
|
-
__typename?: 'Partnership';
|
|
489
|
-
org: Org;
|
|
490
|
-
actionPages: Array<ActionPage>;
|
|
491
|
-
launchRequests: Array<Confirm>;
|
|
492
|
-
launchRequesters: Array<User>;
|
|
493
|
-
};
|
|
494
|
-
export declare type PersonalData = {
|
|
495
|
-
__typename?: 'PersonalData';
|
|
496
|
-
/** Schema for contact personal information */
|
|
497
|
-
contactSchema: ContactSchema;
|
|
498
|
-
/** Email opt in enabled */
|
|
499
|
-
supporterConfirm: Scalars['Boolean'];
|
|
500
|
-
/** Email opt in template name */
|
|
501
|
-
supporterConfirmTemplate: Maybe<Scalars['String']>;
|
|
502
|
-
/** High data security enabled */
|
|
503
|
-
highSecurity: Scalars['Boolean'];
|
|
504
|
-
/** Only send thank you emails to opt-ins */
|
|
505
|
-
doiThankYou: Scalars['Boolean'];
|
|
506
|
-
};
|
|
507
|
-
export declare type PrivateActionPage = ActionPage & {
|
|
508
|
-
__typename?: 'PrivateActionPage';
|
|
509
|
-
id: Scalars['Int'];
|
|
510
|
-
/** Locale for the widget, in i18n format */
|
|
511
|
-
locale: Scalars['String'];
|
|
512
|
-
/** Name where the widget is hosted */
|
|
513
|
-
name: Scalars['String'];
|
|
514
|
-
/** Thank you email templated of this Action Page */
|
|
515
|
-
thankYouTemplate: Maybe<Scalars['String']>;
|
|
516
|
-
/** A reference to thank you email template of this ActionPage */
|
|
517
|
-
thankYouTemplateRef: Maybe<Scalars['String']>;
|
|
518
|
-
/** Is live? */
|
|
519
|
-
live: Scalars['Boolean'];
|
|
520
|
-
/** List of steps in journey (DEPRECATED: moved under config) */
|
|
521
|
-
journey: Array<Scalars['String']>;
|
|
522
|
-
/** Config JSON of this action page */
|
|
523
|
-
config: Scalars['Json'];
|
|
524
|
-
/** Campaign this action page belongs to. */
|
|
525
|
-
campaign: Campaign;
|
|
526
|
-
/** Org the action page belongs to */
|
|
527
|
-
org: Org;
|
|
528
|
-
extraSupporters: Scalars['Int'];
|
|
529
|
-
/** Action page collects also opt-out actions */
|
|
530
|
-
delivery: Scalars['Boolean'];
|
|
531
|
-
/** Email template to confirm supporter */
|
|
532
|
-
supporterConfirmTemplate: Maybe<Scalars['String']>;
|
|
533
|
-
/** Location of the widget as last seen in HTTP REFERER header */
|
|
534
|
-
location: Maybe<Scalars['String']>;
|
|
535
|
-
/** Status of action page */
|
|
536
|
-
status: Maybe<ActionPageStatus>;
|
|
537
|
-
};
|
|
538
|
-
export declare type PrivateCampaign = Campaign & {
|
|
539
|
-
__typename?: 'PrivateCampaign';
|
|
540
|
-
/** Campaign id */
|
|
541
|
-
id: Scalars['Int'];
|
|
542
|
-
/** External ID (if set) */
|
|
543
|
-
externalId: Maybe<Scalars['Int']>;
|
|
544
|
-
/** Internal name of the campaign */
|
|
545
|
-
name: Scalars['String'];
|
|
546
|
-
/** Full, official name of the campaign */
|
|
547
|
-
title: Scalars['String'];
|
|
548
|
-
/** Schema for contact personal information */
|
|
549
|
-
contactSchema: ContactSchema;
|
|
550
|
-
/** Custom config map */
|
|
551
|
-
config: Scalars['Json'];
|
|
552
|
-
/** Campaign statistics */
|
|
553
|
-
stats: CampaignStats;
|
|
554
|
-
org: Org;
|
|
555
|
-
/** Fetch public actions */
|
|
556
|
-
actions: PublicActionsResult;
|
|
557
|
-
targets: Maybe<Array<Maybe<Target>>>;
|
|
558
|
-
/** Campaign onwer collects opt-out actions for delivery even if campaign partner is */
|
|
559
|
-
forceDelivery: Scalars['Boolean'];
|
|
560
|
-
/** Action Pages of this campaign that are accessible to current user */
|
|
561
|
-
actionPages: Array<PrivateActionPage>;
|
|
562
|
-
/** List of partnerships and requests */
|
|
563
|
-
partnerships: Maybe<Array<Partnership>>;
|
|
564
|
-
/** MTT configuration */
|
|
565
|
-
mtt: Maybe<CampaignMtt>;
|
|
566
|
-
};
|
|
567
|
-
export declare type PrivateCampaignActionsArgs = {
|
|
568
|
-
actionType: Scalars['String'];
|
|
569
|
-
limit: Scalars['Int'];
|
|
570
|
-
};
|
|
571
|
-
export declare type PrivateOrg = Org & {
|
|
572
|
-
__typename?: 'PrivateOrg';
|
|
573
|
-
/** Organisation short name */
|
|
574
|
-
name: Scalars['String'];
|
|
575
|
-
/** Organisation title (human readable name) */
|
|
576
|
-
title: Scalars['String'];
|
|
577
|
-
/** config */
|
|
578
|
-
config: Scalars['Json'];
|
|
579
|
-
/** Organization id */
|
|
580
|
-
id: Scalars['Int'];
|
|
581
|
-
/** Personal data settings for this org */
|
|
582
|
-
personalData: PersonalData;
|
|
583
|
-
keys: Array<Key>;
|
|
584
|
-
key: Key;
|
|
585
|
-
services: Array<Maybe<Service>>;
|
|
586
|
-
users: Array<Maybe<OrgUser>>;
|
|
587
|
-
processing: Processing;
|
|
588
|
-
/** List campaigns this org is leader or partner of */
|
|
589
|
-
campaigns: Array<Campaign>;
|
|
590
|
-
/** List action pages this org has */
|
|
591
|
-
actionPages: Array<ActionPage>;
|
|
592
|
-
/** Action Page */
|
|
593
|
-
actionPage: ActionPage;
|
|
594
|
-
/** DEPRECATED: use campaign() in API root. Get campaign this org is leader or partner of by id */
|
|
595
|
-
campaign: Campaign;
|
|
596
|
-
};
|
|
597
|
-
export declare type PrivateOrgKeysArgs = {
|
|
598
|
-
select?: Maybe<SelectKey>;
|
|
599
|
-
};
|
|
600
|
-
export declare type PrivateOrgKeyArgs = {
|
|
601
|
-
select: SelectKey;
|
|
602
|
-
};
|
|
603
|
-
export declare type PrivateOrgServicesArgs = {
|
|
604
|
-
select?: Maybe<SelectService>;
|
|
605
|
-
};
|
|
606
|
-
export declare type PrivateOrgCampaignsArgs = {
|
|
607
|
-
select?: Maybe<SelectCampaign>;
|
|
608
|
-
};
|
|
609
|
-
export declare type PrivateOrgActionPagesArgs = {
|
|
610
|
-
select?: Maybe<SelectActionPage>;
|
|
611
|
-
};
|
|
612
|
-
export declare type PrivateOrgActionPageArgs = {
|
|
613
|
-
id?: Maybe<Scalars['Int']>;
|
|
614
|
-
name?: Maybe<Scalars['String']>;
|
|
615
|
-
};
|
|
616
|
-
export declare type PrivateOrgCampaignArgs = {
|
|
617
|
-
id: Scalars['Int'];
|
|
618
|
-
};
|
|
619
|
-
export declare type PrivateTarget = Target & {
|
|
620
|
-
__typename?: 'PrivateTarget';
|
|
621
|
-
id: Scalars['String'];
|
|
622
|
-
name: Scalars['String'];
|
|
623
|
-
externalId: Scalars['String'];
|
|
624
|
-
area: Maybe<Scalars['String']>;
|
|
625
|
-
fields: Maybe<Scalars['Json']>;
|
|
626
|
-
emails: Array<Maybe<TargetEmail>>;
|
|
627
|
-
};
|
|
628
|
-
export declare type Processing = {
|
|
629
|
-
__typename?: 'Processing';
|
|
630
|
-
emailFrom: Maybe<Scalars['String']>;
|
|
631
|
-
emailBackend: Maybe<ServiceName>;
|
|
632
|
-
supporterConfirm: Scalars['Boolean'];
|
|
633
|
-
supporterConfirmTemplate: Maybe<Scalars['String']>;
|
|
634
|
-
doiThankYou: Scalars['Boolean'];
|
|
635
|
-
customSupporterConfirm: Scalars['Boolean'];
|
|
636
|
-
customActionConfirm: Scalars['Boolean'];
|
|
637
|
-
customActionDeliver: Scalars['Boolean'];
|
|
638
|
-
sqsDeliver: Scalars['Boolean'];
|
|
639
|
-
eventBackend: Maybe<ServiceName>;
|
|
640
|
-
eventProcessing: Scalars['Boolean'];
|
|
641
|
-
emailTemplates: Maybe<Array<Scalars['String']>>;
|
|
642
|
-
};
|
|
643
|
-
export declare type PublicActionPage = ActionPage & {
|
|
644
|
-
__typename?: 'PublicActionPage';
|
|
645
|
-
id: Scalars['Int'];
|
|
646
|
-
/** Locale for the widget, in i18n format */
|
|
647
|
-
locale: Scalars['String'];
|
|
648
|
-
/** Name where the widget is hosted */
|
|
649
|
-
name: Scalars['String'];
|
|
650
|
-
/** Thank you email templated of this Action Page */
|
|
651
|
-
thankYouTemplate: Maybe<Scalars['String']>;
|
|
652
|
-
/** A reference to thank you email template of this ActionPage */
|
|
653
|
-
thankYouTemplateRef: Maybe<Scalars['String']>;
|
|
654
|
-
/** Is live? */
|
|
655
|
-
live: Scalars['Boolean'];
|
|
656
|
-
/** List of steps in journey (DEPRECATED: moved under config) */
|
|
657
|
-
journey: Array<Scalars['String']>;
|
|
658
|
-
/** Config JSON of this action page */
|
|
659
|
-
config: Scalars['Json'];
|
|
660
|
-
/** Campaign this action page belongs to. */
|
|
661
|
-
campaign: Campaign;
|
|
662
|
-
/** Org the action page belongs to */
|
|
663
|
-
org: Org;
|
|
664
|
-
};
|
|
665
|
-
/** Result of actions query */
|
|
666
|
-
export declare type PublicActionsResult = {
|
|
667
|
-
__typename?: 'PublicActionsResult';
|
|
668
|
-
fieldKeys: Maybe<Array<Scalars['String']>>;
|
|
669
|
-
list: Maybe<Array<Maybe<ActionCustomFields>>>;
|
|
670
|
-
};
|
|
671
|
-
export declare type PublicCampaign = Campaign & {
|
|
672
|
-
__typename?: 'PublicCampaign';
|
|
673
|
-
/** Campaign id */
|
|
674
|
-
id: Scalars['Int'];
|
|
675
|
-
/** External ID (if set) */
|
|
676
|
-
externalId: Maybe<Scalars['Int']>;
|
|
677
|
-
/** Internal name of the campaign */
|
|
678
|
-
name: Scalars['String'];
|
|
679
|
-
/** Full, official name of the campaign */
|
|
680
|
-
title: Scalars['String'];
|
|
681
|
-
/** Schema for contact personal information */
|
|
682
|
-
contactSchema: ContactSchema;
|
|
683
|
-
/** Custom config map */
|
|
684
|
-
config: Scalars['Json'];
|
|
685
|
-
/** Campaign statistics */
|
|
686
|
-
stats: CampaignStats;
|
|
687
|
-
org: Org;
|
|
688
|
-
/** Fetch public actions */
|
|
689
|
-
actions: PublicActionsResult;
|
|
690
|
-
targets: Maybe<Array<Maybe<Target>>>;
|
|
691
|
-
};
|
|
692
|
-
export declare type PublicCampaignActionsArgs = {
|
|
693
|
-
actionType: Scalars['String'];
|
|
694
|
-
limit: Scalars['Int'];
|
|
695
|
-
};
|
|
696
|
-
export declare type PublicOrg = Org & {
|
|
697
|
-
__typename?: 'PublicOrg';
|
|
698
|
-
/** Organisation short name */
|
|
699
|
-
name: Scalars['String'];
|
|
700
|
-
/** Organisation title (human readable name) */
|
|
701
|
-
title: Scalars['String'];
|
|
702
|
-
/** config */
|
|
703
|
-
config: Scalars['Json'];
|
|
704
|
-
};
|
|
705
|
-
export declare type PublicTarget = Target & {
|
|
706
|
-
__typename?: 'PublicTarget';
|
|
707
|
-
id: Scalars['String'];
|
|
708
|
-
name: Scalars['String'];
|
|
709
|
-
externalId: Scalars['String'];
|
|
710
|
-
area: Maybe<Scalars['String']>;
|
|
711
|
-
fields: Maybe<Scalars['Json']>;
|
|
712
|
-
};
|
|
713
|
-
export declare type RootMutationType = {
|
|
714
|
-
__typename?: 'RootMutationType';
|
|
715
|
-
/**
|
|
716
|
-
* Upserts a campaign.
|
|
717
|
-
*
|
|
718
|
-
* Creates or appends campaign and it's action pages. In case of append, it
|
|
719
|
-
* will change the campaign with the matching name, and action pages with
|
|
720
|
-
* matching names. It will create new action pages if you pass new names. No
|
|
721
|
-
* Action Pages will be removed (principle of not removing signature data).
|
|
722
|
-
*/
|
|
723
|
-
upsertCampaign: Campaign;
|
|
724
|
-
updateCampaign: Campaign;
|
|
725
|
-
addCampaign: Campaign;
|
|
726
|
-
deleteCampaign: Status;
|
|
727
|
-
/** Update an Action Page */
|
|
728
|
-
updateActionPage: ActionPage;
|
|
729
|
-
/**
|
|
730
|
-
* Adds a new Action Page based on another Action Page. Intended to be used to
|
|
731
|
-
* create a partner action page based off lead's one. Copies: campaign, locale, config, delivery flag
|
|
732
|
-
*/
|
|
733
|
-
copyActionPage: ActionPage;
|
|
734
|
-
/**
|
|
735
|
-
* Adds a new Action Page based on latest Action Page from campaign. Intended to be used to
|
|
736
|
-
* create a partner action page based off lead's one. Copies: campaign, locale, config, delivery flag
|
|
737
|
-
*/
|
|
738
|
-
copyCampaignActionPage: ActionPage;
|
|
739
|
-
addActionPage: ActionPage;
|
|
740
|
-
launchActionPage: LaunchActionPageResult;
|
|
741
|
-
deleteActionPage: Status;
|
|
742
|
-
/** Adds an action referencing contact data via contactRef */
|
|
743
|
-
addAction: ContactReference;
|
|
744
|
-
/** Adds an action with contact data */
|
|
745
|
-
addActionContact: ContactReference;
|
|
746
|
-
/** Link actions with refs to contact with contact reference */
|
|
747
|
-
linkActions: ContactReference;
|
|
748
|
-
/** Add user to org by email */
|
|
749
|
-
addOrgUser: ChangeUserStatus;
|
|
750
|
-
/** Invite an user to org by email (can be not yet user!) */
|
|
751
|
-
inviteOrgUser: Confirm;
|
|
752
|
-
updateOrgUser: ChangeUserStatus;
|
|
753
|
-
deleteOrgUser: Maybe<DeleteUserResult>;
|
|
754
|
-
/** Update (current) user details */
|
|
755
|
-
updateUser: User;
|
|
756
|
-
addOrg: Org;
|
|
757
|
-
deleteOrg: Status;
|
|
758
|
-
updateOrg: PrivateOrg;
|
|
759
|
-
/** Update org processing settings */
|
|
760
|
-
updateOrgProcessing: PrivateOrg;
|
|
761
|
-
joinOrg: JoinOrgResult;
|
|
762
|
-
generateKey: KeyWithPrivate;
|
|
763
|
-
addKey: Key;
|
|
764
|
-
/** A separate key activate operation, because you also need to add the key to receiving system before it is used */
|
|
765
|
-
activateKey: ActivateKeyResult;
|
|
766
|
-
upsertService: Service;
|
|
767
|
-
addStripePaymentIntent: Scalars['Json'];
|
|
768
|
-
addStripeSubscription: Scalars['Json'];
|
|
769
|
-
/**
|
|
770
|
-
* Create stripe object using Stripe key associated with action page owning org.
|
|
771
|
-
* Pass any of paymentIntent, subscription, customer, price json params to be sent as-is to Stripe API. The result is a JSON returned by Stripe API or a GraphQL Error object.
|
|
772
|
-
* If you provide customer along payment intent or subscription, it will be first created, then their id will be added to params for the payment intent or subscription, so you can pack 2 Stripe API calls into one. You can do the same with price object in case of a subscription.
|
|
773
|
-
*/
|
|
774
|
-
addStripeObject: Scalars['Json'];
|
|
775
|
-
/** Accept a confirm on behalf of organisation. */
|
|
776
|
-
acceptOrgConfirm: ConfirmResult;
|
|
777
|
-
/** Reject a confirm on behalf of organisation. */
|
|
778
|
-
rejectOrgConfirm: ConfirmResult;
|
|
779
|
-
/** Accept a confirm by user */
|
|
780
|
-
acceptUserConfirm: ConfirmResult;
|
|
781
|
-
/** Reject a confirm by user */
|
|
782
|
-
rejectUserConfirm: ConfirmResult;
|
|
783
|
-
upsertTargets: Array<Maybe<PrivateTarget>>;
|
|
784
|
-
};
|
|
785
|
-
export declare type RootMutationTypeUpsertCampaignArgs = {
|
|
786
|
-
orgName: Scalars['String'];
|
|
787
|
-
input: CampaignInput;
|
|
788
|
-
};
|
|
789
|
-
export declare type RootMutationTypeUpdateCampaignArgs = {
|
|
790
|
-
id?: Maybe<Scalars['Int']>;
|
|
791
|
-
name?: Maybe<Scalars['String']>;
|
|
792
|
-
externalId?: Maybe<Scalars['Int']>;
|
|
793
|
-
input: CampaignInput;
|
|
794
|
-
};
|
|
795
|
-
export declare type RootMutationTypeAddCampaignArgs = {
|
|
796
|
-
orgName: Scalars['String'];
|
|
797
|
-
input: CampaignInput;
|
|
798
|
-
};
|
|
799
|
-
export declare type RootMutationTypeDeleteCampaignArgs = {
|
|
800
|
-
id?: Maybe<Scalars['Int']>;
|
|
801
|
-
name?: Maybe<Scalars['String']>;
|
|
802
|
-
externalId?: Maybe<Scalars['Int']>;
|
|
803
|
-
};
|
|
804
|
-
export declare type RootMutationTypeUpdateActionPageArgs = {
|
|
805
|
-
id?: Maybe<Scalars['Int']>;
|
|
806
|
-
name?: Maybe<Scalars['String']>;
|
|
807
|
-
input: ActionPageInput;
|
|
808
|
-
};
|
|
809
|
-
export declare type RootMutationTypeCopyActionPageArgs = {
|
|
810
|
-
orgName: Scalars['String'];
|
|
811
|
-
name: Scalars['String'];
|
|
812
|
-
fromName: Scalars['String'];
|
|
813
|
-
};
|
|
814
|
-
export declare type RootMutationTypeCopyCampaignActionPageArgs = {
|
|
815
|
-
orgName: Scalars['String'];
|
|
816
|
-
name: Scalars['String'];
|
|
817
|
-
fromCampaignName: Scalars['String'];
|
|
818
|
-
};
|
|
819
|
-
export declare type RootMutationTypeAddActionPageArgs = {
|
|
820
|
-
orgName: Scalars['String'];
|
|
821
|
-
campaignName: Scalars['String'];
|
|
822
|
-
input: ActionPageInput;
|
|
823
|
-
};
|
|
824
|
-
export declare type RootMutationTypeLaunchActionPageArgs = {
|
|
825
|
-
name: Scalars['String'];
|
|
826
|
-
message?: Maybe<Scalars['String']>;
|
|
827
|
-
};
|
|
828
|
-
export declare type RootMutationTypeDeleteActionPageArgs = {
|
|
829
|
-
id?: Maybe<Scalars['Int']>;
|
|
830
|
-
name?: Maybe<Scalars['String']>;
|
|
831
|
-
};
|
|
832
|
-
export declare type RootMutationTypeAddActionArgs = {
|
|
833
|
-
actionPageId: Scalars['Int'];
|
|
834
|
-
action: ActionInput;
|
|
835
|
-
contactRef: Scalars['ID'];
|
|
836
|
-
tracking?: Maybe<TrackingInput>;
|
|
837
|
-
};
|
|
838
|
-
export declare type RootMutationTypeAddActionContactArgs = {
|
|
839
|
-
actionPageId: Scalars['Int'];
|
|
840
|
-
action: ActionInput;
|
|
841
|
-
contact: ContactInput;
|
|
842
|
-
privacy: ConsentInput;
|
|
843
|
-
tracking?: Maybe<TrackingInput>;
|
|
844
|
-
contactRef?: Maybe<Scalars['ID']>;
|
|
845
|
-
};
|
|
846
|
-
export declare type RootMutationTypeLinkActionsArgs = {
|
|
847
|
-
actionPageId: Scalars['Int'];
|
|
848
|
-
contactRef: Scalars['ID'];
|
|
849
|
-
linkRefs?: Maybe<Array<Scalars['String']>>;
|
|
850
|
-
};
|
|
851
|
-
export declare type RootMutationTypeAddOrgUserArgs = {
|
|
852
|
-
orgName: Scalars['String'];
|
|
853
|
-
input: OrgUserInput;
|
|
854
|
-
};
|
|
855
|
-
export declare type RootMutationTypeInviteOrgUserArgs = {
|
|
856
|
-
orgName: Scalars['String'];
|
|
857
|
-
input: OrgUserInput;
|
|
858
|
-
message?: Maybe<Scalars['String']>;
|
|
859
|
-
};
|
|
860
|
-
export declare type RootMutationTypeUpdateOrgUserArgs = {
|
|
861
|
-
orgName: Scalars['String'];
|
|
862
|
-
input: OrgUserInput;
|
|
863
|
-
};
|
|
864
|
-
export declare type RootMutationTypeDeleteOrgUserArgs = {
|
|
865
|
-
orgName: Scalars['String'];
|
|
866
|
-
email: Scalars['String'];
|
|
867
|
-
};
|
|
868
|
-
export declare type RootMutationTypeUpdateUserArgs = {
|
|
869
|
-
input: UserDetailsInput;
|
|
870
|
-
id?: Maybe<Scalars['Int']>;
|
|
871
|
-
email?: Maybe<Scalars['String']>;
|
|
872
|
-
};
|
|
873
|
-
export declare type RootMutationTypeAddOrgArgs = {
|
|
874
|
-
input: OrgInput;
|
|
875
|
-
};
|
|
876
|
-
export declare type RootMutationTypeDeleteOrgArgs = {
|
|
877
|
-
name: Scalars['String'];
|
|
878
|
-
};
|
|
879
|
-
export declare type RootMutationTypeUpdateOrgArgs = {
|
|
880
|
-
name: Scalars['String'];
|
|
881
|
-
input: OrgInput;
|
|
882
|
-
};
|
|
883
|
-
export declare type RootMutationTypeUpdateOrgProcessingArgs = {
|
|
884
|
-
name: Scalars['String'];
|
|
885
|
-
emailBackend?: Maybe<ServiceName>;
|
|
886
|
-
emailFrom?: Maybe<Scalars['String']>;
|
|
887
|
-
supporterConfirm?: Maybe<Scalars['Boolean']>;
|
|
888
|
-
supporterConfirmTemplate?: Maybe<Scalars['String']>;
|
|
889
|
-
doiThankYou?: Maybe<Scalars['Boolean']>;
|
|
890
|
-
customSupporterConfirm?: Maybe<Scalars['Boolean']>;
|
|
891
|
-
customActionConfirm?: Maybe<Scalars['Boolean']>;
|
|
892
|
-
customActionDeliver?: Maybe<Scalars['Boolean']>;
|
|
893
|
-
sqsDeliver?: Maybe<Scalars['Boolean']>;
|
|
894
|
-
eventBackend?: Maybe<ServiceName>;
|
|
895
|
-
eventProcessing?: Maybe<Scalars['Boolean']>;
|
|
896
|
-
};
|
|
897
|
-
export declare type RootMutationTypeJoinOrgArgs = {
|
|
898
|
-
name: Scalars['String'];
|
|
899
|
-
};
|
|
900
|
-
export declare type RootMutationTypeGenerateKeyArgs = {
|
|
901
|
-
orgName: Scalars['String'];
|
|
902
|
-
input: GenKeyInput;
|
|
903
|
-
};
|
|
904
|
-
export declare type RootMutationTypeAddKeyArgs = {
|
|
905
|
-
orgName: Scalars['String'];
|
|
906
|
-
input: AddKeyInput;
|
|
907
|
-
};
|
|
908
|
-
export declare type RootMutationTypeActivateKeyArgs = {
|
|
909
|
-
orgName: Scalars['String'];
|
|
910
|
-
id: Scalars['Int'];
|
|
911
|
-
};
|
|
912
|
-
export declare type RootMutationTypeUpsertServiceArgs = {
|
|
913
|
-
orgName: Scalars['String'];
|
|
914
|
-
id?: Maybe<Scalars['Int']>;
|
|
915
|
-
input: ServiceInput;
|
|
916
|
-
};
|
|
917
|
-
export declare type RootMutationTypeAddStripePaymentIntentArgs = {
|
|
918
|
-
actionPageId: Scalars['Int'];
|
|
919
|
-
input: StripePaymentIntentInput;
|
|
920
|
-
contactRef?: Maybe<Scalars['ID']>;
|
|
921
|
-
};
|
|
922
|
-
export declare type RootMutationTypeAddStripeSubscriptionArgs = {
|
|
923
|
-
actionPageId: Scalars['Int'];
|
|
924
|
-
input: StripeSubscriptionInput;
|
|
925
|
-
contactRef?: Maybe<Scalars['ID']>;
|
|
926
|
-
};
|
|
927
|
-
export declare type RootMutationTypeAddStripeObjectArgs = {
|
|
928
|
-
actionPageId: Scalars['Int'];
|
|
929
|
-
paymentIntent?: Maybe<Scalars['Json']>;
|
|
930
|
-
subscription?: Maybe<Scalars['Json']>;
|
|
931
|
-
customer?: Maybe<Scalars['Json']>;
|
|
932
|
-
price?: Maybe<Scalars['Json']>;
|
|
933
|
-
};
|
|
934
|
-
export declare type RootMutationTypeAcceptOrgConfirmArgs = {
|
|
935
|
-
name: Scalars['String'];
|
|
936
|
-
confirm: ConfirmInput;
|
|
937
|
-
};
|
|
938
|
-
export declare type RootMutationTypeRejectOrgConfirmArgs = {
|
|
939
|
-
name: Scalars['String'];
|
|
940
|
-
confirm: ConfirmInput;
|
|
941
|
-
};
|
|
942
|
-
export declare type RootMutationTypeAcceptUserConfirmArgs = {
|
|
943
|
-
confirm: ConfirmInput;
|
|
944
|
-
};
|
|
945
|
-
export declare type RootMutationTypeRejectUserConfirmArgs = {
|
|
946
|
-
confirm: ConfirmInput;
|
|
947
|
-
};
|
|
948
|
-
export declare type RootMutationTypeUpsertTargetsArgs = {
|
|
949
|
-
targets: Array<TargetInput>;
|
|
950
|
-
campaignId: Scalars['Int'];
|
|
951
|
-
replace?: Maybe<Scalars['Boolean']>;
|
|
952
|
-
};
|
|
953
|
-
export declare type RootQueryType = {
|
|
954
|
-
__typename?: 'RootQueryType';
|
|
955
|
-
/** Get a list of campains */
|
|
956
|
-
campaigns: Array<Campaign>;
|
|
957
|
-
/** Get campaign */
|
|
958
|
-
campaign: Maybe<Campaign>;
|
|
959
|
-
/** Get action page */
|
|
960
|
-
actionPage: ActionPage;
|
|
961
|
-
exportActions: Array<Maybe<Action>>;
|
|
962
|
-
currentUser: User;
|
|
963
|
-
/** Select users from this instnace. Requires a manage users admin permission. */
|
|
964
|
-
users: Array<User>;
|
|
965
|
-
/** Organization api (authenticated) */
|
|
966
|
-
org: PrivateOrg;
|
|
967
|
-
};
|
|
968
|
-
export declare type RootQueryTypeCampaignsArgs = {
|
|
969
|
-
title?: Maybe<Scalars['String']>;
|
|
970
|
-
name?: Maybe<Scalars['String']>;
|
|
971
|
-
id?: Maybe<Scalars['Int']>;
|
|
972
|
-
};
|
|
973
|
-
export declare type RootQueryTypeCampaignArgs = {
|
|
974
|
-
id?: Maybe<Scalars['Int']>;
|
|
975
|
-
name?: Maybe<Scalars['String']>;
|
|
976
|
-
externalId?: Maybe<Scalars['Int']>;
|
|
977
|
-
};
|
|
978
|
-
export declare type RootQueryTypeActionPageArgs = {
|
|
979
|
-
id?: Maybe<Scalars['Int']>;
|
|
980
|
-
name?: Maybe<Scalars['String']>;
|
|
981
|
-
url?: Maybe<Scalars['String']>;
|
|
982
|
-
};
|
|
983
|
-
export declare type RootQueryTypeExportActionsArgs = {
|
|
984
|
-
orgName: Scalars['String'];
|
|
985
|
-
campaignName?: Maybe<Scalars['String']>;
|
|
986
|
-
campaignId?: Maybe<Scalars['Int']>;
|
|
987
|
-
start?: Maybe<Scalars['Int']>;
|
|
988
|
-
after?: Maybe<Scalars['DateTime']>;
|
|
989
|
-
limit?: Maybe<Scalars['Int']>;
|
|
990
|
-
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
991
|
-
onlyDoubleOptIn?: Maybe<Scalars['Boolean']>;
|
|
992
|
-
includeTesting?: Maybe<Scalars['Boolean']>;
|
|
993
|
-
};
|
|
994
|
-
export declare type RootQueryTypeUsersArgs = {
|
|
995
|
-
select?: Maybe<SelectUser>;
|
|
996
|
-
};
|
|
997
|
-
export declare type RootQueryTypeOrgArgs = {
|
|
998
|
-
name: Scalars['String'];
|
|
999
|
-
};
|
|
1000
|
-
export declare type RootSubscriptionType = {
|
|
1001
|
-
__typename?: 'RootSubscriptionType';
|
|
1002
|
-
actionPageUpserted: ActionPage;
|
|
1003
|
-
};
|
|
1004
|
-
export declare type RootSubscriptionTypeActionPageUpsertedArgs = {
|
|
1005
|
-
orgName?: Maybe<Scalars['String']>;
|
|
1006
|
-
};
|
|
1007
|
-
export declare type SelectActionPage = {
|
|
1008
|
-
campaignId?: Maybe<Scalars['Int']>;
|
|
1009
|
-
};
|
|
1010
|
-
export declare type SelectCampaign = {
|
|
1011
|
-
titleLike?: Maybe<Scalars['String']>;
|
|
1012
|
-
orgName?: Maybe<Scalars['String']>;
|
|
1013
|
-
};
|
|
1014
|
-
export declare type SelectKey = {
|
|
1015
|
-
id?: Maybe<Scalars['Int']>;
|
|
1016
|
-
active?: Maybe<Scalars['Boolean']>;
|
|
1017
|
-
public?: Maybe<Scalars['String']>;
|
|
1018
|
-
};
|
|
1019
|
-
export declare type SelectService = {
|
|
1020
|
-
name?: Maybe<ServiceName>;
|
|
1021
|
-
};
|
|
1022
|
-
/** Criteria to filter users */
|
|
1023
|
-
export declare type SelectUser = {
|
|
1024
|
-
id?: Maybe<Scalars['Int']>;
|
|
1025
|
-
/** Use % as wildcard */
|
|
1026
|
-
email?: Maybe<Scalars['String']>;
|
|
1027
|
-
/** Exact org name */
|
|
1028
|
-
orgName?: Maybe<Scalars['String']>;
|
|
1029
|
-
};
|
|
1030
|
-
export declare type Service = {
|
|
1031
|
-
__typename?: 'Service';
|
|
1032
|
-
id: Scalars['Int'];
|
|
1033
|
-
name: ServiceName;
|
|
1034
|
-
host: Maybe<Scalars['String']>;
|
|
1035
|
-
user: Maybe<Scalars['String']>;
|
|
1036
|
-
path: Maybe<Scalars['String']>;
|
|
1037
|
-
};
|
|
1038
|
-
export declare type ServiceInput = {
|
|
1039
|
-
name: ServiceName;
|
|
1040
|
-
host?: Maybe<Scalars['String']>;
|
|
1041
|
-
user?: Maybe<Scalars['String']>;
|
|
1042
|
-
password?: Maybe<Scalars['String']>;
|
|
1043
|
-
path?: Maybe<Scalars['String']>;
|
|
1044
|
-
};
|
|
1045
|
-
export declare enum ServiceName {
|
|
1046
|
-
Ses = "SES",
|
|
1047
|
-
Sqs = "SQS",
|
|
1048
|
-
Mailjet = "MAILJET",
|
|
1049
|
-
Wordpress = "WORDPRESS",
|
|
1050
|
-
Stripe = "STRIPE",
|
|
1051
|
-
Webhook = "WEBHOOK"
|
|
1052
|
-
}
|
|
1053
|
-
export declare enum Status {
|
|
1054
|
-
/** Operation completed succesfully */
|
|
1055
|
-
Success = "SUCCESS",
|
|
1056
|
-
/** Operation awaiting confirmation */
|
|
1057
|
-
Confirming = "CONFIRMING",
|
|
1058
|
-
/** Operation had no effect (already done) */
|
|
1059
|
-
Noop = "NOOP"
|
|
1060
|
-
}
|
|
1061
|
-
export declare type StripePaymentIntentInput = {
|
|
1062
|
-
amount: Scalars['Int'];
|
|
1063
|
-
currency: Scalars['String'];
|
|
1064
|
-
paymentMethodTypes?: Maybe<Array<Scalars['String']>>;
|
|
1065
|
-
};
|
|
1066
|
-
export declare type StripeSubscriptionInput = {
|
|
1067
|
-
amount: Scalars['Int'];
|
|
1068
|
-
currency: Scalars['String'];
|
|
1069
|
-
frequencyUnit: DonationFrequencyUnit;
|
|
1070
|
-
};
|
|
1071
|
-
export declare type Target = {
|
|
1072
|
-
id: Scalars['String'];
|
|
1073
|
-
name: Scalars['String'];
|
|
1074
|
-
externalId: Scalars['String'];
|
|
1075
|
-
area: Maybe<Scalars['String']>;
|
|
1076
|
-
fields: Maybe<Scalars['Json']>;
|
|
1077
|
-
};
|
|
1078
|
-
export declare type TargetEmail = {
|
|
1079
|
-
__typename?: 'TargetEmail';
|
|
1080
|
-
email: Scalars['String'];
|
|
1081
|
-
emailStatus: EmailStatus;
|
|
1082
|
-
error: Maybe<Scalars['String']>;
|
|
1083
|
-
};
|
|
1084
|
-
export declare type TargetEmailInput = {
|
|
1085
|
-
email: Scalars['String'];
|
|
1086
|
-
};
|
|
1087
|
-
export declare type TargetInput = {
|
|
1088
|
-
name?: Maybe<Scalars['String']>;
|
|
1089
|
-
area?: Maybe<Scalars['String']>;
|
|
1090
|
-
externalId: Scalars['String'];
|
|
1091
|
-
fields?: Maybe<Scalars['Json']>;
|
|
1092
|
-
emails?: Maybe<Array<TargetEmailInput>>;
|
|
1093
|
-
};
|
|
1094
|
-
/** Tracking codes */
|
|
1095
|
-
export declare type Tracking = {
|
|
1096
|
-
__typename?: 'Tracking';
|
|
1097
|
-
source: Scalars['String'];
|
|
1098
|
-
medium: Scalars['String'];
|
|
1099
|
-
campaign: Scalars['String'];
|
|
1100
|
-
content: Scalars['String'];
|
|
1101
|
-
};
|
|
1102
|
-
/** Tracking codes */
|
|
1103
|
-
export declare type TrackingInput = {
|
|
1104
|
-
source: Scalars['String'];
|
|
1105
|
-
medium: Scalars['String'];
|
|
1106
|
-
campaign: Scalars['String'];
|
|
1107
|
-
content?: Maybe<Scalars['String']>;
|
|
1108
|
-
/** Action page location. Url from which action is added. Must contain schema, domain, (port), pathname */
|
|
1109
|
-
location?: Maybe<Scalars['String']>;
|
|
1110
|
-
};
|
|
1111
|
-
export declare type User = {
|
|
1112
|
-
__typename?: 'User';
|
|
1113
|
-
id: Scalars['Int'];
|
|
1114
|
-
email: Scalars['String'];
|
|
1115
|
-
phone: Maybe<Scalars['String']>;
|
|
1116
|
-
pictureUrl: Maybe<Scalars['String']>;
|
|
1117
|
-
jobTitle: Maybe<Scalars['String']>;
|
|
1118
|
-
isAdmin: Scalars['Boolean'];
|
|
1119
|
-
roles: Array<UserRole>;
|
|
1120
|
-
};
|
|
1121
|
-
export declare type UserDetailsInput = {
|
|
1122
|
-
pictureUrl?: Maybe<Scalars['String']>;
|
|
1123
|
-
jobTitle?: Maybe<Scalars['String']>;
|
|
1124
|
-
phone?: Maybe<Scalars['String']>;
|
|
1125
|
-
};
|
|
1126
|
-
export declare type UserRole = {
|
|
1127
|
-
__typename?: 'UserRole';
|
|
1128
|
-
org: Org;
|
|
1129
|
-
role: Scalars['String'];
|
|
1130
|
-
};
|
|
1131
|
-
export declare const CampaignFields: DocumentNode<CampaignFields, unknown>;
|
|
1132
|
-
export declare const CampaignPrivateFields: DocumentNode<CampaignPrivateFields, unknown>;
|
|
1133
|
-
export declare const CampaignAllStats: DocumentNode<CampaignAllStats, unknown>;
|
|
1134
|
-
export declare const OrgIds: DocumentNode<OrgIds, unknown>;
|
|
1135
|
-
export declare const ActionPageFields: DocumentNode<ActionPageFields, unknown>;
|
|
1136
|
-
export declare const CampaignPartnerships: DocumentNode<CampaignPartnerships, unknown>;
|
|
1137
|
-
export declare const CampaignOverview: DocumentNode<CampaignOverview, unknown>;
|
|
1138
|
-
export declare const CampaignIds: DocumentNode<CampaignIds, unknown>;
|
|
1139
|
-
export declare const ActionPageOwners: DocumentNode<ActionPageOwners, unknown>;
|
|
1140
|
-
export declare const CampaignExportIds: DocumentNode<CampaignExportIds, unknown>;
|
|
1141
|
-
export declare const ActionPageIds: DocumentNode<ActionPageIds, unknown>;
|
|
1142
|
-
export declare const ActionPagePrivateFields: DocumentNode<ActionPagePrivateFields, unknown>;
|
|
1143
|
-
export declare const OrgFields: DocumentNode<OrgFields, unknown>;
|
|
1144
|
-
export declare const OrgPrivateFields: DocumentNode<OrgPrivateFields, unknown>;
|
|
1145
|
-
export declare const KeyFields: DocumentNode<KeyFields, unknown>;
|
|
1146
|
-
export declare const ServiceFields: DocumentNode<ServiceFields, unknown>;
|
|
1147
|
-
export declare const ContactExport: DocumentNode<ContactExport, unknown>;
|
|
1148
|
-
export declare const ActionExport: DocumentNode<ActionExport, unknown>;
|
|
1149
|
-
export declare const GetCampaignDocument: DocumentNode<GetCampaign, Exact<{
|
|
1150
|
-
org: Scalars['String'];
|
|
1151
|
-
id: Scalars['Int'];
|
|
1152
|
-
}>>;
|
|
1153
|
-
export declare const FindPublicCampaignDocument: DocumentNode<FindPublicCampaign, Exact<{
|
|
1154
|
-
name?: Maybe<Scalars['String']>;
|
|
1155
|
-
title?: Maybe<Scalars['String']>;
|
|
1156
|
-
}>>;
|
|
1157
|
-
export declare const ListCampaignsDocument: DocumentNode<ListCampaigns, Exact<{
|
|
1158
|
-
org: Scalars['String'];
|
|
1159
|
-
}>>;
|
|
1160
|
-
export declare const ListActionPagesDocument: DocumentNode<ListActionPages, Exact<{
|
|
1161
|
-
org: Scalars['String'];
|
|
1162
|
-
}>>;
|
|
1163
|
-
export declare const GetActionPageDocument: DocumentNode<GetActionPage, Exact<{
|
|
1164
|
-
org: Scalars['String'];
|
|
1165
|
-
id?: Maybe<Scalars['Int']>;
|
|
1166
|
-
name?: Maybe<Scalars['String']>;
|
|
1167
|
-
}>>;
|
|
1168
|
-
export declare const GetPublicActionPageDocument: DocumentNode<GetPublicActionPage, Exact<{
|
|
1169
|
-
name?: Maybe<Scalars['String']>;
|
|
1170
|
-
id?: Maybe<Scalars['Int']>;
|
|
1171
|
-
}>>;
|
|
1172
|
-
export declare const ListActionPagesByCampaignDocument: DocumentNode<ListActionPagesByCampaign, Exact<{
|
|
1173
|
-
org: Scalars['String'];
|
|
1174
|
-
campaignId: Scalars['Int'];
|
|
1175
|
-
}>>;
|
|
1176
|
-
export declare const UpdateActionPageDocument: DocumentNode<UpdateActionPage, Exact<{
|
|
1177
|
-
id: Scalars['Int'];
|
|
1178
|
-
actionPage: ActionPageInput;
|
|
1179
|
-
}>>;
|
|
1180
|
-
export declare const PubListCampaignDocument: DocumentNode<PubListCampaign, Exact<{
|
|
1181
|
-
name: Scalars['String'];
|
|
1182
|
-
}>>;
|
|
1183
|
-
export declare const ExportCampaignActionsDocument: DocumentNode<ExportCampaignActions, Exact<{
|
|
1184
|
-
org: Scalars['String'];
|
|
1185
|
-
campaignId?: Maybe<Scalars['Int']>;
|
|
1186
|
-
campaignName?: Maybe<Scalars['String']>;
|
|
1187
|
-
start?: Maybe<Scalars['Int']>;
|
|
1188
|
-
after?: Maybe<Scalars['DateTime']>;
|
|
1189
|
-
limit?: Maybe<Scalars['Int']>;
|
|
1190
|
-
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1191
|
-
}>>;
|
|
1192
|
-
export declare const ExportOrgActionsDocument: DocumentNode<ExportOrgActions, Exact<{
|
|
1193
|
-
org: Scalars['String'];
|
|
1194
|
-
start?: Maybe<Scalars['Int']>;
|
|
1195
|
-
after?: Maybe<Scalars['DateTime']>;
|
|
1196
|
-
limit?: Maybe<Scalars['Int']>;
|
|
1197
|
-
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1198
|
-
}>>;
|
|
1199
|
-
export declare const CopyActionPageDocument: DocumentNode<CopyActionPage, Exact<{
|
|
1200
|
-
fromName: Scalars['String'];
|
|
1201
|
-
toOrg: Scalars['String'];
|
|
1202
|
-
toName: Scalars['String'];
|
|
1203
|
-
}>>;
|
|
1204
|
-
export declare const CopyCampaignActionPageDocument: DocumentNode<CopyCampaignActionPage, Exact<{
|
|
1205
|
-
fromCampaign: Scalars['String'];
|
|
1206
|
-
toOrg: Scalars['String'];
|
|
1207
|
-
toName: Scalars['String'];
|
|
1208
|
-
}>>;
|
|
1209
|
-
export declare const JoinOrgDocument: DocumentNode<JoinOrg, Exact<{
|
|
1210
|
-
orgName: Scalars['String'];
|
|
1211
|
-
}>>;
|
|
1212
|
-
export declare const UpsertCampaignDocument: DocumentNode<UpsertCampaign, Exact<{
|
|
1213
|
-
org: Scalars['String'];
|
|
1214
|
-
campaign: CampaignInput;
|
|
1215
|
-
}>>;
|
|
1216
|
-
export declare const ListKeysDocument: DocumentNode<ListKeys, Exact<{
|
|
1217
|
-
org: Scalars['String'];
|
|
1218
|
-
}>>;
|
|
1219
|
-
export declare const GenerateKeyDocument: DocumentNode<GenerateKey, Exact<{
|
|
1220
|
-
org: Scalars['String'];
|
|
1221
|
-
input: GenKeyInput;
|
|
1222
|
-
}>>;
|
|
1223
|
-
export declare const AddKeyDocument: DocumentNode<AddKey, Exact<{
|
|
1224
|
-
org: Scalars['String'];
|
|
1225
|
-
input: AddKeyInput;
|
|
1226
|
-
}>>;
|
|
1227
|
-
export declare const ActivateKeyDocument: DocumentNode<ActivateKey, Exact<{
|
|
1228
|
-
org: Scalars['String'];
|
|
1229
|
-
id: Scalars['Int'];
|
|
1230
|
-
}>>;
|
|
1231
|
-
export declare const AddOrgDocument: DocumentNode<AddOrg, Exact<{
|
|
1232
|
-
org: OrgInput;
|
|
1233
|
-
}>>;
|
|
1234
|
-
export declare const UpdateOrgDocument: DocumentNode<UpdateOrg, Exact<{
|
|
1235
|
-
orgName: Scalars['String'];
|
|
1236
|
-
org: OrgInput;
|
|
1237
|
-
}>>;
|
|
1238
|
-
export declare const ActionPageUpsertedDocument: DocumentNode<ActionPageUpserted, Exact<{
|
|
1239
|
-
org?: Maybe<Scalars['String']>;
|
|
1240
|
-
}>>;
|
|
1241
|
-
export declare const CurrentUserOrgsDocument: DocumentNode<CurrentUserOrgs, Exact<{
|
|
1242
|
-
[key: string]: never;
|
|
1243
|
-
}>>;
|
|
1244
|
-
export declare const DashOrgOverviewDocument: DocumentNode<DashOrgOverview, Exact<{
|
|
1245
|
-
org: Scalars['String'];
|
|
1246
|
-
}>>;
|
|
1247
|
-
export declare const GetOrgDocument: DocumentNode<GetOrg, Exact<{
|
|
1248
|
-
org: Scalars['String'];
|
|
1249
|
-
}>>;
|
|
1250
|
-
export declare const GetOrgAttrsDocument: DocumentNode<GetOrgAttrs, Exact<{
|
|
1251
|
-
org: Scalars['String'];
|
|
1252
|
-
}>>;
|
|
1253
|
-
export declare const LaunchActionPageDocument: DocumentNode<LaunchActionPage, Exact<{
|
|
1254
|
-
name: Scalars['String'];
|
|
1255
|
-
}>>;
|
|
1256
|
-
export declare const AcceptLaunchRequestDocument: DocumentNode<AcceptLaunchRequest, Exact<{
|
|
1257
|
-
org: Scalars['String'];
|
|
1258
|
-
confirm: ConfirmInput;
|
|
1259
|
-
}>>;
|
|
1260
|
-
export declare const RejectLaunchRequestDocument: DocumentNode<RejectLaunchRequest, Exact<{
|
|
1261
|
-
org: Scalars['String'];
|
|
1262
|
-
confirm: ConfirmInput;
|
|
1263
|
-
}>>;
|
|
1264
|
-
export declare const ActionPageExtraDocument: DocumentNode<ActionPageExtra, Exact<{
|
|
1265
|
-
id: Scalars['Int'];
|
|
1266
|
-
}>>;
|
|
1267
|
-
export declare const ActionPageSetExtraDocument: DocumentNode<ActionPageSetExtra, Exact<{
|
|
1268
|
-
id: Scalars['Int'];
|
|
1269
|
-
extra: Scalars['Int'];
|
|
1270
|
-
}>>;
|
|
1271
|
-
export declare type CampaignOverview = ({
|
|
1272
|
-
__typename?: 'PrivateCampaign';
|
|
1273
|
-
} & {
|
|
1274
|
-
org: ({
|
|
1275
|
-
__typename?: 'PrivateOrg';
|
|
1276
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1277
|
-
__typename?: 'PublicOrg';
|
|
1278
|
-
} & OrgIds_PublicOrg_);
|
|
1279
|
-
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields & CampaignAllStats_PrivateCampaign_ & CampaignPartnerships);
|
|
1280
|
-
export declare type GetCampaignVariables = Exact<{
|
|
1281
|
-
org: Scalars['String'];
|
|
1282
|
-
id: Scalars['Int'];
|
|
1283
|
-
}>;
|
|
1284
|
-
export declare type GetCampaign = ({
|
|
1285
|
-
__typename?: 'RootQueryType';
|
|
1286
|
-
} & {
|
|
1287
|
-
org: ({
|
|
1288
|
-
__typename?: 'PrivateOrg';
|
|
1289
|
-
} & {
|
|
1290
|
-
campaign: ({
|
|
1291
|
-
__typename?: 'PrivateCampaign';
|
|
1292
|
-
} & {
|
|
1293
|
-
org: ({
|
|
1294
|
-
__typename?: 'PrivateOrg';
|
|
1295
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1296
|
-
__typename?: 'PublicOrg';
|
|
1297
|
-
} & OrgIds_PublicOrg_);
|
|
1298
|
-
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields & CampaignAllStats_PrivateCampaign_ & CampaignPartnerships) | ({
|
|
1299
|
-
__typename?: 'PublicCampaign';
|
|
1300
|
-
} & {
|
|
1301
|
-
org: ({
|
|
1302
|
-
__typename?: 'PrivateOrg';
|
|
1303
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1304
|
-
__typename?: 'PublicOrg';
|
|
1305
|
-
} & OrgIds_PublicOrg_);
|
|
1306
|
-
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_);
|
|
1307
|
-
});
|
|
1308
|
-
});
|
|
1309
|
-
export declare type FindPublicCampaignVariables = Exact<{
|
|
1310
|
-
name?: Maybe<Scalars['String']>;
|
|
1311
|
-
title?: Maybe<Scalars['String']>;
|
|
1312
|
-
}>;
|
|
1313
|
-
export declare type FindPublicCampaign = ({
|
|
1314
|
-
__typename?: 'RootQueryType';
|
|
1315
|
-
} & {
|
|
1316
|
-
campaigns: Array<({
|
|
1317
|
-
__typename?: 'PrivateCampaign';
|
|
1318
|
-
} & {
|
|
1319
|
-
org: ({
|
|
1320
|
-
__typename?: 'PrivateOrg';
|
|
1321
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1322
|
-
__typename?: 'PublicOrg';
|
|
1323
|
-
} & OrgIds_PublicOrg_);
|
|
1324
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1325
|
-
__typename?: 'PublicCampaign';
|
|
1326
|
-
} & {
|
|
1327
|
-
org: ({
|
|
1328
|
-
__typename?: 'PrivateOrg';
|
|
1329
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1330
|
-
__typename?: 'PublicOrg';
|
|
1331
|
-
} & OrgIds_PublicOrg_);
|
|
1332
|
-
} & CampaignFields_PublicCampaign_)>;
|
|
1333
|
-
});
|
|
1334
|
-
export declare type ListCampaignsVariables = Exact<{
|
|
1335
|
-
org: Scalars['String'];
|
|
1336
|
-
}>;
|
|
1337
|
-
export declare type ListCampaigns = ({
|
|
1338
|
-
__typename?: 'RootQueryType';
|
|
1339
|
-
} & {
|
|
1340
|
-
org: ({
|
|
1341
|
-
__typename?: 'PrivateOrg';
|
|
1342
|
-
} & {
|
|
1343
|
-
campaigns: Array<({
|
|
1344
|
-
__typename?: 'PrivateCampaign';
|
|
1345
|
-
} & {
|
|
1346
|
-
org: ({
|
|
1347
|
-
__typename?: 'PrivateOrg';
|
|
1348
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1349
|
-
__typename?: 'PublicOrg';
|
|
1350
|
-
} & OrgIds_PublicOrg_);
|
|
1351
|
-
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields) | ({
|
|
1352
|
-
__typename?: 'PublicCampaign';
|
|
1353
|
-
} & {
|
|
1354
|
-
org: ({
|
|
1355
|
-
__typename?: 'PrivateOrg';
|
|
1356
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1357
|
-
__typename?: 'PublicOrg';
|
|
1358
|
-
} & OrgIds_PublicOrg_);
|
|
1359
|
-
} & CampaignFields_PublicCampaign_)>;
|
|
1360
|
-
});
|
|
1361
|
-
});
|
|
1362
|
-
declare type ActionPageOwners_PrivateActionPage_ = ({
|
|
1363
|
-
__typename?: 'PrivateActionPage';
|
|
1364
|
-
} & {
|
|
1365
|
-
campaign: ({
|
|
1366
|
-
__typename?: 'PrivateCampaign';
|
|
1367
|
-
} & {
|
|
1368
|
-
org: ({
|
|
1369
|
-
__typename?: 'PrivateOrg';
|
|
1370
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1371
|
-
__typename?: 'PublicOrg';
|
|
1372
|
-
} & OrgIds_PublicOrg_);
|
|
1373
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1374
|
-
__typename?: 'PublicCampaign';
|
|
1375
|
-
} & {
|
|
1376
|
-
org: ({
|
|
1377
|
-
__typename?: 'PrivateOrg';
|
|
1378
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1379
|
-
__typename?: 'PublicOrg';
|
|
1380
|
-
} & OrgIds_PublicOrg_);
|
|
1381
|
-
} & CampaignIds_PublicCampaign_);
|
|
1382
|
-
org: ({
|
|
1383
|
-
__typename?: 'PrivateOrg';
|
|
1384
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1385
|
-
__typename?: 'PublicOrg';
|
|
1386
|
-
} & OrgIds_PublicOrg_);
|
|
1387
|
-
} & ActionPageFields_PrivateActionPage_);
|
|
1388
|
-
declare type ActionPageOwners_PublicActionPage_ = ({
|
|
1389
|
-
__typename?: 'PublicActionPage';
|
|
1390
|
-
} & {
|
|
1391
|
-
campaign: ({
|
|
1392
|
-
__typename?: 'PrivateCampaign';
|
|
1393
|
-
} & {
|
|
1394
|
-
org: ({
|
|
1395
|
-
__typename?: 'PrivateOrg';
|
|
1396
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1397
|
-
__typename?: 'PublicOrg';
|
|
1398
|
-
} & OrgIds_PublicOrg_);
|
|
1399
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1400
|
-
__typename?: 'PublicCampaign';
|
|
1401
|
-
} & {
|
|
1402
|
-
org: ({
|
|
1403
|
-
__typename?: 'PrivateOrg';
|
|
1404
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1405
|
-
__typename?: 'PublicOrg';
|
|
1406
|
-
} & OrgIds_PublicOrg_);
|
|
1407
|
-
} & CampaignIds_PublicCampaign_);
|
|
1408
|
-
org: ({
|
|
1409
|
-
__typename?: 'PrivateOrg';
|
|
1410
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1411
|
-
__typename?: 'PublicOrg';
|
|
1412
|
-
} & OrgIds_PublicOrg_);
|
|
1413
|
-
} & ActionPageFields_PublicActionPage_);
|
|
1414
|
-
export declare type ActionPageOwners = ActionPageOwners_PrivateActionPage_ | ActionPageOwners_PublicActionPage_;
|
|
1415
|
-
export declare type ListActionPagesVariables = Exact<{
|
|
1416
|
-
org: Scalars['String'];
|
|
1417
|
-
}>;
|
|
1418
|
-
export declare type ListActionPages = ({
|
|
1419
|
-
__typename?: 'RootQueryType';
|
|
1420
|
-
} & {
|
|
1421
|
-
org: ({
|
|
1422
|
-
__typename?: 'PrivateOrg';
|
|
1423
|
-
} & {
|
|
1424
|
-
actionPages: Array<({
|
|
1425
|
-
__typename?: 'PrivateActionPage';
|
|
1426
|
-
} & ActionPageOwners_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1427
|
-
__typename?: 'PublicActionPage';
|
|
1428
|
-
} & ActionPageOwners_PublicActionPage_)>;
|
|
1429
|
-
});
|
|
1430
|
-
});
|
|
1431
|
-
export declare type GetActionPageVariables = Exact<{
|
|
1432
|
-
org: Scalars['String'];
|
|
1433
|
-
id?: Maybe<Scalars['Int']>;
|
|
1434
|
-
name?: Maybe<Scalars['String']>;
|
|
1435
|
-
}>;
|
|
1436
|
-
export declare type GetActionPage = ({
|
|
1437
|
-
__typename?: 'RootQueryType';
|
|
1438
|
-
} & {
|
|
1439
|
-
org: ({
|
|
1440
|
-
__typename?: 'PrivateOrg';
|
|
1441
|
-
} & Pick<PrivateOrg, 'name' | 'title'> & {
|
|
1442
|
-
actionPage: ({
|
|
1443
|
-
__typename?: 'PrivateActionPage';
|
|
1444
|
-
} & {
|
|
1445
|
-
campaign: ({
|
|
1446
|
-
__typename?: 'PrivateCampaign';
|
|
1447
|
-
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields) | ({
|
|
1448
|
-
__typename?: 'PublicCampaign';
|
|
1449
|
-
} & CampaignFields_PublicCampaign_);
|
|
1450
|
-
} & ActionPageOwners_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1451
|
-
__typename?: 'PublicActionPage';
|
|
1452
|
-
} & {
|
|
1453
|
-
campaign: ({
|
|
1454
|
-
__typename?: 'PrivateCampaign';
|
|
1455
|
-
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields) | ({
|
|
1456
|
-
__typename?: 'PublicCampaign';
|
|
1457
|
-
} & CampaignFields_PublicCampaign_);
|
|
1458
|
-
} & ActionPageOwners_PublicActionPage_);
|
|
1459
|
-
});
|
|
1460
|
-
});
|
|
1461
|
-
export declare type GetPublicActionPageVariables = Exact<{
|
|
1462
|
-
name?: Maybe<Scalars['String']>;
|
|
1463
|
-
id?: Maybe<Scalars['Int']>;
|
|
1464
|
-
}>;
|
|
1465
|
-
export declare type GetPublicActionPage = ({
|
|
1466
|
-
__typename?: 'RootQueryType';
|
|
1467
|
-
} & {
|
|
1468
|
-
actionPage: ({
|
|
1469
|
-
__typename?: 'PrivateActionPage';
|
|
1470
|
-
} & ActionPageOwners_PrivateActionPage_) | ({
|
|
1471
|
-
__typename?: 'PublicActionPage';
|
|
1472
|
-
} & ActionPageOwners_PublicActionPage_);
|
|
1473
|
-
});
|
|
1474
|
-
export declare type ListActionPagesByCampaignVariables = Exact<{
|
|
1475
|
-
org: Scalars['String'];
|
|
1476
|
-
campaignId: Scalars['Int'];
|
|
1477
|
-
}>;
|
|
1478
|
-
export declare type ListActionPagesByCampaign = ({
|
|
1479
|
-
__typename?: 'RootQueryType';
|
|
1480
|
-
} & {
|
|
1481
|
-
org: ({
|
|
1482
|
-
__typename?: 'PrivateOrg';
|
|
1483
|
-
} & Pick<PrivateOrg, 'name' | 'title'> & {
|
|
1484
|
-
actionPages: Array<({
|
|
1485
|
-
__typename?: 'PrivateActionPage';
|
|
1486
|
-
} & {
|
|
1487
|
-
campaign: ({
|
|
1488
|
-
__typename?: 'PrivateCampaign';
|
|
1489
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1490
|
-
__typename?: 'PublicCampaign';
|
|
1491
|
-
} & CampaignFields_PublicCampaign_);
|
|
1492
|
-
} & ActionPageFields_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1493
|
-
__typename?: 'PublicActionPage';
|
|
1494
|
-
} & {
|
|
1495
|
-
campaign: ({
|
|
1496
|
-
__typename?: 'PrivateCampaign';
|
|
1497
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1498
|
-
__typename?: 'PublicCampaign';
|
|
1499
|
-
} & CampaignFields_PublicCampaign_);
|
|
1500
|
-
} & ActionPageFields_PublicActionPage_)>;
|
|
1501
|
-
});
|
|
1502
|
-
});
|
|
1503
|
-
export declare type UpdateActionPageVariables = Exact<{
|
|
1504
|
-
id: Scalars['Int'];
|
|
1505
|
-
actionPage: ActionPageInput;
|
|
1506
|
-
}>;
|
|
1507
|
-
export declare type UpdateActionPage = ({
|
|
1508
|
-
__typename?: 'RootMutationType';
|
|
1509
|
-
} & {
|
|
1510
|
-
updateActionPage: ({
|
|
1511
|
-
__typename?: 'PrivateActionPage';
|
|
1512
|
-
} & Pick<PrivateActionPage, 'id'>) | ({
|
|
1513
|
-
__typename?: 'PublicActionPage';
|
|
1514
|
-
} & Pick<PublicActionPage, 'id'>);
|
|
1515
|
-
});
|
|
1516
|
-
export declare type PubListCampaignVariables = Exact<{
|
|
1517
|
-
name: Scalars['String'];
|
|
1518
|
-
}>;
|
|
1519
|
-
export declare type PubListCampaign = ({
|
|
1520
|
-
__typename?: 'RootQueryType';
|
|
1521
|
-
} & {
|
|
1522
|
-
campaigns: Array<({
|
|
1523
|
-
__typename?: 'PrivateCampaign';
|
|
1524
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1525
|
-
__typename?: 'PublicCampaign';
|
|
1526
|
-
} & CampaignFields_PublicCampaign_)>;
|
|
1527
|
-
});
|
|
1528
|
-
export declare type ExportCampaignActionsVariables = Exact<{
|
|
1529
|
-
org: Scalars['String'];
|
|
1530
|
-
campaignId?: Maybe<Scalars['Int']>;
|
|
1531
|
-
campaignName?: Maybe<Scalars['String']>;
|
|
1532
|
-
start?: Maybe<Scalars['Int']>;
|
|
1533
|
-
after?: Maybe<Scalars['DateTime']>;
|
|
1534
|
-
limit?: Maybe<Scalars['Int']>;
|
|
1535
|
-
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1536
|
-
}>;
|
|
1537
|
-
export declare type ExportCampaignActions = ({
|
|
1538
|
-
__typename?: 'RootQueryType';
|
|
1539
|
-
} & {
|
|
1540
|
-
org: ({
|
|
1541
|
-
__typename?: 'PrivateOrg';
|
|
1542
|
-
} & {
|
|
1543
|
-
campaigns: Array<({
|
|
1544
|
-
__typename?: 'PrivateCampaign';
|
|
1545
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1546
|
-
__typename?: 'PublicCampaign';
|
|
1547
|
-
} & CampaignIds_PublicCampaign_)>;
|
|
1548
|
-
actionPages: Array<({
|
|
1549
|
-
__typename?: 'PrivateActionPage';
|
|
1550
|
-
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale' | 'thankYouTemplateRef'>) | ({
|
|
1551
|
-
__typename?: 'PublicActionPage';
|
|
1552
|
-
} & Pick<PublicActionPage, 'id' | 'name' | 'locale' | 'thankYouTemplateRef'>)>;
|
|
1553
|
-
});
|
|
1554
|
-
exportActions: Array<Maybe<({
|
|
1555
|
-
__typename?: 'Action';
|
|
1556
|
-
} & {
|
|
1557
|
-
actionPage: ({
|
|
1558
|
-
__typename?: 'PrivateActionPage';
|
|
1559
|
-
} & ActionPageIds_PrivateActionPage_) | ({
|
|
1560
|
-
__typename?: 'PublicActionPage';
|
|
1561
|
-
} & ActionPageIds_PublicActionPage_);
|
|
1562
|
-
} & ActionExport)>>;
|
|
1563
|
-
});
|
|
1564
|
-
export declare type ExportOrgActionsVariables = Exact<{
|
|
1565
|
-
org: Scalars['String'];
|
|
1566
|
-
start?: Maybe<Scalars['Int']>;
|
|
1567
|
-
after?: Maybe<Scalars['DateTime']>;
|
|
1568
|
-
limit?: Maybe<Scalars['Int']>;
|
|
1569
|
-
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1570
|
-
}>;
|
|
1571
|
-
export declare type ExportOrgActions = ({
|
|
1572
|
-
__typename?: 'RootQueryType';
|
|
1573
|
-
} & {
|
|
1574
|
-
org: ({
|
|
1575
|
-
__typename?: 'PrivateOrg';
|
|
1576
|
-
} & {
|
|
1577
|
-
campaigns: Array<({
|
|
1578
|
-
__typename?: 'PrivateCampaign';
|
|
1579
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1580
|
-
__typename?: 'PublicCampaign';
|
|
1581
|
-
} & CampaignIds_PublicCampaign_)>;
|
|
1582
|
-
actionPages: Array<({
|
|
1583
|
-
__typename?: 'PrivateActionPage';
|
|
1584
|
-
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale' | 'thankYouTemplateRef'>) | ({
|
|
1585
|
-
__typename?: 'PublicActionPage';
|
|
1586
|
-
} & Pick<PublicActionPage, 'id' | 'name' | 'locale' | 'thankYouTemplateRef'>)>;
|
|
1587
|
-
});
|
|
1588
|
-
exportActions: Array<Maybe<({
|
|
1589
|
-
__typename?: 'Action';
|
|
1590
|
-
} & {
|
|
1591
|
-
actionPage: ({
|
|
1592
|
-
__typename?: 'PrivateActionPage';
|
|
1593
|
-
} & ActionPageIds_PrivateActionPage_) | ({
|
|
1594
|
-
__typename?: 'PublicActionPage';
|
|
1595
|
-
} & ActionPageIds_PublicActionPage_);
|
|
1596
|
-
campaign: ({
|
|
1597
|
-
__typename?: 'PrivateCampaign';
|
|
1598
|
-
} & CampaignExportIds_PrivateCampaign_) | ({
|
|
1599
|
-
__typename?: 'PublicCampaign';
|
|
1600
|
-
} & CampaignExportIds_PublicCampaign_);
|
|
1601
|
-
} & ActionExport)>>;
|
|
1602
|
-
});
|
|
1603
|
-
export declare type CopyActionPageVariables = Exact<{
|
|
1604
|
-
fromName: Scalars['String'];
|
|
1605
|
-
toOrg: Scalars['String'];
|
|
1606
|
-
toName: Scalars['String'];
|
|
1607
|
-
}>;
|
|
1608
|
-
export declare type CopyActionPage = ({
|
|
1609
|
-
__typename?: 'RootMutationType';
|
|
1610
|
-
} & {
|
|
1611
|
-
copyActionPage: ({
|
|
1612
|
-
__typename?: 'PrivateActionPage';
|
|
1613
|
-
} & {
|
|
1614
|
-
campaign: ({
|
|
1615
|
-
__typename?: 'PrivateCampaign';
|
|
1616
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1617
|
-
__typename?: 'PublicCampaign';
|
|
1618
|
-
} & CampaignFields_PublicCampaign_);
|
|
1619
|
-
} & ActionPageFields_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1620
|
-
__typename?: 'PublicActionPage';
|
|
1621
|
-
} & {
|
|
1622
|
-
campaign: ({
|
|
1623
|
-
__typename?: 'PrivateCampaign';
|
|
1624
|
-
} & CampaignFields_PrivateCampaign_) | ({
|
|
1625
|
-
__typename?: 'PublicCampaign';
|
|
1626
|
-
} & CampaignFields_PublicCampaign_);
|
|
1627
|
-
} & ActionPageFields_PublicActionPage_);
|
|
1628
|
-
});
|
|
1629
|
-
export declare type CopyCampaignActionPageVariables = Exact<{
|
|
1630
|
-
fromCampaign: Scalars['String'];
|
|
1631
|
-
toOrg: Scalars['String'];
|
|
1632
|
-
toName: Scalars['String'];
|
|
1633
|
-
}>;
|
|
1634
|
-
export declare type CopyCampaignActionPage = ({
|
|
1635
|
-
__typename?: 'RootMutationType';
|
|
1636
|
-
} & {
|
|
1637
|
-
copyCampaignActionPage: ({
|
|
1638
|
-
__typename?: 'PrivateActionPage';
|
|
1639
|
-
} & {
|
|
1640
|
-
campaign: ({
|
|
1641
|
-
__typename?: 'PrivateCampaign';
|
|
1642
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1643
|
-
__typename?: 'PublicCampaign';
|
|
1644
|
-
} & CampaignIds_PublicCampaign_);
|
|
1645
|
-
} & ActionPageFields_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1646
|
-
__typename?: 'PublicActionPage';
|
|
1647
|
-
} & {
|
|
1648
|
-
campaign: ({
|
|
1649
|
-
__typename?: 'PrivateCampaign';
|
|
1650
|
-
} & CampaignIds_PrivateCampaign_) | ({
|
|
1651
|
-
__typename?: 'PublicCampaign';
|
|
1652
|
-
} & CampaignIds_PublicCampaign_);
|
|
1653
|
-
} & ActionPageFields_PublicActionPage_);
|
|
1654
|
-
});
|
|
1655
|
-
export declare type JoinOrgVariables = Exact<{
|
|
1656
|
-
orgName: Scalars['String'];
|
|
1657
|
-
}>;
|
|
1658
|
-
export declare type JoinOrg = ({
|
|
1659
|
-
__typename?: 'RootMutationType';
|
|
1660
|
-
} & {
|
|
1661
|
-
joinOrg: ({
|
|
1662
|
-
__typename?: 'JoinOrgResult';
|
|
1663
|
-
} & Pick<JoinOrgResult, 'status'>);
|
|
1664
|
-
});
|
|
1665
|
-
export declare type UpsertCampaignVariables = Exact<{
|
|
1666
|
-
org: Scalars['String'];
|
|
1667
|
-
campaign: CampaignInput;
|
|
1668
|
-
}>;
|
|
1669
|
-
export declare type UpsertCampaign = ({
|
|
1670
|
-
__typename?: 'RootMutationType';
|
|
1671
|
-
} & {
|
|
1672
|
-
upsertCampaign: ({
|
|
1673
|
-
__typename?: 'PrivateCampaign';
|
|
1674
|
-
} & Pick<PrivateCampaign, 'id'>) | ({
|
|
1675
|
-
__typename?: 'PublicCampaign';
|
|
1676
|
-
} & Pick<PublicCampaign, 'id'>);
|
|
1677
|
-
});
|
|
1678
|
-
export declare type ListKeysVariables = Exact<{
|
|
1679
|
-
org: Scalars['String'];
|
|
1680
|
-
}>;
|
|
1681
|
-
export declare type ListKeys = ({
|
|
1682
|
-
__typename?: 'RootQueryType';
|
|
1683
|
-
} & {
|
|
1684
|
-
org: ({
|
|
1685
|
-
__typename?: 'PrivateOrg';
|
|
1686
|
-
} & {
|
|
1687
|
-
keys: Array<({
|
|
1688
|
-
__typename?: 'Key';
|
|
1689
|
-
} & KeyFields)>;
|
|
1690
|
-
});
|
|
1691
|
-
});
|
|
1692
|
-
export declare type GenerateKeyVariables = Exact<{
|
|
1693
|
-
org: Scalars['String'];
|
|
1694
|
-
input: GenKeyInput;
|
|
1695
|
-
}>;
|
|
1696
|
-
export declare type GenerateKey = ({
|
|
1697
|
-
__typename?: 'RootMutationType';
|
|
1698
|
-
} & {
|
|
1699
|
-
generateKey: ({
|
|
1700
|
-
__typename?: 'KeyWithPrivate';
|
|
1701
|
-
} & Pick<KeyWithPrivate, 'id' | 'name' | 'public' | 'private' | 'active' | 'expired' | 'expiredAt'>);
|
|
1702
|
-
});
|
|
1703
|
-
export declare type AddKeyVariables = Exact<{
|
|
1704
|
-
org: Scalars['String'];
|
|
1705
|
-
input: AddKeyInput;
|
|
1706
|
-
}>;
|
|
1707
|
-
export declare type AddKey = ({
|
|
1708
|
-
__typename?: 'RootMutationType';
|
|
1709
|
-
} & {
|
|
1710
|
-
addKey: ({
|
|
1711
|
-
__typename?: 'Key';
|
|
1712
|
-
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
1713
|
-
});
|
|
1714
|
-
export declare type ActivateKeyVariables = Exact<{
|
|
1715
|
-
org: Scalars['String'];
|
|
1716
|
-
id: Scalars['Int'];
|
|
1717
|
-
}>;
|
|
1718
|
-
export declare type ActivateKey = ({
|
|
1719
|
-
__typename?: 'RootMutationType';
|
|
1720
|
-
} & {
|
|
1721
|
-
activateKey: ({
|
|
1722
|
-
__typename?: 'ActivateKeyResult';
|
|
1723
|
-
} & Pick<ActivateKeyResult, 'status'>);
|
|
1724
|
-
});
|
|
1725
|
-
export declare type AddOrgVariables = Exact<{
|
|
1726
|
-
org: OrgInput;
|
|
1727
|
-
}>;
|
|
1728
|
-
export declare type AddOrg = ({
|
|
1729
|
-
__typename?: 'RootMutationType';
|
|
1730
|
-
} & {
|
|
1731
|
-
addOrg: ({
|
|
1732
|
-
__typename?: 'PrivateOrg';
|
|
1733
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1734
|
-
__typename?: 'PublicOrg';
|
|
1735
|
-
} & OrgIds_PublicOrg_);
|
|
1736
|
-
});
|
|
1737
|
-
export declare type UpdateOrgVariables = Exact<{
|
|
1738
|
-
orgName: Scalars['String'];
|
|
1739
|
-
org: OrgInput;
|
|
1740
|
-
}>;
|
|
1741
|
-
export declare type UpdateOrg = ({
|
|
1742
|
-
__typename?: 'RootMutationType';
|
|
1743
|
-
} & {
|
|
1744
|
-
updateOrg: ({
|
|
1745
|
-
__typename?: 'PrivateOrg';
|
|
1746
|
-
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1747
|
-
});
|
|
1748
|
-
export declare type ActionPageUpsertedVariables = Exact<{
|
|
1749
|
-
org?: Maybe<Scalars['String']>;
|
|
1750
|
-
}>;
|
|
1751
|
-
export declare type ActionPageUpserted = ({
|
|
1752
|
-
__typename?: 'RootSubscriptionType';
|
|
1753
|
-
} & {
|
|
1754
|
-
actionPageUpserted: ({
|
|
1755
|
-
__typename?: 'PrivateActionPage';
|
|
1756
|
-
} & ActionPageOwners_PrivateActionPage_ & ActionPagePrivateFields) | ({
|
|
1757
|
-
__typename?: 'PublicActionPage';
|
|
1758
|
-
} & ActionPageOwners_PublicActionPage_);
|
|
1759
|
-
});
|
|
1760
|
-
export declare type CurrentUserOrgsVariables = Exact<{
|
|
1761
|
-
[key: string]: never;
|
|
1762
|
-
}>;
|
|
1763
|
-
export declare type CurrentUserOrgs = ({
|
|
1764
|
-
__typename?: 'RootQueryType';
|
|
1765
|
-
} & {
|
|
1766
|
-
currentUser: ({
|
|
1767
|
-
__typename?: 'User';
|
|
1768
|
-
} & Pick<User, 'id' | 'email'> & {
|
|
1769
|
-
roles: Array<({
|
|
1770
|
-
__typename?: 'UserRole';
|
|
1771
|
-
} & Pick<UserRole, 'role'> & {
|
|
1772
|
-
org: ({
|
|
1773
|
-
__typename?: 'PrivateOrg';
|
|
1774
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1775
|
-
__typename?: 'PublicOrg';
|
|
1776
|
-
} & OrgIds_PublicOrg_);
|
|
1777
|
-
})>;
|
|
1778
|
-
});
|
|
1779
|
-
});
|
|
1780
|
-
export declare type DashOrgOverviewVariables = Exact<{
|
|
1781
|
-
org: Scalars['String'];
|
|
1782
|
-
}>;
|
|
1783
|
-
export declare type DashOrgOverview = ({
|
|
1784
|
-
__typename?: 'RootQueryType';
|
|
1785
|
-
} & {
|
|
1786
|
-
org: ({
|
|
1787
|
-
__typename?: 'PrivateOrg';
|
|
1788
|
-
} & Pick<PrivateOrg, 'name' | 'title'> & {
|
|
1789
|
-
campaigns: Array<({
|
|
1790
|
-
__typename?: 'PrivateCampaign';
|
|
1791
|
-
} & {
|
|
1792
|
-
org: ({
|
|
1793
|
-
__typename?: 'PrivateOrg';
|
|
1794
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1795
|
-
__typename?: 'PublicOrg';
|
|
1796
|
-
} & OrgIds_PublicOrg_);
|
|
1797
|
-
} & CampaignFields_PrivateCampaign_ & CampaignAllStats_PrivateCampaign_) | ({
|
|
1798
|
-
__typename?: 'PublicCampaign';
|
|
1799
|
-
} & {
|
|
1800
|
-
org: ({
|
|
1801
|
-
__typename?: 'PrivateOrg';
|
|
1802
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1803
|
-
__typename?: 'PublicOrg';
|
|
1804
|
-
} & OrgIds_PublicOrg_);
|
|
1805
|
-
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_)>;
|
|
1806
|
-
} & OrgPrivateFields);
|
|
1807
|
-
});
|
|
1808
|
-
export declare type GetOrgVariables = Exact<{
|
|
1809
|
-
org: Scalars['String'];
|
|
1810
|
-
}>;
|
|
1811
|
-
export declare type GetOrg = ({
|
|
1812
|
-
__typename?: 'RootQueryType';
|
|
1813
|
-
} & {
|
|
1814
|
-
org: ({
|
|
1815
|
-
__typename?: 'PrivateOrg';
|
|
1816
|
-
} & {
|
|
1817
|
-
keys: Array<({
|
|
1818
|
-
__typename?: 'Key';
|
|
1819
|
-
} & KeyFields)>;
|
|
1820
|
-
services: Array<Maybe<({
|
|
1821
|
-
__typename?: 'Service';
|
|
1822
|
-
} & ServiceFields)>>;
|
|
1823
|
-
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1824
|
-
});
|
|
1825
|
-
export declare type GetOrgAttrsVariables = Exact<{
|
|
1826
|
-
org: Scalars['String'];
|
|
1827
|
-
}>;
|
|
1828
|
-
export declare type GetOrgAttrs = ({
|
|
1829
|
-
__typename?: 'RootQueryType';
|
|
1830
|
-
} & {
|
|
1831
|
-
org: ({
|
|
1832
|
-
__typename?: 'PrivateOrg';
|
|
1833
|
-
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1834
|
-
});
|
|
1835
|
-
export declare type LaunchActionPageVariables = Exact<{
|
|
1836
|
-
name: Scalars['String'];
|
|
1837
|
-
}>;
|
|
1838
|
-
export declare type LaunchActionPage = ({
|
|
1839
|
-
__typename?: 'RootMutationType';
|
|
1840
|
-
} & {
|
|
1841
|
-
launchActionPage: ({
|
|
1842
|
-
__typename?: 'LaunchActionPageResult';
|
|
1843
|
-
} & Pick<LaunchActionPageResult, 'status'>);
|
|
1844
|
-
});
|
|
1845
|
-
export declare type AcceptLaunchRequestVariables = Exact<{
|
|
1846
|
-
org: Scalars['String'];
|
|
1847
|
-
confirm: ConfirmInput;
|
|
1848
|
-
}>;
|
|
1849
|
-
export declare type AcceptLaunchRequest = ({
|
|
1850
|
-
__typename?: 'RootMutationType';
|
|
1851
|
-
} & {
|
|
1852
|
-
acceptOrgConfirm: ({
|
|
1853
|
-
__typename?: 'ConfirmResult';
|
|
1854
|
-
} & Pick<ConfirmResult, 'status'> & {
|
|
1855
|
-
actionPage: Maybe<({
|
|
1856
|
-
__typename?: 'PrivateActionPage';
|
|
1857
|
-
} & ActionPageFields_PrivateActionPage_) | ({
|
|
1858
|
-
__typename?: 'PublicActionPage';
|
|
1859
|
-
} & ActionPageFields_PublicActionPage_)>;
|
|
1860
|
-
});
|
|
1861
|
-
});
|
|
1862
|
-
export declare type RejectLaunchRequestVariables = Exact<{
|
|
1863
|
-
org: Scalars['String'];
|
|
1864
|
-
confirm: ConfirmInput;
|
|
1865
|
-
}>;
|
|
1866
|
-
export declare type RejectLaunchRequest = ({
|
|
1867
|
-
__typename?: 'RootMutationType';
|
|
1868
|
-
} & {
|
|
1869
|
-
rejectOrgConfirm: ({
|
|
1870
|
-
__typename?: 'ConfirmResult';
|
|
1871
|
-
} & Pick<ConfirmResult, 'status'>);
|
|
1872
|
-
});
|
|
1873
|
-
declare type OrgIds_PrivateOrg_ = ({
|
|
1874
|
-
__typename: 'PrivateOrg';
|
|
1875
|
-
} & Pick<PrivateOrg, 'id' | 'name' | 'title'>);
|
|
1876
|
-
declare type OrgIds_PublicOrg_ = ({
|
|
1877
|
-
__typename: 'PublicOrg';
|
|
1878
|
-
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1879
|
-
export declare type OrgIds = OrgIds_PrivateOrg_ | OrgIds_PublicOrg_;
|
|
1880
|
-
declare type CampaignIds_PrivateCampaign_ = ({
|
|
1881
|
-
__typename: 'PrivateCampaign';
|
|
1882
|
-
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1883
|
-
declare type CampaignIds_PublicCampaign_ = ({
|
|
1884
|
-
__typename: 'PublicCampaign';
|
|
1885
|
-
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1886
|
-
export declare type CampaignIds = CampaignIds_PrivateCampaign_ | CampaignIds_PublicCampaign_;
|
|
1887
|
-
declare type CampaignExportIds_PrivateCampaign_ = ({
|
|
1888
|
-
__typename: 'PrivateCampaign';
|
|
1889
|
-
} & Pick<PrivateCampaign, 'name' | 'externalId'>);
|
|
1890
|
-
declare type CampaignExportIds_PublicCampaign_ = ({
|
|
1891
|
-
__typename: 'PublicCampaign';
|
|
1892
|
-
} & Pick<PublicCampaign, 'name' | 'externalId'>);
|
|
1893
|
-
export declare type CampaignExportIds = CampaignExportIds_PrivateCampaign_ | CampaignExportIds_PublicCampaign_;
|
|
1894
|
-
declare type CampaignFields_PrivateCampaign_ = ({
|
|
1895
|
-
__typename: 'PrivateCampaign';
|
|
1896
|
-
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1897
|
-
declare type CampaignFields_PublicCampaign_ = ({
|
|
1898
|
-
__typename: 'PublicCampaign';
|
|
1899
|
-
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1900
|
-
export declare type CampaignFields = CampaignFields_PrivateCampaign_ | CampaignFields_PublicCampaign_;
|
|
1901
|
-
export declare type CampaignPrivateFields = ({
|
|
1902
|
-
__typename: 'PrivateCampaign';
|
|
1903
|
-
} & Pick<PrivateCampaign, 'forceDelivery'>);
|
|
1904
|
-
declare type CampaignAllStats_PrivateCampaign_ = ({
|
|
1905
|
-
__typename?: 'PrivateCampaign';
|
|
1906
|
-
} & {
|
|
1907
|
-
stats: ({
|
|
1908
|
-
__typename?: 'CampaignStats';
|
|
1909
|
-
} & Pick<CampaignStats, 'supporterCount'> & {
|
|
1910
|
-
supporterCountByOrg: Array<({
|
|
1911
|
-
__typename?: 'OrgCount';
|
|
1912
|
-
} & Pick<OrgCount, 'count'> & {
|
|
1913
|
-
org: ({
|
|
1914
|
-
__typename?: 'PrivateOrg';
|
|
1915
|
-
} & Pick<PrivateOrg, 'name' | 'title'>) | ({
|
|
1916
|
-
__typename?: 'PublicOrg';
|
|
1917
|
-
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1918
|
-
})>;
|
|
1919
|
-
actionCount: Array<({
|
|
1920
|
-
__typename?: 'ActionTypeCount';
|
|
1921
|
-
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1922
|
-
});
|
|
1923
|
-
});
|
|
1924
|
-
declare type CampaignAllStats_PublicCampaign_ = ({
|
|
1925
|
-
__typename?: 'PublicCampaign';
|
|
1926
|
-
} & {
|
|
1927
|
-
stats: ({
|
|
1928
|
-
__typename?: 'CampaignStats';
|
|
1929
|
-
} & Pick<CampaignStats, 'supporterCount'> & {
|
|
1930
|
-
supporterCountByOrg: Array<({
|
|
1931
|
-
__typename?: 'OrgCount';
|
|
1932
|
-
} & Pick<OrgCount, 'count'> & {
|
|
1933
|
-
org: ({
|
|
1934
|
-
__typename?: 'PrivateOrg';
|
|
1935
|
-
} & Pick<PrivateOrg, 'name' | 'title'>) | ({
|
|
1936
|
-
__typename?: 'PublicOrg';
|
|
1937
|
-
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1938
|
-
})>;
|
|
1939
|
-
actionCount: Array<({
|
|
1940
|
-
__typename?: 'ActionTypeCount';
|
|
1941
|
-
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1942
|
-
});
|
|
1943
|
-
});
|
|
1944
|
-
export declare type CampaignAllStats = CampaignAllStats_PrivateCampaign_ | CampaignAllStats_PublicCampaign_;
|
|
1945
|
-
export declare type CampaignPartnerships = ({
|
|
1946
|
-
__typename: 'PrivateCampaign';
|
|
1947
|
-
} & {
|
|
1948
|
-
partnerships: Maybe<Array<({
|
|
1949
|
-
__typename?: 'Partnership';
|
|
1950
|
-
} & {
|
|
1951
|
-
org: ({
|
|
1952
|
-
__typename?: 'PrivateOrg';
|
|
1953
|
-
} & OrgIds_PrivateOrg_) | ({
|
|
1954
|
-
__typename?: 'PublicOrg';
|
|
1955
|
-
} & OrgIds_PublicOrg_);
|
|
1956
|
-
actionPages: Array<({
|
|
1957
|
-
__typename?: 'PrivateActionPage';
|
|
1958
|
-
} & ActionPageFields_PrivateActionPage_) | ({
|
|
1959
|
-
__typename?: 'PublicActionPage';
|
|
1960
|
-
} & ActionPageFields_PublicActionPage_)>;
|
|
1961
|
-
launchRequests: Array<({
|
|
1962
|
-
__typename?: 'Confirm';
|
|
1963
|
-
} & Pick<Confirm, 'code' | 'email' | 'objectId'>)>;
|
|
1964
|
-
})>>;
|
|
1965
|
-
});
|
|
1966
|
-
declare type ActionPageIds_PrivateActionPage_ = ({
|
|
1967
|
-
__typename?: 'PrivateActionPage';
|
|
1968
|
-
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale'>);
|
|
1969
|
-
declare type ActionPageIds_PublicActionPage_ = ({
|
|
1970
|
-
__typename?: 'PublicActionPage';
|
|
1971
|
-
} & Pick<PublicActionPage, 'id' | 'name' | 'locale'>);
|
|
1972
|
-
export declare type ActionPageIds = ActionPageIds_PrivateActionPage_ | ActionPageIds_PublicActionPage_;
|
|
1973
|
-
declare type ActionPageFields_PrivateActionPage_ = ({
|
|
1974
|
-
__typename: 'PrivateActionPage';
|
|
1975
|
-
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1976
|
-
declare type ActionPageFields_PublicActionPage_ = ({
|
|
1977
|
-
__typename: 'PublicActionPage';
|
|
1978
|
-
} & Pick<PublicActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1979
|
-
export declare type ActionPageFields = ActionPageFields_PrivateActionPage_ | ActionPageFields_PublicActionPage_;
|
|
1980
|
-
export declare type ActionPagePrivateFields = ({
|
|
1981
|
-
__typename: 'PrivateActionPage';
|
|
1982
|
-
} & Pick<PrivateActionPage, 'extraSupporters' | 'delivery'>);
|
|
1983
|
-
declare type OrgFields_PrivateOrg_ = ({
|
|
1984
|
-
__typename: 'PrivateOrg';
|
|
1985
|
-
} & Pick<PrivateOrg, 'name' | 'title'>);
|
|
1986
|
-
declare type OrgFields_PublicOrg_ = ({
|
|
1987
|
-
__typename: 'PublicOrg';
|
|
1988
|
-
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1989
|
-
export declare type OrgFields = OrgFields_PrivateOrg_ | OrgFields_PublicOrg_;
|
|
1990
|
-
export declare type OrgPrivateFields = ({
|
|
1991
|
-
__typename: 'PrivateOrg';
|
|
1992
|
-
} & Pick<PrivateOrg, 'config'> & {
|
|
1993
|
-
personalData: ({
|
|
1994
|
-
__typename?: 'PersonalData';
|
|
1995
|
-
} & Pick<PersonalData, 'contactSchema' | 'supporterConfirm' | 'supporterConfirmTemplate'>);
|
|
1996
|
-
});
|
|
1997
|
-
export declare type KeyFields = ({
|
|
1998
|
-
__typename?: 'Key';
|
|
1999
|
-
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
2000
|
-
export declare type ServiceFields = ({
|
|
2001
|
-
__typename?: 'Service';
|
|
2002
|
-
} & Pick<Service, 'id' | 'name' | 'host' | 'user' | 'path'>);
|
|
2003
|
-
export declare type ContactExport = ({
|
|
2004
|
-
__typename?: 'Contact';
|
|
2005
|
-
} & Pick<Contact, 'contactRef' | 'payload' | 'nonce'> & {
|
|
2006
|
-
publicKey: Maybe<({
|
|
2007
|
-
__typename?: 'KeyIds';
|
|
2008
|
-
} & Pick<KeyIds, 'id' | 'public'>)>;
|
|
2009
|
-
signKey: Maybe<({
|
|
2010
|
-
__typename?: 'KeyIds';
|
|
2011
|
-
} & Pick<KeyIds, 'id' | 'public'>)>;
|
|
2012
|
-
});
|
|
2013
|
-
export declare type ActionExport = ({
|
|
2014
|
-
__typename?: 'Action';
|
|
2015
|
-
} & Pick<Action, 'actionId' | 'actionType' | 'createdAt' | 'customFields'> & {
|
|
2016
|
-
contact: ({
|
|
2017
|
-
__typename?: 'Contact';
|
|
2018
|
-
} & ContactExport);
|
|
2019
|
-
tracking: Maybe<({
|
|
2020
|
-
__typename?: 'Tracking';
|
|
2021
|
-
} & Pick<Tracking, 'source' | 'medium' | 'campaign' | 'content'>)>;
|
|
2022
|
-
privacy: ({
|
|
2023
|
-
__typename?: 'Consent';
|
|
2024
|
-
} & Pick<Consent, 'optIn' | 'givenAt' | 'emailStatus' | 'emailStatusChanged'>);
|
|
2025
|
-
});
|
|
2026
|
-
export declare type ActionPageExtraVariables = Exact<{
|
|
2027
|
-
id: Scalars['Int'];
|
|
2028
|
-
}>;
|
|
2029
|
-
export declare type ActionPageExtra = ({
|
|
2030
|
-
__typename?: 'RootQueryType';
|
|
2031
|
-
} & {
|
|
2032
|
-
actionPage: ({
|
|
2033
|
-
__typename?: 'PrivateActionPage';
|
|
2034
|
-
} & Pick<PrivateActionPage, 'extraSupporters'>) | {
|
|
2035
|
-
__typename?: 'PublicActionPage';
|
|
2036
|
-
};
|
|
2037
|
-
});
|
|
2038
|
-
export declare type ActionPageSetExtraVariables = Exact<{
|
|
2039
|
-
id: Scalars['Int'];
|
|
2040
|
-
extra: Scalars['Int'];
|
|
2041
|
-
}>;
|
|
2042
|
-
export declare type ActionPageSetExtra = ({
|
|
2043
|
-
__typename?: 'RootMutationType';
|
|
2044
|
-
} & {
|
|
2045
|
-
updateActionPage: ({
|
|
2046
|
-
__typename: 'PrivateActionPage';
|
|
2047
|
-
} & Pick<PrivateActionPage, 'extraSupporters'>) | {
|
|
2048
|
-
__typename: 'PublicActionPage';
|
|
2049
|
-
};
|
|
2050
|
-
});
|
|
2051
|
-
export declare type ObjectFieldTypes = {
|
|
2052
|
-
[key: string]: {
|
|
2053
|
-
[key: string]: string | string[];
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
export declare type OpTypes = {
|
|
2057
|
-
[key: string]: string | string[];
|
|
2058
|
-
};
|
|
2059
|
-
export declare type ScalarLocations = {
|
|
2060
|
-
scalars: string[];
|
|
2061
|
-
inputObjectFieldTypes: ObjectFieldTypes;
|
|
2062
|
-
outputObjectFieldTypes: ObjectFieldTypes;
|
|
2063
|
-
operationMap: OpTypes;
|
|
2064
|
-
};
|
|
2065
|
-
export declare const scalarLocations: ScalarLocations;
|
|
2066
|
-
export {};
|