@criipto/signatures 1.29.1 → 1.30.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.
|
@@ -97,11 +97,13 @@ export type AddSignatoryOutput = {
|
|
|
97
97
|
signatureOrder: SignatureOrder;
|
|
98
98
|
};
|
|
99
99
|
export type AllOfEvidenceProviderInput = {
|
|
100
|
+
/** Order of providers returned is not guaranteed to match input order */
|
|
100
101
|
providers: Array<SingleEvidenceProviderInput>;
|
|
101
102
|
};
|
|
102
103
|
export type AllOfSignatureEvidenceProvider = SignatureEvidenceProvider & {
|
|
103
104
|
__typename?: 'AllOfSignatureEvidenceProvider';
|
|
104
105
|
id: Scalars['ID']['output'];
|
|
106
|
+
/** Order of providers returned is not garantueed */
|
|
105
107
|
providers: Array<SingleSignatureEvidenceProvider>;
|
|
106
108
|
};
|
|
107
109
|
export type AnonymousViewer = Viewer & {
|
|
@@ -163,6 +165,7 @@ export type BatchSignatoryViewer = Viewer & {
|
|
|
163
165
|
authenticated: Scalars['Boolean']['output'];
|
|
164
166
|
batchSignatoryId: Scalars['ID']['output'];
|
|
165
167
|
documents: SignatoryDocumentConnection;
|
|
168
|
+
/** Order of providers returned is not guaranteed */
|
|
166
169
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
167
170
|
id: Scalars['ID']['output'];
|
|
168
171
|
signer: Scalars['Boolean']['output'];
|
|
@@ -285,7 +288,7 @@ export type CreateSignatureOrderInput = {
|
|
|
285
288
|
/** By default signatories will be prompted to sign with a Criipto Verify based e-ID, this setting disables it. */
|
|
286
289
|
disableVerifyEvidenceProvider?: InputMaybe<Scalars['Boolean']['input']>;
|
|
287
290
|
documents: Array<DocumentInput>;
|
|
288
|
-
/** Define evidence providers for signature order if not using built-in Criipto Verify for e-IDs */
|
|
291
|
+
/** Define evidence providers for signature order if not using built-in Criipto Verify for e-IDs. Order of providers returned is not guaranteed to match input order */
|
|
289
292
|
evidenceProviders?: InputMaybe<Array<EvidenceProviderInput>>;
|
|
290
293
|
/** Defines when a signatory must be validated, default is when signing, but can be expanded to also be required when viewing documents. */
|
|
291
294
|
evidenceValidationStages?: InputMaybe<Array<EvidenceValidationStage>>;
|
|
@@ -371,6 +374,7 @@ export type CriiptoVerifyEvidenceProviderVersion =
|
|
|
371
374
|
/** Criipto Verify based evidence for signatures. */
|
|
372
375
|
export type CriiptoVerifyProviderInput = {
|
|
373
376
|
acrValues?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
377
|
+
/** Deprecated, no longer has any effect. */
|
|
374
378
|
alwaysRedirect?: InputMaybe<Scalars['Boolean']['input']>;
|
|
375
379
|
/** Define additional valid audiences (besides the main client_id) for the Criipto Verify domain/issuer underlying the application. */
|
|
376
380
|
audiences?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -387,6 +391,7 @@ export type CriiptoVerifyProviderInput = {
|
|
|
387
391
|
export type CriiptoVerifySignatureEvidenceProvider = SignatureEvidenceProvider & SingleSignatureEvidenceProvider & {
|
|
388
392
|
__typename?: 'CriiptoVerifySignatureEvidenceProvider';
|
|
389
393
|
acrValues: Array<Scalars['String']['output']>;
|
|
394
|
+
/** @deprecated No longer supported */
|
|
390
395
|
alwaysRedirect: Scalars['Boolean']['output'];
|
|
391
396
|
audience: Scalars['String']['output'];
|
|
392
397
|
audiences: Array<Scalars['String']['output']>;
|
|
@@ -431,6 +436,8 @@ export type Document = {
|
|
|
431
436
|
};
|
|
432
437
|
export type DocumentIdLocation = 'BOTTOM' | 'LEFT' | 'RIGHT' | 'TOP' | '%future added value';
|
|
433
438
|
export type DocumentInput = {
|
|
439
|
+
/** (BETA feature) When enabled, will allow any existing signatures to remain on the document. This disables recreation of the PDF document, which disables a number of features such as automatic seal placement, document id watermarking and custom seals area. */
|
|
440
|
+
keepPreviousSignatures?: InputMaybe<Scalars['Boolean']['input']>;
|
|
434
441
|
pdf?: InputMaybe<PadesDocumentInput>;
|
|
435
442
|
/** When enabled, will remove any existing signatures from the document before storing. (PDF only) */
|
|
436
443
|
removePreviousSignatures?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -661,6 +668,7 @@ export type NorwegianBankIdSignature = Signature & SingleSignature & {
|
|
|
661
668
|
/** OIDC/JWT based evidence for signatures. */
|
|
662
669
|
export type OidcEvidenceProviderInput = {
|
|
663
670
|
acrValues?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
671
|
+
/** Deprecated, no longer has any effect. */
|
|
664
672
|
alwaysRedirect?: InputMaybe<Scalars['Boolean']['input']>;
|
|
665
673
|
audience: Scalars['String']['input'];
|
|
666
674
|
clientID: Scalars['String']['input'];
|
|
@@ -672,6 +680,7 @@ export type OidcEvidenceProviderInput = {
|
|
|
672
680
|
export type OidcJwtSignatureEvidenceProvider = SignatureEvidenceProvider & SingleSignatureEvidenceProvider & {
|
|
673
681
|
__typename?: 'OidcJWTSignatureEvidenceProvider';
|
|
674
682
|
acrValues: Array<Scalars['String']['output']>;
|
|
683
|
+
/** @deprecated No longer supported */
|
|
675
684
|
alwaysRedirect: Scalars['Boolean']['output'];
|
|
676
685
|
clientID: Scalars['String']['output'];
|
|
677
686
|
domain: Scalars['String']['output'];
|
|
@@ -688,6 +697,7 @@ export type PadesDocumentInput = {
|
|
|
688
697
|
form?: InputMaybe<PadesDocumentFormInput>;
|
|
689
698
|
/** Will not be displayed to signatories, can be used as a reference to your own system. */
|
|
690
699
|
reference?: InputMaybe<Scalars['String']['input']>;
|
|
700
|
+
removeBookmarks?: InputMaybe<Scalars['Boolean']['input']>;
|
|
691
701
|
sealsPageTemplate?: InputMaybe<PadesDocumentSealsPageTemplateInput>;
|
|
692
702
|
storageMode: DocumentStorageMode;
|
|
693
703
|
title: Scalars['String']['input'];
|
|
@@ -739,6 +749,7 @@ export type PdfDocumentForm = {
|
|
|
739
749
|
};
|
|
740
750
|
export type PdfSealPosition = {
|
|
741
751
|
page: Scalars['Int']['input'];
|
|
752
|
+
scale?: InputMaybe<Scalars['Float']['input']>;
|
|
742
753
|
x: Scalars['Float']['input'];
|
|
743
754
|
y: Scalars['Float']['input'];
|
|
744
755
|
};
|
|
@@ -860,6 +871,7 @@ export type Signatory = {
|
|
|
860
871
|
documents: SignatoryDocumentConnection;
|
|
861
872
|
/** A download link for signatories to download their signed documents. Signatories must verify their identity before downloading. Can be used when signature order is closed with document retention. */
|
|
862
873
|
downloadHref?: Maybe<Scalars['String']['output']>;
|
|
874
|
+
/** Order of providers returned is not guaranteed */
|
|
863
875
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
864
876
|
/** A link to the signatures frontend, you can send this link to your users to enable them to sign your documents. */
|
|
865
877
|
href: Scalars['String']['output'];
|
|
@@ -884,6 +896,8 @@ export type Signatory = {
|
|
|
884
896
|
};
|
|
885
897
|
export type SignatoryBeaconInput = {
|
|
886
898
|
lastActionAt: Scalars['DateTime']['input'];
|
|
899
|
+
/** Used to determine if there is clock skew between client and server. */
|
|
900
|
+
now?: InputMaybe<Scalars['DateTime']['input']>;
|
|
887
901
|
};
|
|
888
902
|
export type SignatoryBeaconOutput = {
|
|
889
903
|
__typename?: 'SignatoryBeaconOutput';
|
|
@@ -952,6 +966,7 @@ export type SignatoryViewer = Viewer & {
|
|
|
952
966
|
authenticated: Scalars['Boolean']['output'];
|
|
953
967
|
documents: SignatoryDocumentConnection;
|
|
954
968
|
download?: Maybe<SignatoryViewerDownload>;
|
|
969
|
+
/** Order of providers returned is not guaranteed */
|
|
955
970
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
956
971
|
id: Scalars['ID']['output'];
|
|
957
972
|
/** @deprecated("Deprecated in favor of 'signingAs'") */
|
|
@@ -1002,6 +1017,7 @@ export type SignatureOrder = {
|
|
|
1002
1017
|
closedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1003
1018
|
createdAt: Scalars['DateTime']['output'];
|
|
1004
1019
|
documents: Array<Document>;
|
|
1020
|
+
/** Order of providers returned is not guaranteed */
|
|
1005
1021
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
1006
1022
|
expiresAt: Scalars['DateTime']['output'];
|
|
1007
1023
|
id: Scalars['ID']['output'];
|
|
@@ -1124,6 +1140,7 @@ export type UnvalidatedSignatoryViewer = Viewer & {
|
|
|
1124
1140
|
__typename?: 'UnvalidatedSignatoryViewer';
|
|
1125
1141
|
authenticated: Scalars['Boolean']['output'];
|
|
1126
1142
|
download?: Maybe<SignatoryViewerDownload>;
|
|
1143
|
+
/** Order of providers returned is not guaranteed */
|
|
1127
1144
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
1128
1145
|
id: Scalars['ID']['output'];
|
|
1129
1146
|
signatoryId: Scalars['ID']['output'];
|
|
@@ -1156,6 +1173,8 @@ export type ValidateDocumentOutput = {
|
|
|
1156
1173
|
errors?: Maybe<Array<Scalars['String']['output']>>;
|
|
1157
1174
|
/** Whether or not the errors are fixable using 'fixDocumentFormattingErrors' */
|
|
1158
1175
|
fixable?: Maybe<Scalars['Boolean']['output']>;
|
|
1176
|
+
/** `true` if the document contains bookmarks. If the value is `null`, we were unable to determine whether the document has any bookmarks. */
|
|
1177
|
+
hasBookmarks?: Maybe<Scalars['Boolean']['output']>;
|
|
1159
1178
|
/** `true` if the document contains signatures. If value is `null`, we were unable to determine whether the document has been previously signed. */
|
|
1160
1179
|
previouslySigned?: Maybe<Scalars['Boolean']['output']>;
|
|
1161
1180
|
valid: Scalars['Boolean']['output'];
|
|
@@ -97,11 +97,13 @@ export type AddSignatoryOutput = {
|
|
|
97
97
|
signatureOrder: SignatureOrder;
|
|
98
98
|
};
|
|
99
99
|
export type AllOfEvidenceProviderInput = {
|
|
100
|
+
/** Order of providers returned is not guaranteed to match input order */
|
|
100
101
|
providers: Array<SingleEvidenceProviderInput>;
|
|
101
102
|
};
|
|
102
103
|
export type AllOfSignatureEvidenceProvider = SignatureEvidenceProvider & {
|
|
103
104
|
__typename?: 'AllOfSignatureEvidenceProvider';
|
|
104
105
|
id: Scalars['ID']['output'];
|
|
106
|
+
/** Order of providers returned is not garantueed */
|
|
105
107
|
providers: Array<SingleSignatureEvidenceProvider>;
|
|
106
108
|
};
|
|
107
109
|
export type AnonymousViewer = Viewer & {
|
|
@@ -163,6 +165,7 @@ export type BatchSignatoryViewer = Viewer & {
|
|
|
163
165
|
authenticated: Scalars['Boolean']['output'];
|
|
164
166
|
batchSignatoryId: Scalars['ID']['output'];
|
|
165
167
|
documents: SignatoryDocumentConnection;
|
|
168
|
+
/** Order of providers returned is not guaranteed */
|
|
166
169
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
167
170
|
id: Scalars['ID']['output'];
|
|
168
171
|
signer: Scalars['Boolean']['output'];
|
|
@@ -285,7 +288,7 @@ export type CreateSignatureOrderInput = {
|
|
|
285
288
|
/** By default signatories will be prompted to sign with a Criipto Verify based e-ID, this setting disables it. */
|
|
286
289
|
disableVerifyEvidenceProvider?: InputMaybe<Scalars['Boolean']['input']>;
|
|
287
290
|
documents: Array<DocumentInput>;
|
|
288
|
-
/** Define evidence providers for signature order if not using built-in Criipto Verify for e-IDs */
|
|
291
|
+
/** Define evidence providers for signature order if not using built-in Criipto Verify for e-IDs. Order of providers returned is not guaranteed to match input order */
|
|
289
292
|
evidenceProviders?: InputMaybe<Array<EvidenceProviderInput>>;
|
|
290
293
|
/** Defines when a signatory must be validated, default is when signing, but can be expanded to also be required when viewing documents. */
|
|
291
294
|
evidenceValidationStages?: InputMaybe<Array<EvidenceValidationStage>>;
|
|
@@ -371,6 +374,7 @@ export type CriiptoVerifyEvidenceProviderVersion =
|
|
|
371
374
|
/** Criipto Verify based evidence for signatures. */
|
|
372
375
|
export type CriiptoVerifyProviderInput = {
|
|
373
376
|
acrValues?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
377
|
+
/** Deprecated, no longer has any effect. */
|
|
374
378
|
alwaysRedirect?: InputMaybe<Scalars['Boolean']['input']>;
|
|
375
379
|
/** Define additional valid audiences (besides the main client_id) for the Criipto Verify domain/issuer underlying the application. */
|
|
376
380
|
audiences?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -387,6 +391,7 @@ export type CriiptoVerifyProviderInput = {
|
|
|
387
391
|
export type CriiptoVerifySignatureEvidenceProvider = SignatureEvidenceProvider & SingleSignatureEvidenceProvider & {
|
|
388
392
|
__typename?: 'CriiptoVerifySignatureEvidenceProvider';
|
|
389
393
|
acrValues: Array<Scalars['String']['output']>;
|
|
394
|
+
/** @deprecated No longer supported */
|
|
390
395
|
alwaysRedirect: Scalars['Boolean']['output'];
|
|
391
396
|
audience: Scalars['String']['output'];
|
|
392
397
|
audiences: Array<Scalars['String']['output']>;
|
|
@@ -431,6 +436,8 @@ export type Document = {
|
|
|
431
436
|
};
|
|
432
437
|
export type DocumentIdLocation = 'BOTTOM' | 'LEFT' | 'RIGHT' | 'TOP' | '%future added value';
|
|
433
438
|
export type DocumentInput = {
|
|
439
|
+
/** (BETA feature) When enabled, will allow any existing signatures to remain on the document. This disables recreation of the PDF document, which disables a number of features such as automatic seal placement, document id watermarking and custom seals area. */
|
|
440
|
+
keepPreviousSignatures?: InputMaybe<Scalars['Boolean']['input']>;
|
|
434
441
|
pdf?: InputMaybe<PadesDocumentInput>;
|
|
435
442
|
/** When enabled, will remove any existing signatures from the document before storing. (PDF only) */
|
|
436
443
|
removePreviousSignatures?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -661,6 +668,7 @@ export type NorwegianBankIdSignature = Signature & SingleSignature & {
|
|
|
661
668
|
/** OIDC/JWT based evidence for signatures. */
|
|
662
669
|
export type OidcEvidenceProviderInput = {
|
|
663
670
|
acrValues?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
671
|
+
/** Deprecated, no longer has any effect. */
|
|
664
672
|
alwaysRedirect?: InputMaybe<Scalars['Boolean']['input']>;
|
|
665
673
|
audience: Scalars['String']['input'];
|
|
666
674
|
clientID: Scalars['String']['input'];
|
|
@@ -672,6 +680,7 @@ export type OidcEvidenceProviderInput = {
|
|
|
672
680
|
export type OidcJwtSignatureEvidenceProvider = SignatureEvidenceProvider & SingleSignatureEvidenceProvider & {
|
|
673
681
|
__typename?: 'OidcJWTSignatureEvidenceProvider';
|
|
674
682
|
acrValues: Array<Scalars['String']['output']>;
|
|
683
|
+
/** @deprecated No longer supported */
|
|
675
684
|
alwaysRedirect: Scalars['Boolean']['output'];
|
|
676
685
|
clientID: Scalars['String']['output'];
|
|
677
686
|
domain: Scalars['String']['output'];
|
|
@@ -688,6 +697,7 @@ export type PadesDocumentInput = {
|
|
|
688
697
|
form?: InputMaybe<PadesDocumentFormInput>;
|
|
689
698
|
/** Will not be displayed to signatories, can be used as a reference to your own system. */
|
|
690
699
|
reference?: InputMaybe<Scalars['String']['input']>;
|
|
700
|
+
removeBookmarks?: InputMaybe<Scalars['Boolean']['input']>;
|
|
691
701
|
sealsPageTemplate?: InputMaybe<PadesDocumentSealsPageTemplateInput>;
|
|
692
702
|
storageMode: DocumentStorageMode;
|
|
693
703
|
title: Scalars['String']['input'];
|
|
@@ -739,6 +749,7 @@ export type PdfDocumentForm = {
|
|
|
739
749
|
};
|
|
740
750
|
export type PdfSealPosition = {
|
|
741
751
|
page: Scalars['Int']['input'];
|
|
752
|
+
scale?: InputMaybe<Scalars['Float']['input']>;
|
|
742
753
|
x: Scalars['Float']['input'];
|
|
743
754
|
y: Scalars['Float']['input'];
|
|
744
755
|
};
|
|
@@ -860,6 +871,7 @@ export type Signatory = {
|
|
|
860
871
|
documents: SignatoryDocumentConnection;
|
|
861
872
|
/** A download link for signatories to download their signed documents. Signatories must verify their identity before downloading. Can be used when signature order is closed with document retention. */
|
|
862
873
|
downloadHref?: Maybe<Scalars['String']['output']>;
|
|
874
|
+
/** Order of providers returned is not guaranteed */
|
|
863
875
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
864
876
|
/** A link to the signatures frontend, you can send this link to your users to enable them to sign your documents. */
|
|
865
877
|
href: Scalars['String']['output'];
|
|
@@ -884,6 +896,8 @@ export type Signatory = {
|
|
|
884
896
|
};
|
|
885
897
|
export type SignatoryBeaconInput = {
|
|
886
898
|
lastActionAt: Scalars['DateTime']['input'];
|
|
899
|
+
/** Used to determine if there is clock skew between client and server. */
|
|
900
|
+
now?: InputMaybe<Scalars['DateTime']['input']>;
|
|
887
901
|
};
|
|
888
902
|
export type SignatoryBeaconOutput = {
|
|
889
903
|
__typename?: 'SignatoryBeaconOutput';
|
|
@@ -952,6 +966,7 @@ export type SignatoryViewer = Viewer & {
|
|
|
952
966
|
authenticated: Scalars['Boolean']['output'];
|
|
953
967
|
documents: SignatoryDocumentConnection;
|
|
954
968
|
download?: Maybe<SignatoryViewerDownload>;
|
|
969
|
+
/** Order of providers returned is not guaranteed */
|
|
955
970
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
956
971
|
id: Scalars['ID']['output'];
|
|
957
972
|
/** @deprecated("Deprecated in favor of 'signingAs'") */
|
|
@@ -1002,6 +1017,7 @@ export type SignatureOrder = {
|
|
|
1002
1017
|
closedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1003
1018
|
createdAt: Scalars['DateTime']['output'];
|
|
1004
1019
|
documents: Array<Document>;
|
|
1020
|
+
/** Order of providers returned is not guaranteed */
|
|
1005
1021
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
1006
1022
|
expiresAt: Scalars['DateTime']['output'];
|
|
1007
1023
|
id: Scalars['ID']['output'];
|
|
@@ -1124,6 +1140,7 @@ export type UnvalidatedSignatoryViewer = Viewer & {
|
|
|
1124
1140
|
__typename?: 'UnvalidatedSignatoryViewer';
|
|
1125
1141
|
authenticated: Scalars['Boolean']['output'];
|
|
1126
1142
|
download?: Maybe<SignatoryViewerDownload>;
|
|
1143
|
+
/** Order of providers returned is not guaranteed */
|
|
1127
1144
|
evidenceProviders: Array<SignatureEvidenceProvider>;
|
|
1128
1145
|
id: Scalars['ID']['output'];
|
|
1129
1146
|
signatoryId: Scalars['ID']['output'];
|
|
@@ -1156,6 +1173,8 @@ export type ValidateDocumentOutput = {
|
|
|
1156
1173
|
errors?: Maybe<Array<Scalars['String']['output']>>;
|
|
1157
1174
|
/** Whether or not the errors are fixable using 'fixDocumentFormattingErrors' */
|
|
1158
1175
|
fixable?: Maybe<Scalars['Boolean']['output']>;
|
|
1176
|
+
/** `true` if the document contains bookmarks. If the value is `null`, we were unable to determine whether the document has any bookmarks. */
|
|
1177
|
+
hasBookmarks?: Maybe<Scalars['Boolean']['output']>;
|
|
1159
1178
|
/** `true` if the document contains signatures. If value is `null`, we were unable to determine whether the document has been previously signed. */
|
|
1160
1179
|
previouslySigned?: Maybe<Scalars['Boolean']['output']>;
|
|
1161
1180
|
valid: Scalars['Boolean']['output'];
|