boldsign 1.0.1 → 1.0.2
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 +2 -0
- package/README.md +2 -0
- package/api/apis.ts +1 -1
- package/dist/api/apis.d.ts +1 -1
- package/dist/api/apis.js +1 -1
- package/dist/model/accessCodeDetail.d.ts +2 -0
- package/dist/model/accessCodeDetail.js +5 -0
- package/dist/model/accessCodeDetail.js.map +1 -1
- package/dist/model/authenticationSettings.d.ts +22 -0
- package/dist/model/authenticationSettings.js +27 -0
- package/dist/model/authenticationSettings.js.map +1 -0
- package/dist/model/documentSigner.d.ts +2 -0
- package/dist/model/documentSigner.js +5 -0
- package/dist/model/documentSigner.js.map +1 -1
- package/dist/model/documentSignerDetails.d.ts +2 -0
- package/dist/model/documentSignerDetails.js +5 -0
- package/dist/model/documentSignerDetails.js.map +1 -1
- package/dist/model/index.d.ts +3 -1
- package/dist/model/index.js +10 -3
- package/dist/model/index.js.map +1 -1
- package/dist/model/role.d.ts +2 -0
- package/dist/model/role.js +5 -0
- package/dist/model/role.js.map +1 -1
- package/dist/model/signerAuthenticationSettings.d.ts +15 -0
- package/dist/model/signerAuthenticationSettings.js +23 -0
- package/dist/model/signerAuthenticationSettings.js.map +1 -0
- package/dist/tests/config.d.ts +5 -0
- package/dist/tests/config.js +43 -0
- package/dist/tests/config.js.map +1 -0
- package/dist/tests/integration/BrandingApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/BrandingApiTest.spec.js +310 -0
- package/dist/tests/integration/BrandingApiTest.spec.js.map +1 -0
- package/dist/tests/integration/ContactsApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/ContactsApiTest.spec.js +249 -0
- package/dist/tests/integration/ContactsApiTest.spec.js.map +1 -0
- package/dist/tests/integration/CustomFieldApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/CustomFieldApiTest.spec.js +289 -0
- package/dist/tests/integration/CustomFieldApiTest.spec.js.map +1 -0
- package/dist/tests/integration/DocumentApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/DocumentApiTest.spec.js +1691 -0
- package/dist/tests/integration/DocumentApiTest.spec.js.map +1 -0
- package/dist/tests/integration/TemplateApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/TemplateApiTest.spec.js +1440 -0
- package/dist/tests/integration/TemplateApiTest.spec.js.map +1 -0
- package/dist/tests/integration/planApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/planApiTest.spec.js +41 -0
- package/dist/tests/integration/planApiTest.spec.js.map +1 -0
- package/dist/tests/integration/senderIdentity.spec.d.ts +1 -0
- package/dist/tests/integration/senderIdentity.spec.js +481 -0
- package/dist/tests/integration/senderIdentity.spec.js.map +1 -0
- package/dist/tests/integration/teamsApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/teamsApiTest.spec.js +230 -0
- package/dist/tests/integration/teamsApiTest.spec.js.map +1 -0
- package/dist/tests/integration/usersApiTest.spec.d.ts +1 -0
- package/dist/tests/integration/usersApiTest.spec.js +290 -0
- package/dist/tests/integration/usersApiTest.spec.js.map +1 -0
- package/dist/tests/unit/brandingApi.spec.d.ts +1 -0
- package/dist/tests/unit/brandingApi.spec.js +174 -0
- package/dist/tests/unit/brandingApi.spec.js.map +1 -0
- package/dist/tests/unit/contactsApi.spec.d.ts +1 -0
- package/dist/tests/unit/contactsApi.spec.js +154 -0
- package/dist/tests/unit/contactsApi.spec.js.map +1 -0
- package/dist/tests/unit/customFieldApi.spec.d.ts +1 -0
- package/dist/tests/unit/customFieldApi.spec.js +140 -0
- package/dist/tests/unit/customFieldApi.spec.js.map +1 -0
- package/dist/tests/unit/documentApi.spec.d.ts +1 -0
- package/dist/tests/unit/documentApi.spec.js +476 -0
- package/dist/tests/unit/documentApi.spec.js.map +1 -0
- package/dist/tests/unit/planApi.spec.d.ts +1 -0
- package/dist/tests/unit/planApi.spec.js +69 -0
- package/dist/tests/unit/planApi.spec.js.map +1 -0
- package/dist/tests/unit/senderIdentitiesApi.spec.d.ts +1 -0
- package/dist/tests/unit/senderIdentitiesApi.spec.js +148 -0
- package/dist/tests/unit/senderIdentitiesApi.spec.js.map +1 -0
- package/dist/tests/unit/teamApi.spec.d.ts +1 -0
- package/dist/tests/unit/teamApi.spec.js +116 -0
- package/dist/tests/unit/teamApi.spec.js.map +1 -0
- package/dist/tests/unit/templateApi.spec.d.ts +1 -0
- package/dist/tests/unit/templateApi.spec.js +285 -0
- package/dist/tests/unit/templateApi.spec.js.map +1 -0
- package/dist/tests/unit/userApi.spec.d.ts +1 -0
- package/dist/tests/unit/userApi.spec.js +163 -0
- package/dist/tests/unit/userApi.spec.js.map +1 -0
- package/docs/AccessCodeDetail.md +19 -0
- package/docs/AccessCodeDetails.md +13 -0
- package/docs/Address.md +16 -0
- package/docs/AttachmentInfo.md +14 -0
- package/docs/AuditTrail.md +18 -0
- package/docs/AuthenticationSettings.md +11 -0
- package/docs/Base64File.md +12 -0
- package/docs/BehalfDocument.md +27 -0
- package/docs/BehalfDocumentRecords.md +12 -0
- package/docs/BehalfOf.md +12 -0
- package/docs/BillingViewModel.md +11 -0
- package/docs/BrandCreated.md +11 -0
- package/docs/BrandCustomFieldDetails.md +16 -0
- package/docs/BrandingApi.md +258 -0
- package/docs/BrandingMessage.md +11 -0
- package/docs/BrandingRecords.md +11 -0
- package/docs/ChangeRecipient.md +18 -0
- package/docs/ConditionalRule.md +13 -0
- package/docs/ContactCreated.md +12 -0
- package/docs/ContactDetails.md +15 -0
- package/docs/ContactPageDetails.md +13 -0
- package/docs/ContactsApi.md +176 -0
- package/docs/ContactsDetails.md +16 -0
- package/docs/ContactsList.md +12 -0
- package/docs/CreateContactResponse.md +11 -0
- package/docs/CreateSenderIdentityRequest.md +16 -0
- package/docs/CreateTeamRequest.md +11 -0
- package/docs/CreateTemplateRequest.md +35 -0
- package/docs/CreateUser.md +14 -0
- package/docs/CustomDomainSettings.md +12 -0
- package/docs/CustomFieldApi.md +174 -0
- package/docs/CustomFieldCollection.md +11 -0
- package/docs/CustomFieldMessage.md +12 -0
- package/docs/CustomFormField.md +43 -0
- package/docs/Date.md +13 -0
- package/docs/DeleteCustomFieldReply.md +11 -0
- package/docs/Document.md +26 -0
- package/docs/DocumentApi.md +756 -0
- package/docs/DocumentCC.md +11 -0
- package/docs/DocumentCcDetails.md +12 -0
- package/docs/DocumentCreated.md +11 -0
- package/docs/DocumentExpirySettings.md +16 -0
- package/docs/DocumentFiles.md +13 -0
- package/docs/DocumentFormFields.md +49 -0
- package/docs/DocumentInfo.md +14 -0
- package/docs/DocumentProperties.md +50 -0
- package/docs/DocumentReassign.md +13 -0
- package/docs/DocumentRecords.md +12 -0
- package/docs/DocumentSenderDetail.md +14 -0
- package/docs/DocumentSigner.md +31 -0
- package/docs/DocumentSignerDetails.md +37 -0
- package/docs/DocumentTags.md +12 -0
- package/docs/DownloadImageRequest.md +16 -0
- package/docs/EditSenderIdentityRequest.md +14 -0
- package/docs/EditTemplateRequest.md +29 -0
- package/docs/EditableDateFieldSettings.md +13 -0
- package/docs/EmbeddedCreateTemplateRequest.md +46 -0
- package/docs/EmbeddedCustomFieldCreated.md +11 -0
- package/docs/EmbeddedDocumentRequest.md +55 -0
- package/docs/EmbeddedFileDetails.md +16 -0
- package/docs/EmbeddedFileLink.md +11 -0
- package/docs/EmbeddedMergeTemplateFormRequest.md +56 -0
- package/docs/EmbeddedSendCreated.md +12 -0
- package/docs/EmbeddedSendTemplateFormRequest.md +53 -0
- package/docs/EmbeddedSigningLink.md +11 -0
- package/docs/EmbeddedTemplateCreated.md +12 -0
- package/docs/EmbeddedTemplateEditRequest.md +21 -0
- package/docs/EmbeddedTemplateEdited.md +11 -0
- package/docs/Error.md +12 -0
- package/docs/ErrorResult.md +11 -0
- package/docs/ExistingFormField.md +15 -0
- package/docs/ExtendExpiry.md +14 -0
- package/docs/FileInfo.md +14 -0
- package/docs/Font.md +18 -0
- package/docs/FormField.md +50 -0
- package/docs/FormGroup.md +15 -0
- package/docs/FormulaFieldSettings.md +12 -0
- package/docs/IdDocument.md +21 -0
- package/docs/IdReport.md +14 -0
- package/docs/IdVerification.md +18 -0
- package/docs/IdentityVerificationApi.md +109 -0
- package/docs/IdentityVerificationSettings.md +16 -0
- package/docs/ImageInfo.md +13 -0
- package/docs/MergeAndSendForSignForm.md +46 -0
- package/docs/NotificationSettings.md +22 -0
- package/docs/PageDetails.md +16 -0
- package/docs/PhoneNumber.md +12 -0
- package/docs/PlanApi.md +38 -0
- package/docs/PrefillField.md +12 -0
- package/docs/PrefillFieldRequest.md +12 -0
- package/docs/ProblemDetails.md +15 -0
- package/docs/RecipientNotificationSettings.md +22 -0
- package/docs/Rectangle.md +14 -0
- package/docs/ReminderMessage.md +13 -0
- package/docs/ReminderSettings.md +13 -0
- package/docs/RemoveAuthentication.md +14 -0
- package/docs/RevokeDocument.md +12 -0
- package/docs/Role.md +33 -0
- package/docs/Roles.md +33 -0
- package/docs/SendForSign.md +45 -0
- package/docs/SendForSignFromTemplateForm.md +43 -0
- package/docs/SenderIdentitiesApi.md +209 -0
- package/docs/SenderIdentityCreated.md +11 -0
- package/docs/SenderIdentityList.md +12 -0
- package/docs/SenderIdentityViewModel.md +19 -0
- package/docs/SignerAuthenticationSettings.md +12 -0
- package/docs/Size.md +12 -0
- package/docs/TeamCreated.md +11 -0
- package/docs/TeamDocumentRecords.md +12 -0
- package/docs/TeamListResponse.md +12 -0
- package/docs/TeamPageDetails.md +12 -0
- package/docs/TeamResponse.md +15 -0
- package/docs/TeamUpdateRequest.md +12 -0
- package/docs/TeamUsers.md +16 -0
- package/docs/Teams.md +14 -0
- package/docs/TeamsApi.md +141 -0
- package/docs/Template.md +29 -0
- package/docs/TemplateApi.md +484 -0
- package/docs/TemplateCC.md +12 -0
- package/docs/TemplateCreated.md +11 -0
- package/docs/TemplateFormFields.md +50 -0
- package/docs/TemplateProperties.md +37 -0
- package/docs/TemplateRecords.md +12 -0
- package/docs/TemplateRole.md +28 -0
- package/docs/TemplateSenderDetail.md +12 -0
- package/docs/TemplateSenderDetails.md +13 -0
- package/docs/TemplateSharedTemplateDetail.md +12 -0
- package/docs/TemplateSignerDetails.md +27 -0
- package/docs/TemplateTag.md +14 -0
- package/docs/TextTagDefinition.md +40 -0
- package/docs/TextTagOffset.md +12 -0
- package/docs/UpdateUser.md +14 -0
- package/docs/UpdateUserMetaData.md +12 -0
- package/docs/UserApi.md +240 -0
- package/docs/UserPageDetails.md +12 -0
- package/docs/UserProperties.md +21 -0
- package/docs/UserRecords.md +12 -0
- package/docs/UsersDetails.md +21 -0
- package/docs/Validation.md +13 -0
- package/docs/VerificationDataRequest.md +15 -0
- package/docs/ViewBrandDetails.md +34 -0
- package/docs/ViewCustomFieldDetails.md +17 -0
- package/model/accessCodeDetail.ts +7 -0
- package/model/authenticationSettings.ts +39 -0
- package/model/documentSigner.ts +7 -0
- package/model/documentSignerDetails.ts +7 -0
- package/model/index.ts +7 -0
- package/model/role.ts +7 -0
- package/model/signerAuthenticationSettings.ts +37 -0
- package/package.json +2 -1
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
const userApi_1 = require("../../api/userApi");
|
|
46
|
+
const sinon = __importStar(require("sinon"));
|
|
47
|
+
describe('UserApi Unit Test', () => {
|
|
48
|
+
let userApiStub;
|
|
49
|
+
beforeEach(() => {
|
|
50
|
+
userApiStub = sinon.createStubInstance(userApi_1.UserApi);
|
|
51
|
+
userApiStub.createUser = sinon.stub().resolves({ userId: 'user_id' });
|
|
52
|
+
userApiStub.updateUser = sinon.stub().resolves({
|
|
53
|
+
success: true,
|
|
54
|
+
message: 'User updated successfully',
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
afterEach(() => {
|
|
58
|
+
sinon.restore();
|
|
59
|
+
});
|
|
60
|
+
it('should mock and verify createUser call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
61
|
+
const mockUserCreated = {
|
|
62
|
+
userId: 'user_id',
|
|
63
|
+
};
|
|
64
|
+
const userData = {
|
|
65
|
+
name: 'New User',
|
|
66
|
+
email: 'newuser@example.com',
|
|
67
|
+
role: 'Admin',
|
|
68
|
+
};
|
|
69
|
+
userApiStub.createUser.resolves(mockUserCreated);
|
|
70
|
+
const result = yield userApiStub.createUser(userData);
|
|
71
|
+
expect(result).toBeDefined();
|
|
72
|
+
expect(result.userId).toBe('user_id');
|
|
73
|
+
sinon.assert.calledOnceWithExactly(userApiStub.createUser, userData);
|
|
74
|
+
}));
|
|
75
|
+
it('should mock and verify updateUser call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
76
|
+
const mockUpdatedUser = {
|
|
77
|
+
success: true,
|
|
78
|
+
message: 'User updated successfully',
|
|
79
|
+
};
|
|
80
|
+
const userId = 'user_id';
|
|
81
|
+
const updatedUserData = {
|
|
82
|
+
name: 'Updated User',
|
|
83
|
+
email: 'updateduser@example.com',
|
|
84
|
+
role: 'Manager',
|
|
85
|
+
};
|
|
86
|
+
userApiStub.updateUser.resolves(mockUpdatedUser);
|
|
87
|
+
const result = yield userApiStub.updateUser(userId, updatedUserData);
|
|
88
|
+
expect(result).toBeDefined();
|
|
89
|
+
expect(result.success).toBe(true);
|
|
90
|
+
expect(result.message).toBe('User updated successfully');
|
|
91
|
+
sinon.assert.calledOnceWithExactly(userApiStub.updateUser, userId, updatedUserData);
|
|
92
|
+
}));
|
|
93
|
+
it('should mock and verify listUsers call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
94
|
+
const mockListResponse = {
|
|
95
|
+
users: [
|
|
96
|
+
{
|
|
97
|
+
userId: 'user_1',
|
|
98
|
+
name: 'User One',
|
|
99
|
+
email: 'userone@example.com',
|
|
100
|
+
role: 'Admin',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
userId: 'user_2',
|
|
104
|
+
name: 'User Two',
|
|
105
|
+
email: 'usertwo@example.com',
|
|
106
|
+
role: 'Manager',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
};
|
|
110
|
+
userApiStub.listUsers = sinon.stub().resolves(mockListResponse);
|
|
111
|
+
const result = yield userApiStub.listUsers();
|
|
112
|
+
expect(result).toBeDefined();
|
|
113
|
+
expect(Array.isArray(result.users)).toBe(true);
|
|
114
|
+
expect(result.users.length).toBe(2);
|
|
115
|
+
expect(result.users[0].name).toBe('User One');
|
|
116
|
+
expect(result.users[1].role).toBe('Manager');
|
|
117
|
+
sinon.assert.calledOnce(userApiStub.listUsers);
|
|
118
|
+
}));
|
|
119
|
+
it('should mock and verify getUserDetails call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
120
|
+
const mockUserDetails = {
|
|
121
|
+
userId: 'user_1',
|
|
122
|
+
name: 'User One',
|
|
123
|
+
email: 'userone@example.com',
|
|
124
|
+
role: 'Admin',
|
|
125
|
+
};
|
|
126
|
+
const userId = 'user_1';
|
|
127
|
+
userApiStub.getUserDetails = sinon.stub().resolves(mockUserDetails);
|
|
128
|
+
const result = yield userApiStub.getUserDetails(userId);
|
|
129
|
+
expect(result).toBeDefined();
|
|
130
|
+
expect(result.userId).toBe('user_1');
|
|
131
|
+
expect(result.name).toBe('User One');
|
|
132
|
+
expect(result.email).toBe('userone@example.com');
|
|
133
|
+
expect(result.role).toBe('Admin');
|
|
134
|
+
sinon.assert.calledOnceWithExactly(userApiStub.getUserDetails, userId);
|
|
135
|
+
}));
|
|
136
|
+
it('should mock and verify resendUserInvitation call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
137
|
+
const mockResendResponse = {
|
|
138
|
+
success: true,
|
|
139
|
+
message: 'User invitation resent successfully',
|
|
140
|
+
};
|
|
141
|
+
const userId = 'user_1';
|
|
142
|
+
userApiStub.resendUserInvitation = sinon.stub().resolves(mockResendResponse);
|
|
143
|
+
const result = yield userApiStub.resendUserInvitation(userId);
|
|
144
|
+
expect(result).toBeDefined();
|
|
145
|
+
expect(result.success).toBe(true);
|
|
146
|
+
expect(result.message).toBe('User invitation resent successfully');
|
|
147
|
+
sinon.assert.calledOnceWithExactly(userApiStub.resendUserInvitation, userId);
|
|
148
|
+
}));
|
|
149
|
+
it('should mock and verify cancelUserInvitation call', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
150
|
+
const mockCancelResponse = {
|
|
151
|
+
success: true,
|
|
152
|
+
message: 'Invitation canceled successfully',
|
|
153
|
+
};
|
|
154
|
+
const userId = 'user_1';
|
|
155
|
+
userApiStub.cancelUserInvitation = sinon.stub().resolves(mockCancelResponse);
|
|
156
|
+
const result = yield userApiStub.cancelUserInvitation(userId);
|
|
157
|
+
expect(result).toBeDefined();
|
|
158
|
+
expect(result.success).toBe(true);
|
|
159
|
+
expect(result.message).toBe('Invitation canceled successfully');
|
|
160
|
+
sinon.assert.calledOnceWithExactly(userApiStub.cancelUserInvitation, userId);
|
|
161
|
+
}));
|
|
162
|
+
});
|
|
163
|
+
//# sourceMappingURL=userApi.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userApi.spec.js","sourceRoot":"","sources":["../../../tests/unit/userApi.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA4C;AAC5C,6CAA+B;AAE/B,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAC/B,IAAI,WAAgD,CAAC;IAErD,UAAU,CAAC,GAAG,EAAE;QAEZ,WAAW,GAAG,KAAK,CAAC,kBAAkB,CAAC,iBAAO,CAAC,CAAC;QAEhD,WAAW,CAAC,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,Q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AAoB,EAAE,MAAM,CAAC,CAAC;IACjF,CAAC,CAAA,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# # AccessCodeDetail
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `authenticationType`<sup>*_required_</sup> | ```string``` | | |
|
|
10
|
+
| `emailId` | ```string``` | | |
|
|
11
|
+
| `order` | ```number``` | | |
|
|
12
|
+
| `accessCode` | ```string``` | | |
|
|
13
|
+
| `onBehalfOf` | ```string``` | | |
|
|
14
|
+
| `phoneNumber` | [```PhoneNumber```](PhoneNumber.md) | | |
|
|
15
|
+
| `identityVerificationSettings` | [```IdentityVerificationSettings```](IdentityVerificationSettings.md) | | |
|
|
16
|
+
| `authenticationRetryCount` | ```number``` | | |
|
|
17
|
+
| `authenticationSettings` | [```AuthenticationSettings```](AuthenticationSettings.md) | | |
|
|
18
|
+
|
|
19
|
+
[[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
|
+
# # AccessCodeDetails
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `accessCode`<sup>*_required_</sup> | ```string``` | | |
|
|
10
|
+
| `phoneNumber` | [```PhoneNumber```](PhoneNumber.md) | | |
|
|
11
|
+
| `onBehalfOf` | ```string``` | | |
|
|
12
|
+
|
|
13
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
package/docs/Address.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# # Address
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `city` | ```string``` | | |
|
|
10
|
+
| `country` | ```string``` | | |
|
|
11
|
+
| `line1` | ```string``` | | |
|
|
12
|
+
| `line2` | ```string``` | | |
|
|
13
|
+
| `postalCode` | ```string``` | | |
|
|
14
|
+
| `state` | ```string``` | | |
|
|
15
|
+
|
|
16
|
+
[[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
|
+
# # AttachmentInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `title`<sup>*_required_</sup> | ```string``` | | |
|
|
10
|
+
| `allowedFileTypes`<sup>*_required_</sup> | ```string``` | | |
|
|
11
|
+
| `description` | ```string``` | | |
|
|
12
|
+
| `acceptedFileTypes` | ```Array<string>``` | | |
|
|
13
|
+
|
|
14
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# # AuditTrail
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `id` | ```string``` | | |
|
|
10
|
+
| `name` | ```string``` | | |
|
|
11
|
+
| `email` | ```string``` | | |
|
|
12
|
+
| `toName` | ```string``` | | |
|
|
13
|
+
| `toEmail` | ```string``` | | |
|
|
14
|
+
| `ipaddress` | ```string``` | | |
|
|
15
|
+
| `action` | ```string``` | | |
|
|
16
|
+
| `timestamp` | ```number``` | | |
|
|
17
|
+
|
|
18
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# # AuthenticationSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `authenticationFrequency` | ```string``` | | |
|
|
10
|
+
|
|
11
|
+
[[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
|
+
# # Base64File
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `base64`<sup>*_required_</sup> | ```string``` | | |
|
|
10
|
+
| `fileName` | ```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,27 @@
|
|
|
1
|
+
# # BehalfDocument
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `behalfOf` | [```BehalfOf```](BehalfOf.md) | | |
|
|
10
|
+
| `documentId` | ```string``` | | |
|
|
11
|
+
| `senderDetail` | [```DocumentSenderDetail```](DocumentSenderDetail.md) | | |
|
|
12
|
+
| `ccDetails` | [```Array<DocumentCcDetails>```](DocumentCcDetails.md) | | |
|
|
13
|
+
| `createdDate` | ```number``` | | |
|
|
14
|
+
| `activityDate` | ```number``` | | |
|
|
15
|
+
| `activityBy` | ```string``` | | |
|
|
16
|
+
| `messageTitle` | ```string``` | | |
|
|
17
|
+
| `status` | ```string``` | | |
|
|
18
|
+
| `signerDetails` | [```Array<DocumentSignerDetails>```](DocumentSignerDetails.md) | | |
|
|
19
|
+
| `expiryDate` | ```number``` | | |
|
|
20
|
+
| `enableSigningOrder` | ```boolean``` | | |
|
|
21
|
+
| `isDeleted` | ```boolean``` | | |
|
|
22
|
+
| `labels` | ```Array<string>``` | | |
|
|
23
|
+
| `cursor` | ```number``` | | |
|
|
24
|
+
| `brandId` | ```string``` | | |
|
|
25
|
+
| `scheduledSendTime` | ```number``` | | |
|
|
26
|
+
|
|
27
|
+
[[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
|
+
# # BehalfDocumentRecords
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `pageDetails` | [```PageDetails```](PageDetails.md) | | |
|
|
10
|
+
| `result` | [```Array<BehalfDocument>```](BehalfDocument.md) | | |
|
|
11
|
+
|
|
12
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
package/docs/BehalfOf.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# # BehalfOf
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `name` | ```string``` | | |
|
|
10
|
+
| `emailAddress` | ```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,11 @@
|
|
|
1
|
+
# # BillingViewModel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `balanceCredits` | ```number``` | | |
|
|
10
|
+
|
|
11
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# # BrandCreated
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `brandId` | ```string``` | | |
|
|
10
|
+
|
|
11
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# # BrandCustomFieldDetails
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
| `fieldName` | ```string``` | | |
|
|
10
|
+
| `fieldDescription` | ```string``` | | |
|
|
11
|
+
| `fieldOrder` | ```number``` | | [default to 1] |
|
|
12
|
+
| `brandId` | ```string``` | | |
|
|
13
|
+
| `sharedField` | ```boolean``` | | |
|
|
14
|
+
| `formField` | [```CustomFormField```](CustomFormField.md) | | |
|
|
15
|
+
|
|
16
|
+
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# BrandingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to https://api.boldsign.com.
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------------- | ------------- | ------------- |
|
|
7
|
+
| [**brandList()**](BrandingApi.md#brandList) | **GET** /v1/brand/list | List all the brands. |
|
|
8
|
+
| [**createBrand()**](BrandingApi.md#createBrand) | **POST** /v1/brand/create | Create the brand. |
|
|
9
|
+
| [**deleteBrand()**](BrandingApi.md#deleteBrand) | **DELETE** /v1/brand/delete | Delete the brand. |
|
|
10
|
+
| [**editBrand()**](BrandingApi.md#editBrand) | **POST** /v1/brand/edit | Edit the brand. |
|
|
11
|
+
| [**getBrand()**](BrandingApi.md#getBrand) | **GET** /v1/brand/get | Get the specific brand details. |
|
|
12
|
+
| [**resetDefaultBrand()**](BrandingApi.md#resetDefaultBrand) | **POST** /v1/brand/resetdefault | Reset default brand. |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## `brandList()`
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
brandList(): BrandingRecords
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
List all the brands.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Parameters
|
|
25
|
+
|
|
26
|
+
|This endpoint does not need any parameter. |
|
|
27
|
+
|
|
28
|
+
### Return type
|
|
29
|
+
|
|
30
|
+
[**BrandingRecords**](../docs/BrandingRecords.md)
|
|
31
|
+
|
|
32
|
+
### Authorization
|
|
33
|
+
|
|
34
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
35
|
+
|
|
36
|
+
### HTTP request headers
|
|
37
|
+
|
|
38
|
+
- **Content-Type**: Not defined
|
|
39
|
+
- **Accept**: `application/json`
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
42
|
+
[[Back to Model list]](../README.md#models)
|
|
43
|
+
[[Back to README]](../README.md)
|
|
44
|
+
|
|
45
|
+
## `createBrand()`
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
createBrand(brandName: string, brandLogo: RequestFile, backgroundColor: string, buttonColor: string, buttonTextColor: string, emailDisplayName: string, disclaimerDescription: string, disclaimerTitle: string, redirectUrl: string, isDefault: boolean, canHideTagLine: boolean, combineAuditTrail: boolean, excludeAuditTrailFromEmail: boolean, emailSignedDocument: string, documentTimeZone: string, showBuiltInFormFields: boolean, allowCustomFieldCreation: boolean, showSharedCustomFields: boolean, hideDecline: boolean, hideSave: boolean, documentExpirySettingsExpiryDateType: string, documentExpirySettingsExpiryValue: number, documentExpirySettingsEnableDefaultExpiryAlert: boolean, documentExpirySettingsEnableAutoReminder: boolean, documentExpirySettingsReminderDays: number, documentExpirySettingsReminderCount: number, customDomainSettingsDomainName: string, customDomainSettingsFromName: string): BrandCreated
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Create the brand.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Parameters
|
|
55
|
+
|
|
56
|
+
|Name | Type | Description | Notes |
|
|
57
|
+
| ------------- | ------------- | ------------- | ------------- |
|
|
58
|
+
| **brandName** | **string**| | |
|
|
59
|
+
| **brandLogo** | **RequestFile****RequestFile**| | |
|
|
60
|
+
| **backgroundColor** | **string**| | [optional] |
|
|
61
|
+
| **buttonColor** | **string**| | [optional] |
|
|
62
|
+
| **buttonTextColor** | **string**| | [optional] |
|
|
63
|
+
| **emailDisplayName** | **string**| | [optional] |
|
|
64
|
+
| **disclaimerDescription** | **string**| | [optional] |
|
|
65
|
+
| **disclaimerTitle** | **string**| | [optional] |
|
|
66
|
+
| **redirectUrl** | **string**| | [optional] |
|
|
67
|
+
| **isDefault** | **boolean**| | [optional] [default to false] |
|
|
68
|
+
| **canHideTagLine** | **boolean**| | [optional] [default to false] |
|
|
69
|
+
| **combineAuditTrail** | **boolean**| | [optional] [default to false] |
|
|
70
|
+
| **excludeAuditTrailFromEmail** | **boolean**| | [optional] [default to false] |
|
|
71
|
+
| **emailSignedDocument** | **string**| | [optional] [default to 'Attachment'] |
|
|
72
|
+
| **documentTimeZone** | **string**| | [optional] |
|
|
73
|
+
| **showBuiltInFormFields** | **boolean**| | [optional] [default to true] |
|
|
74
|
+
| **allowCustomFieldCreation** | **boolean**| | [optional] [default to false] |
|
|
75
|
+
| **showSharedCustomFields** | **boolean**| | [optional] [default to false] |
|
|
76
|
+
| **hideDecline** | **boolean**| | [optional] |
|
|
77
|
+
| **hideSave** | **boolean**| | [optional] |
|
|
78
|
+
| **documentExpirySettingsExpiryDateType** | **string**| | [optional] |
|
|
79
|
+
| **documentExpirySettingsExpiryValue** | **number**| | [optional] |
|
|
80
|
+
| **documentExpirySettingsEnableDefaultExpiryAlert** | **boolean**| | [optional] |
|
|
81
|
+
| **documentExpirySettingsEnableAutoReminder** | **boolean**| | [optional] |
|
|
82
|
+
| **documentExpirySettingsReminderDays** | **number**| | [optional] |
|
|
83
|
+
| **documentExpirySettingsReminderCount** | **number**| | [optional] |
|
|
84
|
+
| **customDomainSettingsDomainName** | **string**| | [optional] |
|
|
85
|
+
| **customDomainSettingsFromName** | **string**| | [optional] |
|
|
86
|
+
|
|
87
|
+
### Return type
|
|
88
|
+
|
|
89
|
+
[**BrandCreated**](../docs/BrandCreated.md)
|
|
90
|
+
|
|
91
|
+
### Authorization
|
|
92
|
+
|
|
93
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
94
|
+
|
|
95
|
+
### HTTP request headers
|
|
96
|
+
|
|
97
|
+
- **Content-Type**: `multipart/form-data`
|
|
98
|
+
- **Accept**: `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/octet-stream`, `text/json`
|
|
99
|
+
|
|
100
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
101
|
+
[[Back to Model list]](../README.md#models)
|
|
102
|
+
[[Back to README]](../README.md)
|
|
103
|
+
|
|
104
|
+
## `deleteBrand()`
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
deleteBrand(brandId: string): BrandingMessage
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Delete the brand.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Parameters
|
|
114
|
+
|
|
115
|
+
|Name | Type | Description | Notes |
|
|
116
|
+
| ------------- | ------------- | ------------- | ------------- |
|
|
117
|
+
| **brandId** | **string**| brand Id. | |
|
|
118
|
+
|
|
119
|
+
### Return type
|
|
120
|
+
|
|
121
|
+
[**BrandingMessage**](../docs/BrandingMessage.md)
|
|
122
|
+
|
|
123
|
+
### Authorization
|
|
124
|
+
|
|
125
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
126
|
+
|
|
127
|
+
### HTTP request headers
|
|
128
|
+
|
|
129
|
+
- **Content-Type**: Not defined
|
|
130
|
+
- **Accept**: `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/octet-stream`, `text/json`
|
|
131
|
+
|
|
132
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
133
|
+
[[Back to Model list]](../README.md#models)
|
|
134
|
+
[[Back to README]](../README.md)
|
|
135
|
+
|
|
136
|
+
## `editBrand()`
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
editBrand(brandId: string, brandName: string, brandLogo: RequestFile, backgroundColor: string, buttonColor: string, buttonTextColor: string, emailDisplayName: string, disclaimerDescription: string, disclaimerTitle: string, redirectUrl: string, isDefault: boolean, canHideTagLine: boolean, combineAuditTrail: boolean, excludeAuditTrailFromEmail: boolean, emailSignedDocument: string, documentTimeZone: string, showBuiltInFormFields: boolean, allowCustomFieldCreation: boolean, showSharedCustomFields: boolean, hideDecline: boolean, hideSave: boolean, documentExpirySettingsExpiryDateType: string, documentExpirySettingsExpiryValue: number, documentExpirySettingsEnableDefaultExpiryAlert: boolean, documentExpirySettingsEnableAutoReminder: boolean, documentExpirySettingsReminderDays: number, documentExpirySettingsReminderCount: number, customDomainSettingsDomainName: string, customDomainSettingsFromName: string): BrandCreated
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Edit the brand.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### Parameters
|
|
146
|
+
|
|
147
|
+
|Name | Type | Description | Notes |
|
|
148
|
+
| ------------- | ------------- | ------------- | ------------- |
|
|
149
|
+
| **brandId** | **string**| The brand id. | |
|
|
150
|
+
| **brandName** | **string**| | [optional] |
|
|
151
|
+
| **brandLogo** | **RequestFile****RequestFile**| | [optional] |
|
|
152
|
+
| **backgroundColor** | **string**| | [optional] |
|
|
153
|
+
| **buttonColor** | **string**| | [optional] |
|
|
154
|
+
| **buttonTextColor** | **string**| | [optional] |
|
|
155
|
+
| **emailDisplayName** | **string**| | [optional] |
|
|
156
|
+
| **disclaimerDescription** | **string**| | [optional] |
|
|
157
|
+
| **disclaimerTitle** | **string**| | [optional] |
|
|
158
|
+
| **redirectUrl** | **string**| | [optional] |
|
|
159
|
+
| **isDefault** | **boolean**| | [optional] [default to false] |
|
|
160
|
+
| **canHideTagLine** | **boolean**| | [optional] [default to false] |
|
|
161
|
+
| **combineAuditTrail** | **boolean**| | [optional] [default to false] |
|
|
162
|
+
| **excludeAuditTrailFromEmail** | **boolean**| | [optional] [default to false] |
|
|
163
|
+
| **emailSignedDocument** | **string**| | [optional] [default to 'Attachment'] |
|
|
164
|
+
| **documentTimeZone** | **string**| | [optional] |
|
|
165
|
+
| **showBuiltInFormFields** | **boolean**| | [optional] [default to true] |
|
|
166
|
+
| **allowCustomFieldCreation** | **boolean**| | [optional] [default to false] |
|
|
167
|
+
| **showSharedCustomFields** | **boolean**| | [optional] [default to false] |
|
|
168
|
+
| **hideDecline** | **boolean**| | [optional] |
|
|
169
|
+
| **hideSave** | **boolean**| | [optional] |
|
|
170
|
+
| **documentExpirySettingsExpiryDateType** | **string**| | [optional] |
|
|
171
|
+
| **documentExpirySettingsExpiryValue** | **number**| | [optional] |
|
|
172
|
+
| **documentExpirySettingsEnableDefaultExpiryAlert** | **boolean**| | [optional] |
|
|
173
|
+
| **documentExpirySettingsEnableAutoReminder** | **boolean**| | [optional] |
|
|
174
|
+
| **documentExpirySettingsReminderDays** | **number**| | [optional] |
|
|
175
|
+
| **documentExpirySettingsReminderCount** | **number**| | [optional] |
|
|
176
|
+
| **customDomainSettingsDomainName** | **string**| | [optional] |
|
|
177
|
+
| **customDomainSettingsFromName** | **string**| | [optional] |
|
|
178
|
+
|
|
179
|
+
### Return type
|
|
180
|
+
|
|
181
|
+
[**BrandCreated**](../docs/BrandCreated.md)
|
|
182
|
+
|
|
183
|
+
### Authorization
|
|
184
|
+
|
|
185
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
186
|
+
|
|
187
|
+
### HTTP request headers
|
|
188
|
+
|
|
189
|
+
- **Content-Type**: `multipart/form-data`
|
|
190
|
+
- **Accept**: `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/octet-stream`, `text/json`
|
|
191
|
+
|
|
192
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
193
|
+
[[Back to Model list]](../README.md#models)
|
|
194
|
+
[[Back to README]](../README.md)
|
|
195
|
+
|
|
196
|
+
## `getBrand()`
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
getBrand(brandId: string): ViewBrandDetails
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Get the specific brand details.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### Parameters
|
|
206
|
+
|
|
207
|
+
|Name | Type | Description | Notes |
|
|
208
|
+
| ------------- | ------------- | ------------- | ------------- |
|
|
209
|
+
| **brandId** | **string**| The brand id. | |
|
|
210
|
+
|
|
211
|
+
### Return type
|
|
212
|
+
|
|
213
|
+
[**ViewBrandDetails**](../docs/ViewBrandDetails.md)
|
|
214
|
+
|
|
215
|
+
### Authorization
|
|
216
|
+
|
|
217
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
218
|
+
|
|
219
|
+
### HTTP request headers
|
|
220
|
+
|
|
221
|
+
- **Content-Type**: Not defined
|
|
222
|
+
- **Accept**: `application/json`
|
|
223
|
+
|
|
224
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
225
|
+
[[Back to Model list]](../README.md#models)
|
|
226
|
+
[[Back to README]](../README.md)
|
|
227
|
+
|
|
228
|
+
## `resetDefaultBrand()`
|
|
229
|
+
|
|
230
|
+
```typescript
|
|
231
|
+
resetDefaultBrand(brandId: string): BrandingMessage
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Reset default brand.
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
### Parameters
|
|
238
|
+
|
|
239
|
+
|Name | Type | Description | Notes |
|
|
240
|
+
| ------------- | ------------- | ------------- | ------------- |
|
|
241
|
+
| **brandId** | **string**| brand Id. | |
|
|
242
|
+
|
|
243
|
+
### Return type
|
|
244
|
+
|
|
245
|
+
[**BrandingMessage**](../docs/BrandingMessage.md)
|
|
246
|
+
|
|
247
|
+
### Authorization
|
|
248
|
+
|
|
249
|
+
[X-API-KEY](../README.md#X-API-KEY), [Bearer](../README.md#Bearer)
|
|
250
|
+
|
|
251
|
+
### HTTP request headers
|
|
252
|
+
|
|
253
|
+
- **Content-Type**: Not defined
|
|
254
|
+
- **Accept**: `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/octet-stream`, `text/json`
|
|
255
|
+
|
|
256
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints)
|
|
257
|
+
[[Back to Model list]](../README.md#models)
|
|
258
|
+
[[Back to README]](../README.md)
|