@proca/cli 3.4.5 → 3.8.3

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