From 14c9f0fbc4e0119ecf81b40314ec4dca58947868 Mon Sep 17 00:00:00 2001 From: Nathan Buchar Date: Wed, 13 Mar 2019 14:02:12 -0700 Subject: [PATCH] chore: Add Apache License header --- lib/endpoints/index.js | 16 ++++++++++++++++ lib/endpoints/token.js | 16 ++++++++++++++++ lib/endpoints/workflow-instances.js | 16 ++++++++++++++++ lib/helloworks.js | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) diff --git a/lib/endpoints/index.js b/lib/endpoints/index.js index 8118e77..7d9a4f8 100644 --- a/lib/endpoints/index.js +++ b/lib/endpoints/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2019 HelloSign + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const token = require('./token'); const workflowInstances = require('./workflow-instances'); diff --git a/lib/endpoints/token.js b/lib/endpoints/token.js index 7f82631..80fcf67 100644 --- a/lib/endpoints/token.js +++ b/lib/endpoints/token.js @@ -1,3 +1,19 @@ +/** + * Copyright 2019 HelloSign + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const basePath = '/token'; const endpoint = (client) => ({ diff --git a/lib/endpoints/workflow-instances.js b/lib/endpoints/workflow-instances.js index 6c1abf0..1897cf6 100644 --- a/lib/endpoints/workflow-instances.js +++ b/lib/endpoints/workflow-instances.js @@ -1,3 +1,19 @@ +/** + * Copyright 2019 HelloSign + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const FormData = require('form-data'); const basePath = '/workflow_instances'; diff --git a/lib/helloworks.js b/lib/helloworks.js index e82eb0d..88e10dd 100644 --- a/lib/helloworks.js +++ b/lib/helloworks.js @@ -1,3 +1,19 @@ +/** + * Copyright 2019 HelloSign + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const fetch = require('node-fetch'); const { URL } = require('url');