instasign 1.1.3 → 1.1.4

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/types/schema.d.ts CHANGED
@@ -42,11 +42,7 @@ export interface paths {
42
42
  };
43
43
  content: {
44
44
  "application/json": {
45
- result: {
46
- requestId: string;
47
- signUrl: string;
48
- envelopeSignUrl?: string;
49
- };
45
+ result: components["schemas"]["EnvelopeAddSignRequestResult"];
50
46
  };
51
47
  };
52
48
  };
@@ -90,10 +86,7 @@ export interface paths {
90
86
  };
91
87
  content: {
92
88
  "application/json": {
93
- result: {
94
- success: boolean;
95
- message: string;
96
- };
89
+ result: components["schemas"]["EnvelopeCompleteResult"];
97
90
  };
98
91
  };
99
92
  };
@@ -144,9 +137,7 @@ export interface paths {
144
137
  };
145
138
  content: {
146
139
  "application/json": {
147
- result: {
148
- envelopeId: string;
149
- };
140
+ result: components["schemas"]["EnvelopeCreateResult"];
150
141
  };
151
142
  };
152
143
  };
@@ -190,9 +181,7 @@ export interface paths {
190
181
  };
191
182
  content: {
192
183
  "application/json": {
193
- result: {
194
- success: boolean;
195
- };
184
+ result: components["schemas"]["EnvelopeDeleteResult"];
196
185
  };
197
186
  };
198
187
  };
@@ -237,34 +226,7 @@ export interface paths {
237
226
  };
238
227
  content: {
239
228
  "application/json": {
240
- result: {
241
- envelopeId: string;
242
- name: string;
243
- description?: string;
244
- /** @enum {string} */
245
- status: "pending" | "in-progress" | "completed" | "cancelled";
246
- clientReferenceId?: string;
247
- signRequestsCount: number;
248
- signRequests: {
249
- requestId: string;
250
- /** @enum {string} */
251
- status: "pending" | "completed" | "canceled" | "queued";
252
- fileName: string;
253
- fileUrl: string;
254
- signedFileUrl?: string;
255
- metadata: {
256
- [key: string]: unknown;
257
- };
258
- clientReferenceId?: string;
259
- }[];
260
- /** Format: date-time */
261
- createdAt: string;
262
- /** Format: date-time */
263
- updatedAt: string;
264
- /** Format: date-time */
265
- expirationDate?: string;
266
- signUrl?: string;
267
- };
229
+ result: components["schemas"]["EnvelopeGetResult"];
268
230
  };
269
231
  };
270
232
  };
@@ -321,34 +283,7 @@ export interface paths {
321
283
  };
322
284
  content: {
323
285
  "application/json": {
324
- result: {
325
- envelopeId: string;
326
- name: string;
327
- description?: string;
328
- /** @enum {string} */
329
- status: "pending" | "in-progress" | "completed" | "cancelled";
330
- clientReferenceId?: string;
331
- signRequestsCount: number;
332
- signRequests: {
333
- requestId: string;
334
- /** @enum {string} */
335
- status: "pending" | "completed" | "canceled" | "queued";
336
- fileName: string;
337
- fileUrl: string;
338
- signedFileUrl?: string;
339
- metadata: {
340
- [key: string]: unknown;
341
- };
342
- clientReferenceId?: string;
343
- }[];
344
- /** Format: date-time */
345
- createdAt: string;
346
- /** Format: date-time */
347
- updatedAt: string;
348
- /** Format: date-time */
349
- expirationDate?: string;
350
- signUrl?: string;
351
- }[];
286
+ result: components["schemas"]["EnvelopeListResult"][];
352
287
  };
353
288
  };
354
289
  };
@@ -393,10 +328,7 @@ export interface paths {
393
328
  };
394
329
  content: {
395
330
  "application/json": {
396
- result: {
397
- success: boolean;
398
- message: string;
399
- };
331
+ result: components["schemas"]["EnvelopeRemoveSignRequestResult"];
400
332
  };
401
333
  };
402
334
  };
@@ -443,12 +375,7 @@ export interface paths {
443
375
  };
444
376
  content: {
445
377
  "application/json": {
446
- result: {
447
- envelopeId: string;
448
- metadata: {
449
- [key: string]: unknown;
450
- };
451
- };
378
+ result: components["schemas"]["EnvelopeUpdateMetadataResult"];
452
379
  };
453
380
  };
454
381
  };
@@ -493,9 +420,7 @@ export interface paths {
493
420
  };
494
421
  content: {
495
422
  "application/json": {
496
- result: {
497
- signedFileUrl: string;
498
- };
423
+ result: components["schemas"]["SignRequestCompleteResult"];
499
424
  };
500
425
  };
501
426
  };
@@ -547,10 +472,7 @@ export interface paths {
547
472
  };
548
473
  content: {
549
474
  "application/json": {
550
- result: {
551
- requestId: string;
552
- signUrl: string;
553
- };
475
+ result: components["schemas"]["SignRequestCreateResult"];
554
476
  };
555
477
  };
556
478
  };
