dropbox-sign 1.6.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +15 -5
  4. data/VERSION +1 -1
  5. data/docs/AccountResponseQuotas.md +1 -1
  6. data/docs/BulkSendJobGetResponseSignatureRequests.md +1 -1
  7. data/docs/FaxApi.md +364 -0
  8. data/docs/FaxGetResponse.md +11 -0
  9. data/docs/FaxListResponse.md +11 -0
  10. data/docs/FaxResponse.md +20 -0
  11. data/docs/FaxResponseTransmission.md +12 -0
  12. data/docs/FaxSendRequest.md +18 -0
  13. data/docs/OAuthTokenRefreshRequest.md +2 -0
  14. data/docs/SignatureRequestApi.md +1 -1
  15. data/docs/SignatureRequestResponse.md +1 -1
  16. data/docs/SignatureRequestResponseDataValueInitials.md +1 -0
  17. data/docs/SignatureRequestResponseDataValueSignature.md +1 -0
  18. data/docs/SubWhiteLabelingOptions.md +12 -12
  19. data/docs/TemplateApi.md +3 -3
  20. data/docs/TemplateResponse.md +3 -2
  21. data/docs/TemplateResponseDocumentFormFieldBase.md +0 -1
  22. data/docs/TemplateResponseDocumentFormFieldCheckbox.md +1 -0
  23. data/docs/TemplateResponseDocumentFormFieldDateSigned.md +1 -0
  24. data/docs/TemplateResponseDocumentFormFieldDropdown.md +1 -0
  25. data/docs/TemplateResponseDocumentFormFieldHyperlink.md +1 -0
  26. data/docs/TemplateResponseDocumentFormFieldInitials.md +1 -0
  27. data/docs/TemplateResponseDocumentFormFieldRadio.md +1 -0
  28. data/docs/TemplateResponseDocumentFormFieldSignature.md +1 -0
  29. data/docs/TemplateResponseDocumentFormFieldText.md +1 -0
  30. data/examples/FaxDelete.rb +14 -0
  31. data/examples/FaxFiles.rb +17 -0
  32. data/examples/FaxGet.rb +17 -0
  33. data/examples/FaxList.rb +18 -0
  34. data/examples/FaxSend.rb +25 -0
  35. data/lib/dropbox-sign/api/fax_api.rb +495 -0
  36. data/lib/dropbox-sign/api/o_auth_api.rb +28 -0
  37. data/lib/dropbox-sign/api/signature_request_api.rb +2 -2
  38. data/lib/dropbox-sign/api/template_api.rb +2 -2
  39. data/lib/dropbox-sign/models/account_response_quotas.rb +1 -1
  40. data/lib/dropbox-sign/models/api_app_response_o_auth.rb +2 -1
  41. data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +10 -7
  42. data/lib/dropbox-sign/models/fax_get_response.rb +263 -0
  43. data/lib/dropbox-sign/models/fax_list_response.rb +267 -0
  44. data/lib/dropbox-sign/models/fax_response.rb +403 -0
  45. data/lib/dropbox-sign/models/fax_response_transmission.rb +312 -0
  46. data/lib/dropbox-sign/models/fax_send_request.rb +345 -0
  47. data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +26 -4
  48. data/lib/dropbox-sign/models/signature_request_response.rb +10 -7
  49. data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +2 -1
  50. data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +16 -4
  51. data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +16 -4
  52. data/lib/dropbox-sign/models/sub_white_labeling_options.rb +12 -12
  53. data/lib/dropbox-sign/models/template_response.rb +27 -16
  54. data/lib/dropbox-sign/models/template_response_document.rb +1 -2
  55. data/lib/dropbox-sign/models/template_response_document_form_field_base.rb +4 -16
  56. data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +16 -4
  57. data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +16 -4
  58. data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +16 -4
  59. data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +16 -4
  60. data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +16 -4
  61. data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +20 -4
  62. data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +16 -4
  63. data/lib/dropbox-sign/models/template_response_document_form_field_text.rb +17 -5
  64. data/lib/dropbox-sign/version.rb +1 -1
  65. data/lib/dropbox-sign.rb +6 -0
  66. data/openapi-config.yaml +1 -1
  67. data/openapi-sdk.yaml +821 -98
  68. data/run-build +9 -0
  69. data/test_fixtures/ApiAppCreateRequest.json +10 -10
  70. data/test_fixtures/ApiAppGetResponse.json +18 -3
  71. data/test_fixtures/ApiAppListResponse.json +7 -1
  72. data/test_fixtures/ApiAppUpdateRequest.json +11 -11
  73. data/test_fixtures/BulkSendJobGetResponse.json +9 -0
  74. data/test_fixtures/FaxGetResponse.json +31 -0
  75. data/test_fixtures/FaxListResponse.json +39 -0
  76. data/test_fixtures/FaxSendRequest.json +14 -0
  77. data/test_fixtures/FaxSendResponse.json +16 -0
  78. data/test_fixtures/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.json +7 -1
  79. data/test_fixtures/SignatureRequestBulkSendWithTemplateRequest.json +7 -1
  80. data/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +7 -1
  81. data/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json +7 -1
  82. data/test_fixtures/SignatureRequestGetResponse.json +11 -1
  83. data/test_fixtures/SignatureRequestListResponse.json +9 -1
  84. data/test_fixtures/SignatureRequestSendRequest.json +5 -1
  85. data/test_fixtures/SignatureRequestSendWithTemplateRequest.json +7 -1
  86. data/test_fixtures/TeamGetResponse.json +5 -0
  87. data/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +5 -0
  88. data/test_fixtures/TemplateCreateRequest.json +5 -0
  89. data/test_fixtures/TemplateGetResponse.json +34 -479
  90. data/test_fixtures/TemplateListResponse.json +43 -6
  91. data/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +5 -0
  92. data/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json +5 -0
  93. data/test_fixtures/UnclaimedDraftCreateRequest.json +5 -0
  94. metadata +29 -8
