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
|
@@ -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 CreateFolderDataFolder {
|
|
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 CreateFolderDataFolder.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -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 { HtmlTemplateData } from './htmlTemplateData';
|
|
15
|
+
|
|
16
|
+
export class CreateHtmlTemplateData {
|
|
17
|
+
'template': HtmlTemplateData;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "template",
|
|
24
|
+
"baseName": "template",
|
|
25
|
+
"type": "HtmlTemplateData"
|
|
26
|
+
} ];
|
|
27
|
+
|
|
28
|
+
static getAttributeTypeMap() {
|
|
29
|
+
return CreateHtmlTemplateData.attributeTypeMap;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { CreateSubmissionBatchSubmissionsResponse } from './createSubmissionBatchSubmissionsResponse';
|
|
15
|
+
import { SubmissionBatch } from './submissionBatch';
|
|
16
|
+
|
|
17
|
+
export class CreateSubmissionBatchResponse {
|
|
18
|
+
'status': CreateSubmissionBatchResponse.StatusEnum;
|
|
19
|
+
'error'?: string;
|
|
20
|
+
'errors'?: Array<string>;
|
|
21
|
+
'submissionBatch': SubmissionBatch;
|
|
22
|
+
'submissions': Array<CreateSubmissionBatchSubmissionsResponse>;
|
|
23
|
+
|
|
24
|
+
static discriminator: string | undefined = undefined;
|
|
25
|
+
|
|
26
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
27
|
+
{
|
|
28
|
+
"name": "status",
|
|
29
|
+
"baseName": "status",
|
|
30
|
+
"type": "CreateSubmissionBatchResponse.StatusEnum"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "error",
|
|
34
|
+
"baseName": "error",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "errors",
|
|
39
|
+
"baseName": "errors",
|
|
40
|
+
"type": "Array<string>"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "submissionBatch",
|
|
44
|
+
"baseName": "submission_batch",
|
|
45
|
+
"type": "SubmissionBatch"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "submissions",
|
|
49
|
+
"baseName": "submissions",
|
|
50
|
+
"type": "Array<CreateSubmissionBatchSubmissionsResponse>"
|
|
51
|
+
} ];
|
|
52
|
+
|
|
53
|
+
static getAttributeTypeMap() {
|
|
54
|
+
return CreateSubmissionBatchResponse.attributeTypeMap;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export namespace CreateSubmissionBatchResponse {
|
|
59
|
+
export enum StatusEnum {
|
|
60
|
+
Success = <any> 'success',
|
|
61
|
+
Error = <any> 'error'
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { Submission } from './submission';
|
|
15
|
+
|
|
16
|
+
export class CreateSubmissionBatchSubmissionsResponse {
|
|
17
|
+
'status': CreateSubmissionBatchSubmissionsResponse.StatusEnum;
|
|
18
|
+
'errors'?: Array<string>;
|
|
19
|
+
'submission'?: Submission;
|
|
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": "CreateSubmissionBatchSubmissionsResponse.StatusEnum"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "errors",
|
|
31
|
+
"baseName": "errors",
|
|
32
|
+
"type": "Array<string>"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "submission",
|
|
36
|
+
"baseName": "submission",
|
|
37
|
+
"type": "Submission"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return CreateSubmissionBatchSubmissionsResponse.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace CreateSubmissionBatchSubmissionsResponse {
|
|
46
|
+
export enum StatusEnum {
|
|
47
|
+
Success = <any> 'success',
|
|
48
|
+
Error = <any> 'error',
|
|
49
|
+
ValidButNotSaved = <any> 'valid_but_not_saved'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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 CreateSubmissionDataRequestData {
|
|
16
|
+
'authPhoneNumberHash'?: string | null;
|
|
17
|
+
'authProvider'?: string | null;
|
|
18
|
+
'authSecondFactorType'?: CreateSubmissionDataRequestData.AuthSecondFactorTypeEnum;
|
|
19
|
+
'authSessionIdHash'?: string | null;
|
|
20
|
+
'authSessionStartedAt'?: string | null;
|
|
21
|
+
'authType': CreateSubmissionDataRequestData.AuthTypeEnum;
|
|
22
|
+
'authUserIdHash'?: string | null;
|
|
23
|
+
'authUsernameHash'?: string | null;
|
|
24
|
+
'email': string | null;
|
|
25
|
+
'fields'?: Array<string> | null;
|
|
26
|
+
'metadata'?: object;
|
|
27
|
+
'name'?: string | null;
|
|
28
|
+
'order'?: number;
|
|
29
|
+
|
|
30
|
+
static discriminator: string | undefined = undefined;
|
|
31
|
+
|
|
32
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
33
|
+
{
|
|
34
|
+
"name": "authPhoneNumberHash",
|
|
35
|
+
"baseName": "auth_phone_number_hash",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "authProvider",
|
|
40
|
+
"baseName": "auth_provider",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "authSecondFactorType",
|
|
45
|
+
"baseName": "auth_second_factor_type",
|
|
46
|
+
"type": "CreateSubmissionDataRequestData.AuthSecondFactorTypeEnum"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "authSessionIdHash",
|
|
50
|
+
"baseName": "auth_session_id_hash",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "authSessionStartedAt",
|
|
55
|
+
"baseName": "auth_session_started_at",
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "authType",
|
|
60
|
+
"baseName": "auth_type",
|
|
61
|
+
"type": "CreateSubmissionDataRequestData.AuthTypeEnum"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "authUserIdHash",
|
|
65
|
+
"baseName": "auth_user_id_hash",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "authUsernameHash",
|
|
70
|
+
"baseName": "auth_username_hash",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "email",
|
|
75
|
+
"baseName": "email",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "fields",
|
|
80
|
+
"baseName": "fields",
|
|
81
|
+
"type": "Array<string>"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "metadata",
|
|
85
|
+
"baseName": "metadata",
|
|
86
|
+
"type": "object"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "name",
|
|
90
|
+
"baseName": "name",
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "order",
|
|
95
|
+
"baseName": "order",
|
|
96
|
+
"type": "number"
|
|
97
|
+
} ];
|
|
98
|
+
|
|
99
|
+
static getAttributeTypeMap() {
|
|
100
|
+
return CreateSubmissionDataRequestData.attributeTypeMap;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export namespace CreateSubmissionDataRequestData {
|
|
105
|
+
export enum AuthSecondFactorTypeEnum {
|
|
106
|
+
None = <any> 'none',
|
|
107
|
+
PhoneNumber = <any> 'phone_number',
|
|
108
|
+
Totp = <any> 'totp',
|
|
109
|
+
MobilePush = <any> 'mobile_push',
|
|
110
|
+
SecurityKey = <any> 'security_key',
|
|
111
|
+
Fingerprint = <any> 'fingerprint'
|
|
112
|
+
}
|
|
113
|
+
export enum AuthTypeEnum {
|
|
114
|
+
None = <any> 'none',
|
|
115
|
+
Password = <any> 'password',
|
|
116
|
+
Oauth = <any> 'oauth',
|
|
117
|
+
EmailLink = <any> 'email_link',
|
|
118
|
+
PhoneNumber = <any> 'phone_number',
|
|
119
|
+
Ldap = <any> 'ldap',
|
|
120
|
+
Saml = <any> 'saml'
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -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 { CreateSubmissionDataRequestTokenResponseToken } from './createSubmissionDataRequestTokenResponseToken';
|
|
15
|
+
|
|
16
|
+
export class CreateSubmissionDataRequestTokenResponse {
|
|
17
|
+
'status': CreateSubmissionDataRequestTokenResponse.StatusEnum;
|
|
18
|
+
'errors'?: Array<string>;
|
|
19
|
+
'token': CreateSubmissionDataRequestTokenResponseToken;
|
|
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": "CreateSubmissionDataRequestTokenResponse.StatusEnum"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "errors",
|
|
31
|
+
"baseName": "errors",
|
|
32
|
+
"type": "Array<string>"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "token",
|
|
36
|
+
"baseName": "token",
|
|
37
|
+
"type": "CreateSubmissionDataRequestTokenResponseToken"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return CreateSubmissionDataRequestTokenResponse.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace CreateSubmissionDataRequestTokenResponse {
|
|
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 CreateSubmissionDataRequestTokenResponseToken {
|
|
16
|
+
'id': string;
|
|
17
|
+
'secret': string;
|
|
18
|
+
'expiresAt': string;
|
|
19
|
+
'dataRequestUrl': string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "id",
|
|
26
|
+
"baseName": "id",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "secret",
|
|
31
|
+
"baseName": "secret",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "expiresAt",
|
|
36
|
+
"baseName": "expires_at",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "dataRequestUrl",
|
|
41
|
+
"baseName": "data_request_url",
|
|
42
|
+
"type": "string"
|
|
43
|
+
} ];
|
|
44
|
+
|
|
45
|
+
static getAttributeTypeMap() {
|
|
46
|
+
return CreateSubmissionDataRequestTokenResponseToken.attributeTypeMap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { Submission } from './submission';
|
|
15
|
+
|
|
16
|
+
export class CreateSubmissionResponse {
|
|
17
|
+
'status': CreateSubmissionResponse.StatusEnum;
|
|
18
|
+
'errors'?: Array<string>;
|
|
19
|
+
'submission': Submission;
|
|
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": "CreateSubmissionResponse.StatusEnum"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "errors",
|
|
31
|
+
"baseName": "errors",
|
|
32
|
+
"type": "Array<string>"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "submission",
|
|
36
|
+
"baseName": "submission",
|
|
37
|
+
"type": "Submission"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return CreateSubmissionResponse.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export namespace CreateSubmissionResponse {
|
|
46
|
+
export enum StatusEnum {
|
|
47
|
+
Success = <any> 'success',
|
|
48
|
+
Error = <any> 'error'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -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 { UploadTemplateData } from './uploadTemplateData';
|
|
15
|
+
|
|
16
|
+
export class CreateTemplateFromUploadData {
|
|
17
|
+
'template': UploadTemplateData;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "template",
|
|
24
|
+
"baseName": "template",
|
|
25
|
+
"type": "UploadTemplateData"
|
|
26
|
+
} ];
|
|
27
|
+
|
|
28
|
+
static getAttributeTypeMap() {
|
|
29
|
+
return CreateTemplateFromUploadData.attributeTypeMap;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 DeleteTemplateResponse {
|
|
16
|
+
'status': DeleteTemplateResponse.StatusEnum;
|
|
17
|
+
'errors'?: Array<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": "DeleteTemplateResponse.StatusEnum"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "errors",
|
|
29
|
+
"baseName": "errors",
|
|
30
|
+
"type": "Array<string>"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return DeleteTemplateResponse.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace DeleteTemplateResponse {
|
|
39
|
+
export enum StatusEnum {
|
|
40
|
+
Success = <any> 'success',
|
|
41
|
+
Error = <any> 'error'
|
|
42
|
+
}
|
|
43
|
+
}
|
package/model/folder.ts
ADDED
|
@@ -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 Folder {
|
|
16
|
+
'id'?: string;
|
|
17
|
+
'name'?: string;
|
|
18
|
+
'path'?: string;
|
|
19
|
+
'parentFolderId'?: string | null;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "id",
|
|
26
|
+
"baseName": "id",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "name",
|
|
31
|
+
"baseName": "name",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "path",
|
|
36
|
+
"baseName": "path",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "parentFolderId",
|
|
41
|
+
"baseName": "parent_folder_id",
|
|
42
|
+
"type": "string"
|
|
43
|
+
} ];
|
|
44
|
+
|
|
45
|
+
static getAttributeTypeMap() {
|
|
46
|
+
return Folder.attributeTypeMap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|