UNPKG

@signnow/api-client

Version:
38 lines (37 loc) 908 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FieldsGet = void 0; const constants_1 = require("../../../core/constants"); const constants_2 = require("../../../core/constants"); class FieldsGet { constructor(documentId) { this.documentId = documentId; this.queryParams = {}; } getPayload() { return { document_id: this.documentId, }; } getMethod() { return constants_1.HttpMethod.GET; } getUrl() { return '/v2/documents/{document_id}/fields'; } getAuthMethod() { return constants_2.HttpAuthType.BEARER; } getContentType() { return 'application/json'; } getQueryParams() { return this.queryParams; } getUriParams() { return { document_id: this.documentId, }; } } exports.FieldsGet = FieldsGet;