boldsign 3.1.0 → 3.1.1

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.
Files changed (100) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +16 -0
  3. package/api/apis.ts +1 -1
  4. package/api/documentApi.ts +146 -1
  5. package/api/groupContactsApi.ts +779 -0
  6. package/api/index.ts +3 -1
  7. package/boldsign-3.1.1.tgz +0 -0
  8. package/dist/api/apis.d.ts +1 -1
  9. package/dist/api/apis.js +1 -1
  10. package/dist/api/documentApi.d.ts +2 -1
  11. package/dist/api/documentApi.js +90 -0
  12. package/dist/api/documentApi.js.map +1 -1
  13. package/dist/api/groupContactsApi.d.ts +28 -0
  14. package/dist/api/groupContactsApi.js +507 -0
  15. package/dist/api/groupContactsApi.js.map +1 -0
  16. package/dist/api/index.d.ts +3 -2
  17. package/dist/api/index.js +4 -2
  18. package/dist/api/index.js.map +1 -1
  19. package/dist/examples/contactGroupDelete.d.ts +1 -0
  20. package/dist/examples/contactGroupDelete.js +27 -0
  21. package/dist/examples/contactGroupDelete.js.map +1 -0
  22. package/dist/examples/contactGroupGet.d.ts +1 -0
  23. package/dist/examples/contactGroupGet.js +27 -0
  24. package/dist/examples/contactGroupGet.js.map +1 -0
  25. package/dist/examples/contactGroupList.d.ts +1 -0
  26. package/dist/examples/contactGroupList.js +29 -0
  27. package/dist/examples/contactGroupList.js.map +1 -0
  28. package/dist/examples/contactGroupUpdate.d.ts +1 -0
  29. package/dist/examples/contactGroupUpdate.js +34 -0
  30. package/dist/examples/contactGroupUpdate.js.map +1 -0
  31. package/dist/examples/contactGroupsCreate.d.ts +1 -0
  32. package/dist/examples/contactGroupsCreate.js +35 -0
  33. package/dist/examples/contactGroupsCreate.js.map +1 -0
  34. package/dist/examples/documentCreateEmbeddedEditUrl.d.ts +1 -0
  35. package/dist/examples/documentCreateEmbeddedEditUrl.js +32 -0
  36. package/dist/examples/documentCreateEmbeddedEditUrl.js.map +1 -0
  37. package/dist/model/createGroupContactResponse.d.ts +15 -0
  38. package/dist/model/createGroupContactResponse.js +23 -0
  39. package/dist/model/createGroupContactResponse.js.map +1 -0
  40. package/dist/model/creators.d.ts +15 -0
  41. package/dist/model/creators.js +23 -0
  42. package/dist/model/creators.js.map +1 -0
  43. package/dist/model/embeddedDocumentEditJsonRequest.d.ts +51 -0
  44. package/dist/model/embeddedDocumentEditJsonRequest.js +97 -0
  45. package/dist/model/embeddedDocumentEditJsonRequest.js.map +1 -0
  46. package/dist/model/embeddedDocumentEdited.d.ts +14 -0
  47. package/dist/model/embeddedDocumentEdited.js +18 -0
  48. package/dist/model/embeddedDocumentEdited.js.map +1 -0
  49. package/dist/model/getGroupContactDetails.d.ts +20 -0
  50. package/dist/model/getGroupContactDetails.js +38 -0
  51. package/dist/model/getGroupContactDetails.js.map +1 -0
  52. package/dist/model/groupContact.d.ts +18 -0
  53. package/dist/model/groupContact.js +33 -0
  54. package/dist/model/groupContact.js.map +1 -0
  55. package/dist/model/groupContactDetails.d.ts +17 -0
  56. package/dist/model/groupContactDetails.js +28 -0
  57. package/dist/model/groupContactDetails.js.map +1 -0
  58. package/dist/model/groupContactsList.d.ts +17 -0
  59. package/dist/model/groupContactsList.js +23 -0
  60. package/dist/model/groupContactsList.js.map +1 -0
  61. package/dist/model/groupUser.d.ts +15 -0
  62. package/dist/model/groupUser.js +23 -0
  63. package/dist/model/groupUser.js.map +1 -0
  64. package/dist/model/index.d.ts +11 -1
  65. package/dist/model/index.js +36 -4
  66. package/dist/model/index.js.map +1 -1
  67. package/dist/model/updateGroupContact.d.ts +17 -0
  68. package/dist/model/updateGroupContact.js +28 -0
  69. package/dist/model/updateGroupContact.js.map +1 -0
  70. package/docs/CreateGroupContactResponse.md +12 -0
  71. package/docs/Creators.md +12 -0
  72. package/docs/DocumentApi.md +34 -0
  73. package/docs/EmbeddedDocumentEditJsonRequest.md +19 -0
  74. package/docs/EmbeddedDocumentEdited.md +11 -0
  75. package/docs/GetGroupContactDetails.md +15 -0
  76. package/docs/GroupContact.md +14 -0
  77. package/docs/GroupContactDetails.md +13 -0
  78. package/docs/GroupContactsApi.md +177 -0
  79. package/docs/GroupContactsList.md +12 -0
  80. package/docs/GroupUser.md +12 -0
  81. package/docs/UpdateGroupContact.md +13 -0
  82. package/examples/contactGroupDelete.ts +14 -0
  83. package/examples/contactGroupGet.ts +14 -0
  84. package/examples/contactGroupList.ts +16 -0
  85. package/examples/contactGroupUpdate.ts +21 -0
  86. package/examples/contactGroupsCreate.ts +24 -0
  87. package/examples/documentCreateEmbeddedEditUrl.ts +19 -0
  88. package/model/createGroupContactResponse.ts +37 -0
  89. package/model/creators.ts +37 -0
  90. package/model/embeddedDocumentEditJsonRequest.ts +108 -0
  91. package/model/embeddedDocumentEdited.ts +31 -0
  92. package/model/getGroupContactDetails.ts +57 -0
  93. package/model/groupContact.ts +50 -0
  94. package/model/groupContactDetails.ts +44 -0
  95. package/model/groupContactsList.ts +39 -0
  96. package/model/groupUser.ts +37 -0
  97. package/model/index.ts +32 -0
  98. package/model/updateGroupContact.ts +44 -0
  99. package/package.json +1 -1
  100. package/boldsign-3.1.0.tgz +0 -0