@@ -594,22 +516,7 @@ export interface paths {
594
516
  };
595
517
  content: {
596
518
  "application/json": {
597
- result: {
598
- requestId: string;
599
- /** @enum {string} */
600
- status: "pending" | "completed" | "canceled" | "queued";
601
- fileName: string;
602
- originalFile: string;
603
- signedFile?: string;
604
- metadata?: {
605
- [key: string]: unknown;
606
- };
607
- clientReferenceId?: string;
608
- /** Format: date-time */
609
- createdAt: string;
610
- /** Format: date-time */
611
- updatedAt: string;
612
- };
519
+ result: components["schemas"]["SignRequestGetResult"];
613
520
  };
614
521
  };
615
522
  };
@@ -656,12 +563,7 @@ export interface paths {
656
563
  };
657
564
  content: {
658
565
  "application/json": {
659
- result: {
660
- requestId: string;
661
- metadata: {
662
- [key: string]: unknown;
663
- };
664
- };
566
+ result: components["schemas"]["SignRequestUpdateMetadataResult"];
665
567
  };
666
568
  };
667
569
  };
@@ -676,7 +578,118 @@ export interface paths {
676
578
  }
677
579
  export type webhooks = Record<string, never>;
678
580
  export interface components {
679
- schemas: never;
581
+ schemas: {
582
+ EnvelopeAddSignRequestResult: {
583
+ requestId: string;
584
+ signUrl: string;
585
+ envelopeSignUrl?: string;
586
+ };
587
+ EnvelopeCompleteResult: {
588
+ success: boolean;
589
+ message: string;
590
+ };
591
+ EnvelopeCreateResult: {
592
+ envelopeId: string;
593
+ };
594
+ EnvelopeDeleteResult: {
595
+ success: boolean;
596
+ };
597
+ EnvelopeGetResult: {
598
+ envelopeId: string;
599
+ name: string;
600
+ description?: string;
601
+ /** @enum {string} */
602
+ status: "pending" | "in-progress" | "completed" | "cancelled";
603
+ clientReferenceId?: string;
604
+ signRequestsCount: number;
605
+ signRequests: {
606
+ requestId: string;
607
+ /** @enum {string} */
608
+ status: "pending" | "completed" | "canceled" | "queued";
609
+ fileName: string;
610
+ fileUrl: string;
611
+ signedFileUrl?: string;
612
+ metadata: {
613
+ [key: string]: unknown;
614
+ };
615
+ clientReferenceId?: string;
616
+ }[];
617
+ /** Format: date-time */
618
+ createdAt: string;
619
+ /** Format: date-time */
620
+ updatedAt: string;
621
+ /** Format: date-time */
622
+ expirationDate?: string;
623
+ signUrl?: string;
624
+ };
625
+ EnvelopeListResult: {
626
+ envelopeId: string;
627
+ name: string;
628
+ description?: string;
629
+ /** @enum {string} */
630
+ status: "pending" | "in-progress" | "completed" | "cancelled";
631
+ clientReferenceId?: string;
632
+ signRequestsCount: number;
633
+ signRequests: {
634
+ requestId: string;
635
+ /** @enum {string} */
636
+ status: "pending" | "completed" | "canceled" | "queued";
637
+ fileName: string;
638
+ fileUrl: string;
639
+ signedFileUrl?: string;
640
+ metadata: {
641
+ [key: string]: unknown;
642
+ };
643
+ clientReferenceId?: string;
644
+ }[];
645
+ /** Format: date-time */
646
+ createdAt: string;
647
+ /** Format: date-time */
648
+ updatedAt: string;
649
+ /** Format: date-time */
650
+ expirationDate?: string;
651
+ signUrl?: string;
652
+ };
653
+ EnvelopeRemoveSignRequestResult: {
654
+ success: boolean;
655
+ message: string;
656
+ };
657
+ EnvelopeUpdateMetadataResult: {
658
+ envelopeId: string;
659
+ metadata: {
660
+ [key: string]: unknown;
661
+ };
662
+ };
663
+ SignRequestCompleteResult: {
664
+ signedFileUrl: string;
665
+ };
666
+ SignRequestCreateResult: {
667
+ requestId: string;
668
+ signUrl: string;
669
+ };
670
+ SignRequestGetResult: {
671
+ requestId: string;
672
+ /** @enum {string} */
673
+ status: "pending" | "completed" | "canceled" | "queued";
674
+ fileName: string;
675
+ originalFile: string;
676
+ signedFile?: string;
677
+ metadata?: {
678
+ [key: string]: unknown;
679
+ };
680
+ clientReferenceId?: string;
681
+ /** Format: date-time */
682
+ createdAt: string;
683
+ /** Format: date-time */
684
+ updatedAt: string;
685
+ };
686
+ SignRequestUpdateMetadataResult: {
687
+ requestId: string;
688
+ metadata: {
689
+ [key: string]: unknown;
690
+ };
691
+ };
692
+ };
680
693
  responses: never;
681
694
  parameters: never;
682
695
  requestBodies: never;