@@ -5,8 +5,19 @@
5
5
  "title": "Mutual NDA",
6
6
  "message": "Please sign this NDA as soon as possible.",
7
7
  "updated_at": 1570471067,
8
+ "can_edit": true,
9
+ "is_creator": true,
8
10
  "is_embedded": false,
9
- "metadata": {},
11
+ "is_locked": false,
12
+ "metadata": {
13
+ "metadata_name_1": "metadata_value_1",
14
+ "metadata_name_2": {
15
+ "metadata_name_2_a": "metadata_value_2_a"
16
+ },
17
+ "metadata_name_3": "metadata_value_3",
18
+ "custom_id": 1234,
19
+ "custom_text": "NDA #9"
20
+ },
10
21
  "signer_roles": [
11
22
  {
12
23
  "name": "Outside Vendor",
@@ -566,496 +577,40 @@
566
577
  ]
567
578
  }
568
579
  ],
569
- "custom_fields": [
570
- {
571
- "name": "merge_field_1",
572
- "type": "text",
573
- "x": 417,
574
- "y": 219,
575
- "width": 72,
576
- "height": 15,
577
- "required": false,
578
- "api_id": "967c3e5f-2912-4f53-8ea3-c750652d29fc",
579
- "avg_text_length": {
580
- "num_lines": 1,
581
- "num_chars_per_line": 19
582
- },
583
- "isMultiline": false,
584
- "originalFontSize": 12,
585
- "fontFamily": "arial"
586
- },
587
- {
588
- "name": "merge_field_2",
589
- "type": "checkbox",
590
- "x": 515,
591
- "y": 346,
592
- "width": 18,
593
- "height": 18,
594
- "required": false,
595
- "api_id": "5e8fe02f-51cf-4f0b-b1d9-2b1e4f6ad07f"
596
- }
597
- ],
598
- "named_form_fields": [
599
- {
600
- "name": "Signature1",
601
- "type": "signature",
602
- "signer": "1",
603
- "x": 136,
604
- "y": 17,
605
- "width": 108,
606
- "height": 27,
607
- "required": true,
608
- "api_id": "8b6d78a5-0870-4f46-af9c-b78b54a49348"
609
- },
610
- {
611
- "name": "Textbox1",
612
- "type": "text",
613
- "signer": "1",
614
- "x": 328,
615
- "y": 17,
616
- "width": 144,
617
- "height": 14,
618
- "required": true,
619
- "api_id": "7ec10d80-53c9-433b-b252-0b8daa90a8e0",
620
- "avg_text_length": {
621
- "num_lines": 1,
622
- "num_chars_per_line": 38
623
- },
624
- "isMultiline": false,
625
- "originalFontSize": 12,
626
- "fontFamily": "arial"
627
- },
628
- {
629
- "name": "Textbox2",
630
- "type": "text",
631
- "signer": "1",
632
- "x": 328,
633
- "y": 48,
634
- "width": 144,
635
- "height": 14,
636
- "required": true,
637
- "api_id": "6574e6ad-7dac-49a2-9d56-650d7c5ade6e",
638
- "avg_text_length": {
639
- "num_lines": 1,
640
- "num_chars_per_line": 38
641
- },
642
- "isMultiline": false,
643
- "originalFontSize": 12,
644
- "fontFamily": "arial"
645
- },
646
- {
647
- "name": "Initial1",
648
- "type": "initials",
649
- "signer": "1",
650
- "x": 148,
651
- "y": 66,
652
- "width": 72,
653
- "height": 27,
654
- "required": true,
655
- "api_id": "30f41f54-c7f3-46c3-a29a-bb76ec40b552"
656
- },
657
- {
658
- "name": "Checkbox1",
659
- "type": "checkbox",
660
- "signer": "1",
661
- "x": 325,
662
- "y": 111,
663
- "width": 18,
664
- "height": 18,
665
- "required": false,
666
- "api_id": "d4d6ada9-e1dc-419e-bc0d-1478da694449",
667
- "group": "75a6e4b5fea47"
668
- },
669
- {
670
- "name": "Dropdown1",
671
- "type": "dropdown",
672
- "signer": "1",
673
- "x": 423,
674
- "y": 108,
675
- "width": 70,
676
- "height": 14,
677
- "required": true,
678
- "api_id": "5863be5e-ce5a-4c9d-aabe-c221914d73c2"
679
- },
680
- {
681
- "name": "DateSigned1",
682
- "type": "date_signed",
683
- "signer": "1",
684
- "x": 150,
685
- "y": 119,
686
- "width": 105,
687
- "height": 18,
688
- "required": true,
689
- "api_id": "9f6d3722-6db7-46da-8fac-3bc09f510262"
690
- },
691
- {
692
- "name": "Checkbox2",
693
- "type": "checkbox",
694
- "signer": "1",
695
- "x": 325,
696
- "y": 135,
697
- "width": 18,
698
- "height": 18,
699
- "required": false,
700
- "api_id": "edd732b8-b158-4714-a87b-503637d09ded",
701
- "group": "75a6e4b5fea47"
702
- },
703
- {
704
- "name": "FullName1",
705
- "type": "text",
706
- "signer": "1",
707
- "x": 144,
708
- "y": 158,
709
- "width": 72,
710
- "height": 14,
711
- "required": true,
712
- "api_id": "62fd3f85-4808-4011-8eae-a14ebe9105ef",
713
- "avg_text_length": {
714
- "num_lines": 1,
715
- "num_chars_per_line": 19
716
- },
717
- "isMultiline": false,
718
- "originalFontSize": 12,
719
- "fontFamily": "arial"
720
- },
721
- {
722
- "name": "Email1",
723
- "type": "text",
724
- "signer": "1",
725
- "x": 133,
726
- "y": 191,
727
- "width": 144,
728
- "height": 14,
729
- "required": true,
730
- "api_id": "a1c9bc6b-d498-4787-86e0-30ea779f06a7",
731
- "avg_text_length": {
732
- "num_lines": 1,
733
- "num_chars_per_line": 38
734
- },
735
- "isMultiline": false,
736
- "originalFontSize": 12,
737
- "fontFamily": "arial",
738
- "validation_type": "email_address"
739
- },
740
- {
741
- "name": "RadioItem1",
742
- "type": "radio",
743
- "signer": "1",
744
- "x": 307,
745
- "y": 211,
746
- "width": 18,
747
- "height": 18,
748
- "required": false,
749
- "api_id": "fc8a1277-f757-47a2-aeea-5113fa81f2d5",
750
- "group": "0831822584086"
751
- },
752
- {
753
- "name": "Company1",
754
- "type": "text",
755
- "signer": "1",
756
- "x": 128,
757
- "y": 221,
758
- "width": 144,
759
- "height": 14,
760
- "required": true,
761
- "api_id": "279b4e7f-e71f-426d-845c-6308cddde379",
762
- "avg_text_length": {
763
- "num_lines": 1,
764
- "num_chars_per_line": 38
765
- },
766
- "isMultiline": false,
767
- "originalFontSize": 12,
768
- "fontFamily": "arial"
769
- },
770
- {
771
- "name": "Title1",
772
- "type": "text",
773
- "signer": "1",
774
- "x": 127,
775
- "y": 250,
776
- "width": 144,
777
- "height": 14,
778
- "required": true,
779
- "api_id": "8809e39a-a46c-4dae-aaf9-06fc6355d80f",
780
- "avg_text_length": {
781
- "num_lines": 1,
782
- "num_chars_per_line": 38
783
- },
784
- "isMultiline": false,
785
- "originalFontSize": 12,
786
- "fontFamily": "arial"
787
- },
788
- {
789
- "name": "RadioItem2",
790
- "type": "radio",
791
- "signer": "1",
792
- "x": 307,
793
- "y": 253,
794
- "width": 18,
795
- "height": 18,
796
- "required": false,
797
- "api_id": "f7b6b70d-0522-4ab7-bfec-b86f147c8be3",
798
- "group": "0831822584086"
799
- },
800
- {
801
- "name": "Textbox3",
802
- "type": "text",
803
- "signer": "1",
804
- "x": 410,
805
- "y": 279,
806
- "width": 144,
807
- "height": 14,
808
- "required": true,
809
- "api_id": "bad7512a-e22b-46ed-ba03-123db0eda932",
810
- "avg_text_length": {
811
- "num_lines": 1,
812
- "num_chars_per_line": 38
813
- },
814
- "isMultiline": false,
815
- "originalFontSize": 12,
816
- "fontFamily": "arial"
817
- },
818
- {
819
- "name": "Textbox4",
820
- "type": "text",
821
- "signer": "1",
822
- "x": 101,
823
- "y": 314,
824
- "width": 72,
825
- "height": 14,
826
- "required": true,
827
- "api_id": "368ed029-bc93-4f92-8f7a-14c3bf8109b5",
828
- "avg_text_length": {
829
- "num_lines": 1,
830
- "num_chars_per_line": 19
831
- },
832
- "isMultiline": false,
833
- "originalFontSize": 12,
834
- "fontFamily": "arial",
835
- "validation_type": "custom_regex"
836
- },
837
- {
838
- "name": "Textbox8",
839
- "type": "text",
840
- "signer": "1",
841
- "x": 218,
842
- "y": 313,
843
- "width": 72,
844
- "height": 14,
845
- "required": true,
846
- "api_id": "ecf2ae95-d2e6-41b2-819a-836a6fa8c7c5",
847
- "avg_text_length": {
848
- "num_lines": 1,
849
- "num_chars_per_line": 19
850
- },
851
- "isMultiline": false,
852
- "originalFontSize": 12,
853
- "fontFamily": "arial",
854
- "validation_type": "bank_routing_number"
855
- },
856
- {
857
- "name": "Textbox12",
858
- "type": "text",
859
- "signer": "1",
860
- "x": 339,
861
- "y": 315,
862
- "width": 72,
863
- "height": 14,
864
- "required": true,
865
- "api_id": "3cb90a0a-a433-4f30-8af8-8fb4c747b704",
866
- "avg_text_length": {
867
- "num_lines": 1,
868
- "num_chars_per_line": 19
869
- },
870
- "isMultiline": false,
871
- "originalFontSize": 12,
872
- "fontFamily": "arial",
873
- "validation_type": "social_security_number"
874
- },
875
- {
876
- "name": "Textbox9",
877
- "type": "text",
878
- "signer": "1",
879
- "x": 224,
880
- "y": 343,
881
- "width": 72,
882
- "height": 14,
883
- "required": true,
884
- "api_id": "5b9eb331-c97d-435b-a563-d936a9b930c0",
885
- "avg_text_length": {
886
- "num_lines": 1,
887
- "num_chars_per_line": 19
888
- },
889
- "isMultiline": false,
890
- "originalFontSize": 12,
891
- "fontFamily": "arial",
892
- "validation_type": "bank_account_number"
893
- },
894
- {
895
- "name": "Textbox13",
896
- "type": "text",
897
- "signer": "1",
898
- "x": 339,
899
- "y": 345,
900
- "width": 72,
901
- "height": 14,
902
- "required": true,
903
- "api_id": "2b98ce7e-e53a-4cf8-a9f3-d7fb18d88631",
904
- "avg_text_length": {
905
- "num_lines": 1,
906
- "num_chars_per_line": 19
907
- },
908
- "isMultiline": false,
909
- "originalFontSize": 12,
910
- "fontFamily": "arial",
911
- "validation_type": "employer_identification_number"
912
- },
913
- {
914
- "name": "Textbox5",
915
- "type": "text",
916
- "signer": "1",
917
- "x": 113,
918
- "y": 350,
919
- "width": 72,
920
- "height": 14,
921
- "required": true,
922
- "api_id": "5f52c011-2c5f-4143-bf04-4694fb4a0d3f",
923
- "avg_text_length": {
924
- "num_lines": 1,
925
- "num_chars_per_line": 19
926
- },
927
- "isMultiline": false,
928
- "originalFontSize": 12,
929
- "fontFamily": "arial",
930
- "validation_type": "numbers_only"
931
- },
932
- {
933
- "name": "Textbox6",
934
- "type": "text",
935
- "signer": "1",
936
- "x": 122,
937
- "y": 374,
938
- "width": 72,
939
- "height": 14,
940
- "required": true,
941
- "api_id": "47457b7d-b1e8-41a0-93ad-60ba30e64bb1",
942
- "avg_text_length": {
943
- "num_lines": 1,
944
- "num_chars_per_line": 19
945
- },
946
- "isMultiline": false,
947
- "originalFontSize": 12,
948
- "fontFamily": "arial",
949
- "validation_type": "letters_only"
950
- },
951
- {
952
- "name": "Textbox10",
953
- "type": "text",
954
- "signer": "1",
955
- "x": 234,
956
- "y": 373,
957
- "width": 72,
958
- "height": 14,
959
- "required": true,
960
- "api_id": "18e3f994-1675-4d58-9b4a-4f92a2614551",
961
- "avg_text_length": {
962
- "num_lines": 1,
963
- "num_chars_per_line": 19
964
- },
965
- "isMultiline": false,
966
- "originalFontSize": 12,
967
- "fontFamily": "arial",
968
- "validation_type": "email_address"
969
- },
970
- {
971
- "name": "Textbox14",
972
- "type": "text",
973
- "signer": "1",
974
- "x": 339,
975
- "y": 376,
976
- "width": 72,
977
- "height": 14,
978
- "required": true,
979
- "api_id": "9ad4b8cc-bac9-432b-8836-9f80f86fc7e0",
980
- "avg_text_length": {
981
- "num_lines": 1,
982
- "num_chars_per_line": 19
983
- },
984
- "isMultiline": false,
985
- "originalFontSize": 12,
986
- "fontFamily": "arial"
987
- },
988
- {
989
- "name": "Textbox7",
990
- "type": "text",
991
- "signer": "1",
992
- "x": 130,
993
- "y": 401,
994
- "width": 72,
995
- "height": 14,
996
- "required": true,
997
- "api_id": "58c5f942-04fb-45f1-9703-5e8411f3a3bb",
998
- "avg_text_length": {
999
- "num_lines": 1,
1000
- "num_chars_per_line": 19
1001
- },
1002
- "isMultiline": false,
1003
- "originalFontSize": 12,
1004
- "fontFamily": "arial",
1005
- "validation_type": "phone_number"
1006
- },
1007
- {
1008
- "name": "me_now_hyperlink_1",
1009
- "type": "hyperlink",
1010
- "signer": "me_now",
1011
- "x": 434,
1012
- "y": 400,
1013
- "width": 112,
1014
- "height": 14,
1015
- "required": false,
1016
- "api_id": "fd928b56-cf59-40a4-9a90-62f97ffd0ddc",
1017
- "avg_text_length": {
1018
- "num_lines": 1,
1019
- "num_chars_per_line": 30
1020
- },
1021
- "isMultiline": false,
1022
- "originalFontSize": 12,
1023
- "fontFamily": "helvetica"
1024
- },
1025
- {
1026
- "name": "Textbox11",
1027
- "type": "text",
1028
- "signer": "1",
1029
- "x": 237,
1030
- "y": 405,
1031
- "width": 72,
1032
- "height": 14,
1033
- "required": true,
1034
- "api_id": "e48c388d-8c26-4f20-848e-f8587a631746",
1035
- "avg_text_length": {
1036
- "num_lines": 1,
1037
- "num_chars_per_line": 19
1038
- },
1039
- "isMultiline": false,
1040
- "originalFontSize": 12,
1041
- "fontFamily": "arial",
1042
- "validation_type": "zip_code"
1043
- }
1044
- ],
1045
580
  "accounts": [
1046
581
  {
1047
582
  "account_id": "5008b25c7f67153e57d5a357b1687968068fb465",
1048
583
  "email_address": "me@dropboxsign.com",
1049
584
  "is_locked": false,
1050
585
  "is_paid_hs": false,
1051
- "is_paid_hf": false
586
+ "is_paid_hf": false,
587
+ "quotas": {
588
+ "templates_left": 5,
589
+ "api_signature_requests_left": 5,
590
+ "documents_left": 5,
591
+ "sms_verifications_left": 0
592
+ }
1052
593
  },
1053
594
  {
1054
595
  "account_id": "",
1055
596
  "email_address": "teammate@dropboxsign.com",
1056
597
  "is_locked": false,
1057
598
  "is_paid_hs": false,
1058
- "is_paid_hf": false
599
+ "is_paid_hf": false,
600
+ "quotas": {
601
+ "templates_left": 5,
602
+ "api_signature_requests_left": 5,
603
+ "documents_left": 5,
604
+ "sms_verifications_left": 0
605
+ }
606
+ }
607
+ ],
608
+ "attachments": [
609
+ {
610
+ "id": "attachment_1",
611
+ "signer": "Outside Vendor",
612
+ "name": "Attachment #1",
613
+ "required": true
1059
614
  }
1060
615
  ]