@@ -0,0 +1,177 @@
1
+ # GroupContactsApi
2
+
3
+ All URIs are relative to https://api.boldsign.com.
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------------- | ------------- | ------------- |
7
+ | [**createGroupContact()**](GroupContactsApi.md#createGroupContact) | **POST** /v1/contactGroups/create | Create a new Group Contact. |
8
+ | [**deleteGroupContact()**](GroupContactsApi.md#deleteGroupContact) | **DELETE** /v1/contactGroups/delete | Deletes a Group Contact. |
9
+ | [**getGroupContact()**](GroupContactsApi.md#getGroupContact) | **GET** /v1/contactGroups/get | Get Summary of the Group Contact. |
10
+ | [**groupContactList()**](GroupContactsApi.md#groupContactList) | **GET** /v1/contactGroups/list | List Group Contacts. |
11
+ | [**updateGroupContact()**](GroupContactsApi.md#updateGroupContact) | **PUT** /v1/contactGroups/update | Update the Group Contact. |
12
+
13
+
14
+ ## `createGroupContact()`
15
+
16
+ ```typescript
17
+ createGroupContact(groupContactDetails: GroupContactDetails): CreateGroupContactResponse
18
+ ```
19
+
20
+ Create a new Group Contact.
21
+
22
+
23
+ ### Parameters
24
+
25
+ |Name | Type | Description | Notes |
26
+ | ------------- | ------------- | ------------- | ------------- |
27
+ | **groupContactDetails** | [**GroupContactDetails**](../docs/GroupContactDetails.md)| The group contact details. | [optional] |
28
+
29
+ ### Return type
30
+
31
+ [**CreateGroupContactResponse**](../docs/CreateGroupContactResponse.md)
32
+
33
+ ### Authorization
34
+
35
+ [X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
36
+
37
+ ### HTTP request headers
38
+
39
+ - **Content-Type**: `application/json;odata.metadata=minimal;odata.streaming=true`, `application/json;odata.metadata=minimal;odata.streaming=false`, `application/json;odata.metadata=minimal`, `application/json;odata.metadata=full;odata.streaming=true`, `application/json;odata.metadata=full;odata.streaming=false`, `application/json;odata.metadata=full`, `application/json;odata.metadata=none;odata.streaming=true`, `application/json;odata.metadata=none;odata.streaming=false`, `application/json;odata.metadata=none`, `application/json;odata.streaming=true`, `application/json;odata.streaming=false`, `application/json`, `application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=minimal;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;IEEE754Compatible=true`, `application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=full;IEEE754Compatible=false`, `application/json;odata.metadata=full;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=none;IEEE754Compatible=false`, `application/json;odata.metadata=none;IEEE754Compatible=true`, `application/json;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.streaming=false;IEEE754Compatible=true`, `application/json;IEEE754Compatible=false`, `application/json;IEEE754Compatible=true`, `application/xml`, `text/plain`, `application/json-patch+json`, `text/json`, `application/*+json`
40
+ - **Accept**: `application/json`
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
43
+ [[Back to Model list]](../README.md#models)
44
+ [[Back to README]](../README.md)
45
+
46
+ ## `deleteGroupContact()`
47
+
48
+ ```typescript
49
+ deleteGroupContact(groupId: string)
50
+ ```
51
+
52
+ Deletes a Group Contact.
53
+
54
+
55
+ ### Parameters
56
+
57
+ |Name | Type | Description | Notes |
58
+ | ------------- | ------------- | ------------- | ------------- |
59
+ | **groupId** | **string**| The group contact id. | |
60
+
61
+ ### Return type
62
+
63
+ void (empty response body)
64
+
65
+ ### Authorization
66
+
67
+ [X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: `application/json`
73
+
74
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
75
+ [[Back to Model list]](../README.md#models)
76
+ [[Back to README]](../README.md)
77
+
78
+ ## `getGroupContact()`
79
+
80
+ ```typescript
81
+ getGroupContact(groupId: string): GetGroupContactDetails
82
+ ```
83
+
84
+ Get Summary of the Group Contact.
85
+
86
+
87
+ ### Parameters
88
+
89
+ |Name | Type | Description | Notes |
90
+ | ------------- | ------------- | ------------- | ------------- |
91
+ | **groupId** | **string**| Group Contact Id. | |
92
+
93
+ ### Return type
94
+
95
+ [**GetGroupContactDetails**](../docs/GetGroupContactDetails.md)
96
+
97
+ ### Authorization
98
+
99
+ [X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
100
+
101
+ ### HTTP request headers
102
+
103
+ - **Content-Type**: Not defined
104
+ - **Accept**: `application/json`
105
+
106
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
107
+ [[Back to Model list]](../README.md#models)
108
+ [[Back to README]](../README.md)
109
+
110
+ ## `groupContactList()`
111
+
112
+ ```typescript
113
+ groupContactList(page: number, pageSize: number, searchKey: string, contactType: 'MyContacts' | 'AllContacts', directories: Array<string>): GroupContactsList
114
+ ```
115
+
116
+ List Group Contacts.
117
+
118
+
119
+ ### Parameters
120
+
121
+ |Name | Type | Description | Notes |
122
+ | ------------- | ------------- | ------------- | ------------- |
123
+ | **page** | **number**| Page index specified in get user group contact list request. Default value is 1. | [default to 1] |
124
+ | **pageSize** | **number**| Page size specified in get user group contact list request. Default value is 10. | [optional] [default to 10] |
125
+ | **searchKey** | **string**| Group Contacts can be listed by the search based on the Name or Email | [optional] |
126
+ | **contactType** | **'MyContacts' | 'AllContacts'**| Group Contact type whether the contact is my contacts or all contacts. Default value is AllContacts. | [optional] |
127
+ | **directories** | [**Array<string>**](../docs/string.md)| Group Contacts can be listed by the search based on the directories | [optional] |
128
+
129
+ ### Return type
130
+
131
+ [**GroupContactsList**](../docs/GroupContactsList.md)
132
+
133
+ ### Authorization
134
+
135
+ [X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
136
+
137
+ ### HTTP request headers
138
+
139
+ - **Content-Type**: Not defined
140
+ - **Accept**: `application/json`
141
+
142
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
143
+ [[Back to Model list]](../README.md#models)
144
+ [[Back to README]](../README.md)
145
+
146
+ ## `updateGroupContact()`
147
+
148
+ ```typescript
149
+ updateGroupContact(groupId: string, updateGroupContact: UpdateGroupContact)
150
+ ```
151
+
152
+ Update the Group Contact.
153
+
154
+
155
+ ### Parameters
156
+
157
+ |Name | Type | Description | Notes |
158
+ | ------------- | ------------- | ------------- | ------------- |
159
+ | **groupId** | **string**| The group contact ID. | |
160
+ | **updateGroupContact** | [**UpdateGroupContact**](../docs/UpdateGroupContact.md)| The group contact details. | |
161
+
162
+ ### Return type
163
+
164
+ void (empty response body)
165
+
166
+ ### Authorization
167
+
168
+ [X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: `application/json;odata.metadata=minimal;odata.streaming=true`, `application/json;odata.metadata=minimal;odata.streaming=false`, `application/json;odata.metadata=minimal`, `application/json;odata.metadata=full;odata.streaming=true`, `application/json;odata.metadata=full;odata.streaming=false`, `application/json;odata.metadata=full`, `application/json;odata.metadata=none;odata.streaming=true`, `application/json;odata.metadata=none;odata.streaming=false`, `application/json;odata.metadata=none`, `application/json;odata.streaming=true`, `application/json;odata.streaming=false`, `application/json`, `application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=minimal;IEEE754Compatible=false`, `application/json;odata.metadata=minimal;IEEE754Compatible=true`, `application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=full;IEEE754Compatible=false`, `application/json;odata.metadata=full;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true`, `application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.metadata=none;IEEE754Compatible=false`, `application/json;odata.metadata=none;IEEE754Compatible=true`, `application/json;odata.streaming=true;IEEE754Compatible=false`, `application/json;odata.streaming=true;IEEE754Compatible=true`, `application/json;odata.streaming=false;IEEE754Compatible=false`, `application/json;odata.streaming=false;IEEE754Compatible=true`, `application/json;IEEE754Compatible=false`, `application/json;IEEE754Compatible=true`, `application/xml`, `text/plain`, `application/json-patch+json`, `text/json`, `application/*+json`
173
+ - **Accept**: `application/json`
174
+
175
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
176
+ [[Back to Model list]](../README.md#models)
177
+ [[Back to README]](../README.md)
@@ -0,0 +1,12 @@
1
+ # # GroupContactsList
2
+
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ | `pageDetails` | [```ContactPageDetails```](ContactPageDetails.md) | | |
10
+ | `result` | [```Array<GroupContact>```](GroupContact.md) | | |
11
+
12
+ [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,12 @@
1
+ # # GroupUser
2
+
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ | `name`<sup>*_required_</sup> | ```string``` | | |
10
+ | `email`<sup>*_required_</sup> | ```string``` | | |
11
+
12
+ [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,13 @@
1
+ # # UpdateGroupContact
2
+
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ | `groupName` | ```string``` | | |
10
+ | `directories` | ```Array<string>``` | | |
11
+ | `contacts` | [```Array<GroupUser>```](GroupUser.md) | | |
12
+
13
+ [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,14 @@
1
+ import { GroupContactsApi } from "../api";
2
+
3
+ const contactGroupApi = new GroupContactsApi();
4
+ contactGroupApi.setApiKey("API_KEY");
5
+
6
+ async function deleteContactGroups() {
7
+ try {
8
+ await contactGroupApi.deleteGroupContact("GROUP_ID");
9
+ console.log("Contact Groups deleted successfully.");
10
+ } catch (error: any) {
11
+ console.error("Error occurred while calling the API:", error.message);
12
+ }
13
+ }
14
+ deleteContactGroups();
@@ -0,0 +1,14 @@
1
+ import { GroupContactsApi } from "../api";
2
+
3
+ const contactGroupApi = new GroupContactsApi();
4
+ contactGroupApi.setApiKey("API_KEY");
5
+
6
+ async function getContactGroup() {
7
+ try {
8
+ var contactGroup = await contactGroupApi.getGroupContact("GROUP_ID");
9
+ console.log("Contact Group Details:", contactGroup);
10
+ } catch (error: any) {
11
+ console.error("Error occurred while calling the API:", error.message);
12
+ }
13
+ }
14
+ getContactGroup();
@@ -0,0 +1,16 @@
1
+ import { GroupContactsApi } from "../api";
2
+
3
+ const contactGroupApi = new GroupContactsApi();
4
+ contactGroupApi.setApiKey("API_KEY");
5
+
6
+ var page = 1;
7
+ var pageSize = 10;
8
+ async function listContactGroups() {
9
+ try {
10
+ var contactGroups = await contactGroupApi.groupContactList(page, pageSize);
11
+ console.log("Contact Groups:", contactGroups);
12
+ } catch (error: any) {
13
+ console.error("Error occurred while calling the API:", error.message);
14
+ }
15
+ }
16
+ listContactGroups();
@@ -0,0 +1,21 @@
1
+ import { GroupContactsApi, GroupUser, UpdateGroupContact } from "../api";
2
+
3
+ const contactGroupApi = new GroupContactsApi();
4
+ contactGroupApi.setApiKey("API_KEY");
5
+ var groupUser1 = new GroupUser();
6
+ groupUser1.email = "user1@example.com";
7
+ groupUser1.name = "Example User1";
8
+
9
+ var updateGroupContact = new UpdateGroupContact();
10
+ updateGroupContact.contacts = [groupUser1];
11
+ updateGroupContact.groupName = "Group_updated1";
12
+ updateGroupContact.directories = ["dictionary_1"];
13
+ async function UpdateContactGroups() {
14
+ try {
15
+ await contactGroupApi.updateGroupContact("GROUP_ID",updateGroupContact);
16
+ console.log("Updated Contact Groups");
17
+ } catch (error: any) {
18
+ console.error("Error occurred while calling the API:", error.message);
19
+ }
20
+ }
21
+ UpdateContactGroups();
@@ -0,0 +1,24 @@
1
+ import { GroupContactsApi } from '../api/groupContactsApi';
2
+ import { GroupContactDetails, GroupUser } from '../model';
3
+
4
+ const contactGroupApi = new GroupContactsApi();
5
+ contactGroupApi.setApiKey("API_KEY");
6
+
7
+ var groupUser1 = new GroupUser();
8
+ groupUser1.email = "user@example.com";
9
+ groupUser1.name = "Example User";
10
+
11
+ var groupContactDetails = new GroupContactDetails();
12
+ groupContactDetails.contacts = [groupUser1];
13
+ groupContactDetails.groupName = "Group_test";
14
+ groupContactDetails.directories = ["dictionary_id"];
15
+ async function createGroupContact() {
16
+ try{
17
+ var createdGroup = await contactGroupApi.createGroupContact(groupContactDetails);
18
+ console.log("Created Contact Group:", createdGroup);
19
+ }
20
+ catch(error:any) {
21
+ console.error("Error occurred while calling the API:", error.message);
22
+ }
23
+ }
24
+ createGroupContact();
@@ -0,0 +1,19 @@
1
+ import { DocumentApi } from '../api/documentApi';
2
+ import { EmbeddedDocumentEditJsonRequest } from '../model';
3
+
4
+ const documentApi = new DocumentApi();
5
+ documentApi.setApiKey("API_KEY");
6
+ var editRequest = new EmbeddedDocumentEditJsonRequest();
7
+ editRequest.locale = EmbeddedDocumentEditJsonRequest.LocaleEnum.En;
8
+ editRequest.showToolbar = true;
9
+ editRequest.redirectUrl = "https://yourapp.com/redirect";
10
+
11
+ async function editDocument() {
12
+ try {
13
+ var editUrl = await documentApi.createEmbeddedEditUrl("DOCUMENT_ID",editRequest)
14
+ console.log("Embedded Edit URL:", editUrl);
15
+ } catch (error:any) {
16
+ console.error("Error occurred while calling the API:", error.message);
17
+ }
18
+ }
19
+ editDocument();
@@ -0,0 +1,37 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 CreateGroupContactResponse {
16
+ 'groupId'?: string | null;
17
+ 'groupName'?: string | null;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "groupId",
24
+ "baseName": "groupId",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "groupName",
29
+ "baseName": "groupName",
30
+ "type": "string"
31
+ } ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return CreateGroupContactResponse.attributeTypeMap;
35
+ }
36
+ }
37
+
@@ -0,0 +1,37 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 Creators {
16
+ 'userId'?: string | null;
17
+ 'createdBy'?: string | null;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "userId",
24
+ "baseName": "userId",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "createdBy",
29
+ "baseName": "createdBy",
30
+ "type": "string"
31
+ } ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return Creators.attributeTypeMap;
35
+ }
36
+ }
37
+
@@ -0,0 +1,108 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 EmbeddedDocumentEditJsonRequest {
16
+ 'redirectUrl'?: string | null;
17
+ 'showToolbar'?: boolean = false;
18
+ 'sendViewOption'?: EmbeddedDocumentEditJsonRequest.SendViewOptionEnum = EmbeddedDocumentEditJsonRequest.SendViewOptionEnum.PreparePage;
19
+ 'locale'?: EmbeddedDocumentEditJsonRequest.LocaleEnum = EmbeddedDocumentEditJsonRequest.LocaleEnum.En;
20
+ 'showSendButton'?: boolean = true;
21
+ 'showPreviewButton'?: boolean = true;
22
+ 'showNavigationButtons'?: boolean = true;
23
+ 'linkValidTill'?: Date | null;
24
+ 'onBehalfOf'?: string | null;
25
+
26
+ static discriminator: string | undefined = undefined;
27
+
28
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
29
+ {
30
+ "name": "redirectUrl",
31
+ "baseName": "redirectUrl",
32
+ "type": "string"
33
+ },
34
+ {
35
+ "name": "showToolbar",
36
+ "baseName": "showToolbar",
37
+ "type": "boolean"
38
+ },
39
+ {
40
+ "name": "sendViewOption",
41
+ "baseName": "sendViewOption",
42
+ "type": "EmbeddedDocumentEditJsonRequest.SendViewOptionEnum"
43
+ },
44
+ {
45
+ "name": "locale",
46
+ "baseName": "locale",
47
+ "type": "EmbeddedDocumentEditJsonRequest.LocaleEnum"
48
+ },
49
+ {
50
+ "name": "showSendButton",
51
+ "baseName": "showSendButton",
52
+ "type": "boolean"
53
+ },
54
+ {
55
+ "name": "showPreviewButton",
56
+ "baseName": "showPreviewButton",
57
+ "type": "boolean"
58
+ },
59
+ {
60
+ "name": "showNavigationButtons",
61
+ "baseName": "showNavigationButtons",
62
+ "type": "boolean"
63
+ },
64
+ {
65
+ "name": "linkValidTill",
66
+ "baseName": "linkValidTill",
67
+ "type": "Date"
68
+ },
69
+ {
70
+ "name": "onBehalfOf",
71
+ "baseName": "onBehalfOf",
72
+ "type": "string"
73
+ } ];
74
+
75
+ static getAttributeTypeMap() {
76
+ return EmbeddedDocumentEditJsonRequest.attributeTypeMap;
77
+ }
78
+ }
79
+
80
+ export namespace EmbeddedDocumentEditJsonRequest {
81
+ export enum SendViewOptionEnum {
82
+ PreparePage = <any> 'PreparePage',
83
+ FillingPage = <any> 'FillingPage'
84
+ }
85
+ export enum LocaleEnum {
86
+ En = <any> 'EN',
87
+ No = <any> 'NO',
88
+ Fr = <any> 'FR',
89
+ De = <any> 'DE',
90
+ Es = <any> 'ES',
91
+ Bg = <any> 'BG',
92
+ Cs = <any> 'CS',
93
+ Da = <any> 'DA',
94
+ It = <any> 'IT',
95
+ Nl = <any> 'NL',
96
+ Pl = <any> 'PL',
97
+ Pt = <any> 'PT',
98
+ Ro = <any> 'RO',
99
+ Ru = <any> 'RU',
100
+ Sv = <any> 'SV',
101
+ Default = <any> 'Default',
102
+ Ja = <any> 'JA',
103
+ Th = <any> 'TH',
104
+ ZhCn = <any> 'ZH_CN',
105
+ ZhTw = <any> 'ZH_TW',
106
+ Ko = <any> 'KO'
107
+ }
108
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 EmbeddedDocumentEdited {
16
+ 'editUrl'?: string | null;
17
+
18
+ static discriminator: string | undefined = undefined;
19
+
20
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21
+ {
22
+ "name": "editUrl",
23
+ "baseName": "editUrl",
24
+ "type": "string"
25
+ } ];
26
+
27
+ static getAttributeTypeMap() {
28
+ return EmbeddedDocumentEdited.attributeTypeMap;
29
+ }
30
+ }
31
+
@@ -0,0 +1,57 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 { Creators } from './creators';
15
+ import { GroupUser } from './groupUser';
16
+
17
+ export class GetGroupContactDetails {
18
+ 'groupName'?: string | null;
19
+ 'groupId'?: string | null;
20
+ 'contacts'?: Array<GroupUser> | null;
21
+ 'creator'?: Creators;
22
+ 'directories'?: Array<string> | null;
23
+
24
+ static discriminator: string | undefined = undefined;
25
+
26
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27
+ {
28
+ "name": "groupName",
29
+ "baseName": "groupName",
30
+ "type": "string"
31
+ },
32
+ {
33
+ "name": "groupId",
34
+ "baseName": "groupId",
35
+ "type": "string"
36
+ },
37
+ {
38
+ "name": "contacts",
39
+ "baseName": "contacts",
40
+ "type": "Array<GroupUser>"
41
+ },
42
+ {
43
+ "name": "creator",
44
+ "baseName": "creator",
45
+ "type": "Creators"
46
+ },
47
+ {
48
+ "name": "directories",
49
+ "baseName": "directories",
50
+ "type": "Array<string>"
51
+ } ];
52
+
53
+ static getAttributeTypeMap() {
54
+ return GetGroupContactDetails.attributeTypeMap;
55
+ }
56
+ }
57
+
@@ -0,0 +1,50 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
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 { GroupUser } from './groupUser';
15
+
16
+ export class GroupContact {
17
+ 'groupName'?: string | null;
18
+ 'groupId'?: string | null;
19
+ 'contacts'?: Array<GroupUser> | null;
20
+ 'directories'?: Array<string> | null;
21
+
22
+ static discriminator: string | undefined = undefined;
23
+
24
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
+ {
26
+ "name": "groupName",
27
+ "baseName": "groupName",
28
+ "type": "string"
29
+ },
30
+ {
31
+ "name": "groupId",
32
+ "baseName": "groupId",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "name": "contacts",
37
+ "baseName": "contacts",
38
+ "type": "Array<GroupUser>"
39
+ },
40
+ {
41
+ "name": "directories",
42
+ "baseName": "directories",
43
+ "type": "Array<string>"
44
+ } ];
45
+
46
+ static getAttributeTypeMap() {
47
+ return GroupContact.attributeTypeMap;
48
+ }
49
+ }
50
+