@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,1219 @@
1
+ // This file is auto-generated by split-sdk script
2
+ import { client as _heyApiClient } from '@waldur/core';
3
+ export const broadcastMessageTemplatesList = (options) => {
4
+ return (options?.client ?? _heyApiClient).get({
5
+ security: [
6
+ {
7
+ name: 'Authorization',
8
+ type: 'apiKey'
9
+ },
10
+ {
11
+ scheme: 'bearer',
12
+ type: 'http'
13
+ },
14
+ {
15
+ scheme: 'bearer',
16
+ type: 'http'
17
+ }
18
+ ],
19
+ url: '/api/broadcast-message-templates/',
20
+ ...options
21
+ });
22
+ };
23
+ /**
24
+ * Get number of items in the collection matching the request parameters.
25
+ */
26
+ export const broadcastMessageTemplatesCount = (options) => {
27
+ return (options?.client ?? _heyApiClient).head({
28
+ security: [
29
+ {
30
+ name: 'Authorization',
31
+ type: 'apiKey'
32
+ },
33
+ {
34
+ scheme: 'bearer',
35
+ type: 'http'
36
+ },
37
+ {
38
+ scheme: 'bearer',
39
+ type: 'http'
40
+ }
41
+ ],
42
+ url: '/api/broadcast-message-templates/',
43
+ ...options
44
+ });
45
+ };
46
+ export const broadcastMessageTemplatesCreate = (options) => {
47
+ return (options.client ?? _heyApiClient).post({
48
+ security: [
49
+ {
50
+ name: 'Authorization',
51
+ type: 'apiKey'
52
+ },
53
+ {
54
+ scheme: 'bearer',
55
+ type: 'http'
56
+ },
57
+ {
58
+ scheme: 'bearer',
59
+ type: 'http'
60
+ }
61
+ ],
62
+ url: '/api/broadcast-message-templates/',
63
+ ...options,
64
+ headers: {
65
+ 'Content-Type': 'application/json',
66
+ ...options.headers
67
+ }
68
+ });
69
+ };
70
+ export const broadcastMessageTemplatesDestroy = (options) => {
71
+ return (options.client ?? _heyApiClient).delete({
72
+ security: [
73
+ {
74
+ name: 'Authorization',
75
+ type: 'apiKey'
76
+ },
77
+ {
78
+ scheme: 'bearer',
79
+ type: 'http'
80
+ },
81
+ {
82
+ scheme: 'bearer',
83
+ type: 'http'
84
+ }
85
+ ],
86
+ url: '/api/broadcast-message-templates/{uuid}/',
87
+ ...options
88
+ });
89
+ };
90
+ export const broadcastMessageTemplatesRetrieve = (options) => {
91
+ return (options.client ?? _heyApiClient).get({
92
+ security: [
93
+ {
94
+ name: 'Authorization',
95
+ type: 'apiKey'
96
+ },
97
+ {
98
+ scheme: 'bearer',
99
+ type: 'http'
100
+ },
101
+ {
102
+ scheme: 'bearer',
103
+ type: 'http'
104
+ }
105
+ ],
106
+ url: '/api/broadcast-message-templates/{uuid}/',
107
+ ...options
108
+ });
109
+ };
110
+ export const broadcastMessageTemplatesPartialUpdate = (options) => {
111
+ return (options.client ?? _heyApiClient).patch({
112
+ security: [
113
+ {
114
+ name: 'Authorization',
115
+ type: 'apiKey'
116
+ },
117
+ {
118
+ scheme: 'bearer',
119
+ type: 'http'
120
+ },
121
+ {
122
+ scheme: 'bearer',
123
+ type: 'http'
124
+ }
125
+ ],
126
+ url: '/api/broadcast-message-templates/{uuid}/',
127
+ ...options,
128
+ headers: {
129
+ 'Content-Type': 'application/json',
130
+ ...options.headers
131
+ }
132
+ });
133
+ };
134
+ export const broadcastMessageTemplatesUpdate = (options) => {
135
+ return (options.client ?? _heyApiClient).put({
136
+ security: [
137
+ {
138
+ name: 'Authorization',
139
+ type: 'apiKey'
140
+ },
141
+ {
142
+ scheme: 'bearer',
143
+ type: 'http'
144
+ },
145
+ {
146
+ scheme: 'bearer',
147
+ type: 'http'
148
+ }
149
+ ],
150
+ url: '/api/broadcast-message-templates/{uuid}/',
151
+ ...options,
152
+ headers: {
153
+ 'Content-Type': 'application/json',
154
+ ...options.headers
155
+ }
156
+ });
157
+ };
158
+ export const broadcastMessagesList = (options) => {
159
+ return (options?.client ?? _heyApiClient).get({
160
+ security: [
161
+ {
162
+ name: 'Authorization',
163
+ type: 'apiKey'
164
+ },
165
+ {
166
+ scheme: 'bearer',
167
+ type: 'http'
168
+ },
169
+ {
170
+ scheme: 'bearer',
171
+ type: 'http'
172
+ }
173
+ ],
174
+ url: '/api/broadcast-messages/',
175
+ ...options
176
+ });
177
+ };
178
+ /**
179
+ * Get number of items in the collection matching the request parameters.
180
+ */
181
+ export const broadcastMessagesCount = (options) => {
182
+ return (options?.client ?? _heyApiClient).head({
183
+ security: [
184
+ {
185
+ name: 'Authorization',
186
+ type: 'apiKey'
187
+ },
188
+ {
189
+ scheme: 'bearer',
190
+ type: 'http'
191
+ },
192
+ {
193
+ scheme: 'bearer',
194
+ type: 'http'
195
+ }
196
+ ],
197
+ url: '/api/broadcast-messages/',
198
+ ...options
199
+ });
200
+ };
201
+ export const broadcastMessagesCreate = (options) => {
202
+ return (options.client ?? _heyApiClient).post({
203
+ security: [
204
+ {
205
+ name: 'Authorization',
206
+ type: 'apiKey'
207
+ },
208
+ {
209
+ scheme: 'bearer',
210
+ type: 'http'
211
+ },
212
+ {
213
+ scheme: 'bearer',
214
+ type: 'http'
215
+ }
216
+ ],
217
+ url: '/api/broadcast-messages/',
218
+ ...options,
219
+ headers: {
220
+ 'Content-Type': 'application/json',
221
+ ...options.headers
222
+ }
223
+ });
224
+ };
225
+ export const broadcastMessagesDestroy = (options) => {
226
+ return (options.client ?? _heyApiClient).delete({
227
+ security: [
228
+ {
229
+ name: 'Authorization',
230
+ type: 'apiKey'
231
+ },
232
+ {
233
+ scheme: 'bearer',
234
+ type: 'http'
235
+ },
236
+ {
237
+ scheme: 'bearer',
238
+ type: 'http'
239
+ }
240
+ ],
241
+ url: '/api/broadcast-messages/{uuid}/',
242
+ ...options
243
+ });
244
+ };
245
+ export const broadcastMessagesRetrieve = (options) => {
246
+ return (options.client ?? _heyApiClient).get({
247
+ security: [
248
+ {
249
+ name: 'Authorization',
250
+ type: 'apiKey'
251
+ },
252
+ {
253
+ scheme: 'bearer',
254
+ type: 'http'
255
+ },
256
+ {
257
+ scheme: 'bearer',
258
+ type: 'http'
259
+ }
260
+ ],
261
+ url: '/api/broadcast-messages/{uuid}/',
262
+ ...options
263
+ });
264
+ };
265
+ export const broadcastMessagesPartialUpdate = (options) => {
266
+ return (options.client ?? _heyApiClient).patch({
267
+ security: [
268
+ {
269
+ name: 'Authorization',
270
+ type: 'apiKey'
271
+ },
272
+ {
273
+ scheme: 'bearer',
274
+ type: 'http'
275
+ },
276
+ {
277
+ scheme: 'bearer',
278
+ type: 'http'
279
+ }
280
+ ],
281
+ url: '/api/broadcast-messages/{uuid}/',
282
+ ...options,
283
+ headers: {
284
+ 'Content-Type': 'application/json',
285
+ ...options.headers
286
+ }
287
+ });
288
+ };
289
+ export const broadcastMessagesUpdate = (options) => {
290
+ return (options.client ?? _heyApiClient).put({
291
+ security: [
292
+ {
293
+ name: 'Authorization',
294
+ type: 'apiKey'
295
+ },
296
+ {
297
+ scheme: 'bearer',
298
+ type: 'http'
299
+ },
300
+ {
301
+ scheme: 'bearer',
302
+ type: 'http'
303
+ }
304
+ ],
305
+ url: '/api/broadcast-messages/{uuid}/',
306
+ ...options,
307
+ headers: {
308
+ 'Content-Type': 'application/json',
309
+ ...options.headers
310
+ }
311
+ });
312
+ };
313
+ export const broadcastMessagesSchedule = (options) => {
314
+ return (options.client ?? _heyApiClient).post({
315
+ security: [
316
+ {
317
+ name: 'Authorization',
318
+ type: 'apiKey'
319
+ },
320
+ {
321
+ scheme: 'bearer',
322
+ type: 'http'
323
+ },
324
+ {
325
+ scheme: 'bearer',
326
+ type: 'http'
327
+ }
328
+ ],
329
+ url: '/api/broadcast-messages/{uuid}/schedule/',
330
+ ...options
331
+ });
332
+ };
333
+ export const broadcastMessagesSend = (options) => {
334
+ return (options.client ?? _heyApiClient).post({
335
+ security: [
336
+ {
337
+ name: 'Authorization',
338
+ type: 'apiKey'
339
+ },
340
+ {
341
+ scheme: 'bearer',
342
+ type: 'http'
343
+ },
344
+ {
345
+ scheme: 'bearer',
346
+ type: 'http'
347
+ }
348
+ ],
349
+ url: '/api/broadcast-messages/{uuid}/send/',
350
+ ...options
351
+ });
352
+ };
353
+ export const broadcastMessagesRecipientsRetrieve = (options) => {
354
+ return (options?.client ?? _heyApiClient).get({
355
+ security: [
356
+ {
357
+ name: 'Authorization',
358
+ type: 'apiKey'
359
+ },
360
+ {
361
+ scheme: 'bearer',
362
+ type: 'http'
363
+ },
364
+ {
365
+ scheme: 'bearer',
366
+ type: 'http'
367
+ }
368
+ ],
369
+ url: '/api/broadcast-messages/recipients/',
370
+ ...options
371
+ });
372
+ };
373
+ /**
374
+ * Get number of items in the collection matching the request parameters.
375
+ */
376
+ export const broadcastMessagesRecipientsCount = (options) => {
377
+ return (options?.client ?? _heyApiClient).head({
378
+ security: [
379
+ {
380
+ name: 'Authorization',
381
+ type: 'apiKey'
382
+ },
383
+ {
384
+ scheme: 'bearer',
385
+ type: 'http'
386
+ },
387
+ {
388
+ scheme: 'bearer',
389
+ type: 'http'
390
+ }
391
+ ],
392
+ url: '/api/broadcast-messages/recipients/',
393
+ ...options
394
+ });
395
+ };
396
+ export const emailLogsList = (options) => {
397
+ return (options?.client ?? _heyApiClient).get({
398
+ security: [
399
+ {
400
+ name: 'Authorization',
401
+ type: 'apiKey'
402
+ },
403
+ {
404
+ scheme: 'bearer',
405
+ type: 'http'
406
+ },
407
+ {
408
+ scheme: 'bearer',
409
+ type: 'http'
410
+ }
411
+ ],
412
+ url: '/api/email-logs/',
413
+ ...options
414
+ });
415
+ };
416
+ /**
417
+ * Get number of items in the collection matching the request parameters.
418
+ */
419
+ export const emailLogsCount = (options) => {
420
+ return (options?.client ?? _heyApiClient).head({
421
+ security: [
422
+ {
423
+ name: 'Authorization',
424
+ type: 'apiKey'
425
+ },
426
+ {
427
+ scheme: 'bearer',
428
+ type: 'http'
429
+ },
430
+ {
431
+ scheme: 'bearer',
432
+ type: 'http'
433
+ }
434
+ ],
435
+ url: '/api/email-logs/',
436
+ ...options
437
+ });
438
+ };
439
+ export const emailLogsRetrieve = (options) => {
440
+ return (options.client ?? _heyApiClient).get({
441
+ security: [
442
+ {
443
+ name: 'Authorization',
444
+ type: 'apiKey'
445
+ },
446
+ {
447
+ scheme: 'bearer',
448
+ type: 'http'
449
+ },
450
+ {
451
+ scheme: 'bearer',
452
+ type: 'http'
453
+ }
454
+ ],
455
+ url: '/api/email-logs/{uuid}/',
456
+ ...options
457
+ });
458
+ };
459
+ export const hooksList = (options) => {
460
+ return (options?.client ?? _heyApiClient).get({
461
+ security: [
462
+ {
463
+ name: 'Authorization',
464
+ type: 'apiKey'
465
+ },
466
+ {
467
+ scheme: 'bearer',
468
+ type: 'http'
469
+ },
470
+ {
471
+ scheme: 'bearer',
472
+ type: 'http'
473
+ }
474
+ ],
475
+ url: '/api/hooks/',
476
+ ...options
477
+ });
478
+ };
479
+ /**
480
+ * Get number of items in the collection matching the request parameters.
481
+ */
482
+ export const hooksCount = (options) => {
483
+ return (options?.client ?? _heyApiClient).head({
484
+ security: [
485
+ {
486
+ name: 'Authorization',
487
+ type: 'apiKey'
488
+ },
489
+ {
490
+ scheme: 'bearer',
491
+ type: 'http'
492
+ },
493
+ {
494
+ scheme: 'bearer',
495
+ type: 'http'
496
+ }
497
+ ],
498
+ url: '/api/hooks/',
499
+ ...options
500
+ });
501
+ };
502
+ export const hooksEmailList = (options) => {
503
+ return (options?.client ?? _heyApiClient).get({
504
+ security: [
505
+ {
506
+ name: 'Authorization',
507
+ type: 'apiKey'
508
+ },
509
+ {
510
+ scheme: 'bearer',
511
+ type: 'http'
512
+ },
513
+ {
514
+ scheme: 'bearer',
515
+ type: 'http'
516
+ }
517
+ ],
518
+ url: '/api/hooks-email/',
519
+ ...options
520
+ });
521
+ };
522
+ /**
523
+ * Get number of items in the collection matching the request parameters.
524
+ */
525
+ export const hooksEmailCount = (options) => {
526
+ return (options?.client ?? _heyApiClient).head({
527
+ security: [
528
+ {
529
+ name: 'Authorization',
530
+ type: 'apiKey'
531
+ },
532
+ {
533
+ scheme: 'bearer',
534
+ type: 'http'
535
+ },
536
+ {
537
+ scheme: 'bearer',
538
+ type: 'http'
539
+ }
540
+ ],
541
+ url: '/api/hooks-email/',
542
+ ...options
543
+ });
544
+ };
545
+ export const hooksEmailCreate = (options) => {
546
+ return (options.client ?? _heyApiClient).post({
547
+ security: [
548
+ {
549
+ name: 'Authorization',
550
+ type: 'apiKey'
551
+ },
552
+ {
553
+ scheme: 'bearer',
554
+ type: 'http'
555
+ },
556
+ {
557
+ scheme: 'bearer',
558
+ type: 'http'
559
+ }
560
+ ],
561
+ url: '/api/hooks-email/',
562
+ ...options,
563
+ headers: {
564
+ 'Content-Type': 'application/json',
565
+ ...options.headers
566
+ }
567
+ });
568
+ };
569
+ export const hooksEmailDestroy = (options) => {
570
+ return (options.client ?? _heyApiClient).delete({
571
+ security: [
572
+ {
573
+ name: 'Authorization',
574
+ type: 'apiKey'
575
+ },
576
+ {
577
+ scheme: 'bearer',
578
+ type: 'http'
579
+ },
580
+ {
581
+ scheme: 'bearer',
582
+ type: 'http'
583
+ }
584
+ ],
585
+ url: '/api/hooks-email/{uuid}/',
586
+ ...options
587
+ });
588
+ };
589
+ export const hooksEmailRetrieve = (options) => {
590
+ return (options.client ?? _heyApiClient).get({
591
+ security: [
592
+ {
593
+ name: 'Authorization',
594
+ type: 'apiKey'
595
+ },
596
+ {
597
+ scheme: 'bearer',
598
+ type: 'http'
599
+ },
600
+ {
601
+ scheme: 'bearer',
602
+ type: 'http'
603
+ }
604
+ ],
605
+ url: '/api/hooks-email/{uuid}/',
606
+ ...options
607
+ });
608
+ };
609
+ export const hooksEmailPartialUpdate = (options) => {
610
+ return (options.client ?? _heyApiClient).patch({
611
+ security: [
612
+ {
613
+ name: 'Authorization',
614
+ type: 'apiKey'
615
+ },
616
+ {
617
+ scheme: 'bearer',
618
+ type: 'http'
619
+ },
620
+ {
621
+ scheme: 'bearer',
622
+ type: 'http'
623
+ }
624
+ ],
625
+ url: '/api/hooks-email/{uuid}/',
626
+ ...options,
627
+ headers: {
628
+ 'Content-Type': 'application/json',
629
+ ...options.headers
630
+ }
631
+ });
632
+ };
633
+ export const hooksEmailUpdate = (options) => {
634
+ return (options.client ?? _heyApiClient).put({
635
+ security: [
636
+ {
637
+ name: 'Authorization',
638
+ type: 'apiKey'
639
+ },
640
+ {
641
+ scheme: 'bearer',
642
+ type: 'http'
643
+ },
644
+ {
645
+ scheme: 'bearer',
646
+ type: 'http'
647
+ }
648
+ ],
649
+ url: '/api/hooks-email/{uuid}/',
650
+ ...options,
651
+ headers: {
652
+ 'Content-Type': 'application/json',
653
+ ...options.headers
654
+ }
655
+ });
656
+ };
657
+ export const hooksWebList = (options) => {
658
+ return (options?.client ?? _heyApiClient).get({
659
+ security: [
660
+ {
661
+ name: 'Authorization',
662
+ type: 'apiKey'
663
+ },
664
+ {
665
+ scheme: 'bearer',
666
+ type: 'http'
667
+ },
668
+ {
669
+ scheme: 'bearer',
670
+ type: 'http'
671
+ }
672
+ ],
673
+ url: '/api/hooks-web/',
674
+ ...options
675
+ });
676
+ };
677
+ /**
678
+ * Get number of items in the collection matching the request parameters.
679
+ */
680
+ export const hooksWebCount = (options) => {
681
+ return (options?.client ?? _heyApiClient).head({
682
+ security: [
683
+ {
684
+ name: 'Authorization',
685
+ type: 'apiKey'
686
+ },
687
+ {
688
+ scheme: 'bearer',
689
+ type: 'http'
690
+ },
691
+ {
692
+ scheme: 'bearer',
693
+ type: 'http'
694
+ }
695
+ ],
696
+ url: '/api/hooks-web/',
697
+ ...options
698
+ });
699
+ };
700
+ /**
701
+ * When hook is activated, POST request is issued against destination URL with the following data:
702
+ *
703
+ * .. code-block:: javascript
704
+ *
705
+ * {
706
+ * "timestamp": "2015-07-14T12:12:56.000000",
707
+ * "message": "Customer ABC LLC has been updated.",
708
+ * "type": "customer_update_succeeded",
709
+ * "context": {
710
+ * "user_native_name": "Walter Lebrowski",
711
+ * "customer_contact_details": "",
712
+ * "user_username": "Walter",
713
+ * "user_uuid": "1c3323fc4ae44120b57ec40dea1be6e6",
714
+ * "customer_uuid": "4633bbbb0b3a4b91bffc0e18f853de85",
715
+ * "ip_address": "8.8.8.8",
716
+ * "user_full_name": "Walter Lebrowski",
717
+ * "customer_abbreviation": "ABC LLC",
718
+ * "customer_name": "ABC LLC"
719
+ * },
720
+ * "levelname": "INFO"
721
+ * }
722
+ *
723
+ * Note that context depends on event type.
724
+ */
725
+ export const hooksWebCreate = (options) => {
726
+ return (options.client ?? _heyApiClient).post({
727
+ security: [
728
+ {
729
+ name: 'Authorization',
730
+ type: 'apiKey'
731
+ },
732
+ {
733
+ scheme: 'bearer',
734
+ type: 'http'
735
+ },
736
+ {
737
+ scheme: 'bearer',
738
+ type: 'http'
739
+ }
740
+ ],
741
+ url: '/api/hooks-web/',
742
+ ...options,
743
+ headers: {
744
+ 'Content-Type': 'application/json',
745
+ ...options.headers
746
+ }
747
+ });
748
+ };
749
+ export const hooksWebDestroy = (options) => {
750
+ return (options.client ?? _heyApiClient).delete({
751
+ security: [
752
+ {
753
+ name: 'Authorization',
754
+ type: 'apiKey'
755
+ },
756
+ {
757
+ scheme: 'bearer',
758
+ type: 'http'
759
+ },
760
+ {
761
+ scheme: 'bearer',
762
+ type: 'http'
763
+ }
764
+ ],
765
+ url: '/api/hooks-web/{uuid}/',
766
+ ...options
767
+ });
768
+ };
769
+ export const hooksWebRetrieve = (options) => {
770
+ return (options.client ?? _heyApiClient).get({
771
+ security: [
772
+ {
773
+ name: 'Authorization',
774
+ type: 'apiKey'
775
+ },
776
+ {
777
+ scheme: 'bearer',
778
+ type: 'http'
779
+ },
780
+ {
781
+ scheme: 'bearer',
782
+ type: 'http'
783
+ }
784
+ ],
785
+ url: '/api/hooks-web/{uuid}/',
786
+ ...options
787
+ });
788
+ };
789
+ export const hooksWebPartialUpdate = (options) => {
790
+ return (options.client ?? _heyApiClient).patch({
791
+ security: [
792
+ {
793
+ name: 'Authorization',
794
+ type: 'apiKey'
795
+ },
796
+ {
797
+ scheme: 'bearer',
798
+ type: 'http'
799
+ },
800
+ {
801
+ scheme: 'bearer',
802
+ type: 'http'
803
+ }
804
+ ],
805
+ url: '/api/hooks-web/{uuid}/',
806
+ ...options,
807
+ headers: {
808
+ 'Content-Type': 'application/json',
809
+ ...options.headers
810
+ }
811
+ });
812
+ };
813
+ export const hooksWebUpdate = (options) => {
814
+ return (options.client ?? _heyApiClient).put({
815
+ security: [
816
+ {
817
+ name: 'Authorization',
818
+ type: 'apiKey'
819
+ },
820
+ {
821
+ scheme: 'bearer',
822
+ type: 'http'
823
+ },
824
+ {
825
+ scheme: 'bearer',
826
+ type: 'http'
827
+ }
828
+ ],
829
+ url: '/api/hooks-web/{uuid}/',
830
+ ...options,
831
+ headers: {
832
+ 'Content-Type': 'application/json',
833
+ ...options.headers
834
+ }
835
+ });
836
+ };
837
+ export const notificationMessagesList = (options) => {
838
+ return (options?.client ?? _heyApiClient).get({
839
+ security: [
840
+ {
841
+ name: 'Authorization',
842
+ type: 'apiKey'
843
+ },
844
+ {
845
+ scheme: 'bearer',
846
+ type: 'http'
847
+ },
848
+ {
849
+ scheme: 'bearer',
850
+ type: 'http'
851
+ }
852
+ ],
853
+ url: '/api/notification-messages/',
854
+ ...options
855
+ });
856
+ };
857
+ /**
858
+ * Get number of items in the collection matching the request parameters.
859
+ */
860
+ export const notificationMessagesCount = (options) => {
861
+ return (options?.client ?? _heyApiClient).head({
862
+ security: [
863
+ {
864
+ name: 'Authorization',
865
+ type: 'apiKey'
866
+ },
867
+ {
868
+ scheme: 'bearer',
869
+ type: 'http'
870
+ },
871
+ {
872
+ scheme: 'bearer',
873
+ type: 'http'
874
+ }
875
+ ],
876
+ url: '/api/notification-messages/',
877
+ ...options
878
+ });
879
+ };
880
+ export const notificationMessagesCreate = (options) => {
881
+ return (options.client ?? _heyApiClient).post({
882
+ security: [
883
+ {
884
+ name: 'Authorization',
885
+ type: 'apiKey'
886
+ },
887
+ {
888
+ scheme: 'bearer',
889
+ type: 'http'
890
+ },
891
+ {
892
+ scheme: 'bearer',
893
+ type: 'http'
894
+ }
895
+ ],
896
+ url: '/api/notification-messages/',
897
+ ...options,
898
+ headers: {
899
+ 'Content-Type': 'application/json',
900
+ ...options.headers
901
+ }
902
+ });
903
+ };
904
+ export const notificationMessagesTemplatesList = (options) => {
905
+ return (options?.client ?? _heyApiClient).get({
906
+ security: [
907
+ {
908
+ name: 'Authorization',
909
+ type: 'apiKey'
910
+ },
911
+ {
912
+ scheme: 'bearer',
913
+ type: 'http'
914
+ },
915
+ {
916
+ scheme: 'bearer',
917
+ type: 'http'
918
+ }
919
+ ],
920
+ url: '/api/notification-messages-templates/',
921
+ ...options
922
+ });
923
+ };
924
+ /**
925
+ * Get number of items in the collection matching the request parameters.
926
+ */
927
+ export const notificationMessagesTemplatesCount = (options) => {
928
+ return (options?.client ?? _heyApiClient).head({
929
+ security: [
930
+ {
931
+ name: 'Authorization',
932
+ type: 'apiKey'
933
+ },
934
+ {
935
+ scheme: 'bearer',
936
+ type: 'http'
937
+ },
938
+ {
939
+ scheme: 'bearer',
940
+ type: 'http'
941
+ }
942
+ ],
943
+ url: '/api/notification-messages-templates/',
944
+ ...options
945
+ });
946
+ };
947
+ export const notificationMessagesTemplatesCreate = (options) => {
948
+ return (options.client ?? _heyApiClient).post({
949
+ security: [
950
+ {
951
+ name: 'Authorization',
952
+ type: 'apiKey'
953
+ },
954
+ {
955
+ scheme: 'bearer',
956
+ type: 'http'
957
+ },
958
+ {
959
+ scheme: 'bearer',
960
+ type: 'http'
961
+ }
962
+ ],
963
+ url: '/api/notification-messages-templates/',
964
+ ...options,
965
+ headers: {
966
+ 'Content-Type': 'application/json',
967
+ ...options.headers
968
+ }
969
+ });
970
+ };
971
+ export const notificationMessagesTemplatesDestroy = (options) => {
972
+ return (options.client ?? _heyApiClient).delete({
973
+ security: [
974
+ {
975
+ name: 'Authorization',
976
+ type: 'apiKey'
977
+ },
978
+ {
979
+ scheme: 'bearer',
980
+ type: 'http'
981
+ },
982
+ {
983
+ scheme: 'bearer',
984
+ type: 'http'
985
+ }
986
+ ],
987
+ url: '/api/notification-messages-templates/{uuid}/',
988
+ ...options
989
+ });
990
+ };
991
+ export const notificationMessagesTemplatesRetrieve = (options) => {
992
+ return (options.client ?? _heyApiClient).get({
993
+ security: [
994
+ {
995
+ name: 'Authorization',
996
+ type: 'apiKey'
997
+ },
998
+ {
999
+ scheme: 'bearer',
1000
+ type: 'http'
1001
+ },
1002
+ {
1003
+ scheme: 'bearer',
1004
+ type: 'http'
1005
+ }
1006
+ ],
1007
+ url: '/api/notification-messages-templates/{uuid}/',
1008
+ ...options
1009
+ });
1010
+ };
1011
+ export const notificationMessagesTemplatesPartialUpdate = (options) => {
1012
+ return (options.client ?? _heyApiClient).patch({
1013
+ security: [
1014
+ {
1015
+ name: 'Authorization',
1016
+ type: 'apiKey'
1017
+ },
1018
+ {
1019
+ scheme: 'bearer',
1020
+ type: 'http'
1021
+ },
1022
+ {
1023
+ scheme: 'bearer',
1024
+ type: 'http'
1025
+ }
1026
+ ],
1027
+ url: '/api/notification-messages-templates/{uuid}/',
1028
+ ...options,
1029
+ headers: {
1030
+ 'Content-Type': 'application/json',
1031
+ ...options.headers
1032
+ }
1033
+ });
1034
+ };
1035
+ export const notificationMessagesTemplatesUpdate = (options) => {
1036
+ return (options.client ?? _heyApiClient).put({
1037
+ security: [
1038
+ {
1039
+ name: 'Authorization',
1040
+ type: 'apiKey'
1041
+ },
1042
+ {
1043
+ scheme: 'bearer',
1044
+ type: 'http'
1045
+ },
1046
+ {
1047
+ scheme: 'bearer',
1048
+ type: 'http'
1049
+ }
1050
+ ],
1051
+ url: '/api/notification-messages-templates/{uuid}/',
1052
+ ...options,
1053
+ headers: {
1054
+ 'Content-Type': 'application/json',
1055
+ ...options.headers
1056
+ }
1057
+ });
1058
+ };
1059
+ /**
1060
+ * Override notification template content
1061
+ */
1062
+ export const notificationMessagesTemplatesOverride = (options) => {
1063
+ return (options.client ?? _heyApiClient).post({
1064
+ security: [
1065
+ {
1066
+ name: 'Authorization',
1067
+ type: 'apiKey'
1068
+ },
1069
+ {
1070
+ scheme: 'bearer',
1071
+ type: 'http'
1072
+ },
1073
+ {
1074
+ scheme: 'bearer',
1075
+ type: 'http'
1076
+ }
1077
+ ],
1078
+ url: '/api/notification-messages-templates/{uuid}/override/',
1079
+ ...options,
1080
+ headers: {
1081
+ 'Content-Type': 'application/json',
1082
+ ...options.headers
1083
+ }
1084
+ });
1085
+ };
1086
+ export const notificationMessagesDestroy = (options) => {
1087
+ return (options.client ?? _heyApiClient).delete({
1088
+ security: [
1089
+ {
1090
+ name: 'Authorization',
1091
+ type: 'apiKey'
1092
+ },
1093
+ {
1094
+ scheme: 'bearer',
1095
+ type: 'http'
1096
+ },
1097
+ {
1098
+ scheme: 'bearer',
1099
+ type: 'http'
1100
+ }
1101
+ ],
1102
+ url: '/api/notification-messages/{uuid}/',
1103
+ ...options
1104
+ });
1105
+ };
1106
+ export const notificationMessagesRetrieve = (options) => {
1107
+ return (options.client ?? _heyApiClient).get({
1108
+ security: [
1109
+ {
1110
+ name: 'Authorization',
1111
+ type: 'apiKey'
1112
+ },
1113
+ {
1114
+ scheme: 'bearer',
1115
+ type: 'http'
1116
+ },
1117
+ {
1118
+ scheme: 'bearer',
1119
+ type: 'http'
1120
+ }
1121
+ ],
1122
+ url: '/api/notification-messages/{uuid}/',
1123
+ ...options
1124
+ });
1125
+ };
1126
+ export const notificationMessagesPartialUpdate = (options) => {
1127
+ return (options.client ?? _heyApiClient).patch({
1128
+ security: [
1129
+ {
1130
+ name: 'Authorization',
1131
+ type: 'apiKey'
1132
+ },
1133
+ {
1134
+ scheme: 'bearer',
1135
+ type: 'http'
1136
+ },
1137
+ {
1138
+ scheme: 'bearer',
1139
+ type: 'http'
1140
+ }
1141
+ ],
1142
+ url: '/api/notification-messages/{uuid}/',
1143
+ ...options,
1144
+ headers: {
1145
+ 'Content-Type': 'application/json',
1146
+ ...options.headers
1147
+ }
1148
+ });
1149
+ };
1150
+ export const notificationMessagesUpdate = (options) => {
1151
+ return (options.client ?? _heyApiClient).put({
1152
+ security: [
1153
+ {
1154
+ name: 'Authorization',
1155
+ type: 'apiKey'
1156
+ },
1157
+ {
1158
+ scheme: 'bearer',
1159
+ type: 'http'
1160
+ },
1161
+ {
1162
+ scheme: 'bearer',
1163
+ type: 'http'
1164
+ }
1165
+ ],
1166
+ url: '/api/notification-messages/{uuid}/',
1167
+ ...options,
1168
+ headers: {
1169
+ 'Content-Type': 'application/json',
1170
+ ...options.headers
1171
+ }
1172
+ });
1173
+ };
1174
+ /**
1175
+ * Disable a notification
1176
+ */
1177
+ export const notificationMessagesDisable = (options) => {
1178
+ return (options.client ?? _heyApiClient).post({
1179
+ security: [
1180
+ {
1181
+ name: 'Authorization',
1182
+ type: 'apiKey'
1183
+ },
1184
+ {
1185
+ scheme: 'bearer',
1186
+ type: 'http'
1187
+ },
1188
+ {
1189
+ scheme: 'bearer',
1190
+ type: 'http'
1191
+ }
1192
+ ],
1193
+ url: '/api/notification-messages/{uuid}/disable/',
1194
+ ...options
1195
+ });
1196
+ };
1197
+ /**
1198
+ * Enable a notification
1199
+ */
1200
+ export const notificationMessagesEnable = (options) => {
1201
+ return (options.client ?? _heyApiClient).post({
1202
+ security: [
1203
+ {
1204
+ name: 'Authorization',
1205
+ type: 'apiKey'
1206
+ },
1207
+ {
1208
+ scheme: 'bearer',
1209
+ type: 'http'
1210
+ },
1211
+ {
1212
+ scheme: 'bearer',
1213
+ type: 'http'
1214
+ }
1215
+ ],
1216
+ url: '/api/notification-messages/{uuid}/enable/',
1217
+ ...options
1218
+ });
1219
+ };