1061
616
  }
@@ -12,8 +12,19 @@
12
12
  "title": "Purchase order",
13
13
  "message": "",
14
14
  "updated_at": 1570471067,
15
+ "can_edit": true,
16
+ "is_creator": true,
15
17
  "is_embedded": false,
16
- "metadata": {},
18
+ "is_locked": false,
19
+ "metadata": {
20
+ "metadata_name_1": "metadata_value_1",
21
+ "metadata_name_2": {
22
+ "metadata_name_2_a": "metadata_value_2_a"
23
+ },
24
+ "metadata_name_3": "metadata_value_3",
25
+ "custom_id": 1234,
26
+ "custom_text": "NDA #9"
27
+ },
17
28
  "signer_roles": [
18
29
  {
19
30
  "name": "Client",
@@ -49,7 +60,8 @@
49
60
  "originalFontSize": 12,
50
61
  "fontFamily": "arial"
51
62
  }
52
- ]
63
+ ],
64
+ "static_fields": []
53
65
  }
54
66
  ],
55
67
  "accounts": [
@@ -58,7 +70,21 @@
58
70
  "email_address": "me@dropboxsign.com",
59
71
  "is_locked": false,
60
72
  "is_paid_hs": false,
61
- "is_paid_hf": false
73
+ "is_paid_hf": false,
74
+ "quotas": {
75
+ "templates_left": 5,
76
+ "api_signature_requests_left": 5,
77
+ "documents_left": 5,
78
+ "sms_verifications_left": 0
79
+ }
80
+ }
81
+ ],
82
+ "attachments": [
83
+ {
84
+ "id": "attachment_1",
85
+ "signer": "Outside Vendor",
86
+ "name": "Attachment #1",
87
+ "required": true
62
88
  }
63
89
  ]
