@proca/cli 3.3.0 → 3.4.5
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 +2 -0
- package/dist/browser.js +5 -1
- package/dist/browser.js.map +1 -1
- package/dist/campaign.d.ts +24 -24
- package/dist/campaign.js +30 -26
- package/dist/campaign.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +8 -3
- package/dist/cli.js.map +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/crypto.d.ts +8 -8
- package/dist/crypto.js +2 -2
- package/dist/crypto.js.map +1 -1
- package/dist/export.js +15 -11
- package/dist/export.js.map +1 -1
- package/dist/format.js +1 -1
- package/dist/format.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/keys.js +4 -4
- package/dist/keys.js.map +1 -1
- package/dist/org.js +12 -8
- package/dist/org.js.map +1 -1
- package/dist/proca.d.ts +265 -235
- package/dist/proca.js +4 -1
- package/dist/proca.js.map +1 -1
- package/dist/queue.js +6 -6
- package/dist/queue.js.map +1 -1
- package/dist/queueMessage.d.ts +14 -14
- package/dist/queueMessage.js +2 -2
- package/dist/queueMessage.js.map +1 -1
- package/dist/service/actionnetwork.d.ts +1 -1
- package/dist/service/actionnetwork.js +2 -2
- package/dist/service/actionnetwork.js.map +1 -1
- package/dist/service/distance.js +8 -4
- package/dist/service/distance.js.map +1 -1
- package/dist/service/identity.d.ts +4 -4
- package/dist/service/identity.js +3 -3
- package/dist/service/identity.js.map +1 -1
- package/dist/service/index.d.ts +1 -1
- package/dist/setup.js +17 -13
- package/dist/setup.js.map +1 -1
- package/dist/util.d.ts +1 -1
- package/dist/util.js +1 -1
- package/dist/util.js.map +1 -1
- package/dist/watch.js +10 -6
- package/dist/watch.js.map +1 -1
- package/package.json +5 -4
- package/LICENSE +0 -661
- package/dist/a.d.ts +0 -1
- package/dist/a.js +0 -21
- package/dist/a.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/scalarLocations.d.ts +0 -4
- package/dist/scalarLocations.js +0 -236
- package/dist/scalarLocations.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/proca.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type Exact<T extends {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}> = {
|
|
6
6
|
[K in keyof T]: T[K];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
9
|
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
12
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
13
|
};
|
|
14
14
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
|
-
export
|
|
15
|
+
export type Scalars = {
|
|
16
16
|
ID: string;
|
|
17
17
|
String: string;
|
|
18
18
|
Boolean: boolean;
|
|
@@ -38,7 +38,7 @@ export declare type Scalars = {
|
|
|
38
38
|
*/
|
|
39
39
|
NaiveDateTime: any;
|
|
40
40
|
};
|
|
41
|
-
export
|
|
41
|
+
export type Action = {
|
|
42
42
|
__typename?: 'Action';
|
|
43
43
|
actionId: Scalars['Int'];
|
|
44
44
|
createdAt: Scalars['NaiveDateTime'];
|
|
@@ -56,7 +56,7 @@ export declare type Action = {
|
|
|
56
56
|
privacy: Consent;
|
|
57
57
|
donation: Maybe<Donation>;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type ActionCustomFields = {
|
|
60
60
|
__typename?: 'ActionCustomFields';
|
|
61
61
|
actionId: Scalars['Int'];
|
|
62
62
|
actionType: Scalars['String'];
|
|
@@ -66,7 +66,7 @@ export declare type ActionCustomFields = {
|
|
|
66
66
|
fields: Array<CustomField>;
|
|
67
67
|
};
|
|
68
68
|
/** Custom field added to action. For signature it can be contact, for mail it can be subject and body */
|
|
69
|
-
export
|
|
69
|
+
export type ActionInput = {
|
|
70
70
|
/** Action Type */
|
|
71
71
|
actionType: Scalars['String'];
|
|
72
72
|
/** Custom fields added to action */
|
|
@@ -80,7 +80,7 @@ export declare type ActionInput = {
|
|
|
80
80
|
/** Test mode */
|
|
81
81
|
testing?: Maybe<Scalars['Boolean']>;
|
|
82
82
|
};
|
|
83
|
-
export
|
|
83
|
+
export type ActionPage = {
|
|
84
84
|
id: Scalars['Int'];
|
|
85
85
|
/** Locale for the widget, in i18n format */
|
|
86
86
|
locale: Scalars['String'];
|
|
@@ -102,7 +102,7 @@ export declare type ActionPage = {
|
|
|
102
102
|
org: Org;
|
|
103
103
|
};
|
|
104
104
|
/** ActionPage input */
|
|
105
|
-
export
|
|
105
|
+
export type ActionPageInput = {
|
|
106
106
|
/**
|
|
107
107
|
* Unique NAME identifying ActionPage.
|
|
108
108
|
*
|
|
@@ -135,23 +135,23 @@ export declare enum ActionPageStatus {
|
|
|
135
135
|
Stalled = "STALLED"
|
|
136
136
|
}
|
|
137
137
|
/** Count of actions for particular action type */
|
|
138
|
-
export
|
|
138
|
+
export type ActionTypeCount = {
|
|
139
139
|
__typename?: 'ActionTypeCount';
|
|
140
140
|
/** action type */
|
|
141
141
|
actionType: Scalars['String'];
|
|
142
142
|
/** count of actions of action type */
|
|
143
143
|
count: Scalars['Int'];
|
|
144
144
|
};
|
|
145
|
-
export
|
|
145
|
+
export type ActivateKeyResult = {
|
|
146
146
|
__typename?: 'ActivateKeyResult';
|
|
147
147
|
status: Status;
|
|
148
148
|
};
|
|
149
|
-
export
|
|
149
|
+
export type AddKeyInput = {
|
|
150
150
|
name: Scalars['String'];
|
|
151
151
|
public: Scalars['String'];
|
|
152
152
|
};
|
|
153
153
|
/** Address type which can hold different addres fields. */
|
|
154
|
-
export
|
|
154
|
+
export type AddressInput = {
|
|
155
155
|
/** Country code (two-letter). */
|
|
156
156
|
country?: Maybe<Scalars['String']>;
|
|
157
157
|
/** Postcode, in format correct for country locale */
|
|
@@ -165,15 +165,20 @@ export declare type AddressInput = {
|
|
|
165
165
|
/** Street number */
|
|
166
166
|
streetNumber?: Maybe<Scalars['String']>;
|
|
167
167
|
};
|
|
168
|
+
/** Api token metadata */
|
|
169
|
+
export type ApiToken = {
|
|
170
|
+
__typename?: 'ApiToken';
|
|
171
|
+
expiresAt: Scalars['NaiveDateTime'];
|
|
172
|
+
};
|
|
168
173
|
/** Count of actions for particular action type */
|
|
169
|
-
export
|
|
174
|
+
export type AreaCount = {
|
|
170
175
|
__typename?: 'AreaCount';
|
|
171
176
|
/** area */
|
|
172
177
|
area: Scalars['String'];
|
|
173
178
|
/** count of supporters in this area */
|
|
174
179
|
count: Scalars['Int'];
|
|
175
180
|
};
|
|
176
|
-
export
|
|
181
|
+
export type Campaign = {
|
|
177
182
|
/** Campaign id */
|
|
178
183
|
id: Scalars['Int'];
|
|
179
184
|
/** External ID (if set) */
|
|
@@ -193,12 +198,12 @@ export declare type Campaign = {
|
|
|
193
198
|
actions: PublicActionsResult;
|
|
194
199
|
targets: Maybe<Array<Maybe<Target>>>;
|
|
195
200
|
};
|
|
196
|
-
export
|
|
201
|
+
export type CampaignActionsArgs = {
|
|
197
202
|
actionType: Scalars['String'];
|
|
198
203
|
limit: Scalars['Int'];
|
|
199
204
|
};
|
|
200
205
|
/** Campaign input */
|
|
201
|
-
export
|
|
206
|
+
export type CampaignInput = {
|
|
202
207
|
/** Campaign unchanging identifier */
|
|
203
208
|
name?: Maybe<Scalars['String']>;
|
|
204
209
|
/** Campaign external_id. If provided, it will be used to find campaign. Can be used to rename a campaign */
|
|
@@ -214,21 +219,21 @@ export declare type CampaignInput = {
|
|
|
214
219
|
/** MTT configuration */
|
|
215
220
|
mtt?: Maybe<CampaignMttInput>;
|
|
216
221
|
};
|
|
217
|
-
export
|
|
222
|
+
export type CampaignMtt = {
|
|
218
223
|
__typename?: 'CampaignMtt';
|
|
219
224
|
startAt: Scalars['DateTime'];
|
|
220
225
|
endAt: Scalars['DateTime'];
|
|
221
226
|
messageTemplate: Maybe<Scalars['String']>;
|
|
222
227
|
testEmail: Maybe<Scalars['String']>;
|
|
223
228
|
};
|
|
224
|
-
export
|
|
229
|
+
export type CampaignMttInput = {
|
|
225
230
|
startAt?: Maybe<Scalars['DateTime']>;
|
|
226
231
|
endAt?: Maybe<Scalars['DateTime']>;
|
|
227
232
|
messageTemplate?: Maybe<Scalars['String']>;
|
|
228
233
|
testEmail?: Maybe<Scalars['String']>;
|
|
229
234
|
};
|
|
230
235
|
/** Campaign statistics */
|
|
231
|
-
export
|
|
236
|
+
export type CampaignStats = {
|
|
232
237
|
__typename?: 'CampaignStats';
|
|
233
238
|
/** Unique action tagers count */
|
|
234
239
|
supporterCount: Scalars['Int'];
|
|
@@ -241,14 +246,14 @@ export declare type CampaignStats = {
|
|
|
241
246
|
actionCount: Array<ActionTypeCount>;
|
|
242
247
|
};
|
|
243
248
|
/** Campaign statistics */
|
|
244
|
-
export
|
|
249
|
+
export type CampaignStatsSupporterCountByOthersArgs = {
|
|
245
250
|
orgName: Scalars['String'];
|
|
246
251
|
};
|
|
247
|
-
export
|
|
252
|
+
export type ChangeUserStatus = {
|
|
248
253
|
__typename?: 'ChangeUserStatus';
|
|
249
254
|
status: Status;
|
|
250
255
|
};
|
|
251
|
-
export
|
|
256
|
+
export type Confirm = {
|
|
252
257
|
__typename?: 'Confirm';
|
|
253
258
|
code: Scalars['String'];
|
|
254
259
|
email: Maybe<Scalars['String']>;
|
|
@@ -256,12 +261,12 @@ export declare type Confirm = {
|
|
|
256
261
|
objectId: Maybe<Scalars['Int']>;
|
|
257
262
|
creator: Maybe<User>;
|
|
258
263
|
};
|
|
259
|
-
export
|
|
264
|
+
export type ConfirmInput = {
|
|
260
265
|
code: Scalars['String'];
|
|
261
266
|
email?: Maybe<Scalars['String']>;
|
|
262
267
|
objectId?: Maybe<Scalars['Int']>;
|
|
263
268
|
};
|
|
264
|
-
export
|
|
269
|
+
export type ConfirmResult = {
|
|
265
270
|
__typename?: 'ConfirmResult';
|
|
266
271
|
status: Status;
|
|
267
272
|
actionPage: Maybe<ActionPage>;
|
|
@@ -270,7 +275,7 @@ export declare type ConfirmResult = {
|
|
|
270
275
|
message: Maybe<Scalars['String']>;
|
|
271
276
|
};
|
|
272
277
|
/** GDPR consent data for this org */
|
|
273
|
-
export
|
|
278
|
+
export type Consent = {
|
|
274
279
|
__typename?: 'Consent';
|
|
275
280
|
optIn: Scalars['Boolean'];
|
|
276
281
|
givenAt: Scalars['NaiveDateTime'];
|
|
@@ -279,13 +284,13 @@ export declare type Consent = {
|
|
|
279
284
|
withConsent: Scalars['Boolean'];
|
|
280
285
|
};
|
|
281
286
|
/** GDPR consent data structure */
|
|
282
|
-
export
|
|
287
|
+
export type ConsentInput = {
|
|
283
288
|
/** Has contact consented to receiving communication from widget owner? */
|
|
284
289
|
optIn: Scalars['Boolean'];
|
|
285
290
|
/** Opt in to the campaign leader */
|
|
286
291
|
leadOptIn?: Maybe<Scalars['Boolean']>;
|
|
287
292
|
};
|
|
288
|
-
export
|
|
293
|
+
export type Contact = {
|
|
289
294
|
__typename?: 'Contact';
|
|
290
295
|
contactRef: Scalars['ID'];
|
|
291
296
|
payload: Scalars['String'];
|
|
@@ -294,7 +299,7 @@ export declare type Contact = {
|
|
|
294
299
|
signKey: Maybe<KeyIds>;
|
|
295
300
|
};
|
|
296
301
|
/** Contact information */
|
|
297
|
-
export
|
|
302
|
+
export type ContactInput = {
|
|
298
303
|
/** Full name */
|
|
299
304
|
name?: Maybe<Scalars['String']>;
|
|
300
305
|
/** First name (when you provide full name split into first and last) */
|
|
@@ -312,7 +317,7 @@ export declare type ContactInput = {
|
|
|
312
317
|
/** Nationality information */
|
|
313
318
|
nationality?: Maybe<NationalityInput>;
|
|
314
319
|
};
|
|
315
|
-
export
|
|
320
|
+
export type ContactReference = {
|
|
316
321
|
__typename?: 'ContactReference';
|
|
317
322
|
/** Contact's reference */
|
|
318
323
|
contactRef: Scalars['String'];
|
|
@@ -326,23 +331,23 @@ export declare enum ContactSchema {
|
|
|
326
331
|
ItCi = "IT_CI"
|
|
327
332
|
}
|
|
328
333
|
/** Custom field with a key and value. */
|
|
329
|
-
export
|
|
334
|
+
export type CustomField = {
|
|
330
335
|
__typename?: 'CustomField';
|
|
331
336
|
key: Scalars['String'];
|
|
332
337
|
value: Scalars['String'];
|
|
333
338
|
};
|
|
334
339
|
/** Custom field with a key and value. Both are strings. */
|
|
335
|
-
export
|
|
340
|
+
export type CustomFieldInput = {
|
|
336
341
|
key: Scalars['String'];
|
|
337
342
|
value: Scalars['String'];
|
|
338
343
|
/** Unused. To mark action_type/key as transient, use campaign.transient_actions list */
|
|
339
344
|
transient?: Maybe<Scalars['Boolean']>;
|
|
340
345
|
};
|
|
341
|
-
export
|
|
346
|
+
export type DeleteUserResult = {
|
|
342
347
|
__typename?: 'DeleteUserResult';
|
|
343
348
|
status: Status;
|
|
344
349
|
};
|
|
345
|
-
export
|
|
350
|
+
export type Donation = {
|
|
346
351
|
__typename?: 'Donation';
|
|
347
352
|
schema: Maybe<DonationSchema>;
|
|
348
353
|
/** Provide amount of this donation, in smallest units for currency */
|
|
@@ -354,7 +359,7 @@ export declare type Donation = {
|
|
|
354
359
|
/** Donation frequency unit */
|
|
355
360
|
frequencyUnit: DonationFrequencyUnit;
|
|
356
361
|
};
|
|
357
|
-
export
|
|
362
|
+
export type DonationActionInput = {
|
|
358
363
|
/** Provide payload schema to validate, eg. stripe_payment_intent */
|
|
359
364
|
schema?: Maybe<DonationSchema>;
|
|
360
365
|
/** Provide amount of this donation, in smallest units for currency */
|
|
@@ -381,16 +386,23 @@ export declare enum EmailStatus {
|
|
|
381
386
|
Spam = "SPAM",
|
|
382
387
|
Unsub = "UNSUB"
|
|
383
388
|
}
|
|
384
|
-
export
|
|
389
|
+
export type EmailTemplateInput = {
|
|
390
|
+
name: Scalars['String'];
|
|
391
|
+
locale?: Maybe<Scalars['String']>;
|
|
392
|
+
subject?: Maybe<Scalars['String']>;
|
|
393
|
+
html?: Maybe<Scalars['String']>;
|
|
394
|
+
text?: Maybe<Scalars['String']>;
|
|
395
|
+
};
|
|
396
|
+
export type GenKeyInput = {
|
|
385
397
|
name: Scalars['String'];
|
|
386
398
|
};
|
|
387
|
-
export
|
|
399
|
+
export type JoinOrgResult = {
|
|
388
400
|
__typename?: 'JoinOrgResult';
|
|
389
401
|
status: Status;
|
|
390
402
|
org: Org;
|
|
391
403
|
};
|
|
392
404
|
/** Encryption or sign key with integer id (database) */
|
|
393
|
-
export
|
|
405
|
+
export type Key = {
|
|
394
406
|
__typename?: 'Key';
|
|
395
407
|
id: Scalars['Int'];
|
|
396
408
|
public: Scalars['String'];
|
|
@@ -400,12 +412,12 @@ export declare type Key = {
|
|
|
400
412
|
/** When the key was expired, in UTC */
|
|
401
413
|
expiredAt: Maybe<Scalars['NaiveDateTime']>;
|
|
402
414
|
};
|
|
403
|
-
export
|
|
415
|
+
export type KeyIds = {
|
|
404
416
|
__typename?: 'KeyIds';
|
|
405
417
|
id: Scalars['Int'];
|
|
406
418
|
public: Scalars['String'];
|
|
407
419
|
};
|
|
408
|
-
export
|
|
420
|
+
export type KeyWithPrivate = {
|
|
409
421
|
__typename?: 'KeyWithPrivate';
|
|
410
422
|
id: Scalars['Int'];
|
|
411
423
|
public: Scalars['String'];
|
|
@@ -416,11 +428,11 @@ export declare type KeyWithPrivate = {
|
|
|
416
428
|
/** When the key was expired, in UTC */
|
|
417
429
|
expiredAt: Maybe<Scalars['NaiveDateTime']>;
|
|
418
430
|
};
|
|
419
|
-
export
|
|
431
|
+
export type LaunchActionPageResult = {
|
|
420
432
|
__typename?: 'LaunchActionPageResult';
|
|
421
433
|
status: Status;
|
|
422
434
|
};
|
|
423
|
-
export
|
|
435
|
+
export type MttActionInput = {
|
|
424
436
|
/** Subject line */
|
|
425
437
|
subject: Scalars['String'];
|
|
426
438
|
/** Body */
|
|
@@ -428,7 +440,7 @@ export declare type MttActionInput = {
|
|
|
428
440
|
/** Target ids */
|
|
429
441
|
targets: Array<Scalars['String']>;
|
|
430
442
|
};
|
|
431
|
-
export
|
|
443
|
+
export type NationalityInput = {
|
|
432
444
|
/** Nationality / issuer of id document */
|
|
433
445
|
country: Scalars['String'];
|
|
434
446
|
/** Document type */
|
|
@@ -436,7 +448,7 @@ export declare type NationalityInput = {
|
|
|
436
448
|
/** Document serial id/number */
|
|
437
449
|
documentNumber?: Maybe<Scalars['String']>;
|
|
438
450
|
};
|
|
439
|
-
export
|
|
451
|
+
export type Org = {
|
|
440
452
|
/** Organisation short name */
|
|
441
453
|
name: Scalars['String'];
|
|
442
454
|
/** Organisation title (human readable name) */
|
|
@@ -445,14 +457,14 @@ export declare type Org = {
|
|
|
445
457
|
config: Scalars['Json'];
|
|
446
458
|
};
|
|
447
459
|
/** Count of supporters for particular org */
|
|
448
|
-
export
|
|
460
|
+
export type OrgCount = {
|
|
449
461
|
__typename?: 'OrgCount';
|
|
450
462
|
/** org */
|
|
451
463
|
org: Org;
|
|
452
464
|
/** count of supporters registered by org */
|
|
453
465
|
count: Scalars['Int'];
|
|
454
466
|
};
|
|
455
|
-
export
|
|
467
|
+
export type OrgInput = {
|
|
456
468
|
/** Name used to rename */
|
|
457
469
|
name?: Maybe<Scalars['String']>;
|
|
458
470
|
/** Organisation title (human readable name) */
|
|
@@ -468,7 +480,7 @@ export declare type OrgInput = {
|
|
|
468
480
|
/** Config */
|
|
469
481
|
config?: Maybe<Scalars['Json']>;
|
|
470
482
|
};
|
|
471
|
-
export
|
|
483
|
+
export type OrgUser = {
|
|
472
484
|
__typename?: 'OrgUser';
|
|
473
485
|
email: Scalars['String'];
|
|
474
486
|
/** Role in an org */
|
|
@@ -480,17 +492,18 @@ export declare type OrgUser = {
|
|
|
480
492
|
/** Will be removed */
|
|
481
493
|
lastSigninAt: Maybe<Scalars['NaiveDateTime']>;
|
|
482
494
|
};
|
|
483
|
-
export
|
|
495
|
+
export type OrgUserInput = {
|
|
484
496
|
email: Scalars['String'];
|
|
485
497
|
role: Scalars['String'];
|
|
486
498
|
};
|
|
487
|
-
export
|
|
499
|
+
export type Partnership = {
|
|
488
500
|
__typename?: 'Partnership';
|
|
489
501
|
org: Org;
|
|
490
502
|
actionPages: Array<ActionPage>;
|
|
491
503
|
launchRequests: Array<Confirm>;
|
|
504
|
+
launchRequesters: Array<User>;
|
|
492
505
|
};
|
|
493
|
-
export
|
|
506
|
+
export type PersonalData = {
|
|
494
507
|
__typename?: 'PersonalData';
|
|
495
508
|
/** Schema for contact personal information */
|
|
496
509
|
contactSchema: ContactSchema;
|
|
@@ -503,7 +516,7 @@ export declare type PersonalData = {
|
|
|
503
516
|
/** Only send thank you emails to opt-ins */
|
|
504
517
|
doiThankYou: Scalars['Boolean'];
|
|
505
518
|
};
|
|
506
|
-
export
|
|
519
|
+
export type PrivateActionPage = ActionPage & {
|
|
507
520
|
__typename?: 'PrivateActionPage';
|
|
508
521
|
id: Scalars['Int'];
|
|
509
522
|
/** Locale for the widget, in i18n format */
|
|
@@ -534,7 +547,7 @@ export declare type PrivateActionPage = ActionPage & {
|
|
|
534
547
|
/** Status of action page */
|
|
535
548
|
status: Maybe<ActionPageStatus>;
|
|
536
549
|
};
|
|
537
|
-
export
|
|
550
|
+
export type PrivateCampaign = Campaign & {
|
|
538
551
|
__typename?: 'PrivateCampaign';
|
|
539
552
|
/** Campaign id */
|
|
540
553
|
id: Scalars['Int'];
|
|
@@ -563,11 +576,11 @@ export declare type PrivateCampaign = Campaign & {
|
|
|
563
576
|
/** MTT configuration */
|
|
564
577
|
mtt: Maybe<CampaignMtt>;
|
|
565
578
|
};
|
|
566
|
-
export
|
|
579
|
+
export type PrivateCampaignActionsArgs = {
|
|
567
580
|
actionType: Scalars['String'];
|
|
568
581
|
limit: Scalars['Int'];
|
|
569
582
|
};
|
|
570
|
-
export
|
|
583
|
+
export type PrivateOrg = Org & {
|
|
571
584
|
__typename?: 'PrivateOrg';
|
|
572
585
|
/** Organisation short name */
|
|
573
586
|
name: Scalars['String'];
|
|
@@ -593,38 +606,39 @@ export declare type PrivateOrg = Org & {
|
|
|
593
606
|
/** DEPRECATED: use campaign() in API root. Get campaign this org is leader or partner of by id */
|
|
594
607
|
campaign: Campaign;
|
|
595
608
|
};
|
|
596
|
-
export
|
|
609
|
+
export type PrivateOrgKeysArgs = {
|
|
597
610
|
select?: Maybe<SelectKey>;
|
|
598
611
|
};
|
|
599
|
-
export
|
|
612
|
+
export type PrivateOrgKeyArgs = {
|
|
600
613
|
select: SelectKey;
|
|
601
614
|
};
|
|
602
|
-
export
|
|
615
|
+
export type PrivateOrgServicesArgs = {
|
|
603
616
|
select?: Maybe<SelectService>;
|
|
604
617
|
};
|
|
605
|
-
export
|
|
618
|
+
export type PrivateOrgCampaignsArgs = {
|
|
606
619
|
select?: Maybe<SelectCampaign>;
|
|
607
620
|
};
|
|
608
|
-
export
|
|
621
|
+
export type PrivateOrgActionPagesArgs = {
|
|
609
622
|
select?: Maybe<SelectActionPage>;
|
|
610
623
|
};
|
|
611
|
-
export
|
|
624
|
+
export type PrivateOrgActionPageArgs = {
|
|
612
625
|
id?: Maybe<Scalars['Int']>;
|
|
613
626
|
name?: Maybe<Scalars['String']>;
|
|
614
627
|
};
|
|
615
|
-
export
|
|
628
|
+
export type PrivateOrgCampaignArgs = {
|
|
616
629
|
id: Scalars['Int'];
|
|
617
630
|
};
|
|
618
|
-
export
|
|
631
|
+
export type PrivateTarget = Target & {
|
|
619
632
|
__typename?: 'PrivateTarget';
|
|
620
633
|
id: Scalars['String'];
|
|
621
634
|
name: Scalars['String'];
|
|
622
635
|
externalId: Scalars['String'];
|
|
636
|
+
locale: Maybe<Scalars['String']>;
|
|
623
637
|
area: Maybe<Scalars['String']>;
|
|
624
638
|
fields: Maybe<Scalars['Json']>;
|
|
625
639
|
emails: Array<Maybe<TargetEmail>>;
|
|
626
640
|
};
|
|
627
|
-
export
|
|
641
|
+
export type Processing = {
|
|
628
642
|
__typename?: 'Processing';
|
|
629
643
|
emailFrom: Maybe<Scalars['String']>;
|
|
630
644
|
emailBackend: Maybe<ServiceName>;
|
|
@@ -634,12 +648,13 @@ export declare type Processing = {
|
|
|
634
648
|
customSupporterConfirm: Scalars['Boolean'];
|
|
635
649
|
customActionConfirm: Scalars['Boolean'];
|
|
636
650
|
customActionDeliver: Scalars['Boolean'];
|
|
651
|
+
customEventDeliver: Scalars['Boolean'];
|
|
637
652
|
sqsDeliver: Scalars['Boolean'];
|
|
638
653
|
eventBackend: Maybe<ServiceName>;
|
|
639
654
|
eventProcessing: Scalars['Boolean'];
|
|
640
655
|
emailTemplates: Maybe<Array<Scalars['String']>>;
|
|
641
656
|
};
|
|
642
|
-
export
|
|
657
|
+
export type PublicActionPage = ActionPage & {
|
|
643
658
|
__typename?: 'PublicActionPage';
|
|
644
659
|
id: Scalars['Int'];
|
|
645
660
|
/** Locale for the widget, in i18n format */
|
|
@@ -662,12 +677,12 @@ export declare type PublicActionPage = ActionPage & {
|
|
|
662
677
|
org: Org;
|
|
663
678
|
};
|
|
664
679
|
/** Result of actions query */
|
|
665
|
-
export
|
|
680
|
+
export type PublicActionsResult = {
|
|
666
681
|
__typename?: 'PublicActionsResult';
|
|
667
682
|
fieldKeys: Maybe<Array<Scalars['String']>>;
|
|
668
683
|
list: Maybe<Array<Maybe<ActionCustomFields>>>;
|
|
669
684
|
};
|
|
670
|
-
export
|
|
685
|
+
export type PublicCampaign = Campaign & {
|
|
671
686
|
__typename?: 'PublicCampaign';
|
|
672
687
|
/** Campaign id */
|
|
673
688
|
id: Scalars['Int'];
|
|
@@ -688,11 +703,11 @@ export declare type PublicCampaign = Campaign & {
|
|
|
688
703
|
actions: PublicActionsResult;
|
|
689
704
|
targets: Maybe<Array<Maybe<Target>>>;
|
|
690
705
|
};
|
|
691
|
-
export
|
|
706
|
+
export type PublicCampaignActionsArgs = {
|
|
692
707
|
actionType: Scalars['String'];
|
|
693
708
|
limit: Scalars['Int'];
|
|
694
709
|
};
|
|
695
|
-
export
|
|
710
|
+
export type PublicOrg = Org & {
|
|
696
711
|
__typename?: 'PublicOrg';
|
|
697
712
|
/** Organisation short name */
|
|
698
713
|
name: Scalars['String'];
|
|
@@ -701,15 +716,16 @@ export declare type PublicOrg = Org & {
|
|
|
701
716
|
/** config */
|
|
702
717
|
config: Scalars['Json'];
|
|
703
718
|
};
|
|
704
|
-
export
|
|
719
|
+
export type PublicTarget = Target & {
|
|
705
720
|
__typename?: 'PublicTarget';
|
|
706
721
|
id: Scalars['String'];
|
|
707
722
|
name: Scalars['String'];
|
|
708
723
|
externalId: Scalars['String'];
|
|
724
|
+
locale: Maybe<Scalars['String']>;
|
|
709
725
|
area: Maybe<Scalars['String']>;
|
|
710
726
|
fields: Maybe<Scalars['Json']>;
|
|
711
727
|
};
|
|
712
|
-
export
|
|
728
|
+
export type RootMutationType = {
|
|
713
729
|
__typename?: 'RootMutationType';
|
|
714
730
|
/**
|
|
715
731
|
* Upserts a campaign.
|
|
@@ -752,6 +768,7 @@ export declare type RootMutationType = {
|
|
|
752
768
|
deleteOrgUser: Maybe<DeleteUserResult>;
|
|
753
769
|
/** Update (current) user details */
|
|
754
770
|
updateUser: User;
|
|
771
|
+
resetApiToken: Scalars['String'];
|
|
755
772
|
addOrg: Org;
|
|
756
773
|
deleteOrg: Status;
|
|
757
774
|
updateOrg: PrivateOrg;
|
|
@@ -762,6 +779,7 @@ export declare type RootMutationType = {
|
|
|
762
779
|
addKey: Key;
|
|
763
780
|
/** A separate key activate operation, because you also need to add the key to receiving system before it is used */
|
|
764
781
|
activateKey: ActivateKeyResult;
|
|
782
|
+
upsertTemplate: Maybe<Status>;
|
|
765
783
|
upsertService: Service;
|
|
766
784
|
addStripePaymentIntent: Scalars['Json'];
|
|
767
785
|
addStripeSubscription: Scalars['Json'];
|
|
@@ -781,60 +799,60 @@ export declare type RootMutationType = {
|
|
|
781
799
|
rejectUserConfirm: ConfirmResult;
|
|
782
800
|
upsertTargets: Array<Maybe<PrivateTarget>>;
|
|
783
801
|
};
|
|
784
|
-
export
|
|
802
|
+
export type RootMutationTypeUpsertCampaignArgs = {
|
|
785
803
|
orgName: Scalars['String'];
|
|
786
804
|
input: CampaignInput;
|
|
787
805
|
};
|
|
788
|
-
export
|
|
806
|
+
export type RootMutationTypeUpdateCampaignArgs = {
|
|
789
807
|
id?: Maybe<Scalars['Int']>;
|
|
790
808
|
name?: Maybe<Scalars['String']>;
|
|
791
809
|
externalId?: Maybe<Scalars['Int']>;
|
|
792
810
|
input: CampaignInput;
|
|
793
811
|
};
|
|
794
|
-
export
|
|
812
|
+
export type RootMutationTypeAddCampaignArgs = {
|
|
795
813
|
orgName: Scalars['String'];
|
|
796
814
|
input: CampaignInput;
|
|
797
815
|
};
|
|
798
|
-
export
|
|
816
|
+
export type RootMutationTypeDeleteCampaignArgs = {
|
|
799
817
|
id?: Maybe<Scalars['Int']>;
|
|
800
818
|
name?: Maybe<Scalars['String']>;
|
|
801
819
|
externalId?: Maybe<Scalars['Int']>;
|
|
802
820
|
};
|
|
803
|
-
export
|
|
821
|
+
export type RootMutationTypeUpdateActionPageArgs = {
|
|
804
822
|
id?: Maybe<Scalars['Int']>;
|
|
805
823
|
name?: Maybe<Scalars['String']>;
|
|
806
824
|
input: ActionPageInput;
|
|
807
825
|
};
|
|
808
|
-
export
|
|
826
|
+
export type RootMutationTypeCopyActionPageArgs = {
|
|
809
827
|
orgName: Scalars['String'];
|
|
810
828
|
name: Scalars['String'];
|
|
811
829
|
fromName: Scalars['String'];
|
|
812
830
|
};
|
|
813
|
-
export
|
|
831
|
+
export type RootMutationTypeCopyCampaignActionPageArgs = {
|
|
814
832
|
orgName: Scalars['String'];
|
|
815
833
|
name: Scalars['String'];
|
|
816
834
|
fromCampaignName: Scalars['String'];
|
|
817
835
|
};
|
|
818
|
-
export
|
|
836
|
+
export type RootMutationTypeAddActionPageArgs = {
|
|
819
837
|
orgName: Scalars['String'];
|
|
820
838
|
campaignName: Scalars['String'];
|
|
821
839
|
input: ActionPageInput;
|
|
822
840
|
};
|
|
823
|
-
export
|
|
841
|
+
export type RootMutationTypeLaunchActionPageArgs = {
|
|
824
842
|
name: Scalars['String'];
|
|
825
843
|
message?: Maybe<Scalars['String']>;
|
|
826
844
|
};
|
|
827
|
-
export
|
|
845
|
+
export type RootMutationTypeDeleteActionPageArgs = {
|
|
828
846
|
id?: Maybe<Scalars['Int']>;
|
|
829
847
|
name?: Maybe<Scalars['String']>;
|
|
830
848
|
};
|
|
831
|
-
export
|
|
849
|
+
export type RootMutationTypeAddActionArgs = {
|
|
832
850
|
actionPageId: Scalars['Int'];
|
|
833
851
|
action: ActionInput;
|
|
834
852
|
contactRef: Scalars['ID'];
|
|
835
853
|
tracking?: Maybe<TrackingInput>;
|
|
836
854
|
};
|
|
837
|
-
export
|
|
855
|
+
export type RootMutationTypeAddActionContactArgs = {
|
|
838
856
|
actionPageId: Scalars['Int'];
|
|
839
857
|
action: ActionInput;
|
|
840
858
|
contact: ContactInput;
|
|
@@ -842,44 +860,44 @@ export declare type RootMutationTypeAddActionContactArgs = {
|
|
|
842
860
|
tracking?: Maybe<TrackingInput>;
|
|
843
861
|
contactRef?: Maybe<Scalars['ID']>;
|
|
844
862
|
};
|
|
845
|
-
export
|
|
863
|
+
export type RootMutationTypeLinkActionsArgs = {
|
|
846
864
|
actionPageId: Scalars['Int'];
|
|
847
865
|
contactRef: Scalars['ID'];
|
|
848
866
|
linkRefs?: Maybe<Array<Scalars['String']>>;
|
|
849
867
|
};
|
|
850
|
-
export
|
|
868
|
+
export type RootMutationTypeAddOrgUserArgs = {
|
|
851
869
|
orgName: Scalars['String'];
|
|
852
870
|
input: OrgUserInput;
|
|
853
871
|
};
|
|
854
|
-
export
|
|
872
|
+
export type RootMutationTypeInviteOrgUserArgs = {
|
|
855
873
|
orgName: Scalars['String'];
|
|
856
874
|
input: OrgUserInput;
|
|
857
875
|
message?: Maybe<Scalars['String']>;
|
|
858
876
|
};
|
|
859
|
-
export
|
|
877
|
+
export type RootMutationTypeUpdateOrgUserArgs = {
|
|
860
878
|
orgName: Scalars['String'];
|
|
861
879
|
input: OrgUserInput;
|
|
862
880
|
};
|
|
863
|
-
export
|
|
881
|
+
export type RootMutationTypeDeleteOrgUserArgs = {
|
|
864
882
|
orgName: Scalars['String'];
|
|
865
883
|
email: Scalars['String'];
|
|
866
884
|
};
|
|
867
|
-
export
|
|
885
|
+
export type RootMutationTypeUpdateUserArgs = {
|
|
868
886
|
input: UserDetailsInput;
|
|
869
887
|
id?: Maybe<Scalars['Int']>;
|
|
870
888
|
email?: Maybe<Scalars['String']>;
|
|
871
889
|
};
|
|
872
|
-
export
|
|
890
|
+
export type RootMutationTypeAddOrgArgs = {
|
|
873
891
|
input: OrgInput;
|
|
874
892
|
};
|
|
875
|
-
export
|
|
893
|
+
export type RootMutationTypeDeleteOrgArgs = {
|
|
876
894
|
name: Scalars['String'];
|
|
877
895
|
};
|
|
878
|
-
export
|
|
896
|
+
export type RootMutationTypeUpdateOrgArgs = {
|
|
879
897
|
name: Scalars['String'];
|
|
880
898
|
input: OrgInput;
|
|
881
899
|
};
|
|
882
|
-
export
|
|
900
|
+
export type RootMutationTypeUpdateOrgProcessingArgs = {
|
|
883
901
|
name: Scalars['String'];
|
|
884
902
|
emailBackend?: Maybe<ServiceName>;
|
|
885
903
|
emailFrom?: Maybe<Scalars['String']>;
|
|
@@ -889,67 +907,75 @@ export declare type RootMutationTypeUpdateOrgProcessingArgs = {
|
|
|
889
907
|
customSupporterConfirm?: Maybe<Scalars['Boolean']>;
|
|
890
908
|
customActionConfirm?: Maybe<Scalars['Boolean']>;
|
|
891
909
|
customActionDeliver?: Maybe<Scalars['Boolean']>;
|
|
910
|
+
customEventDeliver?: Maybe<Scalars['Boolean']>;
|
|
892
911
|
sqsDeliver?: Maybe<Scalars['Boolean']>;
|
|
893
912
|
eventBackend?: Maybe<ServiceName>;
|
|
894
913
|
eventProcessing?: Maybe<Scalars['Boolean']>;
|
|
895
914
|
};
|
|
896
|
-
export
|
|
915
|
+
export type RootMutationTypeJoinOrgArgs = {
|
|
897
916
|
name: Scalars['String'];
|
|
898
917
|
};
|
|
899
|
-
export
|
|
918
|
+
export type RootMutationTypeGenerateKeyArgs = {
|
|
900
919
|
orgName: Scalars['String'];
|
|
901
920
|
input: GenKeyInput;
|
|
902
921
|
};
|
|
903
|
-
export
|
|
922
|
+
export type RootMutationTypeAddKeyArgs = {
|
|
904
923
|
orgName: Scalars['String'];
|
|
905
924
|
input: AddKeyInput;
|
|
906
925
|
};
|
|
907
|
-
export
|
|
926
|
+
export type RootMutationTypeActivateKeyArgs = {
|
|
908
927
|
orgName: Scalars['String'];
|
|
909
928
|
id: Scalars['Int'];
|
|
910
929
|
};
|
|
911
|
-
export
|
|
930
|
+
export type RootMutationTypeUpsertTemplateArgs = {
|
|
931
|
+
orgName: Scalars['String'];
|
|
932
|
+
input: EmailTemplateInput;
|
|
933
|
+
};
|
|
934
|
+
export type RootMutationTypeUpsertServiceArgs = {
|
|
912
935
|
orgName: Scalars['String'];
|
|
913
936
|
id?: Maybe<Scalars['Int']>;
|
|
914
937
|
input: ServiceInput;
|
|
915
938
|
};
|
|
916
|
-
export
|
|
939
|
+
export type RootMutationTypeAddStripePaymentIntentArgs = {
|
|
917
940
|
actionPageId: Scalars['Int'];
|
|
918
941
|
input: StripePaymentIntentInput;
|
|
919
942
|
contactRef?: Maybe<Scalars['ID']>;
|
|
943
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
920
944
|
};
|
|
921
|
-
export
|
|
945
|
+
export type RootMutationTypeAddStripeSubscriptionArgs = {
|
|
922
946
|
actionPageId: Scalars['Int'];
|
|
923
947
|
input: StripeSubscriptionInput;
|
|
924
948
|
contactRef?: Maybe<Scalars['ID']>;
|
|
949
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
925
950
|
};
|
|
926
|
-
export
|
|
951
|
+
export type RootMutationTypeAddStripeObjectArgs = {
|
|
927
952
|
actionPageId: Scalars['Int'];
|
|
928
953
|
paymentIntent?: Maybe<Scalars['Json']>;
|
|
929
954
|
subscription?: Maybe<Scalars['Json']>;
|
|
930
955
|
customer?: Maybe<Scalars['Json']>;
|
|
931
956
|
price?: Maybe<Scalars['Json']>;
|
|
957
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
932
958
|
};
|
|
933
|
-
export
|
|
959
|
+
export type RootMutationTypeAcceptOrgConfirmArgs = {
|
|
934
960
|
name: Scalars['String'];
|
|
935
961
|
confirm: ConfirmInput;
|
|
936
962
|
};
|
|
937
|
-
export
|
|
963
|
+
export type RootMutationTypeRejectOrgConfirmArgs = {
|
|
938
964
|
name: Scalars['String'];
|
|
939
965
|
confirm: ConfirmInput;
|
|
940
966
|
};
|
|
941
|
-
export
|
|
967
|
+
export type RootMutationTypeAcceptUserConfirmArgs = {
|
|
942
968
|
confirm: ConfirmInput;
|
|
943
969
|
};
|
|
944
|
-
export
|
|
970
|
+
export type RootMutationTypeRejectUserConfirmArgs = {
|
|
945
971
|
confirm: ConfirmInput;
|
|
946
972
|
};
|
|
947
|
-
export
|
|
973
|
+
export type RootMutationTypeUpsertTargetsArgs = {
|
|
948
974
|
targets: Array<TargetInput>;
|
|
949
975
|
campaignId: Scalars['Int'];
|
|
950
976
|
replace?: Maybe<Scalars['Boolean']>;
|
|
951
977
|
};
|
|
952
|
-
export
|
|
978
|
+
export type RootQueryType = {
|
|
953
979
|
__typename?: 'RootQueryType';
|
|
954
980
|
/** Get a list of campains */
|
|
955
981
|
campaigns: Array<Campaign>;
|
|
@@ -964,22 +990,22 @@ export declare type RootQueryType = {
|
|
|
964
990
|
/** Organization api (authenticated) */
|
|
965
991
|
org: PrivateOrg;
|
|
966
992
|
};
|
|
967
|
-
export
|
|
993
|
+
export type RootQueryTypeCampaignsArgs = {
|
|
968
994
|
title?: Maybe<Scalars['String']>;
|
|
969
995
|
name?: Maybe<Scalars['String']>;
|
|
970
996
|
id?: Maybe<Scalars['Int']>;
|
|
971
997
|
};
|
|
972
|
-
export
|
|
998
|
+
export type RootQueryTypeCampaignArgs = {
|
|
973
999
|
id?: Maybe<Scalars['Int']>;
|
|
974
1000
|
name?: Maybe<Scalars['String']>;
|
|
975
1001
|
externalId?: Maybe<Scalars['Int']>;
|
|
976
1002
|
};
|
|
977
|
-
export
|
|
1003
|
+
export type RootQueryTypeActionPageArgs = {
|
|
978
1004
|
id?: Maybe<Scalars['Int']>;
|
|
979
1005
|
name?: Maybe<Scalars['String']>;
|
|
980
1006
|
url?: Maybe<Scalars['String']>;
|
|
981
1007
|
};
|
|
982
|
-
export
|
|
1008
|
+
export type RootQueryTypeExportActionsArgs = {
|
|
983
1009
|
orgName: Scalars['String'];
|
|
984
1010
|
campaignName?: Maybe<Scalars['String']>;
|
|
985
1011
|
campaignId?: Maybe<Scalars['Int']>;
|
|
@@ -990,43 +1016,43 @@ export declare type RootQueryTypeExportActionsArgs = {
|
|
|
990
1016
|
onlyDoubleOptIn?: Maybe<Scalars['Boolean']>;
|
|
991
1017
|
includeTesting?: Maybe<Scalars['Boolean']>;
|
|
992
1018
|
};
|
|
993
|
-
export
|
|
1019
|
+
export type RootQueryTypeUsersArgs = {
|
|
994
1020
|
select?: Maybe<SelectUser>;
|
|
995
1021
|
};
|
|
996
|
-
export
|
|
1022
|
+
export type RootQueryTypeOrgArgs = {
|
|
997
1023
|
name: Scalars['String'];
|
|
998
1024
|
};
|
|
999
|
-
export
|
|
1025
|
+
export type RootSubscriptionType = {
|
|
1000
1026
|
__typename?: 'RootSubscriptionType';
|
|
1001
1027
|
actionPageUpserted: ActionPage;
|
|
1002
1028
|
};
|
|
1003
|
-
export
|
|
1029
|
+
export type RootSubscriptionTypeActionPageUpsertedArgs = {
|
|
1004
1030
|
orgName?: Maybe<Scalars['String']>;
|
|
1005
1031
|
};
|
|
1006
|
-
export
|
|
1032
|
+
export type SelectActionPage = {
|
|
1007
1033
|
campaignId?: Maybe<Scalars['Int']>;
|
|
1008
1034
|
};
|
|
1009
|
-
export
|
|
1035
|
+
export type SelectCampaign = {
|
|
1010
1036
|
titleLike?: Maybe<Scalars['String']>;
|
|
1011
1037
|
orgName?: Maybe<Scalars['String']>;
|
|
1012
1038
|
};
|
|
1013
|
-
export
|
|
1039
|
+
export type SelectKey = {
|
|
1014
1040
|
id?: Maybe<Scalars['Int']>;
|
|
1015
1041
|
active?: Maybe<Scalars['Boolean']>;
|
|
1016
1042
|
public?: Maybe<Scalars['String']>;
|
|
1017
1043
|
};
|
|
1018
|
-
export
|
|
1044
|
+
export type SelectService = {
|
|
1019
1045
|
name?: Maybe<ServiceName>;
|
|
1020
1046
|
};
|
|
1021
1047
|
/** Criteria to filter users */
|
|
1022
|
-
export
|
|
1048
|
+
export type SelectUser = {
|
|
1023
1049
|
id?: Maybe<Scalars['Int']>;
|
|
1024
1050
|
/** Use % as wildcard */
|
|
1025
1051
|
email?: Maybe<Scalars['String']>;
|
|
1026
1052
|
/** Exact org name */
|
|
1027
1053
|
orgName?: Maybe<Scalars['String']>;
|
|
1028
1054
|
};
|
|
1029
|
-
export
|
|
1055
|
+
export type Service = {
|
|
1030
1056
|
__typename?: 'Service';
|
|
1031
1057
|
id: Scalars['Int'];
|
|
1032
1058
|
name: ServiceName;
|
|
@@ -1034,7 +1060,7 @@ export declare type Service = {
|
|
|
1034
1060
|
user: Maybe<Scalars['String']>;
|
|
1035
1061
|
path: Maybe<Scalars['String']>;
|
|
1036
1062
|
};
|
|
1037
|
-
export
|
|
1063
|
+
export type ServiceInput = {
|
|
1038
1064
|
name: ServiceName;
|
|
1039
1065
|
host?: Maybe<Scalars['String']>;
|
|
1040
1066
|
user?: Maybe<Scalars['String']>;
|
|
@@ -1047,6 +1073,7 @@ export declare enum ServiceName {
|
|
|
1047
1073
|
Mailjet = "MAILJET",
|
|
1048
1074
|
Wordpress = "WORDPRESS",
|
|
1049
1075
|
Stripe = "STRIPE",
|
|
1076
|
+
TestStripe = "TEST_STRIPE",
|
|
1050
1077
|
Webhook = "WEBHOOK"
|
|
1051
1078
|
}
|
|
1052
1079
|
export declare enum Status {
|
|
@@ -1057,41 +1084,43 @@ export declare enum Status {
|
|
|
1057
1084
|
/** Operation had no effect (already done) */
|
|
1058
1085
|
Noop = "NOOP"
|
|
1059
1086
|
}
|
|
1060
|
-
export
|
|
1087
|
+
export type StripePaymentIntentInput = {
|
|
1061
1088
|
amount: Scalars['Int'];
|
|
1062
1089
|
currency: Scalars['String'];
|
|
1063
1090
|
paymentMethodTypes?: Maybe<Array<Scalars['String']>>;
|
|
1064
1091
|
};
|
|
1065
|
-
export
|
|
1092
|
+
export type StripeSubscriptionInput = {
|
|
1066
1093
|
amount: Scalars['Int'];
|
|
1067
1094
|
currency: Scalars['String'];
|
|
1068
1095
|
frequencyUnit: DonationFrequencyUnit;
|
|
1069
1096
|
};
|
|
1070
|
-
export
|
|
1097
|
+
export type Target = {
|
|
1071
1098
|
id: Scalars['String'];
|
|
1072
1099
|
name: Scalars['String'];
|
|
1073
1100
|
externalId: Scalars['String'];
|
|
1101
|
+
locale: Maybe<Scalars['String']>;
|
|
1074
1102
|
area: Maybe<Scalars['String']>;
|
|
1075
1103
|
fields: Maybe<Scalars['Json']>;
|
|
1076
1104
|
};
|
|
1077
|
-
export
|
|
1105
|
+
export type TargetEmail = {
|
|
1078
1106
|
__typename?: 'TargetEmail';
|
|
1079
1107
|
email: Scalars['String'];
|
|
1080
1108
|
emailStatus: EmailStatus;
|
|
1081
1109
|
error: Maybe<Scalars['String']>;
|
|
1082
1110
|
};
|
|
1083
|
-
export
|
|
1111
|
+
export type TargetEmailInput = {
|
|
1084
1112
|
email: Scalars['String'];
|
|
1085
1113
|
};
|
|
1086
|
-
export
|
|
1114
|
+
export type TargetInput = {
|
|
1087
1115
|
name?: Maybe<Scalars['String']>;
|
|
1088
|
-
area?: Maybe<Scalars['String']>;
|
|
1089
1116
|
externalId: Scalars['String'];
|
|
1117
|
+
locale?: Maybe<Scalars['String']>;
|
|
1118
|
+
area?: Maybe<Scalars['String']>;
|
|
1090
1119
|
fields?: Maybe<Scalars['Json']>;
|
|
1091
1120
|
emails?: Maybe<Array<TargetEmailInput>>;
|
|
1092
1121
|
};
|
|
1093
1122
|
/** Tracking codes */
|
|
1094
|
-
export
|
|
1123
|
+
export type Tracking = {
|
|
1095
1124
|
__typename?: 'Tracking';
|
|
1096
1125
|
source: Scalars['String'];
|
|
1097
1126
|
medium: Scalars['String'];
|
|
@@ -1099,7 +1128,7 @@ export declare type Tracking = {
|
|
|
1099
1128
|
content: Scalars['String'];
|
|
1100
1129
|
};
|
|
1101
1130
|
/** Tracking codes */
|
|
1102
|
-
export
|
|
1131
|
+
export type TrackingInput = {
|
|
1103
1132
|
source: Scalars['String'];
|
|
1104
1133
|
medium: Scalars['String'];
|
|
1105
1134
|
campaign: Scalars['String'];
|
|
@@ -1107,22 +1136,23 @@ export declare type TrackingInput = {
|
|
|
1107
1136
|
/** Action page location. Url from which action is added. Must contain schema, domain, (port), pathname */
|
|
1108
1137
|
location?: Maybe<Scalars['String']>;
|
|
1109
1138
|
};
|
|
1110
|
-
export
|
|
1139
|
+
export type User = {
|
|
1111
1140
|
__typename?: 'User';
|
|
1112
1141
|
id: Scalars['Int'];
|
|
1113
1142
|
email: Scalars['String'];
|
|
1114
1143
|
phone: Maybe<Scalars['String']>;
|
|
1115
1144
|
pictureUrl: Maybe<Scalars['String']>;
|
|
1116
1145
|
jobTitle: Maybe<Scalars['String']>;
|
|
1146
|
+
apiToken: Maybe<ApiToken>;
|
|
1117
1147
|
isAdmin: Scalars['Boolean'];
|
|
1118
1148
|
roles: Array<UserRole>;
|
|
1119
1149
|
};
|
|
1120
|
-
export
|
|
1150
|
+
export type UserDetailsInput = {
|
|
1121
1151
|
pictureUrl?: Maybe<Scalars['String']>;
|
|
1122
1152
|
jobTitle?: Maybe<Scalars['String']>;
|
|
1123
1153
|
phone?: Maybe<Scalars['String']>;
|
|
1124
1154
|
};
|
|
1125
|
-
export
|
|
1155
|
+
export type UserRole = {
|
|
1126
1156
|
__typename?: 'UserRole';
|
|
1127
1157
|
org: Org;
|
|
1128
1158
|
role: Scalars['String'];
|
|
@@ -1267,7 +1297,7 @@ export declare const ActionPageSetExtraDocument: DocumentNode<ActionPageSetExtra
|
|
|
1267
1297
|
id: Scalars['Int'];
|
|
1268
1298
|
extra: Scalars['Int'];
|
|
1269
1299
|
}>>;
|
|
1270
|
-
export
|
|
1300
|
+
export type CampaignOverview = ({
|
|
1271
1301
|
__typename?: 'PrivateCampaign';
|
|
1272
1302
|
} & {
|
|
1273
1303
|
org: ({
|
|
@@ -1276,11 +1306,11 @@ export declare type CampaignOverview = ({
|
|
|
1276
1306
|
__typename?: 'PublicOrg';
|
|
1277
1307
|
} & OrgIds_PublicOrg_);
|
|
1278
1308
|
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields & CampaignAllStats_PrivateCampaign_ & CampaignPartnerships);
|
|
1279
|
-
export
|
|
1309
|
+
export type GetCampaignVariables = Exact<{
|
|
1280
1310
|
org: Scalars['String'];
|
|
1281
1311
|
id: Scalars['Int'];
|
|
1282
1312
|
}>;
|
|
1283
|
-
export
|
|
1313
|
+
export type GetCampaign = ({
|
|
1284
1314
|
__typename?: 'RootQueryType';
|
|
1285
1315
|
} & {
|
|
1286
1316
|
org: ({
|
|
@@ -1305,11 +1335,11 @@ export declare type GetCampaign = ({
|
|
|
1305
1335
|
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_);
|
|
1306
1336
|
});
|
|
1307
1337
|
});
|
|
1308
|
-
export
|
|
1338
|
+
export type FindPublicCampaignVariables = Exact<{
|
|
1309
1339
|
name?: Maybe<Scalars['String']>;
|
|
1310
1340
|
title?: Maybe<Scalars['String']>;
|
|
1311
1341
|
}>;
|
|
1312
|
-
export
|
|
1342
|
+
export type FindPublicCampaign = ({
|
|
1313
1343
|
__typename?: 'RootQueryType';
|
|
1314
1344
|
} & {
|
|
1315
1345
|
campaigns: Array<({
|
|
@@ -1330,10 +1360,10 @@ export declare type FindPublicCampaign = ({
|
|
|
1330
1360
|
} & OrgIds_PublicOrg_);
|
|
1331
1361
|
} & CampaignFields_PublicCampaign_)>;
|
|
1332
1362
|
});
|
|
1333
|
-
export
|
|
1363
|
+
export type ListCampaignsVariables = Exact<{
|
|
1334
1364
|
org: Scalars['String'];
|
|
1335
1365
|
}>;
|
|
1336
|
-
export
|
|
1366
|
+
export type ListCampaigns = ({
|
|
1337
1367
|
__typename?: 'RootQueryType';
|
|
1338
1368
|
} & {
|
|
1339
1369
|
org: ({
|
|
@@ -1358,7 +1388,7 @@ export declare type ListCampaigns = ({
|
|
|
1358
1388
|
} & CampaignFields_PublicCampaign_)>;
|
|
1359
1389
|
});
|
|
1360
1390
|
});
|
|
1361
|
-
|
|
1391
|
+
type ActionPageOwners_PrivateActionPage_ = ({
|
|
1362
1392
|
__typename?: 'PrivateActionPage';
|
|
1363
1393
|
} & {
|
|
1364
1394
|
campaign: ({
|
|
@@ -1384,7 +1414,7 @@ declare type ActionPageOwners_PrivateActionPage_ = ({
|
|
|
1384
1414
|
__typename?: 'PublicOrg';
|
|
1385
1415
|
} & OrgIds_PublicOrg_);
|
|
1386
1416
|
} & ActionPageFields_PrivateActionPage_);
|
|
1387
|
-
|
|
1417
|
+
type ActionPageOwners_PublicActionPage_ = ({
|
|
1388
1418
|
__typename?: 'PublicActionPage';
|
|
1389
1419
|
} & {
|
|
1390
1420
|
campaign: ({
|
|
@@ -1410,11 +1440,11 @@ declare type ActionPageOwners_PublicActionPage_ = ({
|
|
|
1410
1440
|
__typename?: 'PublicOrg';
|
|
1411
1441
|
} & OrgIds_PublicOrg_);
|
|
1412
1442
|
} & ActionPageFields_PublicActionPage_);
|
|
1413
|
-
export
|
|
1414
|
-
export
|
|
1443
|
+
export type ActionPageOwners = ActionPageOwners_PrivateActionPage_ | ActionPageOwners_PublicActionPage_;
|
|
1444
|
+
export type ListActionPagesVariables = Exact<{
|
|
1415
1445
|
org: Scalars['String'];
|
|
1416
1446
|
}>;
|
|
1417
|
-
export
|
|
1447
|
+
export type ListActionPages = ({
|
|
1418
1448
|
__typename?: 'RootQueryType';
|
|
1419
1449
|
} & {
|
|
1420
1450
|
org: ({
|
|
@@ -1427,12 +1457,12 @@ export declare type ListActionPages = ({
|
|
|
1427
1457
|
} & ActionPageOwners_PublicActionPage_)>;
|
|
1428
1458
|
});
|
|
1429
1459
|
});
|
|
1430
|
-
export
|
|
1460
|
+
export type GetActionPageVariables = Exact<{
|
|
1431
1461
|
org: Scalars['String'];
|
|
1432
1462
|
id?: Maybe<Scalars['Int']>;
|
|
1433
1463
|
name?: Maybe<Scalars['String']>;
|
|
1434
1464
|
}>;
|
|
1435
|
-
export
|
|
1465
|
+
export type GetActionPage = ({
|
|
1436
1466
|
__typename?: 'RootQueryType';
|
|
1437
1467
|
} & {
|
|
1438
1468
|
org: ({
|
|
@@ -1457,11 +1487,11 @@ export declare type GetActionPage = ({
|
|
|
1457
1487
|
} & ActionPageOwners_PublicActionPage_);
|
|
1458
1488
|
});
|
|
1459
1489
|
});
|
|
1460
|
-
export
|
|
1490
|
+
export type GetPublicActionPageVariables = Exact<{
|
|
1461
1491
|
name?: Maybe<Scalars['String']>;
|
|
1462
1492
|
id?: Maybe<Scalars['Int']>;
|
|
1463
1493
|
}>;
|
|
1464
|
-
export
|
|
1494
|
+
export type GetPublicActionPage = ({
|
|
1465
1495
|
__typename?: 'RootQueryType';
|
|
1466
1496
|
} & {
|
|
1467
1497
|
actionPage: ({
|
|
@@ -1470,11 +1500,11 @@ export declare type GetPublicActionPage = ({
|
|
|
1470
1500
|
__typename?: 'PublicActionPage';
|
|
1471
1501
|
} & ActionPageOwners_PublicActionPage_);
|
|
1472
1502
|
});
|
|
1473
|
-
export
|
|
1503
|
+
export type ListActionPagesByCampaignVariables = Exact<{
|
|
1474
1504
|
org: Scalars['String'];
|
|
1475
1505
|
campaignId: Scalars['Int'];
|
|
1476
1506
|
}>;
|
|
1477
|
-
export
|
|
1507
|
+
export type ListActionPagesByCampaign = ({
|
|
1478
1508
|
__typename?: 'RootQueryType';
|
|
1479
1509
|
} & {
|
|
1480
1510
|
org: ({
|
|
@@ -1499,11 +1529,11 @@ export declare type ListActionPagesByCampaign = ({
|
|
|
1499
1529
|
} & ActionPageFields_PublicActionPage_)>;
|
|
1500
1530
|
});
|
|
1501
1531
|
});
|
|
1502
|
-
export
|
|
1532
|
+
export type UpdateActionPageVariables = Exact<{
|
|
1503
1533
|
id: Scalars['Int'];
|
|
1504
1534
|
actionPage: ActionPageInput;
|
|
1505
1535
|
}>;
|
|
1506
|
-
export
|
|
1536
|
+
export type UpdateActionPage = ({
|
|
1507
1537
|
__typename?: 'RootMutationType';
|
|
1508
1538
|
} & {
|
|
1509
1539
|
updateActionPage: ({
|
|
@@ -1512,10 +1542,10 @@ export declare type UpdateActionPage = ({
|
|
|
1512
1542
|
__typename?: 'PublicActionPage';
|
|
1513
1543
|
} & Pick<PublicActionPage, 'id'>);
|
|
1514
1544
|
});
|
|
1515
|
-
export
|
|
1545
|
+
export type PubListCampaignVariables = Exact<{
|
|
1516
1546
|
name: Scalars['String'];
|
|
1517
1547
|
}>;
|
|
1518
|
-
export
|
|
1548
|
+
export type PubListCampaign = ({
|
|
1519
1549
|
__typename?: 'RootQueryType';
|
|
1520
1550
|
} & {
|
|
1521
1551
|
campaigns: Array<({
|
|
@@ -1524,7 +1554,7 @@ export declare type PubListCampaign = ({
|
|
|
1524
1554
|
__typename?: 'PublicCampaign';
|
|
1525
1555
|
} & CampaignFields_PublicCampaign_)>;
|
|
1526
1556
|
});
|
|
1527
|
-
export
|
|
1557
|
+
export type ExportCampaignActionsVariables = Exact<{
|
|
1528
1558
|
org: Scalars['String'];
|
|
1529
1559
|
campaignId?: Maybe<Scalars['Int']>;
|
|
1530
1560
|
campaignName?: Maybe<Scalars['String']>;
|
|
@@ -1533,7 +1563,7 @@ export declare type ExportCampaignActionsVariables = Exact<{
|
|
|
1533
1563
|
limit?: Maybe<Scalars['Int']>;
|
|
1534
1564
|
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1535
1565
|
}>;
|
|
1536
|
-
export
|
|
1566
|
+
export type ExportCampaignActions = ({
|
|
1537
1567
|
__typename?: 'RootQueryType';
|
|
1538
1568
|
} & {
|
|
1539
1569
|
org: ({
|
|
@@ -1560,14 +1590,14 @@ export declare type ExportCampaignActions = ({
|
|
|
1560
1590
|
} & ActionPageIds_PublicActionPage_);
|
|
1561
1591
|
} & ActionExport)>>;
|
|
1562
1592
|
});
|
|
1563
|
-
export
|
|
1593
|
+
export type ExportOrgActionsVariables = Exact<{
|
|
1564
1594
|
org: Scalars['String'];
|
|
1565
1595
|
start?: Maybe<Scalars['Int']>;
|
|
1566
1596
|
after?: Maybe<Scalars['DateTime']>;
|
|
1567
1597
|
limit?: Maybe<Scalars['Int']>;
|
|
1568
1598
|
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1569
1599
|
}>;
|
|
1570
|
-
export
|
|
1600
|
+
export type ExportOrgActions = ({
|
|
1571
1601
|
__typename?: 'RootQueryType';
|
|
1572
1602
|
} & {
|
|
1573
1603
|
org: ({
|
|
@@ -1599,12 +1629,12 @@ export declare type ExportOrgActions = ({
|
|
|
1599
1629
|
} & CampaignExportIds_PublicCampaign_);
|
|
1600
1630
|
} & ActionExport)>>;
|
|
1601
1631
|
});
|
|
1602
|
-
export
|
|
1632
|
+
export type CopyActionPageVariables = Exact<{
|
|
1603
1633
|
fromName: Scalars['String'];
|
|
1604
1634
|
toOrg: Scalars['String'];
|
|
1605
1635
|
toName: Scalars['String'];
|
|
1606
1636
|
}>;
|
|
1607
|
-
export
|
|
1637
|
+
export type CopyActionPage = ({
|
|
1608
1638
|
__typename?: 'RootMutationType';
|
|
1609
1639
|
} & {
|
|
1610
1640
|
copyActionPage: ({
|
|
@@ -1625,12 +1655,12 @@ export declare type CopyActionPage = ({
|
|
|
1625
1655
|
} & CampaignFields_PublicCampaign_);
|
|
1626
1656
|
} & ActionPageFields_PublicActionPage_);
|
|
1627
1657
|
});
|
|
1628
|
-
export
|
|
1658
|
+
export type CopyCampaignActionPageVariables = Exact<{
|
|
1629
1659
|
fromCampaign: Scalars['String'];
|
|
1630
1660
|
toOrg: Scalars['String'];
|
|
1631
1661
|
toName: Scalars['String'];
|
|
1632
1662
|
}>;
|
|
1633
|
-
export
|
|
1663
|
+
export type CopyCampaignActionPage = ({
|
|
1634
1664
|
__typename?: 'RootMutationType';
|
|
1635
1665
|
} & {
|
|
1636
1666
|
copyCampaignActionPage: ({
|
|
@@ -1651,21 +1681,21 @@ export declare type CopyCampaignActionPage = ({
|
|
|
1651
1681
|
} & CampaignIds_PublicCampaign_);
|
|
1652
1682
|
} & ActionPageFields_PublicActionPage_);
|
|
1653
1683
|
});
|
|
1654
|
-
export
|
|
1684
|
+
export type JoinOrgVariables = Exact<{
|
|
1655
1685
|
orgName: Scalars['String'];
|
|
1656
1686
|
}>;
|
|
1657
|
-
export
|
|
1687
|
+
export type JoinOrg = ({
|
|
1658
1688
|
__typename?: 'RootMutationType';
|
|
1659
1689
|
} & {
|
|
1660
1690
|
joinOrg: ({
|
|
1661
1691
|
__typename?: 'JoinOrgResult';
|
|
1662
1692
|
} & Pick<JoinOrgResult, 'status'>);
|
|
1663
1693
|
});
|
|
1664
|
-
export
|
|
1694
|
+
export type UpsertCampaignVariables = Exact<{
|
|
1665
1695
|
org: Scalars['String'];
|
|
1666
1696
|
campaign: CampaignInput;
|
|
1667
1697
|
}>;
|
|
1668
|
-
export
|
|
1698
|
+
export type UpsertCampaign = ({
|
|
1669
1699
|
__typename?: 'RootMutationType';
|
|
1670
1700
|
} & {
|
|
1671
1701
|
upsertCampaign: ({
|
|
@@ -1674,10 +1704,10 @@ export declare type UpsertCampaign = ({
|
|
|
1674
1704
|
__typename?: 'PublicCampaign';
|
|
1675
1705
|
} & Pick<PublicCampaign, 'id'>);
|
|
1676
1706
|
});
|
|
1677
|
-
export
|
|
1707
|
+
export type ListKeysVariables = Exact<{
|
|
1678
1708
|
org: Scalars['String'];
|
|
1679
1709
|
}>;
|
|
1680
|
-
export
|
|
1710
|
+
export type ListKeys = ({
|
|
1681
1711
|
__typename?: 'RootQueryType';
|
|
1682
1712
|
} & {
|
|
1683
1713
|
org: ({
|
|
@@ -1688,43 +1718,43 @@ export declare type ListKeys = ({
|
|
|
1688
1718
|
} & KeyFields)>;
|
|
1689
1719
|
});
|
|
1690
1720
|
});
|
|
1691
|
-
export
|
|
1721
|
+
export type GenerateKeyVariables = Exact<{
|
|
1692
1722
|
org: Scalars['String'];
|
|
1693
1723
|
input: GenKeyInput;
|
|
1694
1724
|
}>;
|
|
1695
|
-
export
|
|
1725
|
+
export type GenerateKey = ({
|
|
1696
1726
|
__typename?: 'RootMutationType';
|
|
1697
1727
|
} & {
|
|
1698
1728
|
generateKey: ({
|
|
1699
1729
|
__typename?: 'KeyWithPrivate';
|
|
1700
1730
|
} & Pick<KeyWithPrivate, 'id' | 'name' | 'public' | 'private' | 'active' | 'expired' | 'expiredAt'>);
|
|
1701
1731
|
});
|
|
1702
|
-
export
|
|
1732
|
+
export type AddKeyVariables = Exact<{
|
|
1703
1733
|
org: Scalars['String'];
|
|
1704
1734
|
input: AddKeyInput;
|
|
1705
1735
|
}>;
|
|
1706
|
-
export
|
|
1736
|
+
export type AddKey = ({
|
|
1707
1737
|
__typename?: 'RootMutationType';
|
|
1708
1738
|
} & {
|
|
1709
1739
|
addKey: ({
|
|
1710
1740
|
__typename?: 'Key';
|
|
1711
1741
|
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
1712
1742
|
});
|
|
1713
|
-
export
|
|
1743
|
+
export type ActivateKeyVariables = Exact<{
|
|
1714
1744
|
org: Scalars['String'];
|
|
1715
1745
|
id: Scalars['Int'];
|
|
1716
1746
|
}>;
|
|
1717
|
-
export
|
|
1747
|
+
export type ActivateKey = ({
|
|
1718
1748
|
__typename?: 'RootMutationType';
|
|
1719
1749
|
} & {
|
|
1720
1750
|
activateKey: ({
|
|
1721
1751
|
__typename?: 'ActivateKeyResult';
|
|
1722
1752
|
} & Pick<ActivateKeyResult, 'status'>);
|
|
1723
1753
|
});
|
|
1724
|
-
export
|
|
1754
|
+
export type AddOrgVariables = Exact<{
|
|
1725
1755
|
org: OrgInput;
|
|
1726
1756
|
}>;
|
|
1727
|
-
export
|
|
1757
|
+
export type AddOrg = ({
|
|
1728
1758
|
__typename?: 'RootMutationType';
|
|
1729
1759
|
} & {
|
|
1730
1760
|
addOrg: ({
|
|
@@ -1733,21 +1763,21 @@ export declare type AddOrg = ({
|
|
|
1733
1763
|
__typename?: 'PublicOrg';
|
|
1734
1764
|
} & OrgIds_PublicOrg_);
|
|
1735
1765
|
});
|
|
1736
|
-
export
|
|
1766
|
+
export type UpdateOrgVariables = Exact<{
|
|
1737
1767
|
orgName: Scalars['String'];
|
|
1738
1768
|
org: OrgInput;
|
|
1739
1769
|
}>;
|
|
1740
|
-
export
|
|
1770
|
+
export type UpdateOrg = ({
|
|
1741
1771
|
__typename?: 'RootMutationType';
|
|
1742
1772
|
} & {
|
|
1743
1773
|
updateOrg: ({
|
|
1744
1774
|
__typename?: 'PrivateOrg';
|
|
1745
1775
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1746
1776
|
});
|
|
1747
|
-
export
|
|
1777
|
+
export type ActionPageUpsertedVariables = Exact<{
|
|
1748
1778
|
org?: Maybe<Scalars['String']>;
|
|
1749
1779
|
}>;
|
|
1750
|
-
export
|
|
1780
|
+
export type ActionPageUpserted = ({
|
|
1751
1781
|
__typename?: 'RootSubscriptionType';
|
|
1752
1782
|
} & {
|
|
1753
1783
|
actionPageUpserted: ({
|
|
@@ -1756,10 +1786,10 @@ export declare type ActionPageUpserted = ({
|
|
|
1756
1786
|
__typename?: 'PublicActionPage';
|
|
1757
1787
|
} & ActionPageOwners_PublicActionPage_);
|
|
1758
1788
|
});
|
|
1759
|
-
export
|
|
1789
|
+
export type CurrentUserOrgsVariables = Exact<{
|
|
1760
1790
|
[key: string]: never;
|
|
1761
1791
|
}>;
|
|
1762
|
-
export
|
|
1792
|
+
export type CurrentUserOrgs = ({
|
|
1763
1793
|
__typename?: 'RootQueryType';
|
|
1764
1794
|
} & {
|
|
1765
1795
|
currentUser: ({
|
|
@@ -1776,10 +1806,10 @@ export declare type CurrentUserOrgs = ({
|
|
|
1776
1806
|
})>;
|
|
1777
1807
|
});
|
|
1778
1808
|
});
|
|
1779
|
-
export
|
|
1809
|
+
export type DashOrgOverviewVariables = Exact<{
|
|
1780
1810
|
org: Scalars['String'];
|
|
1781
1811
|
}>;
|
|
1782
|
-
export
|
|
1812
|
+
export type DashOrgOverview = ({
|
|
1783
1813
|
__typename?: 'RootQueryType';
|
|
1784
1814
|
} & {
|
|
1785
1815
|
org: ({
|
|
@@ -1804,10 +1834,10 @@ export declare type DashOrgOverview = ({
|
|
|
1804
1834
|
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_)>;
|
|
1805
1835
|
} & OrgPrivateFields);
|
|
1806
1836
|
});
|
|
1807
|
-
export
|
|
1837
|
+
export type GetOrgVariables = Exact<{
|
|
1808
1838
|
org: Scalars['String'];
|
|
1809
1839
|
}>;
|
|
1810
|
-
export
|
|
1840
|
+
export type GetOrg = ({
|
|
1811
1841
|
__typename?: 'RootQueryType';
|
|
1812
1842
|
} & {
|
|
1813
1843
|
org: ({
|
|
@@ -1821,31 +1851,31 @@ export declare type GetOrg = ({
|
|
|
1821
1851
|
} & ServiceFields)>>;
|
|
1822
1852
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1823
1853
|
});
|
|
1824
|
-
export
|
|
1854
|
+
export type GetOrgAttrsVariables = Exact<{
|
|
1825
1855
|
org: Scalars['String'];
|
|
1826
1856
|
}>;
|
|
1827
|
-
export
|
|
1857
|
+
export type GetOrgAttrs = ({
|
|
1828
1858
|
__typename?: 'RootQueryType';
|
|
1829
1859
|
} & {
|
|
1830
1860
|
org: ({
|
|
1831
1861
|
__typename?: 'PrivateOrg';
|
|
1832
1862
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1833
1863
|
});
|
|
1834
|
-
export
|
|
1864
|
+
export type LaunchActionPageVariables = Exact<{
|
|
1835
1865
|
name: Scalars['String'];
|
|
1836
1866
|
}>;
|
|
1837
|
-
export
|
|
1867
|
+
export type LaunchActionPage = ({
|
|
1838
1868
|
__typename?: 'RootMutationType';
|
|
1839
1869
|
} & {
|
|
1840
1870
|
launchActionPage: ({
|
|
1841
1871
|
__typename?: 'LaunchActionPageResult';
|
|
1842
1872
|
} & Pick<LaunchActionPageResult, 'status'>);
|
|
1843
1873
|
});
|
|
1844
|
-
export
|
|
1874
|
+
export type AcceptLaunchRequestVariables = Exact<{
|
|
1845
1875
|
org: Scalars['String'];
|
|
1846
1876
|
confirm: ConfirmInput;
|
|
1847
1877
|
}>;
|
|
1848
|
-
export
|
|
1878
|
+
export type AcceptLaunchRequest = ({
|
|
1849
1879
|
__typename?: 'RootMutationType';
|
|
1850
1880
|
} & {
|
|
1851
1881
|
acceptOrgConfirm: ({
|
|
@@ -1858,49 +1888,49 @@ export declare type AcceptLaunchRequest = ({
|
|
|
1858
1888
|
} & ActionPageFields_PublicActionPage_)>;
|
|
1859
1889
|
});
|
|
1860
1890
|
});
|
|
1861
|
-
export
|
|
1891
|
+
export type RejectLaunchRequestVariables = Exact<{
|
|
1862
1892
|
org: Scalars['String'];
|
|
1863
1893
|
confirm: ConfirmInput;
|
|
1864
1894
|
}>;
|
|
1865
|
-
export
|
|
1895
|
+
export type RejectLaunchRequest = ({
|
|
1866
1896
|
__typename?: 'RootMutationType';
|
|
1867
1897
|
} & {
|
|
1868
1898
|
rejectOrgConfirm: ({
|
|
1869
1899
|
__typename?: 'ConfirmResult';
|
|
1870
1900
|
} & Pick<ConfirmResult, 'status'>);
|
|
1871
1901
|
});
|
|
1872
|
-
|
|
1902
|
+
type OrgIds_PrivateOrg_ = ({
|
|
1873
1903
|
__typename: 'PrivateOrg';
|
|
1874
1904
|
} & Pick<PrivateOrg, 'id' | 'name' | 'title'>);
|
|
1875
|
-
|
|
1905
|
+
type OrgIds_PublicOrg_ = ({
|
|
1876
1906
|
__typename: 'PublicOrg';
|
|
1877
1907
|
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1878
|
-
export
|
|
1879
|
-
|
|
1908
|
+
export type OrgIds = OrgIds_PrivateOrg_ | OrgIds_PublicOrg_;
|
|
1909
|
+
type CampaignIds_PrivateCampaign_ = ({
|
|
1880
1910
|
__typename: 'PrivateCampaign';
|
|
1881
1911
|
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1882
|
-
|
|
1912
|
+
type CampaignIds_PublicCampaign_ = ({
|
|
1883
1913
|
__typename: 'PublicCampaign';
|
|
1884
1914
|
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1885
|
-
export
|
|
1886
|
-
|
|
1915
|
+
export type CampaignIds = CampaignIds_PrivateCampaign_ | CampaignIds_PublicCampaign_;
|
|
1916
|
+
type CampaignExportIds_PrivateCampaign_ = ({
|
|
1887
1917
|
__typename: 'PrivateCampaign';
|
|
1888
1918
|
} & Pick<PrivateCampaign, 'name' | 'externalId'>);
|
|
1889
|
-
|
|
1919
|
+
type CampaignExportIds_PublicCampaign_ = ({
|
|
1890
1920
|
__typename: 'PublicCampaign';
|
|
1891
1921
|
} & Pick<PublicCampaign, 'name' | 'externalId'>);
|
|
1892
|
-
export
|
|
1893
|
-
|
|
1922
|
+
export type CampaignExportIds = CampaignExportIds_PrivateCampaign_ | CampaignExportIds_PublicCampaign_;
|
|
1923
|
+
type CampaignFields_PrivateCampaign_ = ({
|
|
1894
1924
|
__typename: 'PrivateCampaign';
|
|
1895
1925
|
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1896
|
-
|
|
1926
|
+
type CampaignFields_PublicCampaign_ = ({
|
|
1897
1927
|
__typename: 'PublicCampaign';
|
|
1898
1928
|
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1899
|
-
export
|
|
1900
|
-
export
|
|
1929
|
+
export type CampaignFields = CampaignFields_PrivateCampaign_ | CampaignFields_PublicCampaign_;
|
|
1930
|
+
export type CampaignPrivateFields = ({
|
|
1901
1931
|
__typename: 'PrivateCampaign';
|
|
1902
1932
|
} & Pick<PrivateCampaign, 'forceDelivery'>);
|
|
1903
|
-
|
|
1933
|
+
type CampaignAllStats_PrivateCampaign_ = ({
|
|
1904
1934
|
__typename?: 'PrivateCampaign';
|
|
1905
1935
|
} & {
|
|
1906
1936
|
stats: ({
|
|
@@ -1920,7 +1950,7 @@ declare type CampaignAllStats_PrivateCampaign_ = ({
|
|
|
1920
1950
|
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1921
1951
|
});
|
|
1922
1952
|
});
|
|
1923
|
-
|
|
1953
|
+
type CampaignAllStats_PublicCampaign_ = ({
|
|
1924
1954
|
__typename?: 'PublicCampaign';
|
|
1925
1955
|
} & {
|
|
1926
1956
|
stats: ({
|
|
@@ -1940,8 +1970,8 @@ declare type CampaignAllStats_PublicCampaign_ = ({
|
|
|
1940
1970
|
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1941
1971
|
});
|
|
1942
1972
|
});
|
|
1943
|
-
export
|
|
1944
|
-
export
|
|
1973
|
+
export type CampaignAllStats = CampaignAllStats_PrivateCampaign_ | CampaignAllStats_PublicCampaign_;
|
|
1974
|
+
export type CampaignPartnerships = ({
|
|
1945
1975
|
__typename: 'PrivateCampaign';
|
|
1946
1976
|
} & {
|
|
1947
1977
|
partnerships: Maybe<Array<({
|
|
@@ -1962,44 +1992,44 @@ export declare type CampaignPartnerships = ({
|
|
|
1962
1992
|
} & Pick<Confirm, 'code' | 'email' | 'objectId'>)>;
|
|
1963
1993
|
})>>;
|
|
1964
1994
|
});
|
|
1965
|
-
|
|
1995
|
+
type ActionPageIds_PrivateActionPage_ = ({
|
|
1966
1996
|
__typename?: 'PrivateActionPage';
|
|
1967
1997
|
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale'>);
|
|
1968
|
-
|
|
1998
|
+
type ActionPageIds_PublicActionPage_ = ({
|
|
1969
1999
|
__typename?: 'PublicActionPage';
|
|
1970
2000
|
} & Pick<PublicActionPage, 'id' | 'name' | 'locale'>);
|
|
1971
|
-
export
|
|
1972
|
-
|
|
2001
|
+
export type ActionPageIds = ActionPageIds_PrivateActionPage_ | ActionPageIds_PublicActionPage_;
|
|
2002
|
+
type ActionPageFields_PrivateActionPage_ = ({
|
|
1973
2003
|
__typename: 'PrivateActionPage';
|
|
1974
2004
|
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1975
|
-
|
|
2005
|
+
type ActionPageFields_PublicActionPage_ = ({
|
|
1976
2006
|
__typename: 'PublicActionPage';
|
|
1977
2007
|
} & Pick<PublicActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1978
|
-
export
|
|
1979
|
-
export
|
|
2008
|
+
export type ActionPageFields = ActionPageFields_PrivateActionPage_ | ActionPageFields_PublicActionPage_;
|
|
2009
|
+
export type ActionPagePrivateFields = ({
|
|
1980
2010
|
__typename: 'PrivateActionPage';
|
|
1981
2011
|
} & Pick<PrivateActionPage, 'extraSupporters' | 'delivery'>);
|
|
1982
|
-
|
|
2012
|
+
type OrgFields_PrivateOrg_ = ({
|
|
1983
2013
|
__typename: 'PrivateOrg';
|
|
1984
2014
|
} & Pick<PrivateOrg, 'name' | 'title'>);
|
|
1985
|
-
|
|
2015
|
+
type OrgFields_PublicOrg_ = ({
|
|
1986
2016
|
__typename: 'PublicOrg';
|
|
1987
2017
|
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1988
|
-
export
|
|
1989
|
-
export
|
|
2018
|
+
export type OrgFields = OrgFields_PrivateOrg_ | OrgFields_PublicOrg_;
|
|
2019
|
+
export type OrgPrivateFields = ({
|
|
1990
2020
|
__typename: 'PrivateOrg';
|
|
1991
2021
|
} & Pick<PrivateOrg, 'config'> & {
|
|
1992
2022
|
personalData: ({
|
|
1993
2023
|
__typename?: 'PersonalData';
|
|
1994
2024
|
} & Pick<PersonalData, 'contactSchema' | 'supporterConfirm' | 'supporterConfirmTemplate'>);
|
|
1995
2025
|
});
|
|
1996
|
-
export
|
|
2026
|
+
export type KeyFields = ({
|
|
1997
2027
|
__typename?: 'Key';
|
|
1998
2028
|
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
1999
|
-
export
|
|
2029
|
+
export type ServiceFields = ({
|
|
2000
2030
|
__typename?: 'Service';
|
|
2001
2031
|
} & Pick<Service, 'id' | 'name' | 'host' | 'user' | 'path'>);
|
|
2002
|
-
export
|
|
2032
|
+
export type ContactExport = ({
|
|
2003
2033
|
__typename?: 'Contact';
|
|
2004
2034
|
} & Pick<Contact, 'contactRef' | 'payload' | 'nonce'> & {
|
|
2005
2035
|
publicKey: Maybe<({
|
|
@@ -2009,7 +2039,7 @@ export declare type ContactExport = ({
|
|
|
2009
2039
|
__typename?: 'KeyIds';
|
|
2010
2040
|
} & Pick<KeyIds, 'id' | 'public'>)>;
|
|
2011
2041
|
});
|
|
2012
|
-
export
|
|
2042
|
+
export type ActionExport = ({
|
|
2013
2043
|
__typename?: 'Action';
|
|
2014
2044
|
} & Pick<Action, 'actionId' | 'actionType' | 'createdAt' | 'customFields'> & {
|
|
2015
2045
|
contact: ({
|
|
@@ -2022,10 +2052,10 @@ export declare type ActionExport = ({
|
|
|
2022
2052
|
__typename?: 'Consent';
|
|
2023
2053
|
} & Pick<Consent, 'optIn' | 'givenAt' | 'emailStatus' | 'emailStatusChanged'>);
|
|
2024
2054
|
});
|
|
2025
|
-
export
|
|
2055
|
+
export type ActionPageExtraVariables = Exact<{
|
|
2026
2056
|
id: Scalars['Int'];
|
|
2027
2057
|
}>;
|
|
2028
|
-
export
|
|
2058
|
+
export type ActionPageExtra = ({
|
|
2029
2059
|
__typename?: 'RootQueryType';
|
|
2030
2060
|
} & {
|
|
2031
2061
|
actionPage: ({
|
|
@@ -2034,11 +2064,11 @@ export declare type ActionPageExtra = ({
|
|
|
2034
2064
|
__typename?: 'PublicActionPage';
|
|
2035
2065
|
};
|
|
2036
2066
|
});
|
|
2037
|
-
export
|
|
2067
|
+
export type ActionPageSetExtraVariables = Exact<{
|
|
2038
2068
|
id: Scalars['Int'];
|
|
2039
2069
|
extra: Scalars['Int'];
|
|
2040
2070
|
}>;
|
|
2041
|
-
export
|
|
2071
|
+
export type ActionPageSetExtra = ({
|
|
2042
2072
|
__typename?: 'RootMutationType';
|
|
2043
2073
|
} & {
|
|
2044
2074
|
updateActionPage: ({
|
|
@@ -2047,15 +2077,15 @@ export declare type ActionPageSetExtra = ({
|
|
|
2047
2077
|
__typename: 'PublicActionPage';
|
|
2048
2078
|
};
|
|
2049
2079
|
});
|
|
2050
|
-
export
|
|
2080
|
+
export type ObjectFieldTypes = {
|
|
2051
2081
|
[key: string]: {
|
|
2052
2082
|
[key: string]: string | string[];
|
|
2053
2083
|
};
|
|
2054
2084
|
};
|
|
2055
|
-
export
|
|
2085
|
+
export type OpTypes = {
|
|
2056
2086
|
[key: string]: string | string[];
|
|
2057
2087
|
};
|
|
2058
|
-
export
|
|
2088
|
+
export type ScalarLocations = {
|
|
2059
2089
|
scalars: string[];
|
|
2060
2090
|
inputObjectFieldTypes: ObjectFieldTypes;
|
|
2061
2091
|
outputObjectFieldTypes: ObjectFieldTypes;
|