@proca/cli 3.3.1 → 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 +264 -235
- package/dist/proca.js +2 -0
- 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,18 +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>;
|
|
492
504
|
launchRequesters: Array<User>;
|
|
493
505
|
};
|
|
494
|
-
export
|
|
506
|
+
export type PersonalData = {
|
|
495
507
|
__typename?: 'PersonalData';
|
|
496
508
|
/** Schema for contact personal information */
|
|
497
509
|
contactSchema: ContactSchema;
|
|
@@ -504,7 +516,7 @@ export declare type PersonalData = {
|
|
|
504
516
|
/** Only send thank you emails to opt-ins */
|
|
505
517
|
doiThankYou: Scalars['Boolean'];
|
|
506
518
|
};
|
|
507
|
-
export
|
|
519
|
+
export type PrivateActionPage = ActionPage & {
|
|
508
520
|
__typename?: 'PrivateActionPage';
|
|
509
521
|
id: Scalars['Int'];
|
|
510
522
|
/** Locale for the widget, in i18n format */
|
|
@@ -535,7 +547,7 @@ export declare type PrivateActionPage = ActionPage & {
|
|
|
535
547
|
/** Status of action page */
|
|
536
548
|
status: Maybe<ActionPageStatus>;
|
|
537
549
|
};
|
|
538
|
-
export
|
|
550
|
+
export type PrivateCampaign = Campaign & {
|
|
539
551
|
__typename?: 'PrivateCampaign';
|
|
540
552
|
/** Campaign id */
|
|
541
553
|
id: Scalars['Int'];
|
|
@@ -564,11 +576,11 @@ export declare type PrivateCampaign = Campaign & {
|
|
|
564
576
|
/** MTT configuration */
|
|
565
577
|
mtt: Maybe<CampaignMtt>;
|
|
566
578
|
};
|
|
567
|
-
export
|
|
579
|
+
export type PrivateCampaignActionsArgs = {
|
|
568
580
|
actionType: Scalars['String'];
|
|
569
581
|
limit: Scalars['Int'];
|
|
570
582
|
};
|
|
571
|
-
export
|
|
583
|
+
export type PrivateOrg = Org & {
|
|
572
584
|
__typename?: 'PrivateOrg';
|
|
573
585
|
/** Organisation short name */
|
|
574
586
|
name: Scalars['String'];
|
|
@@ -594,38 +606,39 @@ export declare type PrivateOrg = Org & {
|
|
|
594
606
|
/** DEPRECATED: use campaign() in API root. Get campaign this org is leader or partner of by id */
|
|
595
607
|
campaign: Campaign;
|
|
596
608
|
};
|
|
597
|
-
export
|
|
609
|
+
export type PrivateOrgKeysArgs = {
|
|
598
610
|
select?: Maybe<SelectKey>;
|
|
599
611
|
};
|
|
600
|
-
export
|
|
612
|
+
export type PrivateOrgKeyArgs = {
|
|
601
613
|
select: SelectKey;
|
|
602
614
|
};
|
|
603
|
-
export
|
|
615
|
+
export type PrivateOrgServicesArgs = {
|
|
604
616
|
select?: Maybe<SelectService>;
|
|
605
617
|
};
|
|
606
|
-
export
|
|
618
|
+
export type PrivateOrgCampaignsArgs = {
|
|
607
619
|
select?: Maybe<SelectCampaign>;
|
|
608
620
|
};
|
|
609
|
-
export
|
|
621
|
+
export type PrivateOrgActionPagesArgs = {
|
|
610
622
|
select?: Maybe<SelectActionPage>;
|
|
611
623
|
};
|
|
612
|
-
export
|
|
624
|
+
export type PrivateOrgActionPageArgs = {
|
|
613
625
|
id?: Maybe<Scalars['Int']>;
|
|
614
626
|
name?: Maybe<Scalars['String']>;
|
|
615
627
|
};
|
|
616
|
-
export
|
|
628
|
+
export type PrivateOrgCampaignArgs = {
|
|
617
629
|
id: Scalars['Int'];
|
|
618
630
|
};
|
|
619
|
-
export
|
|
631
|
+
export type PrivateTarget = Target & {
|
|
620
632
|
__typename?: 'PrivateTarget';
|
|
621
633
|
id: Scalars['String'];
|
|
622
634
|
name: Scalars['String'];
|
|
623
635
|
externalId: Scalars['String'];
|
|
636
|
+
locale: Maybe<Scalars['String']>;
|
|
624
637
|
area: Maybe<Scalars['String']>;
|
|
625
638
|
fields: Maybe<Scalars['Json']>;
|
|
626
639
|
emails: Array<Maybe<TargetEmail>>;
|
|
627
640
|
};
|
|
628
|
-
export
|
|
641
|
+
export type Processing = {
|
|
629
642
|
__typename?: 'Processing';
|
|
630
643
|
emailFrom: Maybe<Scalars['String']>;
|
|
631
644
|
emailBackend: Maybe<ServiceName>;
|
|
@@ -635,12 +648,13 @@ export declare type Processing = {
|
|
|
635
648
|
customSupporterConfirm: Scalars['Boolean'];
|
|
636
649
|
customActionConfirm: Scalars['Boolean'];
|
|
637
650
|
customActionDeliver: Scalars['Boolean'];
|
|
651
|
+
customEventDeliver: Scalars['Boolean'];
|
|
638
652
|
sqsDeliver: Scalars['Boolean'];
|
|
639
653
|
eventBackend: Maybe<ServiceName>;
|
|
640
654
|
eventProcessing: Scalars['Boolean'];
|
|
641
655
|
emailTemplates: Maybe<Array<Scalars['String']>>;
|
|
642
656
|
};
|
|
643
|
-
export
|
|
657
|
+
export type PublicActionPage = ActionPage & {
|
|
644
658
|
__typename?: 'PublicActionPage';
|
|
645
659
|
id: Scalars['Int'];
|
|
646
660
|
/** Locale for the widget, in i18n format */
|
|
@@ -663,12 +677,12 @@ export declare type PublicActionPage = ActionPage & {
|
|
|
663
677
|
org: Org;
|
|
664
678
|
};
|
|
665
679
|
/** Result of actions query */
|
|
666
|
-
export
|
|
680
|
+
export type PublicActionsResult = {
|
|
667
681
|
__typename?: 'PublicActionsResult';
|
|
668
682
|
fieldKeys: Maybe<Array<Scalars['String']>>;
|
|
669
683
|
list: Maybe<Array<Maybe<ActionCustomFields>>>;
|
|
670
684
|
};
|
|
671
|
-
export
|
|
685
|
+
export type PublicCampaign = Campaign & {
|
|
672
686
|
__typename?: 'PublicCampaign';
|
|
673
687
|
/** Campaign id */
|
|
674
688
|
id: Scalars['Int'];
|
|
@@ -689,11 +703,11 @@ export declare type PublicCampaign = Campaign & {
|
|
|
689
703
|
actions: PublicActionsResult;
|
|
690
704
|
targets: Maybe<Array<Maybe<Target>>>;
|
|
691
705
|
};
|
|
692
|
-
export
|
|
706
|
+
export type PublicCampaignActionsArgs = {
|
|
693
707
|
actionType: Scalars['String'];
|
|
694
708
|
limit: Scalars['Int'];
|
|
695
709
|
};
|
|
696
|
-
export
|
|
710
|
+
export type PublicOrg = Org & {
|
|
697
711
|
__typename?: 'PublicOrg';
|
|
698
712
|
/** Organisation short name */
|
|
699
713
|
name: Scalars['String'];
|
|
@@ -702,15 +716,16 @@ export declare type PublicOrg = Org & {
|
|
|
702
716
|
/** config */
|
|
703
717
|
config: Scalars['Json'];
|
|
704
718
|
};
|
|
705
|
-
export
|
|
719
|
+
export type PublicTarget = Target & {
|
|
706
720
|
__typename?: 'PublicTarget';
|
|
707
721
|
id: Scalars['String'];
|
|
708
722
|
name: Scalars['String'];
|
|
709
723
|
externalId: Scalars['String'];
|
|
724
|
+
locale: Maybe<Scalars['String']>;
|
|
710
725
|
area: Maybe<Scalars['String']>;
|
|
711
726
|
fields: Maybe<Scalars['Json']>;
|
|
712
727
|
};
|
|
713
|
-
export
|
|
728
|
+
export type RootMutationType = {
|
|
714
729
|
__typename?: 'RootMutationType';
|
|
715
730
|
/**
|
|
716
731
|
* Upserts a campaign.
|
|
@@ -753,6 +768,7 @@ export declare type RootMutationType = {
|
|
|
753
768
|
deleteOrgUser: Maybe<DeleteUserResult>;
|
|
754
769
|
/** Update (current) user details */
|
|
755
770
|
updateUser: User;
|
|
771
|
+
resetApiToken: Scalars['String'];
|
|
756
772
|
addOrg: Org;
|
|
757
773
|
deleteOrg: Status;
|
|
758
774
|
updateOrg: PrivateOrg;
|
|
@@ -763,6 +779,7 @@ export declare type RootMutationType = {
|
|
|
763
779
|
addKey: Key;
|
|
764
780
|
/** A separate key activate operation, because you also need to add the key to receiving system before it is used */
|
|
765
781
|
activateKey: ActivateKeyResult;
|
|
782
|
+
upsertTemplate: Maybe<Status>;
|
|
766
783
|
upsertService: Service;
|
|
767
784
|
addStripePaymentIntent: Scalars['Json'];
|
|
768
785
|
addStripeSubscription: Scalars['Json'];
|
|
@@ -782,60 +799,60 @@ export declare type RootMutationType = {
|
|
|
782
799
|
rejectUserConfirm: ConfirmResult;
|
|
783
800
|
upsertTargets: Array<Maybe<PrivateTarget>>;
|
|
784
801
|
};
|
|
785
|
-
export
|
|
802
|
+
export type RootMutationTypeUpsertCampaignArgs = {
|
|
786
803
|
orgName: Scalars['String'];
|
|
787
804
|
input: CampaignInput;
|
|
788
805
|
};
|
|
789
|
-
export
|
|
806
|
+
export type RootMutationTypeUpdateCampaignArgs = {
|
|
790
807
|
id?: Maybe<Scalars['Int']>;
|
|
791
808
|
name?: Maybe<Scalars['String']>;
|
|
792
809
|
externalId?: Maybe<Scalars['Int']>;
|
|
793
810
|
input: CampaignInput;
|
|
794
811
|
};
|
|
795
|
-
export
|
|
812
|
+
export type RootMutationTypeAddCampaignArgs = {
|
|
796
813
|
orgName: Scalars['String'];
|
|
797
814
|
input: CampaignInput;
|
|
798
815
|
};
|
|
799
|
-
export
|
|
816
|
+
export type RootMutationTypeDeleteCampaignArgs = {
|
|
800
817
|
id?: Maybe<Scalars['Int']>;
|
|
801
818
|
name?: Maybe<Scalars['String']>;
|
|
802
819
|
externalId?: Maybe<Scalars['Int']>;
|
|
803
820
|
};
|
|
804
|
-
export
|
|
821
|
+
export type RootMutationTypeUpdateActionPageArgs = {
|
|
805
822
|
id?: Maybe<Scalars['Int']>;
|
|
806
823
|
name?: Maybe<Scalars['String']>;
|
|
807
824
|
input: ActionPageInput;
|
|
808
825
|
};
|
|
809
|
-
export
|
|
826
|
+
export type RootMutationTypeCopyActionPageArgs = {
|
|
810
827
|
orgName: Scalars['String'];
|
|
811
828
|
name: Scalars['String'];
|
|
812
829
|
fromName: Scalars['String'];
|
|
813
830
|
};
|
|
814
|
-
export
|
|
831
|
+
export type RootMutationTypeCopyCampaignActionPageArgs = {
|
|
815
832
|
orgName: Scalars['String'];
|
|
816
833
|
name: Scalars['String'];
|
|
817
834
|
fromCampaignName: Scalars['String'];
|
|
818
835
|
};
|
|
819
|
-
export
|
|
836
|
+
export type RootMutationTypeAddActionPageArgs = {
|
|
820
837
|
orgName: Scalars['String'];
|
|
821
838
|
campaignName: Scalars['String'];
|
|
822
839
|
input: ActionPageInput;
|
|
823
840
|
};
|
|
824
|
-
export
|
|
841
|
+
export type RootMutationTypeLaunchActionPageArgs = {
|
|
825
842
|
name: Scalars['String'];
|
|
826
843
|
message?: Maybe<Scalars['String']>;
|
|
827
844
|
};
|
|
828
|
-
export
|
|
845
|
+
export type RootMutationTypeDeleteActionPageArgs = {
|
|
829
846
|
id?: Maybe<Scalars['Int']>;
|
|
830
847
|
name?: Maybe<Scalars['String']>;
|
|
831
848
|
};
|
|
832
|
-
export
|
|
849
|
+
export type RootMutationTypeAddActionArgs = {
|
|
833
850
|
actionPageId: Scalars['Int'];
|
|
834
851
|
action: ActionInput;
|
|
835
852
|
contactRef: Scalars['ID'];
|
|
836
853
|
tracking?: Maybe<TrackingInput>;
|
|
837
854
|
};
|
|
838
|
-
export
|
|
855
|
+
export type RootMutationTypeAddActionContactArgs = {
|
|
839
856
|
actionPageId: Scalars['Int'];
|
|
840
857
|
action: ActionInput;
|
|
841
858
|
contact: ContactInput;
|
|
@@ -843,44 +860,44 @@ export declare type RootMutationTypeAddActionContactArgs = {
|
|
|
843
860
|
tracking?: Maybe<TrackingInput>;
|
|
844
861
|
contactRef?: Maybe<Scalars['ID']>;
|
|
845
862
|
};
|
|
846
|
-
export
|
|
863
|
+
export type RootMutationTypeLinkActionsArgs = {
|
|
847
864
|
actionPageId: Scalars['Int'];
|
|
848
865
|
contactRef: Scalars['ID'];
|
|
849
866
|
linkRefs?: Maybe<Array<Scalars['String']>>;
|
|
850
867
|
};
|
|
851
|
-
export
|
|
868
|
+
export type RootMutationTypeAddOrgUserArgs = {
|
|
852
869
|
orgName: Scalars['String'];
|
|
853
870
|
input: OrgUserInput;
|
|
854
871
|
};
|
|
855
|
-
export
|
|
872
|
+
export type RootMutationTypeInviteOrgUserArgs = {
|
|
856
873
|
orgName: Scalars['String'];
|
|
857
874
|
input: OrgUserInput;
|
|
858
875
|
message?: Maybe<Scalars['String']>;
|
|
859
876
|
};
|
|
860
|
-
export
|
|
877
|
+
export type RootMutationTypeUpdateOrgUserArgs = {
|
|
861
878
|
orgName: Scalars['String'];
|
|
862
879
|
input: OrgUserInput;
|
|
863
880
|
};
|
|
864
|
-
export
|
|
881
|
+
export type RootMutationTypeDeleteOrgUserArgs = {
|
|
865
882
|
orgName: Scalars['String'];
|
|
866
883
|
email: Scalars['String'];
|
|
867
884
|
};
|
|
868
|
-
export
|
|
885
|
+
export type RootMutationTypeUpdateUserArgs = {
|
|
869
886
|
input: UserDetailsInput;
|
|
870
887
|
id?: Maybe<Scalars['Int']>;
|
|
871
888
|
email?: Maybe<Scalars['String']>;
|
|
872
889
|
};
|
|
873
|
-
export
|
|
890
|
+
export type RootMutationTypeAddOrgArgs = {
|
|
874
891
|
input: OrgInput;
|
|
875
892
|
};
|
|
876
|
-
export
|
|
893
|
+
export type RootMutationTypeDeleteOrgArgs = {
|
|
877
894
|
name: Scalars['String'];
|
|
878
895
|
};
|
|
879
|
-
export
|
|
896
|
+
export type RootMutationTypeUpdateOrgArgs = {
|
|
880
897
|
name: Scalars['String'];
|
|
881
898
|
input: OrgInput;
|
|
882
899
|
};
|
|
883
|
-
export
|
|
900
|
+
export type RootMutationTypeUpdateOrgProcessingArgs = {
|
|
884
901
|
name: Scalars['String'];
|
|
885
902
|
emailBackend?: Maybe<ServiceName>;
|
|
886
903
|
emailFrom?: Maybe<Scalars['String']>;
|
|
@@ -890,67 +907,75 @@ export declare type RootMutationTypeUpdateOrgProcessingArgs = {
|
|
|
890
907
|
customSupporterConfirm?: Maybe<Scalars['Boolean']>;
|
|
891
908
|
customActionConfirm?: Maybe<Scalars['Boolean']>;
|
|
892
909
|
customActionDeliver?: Maybe<Scalars['Boolean']>;
|
|
910
|
+
customEventDeliver?: Maybe<Scalars['Boolean']>;
|
|
893
911
|
sqsDeliver?: Maybe<Scalars['Boolean']>;
|
|
894
912
|
eventBackend?: Maybe<ServiceName>;
|
|
895
913
|
eventProcessing?: Maybe<Scalars['Boolean']>;
|
|
896
914
|
};
|
|
897
|
-
export
|
|
915
|
+
export type RootMutationTypeJoinOrgArgs = {
|
|
898
916
|
name: Scalars['String'];
|
|
899
917
|
};
|
|
900
|
-
export
|
|
918
|
+
export type RootMutationTypeGenerateKeyArgs = {
|
|
901
919
|
orgName: Scalars['String'];
|
|
902
920
|
input: GenKeyInput;
|
|
903
921
|
};
|
|
904
|
-
export
|
|
922
|
+
export type RootMutationTypeAddKeyArgs = {
|
|
905
923
|
orgName: Scalars['String'];
|
|
906
924
|
input: AddKeyInput;
|
|
907
925
|
};
|
|
908
|
-
export
|
|
926
|
+
export type RootMutationTypeActivateKeyArgs = {
|
|
909
927
|
orgName: Scalars['String'];
|
|
910
928
|
id: Scalars['Int'];
|
|
911
929
|
};
|
|
912
|
-
export
|
|
930
|
+
export type RootMutationTypeUpsertTemplateArgs = {
|
|
931
|
+
orgName: Scalars['String'];
|
|
932
|
+
input: EmailTemplateInput;
|
|
933
|
+
};
|
|
934
|
+
export type RootMutationTypeUpsertServiceArgs = {
|
|
913
935
|
orgName: Scalars['String'];
|
|
914
936
|
id?: Maybe<Scalars['Int']>;
|
|
915
937
|
input: ServiceInput;
|
|
916
938
|
};
|
|
917
|
-
export
|
|
939
|
+
export type RootMutationTypeAddStripePaymentIntentArgs = {
|
|
918
940
|
actionPageId: Scalars['Int'];
|
|
919
941
|
input: StripePaymentIntentInput;
|
|
920
942
|
contactRef?: Maybe<Scalars['ID']>;
|
|
943
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
921
944
|
};
|
|
922
|
-
export
|
|
945
|
+
export type RootMutationTypeAddStripeSubscriptionArgs = {
|
|
923
946
|
actionPageId: Scalars['Int'];
|
|
924
947
|
input: StripeSubscriptionInput;
|
|
925
948
|
contactRef?: Maybe<Scalars['ID']>;
|
|
949
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
926
950
|
};
|
|
927
|
-
export
|
|
951
|
+
export type RootMutationTypeAddStripeObjectArgs = {
|
|
928
952
|
actionPageId: Scalars['Int'];
|
|
929
953
|
paymentIntent?: Maybe<Scalars['Json']>;
|
|
930
954
|
subscription?: Maybe<Scalars['Json']>;
|
|
931
955
|
customer?: Maybe<Scalars['Json']>;
|
|
932
956
|
price?: Maybe<Scalars['Json']>;
|
|
957
|
+
testing?: Maybe<Scalars['Boolean']>;
|
|
933
958
|
};
|
|
934
|
-
export
|
|
959
|
+
export type RootMutationTypeAcceptOrgConfirmArgs = {
|
|
935
960
|
name: Scalars['String'];
|
|
936
961
|
confirm: ConfirmInput;
|
|
937
962
|
};
|
|
938
|
-
export
|
|
963
|
+
export type RootMutationTypeRejectOrgConfirmArgs = {
|
|
939
964
|
name: Scalars['String'];
|
|
940
965
|
confirm: ConfirmInput;
|
|
941
966
|
};
|
|
942
|
-
export
|
|
967
|
+
export type RootMutationTypeAcceptUserConfirmArgs = {
|
|
943
968
|
confirm: ConfirmInput;
|
|
944
969
|
};
|
|
945
|
-
export
|
|
970
|
+
export type RootMutationTypeRejectUserConfirmArgs = {
|
|
946
971
|
confirm: ConfirmInput;
|
|
947
972
|
};
|
|
948
|
-
export
|
|
973
|
+
export type RootMutationTypeUpsertTargetsArgs = {
|
|
949
974
|
targets: Array<TargetInput>;
|
|
950
975
|
campaignId: Scalars['Int'];
|
|
951
976
|
replace?: Maybe<Scalars['Boolean']>;
|
|
952
977
|
};
|
|
953
|
-
export
|
|
978
|
+
export type RootQueryType = {
|
|
954
979
|
__typename?: 'RootQueryType';
|
|
955
980
|
/** Get a list of campains */
|
|
956
981
|
campaigns: Array<Campaign>;
|
|
@@ -965,22 +990,22 @@ export declare type RootQueryType = {
|
|
|
965
990
|
/** Organization api (authenticated) */
|
|
966
991
|
org: PrivateOrg;
|
|
967
992
|
};
|
|
968
|
-
export
|
|
993
|
+
export type RootQueryTypeCampaignsArgs = {
|
|
969
994
|
title?: Maybe<Scalars['String']>;
|
|
970
995
|
name?: Maybe<Scalars['String']>;
|
|
971
996
|
id?: Maybe<Scalars['Int']>;
|
|
972
997
|
};
|
|
973
|
-
export
|
|
998
|
+
export type RootQueryTypeCampaignArgs = {
|
|
974
999
|
id?: Maybe<Scalars['Int']>;
|
|
975
1000
|
name?: Maybe<Scalars['String']>;
|
|
976
1001
|
externalId?: Maybe<Scalars['Int']>;
|
|
977
1002
|
};
|
|
978
|
-
export
|
|
1003
|
+
export type RootQueryTypeActionPageArgs = {
|
|
979
1004
|
id?: Maybe<Scalars['Int']>;
|
|
980
1005
|
name?: Maybe<Scalars['String']>;
|
|
981
1006
|
url?: Maybe<Scalars['String']>;
|
|
982
1007
|
};
|
|
983
|
-
export
|
|
1008
|
+
export type RootQueryTypeExportActionsArgs = {
|
|
984
1009
|
orgName: Scalars['String'];
|
|
985
1010
|
campaignName?: Maybe<Scalars['String']>;
|
|
986
1011
|
campaignId?: Maybe<Scalars['Int']>;
|
|
@@ -991,43 +1016,43 @@ export declare type RootQueryTypeExportActionsArgs = {
|
|
|
991
1016
|
onlyDoubleOptIn?: Maybe<Scalars['Boolean']>;
|
|
992
1017
|
includeTesting?: Maybe<Scalars['Boolean']>;
|
|
993
1018
|
};
|
|
994
|
-
export
|
|
1019
|
+
export type RootQueryTypeUsersArgs = {
|
|
995
1020
|
select?: Maybe<SelectUser>;
|
|
996
1021
|
};
|
|
997
|
-
export
|
|
1022
|
+
export type RootQueryTypeOrgArgs = {
|
|
998
1023
|
name: Scalars['String'];
|
|
999
1024
|
};
|
|
1000
|
-
export
|
|
1025
|
+
export type RootSubscriptionType = {
|
|
1001
1026
|
__typename?: 'RootSubscriptionType';
|
|
1002
1027
|
actionPageUpserted: ActionPage;
|
|
1003
1028
|
};
|
|
1004
|
-
export
|
|
1029
|
+
export type RootSubscriptionTypeActionPageUpsertedArgs = {
|
|
1005
1030
|
orgName?: Maybe<Scalars['String']>;
|
|
1006
1031
|
};
|
|
1007
|
-
export
|
|
1032
|
+
export type SelectActionPage = {
|
|
1008
1033
|
campaignId?: Maybe<Scalars['Int']>;
|
|
1009
1034
|
};
|
|
1010
|
-
export
|
|
1035
|
+
export type SelectCampaign = {
|
|
1011
1036
|
titleLike?: Maybe<Scalars['String']>;
|
|
1012
1037
|
orgName?: Maybe<Scalars['String']>;
|
|
1013
1038
|
};
|
|
1014
|
-
export
|
|
1039
|
+
export type SelectKey = {
|
|
1015
1040
|
id?: Maybe<Scalars['Int']>;
|
|
1016
1041
|
active?: Maybe<Scalars['Boolean']>;
|
|
1017
1042
|
public?: Maybe<Scalars['String']>;
|
|
1018
1043
|
};
|
|
1019
|
-
export
|
|
1044
|
+
export type SelectService = {
|
|
1020
1045
|
name?: Maybe<ServiceName>;
|
|
1021
1046
|
};
|
|
1022
1047
|
/** Criteria to filter users */
|
|
1023
|
-
export
|
|
1048
|
+
export type SelectUser = {
|
|
1024
1049
|
id?: Maybe<Scalars['Int']>;
|
|
1025
1050
|
/** Use % as wildcard */
|
|
1026
1051
|
email?: Maybe<Scalars['String']>;
|
|
1027
1052
|
/** Exact org name */
|
|
1028
1053
|
orgName?: Maybe<Scalars['String']>;
|
|
1029
1054
|
};
|
|
1030
|
-
export
|
|
1055
|
+
export type Service = {
|
|
1031
1056
|
__typename?: 'Service';
|
|
1032
1057
|
id: Scalars['Int'];
|
|
1033
1058
|
name: ServiceName;
|
|
@@ -1035,7 +1060,7 @@ export declare type Service = {
|
|
|
1035
1060
|
user: Maybe<Scalars['String']>;
|
|
1036
1061
|
path: Maybe<Scalars['String']>;
|
|
1037
1062
|
};
|
|
1038
|
-
export
|
|
1063
|
+
export type ServiceInput = {
|
|
1039
1064
|
name: ServiceName;
|
|
1040
1065
|
host?: Maybe<Scalars['String']>;
|
|
1041
1066
|
user?: Maybe<Scalars['String']>;
|
|
@@ -1048,6 +1073,7 @@ export declare enum ServiceName {
|
|
|
1048
1073
|
Mailjet = "MAILJET",
|
|
1049
1074
|
Wordpress = "WORDPRESS",
|
|
1050
1075
|
Stripe = "STRIPE",
|
|
1076
|
+
TestStripe = "TEST_STRIPE",
|
|
1051
1077
|
Webhook = "WEBHOOK"
|
|
1052
1078
|
}
|
|
1053
1079
|
export declare enum Status {
|
|
@@ -1058,41 +1084,43 @@ export declare enum Status {
|
|
|
1058
1084
|
/** Operation had no effect (already done) */
|
|
1059
1085
|
Noop = "NOOP"
|
|
1060
1086
|
}
|
|
1061
|
-
export
|
|
1087
|
+
export type StripePaymentIntentInput = {
|
|
1062
1088
|
amount: Scalars['Int'];
|
|
1063
1089
|
currency: Scalars['String'];
|
|
1064
1090
|
paymentMethodTypes?: Maybe<Array<Scalars['String']>>;
|
|
1065
1091
|
};
|
|
1066
|
-
export
|
|
1092
|
+
export type StripeSubscriptionInput = {
|
|
1067
1093
|
amount: Scalars['Int'];
|
|
1068
1094
|
currency: Scalars['String'];
|
|
1069
1095
|
frequencyUnit: DonationFrequencyUnit;
|
|
1070
1096
|
};
|
|
1071
|
-
export
|
|
1097
|
+
export type Target = {
|
|
1072
1098
|
id: Scalars['String'];
|
|
1073
1099
|
name: Scalars['String'];
|
|
1074
1100
|
externalId: Scalars['String'];
|
|
1101
|
+
locale: Maybe<Scalars['String']>;
|
|
1075
1102
|
area: Maybe<Scalars['String']>;
|
|
1076
1103
|
fields: Maybe<Scalars['Json']>;
|
|
1077
1104
|
};
|
|
1078
|
-
export
|
|
1105
|
+
export type TargetEmail = {
|
|
1079
1106
|
__typename?: 'TargetEmail';
|
|
1080
1107
|
email: Scalars['String'];
|
|
1081
1108
|
emailStatus: EmailStatus;
|
|
1082
1109
|
error: Maybe<Scalars['String']>;
|
|
1083
1110
|
};
|
|
1084
|
-
export
|
|
1111
|
+
export type TargetEmailInput = {
|
|
1085
1112
|
email: Scalars['String'];
|
|
1086
1113
|
};
|
|
1087
|
-
export
|
|
1114
|
+
export type TargetInput = {
|
|
1088
1115
|
name?: Maybe<Scalars['String']>;
|
|
1089
|
-
area?: Maybe<Scalars['String']>;
|
|
1090
1116
|
externalId: Scalars['String'];
|
|
1117
|
+
locale?: Maybe<Scalars['String']>;
|
|
1118
|
+
area?: Maybe<Scalars['String']>;
|
|
1091
1119
|
fields?: Maybe<Scalars['Json']>;
|
|
1092
1120
|
emails?: Maybe<Array<TargetEmailInput>>;
|
|
1093
1121
|
};
|
|
1094
1122
|
/** Tracking codes */
|
|
1095
|
-
export
|
|
1123
|
+
export type Tracking = {
|
|
1096
1124
|
__typename?: 'Tracking';
|
|
1097
1125
|
source: Scalars['String'];
|
|
1098
1126
|
medium: Scalars['String'];
|
|
@@ -1100,7 +1128,7 @@ export declare type Tracking = {
|
|
|
1100
1128
|
content: Scalars['String'];
|
|
1101
1129
|
};
|
|
1102
1130
|
/** Tracking codes */
|
|
1103
|
-
export
|
|
1131
|
+
export type TrackingInput = {
|
|
1104
1132
|
source: Scalars['String'];
|
|
1105
1133
|
medium: Scalars['String'];
|
|
1106
1134
|
campaign: Scalars['String'];
|
|
@@ -1108,22 +1136,23 @@ export declare type TrackingInput = {
|
|
|
1108
1136
|
/** Action page location. Url from which action is added. Must contain schema, domain, (port), pathname */
|
|
1109
1137
|
location?: Maybe<Scalars['String']>;
|
|
1110
1138
|
};
|
|
1111
|
-
export
|
|
1139
|
+
export type User = {
|
|
1112
1140
|
__typename?: 'User';
|
|
1113
1141
|
id: Scalars['Int'];
|
|
1114
1142
|
email: Scalars['String'];
|
|
1115
1143
|
phone: Maybe<Scalars['String']>;
|
|
1116
1144
|
pictureUrl: Maybe<Scalars['String']>;
|
|
1117
1145
|
jobTitle: Maybe<Scalars['String']>;
|
|
1146
|
+
apiToken: Maybe<ApiToken>;
|
|
1118
1147
|
isAdmin: Scalars['Boolean'];
|
|
1119
1148
|
roles: Array<UserRole>;
|
|
1120
1149
|
};
|
|
1121
|
-
export
|
|
1150
|
+
export type UserDetailsInput = {
|
|
1122
1151
|
pictureUrl?: Maybe<Scalars['String']>;
|
|
1123
1152
|
jobTitle?: Maybe<Scalars['String']>;
|
|
1124
1153
|
phone?: Maybe<Scalars['String']>;
|
|
1125
1154
|
};
|
|
1126
|
-
export
|
|
1155
|
+
export type UserRole = {
|
|
1127
1156
|
__typename?: 'UserRole';
|
|
1128
1157
|
org: Org;
|
|
1129
1158
|
role: Scalars['String'];
|
|
@@ -1268,7 +1297,7 @@ export declare const ActionPageSetExtraDocument: DocumentNode<ActionPageSetExtra
|
|
|
1268
1297
|
id: Scalars['Int'];
|
|
1269
1298
|
extra: Scalars['Int'];
|
|
1270
1299
|
}>>;
|
|
1271
|
-
export
|
|
1300
|
+
export type CampaignOverview = ({
|
|
1272
1301
|
__typename?: 'PrivateCampaign';
|
|
1273
1302
|
} & {
|
|
1274
1303
|
org: ({
|
|
@@ -1277,11 +1306,11 @@ export declare type CampaignOverview = ({
|
|
|
1277
1306
|
__typename?: 'PublicOrg';
|
|
1278
1307
|
} & OrgIds_PublicOrg_);
|
|
1279
1308
|
} & CampaignFields_PrivateCampaign_ & CampaignPrivateFields & CampaignAllStats_PrivateCampaign_ & CampaignPartnerships);
|
|
1280
|
-
export
|
|
1309
|
+
export type GetCampaignVariables = Exact<{
|
|
1281
1310
|
org: Scalars['String'];
|
|
1282
1311
|
id: Scalars['Int'];
|
|
1283
1312
|
}>;
|
|
1284
|
-
export
|
|
1313
|
+
export type GetCampaign = ({
|
|
1285
1314
|
__typename?: 'RootQueryType';
|
|
1286
1315
|
} & {
|
|
1287
1316
|
org: ({
|
|
@@ -1306,11 +1335,11 @@ export declare type GetCampaign = ({
|
|
|
1306
1335
|
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_);
|
|
1307
1336
|
});
|
|
1308
1337
|
});
|
|
1309
|
-
export
|
|
1338
|
+
export type FindPublicCampaignVariables = Exact<{
|
|
1310
1339
|
name?: Maybe<Scalars['String']>;
|
|
1311
1340
|
title?: Maybe<Scalars['String']>;
|
|
1312
1341
|
}>;
|
|
1313
|
-
export
|
|
1342
|
+
export type FindPublicCampaign = ({
|
|
1314
1343
|
__typename?: 'RootQueryType';
|
|
1315
1344
|
} & {
|
|
1316
1345
|
campaigns: Array<({
|
|
@@ -1331,10 +1360,10 @@ export declare type FindPublicCampaign = ({
|
|
|
1331
1360
|
} & OrgIds_PublicOrg_);
|
|
1332
1361
|
} & CampaignFields_PublicCampaign_)>;
|
|
1333
1362
|
});
|
|
1334
|
-
export
|
|
1363
|
+
export type ListCampaignsVariables = Exact<{
|
|
1335
1364
|
org: Scalars['String'];
|
|
1336
1365
|
}>;
|
|
1337
|
-
export
|
|
1366
|
+
export type ListCampaigns = ({
|
|
1338
1367
|
__typename?: 'RootQueryType';
|
|
1339
1368
|
} & {
|
|
1340
1369
|
org: ({
|
|
@@ -1359,7 +1388,7 @@ export declare type ListCampaigns = ({
|
|
|
1359
1388
|
} & CampaignFields_PublicCampaign_)>;
|
|
1360
1389
|
});
|
|
1361
1390
|
});
|
|
1362
|
-
|
|
1391
|
+
type ActionPageOwners_PrivateActionPage_ = ({
|
|
1363
1392
|
__typename?: 'PrivateActionPage';
|
|
1364
1393
|
} & {
|
|
1365
1394
|
campaign: ({
|
|
@@ -1385,7 +1414,7 @@ declare type ActionPageOwners_PrivateActionPage_ = ({
|
|
|
1385
1414
|
__typename?: 'PublicOrg';
|
|
1386
1415
|
} & OrgIds_PublicOrg_);
|
|
1387
1416
|
} & ActionPageFields_PrivateActionPage_);
|
|
1388
|
-
|
|
1417
|
+
type ActionPageOwners_PublicActionPage_ = ({
|
|
1389
1418
|
__typename?: 'PublicActionPage';
|
|
1390
1419
|
} & {
|
|
1391
1420
|
campaign: ({
|
|
@@ -1411,11 +1440,11 @@ declare type ActionPageOwners_PublicActionPage_ = ({
|
|
|
1411
1440
|
__typename?: 'PublicOrg';
|
|
1412
1441
|
} & OrgIds_PublicOrg_);
|
|
1413
1442
|
} & ActionPageFields_PublicActionPage_);
|
|
1414
|
-
export
|
|
1415
|
-
export
|
|
1443
|
+
export type ActionPageOwners = ActionPageOwners_PrivateActionPage_ | ActionPageOwners_PublicActionPage_;
|
|
1444
|
+
export type ListActionPagesVariables = Exact<{
|
|
1416
1445
|
org: Scalars['String'];
|
|
1417
1446
|
}>;
|
|
1418
|
-
export
|
|
1447
|
+
export type ListActionPages = ({
|
|
1419
1448
|
__typename?: 'RootQueryType';
|
|
1420
1449
|
} & {
|
|
1421
1450
|
org: ({
|
|
@@ -1428,12 +1457,12 @@ export declare type ListActionPages = ({
|
|
|
1428
1457
|
} & ActionPageOwners_PublicActionPage_)>;
|
|
1429
1458
|
});
|
|
1430
1459
|
});
|
|
1431
|
-
export
|
|
1460
|
+
export type GetActionPageVariables = Exact<{
|
|
1432
1461
|
org: Scalars['String'];
|
|
1433
1462
|
id?: Maybe<Scalars['Int']>;
|
|
1434
1463
|
name?: Maybe<Scalars['String']>;
|
|
1435
1464
|
}>;
|
|
1436
|
-
export
|
|
1465
|
+
export type GetActionPage = ({
|
|
1437
1466
|
__typename?: 'RootQueryType';
|
|
1438
1467
|
} & {
|
|
1439
1468
|
org: ({
|
|
@@ -1458,11 +1487,11 @@ export declare type GetActionPage = ({
|
|
|
1458
1487
|
} & ActionPageOwners_PublicActionPage_);
|
|
1459
1488
|
});
|
|
1460
1489
|
});
|
|
1461
|
-
export
|
|
1490
|
+
export type GetPublicActionPageVariables = Exact<{
|
|
1462
1491
|
name?: Maybe<Scalars['String']>;
|
|
1463
1492
|
id?: Maybe<Scalars['Int']>;
|
|
1464
1493
|
}>;
|
|
1465
|
-
export
|
|
1494
|
+
export type GetPublicActionPage = ({
|
|
1466
1495
|
__typename?: 'RootQueryType';
|
|
1467
1496
|
} & {
|
|
1468
1497
|
actionPage: ({
|
|
@@ -1471,11 +1500,11 @@ export declare type GetPublicActionPage = ({
|
|
|
1471
1500
|
__typename?: 'PublicActionPage';
|
|
1472
1501
|
} & ActionPageOwners_PublicActionPage_);
|
|
1473
1502
|
});
|
|
1474
|
-
export
|
|
1503
|
+
export type ListActionPagesByCampaignVariables = Exact<{
|
|
1475
1504
|
org: Scalars['String'];
|
|
1476
1505
|
campaignId: Scalars['Int'];
|
|
1477
1506
|
}>;
|
|
1478
|
-
export
|
|
1507
|
+
export type ListActionPagesByCampaign = ({
|
|
1479
1508
|
__typename?: 'RootQueryType';
|
|
1480
1509
|
} & {
|
|
1481
1510
|
org: ({
|
|
@@ -1500,11 +1529,11 @@ export declare type ListActionPagesByCampaign = ({
|
|
|
1500
1529
|
} & ActionPageFields_PublicActionPage_)>;
|
|
1501
1530
|
});
|
|
1502
1531
|
});
|
|
1503
|
-
export
|
|
1532
|
+
export type UpdateActionPageVariables = Exact<{
|
|
1504
1533
|
id: Scalars['Int'];
|
|
1505
1534
|
actionPage: ActionPageInput;
|
|
1506
1535
|
}>;
|
|
1507
|
-
export
|
|
1536
|
+
export type UpdateActionPage = ({
|
|
1508
1537
|
__typename?: 'RootMutationType';
|
|
1509
1538
|
} & {
|
|
1510
1539
|
updateActionPage: ({
|
|
@@ -1513,10 +1542,10 @@ export declare type UpdateActionPage = ({
|
|
|
1513
1542
|
__typename?: 'PublicActionPage';
|
|
1514
1543
|
} & Pick<PublicActionPage, 'id'>);
|
|
1515
1544
|
});
|
|
1516
|
-
export
|
|
1545
|
+
export type PubListCampaignVariables = Exact<{
|
|
1517
1546
|
name: Scalars['String'];
|
|
1518
1547
|
}>;
|
|
1519
|
-
export
|
|
1548
|
+
export type PubListCampaign = ({
|
|
1520
1549
|
__typename?: 'RootQueryType';
|
|
1521
1550
|
} & {
|
|
1522
1551
|
campaigns: Array<({
|
|
@@ -1525,7 +1554,7 @@ export declare type PubListCampaign = ({
|
|
|
1525
1554
|
__typename?: 'PublicCampaign';
|
|
1526
1555
|
} & CampaignFields_PublicCampaign_)>;
|
|
1527
1556
|
});
|
|
1528
|
-
export
|
|
1557
|
+
export type ExportCampaignActionsVariables = Exact<{
|
|
1529
1558
|
org: Scalars['String'];
|
|
1530
1559
|
campaignId?: Maybe<Scalars['Int']>;
|
|
1531
1560
|
campaignName?: Maybe<Scalars['String']>;
|
|
@@ -1534,7 +1563,7 @@ export declare type ExportCampaignActionsVariables = Exact<{
|
|
|
1534
1563
|
limit?: Maybe<Scalars['Int']>;
|
|
1535
1564
|
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1536
1565
|
}>;
|
|
1537
|
-
export
|
|
1566
|
+
export type ExportCampaignActions = ({
|
|
1538
1567
|
__typename?: 'RootQueryType';
|
|
1539
1568
|
} & {
|
|
1540
1569
|
org: ({
|
|
@@ -1561,14 +1590,14 @@ export declare type ExportCampaignActions = ({
|
|
|
1561
1590
|
} & ActionPageIds_PublicActionPage_);
|
|
1562
1591
|
} & ActionExport)>>;
|
|
1563
1592
|
});
|
|
1564
|
-
export
|
|
1593
|
+
export type ExportOrgActionsVariables = Exact<{
|
|
1565
1594
|
org: Scalars['String'];
|
|
1566
1595
|
start?: Maybe<Scalars['Int']>;
|
|
1567
1596
|
after?: Maybe<Scalars['DateTime']>;
|
|
1568
1597
|
limit?: Maybe<Scalars['Int']>;
|
|
1569
1598
|
onlyOptIn?: Maybe<Scalars['Boolean']>;
|
|
1570
1599
|
}>;
|
|
1571
|
-
export
|
|
1600
|
+
export type ExportOrgActions = ({
|
|
1572
1601
|
__typename?: 'RootQueryType';
|
|
1573
1602
|
} & {
|
|
1574
1603
|
org: ({
|
|
@@ -1600,12 +1629,12 @@ export declare type ExportOrgActions = ({
|
|
|
1600
1629
|
} & CampaignExportIds_PublicCampaign_);
|
|
1601
1630
|
} & ActionExport)>>;
|
|
1602
1631
|
});
|
|
1603
|
-
export
|
|
1632
|
+
export type CopyActionPageVariables = Exact<{
|
|
1604
1633
|
fromName: Scalars['String'];
|
|
1605
1634
|
toOrg: Scalars['String'];
|
|
1606
1635
|
toName: Scalars['String'];
|
|
1607
1636
|
}>;
|
|
1608
|
-
export
|
|
1637
|
+
export type CopyActionPage = ({
|
|
1609
1638
|
__typename?: 'RootMutationType';
|
|
1610
1639
|
} & {
|
|
1611
1640
|
copyActionPage: ({
|
|
@@ -1626,12 +1655,12 @@ export declare type CopyActionPage = ({
|
|
|
1626
1655
|
} & CampaignFields_PublicCampaign_);
|
|
1627
1656
|
} & ActionPageFields_PublicActionPage_);
|
|
1628
1657
|
});
|
|
1629
|
-
export
|
|
1658
|
+
export type CopyCampaignActionPageVariables = Exact<{
|
|
1630
1659
|
fromCampaign: Scalars['String'];
|
|
1631
1660
|
toOrg: Scalars['String'];
|
|
1632
1661
|
toName: Scalars['String'];
|
|
1633
1662
|
}>;
|
|
1634
|
-
export
|
|
1663
|
+
export type CopyCampaignActionPage = ({
|
|
1635
1664
|
__typename?: 'RootMutationType';
|
|
1636
1665
|
} & {
|
|
1637
1666
|
copyCampaignActionPage: ({
|
|
@@ -1652,21 +1681,21 @@ export declare type CopyCampaignActionPage = ({
|
|
|
1652
1681
|
} & CampaignIds_PublicCampaign_);
|
|
1653
1682
|
} & ActionPageFields_PublicActionPage_);
|
|
1654
1683
|
});
|
|
1655
|
-
export
|
|
1684
|
+
export type JoinOrgVariables = Exact<{
|
|
1656
1685
|
orgName: Scalars['String'];
|
|
1657
1686
|
}>;
|
|
1658
|
-
export
|
|
1687
|
+
export type JoinOrg = ({
|
|
1659
1688
|
__typename?: 'RootMutationType';
|
|
1660
1689
|
} & {
|
|
1661
1690
|
joinOrg: ({
|
|
1662
1691
|
__typename?: 'JoinOrgResult';
|
|
1663
1692
|
} & Pick<JoinOrgResult, 'status'>);
|
|
1664
1693
|
});
|
|
1665
|
-
export
|
|
1694
|
+
export type UpsertCampaignVariables = Exact<{
|
|
1666
1695
|
org: Scalars['String'];
|
|
1667
1696
|
campaign: CampaignInput;
|
|
1668
1697
|
}>;
|
|
1669
|
-
export
|
|
1698
|
+
export type UpsertCampaign = ({
|
|
1670
1699
|
__typename?: 'RootMutationType';
|
|
1671
1700
|
} & {
|
|
1672
1701
|
upsertCampaign: ({
|
|
@@ -1675,10 +1704,10 @@ export declare type UpsertCampaign = ({
|
|
|
1675
1704
|
__typename?: 'PublicCampaign';
|
|
1676
1705
|
} & Pick<PublicCampaign, 'id'>);
|
|
1677
1706
|
});
|
|
1678
|
-
export
|
|
1707
|
+
export type ListKeysVariables = Exact<{
|
|
1679
1708
|
org: Scalars['String'];
|
|
1680
1709
|
}>;
|
|
1681
|
-
export
|
|
1710
|
+
export type ListKeys = ({
|
|
1682
1711
|
__typename?: 'RootQueryType';
|
|
1683
1712
|
} & {
|
|
1684
1713
|
org: ({
|
|
@@ -1689,43 +1718,43 @@ export declare type ListKeys = ({
|
|
|
1689
1718
|
} & KeyFields)>;
|
|
1690
1719
|
});
|
|
1691
1720
|
});
|
|
1692
|
-
export
|
|
1721
|
+
export type GenerateKeyVariables = Exact<{
|
|
1693
1722
|
org: Scalars['String'];
|
|
1694
1723
|
input: GenKeyInput;
|
|
1695
1724
|
}>;
|
|
1696
|
-
export
|
|
1725
|
+
export type GenerateKey = ({
|
|
1697
1726
|
__typename?: 'RootMutationType';
|
|
1698
1727
|
} & {
|
|
1699
1728
|
generateKey: ({
|
|
1700
1729
|
__typename?: 'KeyWithPrivate';
|
|
1701
1730
|
} & Pick<KeyWithPrivate, 'id' | 'name' | 'public' | 'private' | 'active' | 'expired' | 'expiredAt'>);
|
|
1702
1731
|
});
|
|
1703
|
-
export
|
|
1732
|
+
export type AddKeyVariables = Exact<{
|
|
1704
1733
|
org: Scalars['String'];
|
|
1705
1734
|
input: AddKeyInput;
|
|
1706
1735
|
}>;
|
|
1707
|
-
export
|
|
1736
|
+
export type AddKey = ({
|
|
1708
1737
|
__typename?: 'RootMutationType';
|
|
1709
1738
|
} & {
|
|
1710
1739
|
addKey: ({
|
|
1711
1740
|
__typename?: 'Key';
|
|
1712
1741
|
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
1713
1742
|
});
|
|
1714
|
-
export
|
|
1743
|
+
export type ActivateKeyVariables = Exact<{
|
|
1715
1744
|
org: Scalars['String'];
|
|
1716
1745
|
id: Scalars['Int'];
|
|
1717
1746
|
}>;
|
|
1718
|
-
export
|
|
1747
|
+
export type ActivateKey = ({
|
|
1719
1748
|
__typename?: 'RootMutationType';
|
|
1720
1749
|
} & {
|
|
1721
1750
|
activateKey: ({
|
|
1722
1751
|
__typename?: 'ActivateKeyResult';
|
|
1723
1752
|
} & Pick<ActivateKeyResult, 'status'>);
|
|
1724
1753
|
});
|
|
1725
|
-
export
|
|
1754
|
+
export type AddOrgVariables = Exact<{
|
|
1726
1755
|
org: OrgInput;
|
|
1727
1756
|
}>;
|
|
1728
|
-
export
|
|
1757
|
+
export type AddOrg = ({
|
|
1729
1758
|
__typename?: 'RootMutationType';
|
|
1730
1759
|
} & {
|
|
1731
1760
|
addOrg: ({
|
|
@@ -1734,21 +1763,21 @@ export declare type AddOrg = ({
|
|
|
1734
1763
|
__typename?: 'PublicOrg';
|
|
1735
1764
|
} & OrgIds_PublicOrg_);
|
|
1736
1765
|
});
|
|
1737
|
-
export
|
|
1766
|
+
export type UpdateOrgVariables = Exact<{
|
|
1738
1767
|
orgName: Scalars['String'];
|
|
1739
1768
|
org: OrgInput;
|
|
1740
1769
|
}>;
|
|
1741
|
-
export
|
|
1770
|
+
export type UpdateOrg = ({
|
|
1742
1771
|
__typename?: 'RootMutationType';
|
|
1743
1772
|
} & {
|
|
1744
1773
|
updateOrg: ({
|
|
1745
1774
|
__typename?: 'PrivateOrg';
|
|
1746
1775
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1747
1776
|
});
|
|
1748
|
-
export
|
|
1777
|
+
export type ActionPageUpsertedVariables = Exact<{
|
|
1749
1778
|
org?: Maybe<Scalars['String']>;
|
|
1750
1779
|
}>;
|
|
1751
|
-
export
|
|
1780
|
+
export type ActionPageUpserted = ({
|
|
1752
1781
|
__typename?: 'RootSubscriptionType';
|
|
1753
1782
|
} & {
|
|
1754
1783
|
actionPageUpserted: ({
|
|
@@ -1757,10 +1786,10 @@ export declare type ActionPageUpserted = ({
|
|
|
1757
1786
|
__typename?: 'PublicActionPage';
|
|
1758
1787
|
} & ActionPageOwners_PublicActionPage_);
|
|
1759
1788
|
});
|
|
1760
|
-
export
|
|
1789
|
+
export type CurrentUserOrgsVariables = Exact<{
|
|
1761
1790
|
[key: string]: never;
|
|
1762
1791
|
}>;
|
|
1763
|
-
export
|
|
1792
|
+
export type CurrentUserOrgs = ({
|
|
1764
1793
|
__typename?: 'RootQueryType';
|
|
1765
1794
|
} & {
|
|
1766
1795
|
currentUser: ({
|
|
@@ -1777,10 +1806,10 @@ export declare type CurrentUserOrgs = ({
|
|
|
1777
1806
|
})>;
|
|
1778
1807
|
});
|
|
1779
1808
|
});
|
|
1780
|
-
export
|
|
1809
|
+
export type DashOrgOverviewVariables = Exact<{
|
|
1781
1810
|
org: Scalars['String'];
|
|
1782
1811
|
}>;
|
|
1783
|
-
export
|
|
1812
|
+
export type DashOrgOverview = ({
|
|
1784
1813
|
__typename?: 'RootQueryType';
|
|
1785
1814
|
} & {
|
|
1786
1815
|
org: ({
|
|
@@ -1805,10 +1834,10 @@ export declare type DashOrgOverview = ({
|
|
|
1805
1834
|
} & CampaignFields_PublicCampaign_ & CampaignAllStats_PublicCampaign_)>;
|
|
1806
1835
|
} & OrgPrivateFields);
|
|
1807
1836
|
});
|
|
1808
|
-
export
|
|
1837
|
+
export type GetOrgVariables = Exact<{
|
|
1809
1838
|
org: Scalars['String'];
|
|
1810
1839
|
}>;
|
|
1811
|
-
export
|
|
1840
|
+
export type GetOrg = ({
|
|
1812
1841
|
__typename?: 'RootQueryType';
|
|
1813
1842
|
} & {
|
|
1814
1843
|
org: ({
|
|
@@ -1822,31 +1851,31 @@ export declare type GetOrg = ({
|
|
|
1822
1851
|
} & ServiceFields)>>;
|
|
1823
1852
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1824
1853
|
});
|
|
1825
|
-
export
|
|
1854
|
+
export type GetOrgAttrsVariables = Exact<{
|
|
1826
1855
|
org: Scalars['String'];
|
|
1827
1856
|
}>;
|
|
1828
|
-
export
|
|
1857
|
+
export type GetOrgAttrs = ({
|
|
1829
1858
|
__typename?: 'RootQueryType';
|
|
1830
1859
|
} & {
|
|
1831
1860
|
org: ({
|
|
1832
1861
|
__typename?: 'PrivateOrg';
|
|
1833
1862
|
} & OrgFields_PrivateOrg_ & OrgPrivateFields);
|
|
1834
1863
|
});
|
|
1835
|
-
export
|
|
1864
|
+
export type LaunchActionPageVariables = Exact<{
|
|
1836
1865
|
name: Scalars['String'];
|
|
1837
1866
|
}>;
|
|
1838
|
-
export
|
|
1867
|
+
export type LaunchActionPage = ({
|
|
1839
1868
|
__typename?: 'RootMutationType';
|
|
1840
1869
|
} & {
|
|
1841
1870
|
launchActionPage: ({
|
|
1842
1871
|
__typename?: 'LaunchActionPageResult';
|
|
1843
1872
|
} & Pick<LaunchActionPageResult, 'status'>);
|
|
1844
1873
|
});
|
|
1845
|
-
export
|
|
1874
|
+
export type AcceptLaunchRequestVariables = Exact<{
|
|
1846
1875
|
org: Scalars['String'];
|
|
1847
1876
|
confirm: ConfirmInput;
|
|
1848
1877
|
}>;
|
|
1849
|
-
export
|
|
1878
|
+
export type AcceptLaunchRequest = ({
|
|
1850
1879
|
__typename?: 'RootMutationType';
|
|
1851
1880
|
} & {
|
|
1852
1881
|
acceptOrgConfirm: ({
|
|
@@ -1859,49 +1888,49 @@ export declare type AcceptLaunchRequest = ({
|
|
|
1859
1888
|
} & ActionPageFields_PublicActionPage_)>;
|
|
1860
1889
|
});
|
|
1861
1890
|
});
|
|
1862
|
-
export
|
|
1891
|
+
export type RejectLaunchRequestVariables = Exact<{
|
|
1863
1892
|
org: Scalars['String'];
|
|
1864
1893
|
confirm: ConfirmInput;
|
|
1865
1894
|
}>;
|
|
1866
|
-
export
|
|
1895
|
+
export type RejectLaunchRequest = ({
|
|
1867
1896
|
__typename?: 'RootMutationType';
|
|
1868
1897
|
} & {
|
|
1869
1898
|
rejectOrgConfirm: ({
|
|
1870
1899
|
__typename?: 'ConfirmResult';
|
|
1871
1900
|
} & Pick<ConfirmResult, 'status'>);
|
|
1872
1901
|
});
|
|
1873
|
-
|
|
1902
|
+
type OrgIds_PrivateOrg_ = ({
|
|
1874
1903
|
__typename: 'PrivateOrg';
|
|
1875
1904
|
} & Pick<PrivateOrg, 'id' | 'name' | 'title'>);
|
|
1876
|
-
|
|
1905
|
+
type OrgIds_PublicOrg_ = ({
|
|
1877
1906
|
__typename: 'PublicOrg';
|
|
1878
1907
|
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1879
|
-
export
|
|
1880
|
-
|
|
1908
|
+
export type OrgIds = OrgIds_PrivateOrg_ | OrgIds_PublicOrg_;
|
|
1909
|
+
type CampaignIds_PrivateCampaign_ = ({
|
|
1881
1910
|
__typename: 'PrivateCampaign';
|
|
1882
1911
|
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1883
|
-
|
|
1912
|
+
type CampaignIds_PublicCampaign_ = ({
|
|
1884
1913
|
__typename: 'PublicCampaign';
|
|
1885
1914
|
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title'>);
|
|
1886
|
-
export
|
|
1887
|
-
|
|
1915
|
+
export type CampaignIds = CampaignIds_PrivateCampaign_ | CampaignIds_PublicCampaign_;
|
|
1916
|
+
type CampaignExportIds_PrivateCampaign_ = ({
|
|
1888
1917
|
__typename: 'PrivateCampaign';
|
|
1889
1918
|
} & Pick<PrivateCampaign, 'name' | 'externalId'>);
|
|
1890
|
-
|
|
1919
|
+
type CampaignExportIds_PublicCampaign_ = ({
|
|
1891
1920
|
__typename: 'PublicCampaign';
|
|
1892
1921
|
} & Pick<PublicCampaign, 'name' | 'externalId'>);
|
|
1893
|
-
export
|
|
1894
|
-
|
|
1922
|
+
export type CampaignExportIds = CampaignExportIds_PrivateCampaign_ | CampaignExportIds_PublicCampaign_;
|
|
1923
|
+
type CampaignFields_PrivateCampaign_ = ({
|
|
1895
1924
|
__typename: 'PrivateCampaign';
|
|
1896
1925
|
} & Pick<PrivateCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1897
|
-
|
|
1926
|
+
type CampaignFields_PublicCampaign_ = ({
|
|
1898
1927
|
__typename: 'PublicCampaign';
|
|
1899
1928
|
} & Pick<PublicCampaign, 'id' | 'externalId' | 'name' | 'title' | 'contactSchema' | 'config'>);
|
|
1900
|
-
export
|
|
1901
|
-
export
|
|
1929
|
+
export type CampaignFields = CampaignFields_PrivateCampaign_ | CampaignFields_PublicCampaign_;
|
|
1930
|
+
export type CampaignPrivateFields = ({
|
|
1902
1931
|
__typename: 'PrivateCampaign';
|
|
1903
1932
|
} & Pick<PrivateCampaign, 'forceDelivery'>);
|
|
1904
|
-
|
|
1933
|
+
type CampaignAllStats_PrivateCampaign_ = ({
|
|
1905
1934
|
__typename?: 'PrivateCampaign';
|
|
1906
1935
|
} & {
|
|
1907
1936
|
stats: ({
|
|
@@ -1921,7 +1950,7 @@ declare type CampaignAllStats_PrivateCampaign_ = ({
|
|
|
1921
1950
|
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1922
1951
|
});
|
|
1923
1952
|
});
|
|
1924
|
-
|
|
1953
|
+
type CampaignAllStats_PublicCampaign_ = ({
|
|
1925
1954
|
__typename?: 'PublicCampaign';
|
|
1926
1955
|
} & {
|
|
1927
1956
|
stats: ({
|
|
@@ -1941,8 +1970,8 @@ declare type CampaignAllStats_PublicCampaign_ = ({
|
|
|
1941
1970
|
} & Pick<ActionTypeCount, 'actionType' | 'count'>)>;
|
|
1942
1971
|
});
|
|
1943
1972
|
});
|
|
1944
|
-
export
|
|
1945
|
-
export
|
|
1973
|
+
export type CampaignAllStats = CampaignAllStats_PrivateCampaign_ | CampaignAllStats_PublicCampaign_;
|
|
1974
|
+
export type CampaignPartnerships = ({
|
|
1946
1975
|
__typename: 'PrivateCampaign';
|
|
1947
1976
|
} & {
|
|
1948
1977
|
partnerships: Maybe<Array<({
|
|
@@ -1963,44 +1992,44 @@ export declare type CampaignPartnerships = ({
|
|
|
1963
1992
|
} & Pick<Confirm, 'code' | 'email' | 'objectId'>)>;
|
|
1964
1993
|
})>>;
|
|
1965
1994
|
});
|
|
1966
|
-
|
|
1995
|
+
type ActionPageIds_PrivateActionPage_ = ({
|
|
1967
1996
|
__typename?: 'PrivateActionPage';
|
|
1968
1997
|
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale'>);
|
|
1969
|
-
|
|
1998
|
+
type ActionPageIds_PublicActionPage_ = ({
|
|
1970
1999
|
__typename?: 'PublicActionPage';
|
|
1971
2000
|
} & Pick<PublicActionPage, 'id' | 'name' | 'locale'>);
|
|
1972
|
-
export
|
|
1973
|
-
|
|
2001
|
+
export type ActionPageIds = ActionPageIds_PrivateActionPage_ | ActionPageIds_PublicActionPage_;
|
|
2002
|
+
type ActionPageFields_PrivateActionPage_ = ({
|
|
1974
2003
|
__typename: 'PrivateActionPage';
|
|
1975
2004
|
} & Pick<PrivateActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1976
|
-
|
|
2005
|
+
type ActionPageFields_PublicActionPage_ = ({
|
|
1977
2006
|
__typename: 'PublicActionPage';
|
|
1978
2007
|
} & Pick<PublicActionPage, 'id' | 'name' | 'locale' | 'config' | 'live' | 'thankYouTemplate' | 'thankYouTemplateRef'>);
|
|
1979
|
-
export
|
|
1980
|
-
export
|
|
2008
|
+
export type ActionPageFields = ActionPageFields_PrivateActionPage_ | ActionPageFields_PublicActionPage_;
|
|
2009
|
+
export type ActionPagePrivateFields = ({
|
|
1981
2010
|
__typename: 'PrivateActionPage';
|
|
1982
2011
|
} & Pick<PrivateActionPage, 'extraSupporters' | 'delivery'>);
|
|
1983
|
-
|
|
2012
|
+
type OrgFields_PrivateOrg_ = ({
|
|
1984
2013
|
__typename: 'PrivateOrg';
|
|
1985
2014
|
} & Pick<PrivateOrg, 'name' | 'title'>);
|
|
1986
|
-
|
|
2015
|
+
type OrgFields_PublicOrg_ = ({
|
|
1987
2016
|
__typename: 'PublicOrg';
|
|
1988
2017
|
} & Pick<PublicOrg, 'name' | 'title'>);
|
|
1989
|
-
export
|
|
1990
|
-
export
|
|
2018
|
+
export type OrgFields = OrgFields_PrivateOrg_ | OrgFields_PublicOrg_;
|
|
2019
|
+
export type OrgPrivateFields = ({
|
|
1991
2020
|
__typename: 'PrivateOrg';
|
|
1992
2021
|
} & Pick<PrivateOrg, 'config'> & {
|
|
1993
2022
|
personalData: ({
|
|
1994
2023
|
__typename?: 'PersonalData';
|
|
1995
2024
|
} & Pick<PersonalData, 'contactSchema' | 'supporterConfirm' | 'supporterConfirmTemplate'>);
|
|
1996
2025
|
});
|
|
1997
|
-
export
|
|
2026
|
+
export type KeyFields = ({
|
|
1998
2027
|
__typename?: 'Key';
|
|
1999
2028
|
} & Pick<Key, 'id' | 'name' | 'public' | 'active' | 'expired' | 'expiredAt'>);
|
|
2000
|
-
export
|
|
2029
|
+
export type ServiceFields = ({
|
|
2001
2030
|
__typename?: 'Service';
|
|
2002
2031
|
} & Pick<Service, 'id' | 'name' | 'host' | 'user' | 'path'>);
|
|
2003
|
-
export
|
|
2032
|
+
export type ContactExport = ({
|
|
2004
2033
|
__typename?: 'Contact';
|
|
2005
2034
|
} & Pick<Contact, 'contactRef' | 'payload' | 'nonce'> & {
|
|
2006
2035
|
publicKey: Maybe<({
|
|
@@ -2010,7 +2039,7 @@ export declare type ContactExport = ({
|
|
|
2010
2039
|
__typename?: 'KeyIds';
|
|
2011
2040
|
} & Pick<KeyIds, 'id' | 'public'>)>;
|
|
2012
2041
|
});
|
|
2013
|
-
export
|
|
2042
|
+
export type ActionExport = ({
|
|
2014
2043
|
__typename?: 'Action';
|
|
2015
2044
|
} & Pick<Action, 'actionId' | 'actionType' | 'createdAt' | 'customFields'> & {
|
|
2016
2045
|
contact: ({
|
|
@@ -2023,10 +2052,10 @@ export declare type ActionExport = ({
|
|
|
2023
2052
|
__typename?: 'Consent';
|
|
2024
2053
|
} & Pick<Consent, 'optIn' | 'givenAt' | 'emailStatus' | 'emailStatusChanged'>);
|
|
2025
2054
|
});
|
|
2026
|
-
export
|
|
2055
|
+
export type ActionPageExtraVariables = Exact<{
|
|
2027
2056
|
id: Scalars['Int'];
|
|
2028
2057
|
}>;
|
|
2029
|
-
export
|
|
2058
|
+
export type ActionPageExtra = ({
|
|
2030
2059
|
__typename?: 'RootQueryType';
|
|
2031
2060
|
} & {
|
|
2032
2061
|
actionPage: ({
|
|
@@ -2035,11 +2064,11 @@ export declare type ActionPageExtra = ({
|
|
|
2035
2064
|
__typename?: 'PublicActionPage';
|
|
2036
2065
|
};
|
|
2037
2066
|
});
|
|
2038
|
-
export
|
|
2067
|
+
export type ActionPageSetExtraVariables = Exact<{
|
|
2039
2068
|
id: Scalars['Int'];
|
|
2040
2069
|
extra: Scalars['Int'];
|
|
2041
2070
|
}>;
|
|
2042
|
-
export
|
|
2071
|
+
export type ActionPageSetExtra = ({
|
|
2043
2072
|
__typename?: 'RootMutationType';
|
|
2044
2073
|
} & {
|
|
2045
2074
|
updateActionPage: ({
|
|
@@ -2048,15 +2077,15 @@ export declare type ActionPageSetExtra = ({
|
|
|
2048
2077
|
__typename: 'PublicActionPage';
|
|
2049
2078
|
};
|
|
2050
2079
|
});
|
|
2051
|
-
export
|
|
2080
|
+
export type ObjectFieldTypes = {
|
|
2052
2081
|
[key: string]: {
|
|
2053
2082
|
[key: string]: string | string[];
|
|
2054
2083
|
};
|
|
2055
2084
|
};
|
|
2056
|
-
export
|
|
2085
|
+
export type OpTypes = {
|
|
2057
2086
|
[key: string]: string | string[];
|
|
2058
2087
|
};
|
|
2059
|
-
export
|
|
2088
|
+
export type ScalarLocations = {
|
|
2060
2089
|
scalars: string[];
|
|
2061
2090
|
inputObjectFieldTypes: ObjectFieldTypes;
|
|
2062
2091
|
outputObjectFieldTypes: ObjectFieldTypes;
|