64
90
  },
@@ -67,7 +93,10 @@
67
93
  "title": "Mutual NDA",
68
94
  "message": "Please sign this NDA as soon as possible.",
69
95
  "updated_at": 1329478947,
96
+ "can_edit": true,
97
+ "is_creator": true,
70
98
  "is_embedded": false,
99
+ "is_locked": false,
71
100
  "metadata": {},
72
101
  "signer_roles": [
73
102
  {
@@ -564,7 +593,8 @@
564
593
  "fontFamily": "arial",
565
594
  "validation_type": "zip_code"
566
595
  }
567
- ]
596
+ ],
597
+ "static_fields": []
568
598
  }
569
599
  ],
570
600
  "accounts": [
@@ -573,9 +603,16 @@
573
603
  "email_address": "me@dropboxsign.com",
574
604
  "is_locked": false,
575
605
  "is_paid_hs": false,
576
- "is_paid_hf": false
606
+ "is_paid_hf": false,
607
+ "quotas": {
608
+ "templates_left": 5,
609
+ "api_signature_requests_left": 5,
610
+ "documents_left": 5,
611
+ "sms_verifications_left": 0
612
+ }
577
613
  }
578
- ]
614
+ ],
615
+ "attachments": []
579
616
  }
580
617
  ]
581
618
  }
