diff --git a/bin/sandbox b/bin/sandbox
new file mode 100755
index 000000000..ee74261b9
--- /dev/null
+++ b/bin/sandbox
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+set -e
+
+DIR=$(cd `dirname $0` && pwd)
+
+bash "${DIR}/sandbox-dotnet"
+bash "${DIR}/sandbox-java-v1"
+bash "${DIR}/sandbox-java-v2"
+bash "${DIR}/sandbox-node"
+bash "${DIR}/sandbox-php"
diff --git a/copy-sdks b/copy-sdks
index 8de44644d..a2366b1d5 100755
--- a/copy-sdks
+++ b/copy-sdks
@@ -102,8 +102,30 @@ function copy_files()
git reset --hard origin/${REPO_MAIN_BRANCH}
git pull origin ${REPO_MAIN_BRANCH}
git checkout -b "release-${VERSION}"
+
cp -r "${DIR}/sdks/${SDK}/." "${SDK_DIR}"
+ rm -f "${SDK_DIR}/openapi-sdk.yaml"
+ rm -rf "${SDK_DIR}/examples"
+ mkdir -p "${SDK_DIR}/examples"
+
+ cp -r "${DIR}/openapi-sdk.yaml" "${SDK_DIR}/openapi-sdk.yaml"
+
+ if [[ "${SDK}" == "dotnet" ]]; then
+ cp -r "${DIR}/examples/"*.cs "${SDK_DIR}/examples/"
+ elif [[ "${SDK}" == "java-v2" ]] || [[ "${SDK}" == "java-v1" ]]; then
+ cp -r "${DIR}/examples/"*.java "${SDK_DIR}/examples/"
+ elif [[ "${SDK}" == "node" ]]; then
+ cp -r "${DIR}/examples/"*.js "${SDK_DIR}/examples/"
+ cp -r "${DIR}/examples/"*.ts "${SDK_DIR}/examples/"
+ elif [[ "${SDK}" == "php" ]]; then
+ cp -r "${DIR}/examples/"*.php "${SDK_DIR}/examples/"
+ elif [[ "${SDK}" == "python" ]]; then
+ cp -r "${DIR}/examples/"*.py "${SDK_DIR}/examples/"
+ elif [[ "${SDK}" == "ruby" ]]; then
+ cp -r "${DIR}/examples/"*.rb "${SDK_DIR}/examples/"
+ fi
+
php "${DIR}/bin/update-sdk-version.php" ${SDK} ${VERSION}
popd
diff --git a/examples/FaxLineAddUser.cs b/examples/FaxLineAddUser.cs
new file mode 100644
index 000000000..de22f454f
--- /dev/null
+++ b/examples/FaxLineAddUser.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ var data = new FaxLineAddUserRequest(
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com"
+ );
+
+ try
+ {
+ var result = faxLineApi.FaxLineAddUser(data);
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineAddUser.java b/examples/FaxLineAddUser.java
new file mode 100644
index 000000000..34e455d5a
--- /dev/null
+++ b/examples/FaxLineAddUser.java
@@ -0,0 +1,30 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ var data = new FaxLineAddUserRequest()
+ .number("[FAX_NUMBER]")
+ .emailAddress("member@dropboxsign.com");
+
+ try {
+ FaxLineResponse result = faxLineApi.faxLineAddUser(data);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineAddUser.js b/examples/FaxLineAddUser.js
new file mode 100644
index 000000000..84e1e2c0e
--- /dev/null
+++ b/examples/FaxLineAddUser.js
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data = {
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com",
+};
+
+const result = faxLineApi.faxLineAddUser(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineAddUser.php b/examples/FaxLineAddUser.php
new file mode 100644
index 000000000..8fb6c0fef
--- /dev/null
+++ b/examples/FaxLineAddUser.php
@@ -0,0 +1,23 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+$data = new Dropbox\Sign\Model\FaxLineAddUserRequest();
+$data->setNumber("[FAX_NUMBER]")
+ ->setEmailAddress("member@dropboxsign.com");
+
+try {
+ $result = $faxLineApi->faxLineAddUser($data);
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineAddUser.py b/examples/FaxLineAddUser.py
new file mode 100644
index 000000000..49d362ccb
--- /dev/null
+++ b/examples/FaxLineAddUser.py
@@ -0,0 +1,23 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ data = models.FaxLineAddUserRequest(
+ number="[FAX_NUMBER]",
+ email_address="member@dropboxsign.com",
+ )
+
+ try:
+ response = fax_line_api.fax_line_add_user(data)
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineAddUser.rb b/examples/FaxLineAddUser.rb
new file mode 100644
index 000000000..1ad855373
--- /dev/null
+++ b/examples/FaxLineAddUser.rb
@@ -0,0 +1,19 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+data = Dropbox::Sign::FaxLineAddUserRequest.new
+data.number = "[FAX_NUMBER]"
+data.email_address = "member@dropboxsign.com"
+
+begin
+ result = fax_line_api.fax_line_add_user(data)
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineAddUser.sh b/examples/FaxLineAddUser.sh
new file mode 100644
index 000000000..d0d223f90
--- /dev/null
+++ b/examples/FaxLineAddUser.sh
@@ -0,0 +1,4 @@
+curl -X POST 'https://api.hellosign.com/v3/fax_line/add_user' \
+ -u 'YOUR_API_KEY:' \
+ -F 'number=[FAX_NUMBER]' \
+ -F 'email_address=member@dropboxsign.com'
diff --git a/examples/FaxLineAddUser.ts b/examples/FaxLineAddUser.ts
new file mode 100644
index 000000000..e5d705e94
--- /dev/null
+++ b/examples/FaxLineAddUser.ts
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data: DropboxSign.FaxLineAddUserRequest = {
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com",
+};
+
+const result = faxLineApi.faxLineAddUser(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineAreaCodeGet.cs b/examples/FaxLineAreaCodeGet.cs
new file mode 100644
index 000000000..3beedfef1
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ try
+ {
+ var result = faxLineApi.FaxLineAreaCodeGet("US", "CA");
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineAreaCodeGet.java b/examples/FaxLineAreaCodeGet.java
new file mode 100644
index 000000000..1df071ab9
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.java
@@ -0,0 +1,26 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ try {
+ FaxLineAreaCodeGetResponse result = faxLineApi.faxLineAreaCodeGet("US", "CA");
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineAreaCodeGet.js b/examples/FaxLineAreaCodeGet.js
new file mode 100644
index 000000000..bfc908f18
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.js
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineAreaCodeGet("US", "CA");
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineAreaCodeGet.php b/examples/FaxLineAreaCodeGet.php
new file mode 100644
index 000000000..c19f9e187
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.php
@@ -0,0 +1,19 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+try {
+ $result = $faxLineApi->faxLineAreaCodeGet("US", "CA");
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineAreaCodeGet.py b/examples/FaxLineAreaCodeGet.py
new file mode 100644
index 000000000..8a4637352
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.py
@@ -0,0 +1,18 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ try:
+ response = fax_line_api.fax_line_area_code_get("US", "CA")
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineAreaCodeGet.rb b/examples/FaxLineAreaCodeGet.rb
new file mode 100644
index 000000000..571fb4f58
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.rb
@@ -0,0 +1,15 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+begin
+ result = fax_line_api.fax_line_area_code_get("US", "CA")
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineAreaCodeGet.sh b/examples/FaxLineAreaCodeGet.sh
new file mode 100644
index 000000000..8664c650e
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.sh
@@ -0,0 +1,4 @@
+curl -X GET 'https://api.hellosign.com/v3/fax_line/area_codes' \
+ -u 'YOUR_API_KEY:' \
+ -F 'country=US' \
+ -F 'state=CA'
diff --git a/examples/FaxLineAreaCodeGet.ts b/examples/FaxLineAreaCodeGet.ts
new file mode 100644
index 000000000..bfc908f18
--- /dev/null
+++ b/examples/FaxLineAreaCodeGet.ts
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineAreaCodeGet("US", "CA");
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineCreate.cs b/examples/FaxLineCreate.cs
new file mode 100644
index 000000000..4d96ae5b0
--- /dev/null
+++ b/examples/FaxLineCreate.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ var data = new FaxLineCreateRequest(
+ areaCode: 209,
+ country: "US"
+ );
+
+ try
+ {
+ var result = faxLineApi.FaxLineCreate(data);
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineCreate.java b/examples/FaxLineCreate.java
new file mode 100644
index 000000000..fca101895
--- /dev/null
+++ b/examples/FaxLineCreate.java
@@ -0,0 +1,30 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ var data = new FaxLineCreateRequest()
+ .areaCode(209)
+ .country("US");
+
+ try {
+ FaxLineResponse result = faxLineApi.faxLineCreate(data);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineCreate.js b/examples/FaxLineCreate.js
new file mode 100644
index 000000000..c4ee72c59
--- /dev/null
+++ b/examples/FaxLineCreate.js
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data = {
+ areaCode: 209,
+ country: "US",
+};
+
+const result = faxLineApi.faxLineCreate(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineCreate.php b/examples/FaxLineCreate.php
new file mode 100644
index 000000000..27a0d2b8a
--- /dev/null
+++ b/examples/FaxLineCreate.php
@@ -0,0 +1,23 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+$data = new Dropbox\Sign\Model\FaxLineCreateRequest();
+$data->setAreaCode(209)
+ ->setCountry("US");
+
+try {
+ $result = $faxLineApi->faxLineCreate($data);
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineCreate.py b/examples/FaxLineCreate.py
new file mode 100644
index 000000000..14ef9c97c
--- /dev/null
+++ b/examples/FaxLineCreate.py
@@ -0,0 +1,23 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ data = models.FaxLineCreateRequest(
+ area_code=209,
+ country="US",
+ )
+
+ try:
+ response = fax_line_api.fax_line_create(data)
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineCreate.rb b/examples/FaxLineCreate.rb
new file mode 100644
index 000000000..2619678ae
--- /dev/null
+++ b/examples/FaxLineCreate.rb
@@ -0,0 +1,19 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+data = Dropbox::Sign::FaxLineCreateRequest.new
+data.area_code = 209
+data.country = "US"
+
+begin
+ result = fax_line_api.fax_line_create(data)
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineCreate.sh b/examples/FaxLineCreate.sh
new file mode 100644
index 000000000..054011b2e
--- /dev/null
+++ b/examples/FaxLineCreate.sh
@@ -0,0 +1,4 @@
+curl -X POST 'https://api.hellosign.com/v3/fax_line/create' \
+ -u 'YOUR_API_KEY:' \
+ -F 'area_code=209' \
+ -F 'country=US'
diff --git a/examples/FaxLineCreate.ts b/examples/FaxLineCreate.ts
new file mode 100644
index 000000000..6ceeb71da
--- /dev/null
+++ b/examples/FaxLineCreate.ts
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data: DropboxSign.FaxLineCreateRequest = {
+ areaCode: 209,
+ country: "US",
+};
+
+const result = faxLineApi.faxLineCreate(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineDelete.cs b/examples/FaxLineDelete.cs
new file mode 100644
index 000000000..a2cf8a9f1
--- /dev/null
+++ b/examples/FaxLineDelete.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ var data = new FaxLineDeleteRequest(
+ number: "[FAX_NUMBER]",
+ );
+
+ try
+ {
+ faxLineApi.FaxLineDelete(data);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineDelete.java b/examples/FaxLineDelete.java
new file mode 100644
index 000000000..6b989d287
--- /dev/null
+++ b/examples/FaxLineDelete.java
@@ -0,0 +1,28 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ var data = new FaxLineDeleteRequest()
+ .number("[FAX_NUMBER]");
+
+ try {
+ faxLineApi.faxLineDelete(data);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineDelete.js b/examples/FaxLineDelete.js
new file mode 100644
index 000000000..1e8bdda7c
--- /dev/null
+++ b/examples/FaxLineDelete.js
@@ -0,0 +1,17 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data = {
+ number: "[FAX_NUMBER]",
+};
+
+const result = faxLineApi.faxLineDelete(data);
+
+result.catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineDelete.php b/examples/FaxLineDelete.php
new file mode 100644
index 000000000..8cc4ee01f
--- /dev/null
+++ b/examples/FaxLineDelete.php
@@ -0,0 +1,21 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+$data = new Dropbox\Sign\Model\FaxLineDeleteRequest();
+$data->setNumber("[FAX_NUMBER]");
+
+try {
+ $faxLineApi->faxLineDelete($data);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineDelete.py b/examples/FaxLineDelete.py
new file mode 100644
index 000000000..7b828b01f
--- /dev/null
+++ b/examples/FaxLineDelete.py
@@ -0,0 +1,21 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ data = models.FaxLineDeleteRequest(
+ number="[FAX_NUMBER]",
+ )
+
+ try:
+ fax_line_api.fax_line_delete(data)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineDelete.rb b/examples/FaxLineDelete.rb
new file mode 100644
index 000000000..001cf6275
--- /dev/null
+++ b/examples/FaxLineDelete.rb
@@ -0,0 +1,17 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+data = Dropbox::Sign::FaxLineDeleteRequest.new
+data.number = "[FAX_NUMBER]"
+
+begin
+ fax_line_api.fax_line_delete(data)
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineDelete.sh b/examples/FaxLineDelete.sh
new file mode 100644
index 000000000..d732b3db8
--- /dev/null
+++ b/examples/FaxLineDelete.sh
@@ -0,0 +1,3 @@
+curl -X DELETE 'https://api.hellosign.com/v3/fax_line' \
+ -u 'YOUR_API_KEY:' \
+ -F 'number=[FAX_NUMBER]'
diff --git a/examples/FaxLineDelete.ts b/examples/FaxLineDelete.ts
new file mode 100644
index 000000000..14efef4dc
--- /dev/null
+++ b/examples/FaxLineDelete.ts
@@ -0,0 +1,17 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data: DropboxSign.FaxLineDeleteRequest = {
+ number: "[FAX_NUMBER]",
+};
+
+const result = faxLineApi.faxLineDelete(data);
+
+result.catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineGet.cs b/examples/FaxLineGet.cs
new file mode 100644
index 000000000..d18c82fab
--- /dev/null
+++ b/examples/FaxLineGet.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ try
+ {
+ var result = faxLineApi.FaxLineGet("[FAX_NUMBER]");
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineGet.java b/examples/FaxLineGet.java
new file mode 100644
index 000000000..69281b342
--- /dev/null
+++ b/examples/FaxLineGet.java
@@ -0,0 +1,26 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ try {
+ FaxLineResponse result = faxLineApi.faxLineGet("[FAX_NUMBER]");
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineGet.js b/examples/FaxLineGet.js
new file mode 100644
index 000000000..e9643abe9
--- /dev/null
+++ b/examples/FaxLineGet.js
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineGet("[FAX_NUMBER]");
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineGet.php b/examples/FaxLineGet.php
new file mode 100644
index 000000000..75dd77b5c
--- /dev/null
+++ b/examples/FaxLineGet.php
@@ -0,0 +1,19 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+try {
+ $result = $faxLineApi->faxLineGet("[FAX_NUMBER]");
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineGet.py b/examples/FaxLineGet.py
new file mode 100644
index 000000000..3f66de9e7
--- /dev/null
+++ b/examples/FaxLineGet.py
@@ -0,0 +1,18 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ try:
+ response = fax_line_api.fax_line_get("[FAX_NUMBER]")
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineGet.rb b/examples/FaxLineGet.rb
new file mode 100644
index 000000000..090c2bdd8
--- /dev/null
+++ b/examples/FaxLineGet.rb
@@ -0,0 +1,15 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+begin
+ result = fax_line_api.fax_line_get("[NUMBER]")
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineGet.sh b/examples/FaxLineGet.sh
new file mode 100644
index 000000000..513522062
--- /dev/null
+++ b/examples/FaxLineGet.sh
@@ -0,0 +1,2 @@
+curl -X GET 'https://api.hellosign.com/v3/fax_line?number=[FAX_NUMBER]' \
+ -u 'YOUR_API_KEY:'
diff --git a/examples/FaxLineGet.ts b/examples/FaxLineGet.ts
new file mode 100644
index 000000000..e9643abe9
--- /dev/null
+++ b/examples/FaxLineGet.ts
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineGet("[FAX_NUMBER]");
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineList.cs b/examples/FaxLineList.cs
new file mode 100644
index 000000000..96d7f0c28
--- /dev/null
+++ b/examples/FaxLineList.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ try
+ {
+ var result = faxLineApi.FaxLineList();
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineList.java b/examples/FaxLineList.java
new file mode 100644
index 000000000..df1d0bd13
--- /dev/null
+++ b/examples/FaxLineList.java
@@ -0,0 +1,26 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ try {
+ FaxLineListResponse result = faxLineApi.faxLineList();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineList.js b/examples/FaxLineList.js
new file mode 100644
index 000000000..f40c60dfa
--- /dev/null
+++ b/examples/FaxLineList.js
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineList();
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineList.php b/examples/FaxLineList.php
new file mode 100644
index 000000000..6056a2427
--- /dev/null
+++ b/examples/FaxLineList.php
@@ -0,0 +1,19 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+try {
+ $result = $faxLineApi->faxLineList();
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineList.py b/examples/FaxLineList.py
new file mode 100644
index 000000000..49cf69a59
--- /dev/null
+++ b/examples/FaxLineList.py
@@ -0,0 +1,18 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ try:
+ response = fax_line_api.fax_line_list()
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineList.rb b/examples/FaxLineList.rb
new file mode 100644
index 000000000..23a0ec845
--- /dev/null
+++ b/examples/FaxLineList.rb
@@ -0,0 +1,15 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+begin
+ result = fax_line_api.fax_line_list()
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineList.sh b/examples/FaxLineList.sh
new file mode 100644
index 000000000..d5b4ea4df
--- /dev/null
+++ b/examples/FaxLineList.sh
@@ -0,0 +1,2 @@
+curl -X GET 'https://api.hellosign.com/v3/fax_line/list' \
+ -u 'YOUR_API_KEY:'
diff --git a/examples/FaxLineList.ts b/examples/FaxLineList.ts
new file mode 100644
index 000000000..f40c60dfa
--- /dev/null
+++ b/examples/FaxLineList.ts
@@ -0,0 +1,14 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const result = faxLineApi.faxLineList();
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineRemoveUser.cs b/examples/FaxLineRemoveUser.cs
new file mode 100644
index 000000000..1dd562ed6
--- /dev/null
+++ b/examples/FaxLineRemoveUser.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Dropbox.Sign.Api;
+using Dropbox.Sign.Client;
+using Dropbox.Sign.Model;
+
+public class Example
+{
+ public static void Main()
+ {
+ var config = new Configuration();
+ config.Username = "YOUR_API_KEY";
+
+ var faxLineApi = new FaxLineApi(config);
+
+ var data = new FaxLineRemoveUserRequest(
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com"
+ );
+
+ try
+ {
+ var result = faxLineApi.FaxLineRemoveUser(data);
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
+ Console.WriteLine("Status Code: " + e.ErrorCode);
+ Console.WriteLine(e.StackTrace);
+ }
+ }
+}
diff --git a/examples/FaxLineRemoveUser.java b/examples/FaxLineRemoveUser.java
new file mode 100644
index 000000000..7864b05ab
--- /dev/null
+++ b/examples/FaxLineRemoveUser.java
@@ -0,0 +1,30 @@
+import com.dropbox.sign.ApiException;
+import com.dropbox.sign.Configuration;
+import com.dropbox.sign.api.*;
+import com.dropbox.sign.auth.*;
+import com.dropbox.sign.model.*;
+
+import java.util.List;
+
+public class Example {
+ public static void main(String[] args) {
+ var apiClient = Configuration.getDefaultApiClient()
+ .setApiKey("YOUR_API_KEY");
+
+ var faxLineApi = new FaxLineApi(apiClient);
+
+ var data = new FaxLineRemoveUserRequest()
+ .number("[FAX_NUMBER]")
+ .emailAddress("member@dropboxsign.com");
+
+ try {
+ FaxLineResponse result = faxLineApi.faxLineRemoveUser(data);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/examples/FaxLineRemoveUser.js b/examples/FaxLineRemoveUser.js
new file mode 100644
index 000000000..64f247924
--- /dev/null
+++ b/examples/FaxLineRemoveUser.js
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data = {
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com",
+};
+
+const result = faxLineApi.faxLineRemoveUser(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/FaxLineRemoveUser.php b/examples/FaxLineRemoveUser.php
new file mode 100644
index 000000000..60132fedc
--- /dev/null
+++ b/examples/FaxLineRemoveUser.php
@@ -0,0 +1,23 @@
+setUsername("YOUR_API_KEY");
+
+$faxLineApi = new Dropbox\Sign\Api\FaxLineApi($config);
+
+$data = new Dropbox\Sign\Model\FaxLineRemoveUserRequest();
+$data->setNumber("[FAX_NUMBER]")
+ ->setEmailAddress("member@dropboxsign.com");
+
+try {
+ $result = $faxLineApi->faxLineRemoveUser($data);
+ print_r($result);
+} catch (Dropbox\Sign\ApiException $e) {
+ $error = $e->getResponseObject();
+ echo "Exception when calling Dropbox Sign API: "
+ . print_r($error->getError());
+}
diff --git a/examples/FaxLineRemoveUser.py b/examples/FaxLineRemoveUser.py
new file mode 100644
index 000000000..4d8c19668
--- /dev/null
+++ b/examples/FaxLineRemoveUser.py
@@ -0,0 +1,23 @@
+from pprint import pprint
+
+from dropbox_sign import \
+ ApiClient, ApiException, Configuration, apis, models
+
+configuration = Configuration(
+ # Configure HTTP basic authorization: api_key
+ username="YOUR_API_KEY",
+)
+
+with ApiClient(configuration) as api_client:
+ fax_line_api = apis.FaxLineApi(api_client)
+
+ data = models.FaxLineRemoveUserRequest(
+ number="[FAX_NUMBER]",
+ email_address="member@dropboxsign.com",
+ )
+
+ try:
+ response = fax_line_api.fax_line_remove_user(data)
+ pprint(response)
+ except ApiException as e:
+ print("Exception when calling Dropbox Sign API: %s\n" % e)
diff --git a/examples/FaxLineRemoveUser.rb b/examples/FaxLineRemoveUser.rb
new file mode 100644
index 000000000..98bb7a047
--- /dev/null
+++ b/examples/FaxLineRemoveUser.rb
@@ -0,0 +1,19 @@
+require "dropbox-sign"
+
+Dropbox::Sign.configure do |config|
+ # Configure HTTP basic authorization: api_key
+ config.username = "YOUR_API_KEY"
+end
+
+fax_line_api = Dropbox::Sign::FaxLineApi.new
+
+data = Dropbox::Sign::FaxLineRemoveUserRequest.new
+data.number = "[FAX_NUMBER]"
+data.email_address = "member@dropboxsign.com"
+
+begin
+ result = fax_line_api.fax_line_remove_user(data)
+ p result
+rescue Dropbox::Sign::ApiError => e
+ puts "Exception when calling Dropbox Sign API: #{e}"
+end
diff --git a/examples/FaxLineRemoveUser.sh b/examples/FaxLineRemoveUser.sh
new file mode 100644
index 000000000..7c7a1580a
--- /dev/null
+++ b/examples/FaxLineRemoveUser.sh
@@ -0,0 +1,4 @@
+curl -X POST 'https://api.hellosign.com/v3/fax_line/remove_user' \
+ -u 'YOUR_API_KEY:' \
+ -F 'number=[FAX_NUMBER]' \
+ -F 'email_address=member@dropboxsign.com'
diff --git a/examples/FaxLineRemoveUser.ts b/examples/FaxLineRemoveUser.ts
new file mode 100644
index 000000000..91dc3066b
--- /dev/null
+++ b/examples/FaxLineRemoveUser.ts
@@ -0,0 +1,19 @@
+import * as DropboxSign from "@dropbox/sign";
+
+const faxLineApi = new DropboxSign.FaxLineApi();
+
+// Configure HTTP basic authorization: api_key
+faxLineApi.username = "YOUR_API_KEY";
+
+const data: DropboxSign.FaxLineRemoveUserRequest = {
+ number: "[FAX_NUMBER]",
+ emailAddress: "member@dropboxsign.com",
+};
+
+const result = faxLineApi.faxLineRemoveUser(data);
+result.then(response => {
+ console.log(response.body);
+}).catch(error => {
+ console.log("Exception when calling Dropbox Sign API:");
+ console.log(error.body);
+});
diff --git a/examples/json/FaxLineAddUserRequestExample.json b/examples/json/FaxLineAddUserRequestExample.json
new file mode 100644
index 000000000..405f23102
--- /dev/null
+++ b/examples/json/FaxLineAddUserRequestExample.json
@@ -0,0 +1,4 @@
+{
+ "number": "[FAX_NUMBER]",
+ "email_address": "member@dropboxsign.com"
+}
diff --git a/examples/json/FaxLineAreaCodeGetResponseExample.json b/examples/json/FaxLineAreaCodeGetResponseExample.json
new file mode 100644
index 000000000..b83e80cc2
--- /dev/null
+++ b/examples/json/FaxLineAreaCodeGetResponseExample.json
@@ -0,0 +1,34 @@
+{
+ "area_codes": [
+ 209,
+ 213,
+ 310,
+ 323,
+ 408,
+ 415,
+ 424,
+ 510,
+ 530,
+ 559,
+ 562,
+ 619,
+ 626,
+ 650,
+ 657,
+ 661,
+ 669,
+ 707,
+ 714,
+ 747,
+ 760,
+ 805,
+ 818,
+ 831,
+ 858,
+ 909,
+ 916,
+ 925,
+ 949,
+ 951
+ ]
+}
diff --git a/examples/json/FaxLineCreateRequestExample.json b/examples/json/FaxLineCreateRequestExample.json
new file mode 100644
index 000000000..f80f6e421
--- /dev/null
+++ b/examples/json/FaxLineCreateRequestExample.json
@@ -0,0 +1,4 @@
+{
+ "area_code": 209,
+ "country": "US"
+}
diff --git a/examples/json/FaxLineDeleteRequestExample.json b/examples/json/FaxLineDeleteRequestExample.json
new file mode 100644
index 000000000..4bc5f0b67
--- /dev/null
+++ b/examples/json/FaxLineDeleteRequestExample.json
@@ -0,0 +1,3 @@
+{
+ "number": "[FAX_NUMBER]",
+}
diff --git a/examples/json/FaxLineListResponseExample.json b/examples/json/FaxLineListResponseExample.json
new file mode 100644
index 000000000..39ec60ac3
--- /dev/null
+++ b/examples/json/FaxLineListResponseExample.json
@@ -0,0 +1,24 @@
+{
+ "list_info": {
+ "num_pages": 1,
+ "num_results": 1,
+ "page": 1,
+ "page_size": 1
+ },
+ "fax_lines": [
+ {
+ "number": "[FAX_NUMBER]",
+ "created_at": 1723231831,
+ "updated_at": 1723231831,
+ "accounts": [
+ {
+ "account_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
+ "email_address": "me@dropboxsign.com",
+ "is_locked": false,
+ "is_paid_hs": false,
+ "is_paid_hf": true
+ }
+ ]
+ }
+ ]
+}
diff --git a/examples/json/FaxLineRemoveUserRequestExample.json b/examples/json/FaxLineRemoveUserRequestExample.json
new file mode 100644
index 000000000..405f23102
--- /dev/null
+++ b/examples/json/FaxLineRemoveUserRequestExample.json
@@ -0,0 +1,4 @@
+{
+ "number": "[FAX_NUMBER]",
+ "email_address": "member@dropboxsign.com"
+}
diff --git a/examples/json/FaxLineResponseExample.json b/examples/json/FaxLineResponseExample.json
new file mode 100644
index 000000000..9e4656f7c
--- /dev/null
+++ b/examples/json/FaxLineResponseExample.json
@@ -0,0 +1,16 @@
+{
+ "fax_line": {
+ "number": "[FAX_NUMBER]",
+ "created_at": 1723231831,
+ "updated_at": 1723231831,
+ "accounts": [
+ {
+ "account_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
+ "email_address": "me@dropboxsign.com",
+ "is_locked": false,
+ "is_paid_hs": false,
+ "is_paid_hf": true
+ }
+ ]
+ }
+}
diff --git a/markdown/en/tags/fax-lines-tag-description.md b/markdown/en/tags/fax-lines-tag-description.md
new file mode 100644
index 000000000..9adc1f687
--- /dev/null
+++ b/markdown/en/tags/fax-lines-tag-description.md
@@ -0,0 +1 @@
+Contains information about the fax lines you and your team have created
\ No newline at end of file
diff --git a/openapi-raw.yaml b/openapi-raw.yaml
index b5f3915fb..a0d21f20e 100644
--- a/openapi-raw.yaml
+++ b/openapi-raw.yaml
@@ -1403,6 +1403,803 @@ paths:
seo:
title: '_t__EmbeddedSignUrl::SEO::TITLE'
description: '_t__EmbeddedSignUrl::SEO::DESCRIPTION'
+ /fax_line/add_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineAddUser::SUMMARY'
+ description: '_t__FaxLineAddUser::DESCRIPTION'
+ operationId: faxLineAddUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAddUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAddUserRequestExample'
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAddUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAddUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAddUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAddUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAddUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAddUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAddUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAddUser.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineAddUser::SEO::TITLE'
+ description: '_t__FaxLineAddUser::SEO::DESCRIPTION'
+ /fax_line/area_codes:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineAreaCodeGet::SUMMARY'
+ description: '_t__FaxLineAreaCodeGet::DESCRIPTION'
+ operationId: faxLineAreaCodeGet
+ parameters:
+ -
+ name: country
+ in: query
+ description: '_t__FaxLineAreaCodeGet::COUNTRY'
+ required: true
+ schema:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ -
+ name: state
+ in: query
+ description: '_t__FaxLineAreaCodeGet::STATE'
+ schema:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ -
+ name: province
+ in: query
+ description: '_t__FaxLineAreaCodeGet::PROVINCE'
+ schema:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ -
+ name: city
+ in: query
+ description: '_t__FaxLineAreaCodeGet::CITY'
+ schema:
+ type: string
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAreaCodeGetResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAreaCodeGetResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAreaCodeGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAreaCodeGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAreaCodeGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAreaCodeGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAreaCodeGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAreaCodeGet.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineAreaCodeGet::SEO::TITLE'
+ description: '_t__FaxLineAreaCodeGet::SEO::DESCRIPTION'
+ /fax_line/create:
+ post:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineCreate::SUMMARY'
+ description: '_t__FaxLineCreate::DESCRIPTION'
+ operationId: faxLineCreate
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineCreateRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineCreateRequestExample'
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineCreate.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineCreate.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineCreate.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineCreate.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineCreate.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineCreate.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineCreate.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineCreate.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineCreate::SEO::TITLE'
+ description: '_t__FaxLineCreate::SEO::DESCRIPTION'
+ /fax_line:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineGet::SUMMARY'
+ description: '_t__FaxLineGet::DESCRIPTION'
+ operationId: faxLineGet
+ parameters:
+ -
+ name: number
+ in: query
+ description: '_t__FaxLineGet::NUMBER'
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineGet.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineGet::SEO::TITLE'
+ description: '_t__FaxLineGet::SEO::DESCRIPTION'
+ delete:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineDelete::SUMMARY'
+ description: '_t__FaxLineDelete::DESCRIPTION'
+ operationId: faxLineDelete
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineDeleteRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineDeleteRequestExample'
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json: { }
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineDelete.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineDelete.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineDelete.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineDelete.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineDelete.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineDelete.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineDelete.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineDelete.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineDelete::SEO::TITLE'
+ description: '_t__FaxLineDelete::SEO::DESCRIPTION'
+ /fax_line/list:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineList::SUMMARY'
+ description: '_t__FaxLineList::DESCRIPTION'
+ operationId: faxLineList
+ parameters:
+ -
+ name: account_id
+ in: query
+ description: '_t__FaxLineList::ACCOUNT_ID'
+ schema:
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ -
+ name: page
+ in: query
+ description: '_t__FaxLineList::PAGE'
+ schema:
+ type: integer
+ default: 1
+ example: 1
+ -
+ name: page_size
+ in: query
+ description: '_t__FaxLineList::PAGE_SIZE'
+ schema:
+ type: integer
+ default: 20
+ example: 20
+ -
+ name: show_team_lines
+ in: query
+ description: '_t__FaxLineList::SHOW_TEAM_LINES'
+ schema:
+ type: boolean
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineListResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineListResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineList.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineList.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineList.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineList.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineList.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineList.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineList.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineList.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineList::SEO::TITLE'
+ description: '_t__FaxLineList::SEO::DESCRIPTION'
+ /fax_line/remove_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: '_t__FaxLineRemoveUser::SUMMARY'
+ description: '_t__FaxLineRemoveUser::DESCRIPTION'
+ operationId: faxLineRemoveUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineRemoveUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineRemoveUserRequestExample'
+ responses:
+ '200':
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineRemoveUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineRemoveUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineRemoveUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineRemoveUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineRemoveUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineRemoveUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineRemoveUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineRemoveUser.sh
+ x-meta:
+ seo:
+ title: '_t__FaxLineRemoveUser::SEO::TITLE'
+ description: '_t__FaxLineRemoveUser::SEO::DESCRIPTION'
/oauth/token:
post:
tags:
@@ -6315,6 +7112,145 @@ components:
type: boolean
default: false
type: object
+ FaxLineAddUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: '_t__FaxLineAddUser::NUMBER'
+ type: string
+ account_id:
+ description: '_t__FaxLineAddUser::ACCOUNT_ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: '_t__FaxLineAddUser::EMAIL_ADDRESS'
+ type: string
+ format: email
+ type: object
+ FaxLineAreaCodeGetStateEnum:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ FaxLineAreaCodeGetProvinceEnum:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ FaxLineAreaCodeGetCountryEnum:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ FaxLineCreateRequest:
+ required:
+ - area_code
+ - country
+ properties:
+ area_code:
+ description: '_t__FaxLineCreate::AREA_CODE'
+ type: integer
+ country:
+ description: '_t__FaxLineCreate::COUNTRY'
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ city:
+ description: '_t__FaxLineCreate::CITY'
+ type: string
+ account_id:
+ description: '_t__FaxLineCreate::ACCOUNT_ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ type: object
+ FaxLineDeleteRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: '_t__FaxLineDelete::NUMBER'
+ type: string
+ type: object
+ FaxLineRemoveUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: '_t__FaxLineRemoveUser::NUMBER'
+ type: string
+ account_id:
+ description: '_t__FaxLineRemoveUser::ACCOUNT_ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: '_t__FaxLineRemoveUser::EMAIL_ADDRESS'
+ type: string
+ format: email
+ type: object
OAuthTokenGenerateRequest:
required:
- client_id
@@ -8510,6 +9446,8 @@ components:
default: false
type: object
AccountCreateResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -8523,6 +9461,8 @@ components:
type: object
x-internal-class: true
AccountGetResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -8545,6 +9485,8 @@ components:
type: object
x-internal-class: true
ApiAppGetResponse:
+ required:
+ - api_app
properties:
api_app:
$ref: '#/components/schemas/ApiAppResponse'
@@ -8556,6 +9498,9 @@ components:
type: object
x-internal-class: true
ApiAppListResponse:
+ required:
+ - api_apps
+ - list_info
properties:
api_apps:
description: '_t__ApiAppListResponse::DESCRIPTION'
@@ -8572,6 +9517,10 @@ components:
type: object
x-internal-class: true
BulkSendJobGetResponse:
+ required:
+ - bulk_send_job
+ - list_info
+ - signature_requests
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -8590,6 +9539,9 @@ components:
type: object
x-internal-class: true
BulkSendJobListResponse:
+ required:
+ - bulk_send_jobs
+ - list_info
properties:
bulk_send_jobs:
description: '_t__BulkSendJobListResponse::BULK_SEND_JOBS'
@@ -8606,6 +9558,8 @@ components:
type: object
x-internal-class: true
BulkSendJobSendResponse:
+ required:
+ - bulk_send_job
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -8617,6 +9571,8 @@ components:
type: object
x-internal-class: true
EmbeddedEditUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedEditUrlResponseEmbedded'
@@ -8628,6 +9584,8 @@ components:
type: object
x-internal-class: true
EmbeddedSignUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedSignUrlResponseEmbedded'
@@ -8645,7 +9603,45 @@ components:
error:
$ref: '#/components/schemas/ErrorResponseError'
type: object
+ FaxLineResponse:
+ required:
+ - fax_line
+ properties:
+ fax_line:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
+ FaxLineAreaCodeGetResponse:
+ required:
+ - area_codes
+ properties:
+ area_codes:
+ type: array
+ items:
+ type: integer
+ type: object
+ x-internal-class: true
+ FaxLineListResponse:
+ required:
+ - fax_lines
+ - list_info
+ properties:
+ list_info:
+ $ref: '#/components/schemas/ListInfoResponse'
+ fax_lines:
+ type: array
+ items:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
FileResponse:
+ required:
+ - file_url
+ - expires_at
properties:
file_url:
description: '_t__FileResponse::FILE_URL'
@@ -8656,6 +9652,8 @@ components:
type: object
x-internal-class: true
FileResponseDataUri:
+ required:
+ - data_uri
properties:
data_uri:
description: '_t__FileResponse::DATA_URI'
@@ -8663,6 +9661,8 @@ components:
type: object
x-internal-class: true
ReportCreateResponse:
+ required:
+ - report
properties:
report:
$ref: '#/components/schemas/ReportResponse'
@@ -8674,6 +9674,8 @@ components:
type: object
x-internal-class: true
SignatureRequestGetResponse:
+ required:
+ - signature_request
properties:
signature_request:
$ref: '#/components/schemas/SignatureRequestResponse'
@@ -8685,6 +9687,9 @@ components:
type: object
x-internal-class: true
SignatureRequestListResponse:
+ required:
+ - signature_requests
+ - list_info
properties:
signature_requests:
description: '_t__SignatureRequestListResponse::DESCRIPTION'
@@ -8976,6 +9981,23 @@ components:
description: '_t__ErrorResponseError::ERROR_NAME'
type: string
type: object
+ FaxLineResponseFaxLine:
+ properties:
+ number:
+ description: '_t__FaxLineResponseFaxLine::NUMBER'
+ type: string
+ created_at:
+ description: '_t__FaxLineResponseFaxLine::CREATED_AT'
+ type: integer
+ updated_at:
+ description: '_t__FaxLineResponseFaxLine::UPDATED_AT'
+ type: integer
+ accounts:
+ type: array
+ items:
+ $ref: '#/components/schemas/AccountResponse'
+ type: object
+ x-internal-class: true
ListInfoResponse:
description: '_t__ListInfoResponse::DESCRIPTION'
properties:
@@ -9133,6 +10155,7 @@ components:
signer:
description: '_t__SignatureRequestResponseAttachment::SIGNER'
type: string
+ x-int-or-string: true
name:
description: '_t__SignatureRequestResponseAttachment::NAME'
type: string
@@ -9755,6 +10778,7 @@ components:
description: '_t__TemplateResponseDocumentCustomField::SIGNER'
type: string
nullable: true
+ x-int-or-string: true
x:
description: '_t__TemplateResponseDocumentCustomField::X'
type: integer
@@ -9857,6 +10881,7 @@ components:
signer:
description: '_t__TemplateResponseDocumentFormField::SIGNER'
type: string
+ x-int-or-string: true
x:
description: '_t__TemplateResponseDocumentFormField::X'
type: integer
@@ -10308,6 +11333,8 @@ components:
type: string
type: object
TeamGetResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamResponse'
@@ -10319,6 +11346,8 @@ components:
type: object
x-internal-class: true
TeamGetInfoResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamInfoResponse'
@@ -10330,6 +11359,8 @@ components:
type: object
x-internal-class: true
TeamInvitesResponse:
+ required:
+ - team_invites
properties:
team_invites:
description: '_t__TeamInvitesResponse::DESCRIPTION'
@@ -10343,6 +11374,9 @@ components:
type: object
x-internal-class: true
TeamMembersResponse:
+ required:
+ - team_members
+ - list_info
properties:
team_members:
description: '_t__TeamMembersResponse::DESCRIPTION'
@@ -10358,6 +11392,9 @@ components:
type: object
x-internal-class: true
TeamSubTeamsResponse:
+ required:
+ - sub_teams
+ - list_info
properties:
sub_teams:
description: '_t__SubTeamResponse::DESCRIPTION'
@@ -10373,6 +11410,8 @@ components:
type: object
x-internal-class: true
TemplateCreateResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateResponseTemplate'
@@ -10384,6 +11423,8 @@ components:
type: object
x-internal-class: true
TemplateCreateEmbeddedDraftResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateEmbeddedDraftResponseTemplate'
@@ -10395,12 +11436,16 @@ components:
type: object
x-internal-class: true
TemplateEditResponse:
+ required:
+ - template_id
properties:
template_id:
description: '_t__TemplateResponse::TEMPLATE_ID'
type: string
type: object
TemplateGetResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateResponse'
@@ -10412,6 +11457,9 @@ components:
type: object
x-internal-class: true
TemplateListResponse:
+ required:
+ - templates
+ - list_info
properties:
templates:
description: '_t__TemplateListResponse::DESCRIPTION'
@@ -10428,12 +11476,16 @@ components:
type: object
x-internal-class: true
TemplateUpdateFilesResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateUpdateFilesResponseTemplate'
type: object
x-internal-class: true
UnclaimedDraftCreateResponse:
+ required:
+ - unclaimed_draft
properties:
unclaimed_draft:
$ref: '#/components/schemas/UnclaimedDraftResponse'
@@ -10558,6 +11610,22 @@ components:
summary: 'Default Example'
value:
$ref: examples/json/EmbeddedEditUrlRequestDefaultExample.json
+ FaxLineAddUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineAddUserRequestExample.json
+ FaxLineCreateRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineCreateRequestExample.json
+ FaxLineDeleteRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineDeleteRequestExample.json
+ FaxLineRemoveUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineRemoveUserRequestExample.json
OAuthTokenGenerateRequestExample:
summary: 'OAuth Token Generate Example'
value:
@@ -10802,6 +11870,18 @@ components:
summary: '_t__Error::4XX'
value:
$ref: examples/json/Error4XXResponseExample.json
+ FaxLineResponseExample:
+ summary: '_t__FaxLineResponseExample::SUMMARY'
+ value:
+ $ref: examples/json/FaxLineResponseExample.json
+ FaxLineAreaCodeGetResponseExample:
+ summary: '_t__FaxLineAreaCodeGetResponseExample::SUMMARY'
+ value:
+ $ref: examples/json/FaxLineAreaCodeGetResponseExample.json
+ FaxLineListResponseExample:
+ summary: '_t__FaxLineListResponseExample::SUMMARY'
+ value:
+ $ref: examples/json/FaxLineListResponseExample.json
ReportCreateResponseExample:
summary: '_t__ReportCreateResponseExample::SUMMARY'
value:
@@ -11081,6 +12161,9 @@ tags:
-
name: 'Callbacks and Events'
description: '_md__OpenApi::TAG::CALLBACKS_AND_EVENTS::DESCRIPTION'
+ -
+ name: 'Fax Line'
+ description: '_md__OpenApi::TAG::TAG_FAX_LINE::DESCRIPTION'
externalDocs:
description: 'Legacy API Reference'
url: 'https://app.hellosign.com/api/reference'
diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml
index 9bf5a68ea..c7189fd24 100644
--- a/openapi-sdk.yaml
+++ b/openapi-sdk.yaml
@@ -1409,6 +1409,803 @@ paths:
seo:
title: 'Get Embedded Sign URL | iFrame | Dropbox Sign for Developers'
description: 'The Dropbox Sign API allows you to build custom integrations. To find out how to retrieve an embedded iFrame object containing a signature url, click here.'
+ /fax_line/add_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: 'Add Fax Line User'
+ description: 'Grants a user access to the specified Fax Line.'
+ operationId: faxLineAddUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAddUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAddUserRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAddUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAddUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAddUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAddUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAddUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAddUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAddUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAddUser.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Add User | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to add a user to an existing fax line, click here.'
+ /fax_line/area_codes:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'Get Available Fax Line Area Codes'
+ description: 'Returns a response with the area codes available for a given state/provice and city.'
+ operationId: faxLineAreaCodeGet
+ parameters:
+ -
+ name: country
+ in: query
+ description: 'Filter area codes by country.'
+ required: true
+ schema:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ -
+ name: state
+ in: query
+ description: 'Filter area codes by state.'
+ schema:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ -
+ name: province
+ in: query
+ description: 'Filter area codes by province.'
+ schema:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ -
+ name: city
+ in: query
+ description: 'Filter area codes by city.'
+ schema:
+ type: string
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAreaCodeGetResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAreaCodeGetResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAreaCodeGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAreaCodeGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAreaCodeGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAreaCodeGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAreaCodeGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAreaCodeGet.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Get Area Codes | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to purchase a new fax line, click here.'
+ /fax_line/create:
+ post:
+ tags:
+ - 'Fax Line'
+ summary: 'Purchase Fax Line'
+ description: 'Purchases a new Fax Line.'
+ operationId: faxLineCreate
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineCreateRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineCreateRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineCreate.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineCreate.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineCreate.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineCreate.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineCreate.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineCreate.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineCreate.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineCreate.sh
+ x-meta:
+ seo:
+ title: 'Purchase Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to purchase a new fax line, click here.'
+ /fax_line:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'Get Fax Line'
+ description: 'Returns the properties and settings of a Fax Line.'
+ operationId: faxLineGet
+ parameters:
+ -
+ name: number
+ in: query
+ description: 'The Fax Line number.'
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineGet.sh
+ x-meta:
+ seo:
+ title: 'Get Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to retrieve a fax line, click here.'
+ delete:
+ tags:
+ - 'Fax Line'
+ summary: 'Delete Fax Line'
+ description: 'Deletes the specified Fax Line from the subscription.'
+ operationId: faxLineDelete
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineDeleteRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineDeleteRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json: {}
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineDelete.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineDelete.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineDelete.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineDelete.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineDelete.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineDelete.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineDelete.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineDelete.sh
+ x-meta:
+ seo:
+ title: 'Delete Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to delete a fax line, click here.'
+ /fax_line/list:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'List Fax Lines'
+ description: 'Returns the properties and settings of multiple Fax Lines.'
+ operationId: faxLineList
+ parameters:
+ -
+ name: account_id
+ in: query
+ description: 'Account ID'
+ schema:
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ -
+ name: page
+ in: query
+ description: Page
+ schema:
+ type: integer
+ default: 1
+ example: 1
+ -
+ name: page_size
+ in: query
+ description: 'Page size'
+ schema:
+ type: integer
+ default: 20
+ example: 20
+ -
+ name: show_team_lines
+ in: query
+ description: 'Show team lines'
+ schema:
+ type: boolean
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineListResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineListResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineList.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineList.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineList.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineList.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineList.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineList.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineList.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineList.sh
+ x-meta:
+ seo:
+ title: 'List Fax Lines | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to list your fax lines, click here.'
+ /fax_line/remove_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: 'Remove Fax Line Access'
+ description: 'Removes a user''s access to the specified Fax Line.'
+ operationId: faxLineRemoveUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineRemoveUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineRemoveUserRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineRemoveUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineRemoveUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineRemoveUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineRemoveUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineRemoveUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineRemoveUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineRemoveUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineRemoveUser.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Remove User | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to remove a user from an existing fax line, click here.'
/oauth/token:
post:
tags:
@@ -6409,6 +7206,145 @@ components:
type: boolean
default: false
type: object
+ FaxLineAddUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: 'Email address'
+ type: string
+ format: email
+ type: object
+ FaxLineAreaCodeGetStateEnum:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ FaxLineAreaCodeGetProvinceEnum:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ FaxLineAreaCodeGetCountryEnum:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ FaxLineCreateRequest:
+ required:
+ - area_code
+ - country
+ properties:
+ area_code:
+ description: 'Area code'
+ type: integer
+ country:
+ description: Country
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ city:
+ description: City
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ type: object
+ FaxLineDeleteRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ type: object
+ FaxLineRemoveUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: 'Email address'
+ type: string
+ format: email
+ type: object
OAuthTokenGenerateRequest:
required:
- client_id
@@ -9118,6 +10054,8 @@ components:
default: false
type: object
AccountCreateResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -9131,6 +10069,8 @@ components:
type: object
x-internal-class: true
AccountGetResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -9153,6 +10093,8 @@ components:
type: object
x-internal-class: true
ApiAppGetResponse:
+ required:
+ - api_app
properties:
api_app:
$ref: '#/components/schemas/ApiAppResponse'
@@ -9164,6 +10106,9 @@ components:
type: object
x-internal-class: true
ApiAppListResponse:
+ required:
+ - api_apps
+ - list_info
properties:
api_apps:
description: 'Contains information about API Apps.'
@@ -9180,6 +10125,10 @@ components:
type: object
x-internal-class: true
BulkSendJobGetResponse:
+ required:
+ - bulk_send_job
+ - list_info
+ - signature_requests
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -9198,6 +10147,9 @@ components:
type: object
x-internal-class: true
BulkSendJobListResponse:
+ required:
+ - bulk_send_jobs
+ - list_info
properties:
bulk_send_jobs:
description: 'Contains a list of BulkSendJobs that the API caller has access to.'
@@ -9214,6 +10166,8 @@ components:
type: object
x-internal-class: true
BulkSendJobSendResponse:
+ required:
+ - bulk_send_job
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -9225,6 +10179,8 @@ components:
type: object
x-internal-class: true
EmbeddedEditUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedEditUrlResponseEmbedded'
@@ -9236,6 +10192,8 @@ components:
type: object
x-internal-class: true
EmbeddedSignUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedSignUrlResponseEmbedded'
@@ -9253,7 +10211,45 @@ components:
error:
$ref: '#/components/schemas/ErrorResponseError'
type: object
+ FaxLineResponse:
+ required:
+ - fax_line
+ properties:
+ fax_line:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
+ FaxLineAreaCodeGetResponse:
+ required:
+ - area_codes
+ properties:
+ area_codes:
+ type: array
+ items:
+ type: integer
+ type: object
+ x-internal-class: true
+ FaxLineListResponse:
+ required:
+ - fax_lines
+ - list_info
+ properties:
+ list_info:
+ $ref: '#/components/schemas/ListInfoResponse'
+ fax_lines:
+ type: array
+ items:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
FileResponse:
+ required:
+ - file_url
+ - expires_at
properties:
file_url:
description: 'URL to the file.'
@@ -9264,6 +10260,8 @@ components:
type: object
x-internal-class: true
FileResponseDataUri:
+ required:
+ - data_uri
properties:
data_uri:
description: 'File as base64 encoded string.'
@@ -9271,6 +10269,8 @@ components:
type: object
x-internal-class: true
ReportCreateResponse:
+ required:
+ - report
properties:
report:
$ref: '#/components/schemas/ReportResponse'
@@ -9282,6 +10282,8 @@ components:
type: object
x-internal-class: true
SignatureRequestGetResponse:
+ required:
+ - signature_request
properties:
signature_request:
$ref: '#/components/schemas/SignatureRequestResponse'
@@ -9293,6 +10295,9 @@ components:
type: object
x-internal-class: true
SignatureRequestListResponse:
+ required:
+ - signature_requests
+ - list_info
properties:
signature_requests:
description: 'Contains information about signature requests.'
@@ -9584,6 +10589,23 @@ components:
description: 'Name of the error.'
type: string
type: object
+ FaxLineResponseFaxLine:
+ properties:
+ number:
+ description: Number
+ type: string
+ created_at:
+ description: 'Created at'
+ type: integer
+ updated_at:
+ description: 'Updated at'
+ type: integer
+ accounts:
+ type: array
+ items:
+ $ref: '#/components/schemas/AccountResponse'
+ type: object
+ x-internal-class: true
ListInfoResponse:
description: 'Contains pagination information about the data returned.'
properties:
@@ -9745,6 +10767,7 @@ components:
signer:
description: 'The Signer this attachment is assigned to.'
type: string
+ x-int-or-string: true
name:
description: 'The name of this attachment.'
type: string
@@ -10374,6 +11397,7 @@ components:
description: 'The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).'
type: string
nullable: true
+ x-int-or-string: true
x:
description: 'The horizontal offset in pixels for this form field.'
type: integer
@@ -10489,6 +11513,7 @@ components:
signer:
description: 'The signer of the Form Field.'
type: string
+ x-int-or-string: true
x:
description: 'The horizontal offset in pixels for this form field.'
type: integer
@@ -11100,6 +12125,8 @@ components:
type: string
type: object
TeamGetResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamResponse'
@@ -11111,6 +12138,8 @@ components:
type: object
x-internal-class: true
TeamGetInfoResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamInfoResponse'
@@ -11122,6 +12151,8 @@ components:
type: object
x-internal-class: true
TeamInvitesResponse:
+ required:
+ - team_invites
properties:
team_invites:
description: 'Contains a list of team invites and their roles.'
@@ -11135,6 +12166,9 @@ components:
type: object
x-internal-class: true
TeamMembersResponse:
+ required:
+ - team_members
+ - list_info
properties:
team_members:
description: 'Contains a list of team members and their roles for a specific team.'
@@ -11150,6 +12184,9 @@ components:
type: object
x-internal-class: true
TeamSubTeamsResponse:
+ required:
+ - sub_teams
+ - list_info
properties:
sub_teams:
description: 'Contains a list with sub teams.'
@@ -11165,6 +12202,8 @@ components:
type: object
x-internal-class: true
TemplateCreateResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateResponseTemplate'
@@ -11176,6 +12215,8 @@ components:
type: object
x-internal-class: true
TemplateCreateEmbeddedDraftResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateEmbeddedDraftResponseTemplate'
@@ -11187,12 +12228,16 @@ components:
type: object
x-internal-class: true
TemplateEditResponse:
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
type: string
type: object
TemplateGetResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateResponse'
@@ -11204,6 +12249,9 @@ components:
type: object
x-internal-class: true
TemplateListResponse:
+ required:
+ - templates
+ - list_info
properties:
templates:
description: 'List of templates that the API caller has access to.'
@@ -11220,12 +12268,16 @@ components:
type: object
x-internal-class: true
TemplateUpdateFilesResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateUpdateFilesResponseTemplate'
type: object
x-internal-class: true
UnclaimedDraftCreateResponse:
+ required:
+ - unclaimed_draft
properties:
unclaimed_draft:
$ref: '#/components/schemas/UnclaimedDraftResponse'
@@ -11350,6 +12402,22 @@ components:
summary: 'Default Example'
value:
$ref: examples/json/EmbeddedEditUrlRequestDefaultExample.json
+ FaxLineAddUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineAddUserRequestExample.json
+ FaxLineCreateRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineCreateRequestExample.json
+ FaxLineDeleteRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineDeleteRequestExample.json
+ FaxLineRemoveUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineRemoveUserRequestExample.json
OAuthTokenGenerateRequestExample:
summary: 'OAuth Token Generate Example'
value:
@@ -11594,6 +12662,18 @@ components:
summary: 'Error 4XX failed_operation'
value:
$ref: examples/json/Error4XXResponseExample.json
+ FaxLineResponseExample:
+ summary: 'Sample Fax Line Response'
+ value:
+ $ref: examples/json/FaxLineResponseExample.json
+ FaxLineAreaCodeGetResponseExample:
+ summary: 'Sample Area Code Response'
+ value:
+ $ref: examples/json/FaxLineAreaCodeGetResponseExample.json
+ FaxLineListResponseExample:
+ summary: 'Sample Fax Line List Response'
+ value:
+ $ref: examples/json/FaxLineListResponseExample.json
ReportCreateResponseExample:
summary: Report
value:
diff --git a/openapi.yaml b/openapi.yaml
index 63b2059ab..304a8d67b 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -1409,6 +1409,803 @@ paths:
seo:
title: 'Get Embedded Sign URL | iFrame | Dropbox Sign for Developers'
description: 'The Dropbox Sign API allows you to build custom integrations. To find out how to retrieve an embedded iFrame object containing a signature url, click here.'
+ /fax_line/add_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: 'Add Fax Line User'
+ description: 'Grants a user access to the specified Fax Line.'
+ operationId: faxLineAddUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAddUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAddUserRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAddUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAddUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAddUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAddUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAddUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAddUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAddUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAddUser.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Add User | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to add a user to an existing fax line, click here.'
+ /fax_line/area_codes:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'Get Available Fax Line Area Codes'
+ description: 'Returns a response with the area codes available for a given state/provice and city.'
+ operationId: faxLineAreaCodeGet
+ parameters:
+ -
+ name: country
+ in: query
+ description: 'Filter area codes by country.'
+ required: true
+ schema:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ -
+ name: state
+ in: query
+ description: 'Filter area codes by state.'
+ schema:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ -
+ name: province
+ in: query
+ description: 'Filter area codes by province.'
+ schema:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ -
+ name: city
+ in: query
+ description: 'Filter area codes by city.'
+ schema:
+ type: string
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineAreaCodeGetResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineAreaCodeGetResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineAreaCodeGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineAreaCodeGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineAreaCodeGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineAreaCodeGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineAreaCodeGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineAreaCodeGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineAreaCodeGet.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Get Area Codes | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to purchase a new fax line, click here.'
+ /fax_line/create:
+ post:
+ tags:
+ - 'Fax Line'
+ summary: 'Purchase Fax Line'
+ description: 'Purchases a new Fax Line.'
+ operationId: faxLineCreate
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineCreateRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineCreateRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineCreate.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineCreate.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineCreate.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineCreate.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineCreate.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineCreate.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineCreate.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineCreate.sh
+ x-meta:
+ seo:
+ title: 'Purchase Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to purchase a new fax line, click here.'
+ /fax_line:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'Get Fax Line'
+ description: 'Returns the properties and settings of a Fax Line.'
+ operationId: faxLineGet
+ parameters:
+ -
+ name: number
+ in: query
+ description: 'The Fax Line number.'
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineGet.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineGet.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineGet.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineGet.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineGet.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineGet.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineGet.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineGet.sh
+ x-meta:
+ seo:
+ title: 'Get Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to retrieve a fax line, click here.'
+ delete:
+ tags:
+ - 'Fax Line'
+ summary: 'Delete Fax Line'
+ description: 'Deletes the specified Fax Line from the subscription.'
+ operationId: faxLineDelete
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineDeleteRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineDeleteRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json: {}
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineDelete.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineDelete.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineDelete.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineDelete.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineDelete.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineDelete.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineDelete.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineDelete.sh
+ x-meta:
+ seo:
+ title: 'Delete Fax Line | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to delete a fax line, click here.'
+ /fax_line/list:
+ get:
+ tags:
+ - 'Fax Line'
+ summary: 'List Fax Lines'
+ description: 'Returns the properties and settings of multiple Fax Lines.'
+ operationId: faxLineList
+ parameters:
+ -
+ name: account_id
+ in: query
+ description: 'Account ID'
+ schema:
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ -
+ name: page
+ in: query
+ description: Page
+ schema:
+ type: integer
+ default: 1
+ example: 1
+ -
+ name: page_size
+ in: query
+ description: 'Page size'
+ schema:
+ type: integer
+ default: 20
+ example: 20
+ -
+ name: show_team_lines
+ in: query
+ description: 'Show team lines'
+ schema:
+ type: boolean
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineListResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineListResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineList.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineList.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineList.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineList.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineList.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineList.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineList.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineList.sh
+ x-meta:
+ seo:
+ title: 'List Fax Lines | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to list your fax lines, click here.'
+ /fax_line/remove_user:
+ put:
+ tags:
+ - 'Fax Line'
+ summary: 'Remove Fax Line Access'
+ description: 'Removes a user''s access to the specified Fax Line.'
+ operationId: faxLineRemoveUser
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineRemoveUserRequest'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineRemoveUserRequestExample'
+ responses:
+ 200:
+ description: 'successful operation'
+ headers:
+ X-RateLimit-Limit:
+ $ref: '#/components/headers/X-RateLimit-Limit'
+ X-RateLimit-Remaining:
+ $ref: '#/components/headers/X-RateLimit-Remaining'
+ X-Ratelimit-Reset:
+ $ref: '#/components/headers/X-Ratelimit-Reset'
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FaxLineResponse'
+ examples:
+ default_example:
+ $ref: '#/components/examples/FaxLineResponseExample'
+ 4XX:
+ description: failed_operation
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ examples:
+ 400_example:
+ $ref: '#/components/examples/Error400ResponseExample'
+ 401_example:
+ $ref: '#/components/examples/Error401ResponseExample'
+ 402_example:
+ $ref: '#/components/examples/Error402ResponseExample'
+ 403_example:
+ $ref: '#/components/examples/Error403ResponseExample'
+ 404_example:
+ $ref: '#/components/examples/Error404ResponseExample'
+ 4XX_example:
+ $ref: '#/components/examples/Error4XXResponseExample'
+ security:
+ -
+ api_key: []
+ x-codeSamples:
+ -
+ lang: PHP
+ label: PHP
+ source:
+ $ref: examples/FaxLineRemoveUser.php
+ -
+ lang: 'C#'
+ label: 'C#'
+ source:
+ $ref: examples/FaxLineRemoveUser.cs
+ -
+ lang: JavaScript
+ label: JavaScript
+ source:
+ $ref: examples/FaxLineRemoveUser.js
+ -
+ lang: TypeScript
+ label: TypeScript
+ source:
+ $ref: examples/FaxLineRemoveUser.ts
+ -
+ lang: Java
+ label: Java
+ source:
+ $ref: examples/FaxLineRemoveUser.java
+ -
+ lang: Ruby
+ label: Ruby
+ source:
+ $ref: examples/FaxLineRemoveUser.rb
+ -
+ lang: Python
+ label: Python
+ source:
+ $ref: examples/FaxLineRemoveUser.py
+ -
+ lang: cURL
+ label: cURL
+ source:
+ $ref: examples/FaxLineRemoveUser.sh
+ x-meta:
+ seo:
+ title: 'Fax Line Remove User | API Documentation | Dropbox Fax for Developers'
+ description: 'The Dropbox Fax API allows you to build custom integrations. To find out how to remove a user from an existing fax line, click here.'
/oauth/token:
post:
tags:
@@ -6409,6 +7206,145 @@ components:
type: boolean
default: false
type: object
+ FaxLineAddUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: 'Email address'
+ type: string
+ format: email
+ type: object
+ FaxLineAreaCodeGetStateEnum:
+ type: string
+ enum:
+ - AK
+ - AL
+ - AR
+ - AZ
+ - CA
+ - CO
+ - CT
+ - DC
+ - DE
+ - FL
+ - GA
+ - HI
+ - IA
+ - ID
+ - IL
+ - IN
+ - KS
+ - KY
+ - LA
+ - MA
+ - MD
+ - ME
+ - MI
+ - MN
+ - MO
+ - MS
+ - MT
+ - NC
+ - ND
+ - NE
+ - NH
+ - NJ
+ - NM
+ - NV
+ - NY
+ - OH
+ - OK
+ - OR
+ - PA
+ - RI
+ - SC
+ - SD
+ - TN
+ - TX
+ - UT
+ - VA
+ - VT
+ - WA
+ - WI
+ - WV
+ - WY
+ FaxLineAreaCodeGetProvinceEnum:
+ type: string
+ enum:
+ - AB
+ - BC
+ - MB
+ - NB
+ - NL
+ - NT
+ - NS
+ - NU
+ - 'ON'
+ - PE
+ - QC
+ - SK
+ - YT
+ FaxLineAreaCodeGetCountryEnum:
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ FaxLineCreateRequest:
+ required:
+ - area_code
+ - country
+ properties:
+ area_code:
+ description: 'Area code'
+ type: integer
+ country:
+ description: Country
+ type: string
+ enum:
+ - CA
+ - US
+ - UK
+ city:
+ description: City
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ type: object
+ FaxLineDeleteRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ type: object
+ FaxLineRemoveUserRequest:
+ required:
+ - number
+ properties:
+ number:
+ description: 'The Fax Line number.'
+ type: string
+ account_id:
+ description: 'Account ID'
+ type: string
+ example: ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97
+ email_address:
+ description: 'Email address'
+ type: string
+ format: email
+ type: object
OAuthTokenGenerateRequest:
required:
- client_id
@@ -9096,6 +10032,8 @@ components:
default: false
type: object
AccountCreateResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -9109,6 +10047,8 @@ components:
type: object
x-internal-class: true
AccountGetResponse:
+ required:
+ - account
properties:
account:
$ref: '#/components/schemas/AccountResponse'
@@ -9131,6 +10071,8 @@ components:
type: object
x-internal-class: true
ApiAppGetResponse:
+ required:
+ - api_app
properties:
api_app:
$ref: '#/components/schemas/ApiAppResponse'
@@ -9142,6 +10084,9 @@ components:
type: object
x-internal-class: true
ApiAppListResponse:
+ required:
+ - api_apps
+ - list_info
properties:
api_apps:
description: 'Contains information about API Apps.'
@@ -9158,6 +10103,10 @@ components:
type: object
x-internal-class: true
BulkSendJobGetResponse:
+ required:
+ - bulk_send_job
+ - list_info
+ - signature_requests
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -9176,6 +10125,9 @@ components:
type: object
x-internal-class: true
BulkSendJobListResponse:
+ required:
+ - bulk_send_jobs
+ - list_info
properties:
bulk_send_jobs:
description: 'Contains a list of BulkSendJobs that the API caller has access to.'
@@ -9192,6 +10144,8 @@ components:
type: object
x-internal-class: true
BulkSendJobSendResponse:
+ required:
+ - bulk_send_job
properties:
bulk_send_job:
$ref: '#/components/schemas/BulkSendJobResponse'
@@ -9203,6 +10157,8 @@ components:
type: object
x-internal-class: true
EmbeddedEditUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedEditUrlResponseEmbedded'
@@ -9214,6 +10170,8 @@ components:
type: object
x-internal-class: true
EmbeddedSignUrlResponse:
+ required:
+ - embedded
properties:
embedded:
$ref: '#/components/schemas/EmbeddedSignUrlResponseEmbedded'
@@ -9231,7 +10189,45 @@ components:
error:
$ref: '#/components/schemas/ErrorResponseError'
type: object
+ FaxLineResponse:
+ required:
+ - fax_line
+ properties:
+ fax_line:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
+ FaxLineAreaCodeGetResponse:
+ required:
+ - area_codes
+ properties:
+ area_codes:
+ type: array
+ items:
+ type: integer
+ type: object
+ x-internal-class: true
+ FaxLineListResponse:
+ required:
+ - fax_lines
+ - list_info
+ properties:
+ list_info:
+ $ref: '#/components/schemas/ListInfoResponse'
+ fax_lines:
+ type: array
+ items:
+ $ref: '#/components/schemas/FaxLineResponseFaxLine'
+ warnings:
+ $ref: '#/components/schemas/WarningResponse'
+ type: object
+ x-internal-class: true
FileResponse:
+ required:
+ - file_url
+ - expires_at
properties:
file_url:
description: 'URL to the file.'
@@ -9242,6 +10238,8 @@ components:
type: object
x-internal-class: true
FileResponseDataUri:
+ required:
+ - data_uri
properties:
data_uri:
description: 'File as base64 encoded string.'
@@ -9249,6 +10247,8 @@ components:
type: object
x-internal-class: true
ReportCreateResponse:
+ required:
+ - report
properties:
report:
$ref: '#/components/schemas/ReportResponse'
@@ -9260,6 +10260,8 @@ components:
type: object
x-internal-class: true
SignatureRequestGetResponse:
+ required:
+ - signature_request
properties:
signature_request:
$ref: '#/components/schemas/SignatureRequestResponse'
@@ -9271,6 +10273,9 @@ components:
type: object
x-internal-class: true
SignatureRequestListResponse:
+ required:
+ - signature_requests
+ - list_info
properties:
signature_requests:
description: 'Contains information about signature requests.'
@@ -9562,6 +10567,23 @@ components:
description: 'Name of the error.'
type: string
type: object
+ FaxLineResponseFaxLine:
+ properties:
+ number:
+ description: Number
+ type: string
+ created_at:
+ description: 'Created at'
+ type: integer
+ updated_at:
+ description: 'Updated at'
+ type: integer
+ accounts:
+ type: array
+ items:
+ $ref: '#/components/schemas/AccountResponse'
+ type: object
+ x-internal-class: true
ListInfoResponse:
description: 'Contains pagination information about the data returned.'
properties:
@@ -9723,6 +10745,7 @@ components:
signer:
description: 'The Signer this attachment is assigned to.'
type: string
+ x-int-or-string: true
name:
description: 'The name of this attachment.'
type: string
@@ -10352,6 +11375,7 @@ components:
description: 'The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).'
type: string
nullable: true
+ x-int-or-string: true
x:
description: 'The horizontal offset in pixels for this form field.'
type: integer
@@ -10467,6 +11491,7 @@ components:
signer:
description: 'The signer of the Form Field.'
type: string
+ x-int-or-string: true
x:
description: 'The horizontal offset in pixels for this form field.'
type: integer
@@ -11078,6 +12103,8 @@ components:
type: string
type: object
TeamGetResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamResponse'
@@ -11089,6 +12116,8 @@ components:
type: object
x-internal-class: true
TeamGetInfoResponse:
+ required:
+ - team
properties:
team:
$ref: '#/components/schemas/TeamInfoResponse'
@@ -11100,6 +12129,8 @@ components:
type: object
x-internal-class: true
TeamInvitesResponse:
+ required:
+ - team_invites
properties:
team_invites:
description: 'Contains a list of team invites and their roles.'
@@ -11113,6 +12144,9 @@ components:
type: object
x-internal-class: true
TeamMembersResponse:
+ required:
+ - team_members
+ - list_info
properties:
team_members:
description: 'Contains a list of team members and their roles for a specific team.'
@@ -11128,6 +12162,9 @@ components:
type: object
x-internal-class: true
TeamSubTeamsResponse:
+ required:
+ - sub_teams
+ - list_info
properties:
sub_teams:
description: 'Contains a list with sub teams.'
@@ -11143,6 +12180,8 @@ components:
type: object
x-internal-class: true
TemplateCreateResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateResponseTemplate'
@@ -11154,6 +12193,8 @@ components:
type: object
x-internal-class: true
TemplateCreateEmbeddedDraftResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateCreateEmbeddedDraftResponseTemplate'
@@ -11165,12 +12206,16 @@ components:
type: object
x-internal-class: true
TemplateEditResponse:
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
type: string
type: object
TemplateGetResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateResponse'
@@ -11182,6 +12227,9 @@ components:
type: object
x-internal-class: true
TemplateListResponse:
+ required:
+ - templates
+ - list_info
properties:
templates:
description: 'List of templates that the API caller has access to.'
@@ -11198,12 +12246,16 @@ components:
type: object
x-internal-class: true
TemplateUpdateFilesResponse:
+ required:
+ - template
properties:
template:
$ref: '#/components/schemas/TemplateUpdateFilesResponseTemplate'
type: object
x-internal-class: true
UnclaimedDraftCreateResponse:
+ required:
+ - unclaimed_draft
properties:
unclaimed_draft:
$ref: '#/components/schemas/UnclaimedDraftResponse'
@@ -11328,6 +12380,22 @@ components:
summary: 'Default Example'
value:
$ref: examples/json/EmbeddedEditUrlRequestDefaultExample.json
+ FaxLineAddUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineAddUserRequestExample.json
+ FaxLineCreateRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineCreateRequestExample.json
+ FaxLineDeleteRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineDeleteRequestExample.json
+ FaxLineRemoveUserRequestExample:
+ summary: 'Default Example'
+ value:
+ $ref: examples/json/FaxLineRemoveUserRequestExample.json
OAuthTokenGenerateRequestExample:
summary: 'OAuth Token Generate Example'
value:
@@ -11572,6 +12640,18 @@ components:
summary: 'Error 4XX failed_operation'
value:
$ref: examples/json/Error4XXResponseExample.json
+ FaxLineResponseExample:
+ summary: 'Sample Fax Line Response'
+ value:
+ $ref: examples/json/FaxLineResponseExample.json
+ FaxLineAreaCodeGetResponseExample:
+ summary: 'Sample Area Code Response'
+ value:
+ $ref: examples/json/FaxLineAreaCodeGetResponseExample.json
+ FaxLineListResponseExample:
+ summary: 'Sample Fax Line List Response'
+ value:
+ $ref: examples/json/FaxLineListResponseExample.json
ReportCreateResponseExample:
summary: Report
value:
@@ -11870,6 +12950,10 @@ tags:
name: 'Callbacks and Events'
description:
$ref: ./markdown/en/tags/callbacks-tag-description.md
+ -
+ name: 'Fax Line'
+ description:
+ $ref: ./markdown/en/tags/fax-lines-tag-description.md
externalDocs:
description: 'Legacy API Reference'
url: 'https://app.hellosign.com/api/reference'
diff --git a/sandbox/.gitignore b/sandbox/.gitignore
index 610051b88..36ef23211 100644
--- a/sandbox/.gitignore
+++ b/sandbox/.gitignore
@@ -3,33 +3,43 @@ dotnet/*
!dotnet/hellosign_sandbox.csproj
!dotnet/NuGet.Config
!dotnet/Program.cs
+!dotnet/src
+!dotnet/test_fixtures
java-v1/*
!java-v1/pom.xml
!java-v1/src
java-v1/src/main/java/com/dropbox/sign_sandbox/*
!java-v1/src/main/java/com/dropbox/sign_sandbox/Main.java
+!java-v1/test_fixtures
java-v2/*
!java-v2/pom.xml
!java-v2/src
java-v2/src/main/java/com/dropbox/sign_sandbox/*
!java-v2/src/main/java/com/dropbox/sign_sandbox/Main.java
+!java-v2/test_fixtures
node/*
!node/Example.ts
!node/package.json
+!node/tests
+!node/test_fixtures
php/*
-!php/Example.php
!php/composer.json
+!php/Example.php
+!php/test
+!php/test_fixtures
python/*
!python/Example.py
!python/requirements.txt
+!python/tests
+!python/test_fixtures
ruby/*
!ruby/Example.rb
!ruby/Gemfile
-
-!**/pdf-sample.pdf
+!ruby/spec
+!ruby/test_fixtures
diff --git a/sandbox/dotnet/Program.cs b/sandbox/dotnet/Program.cs
deleted file mode 100644
index 8e4258739..000000000
--- a/sandbox/dotnet/Program.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-
-using Dropbox.Sign.Api;
-using Dropbox.Sign.Client;
-using Dropbox.Sign.Model;
-
-public class Example
-{
- public static void Main()
- {
- var config = new Configuration();
- // Configure HTTP basic authorization: api_key
- config.Username = "YOUR_API_KEY";
-
- // or, configure Bearer (JWT) authorization: oauth2
- // config.AccessToken = "YOUR_BEARER_TOKEN";
-
- var apiInstance = new AccountApi(config);
-
- var data = new AccountCreateRequest(
- emailAddress: "newuser@dropboxsign.com"
- );
-
- try
- {
- var result = apiInstance.AccountCreate(data);
- Console.WriteLine(result);
- }
- catch (ApiException e)
- {
- Console.WriteLine("Exception when calling Dropbox Sign API: " + e.Message);
- Console.WriteLine("Status Code: " + e.ErrorCode);
- Console.WriteLine(e.StackTrace);
- }
- }
-}
diff --git a/sandbox/dotnet/dropbox_sign_sandbox.csproj b/sandbox/dotnet/dropbox_sign_sandbox.csproj
deleted file mode 100644
index c8c816809..000000000
--- a/sandbox/dotnet/dropbox_sign_sandbox.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Exe
- net6.0
- enable
- enable
-
-
-
-
-
-
-
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.config.dist.json b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.config.dist.json
new file mode 100644
index 000000000..601c6a5f9
--- /dev/null
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.config.dist.json
@@ -0,0 +1,6 @@
+{
+ "BASE_URL": "https://api.hellosign.com/v3",
+ "API_KEY": "",
+ "CLIENT_ID": "",
+ "USE_XDEBUG": 0
+}
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.gitignore b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.gitignore
new file mode 100644
index 000000000..a9b8cc8b8
--- /dev/null
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/.gitignore
@@ -0,0 +1 @@
+.config.json
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox.Test/Dropbox.SignSandbox.Test.csproj b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/Dropbox.SignSandbox.Test.csproj
new file mode 100644
index 000000000..4f8b41f9d
--- /dev/null
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/Dropbox.SignSandbox.Test.csproj
@@ -0,0 +1,24 @@
+
+
+
+ Dropbox.SignSandbox.Test
+ Dropbox.SignSandbox.Test
+ net6.0
+ false
+ Dropbox.SignSandbox.Test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox.Test/SignatureRequestTests.cs b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/SignatureRequestTests.cs
new file mode 100644
index 000000000..2350a526b
--- /dev/null
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox.Test/SignatureRequestTests.cs
@@ -0,0 +1,168 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Reflection;
+using Xunit;
+using Dropbox.Sign;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+
+namespace Dropbox.SignSandbox.Test
+{
+ public class TestHelper
+ {
+ public static JObject GetJsonContents(string fileName)
+ {
+ using (var r = new StreamReader( $"./../../../../../{fileName}"))
+ {
+ dynamic json = JsonConvert.DeserializeObject