@waldur/notifications 1.0.1-dev.0 → 8.0.8-dev.29

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.
@@ -0,0 +1,1125 @@
1
+ export type BroadcastMessage = {
2
+ readonly uuid?: string;
3
+ readonly created?: string;
4
+ subject?: string;
5
+ body?: string;
6
+ query?: unknown;
7
+ readonly author_full_name?: string;
8
+ readonly emails?: unknown;
9
+ state?: BroadcastMessageStateEnum;
10
+ send_at?: string | null;
11
+ };
12
+ export type BroadcastMessageRequest = {
13
+ subject: string;
14
+ body: string;
15
+ query: unknown;
16
+ send_at?: string | null;
17
+ };
18
+ export type BroadcastMessageStateEnum = 'DRAFT' | 'SCHEDULED' | 'SENT';
19
+ export type EmailHook = {
20
+ readonly url: string;
21
+ readonly uuid: string;
22
+ is_active?: boolean;
23
+ readonly author_uuid: string;
24
+ event_types?: Array<EventTypesEnum>;
25
+ event_groups?: Array<EventGroupsEnum>;
26
+ readonly created: string;
27
+ readonly modified: string;
28
+ readonly hook_type: string;
29
+ readonly author_fullname: string;
30
+ readonly author_username: string;
31
+ readonly author_email: string;
32
+ email: string;
33
+ };
34
+ export type EmailHookRequest = {
35
+ is_active?: boolean;
36
+ event_types?: Array<EventTypesEnum>;
37
+ event_groups?: Array<EventGroupsEnum>;
38
+ email: string;
39
+ };
40
+ export type EmailLog = {
41
+ readonly uuid: string;
42
+ readonly url: string;
43
+ readonly sent_at: string;
44
+ subject: string;
45
+ body: string;
46
+ emails: Array<string>;
47
+ };
48
+ export type EventGroupsEnum = 'access_subnets' | 'auth' | 'call' | 'chat' | 'credits' | 'customers' | 'invoices' | 'offering_accounting' | 'onboarding' | 'permissions' | 'projects' | 'proposal' | 'providers' | 'resources' | 'review' | 'ssh' | 'support' | 'users' | 'terms_of_service';
49
+ export type EventTypesEnum = 'access_subnet_creation_succeeded' | 'access_subnet_deletion_succeeded' | 'access_subnet_update_succeeded' | 'allowed_offerings_have_been_updated' | 'attachment_created' | 'attachment_deleted' | 'attachment_updated' | 'auth_logged_in_with_saml2' | 'auth_logged_in_with_username' | 'auth_logged_in_with_oauth' | 'auth_logged_out' | 'auth_logged_out_with_saml2' | 'auth_login_failed_with_username' | 'block_creation_of_new_resources' | 'block_modification_of_existing_resources' | 'call_document_added' | 'call_document_removed' | 'create_of_credit_by_staff' | 'create_of_project_credit_by_staff' | 'custom_notification' | 'customer_creation_succeeded' | 'customer_deletion_succeeded' | 'customer_update_succeeded' | 'customer_permission_review_created' | 'customer_permission_review_closed' | 'droplet_resize_scheduled' | 'droplet_resize_succeeded' | 'freeipa_profile_created' | 'freeipa_profile_deleted' | 'freeipa_profile_disabled' | 'freeipa_profile_enabled' | 'invoice_canceled' | 'invoice_created' | 'invoice_item_created' | 'invoice_item_deleted' | 'invoice_item_updated' | 'invoice_paid' | 'issue_creation_succeeded' | 'issue_deletion_succeeded' | 'issue_update_succeeded' | 'marketplace_offering_component_created' | 'marketplace_offering_component_deleted' | 'marketplace_offering_component_updated' | 'marketplace_offering_created' | 'marketplace_offering_role_created' | 'marketplace_offering_role_deleted' | 'marketplace_offering_role_updated' | 'marketplace_offering_updated' | 'marketplace_offering_user_created' | 'marketplace_offering_user_updated' | 'marketplace_offering_user_deleted' | 'marketplace_offering_user_restriction_updated' | 'marketplace_order_approved' | 'marketplace_order_completed' | 'marketplace_order_created' | 'marketplace_order_failed' | 'marketplace_order_rejected' | 'marketplace_order_terminated' | 'marketplace_order_unlinked' | 'marketplace_plan_archived' | 'marketplace_plan_component_current_price_updated' | 'marketplace_plan_component_future_price_updated' | 'marketplace_plan_component_quota_updated' | 'marketplace_plan_created' | 'marketplace_plan_updated' | 'marketplace_plan_deleted' | 'marketplace_resource_create_canceled' | 'marketplace_resource_create_failed' | 'marketplace_resource_create_requested' | 'marketplace_resource_create_succeeded' | 'marketplace_resource_downscaled' | 'marketplace_resource_erred_on_backend' | 'marketplace_resource_paused' | 'marketplace_resource_terminate_canceled' | 'marketplace_resource_terminate_failed' | 'marketplace_resource_terminate_requested' | 'marketplace_resource_terminate_succeeded' | 'marketplace_resource_unlinked' | 'marketplace_resource_update_canceled' | 'marketplace_resource_update_end_date_succeeded' | 'marketplace_resource_update_failed' | 'marketplace_resource_update_limits_failed' | 'marketplace_resource_update_limits_succeeded' | 'marketplace_resource_update_requested' | 'marketplace_resource_update_succeeded' | 'marketplace_resource_user_created' | 'marketplace_resource_user_deleted' | 'notify_external_user' | 'notify_organization_owners' | 'notify_project_team' | 'openstack_floating_ip_attached' | 'openstack_floating_ip_connected' | 'openstack_floating_ip_description_updated' | 'openstack_floating_ip_detached' | 'openstack_floating_ip_disconnected' | 'openstack_network_cleaned' | 'openstack_network_created' | 'openstack_network_deleted' | 'openstack_network_imported' | 'openstack_network_pulled' | 'openstack_network_updated' | 'openstack_port_cleaned' | 'openstack_port_created' | 'openstack_port_deleted' | 'openstack_port_imported' | 'openstack_port_pulled' | 'openstack_port_updated' | 'openstack_router_updated' | 'openstack_security_group_cleaned' | 'openstack_security_group_created' | 'openstack_security_group_deleted' | 'openstack_security_group_imported' | 'openstack_security_group_pulled' | 'openstack_security_group_rule_cleaned' | 'openstack_security_group_rule_created' | 'openstack_security_group_rule_deleted' | 'openstack_security_group_rule_imported' | 'openstack_security_group_rule_updated' | 'openstack_security_group_updated' | 'openstack_security_group_added_remotely' | 'openstack_security_group_removed_remotely' | 'openstack_security_group_added_locally' | 'openstack_security_group_removed_locally' | 'openstack_server_group_cleaned' | 'openstack_server_group_created' | 'openstack_server_group_deleted' | 'openstack_server_group_imported' | 'openstack_server_group_pulled' | 'openstack_subnet_cleaned' | 'openstack_subnet_created' | 'openstack_subnet_deleted' | 'openstack_subnet_imported' | 'openstack_subnet_pulled' | 'openstack_subnet_updated' | 'openstack_tenant_quota_limit_updated' | 'payment_added' | 'payment_created' | 'payment_removed' | 'policy_notification' | 'project_creation_succeeded' | 'project_deletion_succeeded' | 'project_deletion_triggered' | 'project_update_request_approved' | 'project_update_request_created' | 'project_update_request_rejected' | 'project_end_date_change_request_approved' | 'project_end_date_change_request_created' | 'project_end_date_change_request_rejected' | 'project_update_succeeded' | 'project_permission_review_created' | 'project_permission_review_closed' | 'proposal_canceled' | 'proposal_document_added' | 'proposal_document_removed' | 'query_executed' | 'reduction_of_customer_credit' | 'reduction_of_customer_credit_due_to_minimal_consumption' | 'reduction_of_customer_expected_consumption' | 'reduction_of_project_credit' | 'reduction_of_project_credit_due_to_minimal_consumption' | 'reduction_of_project_expected_consumption' | 'request_downscaling' | 'request_pausing' | 'request_slurm_resource_downscaling' | 'request_slurm_resource_pausing' | 'reset_downscaling' | 'reset_member_restriction' | 'reset_pausing' | 'resource_assign_floating_ip_failed' | 'resource_assign_floating_ip_scheduled' | 'resource_assign_floating_ip_succeeded' | 'resource_attach_failed' | 'resource_attach_scheduled' | 'resource_attach_succeeded' | 'resource_backup_creation_failed' | 'resource_backup_creation_scheduled' | 'resource_backup_creation_succeeded' | 'resource_backup_deletion_failed' | 'resource_backup_deletion_scheduled' | 'resource_backup_deletion_succeeded' | 'resource_backup_restoration_failed' | 'resource_backup_restoration_scheduled' | 'resource_backup_restoration_succeeded' | 'resource_change_flavor_failed' | 'resource_change_flavor_scheduled' | 'resource_change_flavor_succeeded' | 'resource_creation_failed' | 'resource_creation_scheduled' | 'resource_creation_succeeded' | 'resource_deletion_failed' | 'resource_deletion_scheduled' | 'resource_deletion_succeeded' | 'resource_detach_failed' | 'resource_detach_scheduled' | 'resource_detach_succeeded' | 'resource_extend_failed' | 'resource_extend_scheduled' | 'resource_extend_succeeded' | 'resource_extend_volume_failed' | 'resource_extend_volume_scheduled' | 'resource_extend_volume_succeeded' | 'resource_import_succeeded' | 'resource_pull_failed' | 'resource_pull_scheduled' | 'resource_pull_succeeded' | 'resource_restart_failed' | 'resource_restart_scheduled' | 'resource_restart_succeeded' | 'resource_retype_failed' | 'resource_retype_scheduled' | 'resource_retype_succeeded' | 'resource_robot_account_created' | 'resource_robot_account_deleted' | 'resource_robot_account_state_changed' | 'resource_robot_account_updated' | 'resource_start_failed' | 'resource_start_scheduled' | 'resource_start_succeeded' | 'resource_stop_failed' | 'resource_stop_scheduled' | 'resource_stop_succeeded' | 'resource_unassign_floating_ip_failed' | 'resource_unassign_floating_ip_scheduled' | 'resource_unassign_floating_ip_succeeded' | 'resource_update_allowed_address_pairs_failed' | 'resource_update_allowed_address_pairs_scheduled' | 'resource_update_allowed_address_pairs_succeeded' | 'resource_update_floating_ips_failed' | 'resource_update_floating_ips_scheduled' | 'resource_update_floating_ips_succeeded' | 'resource_update_ports_failed' | 'resource_update_ports_scheduled' | 'resource_update_ports_succeeded' | 'resource_update_security_groups_failed' | 'resource_update_security_groups_scheduled' | 'resource_update_security_groups_succeeded' | 'resource_update_succeeded' | 'restrict_members' | 'review_canceled' | 'role_granted' | 'role_revoked' | 'role_updated' | 'roll_back_customer_credit' | 'roll_back_project_credit' | 'service_account_created' | 'service_account_deleted' | 'service_account_updated' | 'set_to_zero_overdue_credit' | 'slurm_policy_evaluation' | 'ssh_key_creation_succeeded' | 'ssh_key_deletion_succeeded' | 'terminate_resources' | 'token_created' | 'token_lifetime_updated' | 'update_of_credit_by_staff' | 'update_of_project_credit_by_staff' | 'automatic_credit_adjustment' | 'user_activated' | 'user_creation_succeeded' | 'user_data_accessed' | 'user_deactivated' | 'user_deactivated_no_roles' | 'user_deletion_succeeded' | 'user_details_update_succeeded' | 'user_has_been_created_by_staff' | 'user_password_updated' | 'user_password_updated_by_staff' | 'user_password_removed_by_staff' | 'user_update_succeeded' | 'user_group_invitation_updated' | 'user_invitation_updated' | 'user_invitation_deleted' | 'terms_of_service_consent_granted' | 'terms_of_service_consent_revoked' | 'chat_session_accessed' | 'chat_thread_accessed' | 'chat_injection_detected' | 'chat_pii_detected' | 'chat_feedback_submitted' | 'onboarding_verification_deleted' | 'onboarding_verification_deleted_by_task' | 'pat_created' | 'pat_revoked' | 'pat_rotated' | 'pat_expired' | 'pat_used_from_new_ip';
50
+ export type MessageTemplate = {
51
+ readonly url: string;
52
+ readonly uuid: string;
53
+ name: string;
54
+ subject: string;
55
+ body: string;
56
+ };
57
+ export type MessageTemplateRequest = {
58
+ name: string;
59
+ subject: string;
60
+ body: string;
61
+ };
62
+ export type Notification = {
63
+ readonly uuid: string;
64
+ readonly url: string;
65
+ key: string;
66
+ description?: string;
67
+ /**
68
+ * Indicates if notification is enabled or disabled
69
+ */
70
+ readonly enabled: boolean;
71
+ readonly created: string;
72
+ readonly templates: Array<NotificationTemplateDetailSerializers>;
73
+ /**
74
+ * Finds the notification definition in the global NOTIFICATIONS
75
+ * dictionary and returns its 'context' schema.
76
+ */
77
+ readonly context_schema: {
78
+ [key: string]: unknown;
79
+ };
80
+ };
81
+ export type NotificationRequest = {
82
+ key: string;
83
+ description?: string;
84
+ };
85
+ export type NotificationTemplateDetailSerializers = {
86
+ readonly uuid: string;
87
+ readonly url: string;
88
+ /**
89
+ * Example: 'flatpages/default.html'
90
+ */
91
+ path: string;
92
+ name: string;
93
+ readonly content: string | null;
94
+ readonly original_content: string | null;
95
+ readonly is_content_overridden: boolean;
96
+ };
97
+ export type NotificationTemplateDetailSerializersRequest = {
98
+ /**
99
+ * Example: 'flatpages/default.html'
100
+ */
101
+ path: string;
102
+ name: string;
103
+ };
104
+ export type NotificationTemplateUpdateSerializersRequest = {
105
+ content: string;
106
+ };
107
+ export type PatchedBroadcastMessageRequest = {
108
+ subject?: string;
109
+ body?: string;
110
+ query?: unknown;
111
+ send_at?: string | null;
112
+ };
113
+ export type PatchedEmailHookRequest = {
114
+ is_active?: boolean;
115
+ event_types?: Array<EventTypesEnum>;
116
+ event_groups?: Array<EventGroupsEnum>;
117
+ email?: string;
118
+ };
119
+ export type PatchedMessageTemplateRequest = {
120
+ name?: string;
121
+ subject?: string;
122
+ body?: string;
123
+ };
124
+ export type PatchedNotificationRequest = {
125
+ key?: string;
126
+ description?: string;
127
+ };
128
+ export type PatchedNotificationTemplateDetailSerializersRequest = {
129
+ /**
130
+ * Example: 'flatpages/default.html'
131
+ */
132
+ path?: string;
133
+ name?: string;
134
+ };
135
+ export type PatchedWebHookRequest = {
136
+ is_active?: boolean;
137
+ event_types?: Array<EventTypesEnum>;
138
+ event_groups?: Array<EventGroupsEnum>;
139
+ destination_url?: string;
140
+ content_type?: WebHookContentTypeEnum;
141
+ };
142
+ export type WebHook = {
143
+ readonly url: string;
144
+ readonly uuid: string;
145
+ is_active?: boolean;
146
+ readonly author_uuid: string;
147
+ event_types?: Array<EventTypesEnum>;
148
+ event_groups?: Array<EventGroupsEnum>;
149
+ readonly created: string;
150
+ readonly modified: string;
151
+ readonly hook_type: string;
152
+ readonly author_fullname: string;
153
+ readonly author_username: string;
154
+ readonly author_email: string;
155
+ destination_url: string;
156
+ content_type?: WebHookContentTypeEnum;
157
+ };
158
+ export type WebHookContentTypeEnum = 'json' | 'form';
159
+ export type WebHookRequest = {
160
+ is_active?: boolean;
161
+ event_types?: Array<EventTypesEnum>;
162
+ event_groups?: Array<EventGroupsEnum>;
163
+ destination_url: string;
164
+ content_type?: WebHookContentTypeEnum;
165
+ };
166
+ export type BroadcastMessageFieldEnum = 'author_full_name' | 'body' | 'created' | 'emails' | 'query' | 'send_at' | 'state' | 'subject' | 'uuid';
167
+ export type BroadcastMessageOEnum = '-author_full_name' | '-created' | '-subject' | 'author_full_name' | 'created' | 'subject';
168
+ export type EmailLogOEnum = '-sent_at' | '-subject' | 'sent_at' | 'subject';
169
+ export type WebHookContentTypeEnum1 = 1 | 2;
170
+ export type BroadcastMessageTemplatesListData = {
171
+ body?: never;
172
+ path?: never;
173
+ query?: {
174
+ name?: string;
175
+ /**
176
+ * A page number within the paginated result set.
177
+ */
178
+ page?: number;
179
+ /**
180
+ * Number of results to return per page.
181
+ */
182
+ page_size?: number;
183
+ };
184
+ url: '/api/broadcast-message-templates/';
185
+ };
186
+ export type BroadcastMessageTemplatesListResponses = {
187
+ 200: Array<MessageTemplate>;
188
+ };
189
+ export type BroadcastMessageTemplatesCountData = {
190
+ body?: never;
191
+ path?: never;
192
+ query?: {
193
+ name?: string;
194
+ /**
195
+ * A page number within the paginated result set.
196
+ */
197
+ page?: number;
198
+ /**
199
+ * Number of results to return per page.
200
+ */
201
+ page_size?: number;
202
+ };
203
+ url: '/api/broadcast-message-templates/';
204
+ };
205
+ export type BroadcastMessageTemplatesCountResponses = {
206
+ /**
207
+ * No response body
208
+ */
209
+ 200: unknown;
210
+ };
211
+ export type BroadcastMessageTemplatesCreateData = {
212
+ body: MessageTemplateRequest;
213
+ path?: never;
214
+ query?: never;
215
+ url: '/api/broadcast-message-templates/';
216
+ };
217
+ export type BroadcastMessageTemplatesCreateResponses = {
218
+ 201: MessageTemplate;
219
+ };
220
+ export type BroadcastMessageTemplatesDestroyData = {
221
+ body?: never;
222
+ path: {
223
+ uuid: string;
224
+ };
225
+ query?: never;
226
+ url: '/api/broadcast-message-templates/{uuid}/';
227
+ };
228
+ export type BroadcastMessageTemplatesDestroyResponses = {
229
+ /**
230
+ * No response body
231
+ */
232
+ 204: void;
233
+ };
234
+ export type BroadcastMessageTemplatesRetrieveData = {
235
+ body?: never;
236
+ path: {
237
+ uuid: string;
238
+ };
239
+ query?: never;
240
+ url: '/api/broadcast-message-templates/{uuid}/';
241
+ };
242
+ export type BroadcastMessageTemplatesRetrieveResponses = {
243
+ 200: MessageTemplate;
244
+ };
245
+ export type BroadcastMessageTemplatesPartialUpdateData = {
246
+ body?: PatchedMessageTemplateRequest;
247
+ path: {
248
+ uuid: string;
249
+ };
250
+ query?: never;
251
+ url: '/api/broadcast-message-templates/{uuid}/';
252
+ };
253
+ export type BroadcastMessageTemplatesPartialUpdateResponses = {
254
+ 200: MessageTemplate;
255
+ };
256
+ export type BroadcastMessageTemplatesUpdateData = {
257
+ body: MessageTemplateRequest;
258
+ path: {
259
+ uuid: string;
260
+ };
261
+ query?: never;
262
+ url: '/api/broadcast-message-templates/{uuid}/';
263
+ };
264
+ export type BroadcastMessageTemplatesUpdateResponses = {
265
+ 200: MessageTemplate;
266
+ };
267
+ export type BroadcastMessagesListData = {
268
+ body?: never;
269
+ path?: never;
270
+ query?: {
271
+ field?: Array<BroadcastMessageFieldEnum>;
272
+ /**
273
+ * Ordering
274
+ *
275
+ *
276
+ */
277
+ o?: Array<BroadcastMessageOEnum>;
278
+ /**
279
+ * A page number within the paginated result set.
280
+ */
281
+ page?: number;
282
+ /**
283
+ * Number of results to return per page.
284
+ */
285
+ page_size?: number;
286
+ state?: BroadcastMessageStateEnum;
287
+ subject?: string;
288
+ };
289
+ url: '/api/broadcast-messages/';
290
+ };
291
+ export type BroadcastMessagesListResponses = {
292
+ 200: Array<BroadcastMessage>;
293
+ };
294
+ export type BroadcastMessagesCountData = {
295
+ body?: never;
296
+ path?: never;
297
+ query?: {
298
+ /**
299
+ * Ordering
300
+ *
301
+ *
302
+ */
303
+ o?: Array<BroadcastMessageOEnum>;
304
+ /**
305
+ * A page number within the paginated result set.
306
+ */
307
+ page?: number;
308
+ /**
309
+ * Number of results to return per page.
310
+ */
311
+ page_size?: number;
312
+ state?: BroadcastMessageStateEnum;
313
+ subject?: string;
314
+ };
315
+ url: '/api/broadcast-messages/';
316
+ };
317
+ export type BroadcastMessagesCountResponses = {
318
+ /**
319
+ * No response body
320
+ */
321
+ 200: unknown;
322
+ };
323
+ export type BroadcastMessagesCreateData = {
324
+ body: BroadcastMessageRequest;
325
+ path?: never;
326
+ query?: never;
327
+ url: '/api/broadcast-messages/';
328
+ };
329
+ export type BroadcastMessagesCreateResponses = {
330
+ 201: BroadcastMessage;
331
+ };
332
+ export type BroadcastMessagesDestroyData = {
333
+ body?: never;
334
+ path: {
335
+ uuid: string;
336
+ };
337
+ query?: never;
338
+ url: '/api/broadcast-messages/{uuid}/';
339
+ };
340
+ export type BroadcastMessagesDestroyResponses = {
341
+ /**
342
+ * No response body
343
+ */
344
+ 204: void;
345
+ };
346
+ export type BroadcastMessagesRetrieveData = {
347
+ body?: never;
348
+ path: {
349
+ uuid: string;
350
+ };
351
+ query?: {
352
+ field?: Array<BroadcastMessageFieldEnum>;
353
+ };
354
+ url: '/api/broadcast-messages/{uuid}/';
355
+ };
356
+ export type BroadcastMessagesRetrieveResponses = {
357
+ 200: BroadcastMessage;
358
+ };
359
+ export type BroadcastMessagesPartialUpdateData = {
360
+ body?: PatchedBroadcastMessageRequest;
361
+ path: {
362
+ uuid: string;
363
+ };
364
+ query?: never;
365
+ url: '/api/broadcast-messages/{uuid}/';
366
+ };
367
+ export type BroadcastMessagesPartialUpdateResponses = {
368
+ 200: BroadcastMessage;
369
+ };
370
+ export type BroadcastMessagesUpdateData = {
371
+ body: BroadcastMessageRequest;
372
+ path: {
373
+ uuid: string;
374
+ };
375
+ query?: never;
376
+ url: '/api/broadcast-messages/{uuid}/';
377
+ };
378
+ export type BroadcastMessagesUpdateResponses = {
379
+ 200: BroadcastMessage;
380
+ };
381
+ export type BroadcastMessagesScheduleData = {
382
+ body?: never;
383
+ path: {
384
+ uuid: string;
385
+ };
386
+ query?: never;
387
+ url: '/api/broadcast-messages/{uuid}/schedule/';
388
+ };
389
+ export type BroadcastMessagesScheduleResponses = {
390
+ /**
391
+ * No response body
392
+ */
393
+ 200: unknown;
394
+ };
395
+ export type BroadcastMessagesSendData = {
396
+ body?: never;
397
+ path: {
398
+ uuid: string;
399
+ };
400
+ query?: never;
401
+ url: '/api/broadcast-messages/{uuid}/send/';
402
+ };
403
+ export type BroadcastMessagesSendResponses = {
404
+ /**
405
+ * No response body
406
+ */
407
+ 200: unknown;
408
+ };
409
+ export type BroadcastMessagesRecipientsRetrieveData = {
410
+ body?: never;
411
+ path?: never;
412
+ query?: {
413
+ field?: Array<BroadcastMessageFieldEnum>;
414
+ };
415
+ url: '/api/broadcast-messages/recipients/';
416
+ };
417
+ export type BroadcastMessagesRecipientsRetrieveResponses = {
418
+ 200: BroadcastMessage;
419
+ };
420
+ export type BroadcastMessagesRecipientsCountData = {
421
+ body?: never;
422
+ path?: never;
423
+ query?: never;
424
+ url: '/api/broadcast-messages/recipients/';
425
+ };
426
+ export type BroadcastMessagesRecipientsCountResponses = {
427
+ /**
428
+ * No response body
429
+ */
430
+ 200: unknown;
431
+ };
432
+ export type EmailLogsListData = {
433
+ body?: never;
434
+ path?: never;
435
+ query?: {
436
+ body?: string;
437
+ emails?: string;
438
+ /**
439
+ * Ordering
440
+ *
441
+ *
442
+ */
443
+ o?: Array<EmailLogOEnum>;
444
+ /**
445
+ * A page number within the paginated result set.
446
+ */
447
+ page?: number;
448
+ /**
449
+ * Number of results to return per page.
450
+ */
451
+ page_size?: number;
452
+ sent_at?: string;
453
+ subject?: string;
454
+ };
455
+ url: '/api/email-logs/';
456
+ };
457
+ export type EmailLogsListResponses = {
458
+ 200: Array<EmailLog>;
459
+ };
460
+ export type EmailLogsCountData = {
461
+ body?: never;
462
+ path?: never;
463
+ query?: {
464
+ body?: string;
465
+ emails?: string;
466
+ /**
467
+ * Ordering
468
+ *
469
+ *
470
+ */
471
+ o?: Array<EmailLogOEnum>;
472
+ /**
473
+ * A page number within the paginated result set.
474
+ */
475
+ page?: number;
476
+ /**
477
+ * Number of results to return per page.
478
+ */
479
+ page_size?: number;
480
+ sent_at?: string;
481
+ subject?: string;
482
+ };
483
+ url: '/api/email-logs/';
484
+ };
485
+ export type EmailLogsCountResponses = {
486
+ /**
487
+ * No response body
488
+ */
489
+ 200: unknown;
490
+ };
491
+ export type EmailLogsRetrieveData = {
492
+ body?: never;
493
+ path: {
494
+ uuid: string;
495
+ };
496
+ query?: never;
497
+ url: '/api/email-logs/{uuid}/';
498
+ };
499
+ export type EmailLogsRetrieveResponses = {
500
+ 200: EmailLog;
501
+ };
502
+ export type HooksListData = {
503
+ body?: never;
504
+ path?: never;
505
+ query?: {
506
+ author_email?: string;
507
+ /**
508
+ * User full name contains
509
+ */
510
+ author_fullname?: string;
511
+ author_username?: string;
512
+ author_uuid?: string;
513
+ is_active?: boolean;
514
+ last_published?: string;
515
+ /**
516
+ * A page number within the paginated result set.
517
+ */
518
+ page?: number;
519
+ /**
520
+ * Number of results to return per page.
521
+ */
522
+ page_size?: number;
523
+ /**
524
+ * Filter by author name, username and email
525
+ */
526
+ query?: string;
527
+ };
528
+ url: '/api/hooks/';
529
+ };
530
+ export type HooksListResponses = {
531
+ /**
532
+ * No response body
533
+ */
534
+ 200: unknown;
535
+ };
536
+ export type HooksCountData = {
537
+ body?: never;
538
+ path?: never;
539
+ query?: {
540
+ author_email?: string;
541
+ /**
542
+ * User full name contains
543
+ */
544
+ author_fullname?: string;
545
+ author_username?: string;
546
+ author_uuid?: string;
547
+ is_active?: boolean;
548
+ last_published?: string;
549
+ /**
550
+ * A page number within the paginated result set.
551
+ */
552
+ page?: number;
553
+ /**
554
+ * Number of results to return per page.
555
+ */
556
+ page_size?: number;
557
+ /**
558
+ * Filter by author name, username and email
559
+ */
560
+ query?: string;
561
+ };
562
+ url: '/api/hooks/';
563
+ };
564
+ export type HooksCountResponses = {
565
+ /**
566
+ * No response body
567
+ */
568
+ 200: unknown;
569
+ };
570
+ export type HooksEmailListData = {
571
+ body?: never;
572
+ path?: never;
573
+ query?: {
574
+ author_email?: string;
575
+ /**
576
+ * User full name contains
577
+ */
578
+ author_fullname?: string;
579
+ author_username?: string;
580
+ author_uuid?: string;
581
+ email?: string;
582
+ is_active?: boolean;
583
+ last_published?: string;
584
+ /**
585
+ * A page number within the paginated result set.
586
+ */
587
+ page?: number;
588
+ /**
589
+ * Number of results to return per page.
590
+ */
591
+ page_size?: number;
592
+ /**
593
+ * Filter by author name, username and email
594
+ */
595
+ query?: string;
596
+ };
597
+ url: '/api/hooks-email/';
598
+ };
599
+ export type HooksEmailListResponses = {
600
+ 200: Array<EmailHook>;
601
+ };
602
+ export type HooksEmailCountData = {
603
+ body?: never;
604
+ path?: never;
605
+ query?: {
606
+ author_email?: string;
607
+ /**
608
+ * User full name contains
609
+ */
610
+ author_fullname?: string;
611
+ author_username?: string;
612
+ author_uuid?: string;
613
+ email?: string;
614
+ is_active?: boolean;
615
+ last_published?: string;
616
+ /**
617
+ * A page number within the paginated result set.
618
+ */
619
+ page?: number;
620
+ /**
621
+ * Number of results to return per page.
622
+ */
623
+ page_size?: number;
624
+ /**
625
+ * Filter by author name, username and email
626
+ */
627
+ query?: string;
628
+ };
629
+ url: '/api/hooks-email/';
630
+ };
631
+ export type HooksEmailCountResponses = {
632
+ /**
633
+ * No response body
634
+ */
635
+ 200: unknown;
636
+ };
637
+ export type HooksEmailCreateData = {
638
+ body: EmailHookRequest;
639
+ path?: never;
640
+ query?: never;
641
+ url: '/api/hooks-email/';
642
+ };
643
+ export type HooksEmailCreateResponses = {
644
+ 201: EmailHook;
645
+ };
646
+ export type HooksEmailDestroyData = {
647
+ body?: never;
648
+ path: {
649
+ uuid: string;
650
+ };
651
+ query?: never;
652
+ url: '/api/hooks-email/{uuid}/';
653
+ };
654
+ export type HooksEmailDestroyResponses = {
655
+ /**
656
+ * No response body
657
+ */
658
+ 204: void;
659
+ };
660
+ export type HooksEmailRetrieveData = {
661
+ body?: never;
662
+ path: {
663
+ uuid: string;
664
+ };
665
+ query?: never;
666
+ url: '/api/hooks-email/{uuid}/';
667
+ };
668
+ export type HooksEmailRetrieveResponses = {
669
+ 200: EmailHook;
670
+ };
671
+ export type HooksEmailPartialUpdateData = {
672
+ body?: PatchedEmailHookRequest;
673
+ path: {
674
+ uuid: string;
675
+ };
676
+ query?: never;
677
+ url: '/api/hooks-email/{uuid}/';
678
+ };
679
+ export type HooksEmailPartialUpdateResponses = {
680
+ 200: EmailHook;
681
+ };
682
+ export type HooksEmailUpdateData = {
683
+ body: EmailHookRequest;
684
+ path: {
685
+ uuid: string;
686
+ };
687
+ query?: never;
688
+ url: '/api/hooks-email/{uuid}/';
689
+ };
690
+ export type HooksEmailUpdateResponses = {
691
+ 200: EmailHook;
692
+ };
693
+ export type HooksWebListData = {
694
+ body?: never;
695
+ path?: never;
696
+ query?: {
697
+ author_email?: string;
698
+ /**
699
+ * User full name contains
700
+ */
701
+ author_fullname?: string;
702
+ author_username?: string;
703
+ author_uuid?: string;
704
+ content_type?: WebHookContentTypeEnum1;
705
+ destination_url?: string;
706
+ is_active?: boolean;
707
+ last_published?: string;
708
+ /**
709
+ * A page number within the paginated result set.
710
+ */
711
+ page?: number;
712
+ /**
713
+ * Number of results to return per page.
714
+ */
715
+ page_size?: number;
716
+ /**
717
+ * Filter by author name, username and email
718
+ */
719
+ query?: string;
720
+ };
721
+ url: '/api/hooks-web/';
722
+ };
723
+ export type HooksWebListResponses = {
724
+ 200: Array<WebHook>;
725
+ };
726
+ export type HooksWebCountData = {
727
+ body?: never;
728
+ path?: never;
729
+ query?: {
730
+ author_email?: string;
731
+ /**
732
+ * User full name contains
733
+ */
734
+ author_fullname?: string;
735
+ author_username?: string;
736
+ author_uuid?: string;
737
+ content_type?: WebHookContentTypeEnum1;
738
+ destination_url?: string;
739
+ is_active?: boolean;
740
+ last_published?: string;
741
+ /**
742
+ * A page number within the paginated result set.
743
+ */
744
+ page?: number;
745
+ /**
746
+ * Number of results to return per page.
747
+ */
748
+ page_size?: number;
749
+ /**
750
+ * Filter by author name, username and email
751
+ */
752
+ query?: string;
753
+ };
754
+ url: '/api/hooks-web/';
755
+ };
756
+ export type HooksWebCountResponses = {
757
+ /**
758
+ * No response body
759
+ */
760
+ 200: unknown;
761
+ };
762
+ export type HooksWebCreateData = {
763
+ body: WebHookRequest;
764
+ path?: never;
765
+ query?: never;
766
+ url: '/api/hooks-web/';
767
+ };
768
+ export type HooksWebCreateResponses = {
769
+ 201: WebHook;
770
+ };
771
+ export type HooksWebDestroyData = {
772
+ body?: never;
773
+ path: {
774
+ uuid: string;
775
+ };
776
+ query?: never;
777
+ url: '/api/hooks-web/{uuid}/';
778
+ };
779
+ export type HooksWebDestroyResponses = {
780
+ /**
781
+ * No response body
782
+ */
783
+ 204: void;
784
+ };
785
+ export type HooksWebRetrieveData = {
786
+ body?: never;
787
+ path: {
788
+ uuid: string;
789
+ };
790
+ query?: never;
791
+ url: '/api/hooks-web/{uuid}/';
792
+ };
793
+ export type HooksWebRetrieveResponses = {
794
+ 200: WebHook;
795
+ };
796
+ export type HooksWebPartialUpdateData = {
797
+ body?: PatchedWebHookRequest;
798
+ path: {
799
+ uuid: string;
800
+ };
801
+ query?: never;
802
+ url: '/api/hooks-web/{uuid}/';
803
+ };
804
+ export type HooksWebPartialUpdateResponses = {
805
+ 200: WebHook;
806
+ };
807
+ export type HooksWebUpdateData = {
808
+ body: WebHookRequest;
809
+ path: {
810
+ uuid: string;
811
+ };
812
+ query?: never;
813
+ url: '/api/hooks-web/{uuid}/';
814
+ };
815
+ export type HooksWebUpdateResponses = {
816
+ 200: WebHook;
817
+ };
818
+ export type NotificationMessagesListData = {
819
+ body?: never;
820
+ path?: never;
821
+ query?: {
822
+ description?: string;
823
+ /**
824
+ * Is overridden
825
+ */
826
+ is_overridden?: boolean;
827
+ key?: string;
828
+ /**
829
+ * Name
830
+ */
831
+ name?: string;
832
+ /**
833
+ * Name (exact)
834
+ */
835
+ name_exact?: string;
836
+ /**
837
+ * A page number within the paginated result set.
838
+ */
839
+ page?: number;
840
+ /**
841
+ * Number of results to return per page.
842
+ */
843
+ page_size?: number;
844
+ /**
845
+ * Filter by key or description
846
+ */
847
+ query?: string;
848
+ };
849
+ url: '/api/notification-messages/';
850
+ };
851
+ export type NotificationMessagesListResponses = {
852
+ 200: Array<Notification>;
853
+ };
854
+ export type NotificationMessagesCountData = {
855
+ body?: never;
856
+ path?: never;
857
+ query?: {
858
+ description?: string;
859
+ /**
860
+ * Is overridden
861
+ */
862
+ is_overridden?: boolean;
863
+ key?: string;
864
+ /**
865
+ * Name
866
+ */
867
+ name?: string;
868
+ /**
869
+ * Name (exact)
870
+ */
871
+ name_exact?: string;
872
+ /**
873
+ * A page number within the paginated result set.
874
+ */
875
+ page?: number;
876
+ /**
877
+ * Number of results to return per page.
878
+ */
879
+ page_size?: number;
880
+ /**
881
+ * Filter by key or description
882
+ */
883
+ query?: string;
884
+ };
885
+ url: '/api/notification-messages/';
886
+ };
887
+ export type NotificationMessagesCountResponses = {
888
+ /**
889
+ * No response body
890
+ */
891
+ 200: unknown;
892
+ };
893
+ export type NotificationMessagesCreateData = {
894
+ body: NotificationRequest;
895
+ path?: never;
896
+ query?: never;
897
+ url: '/api/notification-messages/';
898
+ };
899
+ export type NotificationMessagesCreateResponses = {
900
+ 201: Notification;
901
+ };
902
+ export type NotificationMessagesTemplatesListData = {
903
+ body?: never;
904
+ path?: never;
905
+ query?: {
906
+ /**
907
+ * Is overridden
908
+ */
909
+ is_overridden?: boolean;
910
+ /**
911
+ * Name
912
+ */
913
+ name?: string;
914
+ /**
915
+ * Name (exact)
916
+ */
917
+ name_exact?: string;
918
+ /**
919
+ * A page number within the paginated result set.
920
+ */
921
+ page?: number;
922
+ /**
923
+ * Number of results to return per page.
924
+ */
925
+ page_size?: number;
926
+ /**
927
+ * Path
928
+ */
929
+ path?: string;
930
+ /**
931
+ * Path (exact)
932
+ */
933
+ path_exact?: string;
934
+ };
935
+ url: '/api/notification-messages-templates/';
936
+ };
937
+ export type NotificationMessagesTemplatesListResponses = {
938
+ 200: Array<NotificationTemplateDetailSerializers>;
939
+ };
940
+ export type NotificationMessagesTemplatesCountData = {
941
+ body?: never;
942
+ path?: never;
943
+ query?: {
944
+ /**
945
+ * Is overridden
946
+ */
947
+ is_overridden?: boolean;
948
+ /**
949
+ * Name
950
+ */
951
+ name?: string;
952
+ /**
953
+ * Name (exact)
954
+ */
955
+ name_exact?: string;
956
+ /**
957
+ * A page number within the paginated result set.
958
+ */
959
+ page?: number;
960
+ /**
961
+ * Number of results to return per page.
962
+ */
963
+ page_size?: number;
964
+ /**
965
+ * Path
966
+ */
967
+ path?: string;
968
+ /**
969
+ * Path (exact)
970
+ */
971
+ path_exact?: string;
972
+ };
973
+ url: '/api/notification-messages-templates/';
974
+ };
975
+ export type NotificationMessagesTemplatesCountResponses = {
976
+ /**
977
+ * No response body
978
+ */
979
+ 200: unknown;
980
+ };
981
+ export type NotificationMessagesTemplatesCreateData = {
982
+ body: NotificationTemplateDetailSerializersRequest;
983
+ path?: never;
984
+ query?: never;
985
+ url: '/api/notification-messages-templates/';
986
+ };
987
+ export type NotificationMessagesTemplatesCreateResponses = {
988
+ 201: NotificationTemplateDetailSerializers;
989
+ };
990
+ export type NotificationMessagesTemplatesDestroyData = {
991
+ body?: never;
992
+ path: {
993
+ uuid: string;
994
+ };
995
+ query?: never;
996
+ url: '/api/notification-messages-templates/{uuid}/';
997
+ };
998
+ export type NotificationMessagesTemplatesDestroyResponses = {
999
+ /**
1000
+ * No response body
1001
+ */
1002
+ 204: void;
1003
+ };
1004
+ export type NotificationMessagesTemplatesRetrieveData = {
1005
+ body?: never;
1006
+ path: {
1007
+ uuid: string;
1008
+ };
1009
+ query?: never;
1010
+ url: '/api/notification-messages-templates/{uuid}/';
1011
+ };
1012
+ export type NotificationMessagesTemplatesRetrieveResponses = {
1013
+ 200: NotificationTemplateDetailSerializers;
1014
+ };
1015
+ export type NotificationMessagesTemplatesPartialUpdateData = {
1016
+ body?: PatchedNotificationTemplateDetailSerializersRequest;
1017
+ path: {
1018
+ uuid: string;
1019
+ };
1020
+ query?: never;
1021
+ url: '/api/notification-messages-templates/{uuid}/';
1022
+ };
1023
+ export type NotificationMessagesTemplatesPartialUpdateResponses = {
1024
+ 200: NotificationTemplateDetailSerializers;
1025
+ };
1026
+ export type NotificationMessagesTemplatesUpdateData = {
1027
+ body: NotificationTemplateDetailSerializersRequest;
1028
+ path: {
1029
+ uuid: string;
1030
+ };
1031
+ query?: never;
1032
+ url: '/api/notification-messages-templates/{uuid}/';
1033
+ };
1034
+ export type NotificationMessagesTemplatesUpdateResponses = {
1035
+ 200: NotificationTemplateDetailSerializers;
1036
+ };
1037
+ export type NotificationMessagesTemplatesOverrideData = {
1038
+ body: NotificationTemplateUpdateSerializersRequest;
1039
+ path: {
1040
+ uuid: string;
1041
+ };
1042
+ query?: never;
1043
+ url: '/api/notification-messages-templates/{uuid}/override/';
1044
+ };
1045
+ export type NotificationMessagesTemplatesOverrideResponses = {
1046
+ /**
1047
+ * No response body
1048
+ */
1049
+ 200: unknown;
1050
+ };
1051
+ export type NotificationMessagesDestroyData = {
1052
+ body?: never;
1053
+ path: {
1054
+ uuid: string;
1055
+ };
1056
+ query?: never;
1057
+ url: '/api/notification-messages/{uuid}/';
1058
+ };
1059
+ export type NotificationMessagesDestroyResponses = {
1060
+ /**
1061
+ * No response body
1062
+ */
1063
+ 204: void;
1064
+ };
1065
+ export type NotificationMessagesRetrieveData = {
1066
+ body?: never;
1067
+ path: {
1068
+ uuid: string;
1069
+ };
1070
+ query?: never;
1071
+ url: '/api/notification-messages/{uuid}/';
1072
+ };
1073
+ export type NotificationMessagesRetrieveResponses = {
1074
+ 200: Notification;
1075
+ };
1076
+ export type NotificationMessagesPartialUpdateData = {
1077
+ body?: PatchedNotificationRequest;
1078
+ path: {
1079
+ uuid: string;
1080
+ };
1081
+ query?: never;
1082
+ url: '/api/notification-messages/{uuid}/';
1083
+ };
1084
+ export type NotificationMessagesPartialUpdateResponses = {
1085
+ 200: Notification;
1086
+ };
1087
+ export type NotificationMessagesUpdateData = {
1088
+ body: NotificationRequest;
1089
+ path: {
1090
+ uuid: string;
1091
+ };
1092
+ query?: never;
1093
+ url: '/api/notification-messages/{uuid}/';
1094
+ };
1095
+ export type NotificationMessagesUpdateResponses = {
1096
+ 200: Notification;
1097
+ };
1098
+ export type NotificationMessagesDisableData = {
1099
+ body?: never;
1100
+ path: {
1101
+ uuid: string;
1102
+ };
1103
+ query?: never;
1104
+ url: '/api/notification-messages/{uuid}/disable/';
1105
+ };
1106
+ export type NotificationMessagesDisableResponses = {
1107
+ /**
1108
+ * No response body
1109
+ */
1110
+ 200: unknown;
1111
+ };
1112
+ export type NotificationMessagesEnableData = {
1113
+ body?: never;
1114
+ path: {
1115
+ uuid: string;
1116
+ };
1117
+ query?: never;
1118
+ url: '/api/notification-messages/{uuid}/enable/';
1119
+ };
1120
+ export type NotificationMessagesEnableResponses = {
1121
+ /**
1122
+ * No response body
1123
+ */
1124
+ 200: unknown;
1125
+ };