dropbox-sign 1.0.0.pre.beta2301
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +78 -0
- data/LICENSE +21 -0
- data/README.md +333 -0
- data/Rakefile +10 -0
- data/bin/generate-examples.php +269 -0
- data/bin/php +16 -0
- data/bin/replace +11 -0
- data/bin/ruby +16 -0
- data/bin/scan_for +32 -0
- data/composer.json +10 -0
- data/composer.lock +246 -0
- data/docs/AccountApi.md +301 -0
- data/docs/AccountCreateRequest.md +13 -0
- data/docs/AccountCreateResponse.md +12 -0
- data/docs/AccountGetResponse.md +11 -0
- data/docs/AccountResponse.md +19 -0
- data/docs/AccountResponseQuotas.md +14 -0
- data/docs/AccountUpdateRequest.md +12 -0
- data/docs/AccountVerifyRequest.md +10 -0
- data/docs/AccountVerifyResponse.md +11 -0
- data/docs/AccountVerifyResponseAccount.md +10 -0
- data/docs/ApiAppApi.md +402 -0
- data/docs/ApiAppCreateRequest.md +16 -0
- data/docs/ApiAppGetResponse.md +11 -0
- data/docs/ApiAppListResponse.md +12 -0
- data/docs/ApiAppResponse.md +19 -0
- data/docs/ApiAppResponseOAuth.md +13 -0
- data/docs/ApiAppResponseOptions.md +10 -0
- data/docs/ApiAppResponseOwnerAccount.md +11 -0
- data/docs/ApiAppResponseWhiteLabelingOptions.md +23 -0
- data/docs/ApiAppUpdateRequest.md +16 -0
- data/docs/BulkSendJobApi.md +155 -0
- data/docs/BulkSendJobGetResponse.md +13 -0
- data/docs/BulkSendJobGetResponseSignatureRequests.md +33 -0
- data/docs/BulkSendJobListResponse.md +12 -0
- data/docs/BulkSendJobResponse.md +13 -0
- data/docs/BulkSendJobSendResponse.md +11 -0
- data/docs/EmbeddedApi.md +158 -0
- data/docs/EmbeddedEditUrlRequest.md +19 -0
- data/docs/EmbeddedEditUrlResponse.md +11 -0
- data/docs/EmbeddedEditUrlResponseEmbedded.md +11 -0
- data/docs/EmbeddedSignUrlResponse.md +11 -0
- data/docs/EmbeddedSignUrlResponseEmbedded.md +11 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseError.md +12 -0
- data/docs/EventCallbackRequest.md +13 -0
- data/docs/EventCallbackRequestEvent.md +13 -0
- data/docs/EventCallbackRequestEventMetadata.md +13 -0
- data/docs/FileResponse.md +11 -0
- data/docs/FileResponseDataUri.md +10 -0
- data/docs/ListInfoResponse.md +13 -0
- data/docs/OAuthApi.md +158 -0
- data/docs/OAuthTokenGenerateRequest.md +14 -0
- data/docs/OAuthTokenRefreshRequest.md +11 -0
- data/docs/OAuthTokenResponse.md +14 -0
- data/docs/ReportApi.md +83 -0
- data/docs/ReportCreateRequest.md +12 -0
- data/docs/ReportCreateResponse.md +11 -0
- data/docs/ReportResponse.md +13 -0
- data/docs/SignatureRequestApi.md +1377 -0
- data/docs/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.md +22 -0
- data/docs/SignatureRequestBulkSendWithTemplateRequest.md +22 -0
- data/docs/SignatureRequestCreateEmbeddedRequest.md +33 -0
- data/docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md +24 -0
- data/docs/SignatureRequestGetResponse.md +11 -0
- data/docs/SignatureRequestListResponse.md +12 -0
- data/docs/SignatureRequestRemindRequest.md +11 -0
- data/docs/SignatureRequestResponse.md +32 -0
- data/docs/SignatureRequestResponseAttachment.md +15 -0
- data/docs/SignatureRequestResponseCustomFieldBase.md +17 -0
- data/docs/SignatureRequestResponseCustomFieldCheckbox.md +11 -0
- data/docs/SignatureRequestResponseCustomFieldText.md +11 -0
- data/docs/SignatureRequestResponseCustomFieldTypeEnum.md +9 -0
- data/docs/SignatureRequestResponseDataBase.md +14 -0
- data/docs/SignatureRequestResponseDataTypeEnum.md +9 -0
- data/docs/SignatureRequestResponseDataValueCheckbox.md +11 -0
- data/docs/SignatureRequestResponseDataValueCheckboxMerge.md +11 -0
- data/docs/SignatureRequestResponseDataValueDateSigned.md +11 -0
- data/docs/SignatureRequestResponseDataValueDropdown.md +11 -0
- data/docs/SignatureRequestResponseDataValueInitials.md +11 -0
- data/docs/SignatureRequestResponseDataValueRadio.md +11 -0
- data/docs/SignatureRequestResponseDataValueSignature.md +11 -0
- data/docs/SignatureRequestResponseDataValueText.md +11 -0
- data/docs/SignatureRequestResponseDataValueTextMerge.md +11 -0
- data/docs/SignatureRequestResponseSignatures.md +28 -0
- data/docs/SignatureRequestSendRequest.md +34 -0
- data/docs/SignatureRequestSendWithTemplateRequest.md +25 -0
- data/docs/SignatureRequestUpdateRequest.md +13 -0
- data/docs/SubAttachment.md +13 -0
- data/docs/SubBulkSignerList.md +11 -0
- data/docs/SubBulkSignerListCustomField.md +11 -0
- data/docs/SubCC.md +11 -0
- data/docs/SubCustomField.md +17 -0
- data/docs/SubEditorOptions.md +11 -0
- data/docs/SubFieldOptions.md +10 -0
- data/docs/SubFormFieldGroup.md +12 -0
- data/docs/SubFormFieldRule.md +13 -0
- data/docs/SubFormFieldRuleAction.md +13 -0
- data/docs/SubFormFieldRuleTrigger.md +13 -0
- data/docs/SubFormFieldsPerDocumentBase.md +33 -0
- data/docs/SubFormFieldsPerDocumentCheckbox.md +12 -0
- data/docs/SubFormFieldsPerDocumentCheckboxMerge.md +10 -0
- data/docs/SubFormFieldsPerDocumentDateSigned.md +10 -0
- data/docs/SubFormFieldsPerDocumentDropdown.md +12 -0
- data/docs/SubFormFieldsPerDocumentHyperlink.md +12 -0
- data/docs/SubFormFieldsPerDocumentInitials.md +10 -0
- data/docs/SubFormFieldsPerDocumentRadio.md +12 -0
- data/docs/SubFormFieldsPerDocumentSignature.md +10 -0
- data/docs/SubFormFieldsPerDocumentText.md +17 -0
- data/docs/SubFormFieldsPerDocumentTextMerge.md +10 -0
- data/docs/SubFormFieldsPerDocumentTypeEnum.md +9 -0
- data/docs/SubMergeField.md +11 -0
- data/docs/SubOAuth.md +11 -0
- data/docs/SubOptions.md +10 -0
- data/docs/SubSignatureRequestGroupedSigners.md +12 -0
- data/docs/SubSignatureRequestSigner.md +15 -0
- data/docs/SubSignatureRequestTemplateSigner.md +15 -0
- data/docs/SubSigningOptions.md +16 -0
- data/docs/SubTeamResponse.md +11 -0
- data/docs/SubTemplateRole.md +11 -0
- data/docs/SubUnclaimedDraftSigner.md +12 -0
- data/docs/SubUnclaimedDraftTemplateSigner.md +12 -0
- data/docs/SubWhiteLabelingOptions.md +26 -0
- data/docs/TeamAddMemberRequest.md +12 -0
- data/docs/TeamApi.md +737 -0
- data/docs/TeamCreateRequest.md +10 -0
- data/docs/TeamGetInfoResponse.md +11 -0
- data/docs/TeamGetResponse.md +11 -0
- data/docs/TeamInfoResponse.md +14 -0
- data/docs/TeamInviteResponse.md +15 -0
- data/docs/TeamInvitesResponse.md +11 -0
- data/docs/TeamMemberResponse.md +12 -0
- data/docs/TeamMembersResponse.md +12 -0
- data/docs/TeamParentResponse.md +11 -0
- data/docs/TeamRemoveMemberRequest.md +14 -0
- data/docs/TeamResponse.md +12 -0
- data/docs/TeamSubTeamsResponse.md +12 -0
- data/docs/TeamUpdateRequest.md +10 -0
- data/docs/TemplateAddUserRequest.md +12 -0
- data/docs/TemplateApi.md +782 -0
- data/docs/TemplateCreateEmbeddedDraftRequest.md +34 -0
- data/docs/TemplateCreateEmbeddedDraftResponse.md +11 -0
- data/docs/TemplateCreateEmbeddedDraftResponseTemplate.md +13 -0
- data/docs/TemplateEditResponse.md +10 -0
- data/docs/TemplateGetResponse.md +11 -0
- data/docs/TemplateListResponse.md +12 -0
- data/docs/TemplateRemoveUserRequest.md +11 -0
- data/docs/TemplateResponse.md +24 -0
- data/docs/TemplateResponseAccount.md +15 -0
- data/docs/TemplateResponseAccountQuota.md +13 -0
- data/docs/TemplateResponseCCRole.md +10 -0
- data/docs/TemplateResponseCustomField.md +22 -0
- data/docs/TemplateResponseDocument.md +15 -0
- data/docs/TemplateResponseDocumentCustomField.md +25 -0
- data/docs/TemplateResponseDocumentFieldGroup.md +11 -0
- data/docs/TemplateResponseDocumentFormField.md +23 -0
- data/docs/TemplateResponseDocumentStaticField.md +19 -0
- data/docs/TemplateResponseFieldAvgTextLength.md +11 -0
- data/docs/TemplateResponseNamedFormField.md +23 -0
- data/docs/TemplateResponseSignerRole.md +11 -0
- data/docs/TemplateUpdateFilesRequest.md +15 -0
- data/docs/TemplateUpdateFilesResponse.md +10 -0
- data/docs/TemplateUpdateFilesResponseTemplate.md +11 -0
- data/docs/UnclaimedDraftApi.md +359 -0
- data/docs/UnclaimedDraftCreateEmbeddedRequest.md +45 -0
- data/docs/UnclaimedDraftCreateEmbeddedWithTemplateRequest.md +38 -0
- data/docs/UnclaimedDraftCreateRequest.md +33 -0
- data/docs/UnclaimedDraftCreateResponse.md +11 -0
- data/docs/UnclaimedDraftEditAndResendRequest.md +17 -0
- data/docs/UnclaimedDraftResponse.md +15 -0
- data/docs/WarningResponse.md +11 -0
- data/dropbox-sign.gemspec +38 -0
- data/examples/AccountCreate.rb +21 -0
- data/examples/AccountGet.rb +18 -0
- data/examples/AccountUpdate.rb +21 -0
- data/examples/AccountVerify.rb +21 -0
- data/examples/ApiAppCreate.rb +35 -0
- data/examples/ApiAppDelete.rb +20 -0
- data/examples/ApiAppGet.rb +20 -0
- data/examples/ApiAppList.rb +21 -0
- data/examples/ApiAppUpdate.rb +32 -0
- data/examples/BulkSendJobGet.rb +20 -0
- data/examples/BulkSendJobList.rb +21 -0
- data/examples/EmbeddedEditUrl.rb +24 -0
- data/examples/EmbeddedSignUrl.rb +20 -0
- data/examples/EventCallback.rb +32 -0
- data/examples/OauthTokenGenerate.rb +24 -0
- data/examples/OauthTokenRefresh.rb +21 -0
- data/examples/ReportCreate.rb +23 -0
- data/examples/SignatureRequestBulkCreateEmbeddedWithTemplate.rb +59 -0
- data/examples/SignatureRequestBulkSendWithTemplate.rb +58 -0
- data/examples/SignatureRequestCancel.rb +20 -0
- data/examples/SignatureRequestCreateEmbedded.rb +46 -0
- data/examples/SignatureRequestCreateEmbeddedWithTemplate.rb +39 -0
- data/examples/SignatureRequestFiles.rb +20 -0
- data/examples/SignatureRequestFilesAsDataUri.rb +20 -0
- data/examples/SignatureRequestFilesAsFileUrl.rb +20 -0
- data/examples/SignatureRequestGet.rb +20 -0
- data/examples/SignatureRequestList.rb +21 -0
- data/examples/SignatureRequestReleaseHold.rb +20 -0
- data/examples/SignatureRequestRemind.rb +23 -0
- data/examples/SignatureRequestRemove.rb +20 -0
- data/examples/SignatureRequestSend.rb +56 -0
- data/examples/SignatureRequestSendWithTemplate.rb +50 -0
- data/examples/SignatureRequestUpdate.rb +24 -0
- data/examples/TeamAddMember.rb +21 -0
- data/examples/TeamCreate.rb +21 -0
- data/examples/TeamDelete.rb +18 -0
- data/examples/TeamGet.rb +18 -0
- data/examples/TeamInfo.rb +18 -0
- data/examples/TeamInvites.rb +20 -0
- data/examples/TeamMembers.rb +20 -0
- data/examples/TeamRemoveMember.rb +22 -0
- data/examples/TeamSubTeams.rb +20 -0
- data/examples/TeamUpdate.rb +21 -0
- data/examples/TemplateAddUser.rb +23 -0
- data/examples/TemplateCreateEmbeddedDraft.rb +49 -0
- data/examples/TemplateDelete.rb +20 -0
- data/examples/TemplateFiles.rb +20 -0
- data/examples/TemplateFilesAsDataUri.rb +20 -0
- data/examples/TemplateFilesAsFileUrl.rb +20 -0
- data/examples/TemplateGet.rb +20 -0
- data/examples/TemplateList.rb +20 -0
- data/examples/TemplateRemoveUser.rb +23 -0
- data/examples/TemplateUpdateFiles.rb +23 -0
- data/examples/UnclaimedDraftCreate.rb +56 -0
- data/examples/UnclaimedDraftCreateEmbedded.rb +24 -0
- data/examples/UnclaimedDraftCreateEmbeddedWithTemplate.rb +35 -0
- data/examples/UnclaimedDraftEditAndResend.rb +24 -0
- data/lib/dropbox-sign/api/account_api.rb +446 -0
- data/lib/dropbox-sign/api/api_app_api.rb +504 -0
- data/lib/dropbox-sign/api/bulk_send_job_api.rb +213 -0
- data/lib/dropbox-sign/api/embedded_api.rb +234 -0
- data/lib/dropbox-sign/api/o_auth_api.rb +215 -0
- data/lib/dropbox-sign/api/report_api.rb +134 -0
- data/lib/dropbox-sign/api/signature_request_api.rb +1620 -0
- data/lib/dropbox-sign/api/team_api.rb +1011 -0
- data/lib/dropbox-sign/api/template_api.rb +1037 -0
- data/lib/dropbox-sign/api/unclaimed_draft_api.rb +467 -0
- data/lib/dropbox-sign/api_client.rb +417 -0
- data/lib/dropbox-sign/api_error.rb +60 -0
- data/lib/dropbox-sign/configuration.rb +303 -0
- data/lib/dropbox-sign/event_callback_helper.rb +54 -0
- data/lib/dropbox-sign/models/account_create_request.rb +285 -0
- data/lib/dropbox-sign/models/account_create_response.rb +270 -0
- data/lib/dropbox-sign/models/account_get_response.rb +261 -0
- data/lib/dropbox-sign/models/account_response.rb +343 -0
- data/lib/dropbox-sign/models/account_response_quotas.rb +296 -0
- data/lib/dropbox-sign/models/account_update_request.rb +271 -0
- data/lib/dropbox-sign/models/account_verify_request.rb +255 -0
- data/lib/dropbox-sign/models/account_verify_response.rb +261 -0
- data/lib/dropbox-sign/models/account_verify_response_account.rb +250 -0
- data/lib/dropbox-sign/models/api_app_create_request.rb +347 -0
- data/lib/dropbox-sign/models/api_app_get_response.rb +261 -0
- data/lib/dropbox-sign/models/api_app_list_response.rb +273 -0
- data/lib/dropbox-sign/models/api_app_response.rb +343 -0
- data/lib/dropbox-sign/models/api_app_response_o_auth.rb +283 -0
- data/lib/dropbox-sign/models/api_app_response_options.rb +251 -0
- data/lib/dropbox-sign/models/api_app_response_owner_account.rb +261 -0
- data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +367 -0
- data/lib/dropbox-sign/models/api_app_update_request.rb +324 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +282 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +503 -0
- data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +273 -0
- data/lib/dropbox-sign/models/bulk_send_job_response.rb +282 -0
- data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_edit_url_request.rb +357 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +261 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +261 -0
- data/lib/dropbox-sign/models/error_response.rb +254 -0
- data/lib/dropbox-sign/models/error_response_error.rb +281 -0
- data/lib/dropbox-sign/models/event_callback_request.rb +281 -0
- data/lib/dropbox-sign/models/event_callback_request_event.rb +334 -0
- data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +285 -0
- data/lib/dropbox-sign/models/file_response.rb +260 -0
- data/lib/dropbox-sign/models/file_response_data_uri.rb +250 -0
- data/lib/dropbox-sign/models/list_info_response.rb +282 -0
- data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +317 -0
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +272 -0
- data/lib/dropbox-sign/models/o_auth_token_response.rb +287 -0
- data/lib/dropbox-sign/models/report_create_request.rb +319 -0
- data/lib/dropbox-sign/models/report_create_response.rb +261 -0
- data/lib/dropbox-sign/models/report_response.rb +305 -0
- data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +445 -0
- data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +440 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +569 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +475 -0
- data/lib/dropbox-sign/models/signature_request_get_response.rb +261 -0
- data/lib/dropbox-sign/models/signature_request_list_response.rb +273 -0
- data/lib/dropbox-sign/models/signature_request_remind_request.rb +265 -0
- data/lib/dropbox-sign/models/signature_request_response.rb +494 -0
- data/lib/dropbox-sign/models/signature_request_response_attachment.rb +323 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +316 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +272 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +272 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb +40 -0
- data/lib/dropbox-sign/models/signature_request_response_data_base.rb +326 -0
- data/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb +47 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_signatures.rb +446 -0
- data/lib/dropbox-sign/models/signature_request_send_request.rb +574 -0
- data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +480 -0
- data/lib/dropbox-sign/models/signature_request_update_request.rb +286 -0
- data/lib/dropbox-sign/models/sub_attachment.rb +292 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +264 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +270 -0
- data/lib/dropbox-sign/models/sub_cc.rb +270 -0
- data/lib/dropbox-sign/models/sub_custom_field.rb +288 -0
- data/lib/dropbox-sign/models/sub_editor_options.rb +265 -0
- data/lib/dropbox-sign/models/sub_field_options.rb +290 -0
- data/lib/dropbox-sign/models/sub_form_field_group.rb +285 -0
- data/lib/dropbox-sign/models/sub_form_field_rule.rb +353 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +323 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +326 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +435 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +287 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +308 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +292 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +292 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +364 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb +48 -0
- data/lib/dropbox-sign/models/sub_merge_field.rb +304 -0
- data/lib/dropbox-sign/models/sub_o_auth.rb +285 -0
- data/lib/dropbox-sign/models/sub_options.rb +253 -0
- data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +283 -0
- data/lib/dropbox-sign/models/sub_signature_request_signer.rb +369 -0
- data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +373 -0
- data/lib/dropbox-sign/models/sub_signing_options.rb +338 -0
- data/lib/dropbox-sign/models/sub_team_response.rb +260 -0
- data/lib/dropbox-sign/models/sub_template_role.rb +261 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +281 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +285 -0
- data/lib/dropbox-sign/models/sub_white_labeling_options.rb +439 -0
- data/lib/dropbox-sign/models/team_add_member_request.rb +304 -0
- data/lib/dropbox-sign/models/team_create_request.rb +252 -0
- data/lib/dropbox-sign/models/team_get_info_response.rb +261 -0
- data/lib/dropbox-sign/models/team_get_response.rb +261 -0
- data/lib/dropbox-sign/models/team_info_response.rb +290 -0
- data/lib/dropbox-sign/models/team_invite_response.rb +300 -0
- data/lib/dropbox-sign/models/team_invites_response.rb +263 -0
- data/lib/dropbox-sign/models/team_member_response.rb +270 -0
- data/lib/dropbox-sign/models/team_members_response.rb +272 -0
- data/lib/dropbox-sign/models/team_parent_response.rb +261 -0
- data/lib/dropbox-sign/models/team_remove_member_request.rb +324 -0
- data/lib/dropbox-sign/models/team_response.rb +274 -0
- data/lib/dropbox-sign/models/team_sub_teams_response.rb +272 -0
- data/lib/dropbox-sign/models/team_update_request.rb +250 -0
- data/lib/dropbox-sign/models/template_add_user_request.rb +272 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +567 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +261 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +283 -0
- data/lib/dropbox-sign/models/template_edit_response.rb +250 -0
- data/lib/dropbox-sign/models/template_get_response.rb +261 -0
- data/lib/dropbox-sign/models/template_list_response.rb +273 -0
- data/lib/dropbox-sign/models/template_remove_user_request.rb +260 -0
- data/lib/dropbox-sign/models/template_response.rb +410 -0
- data/lib/dropbox-sign/models/template_response_account.rb +299 -0
- data/lib/dropbox-sign/models/template_response_account_quota.rb +281 -0
- data/lib/dropbox-sign/models/template_response_cc_role.rb +250 -0
- data/lib/dropbox-sign/models/template_response_custom_field.rb +407 -0
- data/lib/dropbox-sign/models/template_response_document.rb +309 -0
- data/lib/dropbox-sign/models/template_response_document_custom_field.rb +438 -0
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +260 -0
- data/lib/dropbox-sign/models/template_response_document_form_field.rb +417 -0
- data/lib/dropbox-sign/models/template_response_document_static_field.rb +341 -0
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +261 -0
- data/lib/dropbox-sign/models/template_response_named_form_field.rb +383 -0
- data/lib/dropbox-sign/models/template_response_signer_role.rb +260 -0
- data/lib/dropbox-sign/models/template_update_files_request.rb +336 -0
- data/lib/dropbox-sign/models/template_update_files_response.rb +249 -0
- data/lib/dropbox-sign/models/template_update_files_response_template.rb +263 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +728 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +631 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +586 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +261 -0
- data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +328 -0
- data/lib/dropbox-sign/models/unclaimed_draft_response.rb +305 -0
- data/lib/dropbox-sign/models/warning_response.rb +271 -0
- data/lib/dropbox-sign/version.rb +18 -0
- data/lib/dropbox-sign.rb +204 -0
- data/openapi-config.yaml +21 -0
- data/openapi-sdk.yaml +11080 -0
- data/run-build +53 -0
- data/spec/api/account_api_spec.rb +107 -0
- data/spec/api/api_app_api_spec.rb +95 -0
- data/spec/api/bulk_send_job_api_spec.rb +52 -0
- data/spec/api/embedded_api_spec.rb +55 -0
- data/spec/api/oauth_api_spec.rb +55 -0
- data/spec/api/report_api_spec.rb +38 -0
- data/spec/api/signature_request_api_spec.rb +263 -0
- data/spec/api/team_api_spec.rb +105 -0
- data/spec/api/template_api_spec.rb +147 -0
- data/spec/api/unclaimed_draft_api_spec.rb +95 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/event_callback_helper_spec.rb +22 -0
- data/spec/fixtures_spec.rb +59 -0
- data/spec/models/sub_form_fields_per_document_base_spec.rb +24 -0
- data/spec/spec_helper.rb +111 -0
- data/spec/test_utils.rb +19 -0
- data/templates/Gemfile.mustache +10 -0
- data/templates/README.mustache +133 -0
- data/templates/Rakefile.mustache +10 -0
- data/templates/api.mustache +283 -0
- data/templates/api_client.mustache +291 -0
- data/templates/api_client_faraday_partial.mustache +136 -0
- data/templates/api_client_spec.mustache +220 -0
- data/templates/api_client_typhoeus_partial.mustache +153 -0
- data/templates/api_doc.mustache +77 -0
- data/templates/api_error.mustache +52 -0
- data/templates/api_info.mustache +12 -0
- data/templates/api_test.mustache +47 -0
- data/templates/base_object.mustache +132 -0
- data/templates/configuration.mustache +372 -0
- data/templates/configuration_spec.mustache +34 -0
- data/templates/configuration_tls_faraday_partial.mustache +29 -0
- data/templates/configuration_tls_typhoeus_partial.mustache +34 -0
- data/templates/event_callback_helper.mustache +46 -0
- data/templates/gem.mustache +55 -0
- data/templates/gemspec.mustache +35 -0
- data/templates/git_push.sh.mustache +57 -0
- data/templates/gitignore.mustache +41 -0
- data/templates/model.mustache +29 -0
- data/templates/model_doc.mustache +12 -0
- data/templates/model_test.mustache +77 -0
- data/templates/partial_model_enum_class.mustache +20 -0
- data/templates/partial_model_generic.mustache +414 -0
- data/templates/partial_model_generic_doc.mustache +10 -0
- data/templates/partial_oneof_module.mustache +137 -0
- data/templates/partial_oneof_module_doc.mustache +92 -0
- data/templates/rspec.mustache +2 -0
- data/templates/rubocop.mustache +148 -0
- data/templates/spec_helper.mustache +103 -0
- data/templates/travis.mustache +14 -0
- data/templates/version.mustache +10 -0
- data/test_fixtures/AccountCreateRequest.json +7 -0
- data/test_fixtures/AccountCreateResponse.json +15 -0
- data/test_fixtures/AccountGetResponse.json +14 -0
- data/test_fixtures/AccountUpdateRequest.json +5 -0
- data/test_fixtures/AccountVerifyRequest.json +5 -0
- data/test_fixtures/AccountVerifyResponse.json +7 -0
- data/test_fixtures/ApiAppCreateRequest.json +35 -0
- data/test_fixtures/ApiAppGetResponse.json +27 -0
- data/test_fixtures/ApiAppListResponse.json +42 -0
- data/test_fixtures/ApiAppUpdateRequest.json +35 -0
- data/test_fixtures/BulkSendJobGetResponse.json +67 -0
- data/test_fixtures/BulkSendJobListResponse.json +24 -0
- data/test_fixtures/BulkSendJobSendResponse.json +10 -0
- data/test_fixtures/EmbeddedEditUrlRequest.json +28 -0
- data/test_fixtures/EmbeddedEditUrlResponse.json +8 -0
- data/test_fixtures/EmbeddedSignUrlResponse.json +8 -0
- data/test_fixtures/ErrorResponse.json +9 -0
- data/test_fixtures/EventCallbackHelper.json +50 -0
- data/test_fixtures/FileResponse.json +6 -0
- data/test_fixtures/OAuthTokenGenerateRequest.json +9 -0
- data/test_fixtures/OAuthTokenRefreshRequest.json +6 -0
- data/test_fixtures/OAuthTokenResponse.json +15 -0
- data/test_fixtures/ReportCreateRequest.json +10 -0
- data/test_fixtures/ReportCreateResponse.json +13 -0
- data/test_fixtures/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.json +67 -0
- data/test_fixtures/SignatureRequestBulkSendWithTemplateRequest.json +66 -0
- data/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +252 -0
- data/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json +60 -0
- data/test_fixtures/SignatureRequestGetResponse.json +146 -0
- data/test_fixtures/SignatureRequestListResponse.json +102 -0
- data/test_fixtures/SignatureRequestRemindRequest.json +5 -0
- data/test_fixtures/SignatureRequestSendRequest.json +463 -0
- data/test_fixtures/SignatureRequestSendWithTemplateRequest.json +48 -0
- data/test_fixtures/SignatureRequestUpdateRequest.json +7 -0
- data/test_fixtures/SubFormFieldsPerDocument.json +107 -0
- data/test_fixtures/TeamAddMemberRequest.json +6 -0
- data/test_fixtures/TeamCreateRequest.json +5 -0
- data/test_fixtures/TeamGetResponse.json +34 -0
- data/test_fixtures/TeamRemoveMemberRequest.json +7 -0
- data/test_fixtures/TeamUpdateRequest.json +5 -0
- data/test_fixtures/TemplateAddUserRequest.json +7 -0
- data/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +118 -0
- data/test_fixtures/TemplateCreateEmbeddedDraftResponse.json +9 -0
- data/test_fixtures/TemplateGetResponse.json +102 -0
- data/test_fixtures/TemplateListResponse.json +143 -0
- data/test_fixtures/TemplateRemoveUserRequest.json +6 -0
- data/test_fixtures/TemplateUpdateFilesRequest.json +11 -0
- data/test_fixtures/TemplateUpdateFilesResponse.json +7 -0
- data/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +134 -0
- data/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json +67 -0
- data/test_fixtures/UnclaimedDraftCreateRequest.json +119 -0
- data/test_fixtures/UnclaimedDraftCreateResponse.json +9 -0
- data/test_fixtures/UnclaimedDraftEditAndResendRequest.json +15 -0
- data/test_fixtures/bulk-send-sample.csv +3 -0
- data/test_fixtures/pdf-sample-2.pdf +0 -0
- data/test_fixtures/pdf-sample.pdf +0 -0
- data/vendor/autoload.php +7 -0
- data/vendor/bin/yaml-lint +117 -0
- data/vendor/composer/ClassLoader.php +572 -0
- data/vendor/composer/InstalledVersions.php +350 -0
- data/vendor/composer/LICENSE +21 -0
- data/vendor/composer/autoload_classmap.php +10 -0
- data/vendor/composer/autoload_files.php +11 -0
- data/vendor/composer/autoload_namespaces.php +9 -0
- data/vendor/composer/autoload_psr4.php +11 -0
- data/vendor/composer/autoload_real.php +80 -0
- data/vendor/composer/autoload_static.php +46 -0
- data/vendor/composer/installed.json +239 -0
- data/vendor/composer/installed.php +50 -0
- data/vendor/composer/platform_check.php +26 -0
- data/vendor/symfony/deprecation-contracts/.gitignore +3 -0
- data/vendor/symfony/deprecation-contracts/CHANGELOG.md +5 -0
- data/vendor/symfony/deprecation-contracts/LICENSE +19 -0
- data/vendor/symfony/deprecation-contracts/README.md +26 -0
- data/vendor/symfony/deprecation-contracts/composer.json +35 -0
- data/vendor/symfony/deprecation-contracts/function.php +27 -0
- data/vendor/symfony/polyfill-ctype/Ctype.php +232 -0
- data/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- data/vendor/symfony/polyfill-ctype/README.md +12 -0
- data/vendor/symfony/polyfill-ctype/bootstrap.php +50 -0
- data/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -0
- data/vendor/symfony/polyfill-ctype/composer.json +41 -0
- data/vendor/symfony/yaml/CHANGELOG.md +237 -0
- data/vendor/symfony/yaml/Command/LintCommand.php +289 -0
- data/vendor/symfony/yaml/Dumper.php +140 -0
- data/vendor/symfony/yaml/Escaper.php +95 -0
- data/vendor/symfony/yaml/Exception/DumpException.php +21 -0
- data/vendor/symfony/yaml/Exception/ExceptionInterface.php +21 -0
- data/vendor/symfony/yaml/Exception/ParseException.php +132 -0
- data/vendor/symfony/yaml/Exception/RuntimeException.php +21 -0
- data/vendor/symfony/yaml/Inline.php +812 -0
- data/vendor/symfony/yaml/LICENSE +19 -0
- data/vendor/symfony/yaml/Parser.php +1305 -0
- data/vendor/symfony/yaml/README.md +13 -0
- data/vendor/symfony/yaml/Resources/bin/yaml-lint +45 -0
- data/vendor/symfony/yaml/Tag/TaggedValue.php +38 -0
- data/vendor/symfony/yaml/Unescaper.php +132 -0
- data/vendor/symfony/yaml/Yaml.php +100 -0
- data/vendor/symfony/yaml/composer.json +42 -0
- metadata +650 -0
@@ -0,0 +1,239 @@
|
|
1
|
+
{
|
2
|
+
"packages": [
|
3
|
+
{
|
4
|
+
"name": "symfony/deprecation-contracts",
|
5
|
+
"version": "v2.5.0",
|
6
|
+
"version_normalized": "2.5.0.0",
|
7
|
+
"source": {
|
8
|
+
"type": "git",
|
9
|
+
"url": "https://github.com/symfony/deprecation-contracts.git",
|
10
|
+
"reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
|
11
|
+
},
|
12
|
+
"dist": {
|
13
|
+
"type": "zip",
|
14
|
+
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
|
15
|
+
"reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
|
16
|
+
"shasum": ""
|
17
|
+
},
|
18
|
+
"require": {
|
19
|
+
"php": ">=7.1"
|
20
|
+
},
|
21
|
+
"time": "2021-07-12T14:48:14+00:00",
|
22
|
+
"type": "library",
|
23
|
+
"extra": {
|
24
|
+
"branch-alias": {
|
25
|
+
"dev-main": "2.5-dev"
|
26
|
+
},
|
27
|
+
"thanks": {
|
28
|
+
"name": "symfony/contracts",
|
29
|
+
"url": "https://github.com/symfony/contracts"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"installation-source": "dist",
|
33
|
+
"autoload": {
|
34
|
+
"files": [
|
35
|
+
"function.php"
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"notification-url": "https://packagist.org/downloads/",
|
39
|
+
"license": [
|
40
|
+
"MIT"
|
41
|
+
],
|
42
|
+
"authors": [
|
43
|
+
{
|
44
|
+
"name": "Nicolas Grekas",
|
45
|
+
"email": "p@tchwork.com"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "Symfony Community",
|
49
|
+
"homepage": "https://symfony.com/contributors"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"description": "A generic function and convention to trigger deprecation notices",
|
53
|
+
"homepage": "https://symfony.com",
|
54
|
+
"support": {
|
55
|
+
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
|
56
|
+
},
|
57
|
+
"funding": [
|
58
|
+
{
|
59
|
+
"url": "https://symfony.com/sponsor",
|
60
|
+
"type": "custom"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"url": "https://github.com/fabpot",
|
64
|
+
"type": "github"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
68
|
+
"type": "tidelift"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"install-path": "../symfony/deprecation-contracts"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"name": "symfony/polyfill-ctype",
|
75
|
+
"version": "v1.24.0",
|
76
|
+
"version_normalized": "1.24.0.0",
|
77
|
+
"source": {
|
78
|
+
"type": "git",
|
79
|
+
"url": "https://github.com/symfony/polyfill-ctype.git",
|
80
|
+
"reference": "30885182c981ab175d4d034db0f6f469898070ab"
|
81
|
+
},
|
82
|
+
"dist": {
|
83
|
+
"type": "zip",
|
84
|
+
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
|
85
|
+
"reference": "30885182c981ab175d4d034db0f6f469898070ab",
|
86
|
+
"shasum": ""
|
87
|
+
},
|
88
|
+
"require": {
|
89
|
+
"php": ">=7.1"
|
90
|
+
},
|
91
|
+
"provide": {
|
92
|
+
"ext-ctype": "*"
|
93
|
+
},
|
94
|
+
"suggest": {
|
95
|
+
"ext-ctype": "For best performance"
|
96
|
+
},
|
97
|
+
"time": "2021-10-20T20:35:02+00:00",
|
98
|
+
"type": "library",
|
99
|
+
"extra": {
|
100
|
+
"branch-alias": {
|
101
|
+
"dev-main": "1.23-dev"
|
102
|
+
},
|
103
|
+
"thanks": {
|
104
|
+
"name": "symfony/polyfill",
|
105
|
+
"url": "https://github.com/symfony/polyfill"
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"installation-source": "dist",
|
109
|
+
"autoload": {
|
110
|
+
"psr-4": {
|
111
|
+
"Symfony\\Polyfill\\Ctype\\": ""
|
112
|
+
},
|
113
|
+
"files": [
|
114
|
+
"bootstrap.php"
|
115
|
+
]
|
116
|
+
},
|
117
|
+
"notification-url": "https://packagist.org/downloads/",
|
118
|
+
"license": [
|
119
|
+
"MIT"
|
120
|
+
],
|
121
|
+
"authors": [
|
122
|
+
{
|
123
|
+
"name": "Gert de Pagter",
|
124
|
+
"email": "BackEndTea@gmail.com"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "Symfony Community",
|
128
|
+
"homepage": "https://symfony.com/contributors"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"description": "Symfony polyfill for ctype functions",
|
132
|
+
"homepage": "https://symfony.com",
|
133
|
+
"keywords": [
|
134
|
+
"compatibility",
|
135
|
+
"ctype",
|
136
|
+
"polyfill",
|
137
|
+
"portable"
|
138
|
+
],
|
139
|
+
"support": {
|
140
|
+
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0"
|
141
|
+
},
|
142
|
+
"funding": [
|
143
|
+
{
|
144
|
+
"url": "https://symfony.com/sponsor",
|
145
|
+
"type": "custom"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"url": "https://github.com/fabpot",
|
149
|
+
"type": "github"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
153
|
+
"type": "tidelift"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"install-path": "../symfony/polyfill-ctype"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"name": "symfony/yaml",
|
160
|
+
"version": "v5.4.3",
|
161
|
+
"version_normalized": "5.4.3.0",
|
162
|
+
"source": {
|
163
|
+
"type": "git",
|
164
|
+
"url": "https://github.com/symfony/yaml.git",
|
165
|
+
"reference": "e80f87d2c9495966768310fc531b487ce64237a2"
|
166
|
+
},
|
167
|
+
"dist": {
|
168
|
+
"type": "zip",
|
169
|
+
"url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2",
|
170
|
+
"reference": "e80f87d2c9495966768310fc531b487ce64237a2",
|
171
|
+
"shasum": ""
|
172
|
+
},
|
173
|
+
"require": {
|
174
|
+
"php": ">=7.2.5",
|
175
|
+
"symfony/deprecation-contracts": "^2.1|^3",
|
176
|
+
"symfony/polyfill-ctype": "^1.8"
|
177
|
+
},
|
178
|
+
"conflict": {
|
179
|
+
"symfony/console": "<5.3"
|
180
|
+
},
|
181
|
+
"require-dev": {
|
182
|
+
"symfony/console": "^5.3|^6.0"
|
183
|
+
},
|
184
|
+
"suggest": {
|
185
|
+
"symfony/console": "For validating YAML files using the lint command"
|
186
|
+
},
|
187
|
+
"time": "2022-01-26T16:32:32+00:00",
|
188
|
+
"bin": [
|
189
|
+
"Resources/bin/yaml-lint"
|
190
|
+
],
|
191
|
+
"type": "library",
|
192
|
+
"installation-source": "dist",
|
193
|
+
"autoload": {
|
194
|
+
"psr-4": {
|
195
|
+
"Symfony\\Component\\Yaml\\": ""
|
196
|
+
},
|
197
|
+
"exclude-from-classmap": [
|
198
|
+
"/Tests/"
|
199
|
+
]
|
200
|
+
},
|
201
|
+
"notification-url": "https://packagist.org/downloads/",
|
202
|
+
"license": [
|
203
|
+
"MIT"
|
204
|
+
],
|
205
|
+
"authors": [
|
206
|
+
{
|
207
|
+
"name": "Fabien Potencier",
|
208
|
+
"email": "fabien@symfony.com"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"name": "Symfony Community",
|
212
|
+
"homepage": "https://symfony.com/contributors"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"description": "Loads and dumps YAML files",
|
216
|
+
"homepage": "https://symfony.com",
|
217
|
+
"support": {
|
218
|
+
"source": "https://github.com/symfony/yaml/tree/v5.4.3"
|
219
|
+
},
|
220
|
+
"funding": [
|
221
|
+
{
|
222
|
+
"url": "https://symfony.com/sponsor",
|
223
|
+
"type": "custom"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"url": "https://github.com/fabpot",
|
227
|
+
"type": "github"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
231
|
+
"type": "tidelift"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"install-path": "../symfony/yaml"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"dev": true,
|
238
|
+
"dev-package-names": []
|
239
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<?php return array(
|
2
|
+
'root' => array(
|
3
|
+
'pretty_version' => '1.0.0+no-version-set',
|
4
|
+
'version' => '1.0.0.0',
|
5
|
+
'type' => 'library',
|
6
|
+
'install_path' => __DIR__ . '/../../',
|
7
|
+
'aliases' => array(),
|
8
|
+
'reference' => NULL,
|
9
|
+
'name' => '__root__',
|
10
|
+
'dev' => true,
|
11
|
+
),
|
12
|
+
'versions' => array(
|
13
|
+
'__root__' => array(
|
14
|
+
'pretty_version' => '1.0.0+no-version-set',
|
15
|
+
'version' => '1.0.0.0',
|
16
|
+
'type' => 'library',
|
17
|
+
'install_path' => __DIR__ . '/../../',
|
18
|
+
'aliases' => array(),
|
19
|
+
'reference' => NULL,
|
20
|
+
'dev_requirement' => false,
|
21
|
+
),
|
22
|
+
'symfony/deprecation-contracts' => array(
|
23
|
+
'pretty_version' => 'v2.5.0',
|
24
|
+
'version' => '2.5.0.0',
|
25
|
+
'type' => 'library',
|
26
|
+
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
|
27
|
+
'aliases' => array(),
|
28
|
+
'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8',
|
29
|
+
'dev_requirement' => false,
|
30
|
+
),
|
31
|
+
'symfony/polyfill-ctype' => array(
|
32
|
+
'pretty_version' => 'v1.24.0',
|
33
|
+
'version' => '1.24.0.0',
|
34
|
+
'type' => 'library',
|
35
|
+
'install_path' => __DIR__ . '/../symfony/polyfill-ctype',
|
36
|
+
'aliases' => array(),
|
37
|
+
'reference' => '30885182c981ab175d4d034db0f6f469898070ab',
|
38
|
+
'dev_requirement' => false,
|
39
|
+
),
|
40
|
+
'symfony/yaml' => array(
|
41
|
+
'pretty_version' => 'v5.4.3',
|
42
|
+
'version' => '5.4.3.0',
|
43
|
+
'type' => 'library',
|
44
|
+
'install_path' => __DIR__ . '/../symfony/yaml',
|
45
|
+
'aliases' => array(),
|
46
|
+
'reference' => 'e80f87d2c9495966768310fc531b487ce64237a2',
|
47
|
+
'dev_requirement' => false,
|
48
|
+
),
|
49
|
+
),
|
50
|
+
);
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
// platform_check.php @generated by Composer
|
4
|
+
|
5
|
+
$issues = array();
|
6
|
+
|
7
|
+
if (!(PHP_VERSION_ID >= 70205)) {
|
8
|
+
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.5". You are running ' . PHP_VERSION . '.';
|
9
|
+
}
|
10
|
+
|
11
|
+
if ($issues) {
|
12
|
+
if (!headers_sent()) {
|
13
|
+
header('HTTP/1.1 500 Internal Server Error');
|
14
|
+
}
|
15
|
+
if (!ini_get('display_errors')) {
|
16
|
+
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
17
|
+
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
|
18
|
+
} elseif (!headers_sent()) {
|
19
|
+
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
trigger_error(
|
23
|
+
'Composer detected issues in your platform: ' . implode(' ', $issues),
|
24
|
+
E_USER_ERROR
|
25
|
+
);
|
26
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2020-2021 Fabien Potencier
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is furnished
|
8
|
+
to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
@@ -0,0 +1,26 @@
|
|
1
|
+
Symfony Deprecation Contracts
|
2
|
+
=============================
|
3
|
+
|
4
|
+
A generic function and convention to trigger deprecation notices.
|
5
|
+
|
6
|
+
This package provides a single global function named `trigger_deprecation()` that triggers silenced deprecation notices.
|
7
|
+
|
8
|
+
By using a custom PHP error handler such as the one provided by the Symfony ErrorHandler component,
|
9
|
+
the triggered deprecations can be caught and logged for later discovery, both on dev and prod environments.
|
10
|
+
|
11
|
+
The function requires at least 3 arguments:
|
12
|
+
- the name of the Composer package that is triggering the deprecation
|
13
|
+
- the version of the package that introduced the deprecation
|
14
|
+
- the message of the deprecation
|
15
|
+
- more arguments can be provided: they will be inserted in the message using `printf()` formatting
|
16
|
+
|
17
|
+
Example:
|
18
|
+
```php
|
19
|
+
trigger_deprecation('symfony/blockchain', '8.9', 'Using "%s" is deprecated, use "%s" instead.', 'bitcoin', 'fabcoin');
|
20
|
+
```
|
21
|
+
|
22
|
+
This will generate the following message:
|
23
|
+
`Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.`
|
24
|
+
|
25
|
+
While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty
|
26
|
+
`function trigger_deprecation() {}` in your application.
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"name": "symfony/deprecation-contracts",
|
3
|
+
"type": "library",
|
4
|
+
"description": "A generic function and convention to trigger deprecation notices",
|
5
|
+
"homepage": "https://symfony.com",
|
6
|
+
"license": "MIT",
|
7
|
+
"authors": [
|
8
|
+
{
|
9
|
+
"name": "Nicolas Grekas",
|
10
|
+
"email": "p@tchwork.com"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Symfony Community",
|
14
|
+
"homepage": "https://symfony.com/contributors"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"require": {
|
18
|
+
"php": ">=7.1"
|
19
|
+
},
|
20
|
+
"autoload": {
|
21
|
+
"files": [
|
22
|
+
"function.php"
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"minimum-stability": "dev",
|
26
|
+
"extra": {
|
27
|
+
"branch-alias": {
|
28
|
+
"dev-main": "2.5-dev"
|
29
|
+
},
|
30
|
+
"thanks": {
|
31
|
+
"name": "symfony/contracts",
|
32
|
+
"url": "https://github.com/symfony/contracts"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of the Symfony package.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
*
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
9
|
+
* file that was distributed with this source code.
|
10
|
+
*/
|
11
|
+
|
12
|
+
if (!function_exists('trigger_deprecation')) {
|
13
|
+
/**
|
14
|
+
* Triggers a silenced deprecation notice.
|
15
|
+
*
|
16
|
+
* @param string $package The name of the Composer package that is triggering the deprecation
|
17
|
+
* @param string $version The version of the package that introduced the deprecation
|
18
|
+
* @param string $message The message of the deprecation
|
19
|
+
* @param mixed ...$args Values to insert in the message using printf() formatting
|
20
|
+
*
|
21
|
+
* @author Nicolas Grekas <p@tchwork.com>
|
22
|
+
*/
|
23
|
+
function trigger_deprecation(string $package, string $version, string $message, ...$args): void
|
24
|
+
{
|
25
|
+
@trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,232 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of the Symfony package.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
*
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
9
|
+
* file that was distributed with this source code.
|
10
|
+
*/
|
11
|
+
|
12
|
+
namespace Symfony\Polyfill\Ctype;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Ctype implementation through regex.
|
16
|
+
*
|
17
|
+
* @internal
|
18
|
+
*
|
19
|
+
* @author Gert de Pagter <BackEndTea@gmail.com>
|
20
|
+
*/
|
21
|
+
final class Ctype
|
22
|
+
{
|
23
|
+
/**
|
24
|
+
* Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.
|
25
|
+
*
|
26
|
+
* @see https://php.net/ctype-alnum
|
27
|
+
*
|
28
|
+
* @param mixed $text
|
29
|
+
*
|
30
|
+
* @return bool
|
31
|
+
*/
|
32
|
+
public static function ctype_alnum($text)
|
33
|
+
{
|
34
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
35
|
+
|
36
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Returns TRUE if every character in text is a letter, FALSE otherwise.
|
41
|
+
*
|
42
|
+
* @see https://php.net/ctype-alpha
|
43
|
+
*
|
44
|
+
* @param mixed $text
|
45
|
+
*
|
46
|
+
* @return bool
|
47
|
+
*/
|
48
|
+
public static function ctype_alpha($text)
|
49
|
+
{
|
50
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
51
|
+
|
52
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
|
53
|
+
}
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.
|
57
|
+
*
|
58
|
+
* @see https://php.net/ctype-cntrl
|
59
|
+
*
|
60
|
+
* @param mixed $text
|
61
|
+
*
|
62
|
+
* @return bool
|
63
|
+
*/
|
64
|
+
public static function ctype_cntrl($text)
|
65
|
+
{
|
66
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
67
|
+
|
68
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
|
69
|
+
}
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.
|
73
|
+
*
|
74
|
+
* @see https://php.net/ctype-digit
|
75
|
+
*
|
76
|
+
* @param mixed $text
|
77
|
+
*
|
78
|
+
* @return bool
|
79
|
+
*/
|
80
|
+
public static function ctype_digit($text)
|
81
|
+
{
|
82
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
83
|
+
|
84
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
|
85
|
+
}
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.
|
89
|
+
*
|
90
|
+
* @see https://php.net/ctype-graph
|
91
|
+
*
|
92
|
+
* @param mixed $text
|
93
|
+
*
|
94
|
+
* @return bool
|
95
|
+
*/
|
96
|
+
public static function ctype_graph($text)
|
97
|
+
{
|
98
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
99
|
+
|
100
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
|
101
|
+
}
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Returns TRUE if every character in text is a lowercase letter.
|
105
|
+
*
|
106
|
+
* @see https://php.net/ctype-lower
|
107
|
+
*
|
108
|
+
* @param mixed $text
|
109
|
+
*
|
110
|
+
* @return bool
|
111
|
+
*/
|
112
|
+
public static function ctype_lower($text)
|
113
|
+
{
|
114
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
115
|
+
|
116
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
|
117
|
+
}
|
118
|
+
|
119
|
+
/**
|
120
|
+
* Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.
|
121
|
+
*
|
122
|
+
* @see https://php.net/ctype-print
|
123
|
+
*
|
124
|
+
* @param mixed $text
|
125
|
+
*
|
126
|
+
* @return bool
|
127
|
+
*/
|
128
|
+
public static function ctype_print($text)
|
129
|
+
{
|
130
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
131
|
+
|
132
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
|
133
|
+
}
|
134
|
+
|
135
|
+
/**
|
136
|
+
* Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.
|
137
|
+
*
|
138
|
+
* @see https://php.net/ctype-punct
|
139
|
+
*
|
140
|
+
* @param mixed $text
|
141
|
+
*
|
142
|
+
* @return bool
|
143
|
+
*/
|
144
|
+
public static function ctype_punct($text)
|
145
|
+
{
|
146
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
147
|
+
|
148
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
|
149
|
+
}
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.
|
153
|
+
*
|
154
|
+
* @see https://php.net/ctype-space
|
155
|
+
*
|
156
|
+
* @param mixed $text
|
157
|
+
*
|
158
|
+
* @return bool
|
159
|
+
*/
|
160
|
+
public static function ctype_space($text)
|
161
|
+
{
|
162
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
163
|
+
|
164
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
|
165
|
+
}
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Returns TRUE if every character in text is an uppercase letter.
|
169
|
+
*
|
170
|
+
* @see https://php.net/ctype-upper
|
171
|
+
*
|
172
|
+
* @param mixed $text
|
173
|
+
*
|
174
|
+
* @return bool
|
175
|
+
*/
|
176
|
+
public static function ctype_upper($text)
|
177
|
+
{
|
178
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
179
|
+
|
180
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
|
181
|
+
}
|
182
|
+
|
183
|
+
/**
|
184
|
+
* Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.
|
185
|
+
*
|
186
|
+
* @see https://php.net/ctype-xdigit
|
187
|
+
*
|
188
|
+
* @param mixed $text
|
189
|
+
*
|
190
|
+
* @return bool
|
191
|
+
*/
|
192
|
+
public static function ctype_xdigit($text)
|
193
|
+
{
|
194
|
+
$text = self::convert_int_to_char_for_ctype($text, __FUNCTION__);
|
195
|
+
|
196
|
+
return \is_string($text) && '' !== $text && !preg_match('/[^A-Fa-f0-9]/', $text);
|
197
|
+
}
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Converts integers to their char versions according to normal ctype behaviour, if needed.
|
201
|
+
*
|
202
|
+
* If an integer between -128 and 255 inclusive is provided,
|
203
|
+
* it is interpreted as the ASCII value of a single character
|
204
|
+
* (negative values have 256 added in order to allow characters in the Extended ASCII range).
|
205
|
+
* Any other integer is interpreted as a string containing the decimal digits of the integer.
|
206
|
+
*
|
207
|
+
* @param mixed $int
|
208
|
+
* @param string $function
|
209
|
+
*
|
210
|
+
* @return mixed
|
211
|
+
*/
|
212
|
+
private static function convert_int_to_char_for_ctype($int, $function)
|
213
|
+
{
|
214
|
+
if (!\is_int($int)) {
|
215
|
+
return $int;
|
216
|
+
}
|
217
|
+
|
218
|
+
if ($int < -128 || $int > 255) {
|
219
|
+
return (string) $int;
|
220
|
+
}
|
221
|
+
|
222
|
+
if (\PHP_VERSION_ID >= 80100) {
|
223
|
+
@trigger_error($function.'(): Argument of type int will be interpreted as string in the future', \E_USER_DEPRECATED);
|
224
|
+
}
|
225
|
+
|
226
|
+
if ($int < 0) {
|
227
|
+
$int += 256;
|
228
|
+
}
|
229
|
+
|
230
|
+
return \chr($int);
|
231
|
+
}
|
232
|
+
}
|