@createiq/backend 1.0.105 → 1.0.107

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/dist/index.js DELETED
@@ -1,4892 +0,0 @@
1
- // client/core/bodySerializer.gen.ts
2
- var serializeFormDataPair = (data, key, value) => {
3
- if (typeof value === "string" || value instanceof Blob) {
4
- data.append(key, value);
5
- } else if (value instanceof Date) {
6
- data.append(key, value.toISOString());
7
- } else {
8
- data.append(key, JSON.stringify(value));
9
- }
10
- };
11
- var formDataBodySerializer = {
12
- bodySerializer: (body) => {
13
- const data = new FormData();
14
- Object.entries(body).forEach(([key, value]) => {
15
- if (value === void 0 || value === null) {
16
- return;
17
- }
18
- if (Array.isArray(value)) {
19
- value.forEach((v) => serializeFormDataPair(data, key, v));
20
- } else {
21
- serializeFormDataPair(data, key, value);
22
- }
23
- });
24
- return data;
25
- }
26
- };
27
- var jsonBodySerializer = {
28
- bodySerializer: (body) => JSON.stringify(
29
- body,
30
- (_key, value) => typeof value === "bigint" ? value.toString() : value
31
- )
32
- };
33
-
34
- // client/core/params.gen.ts
35
- var extraPrefixesMap = {
36
- $body_: "body",
37
- $headers_: "headers",
38
- $path_: "path",
39
- $query_: "query"
40
- };
41
- var extraPrefixes = Object.entries(extraPrefixesMap);
42
-
43
- // client/core/serverSentEvents.gen.ts
44
- var createSseClient = ({
45
- onRequest,
46
- onSseError,
47
- onSseEvent,
48
- responseTransformer,
49
- responseValidator,
50
- sseDefaultRetryDelay,
51
- sseMaxRetryAttempts,
52
- sseMaxRetryDelay,
53
- sseSleepFn,
54
- url,
55
- ...options
56
- }) => {
57
- let lastEventId;
58
- const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
59
- const createStream = async function* () {
60
- let retryDelay = sseDefaultRetryDelay ?? 3e3;
61
- let attempt = 0;
62
- const signal = options.signal ?? new AbortController().signal;
63
- while (true) {
64
- if (signal.aborted) break;
65
- attempt++;
66
- const headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers);
67
- if (lastEventId !== void 0) {
68
- headers.set("Last-Event-ID", lastEventId);
69
- }
70
- try {
71
- const requestInit = {
72
- redirect: "follow",
73
- ...options,
74
- body: options.serializedBody,
75
- headers,
76
- signal
77
- };
78
- let request = new Request(url, requestInit);
79
- if (onRequest) {
80
- request = await onRequest(url, requestInit);
81
- }
82
- const _fetch = options.fetch ?? globalThis.fetch;
83
- const response = await _fetch(request);
84
- if (!response.ok)
85
- throw new Error(
86
- `SSE failed: ${response.status} ${response.statusText}`
87
- );
88
- if (!response.body) throw new Error("No body in SSE response");
89
- const reader = response.body.pipeThrough(new TextDecoderStream()).getReader();
90
- let buffer = "";
91
- const abortHandler = () => {
92
- try {
93
- reader.cancel();
94
- } catch {
95
- }
96
- };
97
- signal.addEventListener("abort", abortHandler);
98
- try {
99
- while (true) {
100
- const { done, value } = await reader.read();
101
- if (done) break;
102
- buffer += value;
103
- const chunks = buffer.split("\n\n");
104
- buffer = chunks.pop() ?? "";
105
- for (const chunk of chunks) {
106
- const lines = chunk.split("\n");
107
- const dataLines = [];
108
- let eventName;
109
- for (const line of lines) {
110
- if (line.startsWith("data:")) {
111
- dataLines.push(line.replace(/^data:\s*/, ""));
112
- } else if (line.startsWith("event:")) {
113
- eventName = line.replace(/^event:\s*/, "");
114
- } else if (line.startsWith("id:")) {
115
- lastEventId = line.replace(/^id:\s*/, "");
116
- } else if (line.startsWith("retry:")) {
117
- const parsed = Number.parseInt(
118
- line.replace(/^retry:\s*/, ""),
119
- 10
120
- );
121
- if (!Number.isNaN(parsed)) {
122
- retryDelay = parsed;
123
- }
124
- }
125
- }
126
- let data;
127
- let parsedJson = false;
128
- if (dataLines.length) {
129
- const rawData = dataLines.join("\n");
130
- try {
131
- data = JSON.parse(rawData);
132
- parsedJson = true;
133
- } catch {
134
- data = rawData;
135
- }
136
- }
137
- if (parsedJson) {
138
- if (responseValidator) {
139
- await responseValidator(data);
140
- }
141
- if (responseTransformer) {
142
- data = await responseTransformer(data);
143
- }
144
- }
145
- onSseEvent?.({
146
- data,
147
- event: eventName,
148
- id: lastEventId,
149
- retry: retryDelay
150
- });
151
- if (dataLines.length) {
152
- yield data;
153
- }
154
- }
155
- }
156
- } finally {
157
- signal.removeEventListener("abort", abortHandler);
158
- reader.releaseLock();
159
- }
160
- break;
161
- } catch (error) {
162
- onSseError?.(error);
163
- if (sseMaxRetryAttempts !== void 0 && attempt >= sseMaxRetryAttempts) {
164
- break;
165
- }
166
- const backoff = Math.min(
167
- retryDelay * 2 ** (attempt - 1),
168
- sseMaxRetryDelay ?? 3e4
169
- );
170
- await sleep(backoff);
171
- }
172
- }
173
- };
174
- const stream = createStream();
175
- return { stream };
176
- };
177
-
178
- // client/core/pathSerializer.gen.ts
179
- var separatorArrayExplode = (style) => {
180
- switch (style) {
181
- case "label":
182
- return ".";
183
- case "matrix":
184
- return ";";
185
- case "simple":
186
- return ",";
187
- default:
188
- return "&";
189
- }
190
- };
191
- var separatorArrayNoExplode = (style) => {
192
- switch (style) {
193
- case "form":
194
- return ",";
195
- case "pipeDelimited":
196
- return "|";
197
- case "spaceDelimited":
198
- return "%20";
199
- default:
200
- return ",";
201
- }
202
- };
203
- var separatorObjectExplode = (style) => {
204
- switch (style) {
205
- case "label":
206
- return ".";
207
- case "matrix":
208
- return ";";
209
- case "simple":
210
- return ",";
211
- default:
212
- return "&";
213
- }
214
- };
215
- var serializeArrayParam = ({
216
- allowReserved,
217
- explode,
218
- name,
219
- style,
220
- value
221
- }) => {
222
- if (!explode) {
223
- const joinedValues2 = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
224
- switch (style) {
225
- case "label":
226
- return `.${joinedValues2}`;
227
- case "matrix":
228
- return `;${name}=${joinedValues2}`;
229
- case "simple":
230
- return joinedValues2;
231
- default:
232
- return `${name}=${joinedValues2}`;
233
- }
234
- }
235
- const separator = separatorArrayExplode(style);
236
- const joinedValues = value.map((v) => {
237
- if (style === "label" || style === "simple") {
238
- return allowReserved ? v : encodeURIComponent(v);
239
- }
240
- return serializePrimitiveParam({
241
- allowReserved,
242
- name,
243
- value: v
244
- });
245
- }).join(separator);
246
- return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
247
- };
248
- var serializePrimitiveParam = ({
249
- allowReserved,
250
- name,
251
- value
252
- }) => {
253
- if (value === void 0 || value === null) {
254
- return "";
255
- }
256
- if (typeof value === "object") {
257
- throw new Error(
258
- "Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these."
259
- );
260
- }
261
- return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;
262
- };
263
- var serializeObjectParam = ({
264
- allowReserved,
265
- explode,
266
- name,
267
- style,
268
- value,
269
- valueOnly
270
- }) => {
271
- if (value instanceof Date) {
272
- return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;
273
- }
274
- if (style !== "deepObject" && !explode) {
275
- let values = [];
276
- Object.entries(value).forEach(([key, v]) => {
277
- values = [
278
- ...values,
279
- key,
280
- allowReserved ? v : encodeURIComponent(v)
281
- ];
282
- });
283
- const joinedValues2 = values.join(",");
284
- switch (style) {
285
- case "form":
286
- return `${name}=${joinedValues2}`;
287
- case "label":
288
- return `.${joinedValues2}`;
289
- case "matrix":
290
- return `;${name}=${joinedValues2}`;
291
- default:
292
- return joinedValues2;
293
- }
294
- }
295
- const separator = separatorObjectExplode(style);
296
- const joinedValues = Object.entries(value).map(
297
- ([key, v]) => serializePrimitiveParam({
298
- allowReserved,
299
- name: style === "deepObject" ? `${name}[${key}]` : key,
300
- value: v
301
- })
302
- ).join(separator);
303
- return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
304
- };
305
-
306
- // client/core/utils.gen.ts
307
- var PATH_PARAM_RE = /\{[^{}]+\}/g;
308
- var defaultPathSerializer = ({ path, url: _url }) => {
309
- let url = _url;
310
- const matches = _url.match(PATH_PARAM_RE);
311
- if (matches) {
312
- for (const match of matches) {
313
- let explode = false;
314
- let name = match.substring(1, match.length - 1);
315
- let style = "simple";
316
- if (name.endsWith("*")) {
317
- explode = true;
318
- name = name.substring(0, name.length - 1);
319
- }
320
- if (name.startsWith(".")) {
321
- name = name.substring(1);
322
- style = "label";
323
- } else if (name.startsWith(";")) {
324
- name = name.substring(1);
325
- style = "matrix";
326
- }
327
- const value = path[name];
328
- if (value === void 0 || value === null) {
329
- continue;
330
- }
331
- if (Array.isArray(value)) {
332
- url = url.replace(
333
- match,
334
- serializeArrayParam({ explode, name, style, value })
335
- );
336
- continue;
337
- }
338
- if (typeof value === "object") {
339
- url = url.replace(
340
- match,
341
- serializeObjectParam({
342
- explode,
343
- name,
344
- style,
345
- value,
346
- valueOnly: true
347
- })
348
- );
349
- continue;
350
- }
351
- if (style === "matrix") {
352
- url = url.replace(
353
- match,
354
- `;${serializePrimitiveParam({
355
- name,
356
- value
357
- })}`
358
- );
359
- continue;
360
- }
361
- const replaceValue = encodeURIComponent(
362
- style === "label" ? `.${value}` : value
363
- );
364
- url = url.replace(match, replaceValue);
365
- }
366
- }
367
- return url;
368
- };
369
- var getUrl = ({
370
- baseUrl,
371
- path,
372
- query,
373
- querySerializer,
374
- url: _url
375
- }) => {
376
- const pathUrl = _url.startsWith("/") ? _url : `/${_url}`;
377
- let url = (baseUrl ?? "") + pathUrl;
378
- if (path) {
379
- url = defaultPathSerializer({ path, url });
380
- }
381
- let search = query ? querySerializer(query) : "";
382
- if (search.startsWith("?")) {
383
- search = search.substring(1);
384
- }
385
- if (search) {
386
- url += `?${search}`;
387
- }
388
- return url;
389
- };
390
- function getValidRequestBody(options) {
391
- const hasBody = options.body !== void 0;
392
- const isSerializedBody = hasBody && options.bodySerializer;
393
- if (isSerializedBody) {
394
- if ("serializedBody" in options) {
395
- const hasSerializedBody = options.serializedBody !== void 0 && options.serializedBody !== "";
396
- return hasSerializedBody ? options.serializedBody : null;
397
- }
398
- return options.body !== "" ? options.body : null;
399
- }
400
- if (hasBody) {
401
- return options.body;
402
- }
403
- return void 0;
404
- }
405
-
406
- // client/core/auth.gen.ts
407
- var getAuthToken = async (auth, callback) => {
408
- const token = typeof callback === "function" ? await callback(auth) : callback;
409
- if (!token) {
410
- return;
411
- }
412
- if (auth.scheme === "bearer") {
413
- return `Bearer ${token}`;
414
- }
415
- if (auth.scheme === "basic") {
416
- return `Basic ${btoa(token)}`;
417
- }
418
- return token;
419
- };
420
-
421
- // client/client/utils.gen.ts
422
- var createQuerySerializer = ({
423
- parameters = {},
424
- ...args
425
- } = {}) => {
426
- const querySerializer = (queryParams) => {
427
- const search = [];
428
- if (queryParams && typeof queryParams === "object") {
429
- for (const name in queryParams) {
430
- const value = queryParams[name];
431
- if (value === void 0 || value === null) {
432
- continue;
433
- }
434
- const options = parameters[name] || args;
435
- if (Array.isArray(value)) {
436
- const serializedArray = serializeArrayParam({
437
- allowReserved: options.allowReserved,
438
- explode: true,
439
- name,
440
- style: "form",
441
- value,
442
- ...options.array
443
- });
444
- if (serializedArray) search.push(serializedArray);
445
- } else if (typeof value === "object") {
446
- const serializedObject = serializeObjectParam({
447
- allowReserved: options.allowReserved,
448
- explode: true,
449
- name,
450
- style: "deepObject",
451
- value,
452
- ...options.object
453
- });
454
- if (serializedObject) search.push(serializedObject);
455
- } else {
456
- const serializedPrimitive = serializePrimitiveParam({
457
- allowReserved: options.allowReserved,
458
- name,
459
- value
460
- });
461
- if (serializedPrimitive) search.push(serializedPrimitive);
462
- }
463
- }
464
- }
465
- return search.join("&");
466
- };
467
- return querySerializer;
468
- };
469
- var getParseAs = (contentType) => {
470
- if (!contentType) {
471
- return "stream";
472
- }
473
- const cleanContent = contentType.split(";")[0]?.trim();
474
- if (!cleanContent) {
475
- return;
476
- }
477
- if (cleanContent.startsWith("application/json") || cleanContent.endsWith("+json")) {
478
- return "json";
479
- }
480
- if (cleanContent === "multipart/form-data") {
481
- return "formData";
482
- }
483
- if (["application/", "audio/", "image/", "video/"].some(
484
- (type) => cleanContent.startsWith(type)
485
- )) {
486
- return "blob";
487
- }
488
- if (cleanContent.startsWith("text/")) {
489
- return "text";
490
- }
491
- return;
492
- };
493
- var checkForExistence = (options, name) => {
494
- if (!name) {
495
- return false;
496
- }
497
- if (options.headers.has(name) || options.query?.[name] || options.headers.get("Cookie")?.includes(`${name}=`)) {
498
- return true;
499
- }
500
- return false;
501
- };
502
- var setAuthParams = async ({
503
- security,
504
- ...options
505
- }) => {
506
- for (const auth of security) {
507
- if (checkForExistence(options, auth.name)) {
508
- continue;
509
- }
510
- const token = await getAuthToken(auth, options.auth);
511
- if (!token) {
512
- continue;
513
- }
514
- const name = auth.name ?? "Authorization";
515
- switch (auth.in) {
516
- case "query":
517
- if (!options.query) {
518
- options.query = {};
519
- }
520
- options.query[name] = token;
521
- break;
522
- case "cookie":
523
- options.headers.append("Cookie", `${name}=${token}`);
524
- break;
525
- case "header":
526
- default:
527
- options.headers.set(name, token);
528
- break;
529
- }
530
- }
531
- };
532
- var buildUrl = (options) => getUrl({
533
- baseUrl: options.baseUrl,
534
- path: options.path,
535
- query: options.query,
536
- querySerializer: typeof options.querySerializer === "function" ? options.querySerializer : createQuerySerializer(options.querySerializer),
537
- url: options.url
538
- });
539
- var mergeConfigs = (a, b) => {
540
- const config = { ...a, ...b };
541
- if (config.baseUrl?.endsWith("/")) {
542
- config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);
543
- }
544
- config.headers = mergeHeaders(a.headers, b.headers);
545
- return config;
546
- };
547
- var headersEntries = (headers) => {
548
- const entries = [];
549
- headers.forEach((value, key) => {
550
- entries.push([key, value]);
551
- });
552
- return entries;
553
- };
554
- var mergeHeaders = (...headers) => {
555
- const mergedHeaders = new Headers();
556
- for (const header of headers) {
557
- if (!header) {
558
- continue;
559
- }
560
- const iterator = header instanceof Headers ? headersEntries(header) : Object.entries(header);
561
- for (const [key, value] of iterator) {
562
- if (value === null) {
563
- mergedHeaders.delete(key);
564
- } else if (Array.isArray(value)) {
565
- for (const v of value) {
566
- mergedHeaders.append(key, v);
567
- }
568
- } else if (value !== void 0) {
569
- mergedHeaders.set(
570
- key,
571
- typeof value === "object" ? JSON.stringify(value) : value
572
- );
573
- }
574
- }
575
- }
576
- return mergedHeaders;
577
- };
578
- var Interceptors = class {
579
- fns = [];
580
- clear() {
581
- this.fns = [];
582
- }
583
- eject(id) {
584
- const index = this.getInterceptorIndex(id);
585
- if (this.fns[index]) {
586
- this.fns[index] = null;
587
- }
588
- }
589
- exists(id) {
590
- const index = this.getInterceptorIndex(id);
591
- return Boolean(this.fns[index]);
592
- }
593
- getInterceptorIndex(id) {
594
- if (typeof id === "number") {
595
- return this.fns[id] ? id : -1;
596
- }
597
- return this.fns.indexOf(id);
598
- }
599
- update(id, fn) {
600
- const index = this.getInterceptorIndex(id);
601
- if (this.fns[index]) {
602
- this.fns[index] = fn;
603
- return id;
604
- }
605
- return false;
606
- }
607
- use(fn) {
608
- this.fns.push(fn);
609
- return this.fns.length - 1;
610
- }
611
- };
612
- var createInterceptors = () => ({
613
- error: new Interceptors(),
614
- request: new Interceptors(),
615
- response: new Interceptors()
616
- });
617
- var defaultQuerySerializer = createQuerySerializer({
618
- allowReserved: false,
619
- array: {
620
- explode: true,
621
- style: "form"
622
- },
623
- object: {
624
- explode: true,
625
- style: "deepObject"
626
- }
627
- });
628
- var defaultHeaders = {
629
- "Content-Type": "application/json"
630
- };
631
- var createConfig = (override = {}) => ({
632
- ...jsonBodySerializer,
633
- headers: defaultHeaders,
634
- parseAs: "auto",
635
- querySerializer: defaultQuerySerializer,
636
- ...override
637
- });
638
-
639
- // client/client/client.gen.ts
640
- var createClient = (config = {}) => {
641
- let _config = mergeConfigs(createConfig(), config);
642
- const getConfig = () => ({ ..._config });
643
- const setConfig = (config2) => {
644
- _config = mergeConfigs(_config, config2);
645
- return getConfig();
646
- };
647
- const interceptors = createInterceptors();
648
- const beforeRequest = async (options) => {
649
- const opts = {
650
- ..._config,
651
- ...options,
652
- fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,
653
- headers: mergeHeaders(_config.headers, options.headers),
654
- serializedBody: void 0
655
- };
656
- if (opts.security) {
657
- await setAuthParams({
658
- ...opts,
659
- security: opts.security
660
- });
661
- }
662
- if (opts.requestValidator) {
663
- await opts.requestValidator(opts);
664
- }
665
- if (opts.body !== void 0 && opts.bodySerializer) {
666
- opts.serializedBody = opts.bodySerializer(opts.body);
667
- }
668
- if (opts.body === void 0 || opts.serializedBody === "") {
669
- opts.headers.delete("Content-Type");
670
- }
671
- const url = buildUrl(opts);
672
- return { opts, url };
673
- };
674
- const request = async (options) => {
675
- const { opts, url } = await beforeRequest(options);
676
- const requestInit = {
677
- redirect: "follow",
678
- ...opts,
679
- body: getValidRequestBody(opts)
680
- };
681
- let request2 = new Request(url, requestInit);
682
- for (const fn of interceptors.request.fns) {
683
- if (fn) {
684
- request2 = await fn(request2, opts);
685
- }
686
- }
687
- const _fetch = opts.fetch;
688
- let response = await _fetch(request2);
689
- for (const fn of interceptors.response.fns) {
690
- if (fn) {
691
- response = await fn(response, request2, opts);
692
- }
693
- }
694
- const result = {
695
- request: request2,
696
- response
697
- };
698
- if (response.ok) {
699
- const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
700
- if (response.status === 204 || response.headers.get("Content-Length") === "0") {
701
- let emptyData;
702
- switch (parseAs) {
703
- case "arrayBuffer":
704
- case "blob":
705
- case "text":
706
- emptyData = await response[parseAs]();
707
- break;
708
- case "formData":
709
- emptyData = new FormData();
710
- break;
711
- case "stream":
712
- emptyData = response.body;
713
- break;
714
- case "json":
715
- default:
716
- emptyData = {};
717
- break;
718
- }
719
- return opts.responseStyle === "data" ? emptyData : {
720
- data: emptyData,
721
- ...result
722
- };
723
- }
724
- let data;
725
- switch (parseAs) {
726
- case "arrayBuffer":
727
- case "blob":
728
- case "formData":
729
- case "json":
730
- case "text":
731
- data = await response[parseAs]();
732
- break;
733
- case "stream":
734
- return opts.responseStyle === "data" ? response.body : {
735
- data: response.body,
736
- ...result
737
- };
738
- }
739
- if (parseAs === "json") {
740
- if (opts.responseValidator) {
741
- await opts.responseValidator(data);
742
- }
743
- if (opts.responseTransformer) {
744
- data = await opts.responseTransformer(data);
745
- }
746
- }
747
- return opts.responseStyle === "data" ? data : {
748
- data,
749
- ...result
750
- };
751
- }
752
- const textError = await response.text();
753
- let jsonError;
754
- try {
755
- jsonError = JSON.parse(textError);
756
- } catch {
757
- }
758
- const error = jsonError ?? textError;
759
- let finalError = error;
760
- for (const fn of interceptors.error.fns) {
761
- if (fn) {
762
- finalError = await fn(error, response, request2, opts);
763
- }
764
- }
765
- finalError = finalError || {};
766
- if (opts.throwOnError) {
767
- throw finalError;
768
- }
769
- return opts.responseStyle === "data" ? void 0 : {
770
- error: finalError,
771
- ...result
772
- };
773
- };
774
- const makeMethodFn = (method) => (options) => request({ ...options, method });
775
- const makeSseFn = (method) => async (options) => {
776
- const { opts, url } = await beforeRequest(options);
777
- return createSseClient({
778
- ...opts,
779
- body: opts.body,
780
- headers: opts.headers,
781
- method,
782
- onRequest: async (url2, init) => {
783
- let request2 = new Request(url2, init);
784
- for (const fn of interceptors.request.fns) {
785
- if (fn) {
786
- request2 = await fn(request2, opts);
787
- }
788
- }
789
- return request2;
790
- },
791
- url
792
- });
793
- };
794
- return {
795
- buildUrl,
796
- connect: makeMethodFn("CONNECT"),
797
- delete: makeMethodFn("DELETE"),
798
- get: makeMethodFn("GET"),
799
- getConfig,
800
- head: makeMethodFn("HEAD"),
801
- interceptors,
802
- options: makeMethodFn("OPTIONS"),
803
- patch: makeMethodFn("PATCH"),
804
- post: makeMethodFn("POST"),
805
- put: makeMethodFn("PUT"),
806
- request,
807
- setConfig,
808
- sse: {
809
- connect: makeSseFn("CONNECT"),
810
- delete: makeSseFn("DELETE"),
811
- get: makeSseFn("GET"),
812
- head: makeSseFn("HEAD"),
813
- options: makeSseFn("OPTIONS"),
814
- patch: makeSseFn("PATCH"),
815
- post: makeSseFn("POST"),
816
- put: makeSseFn("PUT"),
817
- trace: makeSseFn("TRACE")
818
- },
819
- trace: makeMethodFn("TRACE")
820
- };
821
- };
822
-
823
- // client/client.gen.ts
824
- var client = createClient(createConfig());
825
-
826
- // client/sdk.gen.ts
827
- var getNegotiationDeltas = (options) => {
828
- return (options.client ?? client).put({
829
- security: [
830
- {
831
- name: "Authorization",
832
- type: "apiKey"
833
- }
834
- ],
835
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/calculate",
836
- ...options,
837
- headers: {
838
- "Content-Type": "application/json",
839
- ...options.headers
840
- }
841
- });
842
- };
843
- var getAmendDefaults = (options) => {
844
- return (options.client ?? client).get({
845
- security: [
846
- {
847
- name: "Authorization",
848
- type: "apiKey"
849
- }
850
- ],
851
- url: "/api/v1/documents/{documentId}/schemas/{version}/amendDefaults",
852
- ...options
853
- });
854
- };
855
- var negotiationRenderTemplate = (options) => {
856
- return (options.client ?? client).get({
857
- security: [
858
- {
859
- name: "Authorization",
860
- type: "apiKey"
861
- }
862
- ],
863
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview",
864
- ...options
865
- });
866
- };
867
- var cancelNegotiationsJobCount = (options) => {
868
- return (options.client ?? client).get({
869
- security: [
870
- {
871
- name: "Authorization",
872
- type: "apiKey"
873
- }
874
- ],
875
- url: "/api/v1/subAccounts/{subAccountId}/cancelNegotiationJobCount",
876
- ...options
877
- });
878
- };
879
- var auditTrailForSubAccountAsJson = (options) => {
880
- return (options.client ?? client).get({
881
- security: [
882
- {
883
- name: "Authorization",
884
- type: "apiKey"
885
- }
886
- ],
887
- url: "/api/v1/subAccounts/{subAccountId}/audit_trail/json",
888
- ...options
889
- });
890
- };
891
- var getDocumentSchema = (options) => {
892
- return (options.client ?? client).get({
893
- security: [
894
- {
895
- name: "Authorization",
896
- type: "apiKey"
897
- }
898
- ],
899
- url: "/api/v1/documents/{documentId}/schemas/{version}",
900
- ...options
901
- });
902
- };
903
- var auditTrailForAccountAsJson = (options) => {
904
- return (options.client ?? client).get({
905
- security: [
906
- {
907
- name: "Authorization",
908
- type: "apiKey"
909
- }
910
- ],
911
- url: "/api/v1/account/audit_trail/json",
912
- ...options
913
- });
914
- };
915
- var sendBulkSetToCounterpartiesInitial = (options) => {
916
- return (options.client ?? client).put({
917
- security: [
918
- {
919
- name: "Authorization",
920
- type: "apiKey"
921
- }
922
- ],
923
- url: "/api/v1/bulkSets/{bulkSetId}/sendToCounterparty/initial",
924
- ...options
925
- });
926
- };
927
- var getWatchers = (options) => {
928
- return (options.client ?? client).get({
929
- security: [
930
- {
931
- name: "Authorization",
932
- type: "apiKey"
933
- }
934
- ],
935
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/watchers",
936
- ...options
937
- });
938
- };
939
- var addWatchers = (options) => {
940
- return (options.client ?? client).post({
941
- security: [
942
- {
943
- name: "Authorization",
944
- type: "apiKey"
945
- }
946
- ],
947
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/watchers",
948
- ...options,
949
- headers: {
950
- "Content-Type": "application/json",
951
- ...options.headers
952
- }
953
- });
954
- };
955
- var getUserStatistics = (options) => {
956
- return (options.client ?? client).get({
957
- security: [
958
- {
959
- name: "Authorization",
960
- type: "apiKey"
961
- }
962
- ],
963
- url: "/api/v2/subAccounts/{subAccountId}/statistics/users/{userId}",
964
- ...options
965
- });
966
- };
967
- var revertToAmending = (options) => {
968
- return (options.client ?? client).put({
969
- security: [
970
- {
971
- name: "Authorization",
972
- type: "apiKey"
973
- }
974
- ],
975
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/revertToAmending",
976
- ...options,
977
- headers: {
978
- "Content-Type": "application/json",
979
- ...options.headers
980
- }
981
- });
982
- };
983
- var setReceiverEntity = (options) => {
984
- return (options.client ?? client).put({
985
- security: [
986
- {
987
- name: "Authorization",
988
- type: "apiKey"
989
- }
990
- ],
991
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/entities",
992
- ...options,
993
- headers: {
994
- "Content-Type": "application/json",
995
- ...options.headers
996
- }
997
- });
998
- };
999
- var markCommentEventsAsViewed = (options) => {
1000
- return (options.client ?? client).put({
1001
- security: [
1002
- {
1003
- name: "Authorization",
1004
- type: "apiKey"
1005
- }
1006
- ],
1007
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/comments/markAsRead",
1008
- ...options,
1009
- headers: {
1010
- "Content-Type": "application/json",
1011
- ...options.headers
1012
- }
1013
- });
1014
- };
1015
- var presetSetFinalApproval = (options) => {
1016
- return (options.client ?? client).put({
1017
- security: [
1018
- {
1019
- name: "Authorization",
1020
- type: "apiKey"
1021
- }
1022
- ],
1023
- url: "/api/v1/presets/{presetId}/approvals/document",
1024
- ...options,
1025
- headers: {
1026
- "Content-Type": "application/json",
1027
- ...options.headers
1028
- }
1029
- });
1030
- };
1031
- var authPing = (options) => {
1032
- return (options?.client ?? client).get({
1033
- url: "/api/v1/authPing",
1034
- ...options
1035
- });
1036
- };
1037
- var listAllPresetsForSubAccountV1 = (options) => {
1038
- return (options.client ?? client).get({
1039
- security: [
1040
- {
1041
- name: "Authorization",
1042
- type: "apiKey"
1043
- }
1044
- ],
1045
- url: "/api/v1/subAccounts/{subAccountId}/presets",
1046
- ...options
1047
- });
1048
- };
1049
- var createPreset = (options) => {
1050
- return (options.client ?? client).post({
1051
- security: [
1052
- {
1053
- name: "Authorization",
1054
- type: "apiKey"
1055
- }
1056
- ],
1057
- url: "/api/v1/subAccounts/{subAccountId}/presets",
1058
- ...options,
1059
- headers: {
1060
- "Content-Type": "application/json",
1061
- ...options.headers
1062
- }
1063
- });
1064
- };
1065
- var presetGetMultipleNestedAnswers = (options) => {
1066
- return (options.client ?? client).post({
1067
- security: [
1068
- {
1069
- name: "Authorization",
1070
- type: "apiKey"
1071
- }
1072
- ],
1073
- url: "/api/v1/presets/{presetId}/answers/nested/bulk",
1074
- ...options,
1075
- headers: {
1076
- "Content-Type": "application/json",
1077
- ...options.headers
1078
- }
1079
- });
1080
- };
1081
- var presetSetMultipleNestedAnswers = (options) => {
1082
- return (options.client ?? client).put({
1083
- security: [
1084
- {
1085
- name: "Authorization",
1086
- type: "apiKey"
1087
- }
1088
- ],
1089
- url: "/api/v1/presets/{presetId}/answers/nested/bulk",
1090
- ...options,
1091
- headers: {
1092
- "Content-Type": "application/json",
1093
- ...options.headers
1094
- }
1095
- });
1096
- };
1097
- var approve = (options) => {
1098
- return (options.client ?? client).put({
1099
- security: [
1100
- {
1101
- name: "Authorization",
1102
- type: "apiKey"
1103
- }
1104
- ],
1105
- url: "/api/v1/presets/{presetId}/approvals/approve",
1106
- ...options
1107
- });
1108
- };
1109
- var updateCommentReaction = (options) => {
1110
- return (options.client ?? client).put({
1111
- security: [
1112
- {
1113
- name: "Authorization",
1114
- type: "apiKey"
1115
- }
1116
- ],
1117
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/{channel}/comments/{eventId}/reactions",
1118
- ...options,
1119
- headers: {
1120
- "Content-Type": "application/json",
1121
- ...options.headers
1122
- }
1123
- });
1124
- };
1125
- var overrideApproveFinalDocument = (options) => {
1126
- return (options.client ?? client).put({
1127
- security: [
1128
- {
1129
- name: "Authorization",
1130
- type: "apiKey"
1131
- }
1132
- ],
1133
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document/approve/override",
1134
- ...options,
1135
- headers: {
1136
- "Content-Type": "application/json",
1137
- ...options.headers
1138
- }
1139
- });
1140
- };
1141
- var deleteEntity = (options) => {
1142
- return (options.client ?? client).delete({
1143
- security: [
1144
- {
1145
- name: "Authorization",
1146
- type: "apiKey"
1147
- }
1148
- ],
1149
- url: "/api/v1/account/entity/{entityId}",
1150
- ...options
1151
- });
1152
- };
1153
- var getSecurityContext = (options) => {
1154
- return (options?.client ?? client).get({
1155
- security: [
1156
- {
1157
- name: "Authorization",
1158
- type: "apiKey"
1159
- }
1160
- ],
1161
- url: "/api/v1/user/context",
1162
- ...options
1163
- });
1164
- };
1165
- var updateSelectedElections = (options) => {
1166
- return (options.client ?? client).put({
1167
- security: [
1168
- {
1169
- name: "Authorization",
1170
- type: "apiKey"
1171
- }
1172
- ],
1173
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/elections",
1174
- ...options,
1175
- headers: {
1176
- "Content-Type": "application/json",
1177
- ...options.headers
1178
- }
1179
- });
1180
- };
1181
- var generateAuditTrailForAccountAsExcel = (options) => {
1182
- return (options.client ?? client).get({
1183
- security: [
1184
- {
1185
- name: "Authorization",
1186
- type: "apiKey"
1187
- }
1188
- ],
1189
- url: "/api/v1/account/audit_trail/xlsx",
1190
- ...options
1191
- });
1192
- };
1193
- var presetEditAnswers = (options) => {
1194
- return (options.client ?? client).put({
1195
- security: [
1196
- {
1197
- name: "Authorization",
1198
- type: "apiKey"
1199
- }
1200
- ],
1201
- url: "/api/v1/presets/{presetId}/answers",
1202
- ...options,
1203
- headers: {
1204
- "Content-Type": "application/json",
1205
- ...options.headers
1206
- }
1207
- });
1208
- };
1209
- var deleteComment = (options) => {
1210
- return (options.client ?? client).delete({
1211
- security: [
1212
- {
1213
- name: "Authorization",
1214
- type: "apiKey"
1215
- }
1216
- ],
1217
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/{channel}/comments/{eventId}",
1218
- ...options,
1219
- headers: {
1220
- "Content-Type": "application/json",
1221
- ...options.headers
1222
- }
1223
- });
1224
- };
1225
- var updateComment = (options) => {
1226
- return (options.client ?? client).put({
1227
- security: [
1228
- {
1229
- name: "Authorization",
1230
- type: "apiKey"
1231
- }
1232
- ],
1233
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/{channel}/comments/{eventId}",
1234
- ...options,
1235
- headers: {
1236
- "Content-Type": "application/json",
1237
- ...options.headers
1238
- }
1239
- });
1240
- };
1241
- var deleteGeneralCoverNote = (options) => {
1242
- return (options.client ?? client).delete({
1243
- security: [
1244
- {
1245
- name: "Authorization",
1246
- type: "apiKey"
1247
- }
1248
- ],
1249
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/coverNote",
1250
- ...options
1251
- });
1252
- };
1253
- var setGeneralCoverNote = (options) => {
1254
- return (options.client ?? client).put({
1255
- security: [
1256
- {
1257
- name: "Authorization",
1258
- type: "apiKey"
1259
- }
1260
- ],
1261
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/coverNote",
1262
- ...options,
1263
- headers: {
1264
- "Content-Type": "application/json",
1265
- ...options.headers
1266
- }
1267
- });
1268
- };
1269
- var publisherSummaries = (options) => {
1270
- return (options?.client ?? client).get({
1271
- security: [
1272
- {
1273
- name: "Authorization",
1274
- type: "apiKey"
1275
- }
1276
- ],
1277
- url: "/api/v1/documents/publishers/summaries",
1278
- ...options
1279
- });
1280
- };
1281
- var sendManualReminderEmail = (options) => {
1282
- return (options.client ?? client).post({
1283
- security: [
1284
- {
1285
- name: "Authorization",
1286
- type: "apiKey"
1287
- }
1288
- ],
1289
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendManualReminderEmail",
1290
- ...options
1291
- });
1292
- };
1293
- var validateEntities = (options) => {
1294
- return (options.client ?? client).post({
1295
- security: [
1296
- {
1297
- name: "Authorization",
1298
- type: "apiKey"
1299
- }
1300
- ],
1301
- url: "/api/v1/entity/validate",
1302
- ...options,
1303
- headers: {
1304
- "Content-Type": "application/json",
1305
- ...options.headers
1306
- }
1307
- });
1308
- };
1309
- var grantAllNegotiationsAccess = (options) => {
1310
- return (options.client ?? client).put({
1311
- security: [
1312
- {
1313
- name: "Authorization",
1314
- type: "apiKey"
1315
- }
1316
- ],
1317
- url: "/api/v1/advisor/subAccounts/{subAccountId}/relationships/{relationshipId}/negotiations/all",
1318
- ...options
1319
- });
1320
- };
1321
- var getNegotiationESignStatus = (options) => {
1322
- return (options.client ?? client).get({
1323
- security: [
1324
- {
1325
- name: "Authorization",
1326
- type: "apiKey"
1327
- }
1328
- ],
1329
- url: "/api/v1/docusign/status/subAccounts/{subAccountId}/negotiations/{negotiationId}",
1330
- ...options
1331
- });
1332
- };
1333
- var unsubscribe = (options) => {
1334
- return (options.client ?? client).post({
1335
- security: [
1336
- {
1337
- name: "Authorization",
1338
- type: "apiKey"
1339
- }
1340
- ],
1341
- url: "/api/v1/negotiations/{negotiationId}/muteNotifications",
1342
- ...options,
1343
- headers: {
1344
- "Content-Type": "application/json",
1345
- ...options.headers
1346
- }
1347
- });
1348
- };
1349
- var overrideRejectFinalDocument = (options) => {
1350
- return (options.client ?? client).put({
1351
- security: [
1352
- {
1353
- name: "Authorization",
1354
- type: "apiKey"
1355
- }
1356
- ],
1357
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document/reject/override",
1358
- ...options,
1359
- headers: {
1360
- "Content-Type": "application/json",
1361
- ...options.headers
1362
- }
1363
- });
1364
- };
1365
- var version = (options) => {
1366
- return (options?.client ?? client).get({
1367
- security: [
1368
- {
1369
- name: "Authorization",
1370
- type: "apiKey"
1371
- }
1372
- ],
1373
- url: "/api/v1/version",
1374
- ...options
1375
- });
1376
- };
1377
- var updateExtractionFeedback = (options) => {
1378
- return (options.client ?? client).put({
1379
- security: [
1380
- {
1381
- name: "Authorization",
1382
- type: "apiKey"
1383
- }
1384
- ],
1385
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/feedback",
1386
- ...options,
1387
- headers: {
1388
- "Content-Type": "application/json",
1389
- ...options.headers
1390
- }
1391
- });
1392
- };
1393
- var getLatestDocumentSchema = (options) => {
1394
- return (options.client ?? client).get({
1395
- security: [
1396
- {
1397
- name: "Authorization",
1398
- type: "apiKey"
1399
- }
1400
- ],
1401
- url: "/api/v1/documents/{documentId}/latest_schema",
1402
- ...options
1403
- });
1404
- };
1405
- var getPreviousMajorVersionsNestedAnswerIds = (options) => {
1406
- return (options.client ?? client).get({
1407
- security: [
1408
- {
1409
- name: "Authorization",
1410
- type: "apiKey"
1411
- }
1412
- ],
1413
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/elections/{electionId}/previousAnswers",
1414
- ...options
1415
- });
1416
- };
1417
- var addElectionRejection = (options) => {
1418
- return (options.client ?? client).put({
1419
- security: [
1420
- {
1421
- name: "Authorization",
1422
- type: "apiKey"
1423
- }
1424
- ],
1425
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/reject",
1426
- ...options,
1427
- headers: {
1428
- "Content-Type": "application/json",
1429
- ...options.headers
1430
- }
1431
- });
1432
- };
1433
- var listPresets = (options) => {
1434
- return (options.client ?? client).get({
1435
- security: [
1436
- {
1437
- name: "Authorization",
1438
- type: "apiKey"
1439
- }
1440
- ],
1441
- url: "/api/v1/subAccounts/{subAccountId}/documents/{documentId}/presets",
1442
- ...options
1443
- });
1444
- };
1445
- var getTimeline = (options) => {
1446
- return (options.client ?? client).get({
1447
- security: [
1448
- {
1449
- name: "Authorization",
1450
- type: "apiKey"
1451
- }
1452
- ],
1453
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline",
1454
- ...options
1455
- });
1456
- };
1457
- var markEventsAsViewed = (options) => {
1458
- return (options.client ?? client).post({
1459
- security: [
1460
- {
1461
- name: "Authorization",
1462
- type: "apiKey"
1463
- }
1464
- ],
1465
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline",
1466
- ...options
1467
- });
1468
- };
1469
- var negotiationForkHistory = (options) => {
1470
- return (options.client ?? client).get({
1471
- security: [
1472
- {
1473
- name: "Authorization",
1474
- type: "apiKey"
1475
- }
1476
- ],
1477
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/restatementHistory",
1478
- ...options
1479
- });
1480
- };
1481
- var moveEntity = (options) => {
1482
- return (options.client ?? client).put({
1483
- security: [
1484
- {
1485
- name: "Authorization",
1486
- type: "apiKey"
1487
- }
1488
- ],
1489
- url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
1490
- ...options,
1491
- headers: {
1492
- "Content-Type": "application/json",
1493
- ...options.headers
1494
- }
1495
- });
1496
- };
1497
- var listEntities = (options) => {
1498
- return (options?.client ?? client).get({
1499
- security: [
1500
- {
1501
- name: "Authorization",
1502
- type: "apiKey"
1503
- }
1504
- ],
1505
- url: "/api/v1/account/entities",
1506
- ...options
1507
- });
1508
- };
1509
- var shareSubAccount = (options) => {
1510
- return (options.client ?? client).post({
1511
- security: [
1512
- {
1513
- name: "Authorization",
1514
- type: "apiKey"
1515
- }
1516
- ],
1517
- url: "/api/v1/subAccounts/{subAccountId}/share",
1518
- ...options,
1519
- headers: {
1520
- "Content-Type": "application/json",
1521
- ...options.headers
1522
- }
1523
- });
1524
- };
1525
- var assignEntity = (options) => {
1526
- return (options.client ?? client).put({
1527
- security: [
1528
- {
1529
- name: "Authorization",
1530
- type: "apiKey"
1531
- }
1532
- ],
1533
- url: "/api/v1/subAccounts/{subAccountId}/entity",
1534
- ...options,
1535
- headers: {
1536
- "Content-Type": "application/json",
1537
- ...options.headers
1538
- }
1539
- });
1540
- };
1541
- var setFinalApproval = (options) => {
1542
- return (options.client ?? client).put({
1543
- security: [
1544
- {
1545
- name: "Authorization",
1546
- type: "apiKey"
1547
- }
1548
- ],
1549
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document",
1550
- ...options,
1551
- headers: {
1552
- "Content-Type": "application/json",
1553
- ...options.headers
1554
- }
1555
- });
1556
- };
1557
- var setElectionApproval = (options) => {
1558
- return (options.client ?? client).put({
1559
- security: [
1560
- {
1561
- name: "Authorization",
1562
- type: "apiKey"
1563
- }
1564
- ],
1565
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}",
1566
- ...options,
1567
- headers: {
1568
- "Content-Type": "application/json",
1569
- ...options.headers
1570
- }
1571
- });
1572
- };
1573
- var getPotentialReplacementApprovers = (options) => {
1574
- return (options.client ?? client).get({
1575
- security: [
1576
- {
1577
- name: "Authorization",
1578
- type: "apiKey"
1579
- }
1580
- ],
1581
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/getPotentialReplacementApprovers",
1582
- ...options
1583
- });
1584
- };
1585
- var deleteApprovalComment = (options) => {
1586
- return (options.client ?? client).delete({
1587
- security: [
1588
- {
1589
- name: "Authorization",
1590
- type: "apiKey"
1591
- }
1592
- ],
1593
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}",
1594
- ...options
1595
- });
1596
- };
1597
- var editApprovalComment = (options) => {
1598
- return (options.client ?? client).put({
1599
- security: [
1600
- {
1601
- name: "Authorization",
1602
- type: "apiKey"
1603
- }
1604
- ],
1605
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}",
1606
- ...options,
1607
- headers: {
1608
- "Content-Type": "application/json",
1609
- ...options.headers
1610
- }
1611
- });
1612
- };
1613
- var deleteExternalAttachment = (options) => {
1614
- return (options.client ?? client).delete({
1615
- security: [
1616
- {
1617
- name: "Authorization",
1618
- type: "apiKey"
1619
- }
1620
- ],
1621
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}",
1622
- ...options
1623
- });
1624
- };
1625
- var getExternalAttachment = (options) => {
1626
- return (options.client ?? client).get({
1627
- security: [
1628
- {
1629
- name: "Authorization",
1630
- type: "apiKey"
1631
- }
1632
- ],
1633
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}",
1634
- ...options
1635
- });
1636
- };
1637
- var listPotentialNegotiationAdvisors = (options) => {
1638
- return (options.client ?? client).get({
1639
- security: [
1640
- {
1641
- name: "Authorization",
1642
- type: "apiKey"
1643
- }
1644
- ],
1645
- url: "/api/v1/advisor/subAccounts/{subAccountId}/negotiations/{negotiationId}/potentialAdvisors",
1646
- ...options
1647
- });
1648
- };
1649
- var getAccessibleNegotiation = (options) => {
1650
- return (options.client ?? client).get({
1651
- security: [
1652
- {
1653
- name: "Authorization",
1654
- type: "apiKey"
1655
- }
1656
- ],
1657
- url: "/api/v1/negotiations/{negotiationId}",
1658
- ...options
1659
- });
1660
- };
1661
- var generateNegotiationsReport = (options) => {
1662
- return (options.client ?? client).get({
1663
- security: [
1664
- {
1665
- name: "Authorization",
1666
- type: "apiKey"
1667
- }
1668
- ],
1669
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}",
1670
- ...options
1671
- });
1672
- };
1673
- var forkNegotiation = (options) => {
1674
- return (options.client ?? client).post({
1675
- security: [
1676
- {
1677
- name: "Authorization",
1678
- type: "apiKey"
1679
- }
1680
- ],
1681
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/restate",
1682
- ...options
1683
- });
1684
- };
1685
- var negotiationGetDocumentSchema = (options) => {
1686
- return (options.client ?? client).get({
1687
- security: [
1688
- {
1689
- name: "Authorization",
1690
- type: "apiKey"
1691
- }
1692
- ],
1693
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/schema",
1694
- ...options
1695
- });
1696
- };
1697
- var updateGroupName = (options) => {
1698
- return (options.client ?? client).put({
1699
- security: [
1700
- {
1701
- name: "Authorization",
1702
- type: "apiKey"
1703
- }
1704
- ],
1705
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}",
1706
- ...options,
1707
- headers: {
1708
- "Content-Type": "application/json",
1709
- ...options.headers
1710
- }
1711
- });
1712
- };
1713
- var changeSigningMode = (options) => {
1714
- return (options.client ?? client).put({
1715
- security: [
1716
- {
1717
- name: "Authorization",
1718
- type: "apiKey"
1719
- }
1720
- ],
1721
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signingMode",
1722
- ...options,
1723
- headers: {
1724
- "Content-Type": "application/json",
1725
- ...options.headers
1726
- }
1727
- });
1728
- };
1729
- var sendToCounterparty = (options) => {
1730
- return (options.client ?? client).put({
1731
- security: [
1732
- {
1733
- name: "Authorization",
1734
- type: "apiKey"
1735
- }
1736
- ],
1737
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty",
1738
- ...options,
1739
- headers: {
1740
- "Content-Type": "application/json",
1741
- ...options.headers
1742
- }
1743
- });
1744
- };
1745
- var voidESignEnvelopeForNegotiation = (options) => {
1746
- return (options.client ?? client).put({
1747
- security: [
1748
- {
1749
- name: "Authorization",
1750
- type: "apiKey"
1751
- }
1752
- ],
1753
- url: "/api/v1/esign/{subAccountId}/negotiations/{negotiationId}/cancelSession",
1754
- ...options
1755
- });
1756
- };
1757
- var deleteDocumentDraftingNote = (options) => {
1758
- return (options.client ?? client).delete({
1759
- security: [
1760
- {
1761
- name: "Authorization",
1762
- type: "apiKey"
1763
- }
1764
- ],
1765
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNote/noteType/{noteType}",
1766
- ...options
1767
- });
1768
- };
1769
- var updateDocumentDraftingNote = (options) => {
1770
- return (options.client ?? client).put({
1771
- security: [
1772
- {
1773
- name: "Authorization",
1774
- type: "apiKey"
1775
- }
1776
- ],
1777
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNote/noteType/{noteType}",
1778
- ...options
1779
- });
1780
- };
1781
- var shareNegotiation = (options) => {
1782
- return (options.client ?? client).post({
1783
- security: [
1784
- {
1785
- name: "Authorization",
1786
- type: "apiKey"
1787
- }
1788
- ],
1789
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/share",
1790
- ...options,
1791
- headers: {
1792
- "Content-Type": "application/json",
1793
- ...options.headers
1794
- }
1795
- });
1796
- };
1797
- var setBulkSetAttachments = (options) => {
1798
- return (options.client ?? client).post({
1799
- ...formDataBodySerializer,
1800
- security: [
1801
- {
1802
- name: "Authorization",
1803
- type: "apiKey"
1804
- }
1805
- ],
1806
- url: "/api/v1/bulkSets/{bulkSetId}/attachment",
1807
- ...options,
1808
- headers: {
1809
- "Content-Type": null,
1810
- ...options.headers
1811
- }
1812
- });
1813
- };
1814
- var addElectionApproval = (options) => {
1815
- return (options.client ?? client).put({
1816
- security: [
1817
- {
1818
- name: "Authorization",
1819
- type: "apiKey"
1820
- }
1821
- ],
1822
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/approve",
1823
- ...options,
1824
- headers: {
1825
- "Content-Type": "application/json",
1826
- ...options.headers
1827
- }
1828
- });
1829
- };
1830
- var acceptAllCounterpartyPositions = (options) => {
1831
- return (options.client ?? client).put({
1832
- security: [
1833
- {
1834
- name: "Authorization",
1835
- type: "apiKey"
1836
- }
1837
- ],
1838
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}",
1839
- ...options
1840
- });
1841
- };
1842
- var rejectFinalDocument = (options) => {
1843
- return (options.client ?? client).put({
1844
- security: [
1845
- {
1846
- name: "Authorization",
1847
- type: "apiKey"
1848
- }
1849
- ],
1850
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document/reject",
1851
- ...options,
1852
- headers: {
1853
- "Content-Type": "application/json",
1854
- ...options.headers
1855
- }
1856
- });
1857
- };
1858
- var generateAndMaybeSendEnvelope = (options) => {
1859
- return (options.client ?? client).get({
1860
- security: [
1861
- {
1862
- name: "Authorization",
1863
- type: "apiKey"
1864
- }
1865
- ],
1866
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signWithDocuSign",
1867
- ...options
1868
- });
1869
- };
1870
- var getElectionAnswer = (options) => {
1871
- return (options.client ?? client).get({
1872
- security: [
1873
- {
1874
- name: "Authorization",
1875
- type: "apiKey"
1876
- }
1877
- ],
1878
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/elections/{electionId}",
1879
- ...options
1880
- });
1881
- };
1882
- var createAuditTrailJson = (options) => {
1883
- return (options.client ?? client).get({
1884
- security: [
1885
- {
1886
- name: "Authorization",
1887
- type: "apiKey"
1888
- }
1889
- ],
1890
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/audit_trail/json",
1891
- ...options
1892
- });
1893
- };
1894
- var updateNegotiationsToMatch = (options) => {
1895
- return (options.client ?? client).put({
1896
- security: [
1897
- {
1898
- name: "Authorization",
1899
- type: "apiKey"
1900
- }
1901
- ],
1902
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/apply",
1903
- ...options,
1904
- headers: {
1905
- "Content-Type": "application/json",
1906
- ...options.headers
1907
- }
1908
- });
1909
- };
1910
- var getApprovalHistory = (options) => {
1911
- return (options.client ?? client).get({
1912
- security: [
1913
- {
1914
- name: "Authorization",
1915
- type: "apiKey"
1916
- }
1917
- ],
1918
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/history",
1919
- ...options
1920
- });
1921
- };
1922
- var bulkSetsJobCount = (options) => {
1923
- return (options.client ?? client).get({
1924
- security: [
1925
- {
1926
- name: "Authorization",
1927
- type: "apiKey"
1928
- }
1929
- ],
1930
- url: "/api/v1/subAccounts/{subAccountId}/bulkSets/count",
1931
- ...options
1932
- });
1933
- };
1934
- var editDefaultAnswers = (options) => {
1935
- return (options.client ?? client).put({
1936
- security: [
1937
- {
1938
- name: "Authorization",
1939
- type: "apiKey"
1940
- }
1941
- ],
1942
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/defaults",
1943
- ...options,
1944
- headers: {
1945
- "Content-Type": "application/json",
1946
- ...options.headers
1947
- }
1948
- });
1949
- };
1950
- var presetSendForApproval = (options) => {
1951
- return (options.client ?? client).put({
1952
- security: [
1953
- {
1954
- name: "Authorization",
1955
- type: "apiKey"
1956
- }
1957
- ],
1958
- url: "/api/v1/presets/{presetId}/approvals/sendForApproval",
1959
- ...options
1960
- });
1961
- };
1962
- var fixApprovalRules = (options) => {
1963
- return (options.client ?? client).put({
1964
- security: [
1965
- {
1966
- name: "Authorization",
1967
- type: "apiKey"
1968
- }
1969
- ],
1970
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/fix",
1971
- ...options,
1972
- headers: {
1973
- "Content-Type": "application/json",
1974
- ...options.headers
1975
- }
1976
- });
1977
- };
1978
- var getSubscribedPublishers = (options) => {
1979
- return (options?.client ?? client).get({
1980
- security: [
1981
- {
1982
- name: "Authorization",
1983
- type: "apiKey"
1984
- }
1985
- ],
1986
- url: "/api/v1/documents/publishers/subscribed",
1987
- ...options
1988
- });
1989
- };
1990
- var uploadFundListSpreadsheet = (options) => {
1991
- return (options.client ?? client).post({
1992
- ...formDataBodySerializer,
1993
- security: [
1994
- {
1995
- name: "Authorization",
1996
- type: "apiKey"
1997
- }
1998
- ],
1999
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/fundList/spreadsheet",
2000
- ...options,
2001
- headers: {
2002
- "Content-Type": null,
2003
- ...options.headers
2004
- }
2005
- });
2006
- };
2007
- var sendGroupToCounterparty = (options) => {
2008
- return (options.client ?? client).put({
2009
- security: [
2010
- {
2011
- name: "Authorization",
2012
- type: "apiKey"
2013
- }
2014
- ],
2015
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/sendToCounterparty",
2016
- ...options,
2017
- headers: {
2018
- "Content-Type": "application/json",
2019
- ...options.headers
2020
- }
2021
- });
2022
- };
2023
- var breakingChanges = (options) => {
2024
- return (options.client ?? client).get({
2025
- security: [
2026
- {
2027
- name: "Authorization",
2028
- type: "apiKey"
2029
- }
2030
- ],
2031
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/breaking_changes",
2032
- ...options
2033
- });
2034
- };
2035
- var overrideElectionRejection = (options) => {
2036
- return (options.client ?? client).put({
2037
- security: [
2038
- {
2039
- name: "Authorization",
2040
- type: "apiKey"
2041
- }
2042
- ],
2043
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/reject/override",
2044
- ...options,
2045
- headers: {
2046
- "Content-Type": "application/json",
2047
- ...options.headers
2048
- }
2049
- });
2050
- };
2051
- var getOtherPartyAnswers = (options) => {
2052
- return (options.client ?? client).get({
2053
- security: [
2054
- {
2055
- name: "Authorization",
2056
- type: "apiKey"
2057
- }
2058
- ],
2059
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}",
2060
- ...options
2061
- });
2062
- };
2063
- var overrideElectionApproval = (options) => {
2064
- return (options.client ?? client).put({
2065
- security: [
2066
- {
2067
- name: "Authorization",
2068
- type: "apiKey"
2069
- }
2070
- ],
2071
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/approve/override",
2072
- ...options,
2073
- headers: {
2074
- "Content-Type": "application/json",
2075
- ...options.headers
2076
- }
2077
- });
2078
- };
2079
- var getAllVersions = (options) => {
2080
- return (options.client ?? client).get({
2081
- security: [
2082
- {
2083
- name: "Authorization",
2084
- type: "apiKey"
2085
- }
2086
- ],
2087
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{partyId}/versions/all",
2088
- ...options
2089
- });
2090
- };
2091
- var listPotentialPresetAdvisors = (options) => {
2092
- return (options.client ?? client).get({
2093
- security: [
2094
- {
2095
- name: "Authorization",
2096
- type: "apiKey"
2097
- }
2098
- ],
2099
- url: "/api/v1/advisor/subAccounts/{subAccountId}/presets/{presetId}/potentialAdvisors",
2100
- ...options
2101
- });
2102
- };
2103
- var getAsCDM = (options) => {
2104
- return (options.client ?? client).get({
2105
- security: [
2106
- {
2107
- name: "Authorization",
2108
- type: "apiKey"
2109
- }
2110
- ],
2111
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/cdm",
2112
- ...options
2113
- });
2114
- };
2115
- var getApprovalRound = (options) => {
2116
- return (options.client ?? client).get({
2117
- security: [
2118
- {
2119
- name: "Authorization",
2120
- type: "apiKey"
2121
- }
2122
- ],
2123
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/{roundId}",
2124
- ...options
2125
- });
2126
- };
2127
- var getPreviousActiveUsers = (options) => {
2128
- return (options.client ?? client).get({
2129
- security: [
2130
- {
2131
- name: "Authorization",
2132
- type: "apiKey"
2133
- }
2134
- ],
2135
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/previousActiveUsers",
2136
- ...options
2137
- });
2138
- };
2139
- var revokePresetsAccess = (options) => {
2140
- return (options.client ?? client).delete({
2141
- security: [
2142
- {
2143
- name: "Authorization",
2144
- type: "apiKey"
2145
- }
2146
- ],
2147
- url: "/api/v1/advisor/subAccounts/{subAccountId}/relationships/{relationshipId}/presets",
2148
- ...options,
2149
- headers: {
2150
- "Content-Type": "application/json",
2151
- ...options.headers
2152
- }
2153
- });
2154
- };
2155
- var grantPresetsAccess = (options) => {
2156
- return (options.client ?? client).post({
2157
- security: [
2158
- {
2159
- name: "Authorization",
2160
- type: "apiKey"
2161
- }
2162
- ],
2163
- url: "/api/v1/advisor/subAccounts/{subAccountId}/relationships/{relationshipId}/presets",
2164
- ...options,
2165
- headers: {
2166
- "Content-Type": "application/json",
2167
- ...options.headers
2168
- }
2169
- });
2170
- };
2171
- var notifyOfDraft = (options) => {
2172
- return (options.client ?? client).post({
2173
- security: [
2174
- {
2175
- name: "Authorization",
2176
- type: "apiKey"
2177
- }
2178
- ],
2179
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/notifyOfDraft",
2180
- ...options
2181
- });
2182
- };
2183
- var removeWatchers = (options) => {
2184
- return (options.client ?? client).post({
2185
- security: [
2186
- {
2187
- name: "Authorization",
2188
- type: "apiKey"
2189
- }
2190
- ],
2191
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/removeWatchers",
2192
- ...options,
2193
- headers: {
2194
- "Content-Type": "application/json",
2195
- ...options.headers
2196
- }
2197
- });
2198
- };
2199
- var getNegotiation = (options) => {
2200
- return (options.client ?? client).get({
2201
- security: [
2202
- {
2203
- name: "Authorization",
2204
- type: "apiKey"
2205
- }
2206
- ],
2207
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}",
2208
- ...options
2209
- });
2210
- };
2211
- var getDownloadExecutedNegotiationsAsExcel = (options) => {
2212
- return (options.client ?? client).get({
2213
- security: [
2214
- {
2215
- name: "Authorization",
2216
- type: "apiKey"
2217
- }
2218
- ],
2219
- url: "/api/v1/subAccounts/{subAccountId}/executed_negotiations/xlsx",
2220
- ...options
2221
- });
2222
- };
2223
- var generateExecutedNegotiationsReportAsExcel = (options) => {
2224
- return (options.client ?? client).post({
2225
- security: [
2226
- {
2227
- name: "Authorization",
2228
- type: "apiKey"
2229
- }
2230
- ],
2231
- url: "/api/v1/subAccounts/{subAccountId}/executed_negotiations/xlsx",
2232
- ...options,
2233
- headers: {
2234
- "Content-Type": "application/json",
2235
- ...options.headers
2236
- }
2237
- });
2238
- };
2239
- var deleteSignedSignaturePageForParty = (options) => {
2240
- return (options.client ?? client).delete({
2241
- security: [
2242
- {
2243
- name: "Authorization",
2244
- type: "apiKey"
2245
- }
2246
- ],
2247
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signature/{pageId}/signed/pdf",
2248
- ...options
2249
- });
2250
- };
2251
- var setSignedSignaturePageForParty = (options) => {
2252
- return (options.client ?? client).put({
2253
- security: [
2254
- {
2255
- name: "Authorization",
2256
- type: "apiKey"
2257
- }
2258
- ],
2259
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signature/{pageId}/signed/pdf",
2260
- ...options,
2261
- headers: {
2262
- "Content-Type": "application/pdf",
2263
- ...options.headers
2264
- }
2265
- });
2266
- };
2267
- var updateMetadata = (options) => {
2268
- return (options.client ?? client).put({
2269
- security: [
2270
- {
2271
- name: "Authorization",
2272
- type: "apiKey"
2273
- }
2274
- ],
2275
- url: "/api/v1/presets/{presetId}/metadata",
2276
- ...options,
2277
- headers: {
2278
- "Content-Type": "application/json",
2279
- ...options.headers
2280
- }
2281
- });
2282
- };
2283
- var suggestGroupName = (options) => {
2284
- return (options.client ?? client).get({
2285
- security: [
2286
- {
2287
- name: "Authorization",
2288
- type: "apiKey"
2289
- }
2290
- ],
2291
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/nameSuggestions",
2292
- ...options
2293
- });
2294
- };
2295
- var syncFundList = (options) => {
2296
- return (options.client ?? client).put({
2297
- security: [
2298
- {
2299
- name: "Authorization",
2300
- type: "apiKey"
2301
- }
2302
- ],
2303
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/fundList/sync",
2304
- ...options
2305
- });
2306
- };
2307
- var markActivityEventsAsViewed = (options) => {
2308
- return (options.client ?? client).put({
2309
- security: [
2310
- {
2311
- name: "Authorization",
2312
- type: "apiKey"
2313
- }
2314
- ],
2315
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead",
2316
- ...options,
2317
- headers: {
2318
- "Content-Type": "application/json",
2319
- ...options.headers
2320
- }
2321
- });
2322
- };
2323
- var cancelExtraction = (options) => {
2324
- return (options.client ?? client).put({
2325
- security: [
2326
- {
2327
- name: "Authorization",
2328
- type: "apiKey"
2329
- }
2330
- ],
2331
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/cancel",
2332
- ...options
2333
- });
2334
- };
2335
- var patchAnswers = (options) => {
2336
- return (options.client ?? client).patch({
2337
- security: [
2338
- {
2339
- name: "Authorization",
2340
- type: "apiKey"
2341
- }
2342
- ],
2343
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers",
2344
- ...options,
2345
- headers: {
2346
- "Content-Type": "application/json",
2347
- ...options.headers
2348
- }
2349
- });
2350
- };
2351
- var editAnswers = (options) => {
2352
- return (options.client ?? client).put({
2353
- security: [
2354
- {
2355
- name: "Authorization",
2356
- type: "apiKey"
2357
- }
2358
- ],
2359
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers",
2360
- ...options,
2361
- headers: {
2362
- "Content-Type": "application/json",
2363
- ...options.headers
2364
- }
2365
- });
2366
- };
2367
- var getComments = (options) => {
2368
- return (options.client ?? client).get({
2369
- security: [
2370
- {
2371
- name: "Authorization",
2372
- type: "apiKey"
2373
- }
2374
- ],
2375
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/comments",
2376
- ...options
2377
- });
2378
- };
2379
- var contactForNewApprover = (options) => {
2380
- return (options.client ?? client).post({
2381
- security: [
2382
- {
2383
- name: "Authorization",
2384
- type: "apiKey"
2385
- }
2386
- ],
2387
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/request/newApprover",
2388
- ...options
2389
- });
2390
- };
2391
- var getDraftingNotesDocument = (options) => {
2392
- return (options.client ?? client).get({
2393
- security: [
2394
- {
2395
- name: "Authorization",
2396
- type: "apiKey"
2397
- }
2398
- ],
2399
- url: "/api/v1/subAccounts/{subAccountId}/draftingNotes",
2400
- ...options
2401
- });
2402
- };
2403
- var acceptAllPositionsFromFork = (options) => {
2404
- return (options.client ?? client).put({
2405
- security: [
2406
- {
2407
- name: "Authorization",
2408
- type: "apiKey"
2409
- }
2410
- ],
2411
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptOriginalPosition/{forkedNegotiationId}",
2412
- ...options
2413
- });
2414
- };
2415
- var acceptAllPresetPositions = (options) => {
2416
- return (options.client ?? client).put({
2417
- security: [
2418
- {
2419
- name: "Authorization",
2420
- type: "apiKey"
2421
- }
2422
- ],
2423
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptPresetPosition",
2424
- ...options
2425
- });
2426
- };
2427
- var createSigningPack = (options) => {
2428
- return (options.client ?? client).get({
2429
- security: [
2430
- {
2431
- name: "Authorization",
2432
- type: "apiKey"
2433
- }
2434
- ],
2435
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signingPack",
2436
- ...options
2437
- });
2438
- };
2439
- var getGroupNames = (options) => {
2440
- return (options.client ?? client).get({
2441
- security: [
2442
- {
2443
- name: "Authorization",
2444
- type: "apiKey"
2445
- }
2446
- ],
2447
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups",
2448
- ...options
2449
- });
2450
- };
2451
- var createGroup = (options) => {
2452
- return (options.client ?? client).post({
2453
- security: [
2454
- {
2455
- name: "Authorization",
2456
- type: "apiKey"
2457
- }
2458
- ],
2459
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups",
2460
- ...options,
2461
- headers: {
2462
- "Content-Type": "application/json",
2463
- ...options.headers
2464
- }
2465
- });
2466
- };
2467
- var getNegotiationFilesSummary = (options) => {
2468
- return (options.client ?? client).get({
2469
- security: [
2470
- {
2471
- name: "Authorization",
2472
- type: "apiKey"
2473
- }
2474
- ],
2475
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/negotiationFiles/summary",
2476
- ...options
2477
- });
2478
- };
2479
- var getUsers = (options) => {
2480
- return (options.client ?? client).get({
2481
- security: [
2482
- {
2483
- name: "Authorization",
2484
- type: "apiKey"
2485
- }
2486
- ],
2487
- url: "/api/v1/subaccount/{subAccountId}/users",
2488
- ...options
2489
- });
2490
- };
2491
- var getSettings = (options) => {
2492
- return (options?.client ?? client).get({
2493
- security: [
2494
- {
2495
- name: "Authorization",
2496
- type: "apiKey"
2497
- }
2498
- ],
2499
- url: "/api/v1/account/settings",
2500
- ...options
2501
- });
2502
- };
2503
- var confirm = (options) => {
2504
- return (options.client ?? client).put({
2505
- security: [
2506
- {
2507
- name: "Authorization",
2508
- type: "apiKey"
2509
- }
2510
- ],
2511
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/confirm",
2512
- ...options
2513
- });
2514
- };
2515
- var sendDocumentApprovalReminder = (options) => {
2516
- return (options.client ?? client).put({
2517
- security: [
2518
- {
2519
- name: "Authorization",
2520
- type: "apiKey"
2521
- }
2522
- ],
2523
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document/reminder",
2524
- ...options
2525
- });
2526
- };
2527
- var getStatistics = (options) => {
2528
- return (options.client ?? client).get({
2529
- security: [
2530
- {
2531
- name: "Authorization",
2532
- type: "apiKey"
2533
- }
2534
- ],
2535
- url: "/api/v2/subAccounts/{subAccountId}/statistics",
2536
- ...options
2537
- });
2538
- };
2539
- var presetSwapParties = (options) => {
2540
- return (options.client ?? client).put({
2541
- security: [
2542
- {
2543
- name: "Authorization",
2544
- type: "apiKey"
2545
- }
2546
- ],
2547
- url: "/api/v1/presets/{presetId}/swapParties",
2548
- ...options
2549
- });
2550
- };
2551
- var approveFinalDocument = (options) => {
2552
- return (options.client ?? client).put({
2553
- security: [
2554
- {
2555
- name: "Authorization",
2556
- type: "apiKey"
2557
- }
2558
- ],
2559
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/document/approve",
2560
- ...options,
2561
- headers: {
2562
- "Content-Type": "application/json",
2563
- ...options.headers
2564
- }
2565
- });
2566
- };
2567
- var negotiationRenderCounterpartyTemplate = (options) => {
2568
- return (options.client ?? client).get({
2569
- security: [
2570
- {
2571
- name: "Authorization",
2572
- type: "apiKey"
2573
- }
2574
- ],
2575
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview",
2576
- ...options
2577
- });
2578
- };
2579
- var resetUserAnswers = (options) => {
2580
- return (options.client ?? client).post({
2581
- security: [
2582
- {
2583
- name: "Authorization",
2584
- type: "apiKey"
2585
- }
2586
- ],
2587
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers",
2588
- ...options,
2589
- headers: {
2590
- "Content-Type": "application/json",
2591
- ...options.headers
2592
- }
2593
- });
2594
- };
2595
- var updateUserAnswers = (options) => {
2596
- return (options.client ?? client).put({
2597
- security: [
2598
- {
2599
- name: "Authorization",
2600
- type: "apiKey"
2601
- }
2602
- ],
2603
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/answers",
2604
- ...options,
2605
- headers: {
2606
- "Content-Type": "application/json",
2607
- ...options.headers
2608
- }
2609
- });
2610
- };
2611
- var getMajorVersions = (options) => {
2612
- return (options.client ?? client).get({
2613
- security: [
2614
- {
2615
- name: "Authorization",
2616
- type: "apiKey"
2617
- }
2618
- ],
2619
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{partyId}/versions",
2620
- ...options
2621
- });
2622
- };
2623
- var deleteDocumentElectionDraftingNote = (options) => {
2624
- return (options.client ?? client).delete({
2625
- security: [
2626
- {
2627
- name: "Authorization",
2628
- type: "apiKey"
2629
- }
2630
- ],
2631
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNote/elections/{electionId}/noteType/{noteType}",
2632
- ...options
2633
- });
2634
- };
2635
- var updateDocumentElectionDraftingNote = (options) => {
2636
- return (options.client ?? client).put({
2637
- security: [
2638
- {
2639
- name: "Authorization",
2640
- type: "apiKey"
2641
- }
2642
- ],
2643
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNote/elections/{electionId}/noteType/{noteType}",
2644
- ...options
2645
- });
2646
- };
2647
- var assignToMe = (options) => {
2648
- return (options.client ?? client).put({
2649
- security: [
2650
- {
2651
- name: "Authorization",
2652
- type: "apiKey"
2653
- }
2654
- ],
2655
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/owner/myself",
2656
- ...options
2657
- });
2658
- };
2659
- var updateGroupMembers = (options) => {
2660
- return (options.client ?? client).put({
2661
- security: [
2662
- {
2663
- name: "Authorization",
2664
- type: "apiKey"
2665
- }
2666
- ],
2667
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/members",
2668
- ...options,
2669
- headers: {
2670
- "Content-Type": "application/json",
2671
- ...options.headers
2672
- }
2673
- });
2674
- };
2675
- var getSignedSignaturePagePDF = (options) => {
2676
- return (options.client ?? client).get({
2677
- security: [
2678
- {
2679
- name: "Authorization",
2680
- type: "apiKey"
2681
- }
2682
- ],
2683
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signature/{sigPageId}/signed/pdf",
2684
- ...options
2685
- });
2686
- };
2687
- var presetGetDocumentSchema = (options) => {
2688
- return (options.client ?? client).get({
2689
- security: [
2690
- {
2691
- name: "Authorization",
2692
- type: "apiKey"
2693
- }
2694
- ],
2695
- url: "/api/v1/presets/{presetId}/schema",
2696
- ...options
2697
- });
2698
- };
2699
- var listSubAccounts = (options) => {
2700
- return (options?.client ?? client).get({
2701
- security: [
2702
- {
2703
- name: "Authorization",
2704
- type: "apiKey"
2705
- }
2706
- ],
2707
- url: "/api/v1/subAccounts",
2708
- ...options
2709
- });
2710
- };
2711
- var documentsFilter = (options) => {
2712
- return (options.client ?? client).get({
2713
- security: [
2714
- {
2715
- name: "Authorization",
2716
- type: "apiKey"
2717
- }
2718
- ],
2719
- url: "/api/v1/subAccounts/{subAccountId}/documents/filters/{filter}",
2720
- ...options
2721
- });
2722
- };
2723
- var markAsOffline = (options) => {
2724
- return (options.client ?? client).put({
2725
- security: [
2726
- {
2727
- name: "Authorization",
2728
- type: "apiKey"
2729
- }
2730
- ],
2731
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/markAsOffline",
2732
- ...options
2733
- });
2734
- };
2735
- var checkSignedSignaturePagePDF = (options) => {
2736
- return (options.client ?? client).get({
2737
- security: [
2738
- {
2739
- name: "Authorization",
2740
- type: "apiKey"
2741
- }
2742
- ],
2743
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signature/signed/pdf/exists",
2744
- ...options
2745
- });
2746
- };
2747
- var getAnnotatedOfflineNegotiatedDocument = (options) => {
2748
- return (options.client ?? client).get({
2749
- security: [
2750
- {
2751
- name: "Authorization",
2752
- type: "apiKey"
2753
- }
2754
- ],
2755
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document/annotated",
2756
- ...options
2757
- });
2758
- };
2759
- var deleteAuxiliaryDocument = (options) => {
2760
- return (options.client ?? client).delete({
2761
- security: [
2762
- {
2763
- name: "Authorization",
2764
- type: "apiKey"
2765
- }
2766
- ],
2767
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/auxiliary_document",
2768
- ...options
2769
- });
2770
- };
2771
- var getAuxiliaryDocument = (options) => {
2772
- return (options.client ?? client).get({
2773
- security: [
2774
- {
2775
- name: "Authorization",
2776
- type: "apiKey"
2777
- }
2778
- ],
2779
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/auxiliary_document",
2780
- ...options
2781
- });
2782
- };
2783
- var setAuxiliaryDocument = (options) => {
2784
- return (options.client ?? client).put({
2785
- security: [
2786
- {
2787
- name: "Authorization",
2788
- type: "apiKey"
2789
- }
2790
- ],
2791
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/auxiliary_document",
2792
- ...options,
2793
- headers: {
2794
- "Content-Type": "application/pdf",
2795
- ...options.headers
2796
- }
2797
- });
2798
- };
2799
- var downloadPreExecutionCounterpartyNegotiation = (options) => {
2800
- return (options.client ?? client).get({
2801
- security: [
2802
- {
2803
- name: "Authorization",
2804
- type: "apiKey"
2805
- }
2806
- ],
2807
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/extension/{extension}",
2808
- ...options
2809
- });
2810
- };
2811
- var cancel = (options) => {
2812
- return (options.client ?? client).put({
2813
- security: [
2814
- {
2815
- name: "Authorization",
2816
- type: "apiKey"
2817
- }
2818
- ],
2819
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/cancel",
2820
- ...options,
2821
- headers: {
2822
- "Content-Type": "application/json",
2823
- ...options.headers
2824
- }
2825
- });
2826
- };
2827
- var revokeNegotiationsAccess = (options) => {
2828
- return (options.client ?? client).delete({
2829
- security: [
2830
- {
2831
- name: "Authorization",
2832
- type: "apiKey"
2833
- }
2834
- ],
2835
- url: "/api/v1/advisor/subAccounts/{subAccountId}/relationships/{relationshipId}/negotiations",
2836
- ...options,
2837
- headers: {
2838
- "Content-Type": "application/json",
2839
- ...options.headers
2840
- }
2841
- });
2842
- };
2843
- var grantNegotiationsAccess = (options) => {
2844
- return (options.client ?? client).post({
2845
- security: [
2846
- {
2847
- name: "Authorization",
2848
- type: "apiKey"
2849
- }
2850
- ],
2851
- url: "/api/v1/advisor/subAccounts/{subAccountId}/relationships/{relationshipId}/negotiations",
2852
- ...options,
2853
- headers: {
2854
- "Content-Type": "application/json",
2855
- ...options.headers
2856
- }
2857
- });
2858
- };
2859
- var listDocuments = (options) => {
2860
- return (options.client ?? client).get({
2861
- security: [
2862
- {
2863
- name: "Authorization",
2864
- type: "apiKey"
2865
- }
2866
- ],
2867
- url: "/api/v1/documents",
2868
- ...options
2869
- });
2870
- };
2871
- var getPartyAnswers = (options) => {
2872
- return (options.client ?? client).get({
2873
- security: [
2874
- {
2875
- name: "Authorization",
2876
- type: "apiKey"
2877
- }
2878
- ],
2879
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/versions/{version}",
2880
- ...options
2881
- });
2882
- };
2883
- var deletePreset = (options) => {
2884
- return (options.client ?? client).delete({
2885
- security: [
2886
- {
2887
- name: "Authorization",
2888
- type: "apiKey"
2889
- }
2890
- ],
2891
- url: "/api/v1/presets/{presetId}",
2892
- ...options
2893
- });
2894
- };
2895
- var getPreset = (options) => {
2896
- return (options.client ?? client).get({
2897
- security: [
2898
- {
2899
- name: "Authorization",
2900
- type: "apiKey"
2901
- }
2902
- ],
2903
- url: "/api/v1/presets/{presetId}",
2904
- ...options
2905
- });
2906
- };
2907
- var createPresetAuditTrailJson = (options) => {
2908
- return (options.client ?? client).get({
2909
- security: [
2910
- {
2911
- name: "Authorization",
2912
- type: "apiKey"
2913
- }
2914
- ],
2915
- url: "/api/v1/presets/{presetId}/audit_trail/json",
2916
- ...options
2917
- });
2918
- };
2919
- var getPotentialUsers = (options) => {
2920
- return (options.client ?? client).get({
2921
- security: [
2922
- {
2923
- name: "Authorization",
2924
- type: "apiKey"
2925
- }
2926
- ],
2927
- url: "/api/v1/subaccount/{subAccountId}/potentialUsers",
2928
- ...options
2929
- });
2930
- };
2931
- var getNegotiationsGroup = (options) => {
2932
- return (options.client ?? client).get({
2933
- security: [
2934
- {
2935
- name: "Authorization",
2936
- type: "apiKey"
2937
- }
2938
- ],
2939
- url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations",
2940
- ...options
2941
- });
2942
- };
2943
- var consentCodeCallback = (options) => {
2944
- return (options?.client ?? client).get({
2945
- security: [
2946
- {
2947
- name: "Authorization",
2948
- type: "apiKey"
2949
- }
2950
- ],
2951
- url: "/api/v1/docusign/redirectCodeCallback",
2952
- ...options
2953
- });
2954
- };
2955
- var getOfflineNegotiatedDocumentAnnotations = (options) => {
2956
- return (options.client ?? client).get({
2957
- security: [
2958
- {
2959
- name: "Authorization",
2960
- type: "apiKey"
2961
- }
2962
- ],
2963
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document/annotations",
2964
- ...options
2965
- });
2966
- };
2967
- var acceptAllCustodianTemplatePositions = (options) => {
2968
- return (options.client ?? client).put({
2969
- security: [
2970
- {
2971
- name: "Authorization",
2972
- type: "apiKey"
2973
- }
2974
- ],
2975
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCustodianTemplatePosition",
2976
- ...options
2977
- });
2978
- };
2979
- var accountSummary = (options) => {
2980
- return (options?.client ?? client).get({
2981
- security: [
2982
- {
2983
- name: "Authorization",
2984
- type: "apiKey"
2985
- }
2986
- ],
2987
- url: "/api/v1/account",
2988
- ...options
2989
- });
2990
- };
2991
- var getApprovalComments = (options) => {
2992
- return (options.client ?? client).get({
2993
- security: [
2994
- {
2995
- name: "Authorization",
2996
- type: "apiKey"
2997
- }
2998
- ],
2999
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comments/all",
3000
- ...options
3001
- });
3002
- };
3003
- var listAdvisorsForWorkspace = (options) => {
3004
- return (options.client ?? client).get({
3005
- security: [
3006
- {
3007
- name: "Authorization",
3008
- type: "apiKey"
3009
- }
3010
- ],
3011
- url: "/api/v1/advisor/subAccounts/{subAccountId}/listAdvisors",
3012
- ...options
3013
- });
3014
- };
3015
- var checkOfflineNegotiatedDocument = (options) => {
3016
- return (options.client ?? client).get({
3017
- security: [
3018
- {
3019
- name: "Authorization",
3020
- type: "apiKey"
3021
- }
3022
- ],
3023
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document/exists",
3024
- ...options
3025
- });
3026
- };
3027
- var downloadPreset = (options) => {
3028
- return (options.client ?? client).get({
3029
- security: [
3030
- {
3031
- name: "Authorization",
3032
- type: "apiKey"
3033
- }
3034
- ],
3035
- url: "/api/v1/presets/{presetId}/extension/{extension}",
3036
- ...options
3037
- });
3038
- };
3039
- var assignUser = (options) => {
3040
- return (options.client ?? client).put({
3041
- security: [
3042
- {
3043
- name: "Authorization",
3044
- type: "apiKey"
3045
- }
3046
- ],
3047
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/owner/{userId}",
3048
- ...options
3049
- });
3050
- };
3051
- var assignDraftPresetToMe = (options) => {
3052
- return (options.client ?? client).put({
3053
- security: [
3054
- {
3055
- name: "Authorization",
3056
- type: "apiKey"
3057
- }
3058
- ],
3059
- url: "/api/v1/presets/{presetId}/assignToSelf",
3060
- ...options
3061
- });
3062
- };
3063
- var generateCommentsReport = (options) => {
3064
- return (options.client ?? client).get({
3065
- security: [
3066
- {
3067
- name: "Authorization",
3068
- type: "apiKey"
3069
- }
3070
- ],
3071
- url: "/api/v1/subAccounts/{subAccountId}/comments/xlsx",
3072
- ...options
3073
- });
3074
- };
3075
- var getExtractionResults = (options) => {
3076
- return (options.client ?? client).get({
3077
- security: [
3078
- {
3079
- name: "Authorization",
3080
- type: "apiKey"
3081
- }
3082
- ],
3083
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/getResults",
3084
- ...options
3085
- });
3086
- };
3087
- var getAdminLikeUsers = (options) => {
3088
- return (options?.client ?? client).get({
3089
- security: [
3090
- {
3091
- name: "Authorization",
3092
- type: "apiKey"
3093
- }
3094
- ],
3095
- url: "/api/v1/account/admin-users",
3096
- ...options
3097
- });
3098
- };
3099
- var applyExtractedAnswers = (options) => {
3100
- return (options.client ?? client).put({
3101
- security: [
3102
- {
3103
- name: "Authorization",
3104
- type: "apiKey"
3105
- }
3106
- ],
3107
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/apply",
3108
- ...options
3109
- });
3110
- };
3111
- var getOriginalAnswersForForkNegotiation = (options) => {
3112
- return (options.client ?? client).get({
3113
- security: [
3114
- {
3115
- name: "Authorization",
3116
- type: "apiKey"
3117
- }
3118
- ],
3119
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{forkedNegotiationId}/originalAnswers",
3120
- ...options
3121
- });
3122
- };
3123
- var markAsFinal = (options) => {
3124
- return (options.client ?? client).put({
3125
- security: [
3126
- {
3127
- name: "Authorization",
3128
- type: "apiKey"
3129
- }
3130
- ],
3131
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/markAsFinal",
3132
- ...options
3133
- });
3134
- };
3135
- var getPreviousMajorVersionsNestedAnswerElections = (options) => {
3136
- return (options.client ?? client).get({
3137
- security: [
3138
- {
3139
- name: "Authorization",
3140
- type: "apiKey"
3141
- }
3142
- ],
3143
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/{nestedAnswersId}/previousElections",
3144
- ...options
3145
- });
3146
- };
3147
- var listNegotiations = (options) => {
3148
- return (options.client ?? client).get({
3149
- security: [
3150
- {
3151
- name: "Authorization",
3152
- type: "apiKey"
3153
- }
3154
- ],
3155
- url: "/api/v1/subAccounts/{subAccountId}/negotiations",
3156
- ...options
3157
- });
3158
- };
3159
- var createNegotiation = (options) => {
3160
- return (options.client ?? client).post({
3161
- security: [
3162
- {
3163
- name: "Authorization",
3164
- type: "apiKey"
3165
- }
3166
- ],
3167
- url: "/api/v1/subAccounts/{subAccountId}/negotiations",
3168
- ...options,
3169
- headers: {
3170
- "Content-Type": "application/json",
3171
- ...options.headers
3172
- }
3173
- });
3174
- };
3175
- var presetGetNestedAnswers = (options) => {
3176
- return (options.client ?? client).get({
3177
- security: [
3178
- {
3179
- name: "Authorization",
3180
- type: "apiKey"
3181
- }
3182
- ],
3183
- url: "/api/v1/presets/{presetId}/answers/nested/{nestedAnswersId}",
3184
- ...options
3185
- });
3186
- };
3187
- var presetSetNestedAnswers = (options) => {
3188
- return (options.client ?? client).put({
3189
- security: [
3190
- {
3191
- name: "Authorization",
3192
- type: "apiKey"
3193
- }
3194
- ],
3195
- url: "/api/v1/presets/{presetId}/answers/nested/{nestedAnswersId}",
3196
- ...options,
3197
- headers: {
3198
- "Content-Type": "application/json",
3199
- ...options.headers
3200
- }
3201
- });
3202
- };
3203
- var createPresetAuditTrailXLSX = (options) => {
3204
- return (options.client ?? client).get({
3205
- security: [
3206
- {
3207
- name: "Authorization",
3208
- type: "apiKey"
3209
- }
3210
- ],
3211
- url: "/api/v1/presets/{presetId}/audit_trail/xlsx",
3212
- ...options
3213
- });
3214
- };
3215
- var clonePreset = (options) => {
3216
- return (options.client ?? client).post({
3217
- security: [
3218
- {
3219
- name: "Authorization",
3220
- type: "apiKey"
3221
- }
3222
- ],
3223
- url: "/api/v1/presets/{presetId}/clone",
3224
- ...options,
3225
- headers: {
3226
- "Content-Type": "application/json",
3227
- ...options.headers
3228
- }
3229
- });
3230
- };
3231
- var obtainConsent = (options) => {
3232
- return (options?.client ?? client).get({
3233
- security: [
3234
- {
3235
- name: "Authorization",
3236
- type: "apiKey"
3237
- }
3238
- ],
3239
- url: "/api/v1/docusign/connect",
3240
- ...options
3241
- });
3242
- };
3243
- var checkAuxiliaryDocument = (options) => {
3244
- return (options.client ?? client).get({
3245
- security: [
3246
- {
3247
- name: "Authorization",
3248
- type: "apiKey"
3249
- }
3250
- ],
3251
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/auxiliary_document/exists",
3252
- ...options
3253
- });
3254
- };
3255
- var listDocumentsWithPagination = (options) => {
3256
- return (options.client ?? client).get({
3257
- security: [
3258
- {
3259
- name: "Authorization",
3260
- type: "apiKey"
3261
- }
3262
- ],
3263
- url: "/api/v1/documentsWithPaging",
3264
- ...options
3265
- });
3266
- };
3267
- var emailPreferences = (options) => {
3268
- return (options?.client ?? client).get({
3269
- security: [
3270
- {
3271
- name: "Authorization",
3272
- type: "apiKey"
3273
- }
3274
- ],
3275
- url: "/api/v1/emailPreferences",
3276
- ...options
3277
- });
3278
- };
3279
- var patchEmailPreferences = (options) => {
3280
- return (options.client ?? client).patch({
3281
- security: [
3282
- {
3283
- name: "Authorization",
3284
- type: "apiKey"
3285
- }
3286
- ],
3287
- url: "/api/v1/emailPreferences",
3288
- ...options,
3289
- headers: {
3290
- "Content-Type": "application/json",
3291
- ...options.headers
3292
- }
3293
- });
3294
- };
3295
- var confirmExecutionVersion = (options) => {
3296
- return (options.client ?? client).put({
3297
- security: [
3298
- {
3299
- name: "Authorization",
3300
- type: "apiKey"
3301
- }
3302
- ],
3303
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/confirmExecutionVersion",
3304
- ...options
3305
- });
3306
- };
3307
- var listAllPresetsForSubAccountV2 = (options) => {
3308
- return (options.client ?? client).get({
3309
- security: [
3310
- {
3311
- name: "Authorization",
3312
- type: "apiKey"
3313
- }
3314
- ],
3315
- url: "/api/v2/subAccounts/{subAccountId}/presets",
3316
- ...options
3317
- });
3318
- };
3319
- var listExternalAttachments = (options) => {
3320
- return (options.client ?? client).get({
3321
- security: [
3322
- {
3323
- name: "Authorization",
3324
- type: "apiKey"
3325
- }
3326
- ],
3327
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment",
3328
- ...options
3329
- });
3330
- };
3331
- var setExternalAttachments = (options) => {
3332
- return (options.client ?? client).post({
3333
- ...formDataBodySerializer,
3334
- security: [
3335
- {
3336
- name: "Authorization",
3337
- type: "apiKey"
3338
- }
3339
- ],
3340
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment",
3341
- ...options,
3342
- headers: {
3343
- "Content-Type": null,
3344
- ...options.headers
3345
- }
3346
- });
3347
- };
3348
- var setExternalAttachment = (options) => {
3349
- return (options.client ?? client).put({
3350
- bodySerializer: null,
3351
- security: [
3352
- {
3353
- name: "Authorization",
3354
- type: "apiKey"
3355
- }
3356
- ],
3357
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment",
3358
- ...options,
3359
- headers: {
3360
- "Content-Type": "application/octet-stream",
3361
- ...options.headers
3362
- }
3363
- });
3364
- };
3365
- var generateAuditTrailForSubAccountAsExcel = (options) => {
3366
- return (options.client ?? client).get({
3367
- security: [
3368
- {
3369
- name: "Authorization",
3370
- type: "apiKey"
3371
- }
3372
- ],
3373
- url: "/api/v1/subAccounts/{subAccountId}/audit_trail/xlsx",
3374
- ...options
3375
- });
3376
- };
3377
- var validateDraftReceiverEmails = (options) => {
3378
- return (options.client ?? client).post({
3379
- security: [
3380
- {
3381
- name: "Authorization",
3382
- type: "apiKey"
3383
- }
3384
- ],
3385
- url: "/api/v1/subAccounts/{subAccountId}/bulkSets/validateEmails",
3386
- ...options,
3387
- headers: {
3388
- "Content-Type": "application/json",
3389
- ...options.headers
3390
- }
3391
- });
3392
- };
3393
- var downloadPostExecutionPack = (options) => {
3394
- return (options.client ?? client).get({
3395
- security: [
3396
- {
3397
- name: "Authorization",
3398
- type: "apiKey"
3399
- }
3400
- ],
3401
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/postExecutionPack",
3402
- ...options
3403
- });
3404
- };
3405
- var markApprovalCommentsAsViewed = (options) => {
3406
- return (options.client ?? client).put({
3407
- security: [
3408
- {
3409
- name: "Authorization",
3410
- type: "apiKey"
3411
- }
3412
- ],
3413
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comments/markAsRead",
3414
- ...options,
3415
- headers: {
3416
- "Content-Type": "application/json",
3417
- ...options.headers
3418
- }
3419
- });
3420
- };
3421
- var acceptCounterpartyPosition = (options) => {
3422
- return (options.client ?? client).put({
3423
- security: [
3424
- {
3425
- name: "Authorization",
3426
- type: "apiKey"
3427
- }
3428
- ],
3429
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/elections/{electionId}/acceptCpPosition/{partyId}",
3430
- ...options
3431
- });
3432
- };
3433
- var cancelNegotiations = (options) => {
3434
- return (options.client ?? client).put({
3435
- security: [
3436
- {
3437
- name: "Authorization",
3438
- type: "apiKey"
3439
- }
3440
- ],
3441
- url: "/api/v1/subAccounts/{subAccountId}/cancelNegotiations",
3442
- ...options,
3443
- headers: {
3444
- "Content-Type": "application/json",
3445
- ...options.headers
3446
- }
3447
- });
3448
- };
3449
- var getNegotiationDraftingNotes = (options) => {
3450
- return (options.client ?? client).get({
3451
- security: [
3452
- {
3453
- name: "Authorization",
3454
- type: "apiKey"
3455
- }
3456
- ],
3457
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/negotiationDraftingNotes",
3458
- ...options
3459
- });
3460
- };
3461
- var auditTrailFilters = (options) => {
3462
- return (options?.client ?? client).get({
3463
- security: [
3464
- {
3465
- name: "Authorization",
3466
- type: "apiKey"
3467
- }
3468
- ],
3469
- url: "/api/v1/account/audit_trail/filters",
3470
- ...options
3471
- });
3472
- };
3473
- var getCommentSummary = (options) => {
3474
- return (options.client ?? client).get({
3475
- security: [
3476
- {
3477
- name: "Authorization",
3478
- type: "apiKey"
3479
- }
3480
- ],
3481
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/commentSummary",
3482
- ...options
3483
- });
3484
- };
3485
- var deleteExecutionAttachment = (options) => {
3486
- return (options.client ?? client).delete({
3487
- security: [
3488
- {
3489
- name: "Authorization",
3490
- type: "apiKey"
3491
- }
3492
- ],
3493
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment/{fileName}",
3494
- ...options
3495
- });
3496
- };
3497
- var getExecutionAttachment = (options) => {
3498
- return (options.client ?? client).get({
3499
- security: [
3500
- {
3501
- name: "Authorization",
3502
- type: "apiKey"
3503
- }
3504
- ],
3505
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment/{fileName}",
3506
- ...options
3507
- });
3508
- };
3509
- var syncNewApprover = (options) => {
3510
- return (options.client ?? client).put({
3511
- security: [
3512
- {
3513
- name: "Authorization",
3514
- type: "apiKey"
3515
- }
3516
- ],
3517
- url: "/api/v1/account/syncNewApprover",
3518
- ...options,
3519
- headers: {
3520
- "Content-Type": "application/json",
3521
- ...options.headers
3522
- }
3523
- });
3524
- };
3525
- var getMultipleNestedAnswers = (options) => {
3526
- return (options.client ?? client).post({
3527
- security: [
3528
- {
3529
- name: "Authorization",
3530
- type: "apiKey"
3531
- }
3532
- ],
3533
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/bulk",
3534
- ...options,
3535
- headers: {
3536
- "Content-Type": "application/json",
3537
- ...options.headers
3538
- }
3539
- });
3540
- };
3541
- var setMultipleNestedAnswers = (options) => {
3542
- return (options.client ?? client).put({
3543
- security: [
3544
- {
3545
- name: "Authorization",
3546
- type: "apiKey"
3547
- }
3548
- ],
3549
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/bulk",
3550
- ...options,
3551
- headers: {
3552
- "Content-Type": "application/json",
3553
- ...options.headers
3554
- }
3555
- });
3556
- };
3557
- var getDocument = (options) => {
3558
- return (options.client ?? client).get({
3559
- security: [
3560
- {
3561
- name: "Authorization",
3562
- type: "apiKey"
3563
- }
3564
- ],
3565
- url: "/api/v1/documents/{documentId}",
3566
- ...options
3567
- });
3568
- };
3569
- var listBulkSets = (options) => {
3570
- return (options.client ?? client).get({
3571
- security: [
3572
- {
3573
- name: "Authorization",
3574
- type: "apiKey"
3575
- }
3576
- ],
3577
- url: "/api/v1/subAccounts/{subAccountId}/bulkSets",
3578
- ...options
3579
- });
3580
- };
3581
- var createBulkSet = (options) => {
3582
- return (options.client ?? client).post({
3583
- security: [
3584
- {
3585
- name: "Authorization",
3586
- type: "apiKey"
3587
- }
3588
- ],
3589
- url: "/api/v1/subAccounts/{subAccountId}/bulkSets",
3590
- ...options,
3591
- headers: {
3592
- "Content-Type": "application/json",
3593
- ...options.headers
3594
- }
3595
- });
3596
- };
3597
- var addApprovalComment = (options) => {
3598
- return (options.client ?? client).post({
3599
- security: [
3600
- {
3601
- name: "Authorization",
3602
- type: "apiKey"
3603
- }
3604
- ],
3605
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment",
3606
- ...options,
3607
- headers: {
3608
- "Content-Type": "application/json",
3609
- ...options.headers
3610
- }
3611
- });
3612
- };
3613
- var getUsersForPicker = (options) => {
3614
- return (options.client ?? client).get({
3615
- security: [
3616
- {
3617
- name: "Authorization",
3618
- type: "apiKey"
3619
- }
3620
- ],
3621
- url: "/api/v1/subaccount/{subAccountId}/usersForPicker",
3622
- ...options
3623
- });
3624
- };
3625
- var scheduleExtraction = (options) => {
3626
- return (options.client ?? client).put({
3627
- security: [
3628
- {
3629
- name: "Authorization",
3630
- type: "apiKey"
3631
- }
3632
- ],
3633
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/start",
3634
- ...options
3635
- });
3636
- };
3637
- var approveAccessRequest = (options) => {
3638
- return (options.client ?? client).put({
3639
- security: [
3640
- {
3641
- name: "Authorization",
3642
- type: "apiKey"
3643
- }
3644
- ],
3645
- url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/approve",
3646
- ...options
3647
- });
3648
- };
3649
- var negotiationsFilter = (options) => {
3650
- return (options.client ?? client).get({
3651
- security: [
3652
- {
3653
- name: "Authorization",
3654
- type: "apiKey"
3655
- }
3656
- ],
3657
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/filters/{filter}",
3658
- ...options
3659
- });
3660
- };
3661
- var createAuditTrailXLSX = (options) => {
3662
- return (options.client ?? client).get({
3663
- security: [
3664
- {
3665
- name: "Authorization",
3666
- type: "apiKey"
3667
- }
3668
- ],
3669
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/audit_trail/xlsx",
3670
- ...options
3671
- });
3672
- };
3673
- var setPreset = (options) => {
3674
- return (options.client ?? client).put({
3675
- security: [
3676
- {
3677
- name: "Authorization",
3678
- type: "apiKey"
3679
- }
3680
- ],
3681
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preset",
3682
- ...options,
3683
- headers: {
3684
- "Content-Type": "application/json",
3685
- ...options.headers
3686
- }
3687
- });
3688
- };
3689
- var checkForBrokenApprovers = (options) => {
3690
- return (options.client ?? client).get({
3691
- security: [
3692
- {
3693
- name: "Authorization",
3694
- type: "apiKey"
3695
- }
3696
- ],
3697
- url: "/api/v1/account/checkForBrokenApprovers/{existingApproverId}",
3698
- ...options
3699
- });
3700
- };
3701
- var deleteBulkSetAttachment = (options) => {
3702
- return (options.client ?? client).delete({
3703
- security: [
3704
- {
3705
- name: "Authorization",
3706
- type: "apiKey"
3707
- }
3708
- ],
3709
- url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
3710
- ...options
3711
- });
3712
- };
3713
- var getBulkSetAttachment = (options) => {
3714
- return (options.client ?? client).get({
3715
- security: [
3716
- {
3717
- name: "Authorization",
3718
- type: "apiKey"
3719
- }
3720
- ],
3721
- url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
3722
- ...options
3723
- });
3724
- };
3725
- var usersWithNegotiationAccess = (options) => {
3726
- return (options.client ?? client).get({
3727
- security: [
3728
- {
3729
- name: "Authorization",
3730
- type: "apiKey"
3731
- }
3732
- ],
3733
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/users",
3734
- ...options
3735
- });
3736
- };
3737
- var getStatisticsOverview = (options) => {
3738
- return (options.client ?? client).get({
3739
- security: [
3740
- {
3741
- name: "Authorization",
3742
- type: "apiKey"
3743
- }
3744
- ],
3745
- url: "/api/v2/subAccounts/{subAccountId}/statisticsOverview",
3746
- ...options
3747
- });
3748
- };
3749
- var getSubAccount = (options) => {
3750
- return (options.client ?? client).get({
3751
- security: [
3752
- {
3753
- name: "Authorization",
3754
- type: "apiKey"
3755
- }
3756
- ],
3757
- url: "/api/v1/subAccounts/{subAccountId}",
3758
- ...options
3759
- });
3760
- };
3761
- var updateSubAccount = (options) => {
3762
- return (options.client ?? client).put({
3763
- security: [
3764
- {
3765
- name: "Authorization",
3766
- type: "apiKey"
3767
- }
3768
- ],
3769
- url: "/api/v1/subAccounts/{subAccountId}",
3770
- ...options,
3771
- headers: {
3772
- "Content-Type": "application/json",
3773
- ...options.headers
3774
- }
3775
- });
3776
- };
3777
- var presetRequestApproval = (options) => {
3778
- return (options.client ?? client).put({
3779
- security: [
3780
- {
3781
- name: "Authorization",
3782
- type: "apiKey"
3783
- }
3784
- ],
3785
- url: "/api/v1/presets/{presetId}/approvals/requestApproval",
3786
- ...options
3787
- });
3788
- };
3789
- var rejectPresetApproval = (options) => {
3790
- return (options.client ?? client).put({
3791
- security: [
3792
- {
3793
- name: "Authorization",
3794
- type: "apiKey"
3795
- }
3796
- ],
3797
- url: "/api/v1/presets/{presetId}/approvals/reject",
3798
- ...options,
3799
- headers: {
3800
- "Content-Type": "application/json",
3801
- ...options.headers
3802
- }
3803
- });
3804
- };
3805
- var setOwnerEntity = (options) => {
3806
- return (options.client ?? client).put({
3807
- security: [
3808
- {
3809
- name: "Authorization",
3810
- type: "apiKey"
3811
- }
3812
- ],
3813
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/owner",
3814
- ...options,
3815
- headers: {
3816
- "Content-Type": "application/json",
3817
- ...options.headers
3818
- }
3819
- });
3820
- };
3821
- var negotiationSendForApproval = (options) => {
3822
- return (options.client ?? client).put({
3823
- security: [
3824
- {
3825
- name: "Authorization",
3826
- type: "apiKey"
3827
- }
3828
- ],
3829
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/sendForApproval",
3830
- ...options,
3831
- headers: {
3832
- "Content-Type": "application/json",
3833
- ...options.headers
3834
- }
3835
- });
3836
- };
3837
- var searchEntity = (options) => {
3838
- return (options.client ?? client).get({
3839
- security: [
3840
- {
3841
- name: "Authorization",
3842
- type: "apiKey"
3843
- }
3844
- ],
3845
- url: "/api/v1/entity",
3846
- ...options
3847
- });
3848
- };
3849
- var listDocumentsVersionsSummary = (options) => {
3850
- return (options.client ?? client).get({
3851
- security: [
3852
- {
3853
- name: "Authorization",
3854
- type: "apiKey"
3855
- }
3856
- ],
3857
- url: "/api/v1/documents/versions",
3858
- ...options
3859
- });
3860
- };
3861
- var retract = (options) => {
3862
- return (options.client ?? client).put({
3863
- security: [
3864
- {
3865
- name: "Authorization",
3866
- type: "apiKey"
3867
- }
3868
- ],
3869
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/retract",
3870
- ...options,
3871
- headers: {
3872
- "Content-Type": "application/json",
3873
- ...options.headers
3874
- }
3875
- });
3876
- };
3877
- var acceptAllPositionsFromPreviousVersion = (options) => {
3878
- return (options.client ?? client).put({
3879
- security: [
3880
- {
3881
- name: "Authorization",
3882
- type: "apiKey"
3883
- }
3884
- ],
3885
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptPreviousPosition/{version}",
3886
- ...options
3887
- });
3888
- };
3889
- var renameExecutionAttachment = (options) => {
3890
- return (options.client ?? client).patch({
3891
- security: [
3892
- {
3893
- name: "Authorization",
3894
- type: "apiKey"
3895
- }
3896
- ],
3897
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment/{oldFileName}",
3898
- ...options,
3899
- headers: {
3900
- "Content-Type": "application/json",
3901
- ...options.headers
3902
- }
3903
- });
3904
- };
3905
- var getNestedAnswers = (options) => {
3906
- return (options.client ?? client).get({
3907
- security: [
3908
- {
3909
- name: "Authorization",
3910
- type: "apiKey"
3911
- }
3912
- ],
3913
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/{nestedAnswersId}",
3914
- ...options
3915
- });
3916
- };
3917
- var setNestedAnswers = (options) => {
3918
- return (options.client ?? client).put({
3919
- security: [
3920
- {
3921
- name: "Authorization",
3922
- type: "apiKey"
3923
- }
3924
- ],
3925
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/{nestedAnswersId}",
3926
- ...options,
3927
- headers: {
3928
- "Content-Type": "application/json",
3929
- ...options.headers
3930
- }
3931
- });
3932
- };
3933
- var getBulkSet = (options) => {
3934
- return (options.client ?? client).get({
3935
- security: [
3936
- {
3937
- name: "Authorization",
3938
- type: "apiKey"
3939
- }
3940
- ],
3941
- url: "/api/v1/bulkSets/{bulkSetId}",
3942
- ...options
3943
- });
3944
- };
3945
- var listExecutionAttachments = (options) => {
3946
- return (options.client ?? client).get({
3947
- security: [
3948
- {
3949
- name: "Authorization",
3950
- type: "apiKey"
3951
- }
3952
- ],
3953
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment",
3954
- ...options
3955
- });
3956
- };
3957
- var setExecutionAttachments = (options) => {
3958
- return (options.client ?? client).post({
3959
- ...formDataBodySerializer,
3960
- security: [
3961
- {
3962
- name: "Authorization",
3963
- type: "apiKey"
3964
- }
3965
- ],
3966
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment",
3967
- ...options,
3968
- headers: {
3969
- "Content-Type": null,
3970
- ...options.headers
3971
- }
3972
- });
3973
- };
3974
- var setExecutionAttachment = (options) => {
3975
- return (options.client ?? client).put({
3976
- security: [
3977
- {
3978
- name: "Authorization",
3979
- type: "apiKey"
3980
- }
3981
- ],
3982
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment",
3983
- ...options,
3984
- headers: {
3985
- "Content-Type": "application/pdf",
3986
- ...options.headers
3987
- }
3988
- });
3989
- };
3990
- var checkSignedExecutedVersion = (options) => {
3991
- return (options.client ?? client).get({
3992
- security: [
3993
- {
3994
- name: "Authorization",
3995
- type: "apiKey"
3996
- }
3997
- ],
3998
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executed_version/exists",
3999
- ...options
4000
- });
4001
- };
4002
- var getDownloadActiveNegotiationsReportAsExcel = (options) => {
4003
- return (options.client ?? client).get({
4004
- security: [
4005
- {
4006
- name: "Authorization",
4007
- type: "apiKey"
4008
- }
4009
- ],
4010
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/analytics/xlsx",
4011
- ...options
4012
- });
4013
- };
4014
- var generateActiveNegotiationsReportAsExcel = (options) => {
4015
- return (options.client ?? client).post({
4016
- security: [
4017
- {
4018
- name: "Authorization",
4019
- type: "apiKey"
4020
- }
4021
- ],
4022
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/analytics/xlsx",
4023
- ...options,
4024
- headers: {
4025
- "Content-Type": "application/json",
4026
- ...options.headers
4027
- }
4028
- });
4029
- };
4030
- var phase1Answers = (options) => {
4031
- return (options.client ?? client).get({
4032
- security: [
4033
- {
4034
- name: "Authorization",
4035
- type: "apiKey"
4036
- }
4037
- ],
4038
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/phaseOneAnswers",
4039
- ...options
4040
- });
4041
- };
4042
- var setCounterparties = (options) => {
4043
- return (options.client ?? client).put({
4044
- security: [
4045
- {
4046
- name: "Authorization",
4047
- type: "apiKey"
4048
- }
4049
- ],
4050
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterparties",
4051
- ...options,
4052
- headers: {
4053
- "Content-Type": "application/json",
4054
- ...options.headers
4055
- }
4056
- });
4057
- };
4058
- var getLegacyStatistics = (options) => {
4059
- return (options.client ?? client).get({
4060
- security: [
4061
- {
4062
- name: "Authorization",
4063
- type: "apiKey"
4064
- }
4065
- ],
4066
- url: "/api/v1/subAccounts/{subAccountId}/statistics",
4067
- ...options
4068
- });
4069
- };
4070
- var getChannelTimeline = (options) => {
4071
- return (options.client ?? client).get({
4072
- security: [
4073
- {
4074
- name: "Authorization",
4075
- type: "apiKey"
4076
- }
4077
- ],
4078
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/{channel}",
4079
- ...options
4080
- });
4081
- };
4082
- var schemaAvailableAsCDM = (options) => {
4083
- return (options.client ?? client).get({
4084
- security: [
4085
- {
4086
- name: "Authorization",
4087
- type: "apiKey"
4088
- }
4089
- ],
4090
- url: "/api/v1/documents/{documentId}/schemas/{version}/availableAsCDM",
4091
- ...options
4092
- });
4093
- };
4094
- var revokeWindow = (options) => {
4095
- return (options?.client ?? client).delete({
4096
- security: [
4097
- {
4098
- name: "Authorization",
4099
- type: "apiKey"
4100
- }
4101
- ],
4102
- url: "/api/v1/supportAccess/window",
4103
- ...options
4104
- });
4105
- };
4106
- var getWindow = (options) => {
4107
- return (options?.client ?? client).get({
4108
- security: [
4109
- {
4110
- name: "Authorization",
4111
- type: "apiKey"
4112
- }
4113
- ],
4114
- url: "/api/v1/supportAccess/window",
4115
- ...options
4116
- });
4117
- };
4118
- var grantWindow = (options) => {
4119
- return (options?.client ?? client).post({
4120
- security: [
4121
- {
4122
- name: "Authorization",
4123
- type: "apiKey"
4124
- }
4125
- ],
4126
- url: "/api/v1/supportAccess/window",
4127
- ...options
4128
- });
4129
- };
4130
- var extendWindow = (options) => {
4131
- return (options?.client ?? client).put({
4132
- security: [
4133
- {
4134
- name: "Authorization",
4135
- type: "apiKey"
4136
- }
4137
- ],
4138
- url: "/api/v1/supportAccess/window",
4139
- ...options
4140
- });
4141
- };
4142
- var deleteOfflineNegotiatedDocument = (options) => {
4143
- return (options.client ?? client).delete({
4144
- security: [
4145
- {
4146
- name: "Authorization",
4147
- type: "apiKey"
4148
- }
4149
- ],
4150
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4151
- ...options
4152
- });
4153
- };
4154
- var getOfflineNegotiatedDocument = (options) => {
4155
- return (options.client ?? client).get({
4156
- security: [
4157
- {
4158
- name: "Authorization",
4159
- type: "apiKey"
4160
- }
4161
- ],
4162
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4163
- ...options
4164
- });
4165
- };
4166
- var setOfflineNegotiatedDocument = (options) => {
4167
- return (options.client ?? client).put({
4168
- security: [
4169
- {
4170
- name: "Authorization",
4171
- type: "apiKey"
4172
- }
4173
- ],
4174
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4175
- ...options,
4176
- headers: {
4177
- "Content-Type": "application/pdf",
4178
- ...options.headers
4179
- }
4180
- });
4181
- };
4182
- var deleteSignedExecutedVersion = (options) => {
4183
- return (options.client ?? client).delete({
4184
- security: [
4185
- {
4186
- name: "Authorization",
4187
- type: "apiKey"
4188
- }
4189
- ],
4190
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executed_version",
4191
- ...options
4192
- });
4193
- };
4194
- var getSignedExecutedVersion = (options) => {
4195
- return (options.client ?? client).get({
4196
- security: [
4197
- {
4198
- name: "Authorization",
4199
- type: "apiKey"
4200
- }
4201
- ],
4202
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executed_version",
4203
- ...options
4204
- });
4205
- };
4206
- var setSignedExecutedVersion = (options) => {
4207
- return (options.client ?? client).put({
4208
- security: [
4209
- {
4210
- name: "Authorization",
4211
- type: "apiKey"
4212
- }
4213
- ],
4214
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executed_version",
4215
- ...options,
4216
- headers: {
4217
- "Content-Type": "application/pdf",
4218
- ...options.headers
4219
- }
4220
- });
4221
- };
4222
- var deleteCoverNote = (options) => {
4223
- return (options.client ?? client).delete({
4224
- security: [
4225
- {
4226
- name: "Authorization",
4227
- type: "apiKey"
4228
- }
4229
- ],
4230
- url: "/api/v1/bulkSets/{bulkSetId}/coverNote",
4231
- ...options
4232
- });
4233
- };
4234
- var updateCoverNote = (options) => {
4235
- return (options.client ?? client).put({
4236
- security: [
4237
- {
4238
- name: "Authorization",
4239
- type: "apiKey"
4240
- }
4241
- ],
4242
- url: "/api/v1/bulkSets/{bulkSetId}/coverNote",
4243
- ...options,
4244
- headers: {
4245
- "Content-Type": "application/json",
4246
- ...options.headers
4247
- }
4248
- });
4249
- };
4250
- var queueGenerateNegotiationDocumentJob = (options) => {
4251
- return (options.client ?? client).post({
4252
- security: [
4253
- {
4254
- name: "Authorization",
4255
- type: "apiKey"
4256
- }
4257
- ],
4258
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/generateDocument",
4259
- ...options,
4260
- headers: {
4261
- "Content-Type": "application/json",
4262
- ...options.headers
4263
- }
4264
- });
4265
- };
4266
- var createSignaturePagePDF = (options) => {
4267
- return (options.client ?? client).get({
4268
- security: [
4269
- {
4270
- name: "Authorization",
4271
- type: "apiKey"
4272
- }
4273
- ],
4274
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/signature/{pageId}/pdf",
4275
- ...options
4276
- });
4277
- };
4278
- var upgradePresetSchema = (options) => {
4279
- return (options.client ?? client).put({
4280
- security: [
4281
- {
4282
- name: "Authorization",
4283
- type: "apiKey"
4284
- }
4285
- ],
4286
- url: "/api/v1/presets/{presetId}/schema/upgrade",
4287
- ...options
4288
- });
4289
- };
4290
- var sendToCounterpartyInitial = (options) => {
4291
- return (options.client ?? client).put({
4292
- security: [
4293
- {
4294
- name: "Authorization",
4295
- type: "apiKey"
4296
- }
4297
- ],
4298
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial",
4299
- ...options,
4300
- headers: {
4301
- "Content-Type": "application/json",
4302
- ...options.headers
4303
- }
4304
- });
4305
- };
4306
- var documentRenderTemplate = (options) => {
4307
- return (options.client ?? client).get({
4308
- security: [
4309
- {
4310
- name: "Authorization",
4311
- type: "apiKey"
4312
- }
4313
- ],
4314
- url: "/api/v1/documents/{documentId}/schemas/{version}/preview",
4315
- ...options
4316
- });
4317
- };
4318
- var getAccountRelationshipSummaries = (options) => {
4319
- return (options?.client ?? client).get({
4320
- security: [
4321
- {
4322
- name: "Authorization",
4323
- type: "apiKey"
4324
- }
4325
- ],
4326
- url: "/api/v1/advisor/accounts/relationships/summary",
4327
- ...options
4328
- });
4329
- };
4330
- var presetRenderTemplate = (options) => {
4331
- return (options.client ?? client).get({
4332
- security: [
4333
- {
4334
- name: "Authorization",
4335
- type: "apiKey"
4336
- }
4337
- ],
4338
- url: "/api/v1/presets/{presetId}/preview",
4339
- ...options
4340
- });
4341
- };
4342
- var addComment = (options) => {
4343
- return (options.client ?? client).post({
4344
- security: [
4345
- {
4346
- name: "Authorization",
4347
- type: "apiKey"
4348
- }
4349
- ],
4350
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/{channel}/comments",
4351
- ...options,
4352
- headers: {
4353
- "Content-Type": "application/json",
4354
- ...options.headers
4355
- }
4356
- });
4357
- };
4358
- var presetSetElectionApproval = (options) => {
4359
- return (options.client ?? client).put({
4360
- security: [
4361
- {
4362
- name: "Authorization",
4363
- type: "apiKey"
4364
- }
4365
- ],
4366
- url: "/api/v1/presets/{presetId}/approvals/elections/{electionId}",
4367
- ...options,
4368
- headers: {
4369
- "Content-Type": "application/json",
4370
- ...options.headers
4371
- }
4372
- });
4373
- };
4374
- var getSSOConfig = (options) => {
4375
- return (options?.client ?? client).get({
4376
- security: [
4377
- {
4378
- name: "Authorization",
4379
- type: "apiKey"
4380
- }
4381
- ],
4382
- url: "/api/v1/account/sso",
4383
- ...options
4384
- });
4385
- };
4386
- var updateCustomFields = (options) => {
4387
- return (options.client ?? client).put({
4388
- security: [
4389
- {
4390
- name: "Authorization",
4391
- type: "apiKey"
4392
- }
4393
- ],
4394
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/customFields",
4395
- ...options,
4396
- headers: {
4397
- "Content-Type": "application/json",
4398
- ...options.headers
4399
- }
4400
- });
4401
- };
4402
- var sendElectionApprovalReminder = (options) => {
4403
- return (options.client ?? client).put({
4404
- security: [
4405
- {
4406
- name: "Authorization",
4407
- type: "apiKey"
4408
- }
4409
- ],
4410
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/reminder",
4411
- ...options
4412
- });
4413
- };
4414
- var rejectAccessRequest = (options) => {
4415
- return (options.client ?? client).put({
4416
- security: [
4417
- {
4418
- name: "Authorization",
4419
- type: "apiKey"
4420
- }
4421
- ],
4422
- url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/reject",
4423
- ...options
4424
- });
4425
- };
4426
- var getExecutedNegotiationSummary = (options) => {
4427
- return (options.client ?? client).get({
4428
- security: [
4429
- {
4430
- name: "Authorization",
4431
- type: "apiKey"
4432
- }
4433
- ],
4434
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/metadata",
4435
- ...options
4436
- });
4437
- };
4438
- var swapParties = (options) => {
4439
- return (options.client ?? client).put({
4440
- security: [
4441
- {
4442
- name: "Authorization",
4443
- type: "apiKey"
4444
- }
4445
- ],
4446
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/swapParties",
4447
- ...options
4448
- });
4449
- };
4450
- var acceptNestedAnswersCounterpartyPosition = (options) => {
4451
- return (options.client ?? client).put({
4452
- security: [
4453
- {
4454
- name: "Authorization",
4455
- type: "apiKey"
4456
- }
4457
- ],
4458
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers/nested/{nestedAnswersId}/acceptCpPosition/{partyId}",
4459
- ...options
4460
- });
4461
- };
4462
- var upgradeSchema = (options) => {
4463
- return (options.client ?? client).put({
4464
- security: [
4465
- {
4466
- name: "Authorization",
4467
- type: "apiKey"
4468
- }
4469
- ],
4470
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/upgrade",
4471
- ...options
4472
- });
4473
- };
4474
- var updateAttachDocx = (options) => {
4475
- return (options.client ?? client).put({
4476
- security: [
4477
- {
4478
- name: "Authorization",
4479
- type: "apiKey"
4480
- }
4481
- ],
4482
- url: "/api/v1/bulkSets/{bulkSetId}/updateAttachDocx",
4483
- ...options
4484
- });
4485
- };
4486
- var getCompanyByEntityId = (options) => {
4487
- return (options.client ?? client).get({
4488
- security: [
4489
- {
4490
- name: "Authorization",
4491
- type: "apiKey"
4492
- }
4493
- ],
4494
- url: "/api/v1/entity/{entityId}",
4495
- ...options
4496
- });
4497
- };
4498
- var deleteDraftingNotesDocument = (options) => {
4499
- return (options.client ?? client).delete({
4500
- security: [
4501
- {
4502
- name: "Authorization",
4503
- type: "apiKey"
4504
- }
4505
- ],
4506
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNotes",
4507
- ...options
4508
- });
4509
- };
4510
- var getDraftingNotes = (options) => {
4511
- return (options.client ?? client).get({
4512
- security: [
4513
- {
4514
- name: "Authorization",
4515
- type: "apiKey"
4516
- }
4517
- ],
4518
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNotes",
4519
- ...options
4520
- });
4521
- };
4522
- var updateDraftingNotes = (options) => {
4523
- return (options.client ?? client).post({
4524
- security: [
4525
- {
4526
- name: "Authorization",
4527
- type: "apiKey"
4528
- }
4529
- ],
4530
- url: "/api/v1/documents/{documentId}/subAccounts/{subAccountId}/draftingNotes",
4531
- ...options
4532
- });
4533
- };
4534
- var createAuditTrailPDF = (options) => {
4535
- return (options.client ?? client).get({
4536
- security: [
4537
- {
4538
- name: "Authorization",
4539
- type: "apiKey"
4540
- }
4541
- ],
4542
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/audit_trail/pdf",
4543
- ...options
4544
- });
4545
- };
4546
- var listRecentExtractions = (options) => {
4547
- return (options.client ?? client).get({
4548
- security: [
4549
- {
4550
- name: "Authorization",
4551
- type: "apiKey"
4552
- }
4553
- ],
4554
- url: "/api/v1/subAccounts/{subAccountId}/extraction/recent",
4555
- ...options
4556
- });
4557
- };
4558
- var initialAnswers = (options) => {
4559
- return (options.client ?? client).get({
4560
- security: [
4561
- {
4562
- name: "Authorization",
4563
- type: "apiKey"
4564
- }
4565
- ],
4566
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/initialAnswers",
4567
- ...options
4568
- });
4569
- };
4570
- var downloadNegotiation = (options) => {
4571
- return (options.client ?? client).get({
4572
- security: [
4573
- {
4574
- name: "Authorization",
4575
- type: "apiKey"
4576
- }
4577
- ],
4578
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extension/{extension}",
4579
- ...options
4580
- });
4581
- };
4582
- var getTimelineActivity = (options) => {
4583
- return (options.client ?? client).get({
4584
- security: [
4585
- {
4586
- name: "Authorization",
4587
- type: "apiKey"
4588
- }
4589
- ],
4590
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities",
4591
- ...options
4592
- });
4593
- };
4594
- var getProfile = (options) => {
4595
- return (options?.client ?? client).get({
4596
- security: [
4597
- {
4598
- name: "Authorization",
4599
- type: "apiKey"
4600
- }
4601
- ],
4602
- url: "/api/v1/user/profile",
4603
- ...options
4604
- });
4605
- };
4606
- export {
4607
- acceptAllCounterpartyPositions,
4608
- acceptAllCustodianTemplatePositions,
4609
- acceptAllPositionsFromFork,
4610
- acceptAllPositionsFromPreviousVersion,
4611
- acceptAllPresetPositions,
4612
- acceptCounterpartyPosition,
4613
- acceptNestedAnswersCounterpartyPosition,
4614
- accountSummary,
4615
- addApprovalComment,
4616
- addComment,
4617
- addElectionApproval,
4618
- addElectionRejection,
4619
- addWatchers,
4620
- applyExtractedAnswers,
4621
- approve,
4622
- approveAccessRequest,
4623
- approveFinalDocument,
4624
- assignDraftPresetToMe,
4625
- assignEntity,
4626
- assignToMe,
4627
- assignUser,
4628
- auditTrailFilters,
4629
- auditTrailForAccountAsJson,
4630
- auditTrailForSubAccountAsJson,
4631
- authPing,
4632
- breakingChanges,
4633
- bulkSetsJobCount,
4634
- cancel,
4635
- cancelExtraction,
4636
- cancelNegotiations,
4637
- cancelNegotiationsJobCount,
4638
- changeSigningMode,
4639
- checkAuxiliaryDocument,
4640
- checkForBrokenApprovers,
4641
- checkOfflineNegotiatedDocument,
4642
- checkSignedExecutedVersion,
4643
- checkSignedSignaturePagePDF,
4644
- clonePreset,
4645
- confirm,
4646
- confirmExecutionVersion,
4647
- consentCodeCallback,
4648
- contactForNewApprover,
4649
- createAuditTrailJson,
4650
- createAuditTrailPDF,
4651
- createAuditTrailXLSX,
4652
- createBulkSet,
4653
- createGroup,
4654
- createNegotiation,
4655
- createPreset,
4656
- createPresetAuditTrailJson,
4657
- createPresetAuditTrailXLSX,
4658
- createSignaturePagePDF,
4659
- createSigningPack,
4660
- deleteApprovalComment,
4661
- deleteAuxiliaryDocument,
4662
- deleteBulkSetAttachment,
4663
- deleteComment,
4664
- deleteCoverNote,
4665
- deleteDocumentDraftingNote,
4666
- deleteDocumentElectionDraftingNote,
4667
- deleteDraftingNotesDocument,
4668
- deleteEntity,
4669
- deleteExecutionAttachment,
4670
- deleteExternalAttachment,
4671
- deleteGeneralCoverNote,
4672
- deleteOfflineNegotiatedDocument,
4673
- deletePreset,
4674
- deleteSignedExecutedVersion,
4675
- deleteSignedSignaturePageForParty,
4676
- documentRenderTemplate,
4677
- documentsFilter,
4678
- downloadNegotiation,
4679
- downloadPostExecutionPack,
4680
- downloadPreExecutionCounterpartyNegotiation,
4681
- downloadPreset,
4682
- editAnswers,
4683
- editApprovalComment,
4684
- editDefaultAnswers,
4685
- emailPreferences,
4686
- extendWindow,
4687
- fixApprovalRules,
4688
- forkNegotiation,
4689
- generateActiveNegotiationsReportAsExcel,
4690
- generateAndMaybeSendEnvelope,
4691
- generateAuditTrailForAccountAsExcel,
4692
- generateAuditTrailForSubAccountAsExcel,
4693
- generateCommentsReport,
4694
- generateExecutedNegotiationsReportAsExcel,
4695
- generateNegotiationsReport,
4696
- getAccessibleNegotiation,
4697
- getAccountRelationshipSummaries,
4698
- getAdminLikeUsers,
4699
- getAllVersions,
4700
- getAmendDefaults,
4701
- getAnnotatedOfflineNegotiatedDocument,
4702
- getApprovalComments,
4703
- getApprovalHistory,
4704
- getApprovalRound,
4705
- getAsCDM,
4706
- getAuxiliaryDocument,
4707
- getBulkSet,
4708
- getBulkSetAttachment,
4709
- getChannelTimeline,
4710
- getCommentSummary,
4711
- getComments,
4712
- getCompanyByEntityId,
4713
- getDocument,
4714
- getDocumentSchema,
4715
- getDownloadActiveNegotiationsReportAsExcel,
4716
- getDownloadExecutedNegotiationsAsExcel,
4717
- getDraftingNotes,
4718
- getDraftingNotesDocument,
4719
- getElectionAnswer,
4720
- getExecutedNegotiationSummary,
4721
- getExecutionAttachment,
4722
- getExternalAttachment,
4723
- getExtractionResults,
4724
- getGroupNames,
4725
- getLatestDocumentSchema,
4726
- getLegacyStatistics,
4727
- getMajorVersions,
4728
- getMultipleNestedAnswers,
4729
- getNegotiation,
4730
- getNegotiationDeltas,
4731
- getNegotiationDraftingNotes,
4732
- getNegotiationESignStatus,
4733
- getNegotiationFilesSummary,
4734
- getNegotiationsGroup,
4735
- getNestedAnswers,
4736
- getOfflineNegotiatedDocument,
4737
- getOfflineNegotiatedDocumentAnnotations,
4738
- getOriginalAnswersForForkNegotiation,
4739
- getOtherPartyAnswers,
4740
- getPartyAnswers,
4741
- getPotentialReplacementApprovers,
4742
- getPotentialUsers,
4743
- getPreset,
4744
- getPreviousActiveUsers,
4745
- getPreviousMajorVersionsNestedAnswerElections,
4746
- getPreviousMajorVersionsNestedAnswerIds,
4747
- getProfile,
4748
- getSSOConfig,
4749
- getSecurityContext,
4750
- getSettings,
4751
- getSignedExecutedVersion,
4752
- getSignedSignaturePagePDF,
4753
- getStatistics,
4754
- getStatisticsOverview,
4755
- getSubAccount,
4756
- getSubscribedPublishers,
4757
- getTimeline,
4758
- getTimelineActivity,
4759
- getUserStatistics,
4760
- getUsers,
4761
- getUsersForPicker,
4762
- getWatchers,
4763
- getWindow,
4764
- grantAllNegotiationsAccess,
4765
- grantNegotiationsAccess,
4766
- grantPresetsAccess,
4767
- grantWindow,
4768
- initialAnswers,
4769
- listAdvisorsForWorkspace,
4770
- listAllPresetsForSubAccountV1,
4771
- listAllPresetsForSubAccountV2,
4772
- listBulkSets,
4773
- listDocuments,
4774
- listDocumentsVersionsSummary,
4775
- listDocumentsWithPagination,
4776
- listEntities,
4777
- listExecutionAttachments,
4778
- listExternalAttachments,
4779
- listNegotiations,
4780
- listPotentialNegotiationAdvisors,
4781
- listPotentialPresetAdvisors,
4782
- listPresets,
4783
- listRecentExtractions,
4784
- listSubAccounts,
4785
- markActivityEventsAsViewed,
4786
- markApprovalCommentsAsViewed,
4787
- markAsFinal,
4788
- markAsOffline,
4789
- markCommentEventsAsViewed,
4790
- markEventsAsViewed,
4791
- moveEntity,
4792
- negotiationForkHistory,
4793
- negotiationGetDocumentSchema,
4794
- negotiationRenderCounterpartyTemplate,
4795
- negotiationRenderTemplate,
4796
- negotiationSendForApproval,
4797
- negotiationsFilter,
4798
- notifyOfDraft,
4799
- obtainConsent,
4800
- overrideApproveFinalDocument,
4801
- overrideElectionApproval,
4802
- overrideElectionRejection,
4803
- overrideRejectFinalDocument,
4804
- patchAnswers,
4805
- patchEmailPreferences,
4806
- phase1Answers,
4807
- presetEditAnswers,
4808
- presetGetDocumentSchema,
4809
- presetGetMultipleNestedAnswers,
4810
- presetGetNestedAnswers,
4811
- presetRenderTemplate,
4812
- presetRequestApproval,
4813
- presetSendForApproval,
4814
- presetSetElectionApproval,
4815
- presetSetFinalApproval,
4816
- presetSetMultipleNestedAnswers,
4817
- presetSetNestedAnswers,
4818
- presetSwapParties,
4819
- publisherSummaries,
4820
- queueGenerateNegotiationDocumentJob,
4821
- rejectAccessRequest,
4822
- rejectFinalDocument,
4823
- rejectPresetApproval,
4824
- removeWatchers,
4825
- renameExecutionAttachment,
4826
- resetUserAnswers,
4827
- retract,
4828
- revertToAmending,
4829
- revokeNegotiationsAccess,
4830
- revokePresetsAccess,
4831
- revokeWindow,
4832
- scheduleExtraction,
4833
- schemaAvailableAsCDM,
4834
- searchEntity,
4835
- sendBulkSetToCounterpartiesInitial,
4836
- sendDocumentApprovalReminder,
4837
- sendElectionApprovalReminder,
4838
- sendGroupToCounterparty,
4839
- sendManualReminderEmail,
4840
- sendToCounterparty,
4841
- sendToCounterpartyInitial,
4842
- setAuxiliaryDocument,
4843
- setBulkSetAttachments,
4844
- setCounterparties,
4845
- setElectionApproval,
4846
- setExecutionAttachment,
4847
- setExecutionAttachments,
4848
- setExternalAttachment,
4849
- setExternalAttachments,
4850
- setFinalApproval,
4851
- setGeneralCoverNote,
4852
- setMultipleNestedAnswers,
4853
- setNestedAnswers,
4854
- setOfflineNegotiatedDocument,
4855
- setOwnerEntity,
4856
- setPreset,
4857
- setReceiverEntity,
4858
- setSignedExecutedVersion,
4859
- setSignedSignaturePageForParty,
4860
- shareNegotiation,
4861
- shareSubAccount,
4862
- suggestGroupName,
4863
- swapParties,
4864
- syncFundList,
4865
- syncNewApprover,
4866
- unsubscribe,
4867
- updateAttachDocx,
4868
- updateComment,
4869
- updateCommentReaction,
4870
- updateCoverNote,
4871
- updateCustomFields,
4872
- updateDocumentDraftingNote,
4873
- updateDocumentElectionDraftingNote,
4874
- updateDraftingNotes,
4875
- updateExtractionFeedback,
4876
- updateGroupMembers,
4877
- updateGroupName,
4878
- updateMetadata,
4879
- updateNegotiationsToMatch,
4880
- updateSelectedElections,
4881
- updateSubAccount,
4882
- updateUserAnswers,
4883
- upgradePresetSchema,
4884
- upgradeSchema,
4885
- uploadFundListSpreadsheet,
4886
- usersWithNegotiationAccess,
4887
- validateDraftReceiverEmails,
4888
- validateEntities,
4889
- version,
4890
- voidESignEnvelopeForNegotiation
4891
- };
4892
- //# sourceMappingURL=index.js.map