@criipto/signatures 1.7.1 → 1.8.0
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/graphql-sdk.d.ts +13 -2
- package/package.json +1 -1
package/dist/graphql-sdk.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
/// <reference types="whatwg-fetch" />
|
|
3
2
|
import { GraphQLClient } from 'graphql-request';
|
|
4
3
|
import * as Dom from 'graphql-request/dist/types.dom';
|
|
5
4
|
export type Maybe<T> = T | null;
|
|
@@ -37,6 +36,7 @@ export type AddSignatoriesOutput = {
|
|
|
37
36
|
signatureOrder: SignatureOrder;
|
|
38
37
|
};
|
|
39
38
|
export type AddSignatoryInput = {
|
|
39
|
+
/** Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents. */
|
|
40
40
|
documents?: InputMaybe<Array<SignatoryDocumentInput>>;
|
|
41
41
|
/** Selectively enable evidence providers for this signatory. */
|
|
42
42
|
evidenceProviders?: InputMaybe<Array<SignatoryEvidenceProviderInput>>;
|
|
@@ -104,6 +104,7 @@ export type CancelSignatureOrderOutput = {
|
|
|
104
104
|
signatureOrder: SignatureOrder;
|
|
105
105
|
};
|
|
106
106
|
export type ChangeSignatoryInput = {
|
|
107
|
+
/** Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents. */
|
|
107
108
|
documents?: InputMaybe<Array<SignatoryDocumentInput>>;
|
|
108
109
|
/** Selectively enable evidence providers for this signatory. */
|
|
109
110
|
evidenceProviders?: InputMaybe<Array<SignatoryEvidenceProviderInput>>;
|
|
@@ -172,7 +173,9 @@ export type CreateSignatureOrderInput = {
|
|
|
172
173
|
evidenceProviders?: InputMaybe<Array<EvidenceProviderInput>>;
|
|
173
174
|
/** Defines when a signatory must be validated, default is when signing, but can be expanded to also be required when viewing documents. */
|
|
174
175
|
evidenceValidationStages?: InputMaybe<Array<EvidenceValidationStage>>;
|
|
175
|
-
/** When this signature order will auto-close/expire.
|
|
176
|
+
/** When this signature order will auto-close/expire at exactly in one of the following ISO-8601 formats: yyyy-MM-ddTHH:mm:ssZ, yyyy-MM-ddTHH:mm:ss.ffZ, yyyy-MM-ddTHH:mm:ss.fffZ, yyyy-MM-ddTHH:mm:ssK, yyyy-MM-ddTHH:mm:ss.ffK, yyyy-MM-ddTHH:mm:ss.fffK. Cannot be provided with `expiresInDays`. */
|
|
177
|
+
expiresAt?: InputMaybe<Scalars['String']>;
|
|
178
|
+
/** When this signature order will auto-close/expire. Default 90 days. Cannot be provided with `expiresAt` */
|
|
176
179
|
expiresInDays?: InputMaybe<Scalars['Int']>;
|
|
177
180
|
/** Attempt to automatically fix document formatting errors if possible. Default 'true'. */
|
|
178
181
|
fixDocumentFormattingErrors?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -195,6 +198,7 @@ export type CreateSignatureOrderOutput = {
|
|
|
195
198
|
signatureOrder: SignatureOrder;
|
|
196
199
|
};
|
|
197
200
|
export type CreateSignatureOrderSignatoryInput = {
|
|
201
|
+
/** Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents. */
|
|
198
202
|
documents?: InputMaybe<Array<SignatoryDocumentInput>>;
|
|
199
203
|
/** Selectively enable evidence providers for this signatory. */
|
|
200
204
|
evidenceProviders?: InputMaybe<Array<SignatoryEvidenceProviderInput>>;
|
|
@@ -297,6 +301,10 @@ export type DownloadVerificationOidcInput = {
|
|
|
297
301
|
};
|
|
298
302
|
/** Hand drawn signature evidence for signatures. */
|
|
299
303
|
export type DrawableEvidenceProviderInput = {
|
|
304
|
+
/** Required minimum height of drawed area in pixels. */
|
|
305
|
+
minimumHeight?: InputMaybe<Scalars['Int']>;
|
|
306
|
+
/** Required minimum width of drawed area in pixels. */
|
|
307
|
+
minimumWidth?: InputMaybe<Scalars['Int']>;
|
|
300
308
|
requireName?: InputMaybe<Scalars['Boolean']>;
|
|
301
309
|
};
|
|
302
310
|
export type DrawableSignature = Signature & SingleSignature & {
|
|
@@ -308,6 +316,8 @@ export type DrawableSignature = Signature & SingleSignature & {
|
|
|
308
316
|
export type DrawableSignatureEvidenceProvider = SignatureEvidenceProvider & SingleSignatureEvidenceProvider & {
|
|
309
317
|
__typename?: 'DrawableSignatureEvidenceProvider';
|
|
310
318
|
id: Scalars['ID'];
|
|
319
|
+
minimumHeight?: Maybe<Scalars['Int']>;
|
|
320
|
+
minimumWidth?: Maybe<Scalars['Int']>;
|
|
311
321
|
requireName: Scalars['Boolean'];
|
|
312
322
|
};
|
|
313
323
|
export type EmptySignature = Signature & SingleSignature & {
|
|
@@ -721,6 +731,7 @@ export type Signature = {
|
|
|
721
731
|
};
|
|
722
732
|
export type SignatureAppearanceInput = {
|
|
723
733
|
displayName?: InputMaybe<Array<SignatureAppearanceTemplateInput>>;
|
|
734
|
+
footer?: InputMaybe<Array<SignatureAppearanceTemplateInput>>;
|
|
724
735
|
headerLeft?: InputMaybe<Array<SignatureAppearanceTemplateInput>>;
|
|
725
736
|
/** Render evidence claim as identifier in the signature appearance inside the document. You can supply multiple keys and they will be tried in order. If no key is found a GUID will be rendered. */
|
|
726
737
|
identifierFromEvidence: Array<Scalars['String']>;
|