docspring-ts 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +56 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/LICENSE +7 -0
- package/api/PDFApi.ts +2867 -0
- package/api/apis.ts +14 -0
- package/api.ts +3 -0
- package/git_push.sh +57 -0
- package/model/addFieldsData.ts +31 -0
- package/model/addFieldsTemplateResponse.ts +49 -0
- package/model/authenticationError.ts +42 -0
- package/model/authenticationSuccessResponse.ts +36 -0
- package/model/combinedSubmission.ts +111 -0
- package/model/combinedSubmissionAction.ts +79 -0
- package/model/combinedSubmissionData.ts +55 -0
- package/model/copyTemplateData.ts +37 -0
- package/model/createCombinedSubmissionResponse.ts +50 -0
- package/model/createCustomFileResponse.ts +49 -0
- package/model/createFolderData.ts +32 -0
- package/model/createFolderDataFolder.ts +37 -0
- package/model/createHtmlTemplateData.ts +32 -0
- package/model/createSubmissionBatchResponse.ts +63 -0
- package/model/createSubmissionBatchSubmissionsResponse.ts +51 -0
- package/model/createSubmissionDataRequestData.ts +122 -0
- package/model/createSubmissionDataRequestTokenResponse.ts +50 -0
- package/model/createSubmissionDataRequestTokenResponseToken.ts +49 -0
- package/model/createSubmissionResponse.ts +50 -0
- package/model/createTemplateFromUploadData.ts +32 -0
- package/model/deleteTemplateResponse.ts +43 -0
- package/model/folder.ts +49 -0
- package/model/fullTemplate.ts +267 -0
- package/model/fullTemplateDefaults.ts +43 -0
- package/model/htmlTemplateData.ts +138 -0
- package/model/invalidRequest.ts +42 -0
- package/model/listSubmissionsResponse.ts +44 -0
- package/model/modelError.ts +42 -0
- package/model/models.ts +403 -0
- package/model/moveFolderData.ts +31 -0
- package/model/moveTemplateData.ts +31 -0
- package/model/pendingTemplate.ts +134 -0
- package/model/renameFolderData.ts +31 -0
- package/model/submission.ts +156 -0
- package/model/submissionAction.ts +79 -0
- package/model/submissionBatch.ts +87 -0
- package/model/submissionBatchData.ts +50 -0
- package/model/submissionData.ts +80 -0
- package/model/submissionDataBatchRequest.ts +61 -0
- package/model/submissionDataRequest.ts +174 -0
- package/model/template.ts +152 -0
- package/model/templateData.ts +128 -0
- package/model/updateDataRequestResponse.ts +50 -0
- package/model/updateSubmissionDataRequestData.ts +122 -0
- package/model/updateTemplateData.ts +32 -0
- package/model/updateTemplateResponse.ts +43 -0
- package/model/uploadTemplateData.ts +145 -0
- package/model/uploadTemplateDataDocument.ts +49 -0
- package/model/uploadTemplateDataDocumentMetadata.ts +48 -0
- package/package.json +29 -0
- package/tsconfig.json +25 -0
package/api/apis.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './PDFApi';
|
|
2
|
+
import { PDFApi } from './PDFApi';
|
|
3
|
+
import * as http from 'http';
|
|
4
|
+
|
|
5
|
+
export class HttpError extends Error {
|
|
6
|
+
constructor (public response: http.IncomingMessage, public body: any, public statusCode?: number) {
|
|
7
|
+
super('HTTP request failed');
|
|
8
|
+
this.name = 'HttpError';
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { RequestFile } from '../model/models';
|
|
13
|
+
|
|
14
|
+
export const APIS = [PDFApi];
|
package/api.ts
ADDED
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="GIT_USER_ID"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="GIT_REPO_ID"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class AddFieldsData {
|
|
16
|
+
'fields': Array<object>;
|
|
17
|
+
|
|
18
|
+
static discriminator: string | undefined = undefined;
|
|
19
|
+
|
|
20
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
21
|
+
{
|
|
22
|
+
"name": "fields",
|
|
23
|
+
"baseName": "fields",
|
|
24
|
+
"type": "Array<object>"
|
|
25
|
+
} ];
|
|
26
|
+
|
|
27
|
+
static getAttributeTypeMap() {
|
|
28
|
+
return AddFieldsData.attributeTypeMap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class AddFieldsTemplateResponse {
|
|
16
|
+
'status': AddFieldsTemplateResponse.StatusEnum;
|
|
17
|
+
'errors'?: Array<string>;
|
|
18
|
+
'newFieldIds'?: Array<number>;
|
|
19
|
+
|
|
20
|
+
static discriminator: string | undefined = undefined;
|
|
21
|
+
|
|
22
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
23
|
+
{
|
|
24
|
+
"name": "status",
|
|
25
|
+
"baseName": "status",
|
|
26
|
+
"type": "AddFieldsTemplateResponse.StatusEnum"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "errors",
|
|
30
|
+
"baseName": "errors",
|
|
31
|
+
"type": "Array<string>"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "newFieldIds",
|
|
35
|
+
"baseName": "new_field_ids",
|
|
36
|
+
"type": "Array<number>"
|
|
37
|
+
} ];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return AddFieldsTemplateResponse.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export namespace AddFieldsTemplateResponse {
|
|
45
|
+
export enum StatusEnum {
|
|
46
|
+
Success = <any> 'success',
|
|
47
|
+
Error = <any> 'error'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class AuthenticationError {
|
|
16
|
+
'status'?: AuthenticationError.StatusEnum;
|
|
17
|
+
'error': string;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "status",
|
|
24
|
+
"baseName": "status",
|
|
25
|
+
"type": "AuthenticationError.StatusEnum"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "error",
|
|
29
|
+
"baseName": "error",
|
|
30
|
+
"type": "string"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return AuthenticationError.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace AuthenticationError {
|
|
39
|
+
export enum StatusEnum {
|
|
40
|
+
Error = <any> 'error'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class AuthenticationSuccessResponse {
|
|
16
|
+
'status': AuthenticationSuccessResponse.StatusEnum;
|
|
17
|
+
|
|
18
|
+
static discriminator: string | undefined = undefined;
|
|
19
|
+
|
|
20
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
21
|
+
{
|
|
22
|
+
"name": "status",
|
|
23
|
+
"baseName": "status",
|
|
24
|
+
"type": "AuthenticationSuccessResponse.StatusEnum"
|
|
25
|
+
} ];
|
|
26
|
+
|
|
27
|
+
static getAttributeTypeMap() {
|
|
28
|
+
return AuthenticationSuccessResponse.attributeTypeMap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export namespace AuthenticationSuccessResponse {
|
|
33
|
+
export enum StatusEnum {
|
|
34
|
+
Success = <any> 'success'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { CombinedSubmissionAction } from './combinedSubmissionAction';
|
|
15
|
+
|
|
16
|
+
export class CombinedSubmission {
|
|
17
|
+
'id': string;
|
|
18
|
+
'expired': boolean;
|
|
19
|
+
'expiresIn'?: number | null;
|
|
20
|
+
'expiresAt'?: string | null;
|
|
21
|
+
'state': CombinedSubmission.StateEnum;
|
|
22
|
+
'errorMessage'?: string | null;
|
|
23
|
+
'metadata'?: object;
|
|
24
|
+
'password'?: string | null;
|
|
25
|
+
'submissionIds': Array<string>;
|
|
26
|
+
'sourcePdfs': Array<object>;
|
|
27
|
+
'downloadUrl'?: string | null;
|
|
28
|
+
'pdfHash'?: string | null;
|
|
29
|
+
'actions'?: Array<CombinedSubmissionAction>;
|
|
30
|
+
|
|
31
|
+
static discriminator: string | undefined = undefined;
|
|
32
|
+
|
|
33
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
34
|
+
{
|
|
35
|
+
"name": "id",
|
|
36
|
+
"baseName": "id",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "expired",
|
|
41
|
+
"baseName": "expired",
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "expiresIn",
|
|
46
|
+
"baseName": "expires_in",
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "expiresAt",
|
|
51
|
+
"baseName": "expires_at",
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "state",
|
|
56
|
+
"baseName": "state",
|
|
57
|
+
"type": "CombinedSubmission.StateEnum"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "errorMessage",
|
|
61
|
+
"baseName": "error_message",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "metadata",
|
|
66
|
+
"baseName": "metadata",
|
|
67
|
+
"type": "object"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "password",
|
|
71
|
+
"baseName": "password",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "submissionIds",
|
|
76
|
+
"baseName": "submission_ids",
|
|
77
|
+
"type": "Array<string>"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "sourcePdfs",
|
|
81
|
+
"baseName": "source_pdfs",
|
|
82
|
+
"type": "Array<object>"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "downloadUrl",
|
|
86
|
+
"baseName": "download_url",
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "pdfHash",
|
|
91
|
+
"baseName": "pdf_hash",
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "actions",
|
|
96
|
+
"baseName": "actions",
|
|
97
|
+
"type": "Array<CombinedSubmissionAction>"
|
|
98
|
+
} ];
|
|
99
|
+
|
|
100
|
+
static getAttributeTypeMap() {
|
|
101
|
+
return CombinedSubmission.attributeTypeMap;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export namespace CombinedSubmission {
|
|
106
|
+
export enum StateEnum {
|
|
107
|
+
Pending = <any> 'pending',
|
|
108
|
+
Processed = <any> 'processed',
|
|
109
|
+
Error = <any> 'error'
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CombinedSubmissionAction {
|
|
16
|
+
'id': string;
|
|
17
|
+
'integrationId': string | null;
|
|
18
|
+
'state': CombinedSubmissionAction.StateEnum;
|
|
19
|
+
'actionCategory': CombinedSubmissionAction.ActionCategoryEnum;
|
|
20
|
+
'actionType': CombinedSubmissionAction.ActionTypeEnum;
|
|
21
|
+
'resultData': object;
|
|
22
|
+
|
|
23
|
+
static discriminator: string | undefined = undefined;
|
|
24
|
+
|
|
25
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
26
|
+
{
|
|
27
|
+
"name": "id",
|
|
28
|
+
"baseName": "id",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "integrationId",
|
|
33
|
+
"baseName": "integration_id",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "state",
|
|
38
|
+
"baseName": "state",
|
|
39
|
+
"type": "CombinedSubmissionAction.StateEnum"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "actionCategory",
|
|
43
|
+
"baseName": "action_category",
|
|
44
|
+
"type": "CombinedSubmissionAction.ActionCategoryEnum"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "actionType",
|
|
48
|
+
"baseName": "action_type",
|
|
49
|
+
"type": "CombinedSubmissionAction.ActionTypeEnum"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "resultData",
|
|
53
|
+
"baseName": "result_data",
|
|
54
|
+
"type": "object"
|
|
55
|
+
} ];
|
|
56
|
+
|
|
57
|
+
static getAttributeTypeMap() {
|
|
58
|
+
return CombinedSubmissionAction.attributeTypeMap;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export namespace CombinedSubmissionAction {
|
|
63
|
+
export enum StateEnum {
|
|
64
|
+
Pending = <any> 'pending',
|
|
65
|
+
Processed = <any> 'processed',
|
|
66
|
+
Failed = <any> 'failed',
|
|
67
|
+
Error = <any> 'error'
|
|
68
|
+
}
|
|
69
|
+
export enum ActionCategoryEnum {
|
|
70
|
+
Notification = <any> 'notification',
|
|
71
|
+
FileUpload = <any> 'file_upload'
|
|
72
|
+
}
|
|
73
|
+
export enum ActionTypeEnum {
|
|
74
|
+
Webhook = <any> 'webhook',
|
|
75
|
+
SlackWebhook = <any> 'slack_webhook',
|
|
76
|
+
Email = <any> 'email',
|
|
77
|
+
AwsS3Upload = <any> 'aws_s3_upload'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CombinedSubmissionData {
|
|
16
|
+
'expiresIn'?: number;
|
|
17
|
+
'metadata'?: object;
|
|
18
|
+
'password'?: string;
|
|
19
|
+
'submissionIds': Array<string>;
|
|
20
|
+
'test'?: boolean;
|
|
21
|
+
|
|
22
|
+
static discriminator: string | undefined = undefined;
|
|
23
|
+
|
|
24
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
25
|
+
{
|
|
26
|
+
"name": "expiresIn",
|
|
27
|
+
"baseName": "expires_in",
|
|
28
|
+
"type": "number"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "metadata",
|
|
32
|
+
"baseName": "metadata",
|
|
33
|
+
"type": "object"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "password",
|
|
37
|
+
"baseName": "password",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "submissionIds",
|
|
42
|
+
"baseName": "submission_ids",
|
|
43
|
+
"type": "Array<string>"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "test",
|
|
47
|
+
"baseName": "test",
|
|
48
|
+
"type": "boolean"
|
|
49
|
+
} ];
|
|
50
|
+
|
|
51
|
+
static getAttributeTypeMap() {
|
|
52
|
+
return CombinedSubmissionData.attributeTypeMap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CopyTemplateData {
|
|
16
|
+
'name'?: string;
|
|
17
|
+
'parentFolderId': string;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "name",
|
|
24
|
+
"baseName": "name",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "parentFolderId",
|
|
29
|
+
"baseName": "parent_folder_id",
|
|
30
|
+
"type": "string"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return CopyTemplateData.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { CombinedSubmission } from './combinedSubmission';
|
|
15
|
+
|
|
16
|
+
export class CreateCombinedSubmissionResponse {
|
|
17
|
+
'status': CreateCombinedSubmissionResponse.StatusEnum;
|
|
18
|
+
'errors'?: Array<string>;
|
|
19
|
+
'combinedSubmission': CombinedSubmission;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "status",
|
|
26
|
+
"baseName": "status",
|
|
27
|
+
"type": "CreateCombinedSubmissionResponse.StatusEnum"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "errors",
|
|
31
|
+
"baseName": "errors",
|
|
32
|
+
"type": "Array<string>"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "combinedSubmission",
|
|
36
|
+
"baseName": "combined_submission",
|
|
37
|
+
"type": "CombinedSubmission"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return CreateCombinedSubmissionResponse.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace CreateCombinedSubmissionResponse {
|
|
46
|
+
export enum StatusEnum {
|
|
47
|
+
Success = <any> 'success',
|
|
48
|
+
Error = <any> 'error'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class CreateCustomFileResponse {
|
|
16
|
+
'status': CreateCustomFileResponse.StatusEnum;
|
|
17
|
+
'errors'?: Array<string>;
|
|
18
|
+
'customFile': object;
|
|
19
|
+
|
|
20
|
+
static discriminator: string | undefined = undefined;
|
|
21
|
+
|
|
22
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
23
|
+
{
|
|
24
|
+
"name": "status",
|
|
25
|
+
"baseName": "status",
|
|
26
|
+
"type": "CreateCustomFileResponse.StatusEnum"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "errors",
|
|
30
|
+
"baseName": "errors",
|
|
31
|
+
"type": "Array<string>"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "customFile",
|
|
35
|
+
"baseName": "custom_file",
|
|
36
|
+
"type": "object"
|
|
37
|
+
} ];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return CreateCustomFileResponse.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export namespace CreateCustomFileResponse {
|
|
45
|
+
export enum StatusEnum {
|
|
46
|
+
Success = <any> 'success',
|
|
47
|
+
Error = <any> 'error'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API v1
|
|
3
|
+
* DocSpring is a service that helps you fill out and sign PDF templates.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { CreateFolderDataFolder } from './createFolderDataFolder';
|
|
15
|
+
|
|
16
|
+
export class CreateFolderData {
|
|
17
|
+
'folder': CreateFolderDataFolder;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "folder",
|
|
24
|
+
"baseName": "folder",
|
|
25
|
+
"type": "CreateFolderDataFolder"
|
|
26
|
+
} ];
|
|
27
|
+
|
|
28
|
+
static getAttributeTypeMap() {
|
|
29
|
+
return CreateFolderData.attributeTypeMap;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|