forked from jfcote87/esign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uncategorized.go
1271 lines (1090 loc) · 51.3 KB
/
uncategorized.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2019 James Cote
// All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by gen-esign; DO NOT EDIT.
// Package uncategorized implements the DocuSign SDK
// category Uncategorized.
//
//
// Uncategorized calls may change or move to other packages.
//
//
// Usage example:
//
// import (
// "github.com/bradwheel/esign"
// "github.com/bradwheel/esign/v2.1/uncategorized"
// "github.com/bradwheel/esign/v2.1/model"
// )
// ...
// uncategorizedService := uncategorized.New(esignCredential)
package uncategorized // import "github.com/bradwheel/esign/v2.1/uncategorized"
import (
"context"
"io"
"net/url"
"strings"
"github.com/bradwheel/esign"
"github.com/bradwheel/esign/v2.1/model"
)
// Service implements DocuSign Uncategorized Category API operations
type Service struct {
credential esign.Credential
}
// New initializes a uncategorized service using cred to authorize ops.
func New(cred esign.Credential) *Service {
return &Service{credential: cred}
}
// AccountsGetEnvelopePurgeConfiguration gets the envelope purge configuration for an account.
// operation is uncategorized and subject to change.
func (s *Service) AccountsGetEnvelopePurgeConfiguration() *AccountsGetEnvelopePurgeConfigurationOp {
return &AccountsGetEnvelopePurgeConfigurationOp{
Credential: s.credential,
Method: "GET",
Path: "settings/envelope_purge_configuration",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// AccountsGetEnvelopePurgeConfigurationOp implements DocuSign API SDK Uncategorized::getEnvelopePurgeConfiguration
type AccountsGetEnvelopePurgeConfigurationOp esign.Op
// Do executes the op. A nil context will return error.
func (op *AccountsGetEnvelopePurgeConfigurationOp) Do(ctx context.Context) (*model.EnvelopePurgeConfiguration, error) {
var res *model.EnvelopePurgeConfiguration
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// AccountsGetNotificationDefaults gets envelope notification defaults.
// operation is uncategorized and subject to change.
func (s *Service) AccountsGetNotificationDefaults() *AccountsGetNotificationDefaultsOp {
return &AccountsGetNotificationDefaultsOp{
Credential: s.credential,
Method: "GET",
Path: "settings/notification_defaults",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// AccountsGetNotificationDefaultsOp implements DocuSign API SDK Uncategorized::getNotificationDefaults
type AccountsGetNotificationDefaultsOp esign.Op
// Do executes the op. A nil context will return error.
func (op *AccountsGetNotificationDefaultsOp) Do(ctx context.Context) (*model.NotificationDefaults, error) {
var res *model.NotificationDefaults
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// AccountsUpdateEnvelopePurgeConfiguration sets the envelope purge configuration for an account.
// operation is uncategorized and subject to change.
func (s *Service) AccountsUpdateEnvelopePurgeConfiguration(envelopePurgeConfiguration *model.EnvelopePurgeConfiguration) *AccountsUpdateEnvelopePurgeConfigurationOp {
return &AccountsUpdateEnvelopePurgeConfigurationOp{
Credential: s.credential,
Method: "PUT",
Path: "settings/envelope_purge_configuration",
Payload: envelopePurgeConfiguration,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// AccountsUpdateEnvelopePurgeConfigurationOp implements DocuSign API SDK Uncategorized::updateEnvelopePurgeConfiguration
type AccountsUpdateEnvelopePurgeConfigurationOp esign.Op
// Do executes the op. A nil context will return error.
func (op *AccountsUpdateEnvelopePurgeConfigurationOp) Do(ctx context.Context) (*model.EnvelopePurgeConfiguration, error) {
var res *model.EnvelopePurgeConfiguration
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// AccountsUpdateNotificationDefaults updates envelope notification default settings.
// operation is uncategorized and subject to change.
func (s *Service) AccountsUpdateNotificationDefaults(notificationDefaults *model.NotificationDefaults) *AccountsUpdateNotificationDefaultsOp {
return &AccountsUpdateNotificationDefaultsOp{
Credential: s.credential,
Method: "PUT",
Path: "settings/notification_defaults",
Payload: notificationDefaults,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// AccountsUpdateNotificationDefaultsOp implements DocuSign API SDK Uncategorized::updateNotificationDefaults
type AccountsUpdateNotificationDefaultsOp esign.Op
// Do executes the op. A nil context will return error.
func (op *AccountsUpdateNotificationDefaultsOp) Do(ctx context.Context) (*model.NotificationDefaults, error) {
var res *model.NotificationDefaults
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BCCEmailArchiveCreate creates a BCC email archive configuration.
// operation is uncategorized and subject to change.
func (s *Service) BCCEmailArchiveCreate(bccEmailArchive *model.BccEmailArchive) *BCCEmailArchiveCreateOp {
return &BCCEmailArchiveCreateOp{
Credential: s.credential,
Method: "POST",
Path: "settings/bcc_email_archives",
Payload: bccEmailArchive,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BCCEmailArchiveCreateOp implements DocuSign API SDK Uncategorized::create
type BCCEmailArchiveCreateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BCCEmailArchiveCreateOp) Do(ctx context.Context) (*model.BccEmailArchive, error) {
var res *model.BccEmailArchive
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BCCEmailArchiveDelete deletes a BCC email archive configuration.
// operation is uncategorized and subject to change.
func (s *Service) BCCEmailArchiveDelete(bccEmailArchiveID string) *BCCEmailArchiveDeleteOp {
return &BCCEmailArchiveDeleteOp{
Credential: s.credential,
Method: "DELETE",
Path: strings.Join([]string{"settings", "bcc_email_archives", bccEmailArchiveID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BCCEmailArchiveDeleteOp implements DocuSign API SDK Uncategorized::delete
type BCCEmailArchiveDeleteOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BCCEmailArchiveDeleteOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// BCCEmailArchiveGet gets a BCC email archive configuration and its history.
// operation is uncategorized and subject to change.
func (s *Service) BCCEmailArchiveGet(bccEmailArchiveID string) *BCCEmailArchiveGetOp {
return &BCCEmailArchiveGetOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"settings", "bcc_email_archives", bccEmailArchiveID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BCCEmailArchiveGetOp implements DocuSign API SDK Uncategorized::get
type BCCEmailArchiveGetOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BCCEmailArchiveGetOp) Do(ctx context.Context) (*model.BccEmailArchiveHistoryList, error) {
var res *model.BccEmailArchiveHistoryList
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// Count (Optional) The maximum number of results (changes) to return.
func (op *BCCEmailArchiveGetOp) Count(val string) *BCCEmailArchiveGetOp {
if op != nil {
op.QueryOpts.Set("count", val)
}
return op
}
// StartPosition (Optional) The index position within the total result set from which to start returning values. The default value is `0`.
func (op *BCCEmailArchiveGetOp) StartPosition(val string) *BCCEmailArchiveGetOp {
if op != nil {
op.QueryOpts.Set("start_position", val)
}
return op
}
// BCCEmailArchiveList gets the BCC email archive configurations for an account.
// operation is uncategorized and subject to change.
func (s *Service) BCCEmailArchiveList() *BCCEmailArchiveListOp {
return &BCCEmailArchiveListOp{
Credential: s.credential,
Method: "GET",
Path: "settings/bcc_email_archives",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BCCEmailArchiveListOp implements DocuSign API SDK Uncategorized::list
type BCCEmailArchiveListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BCCEmailArchiveListOp) Do(ctx context.Context) (*model.BccEmailArchiveList, error) {
var res *model.BccEmailArchiveList
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// Count (Optional) The maximum number of results to return.
func (op *BCCEmailArchiveListOp) Count(val string) *BCCEmailArchiveListOp {
if op != nil {
op.QueryOpts.Set("count", val)
}
return op
}
// StartPosition (Optional) The index position within the total result set from which to start returning values. The default value is `0`.
func (op *BCCEmailArchiveListOp) StartPosition(val string) *BCCEmailArchiveListOp {
if op != nil {
op.QueryOpts.Set("start_position", val)
}
return op
}
// BulkSendCreateBulkSendList creates a bulk send list
// operation is uncategorized and subject to change.
func (s *Service) BulkSendCreateBulkSendList(bulkSend *model.BulkSendingList) *BulkSendCreateBulkSendListOp {
return &BulkSendCreateBulkSendListOp{
Credential: s.credential,
Method: "POST",
Path: "bulk_send_lists",
Payload: bulkSend,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendCreateBulkSendListOp implements DocuSign API SDK Uncategorized::createBulkSendList
type BulkSendCreateBulkSendListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendCreateBulkSendListOp) Do(ctx context.Context) (*model.BulkSendingList, error) {
var res *model.BulkSendingList
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendCreateBulkSendRequest creates a bulk send request
// operation is uncategorized and subject to change.
func (s *Service) BulkSendCreateBulkSendRequest(bulkSendListID string, bulkSendRequest *model.BulkSendRequest) *BulkSendCreateBulkSendRequestOp {
return &BulkSendCreateBulkSendRequestOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"bulk_send_lists", bulkSendListID, "send"}, "/"),
Payload: bulkSendRequest,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendCreateBulkSendRequestOp implements DocuSign API SDK Uncategorized::createBulkSendRequest
type BulkSendCreateBulkSendRequestOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendCreateBulkSendRequestOp) Do(ctx context.Context) (*model.BulkSendResponse, error) {
var res *model.BulkSendResponse
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendCreateBulkSendTestRequest creates a bulk send test
// operation is uncategorized and subject to change.
func (s *Service) BulkSendCreateBulkSendTestRequest(bulkSendListID string, bulkSendRequest *model.BulkSendRequest) *BulkSendCreateBulkSendTestRequestOp {
return &BulkSendCreateBulkSendTestRequestOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"bulk_send_lists", bulkSendListID, "test"}, "/"),
Payload: bulkSendRequest,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendCreateBulkSendTestRequestOp implements DocuSign API SDK Uncategorized::createBulkSendTestRequest
type BulkSendCreateBulkSendTestRequestOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendCreateBulkSendTestRequestOp) Do(ctx context.Context) (*model.BulkSendTestResponse, error) {
var res *model.BulkSendTestResponse
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendDeleteBulkSendList deletes a bulk send list
// operation is uncategorized and subject to change.
func (s *Service) BulkSendDeleteBulkSendList(bulkSendListID string) *BulkSendDeleteBulkSendListOp {
return &BulkSendDeleteBulkSendListOp{
Credential: s.credential,
Method: "DELETE",
Path: strings.Join([]string{"bulk_send_lists", bulkSendListID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendDeleteBulkSendListOp implements DocuSign API SDK Uncategorized::deleteBulkSendList
type BulkSendDeleteBulkSendListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendDeleteBulkSendListOp) Do(ctx context.Context) (*model.BulkSendingListSummaries, error) {
var res *model.BulkSendingListSummaries
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendGetBulkSendList gets a specific bulk send list
// operation is uncategorized and subject to change.
func (s *Service) BulkSendGetBulkSendList(bulkSendListID string) *BulkSendGetBulkSendListOp {
return &BulkSendGetBulkSendListOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"bulk_send_lists", bulkSendListID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendGetBulkSendListOp implements DocuSign API SDK Uncategorized::getBulkSendList
type BulkSendGetBulkSendListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendGetBulkSendListOp) Do(ctx context.Context) (*model.BulkSendingList, error) {
var res *model.BulkSendingList
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendGetBulkSendLists gets bulk send lists
// operation is uncategorized and subject to change.
func (s *Service) BulkSendGetBulkSendLists() *BulkSendGetBulkSendListsOp {
return &BulkSendGetBulkSendListsOp{
Credential: s.credential,
Method: "GET",
Path: "bulk_send_lists",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendGetBulkSendListsOp implements DocuSign API SDK Uncategorized::getBulkSendLists
type BulkSendGetBulkSendListsOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendGetBulkSendListsOp) Do(ctx context.Context) (*model.BulkSendingListSummaries, error) {
var res *model.BulkSendingListSummaries
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// BulkSendUpdateBulkSendList updates a bulk send list
// operation is uncategorized and subject to change.
func (s *Service) BulkSendUpdateBulkSendList(bulkSendListID string, bulkSend *model.BulkSendingList) *BulkSendUpdateBulkSendListOp {
return &BulkSendUpdateBulkSendListOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"bulk_send_lists", bulkSendListID}, "/"),
Payload: bulkSend,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// BulkSendUpdateBulkSendListOp implements DocuSign API SDK Uncategorized::updateBulkSendList
type BulkSendUpdateBulkSendListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *BulkSendUpdateBulkSendListOp) Do(ctx context.Context) (*model.BulkSendingList, error) {
var res *model.BulkSendingList
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// CommentsCreateis uncategorized and subject to change
func (s *Service) CommentsCreate(envelopeID string, commentsPublish *model.CommentsPublish) *CommentsCreateOp {
return &CommentsCreateOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "comments"}, "/"),
Payload: commentsPublish,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// CommentsCreateOp implements DocuSign API SDK Uncategorized::createEnvelopeComments
type CommentsCreateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *CommentsCreateOp) Do(ctx context.Context) (*model.CommentHistoryResult, error) {
var res *model.CommentHistoryResult
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// CommentsGetis uncategorized and subject to change
func (s *Service) CommentsGet(envelopeID string) *CommentsGetOp {
return &CommentsGetOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "comments", "transcript"}, "/"),
Accept: "application/pdf",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// CommentsGetOp implements DocuSign API SDK Uncategorized::getCommentsTranscript
type CommentsGetOp esign.Op
// Do executes the op. A nil context will return error.
func (op *CommentsGetOp) Do(ctx context.Context) (*esign.Download, error) {
var res *esign.Download
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// Encoding set the call query parameter encoding
func (op *CommentsGetOp) Encoding(val string) *CommentsGetOp {
if op != nil {
op.QueryOpts.Set("encoding", val)
}
return op
}
// DataFeedElementGetis uncategorized and subject to change
func (s *Service) DataFeedElementGet(dataFeedElementID string) *DataFeedElementGetOp {
return &DataFeedElementGetOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"data_feeds", "data", dataFeedElementID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// DataFeedElementGetOp implements DocuSign API SDK Uncategorized::get
type DataFeedElementGetOp esign.Op
// Do executes the op. A nil context will return error.
func (op *DataFeedElementGetOp) Do(ctx context.Context) (*esign.Download, error) {
var res *esign.Download
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// DocumentResponsiveHTMLPreviewCreate creates a preview of the responsive version of a document.
// operation is uncategorized and subject to change.
func (s *Service) DocumentResponsiveHTMLPreviewCreate(documentID string, envelopeID string, documentHTMLDefinition *model.DocumentHTMLDefinition) *DocumentResponsiveHTMLPreviewCreateOp {
return &DocumentResponsiveHTMLPreviewCreateOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "documents", documentID, "responsive_html_preview"}, "/"),
Payload: documentHTMLDefinition,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// DocumentResponsiveHTMLPreviewCreateOp implements DocuSign API SDK Uncategorized::createDocumentResponsiveHtmlPreview
type DocumentResponsiveHTMLPreviewCreateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *DocumentResponsiveHTMLPreviewCreateOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitions, error) {
var res *model.DocumentHTMLDefinitions
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceCreatePageInfois uncategorized and subject to change
func (s *Service) EnvelopeApplianceCreatePageInfo(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceCreatePageInfoOp {
return &EnvelopeApplianceCreatePageInfoOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "page_info"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceCreatePageInfoOp implements DocuSign API SDK Uncategorized::createAppliancePageInformation
type EnvelopeApplianceCreatePageInfoOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceCreatePageInfoOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceCreatePdfBlobis uncategorized and subject to change
func (s *Service) EnvelopeApplianceCreatePdfBlob(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceCreatePdfBlobOp {
return &EnvelopeApplianceCreatePdfBlobOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "pdf_blobs"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceCreatePdfBlobOp implements DocuSign API SDK Uncategorized::createAppliancePdfBlob
type EnvelopeApplianceCreatePdfBlobOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceCreatePdfBlobOp) Do(ctx context.Context) (*model.DisplayAppliancePdf, error) {
var res *model.DisplayAppliancePdf
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceDeletePageInfois uncategorized and subject to change
func (s *Service) EnvelopeApplianceDeletePageInfo(envelopeID string) *EnvelopeApplianceDeletePageInfoOp {
return &EnvelopeApplianceDeletePageInfoOp{
Credential: s.credential,
Method: "DELETE",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "page_info"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceDeletePageInfoOp implements DocuSign API SDK Uncategorized::deleteAppliancePageInformation
type EnvelopeApplianceDeletePageInfoOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceDeletePageInfoOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceGetApplianceInfois uncategorized and subject to change
func (s *Service) EnvelopeApplianceGetApplianceInfo(envelopeID string) *EnvelopeApplianceGetApplianceInfoOp {
return &EnvelopeApplianceGetApplianceInfoOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceGetApplianceInfoOp implements DocuSign API SDK Uncategorized::getApplianceInfo
type EnvelopeApplianceGetApplianceInfoOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceGetApplianceInfoOp) Do(ctx context.Context) (*model.DisplayApplianceInfo, error) {
var res *model.DisplayApplianceInfo
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceGetDocumentPageis uncategorized and subject to change
func (s *Service) EnvelopeApplianceGetDocumentPage(envelopeID string) *EnvelopeApplianceGetDocumentPageOp {
return &EnvelopeApplianceGetDocumentPageOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "document_page_list"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceGetDocumentPageOp implements DocuSign API SDK Uncategorized::getApplianceDocumentPage
type EnvelopeApplianceGetDocumentPageOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceGetDocumentPageOp) Do(ctx context.Context) (*model.DisplayApplianceInfo, error) {
var res *model.DisplayApplianceInfo
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceGetPdfBlobis uncategorized and subject to change
func (s *Service) EnvelopeApplianceGetPdfBlob(envelopeID string) *EnvelopeApplianceGetPdfBlobOp {
return &EnvelopeApplianceGetPdfBlobOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "pdf_blobs"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceGetPdfBlobOp implements DocuSign API SDK Uncategorized::getAppliancePdfBlob
type EnvelopeApplianceGetPdfBlobOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceGetPdfBlobOp) Do(ctx context.Context) (*model.DisplayAppliancePdf, error) {
var res *model.DisplayAppliancePdf
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceGetSignerAttachmentis uncategorized and subject to change
func (s *Service) EnvelopeApplianceGetSignerAttachment(envelopeID string) *EnvelopeApplianceGetSignerAttachmentOp {
return &EnvelopeApplianceGetSignerAttachmentOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "signer_attachment_info"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceGetSignerAttachmentOp implements DocuSign API SDK Uncategorized::getApplianceSignerAttachment
type EnvelopeApplianceGetSignerAttachmentOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceGetSignerAttachmentOp) Do(ctx context.Context) (*model.DisplayApplianceSignerAttachment, error) {
var res *model.DisplayApplianceSignerAttachment
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeApplianceUpdateApplianceDocumentis uncategorized and subject to change
func (s *Service) EnvelopeApplianceUpdateApplianceDocument(documentID string, envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceUpdateApplianceDocumentOp {
return &EnvelopeApplianceUpdateApplianceDocumentOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "document", documentID}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceUpdateApplianceDocumentOp implements DocuSign API SDK Uncategorized::updateApplianceDocument
type EnvelopeApplianceUpdateApplianceDocumentOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceUpdateApplianceDocumentOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceUpdatePageInfois uncategorized and subject to change
func (s *Service) EnvelopeApplianceUpdatePageInfo(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceUpdatePageInfoOp {
return &EnvelopeApplianceUpdatePageInfoOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "page_info"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceUpdatePageInfoOp implements DocuSign API SDK Uncategorized::updateAppliancePageInformation
type EnvelopeApplianceUpdatePageInfoOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceUpdatePageInfoOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceUpdatePdfBlobis uncategorized and subject to change
func (s *Service) EnvelopeApplianceUpdatePdfBlob(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceUpdatePdfBlobOp {
return &EnvelopeApplianceUpdatePdfBlobOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "pdf_blobs"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceUpdatePdfBlobOp implements DocuSign API SDK Uncategorized::updateAppliancePdfBlob
type EnvelopeApplianceUpdatePdfBlobOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceUpdatePdfBlobOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceUpdateRecipientDeniedDocumentCopyis uncategorized and subject to change
func (s *Service) EnvelopeApplianceUpdateRecipientDeniedDocumentCopy(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceUpdateRecipientDeniedDocumentCopyOp {
return &EnvelopeApplianceUpdateRecipientDeniedDocumentCopyOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "recipient_denied_copy"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceUpdateRecipientDeniedDocumentCopyOp implements DocuSign API SDK Uncategorized::updateApplianceRecipientDeniedDocumentCopy
type EnvelopeApplianceUpdateRecipientDeniedDocumentCopyOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceUpdateRecipientDeniedDocumentCopyOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeApplianceUpdateSignerAttachmentis uncategorized and subject to change
func (s *Service) EnvelopeApplianceUpdateSignerAttachment(envelopeID string, media io.Reader, mimeType string) *EnvelopeApplianceUpdateSignerAttachmentOp {
return &EnvelopeApplianceUpdateSignerAttachmentOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "display_appliance_info", "signer_attachment_info"}, "/"),
Payload: &esign.UploadFile{Reader: media, ContentType: mimeType},
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeApplianceUpdateSignerAttachmentOp implements DocuSign API SDK Uncategorized::updateApplianceSignerAttachment
type EnvelopeApplianceUpdateSignerAttachmentOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeApplianceUpdateSignerAttachmentOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeDocumentHTMLDefinitionsGetis uncategorized and subject to change
func (s *Service) EnvelopeDocumentHTMLDefinitionsGet(documentID string, envelopeID string) *EnvelopeDocumentHTMLDefinitionsGetOp {
return &EnvelopeDocumentHTMLDefinitionsGetOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "documents", documentID, "html_definitions"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeDocumentHTMLDefinitionsGetOp implements DocuSign API SDK Uncategorized::getEnvelopeDocumentHtmlDefinitions
type EnvelopeDocumentHTMLDefinitionsGetOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeDocumentHTMLDefinitionsGetOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitionOriginals, error) {
var res *model.DocumentHTMLDefinitionOriginals
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeDocumentTabsCreateis uncategorized and subject to change
func (s *Service) EnvelopeDocumentTabsCreate(documentID string, envelopeID string, templateRecipientTabs *model.Tabs) *EnvelopeDocumentTabsCreateOp {
return &EnvelopeDocumentTabsCreateOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "documents", documentID, "tabs"}, "/"),
Payload: templateRecipientTabs,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeDocumentTabsCreateOp implements DocuSign API SDK Uncategorized::createDocumentTabs
type EnvelopeDocumentTabsCreateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeDocumentTabsCreateOp) Do(ctx context.Context) (*model.Tabs, error) {
var res *model.Tabs
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeDocumentTabsDeleteis uncategorized and subject to change
func (s *Service) EnvelopeDocumentTabsDelete(documentID string, envelopeID string, templateRecipientTabs *model.Tabs) *EnvelopeDocumentTabsDeleteOp {
return &EnvelopeDocumentTabsDeleteOp{
Credential: s.credential,
Method: "DELETE",
Path: strings.Join([]string{"envelopes", envelopeID, "documents", documentID, "tabs"}, "/"),
Payload: templateRecipientTabs,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeDocumentTabsDeleteOp implements DocuSign API SDK Uncategorized::deleteDocumentTabs
type EnvelopeDocumentTabsDeleteOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeDocumentTabsDeleteOp) Do(ctx context.Context) (*model.Tabs, error) {
var res *model.Tabs
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeDocumentTabsUpdateis uncategorized and subject to change
func (s *Service) EnvelopeDocumentTabsUpdate(documentID string, envelopeID string, templateRecipientTabs *model.Tabs) *EnvelopeDocumentTabsUpdateOp {
return &EnvelopeDocumentTabsUpdateOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", envelopeID, "documents", documentID, "tabs"}, "/"),
Payload: templateRecipientTabs,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeDocumentTabsUpdateOp implements DocuSign API SDK Uncategorized::updateDocumentTabs
type EnvelopeDocumentTabsUpdateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeDocumentTabsUpdateOp) Do(ctx context.Context) (*model.Tabs, error) {
var res *model.Tabs
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeHTMLDefinitionsListis uncategorized and subject to change
func (s *Service) EnvelopeHTMLDefinitionsList(envelopeID string) *EnvelopeHTMLDefinitionsListOp {
return &EnvelopeHTMLDefinitionsListOp{
Credential: s.credential,
Method: "GET",
Path: strings.Join([]string{"envelopes", envelopeID, "html_definitions"}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeHTMLDefinitionsListOp implements DocuSign API SDK Uncategorized::getEnvelopeHtmlDefinitions
type EnvelopeHTMLDefinitionsListOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeHTMLDefinitionsListOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitionOriginals, error) {
var res *model.DocumentHTMLDefinitionOriginals
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeRecipientsCreateEnvelopeRecipientPreview creates an envelope recipient preview.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeRecipientsCreateEnvelopeRecipientPreview(envelopeID string, recipientPreviewRequest *model.RecipientPreviewRequest) *EnvelopeRecipientsCreateEnvelopeRecipientPreviewOp {
return &EnvelopeRecipientsCreateEnvelopeRecipientPreviewOp{
Credential: s.credential,
Method: "POST",
Path: strings.Join([]string{"envelopes", envelopeID, "views", "recipient_preview"}, "/"),
Payload: recipientPreviewRequest,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeRecipientsCreateEnvelopeRecipientPreviewOp implements DocuSign API SDK Uncategorized::createEnvelopeRecipientPreview
type EnvelopeRecipientsCreateEnvelopeRecipientPreviewOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeRecipientsCreateEnvelopeRecipientPreviewOp) Do(ctx context.Context) (*model.ViewURL, error) {
var res *model.ViewURL
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeTransferRulesCreate creates an envelope transfer rule.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeTransferRulesCreate(envelopeTransferRuleRequest *model.EnvelopeTransferRuleRequest) *EnvelopeTransferRulesCreateOp {
return &EnvelopeTransferRulesCreateOp{
Credential: s.credential,
Method: "POST",
Path: "envelopes/transfer_rules",
Payload: envelopeTransferRuleRequest,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeTransferRulesCreateOp implements DocuSign API SDK Uncategorized::create
type EnvelopeTransferRulesCreateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeTransferRulesCreateOp) Do(ctx context.Context) (*model.EnvelopeTransferRuleInformation, error) {
var res *model.EnvelopeTransferRuleInformation
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeTransferRulesDelete deletes an envelope transfer rule.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeTransferRulesDelete(envelopeTransferRuleID string) *EnvelopeTransferRulesDeleteOp {
return &EnvelopeTransferRulesDeleteOp{
Credential: s.credential,
Method: "DELETE",
Path: strings.Join([]string{"envelopes", "transfer_rules", envelopeTransferRuleID}, "/"),
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeTransferRulesDeleteOp implements DocuSign API SDK Uncategorized::delete
type EnvelopeTransferRulesDeleteOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeTransferRulesDeleteOp) Do(ctx context.Context) error {
return ((*esign.Op)(op)).Do(ctx, nil)
}
// EnvelopeTransferRulesGet gets envelope transfer rules.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeTransferRulesGet() *EnvelopeTransferRulesGetOp {
return &EnvelopeTransferRulesGetOp{
Credential: s.credential,
Method: "GET",
Path: "envelopes/transfer_rules",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeTransferRulesGetOp implements DocuSign API SDK Uncategorized::get
type EnvelopeTransferRulesGetOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeTransferRulesGetOp) Do(ctx context.Context) (*model.EnvelopeTransferRuleInformation, error) {
var res *model.EnvelopeTransferRuleInformation
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// Count (Optional) The maximum number of results to return.
func (op *EnvelopeTransferRulesGetOp) Count(val string) *EnvelopeTransferRulesGetOp {
if op != nil {
op.QueryOpts.Set("count", val)
}
return op
}
// StartPosition (Optional) The position within the total result set from which to start returning values. The value **thumbnail** may be used to return the page image.
func (op *EnvelopeTransferRulesGetOp) StartPosition(val string) *EnvelopeTransferRulesGetOp {
if op != nil {
op.QueryOpts.Set("start_position", val)
}
return op
}
// EnvelopeTransferRulesUpdate changes the status of multiple envelope transfer rules.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeTransferRulesUpdate(envelopeTransferRules *model.EnvelopeTransferRuleInformation) *EnvelopeTransferRulesUpdateOp {
return &EnvelopeTransferRulesUpdateOp{
Credential: s.credential,
Method: "PUT",
Path: "envelopes/transfer_rules",
Payload: envelopeTransferRules,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeTransferRulesUpdateOp implements DocuSign API SDK Uncategorized::update
type EnvelopeTransferRulesUpdateOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeTransferRulesUpdateOp) Do(ctx context.Context) (*model.EnvelopeTransferRuleInformation, error) {
var res *model.EnvelopeTransferRuleInformation
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// EnvelopeTransferRulesUpdateEnvelopeTransferRule changes the status of an envelope transfer rule.
// operation is uncategorized and subject to change.
func (s *Service) EnvelopeTransferRulesUpdateEnvelopeTransferRule(envelopeTransferRuleID string, envelopeTransferRule *model.EnvelopeTransferRule) *EnvelopeTransferRulesUpdateEnvelopeTransferRuleOp {
return &EnvelopeTransferRulesUpdateEnvelopeTransferRuleOp{
Credential: s.credential,
Method: "PUT",
Path: strings.Join([]string{"envelopes", "transfer_rules", envelopeTransferRuleID}, "/"),
Payload: envelopeTransferRule,
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// EnvelopeTransferRulesUpdateEnvelopeTransferRuleOp implements DocuSign API SDK Uncategorized::updateEnvelopeTransferRule
type EnvelopeTransferRulesUpdateEnvelopeTransferRuleOp esign.Op
// Do executes the op. A nil context will return error.
func (op *EnvelopeTransferRulesUpdateEnvelopeTransferRuleOp) Do(ctx context.Context) (*model.EnvelopeTransferRule, error) {
var res *model.EnvelopeTransferRule
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// FavoriteTemplatesGetFavoriteTemplatesis uncategorized and subject to change
func (s *Service) FavoriteTemplatesGetFavoriteTemplates() *FavoriteTemplatesGetFavoriteTemplatesOp {
return &FavoriteTemplatesGetFavoriteTemplatesOp{
Credential: s.credential,
Method: "GET",
Path: "favorite_templates",
QueryOpts: make(url.Values),
Version: esign.VersionV21,
}
}
// FavoriteTemplatesGetFavoriteTemplatesOp implements DocuSign API SDK Uncategorized::getFavoriteTemplates
type FavoriteTemplatesGetFavoriteTemplatesOp esign.Op
// Do executes the op. A nil context will return error.
func (op *FavoriteTemplatesGetFavoriteTemplatesOp) Do(ctx context.Context) (*model.FavoriteTemplatesInfo, error) {
var res *model.FavoriteTemplatesInfo
return res, ((*esign.Op)(op)).Do(ctx, &res)
}
// FavoriteTemplatesUnFavoriteTemplateis uncategorized and subject to change
func (s *Service) FavoriteTemplatesUnFavoriteTemplate(favoriteTemplates *model.FavoriteTemplatesInfo) *FavoriteTemplatesUnFavoriteTemplateOp {