@@ -99,6 +99,11 @@
99
99
  "is_for_embedded_signing": true,
100
100
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
101
101
  "metadata": {
102
+ "metadata_name_1": "metadata_value_1",
103
+ "metadata_name_2": {
104
+ "metadata_name_2_a": "metadata_value_2_a"
105
+ },
106
+ "metadata_name_3": "metadata_value_3",
102
107
  "custom_id": 1234,
103
108
  "custom_text": "NDA #9"
104
109
  },
@@ -33,6 +33,11 @@
33
33
  "is_for_embedded_signing": true,
34
34
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
35
35
  "metadata": {
36
+ "metadata_name_1": "metadata_value_1",
37
+ "metadata_name_2": {
38
+ "metadata_name_2_a": "metadata_value_2_a"
39
+ },
40
+ "metadata_name_3": "metadata_value_3",
36
41
  "custom_id": 1234,
37
42
  "custom_text": "NDA #9"
38
43
  },
@@ -88,6 +88,11 @@
88
88
  "hide_text_tags": true,
89
89
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
90
90
  "metadata": {
91
+ "metadata_name_1": "metadata_value_1",
92
+ "metadata_name_2": {
93
+ "metadata_name_2_a": "metadata_value_2_a"
94
+ },
95
+ "metadata_name_3": "metadata_value_3",
91
96
  "custom_id": 1234,
92
97
  "custom_text": "NDA #9"
93
98
  },