@criipto/signatures 1.24.0 → 1.25.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.
@@ -864,8 +864,10 @@ export type SignatoryDocumentEdge = {
864
864
  };
865
865
  export type SignatoryDocumentInput = {
866
866
  id: Scalars['ID']['input'];
867
- /** Define custom position for PDF seal. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
867
+ /** Deprecated in favor of `pdfSealPositions`. Define custom position for PDF seal. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
868
868
  pdfSealPosition?: InputMaybe<PdfSealPosition>;
869
+ /** Define custom positions for PDF seals. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
870
+ pdfSealPositions?: InputMaybe<Array<PdfSealPosition>>;
869
871
  preapproved?: InputMaybe<Scalars['Boolean']['input']>;
870
872
  };
871
873
  export type SignatoryDocumentStatus = 'APPROVED' | 'OPENED' | 'PREAPPROVED' | 'REJECTED' | 'SIGNED' | '%future added value';
@@ -864,8 +864,10 @@ export type SignatoryDocumentEdge = {
864
864
  };
865
865
  export type SignatoryDocumentInput = {
866
866
  id: Scalars['ID']['input'];
867
- /** Define custom position for PDF seal. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
867
+ /** Deprecated in favor of `pdfSealPositions`. Define custom position for PDF seal. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
868
868
  pdfSealPosition?: InputMaybe<PdfSealPosition>;
869
+ /** Define custom positions for PDF seals. Uses PDF coordinate system (bottom-left as 0,0). If defined for one signatory/document, must be defined for all. */
870
+ pdfSealPositions?: InputMaybe<Array<PdfSealPosition>>;
869
871
  preapproved?: InputMaybe<Scalars['Boolean']['input']>;
870
872
  };
871
873
  export type SignatoryDocumentStatus = 'APPROVED' | 'OPENED' | 'PREAPPROVED' | 'REJECTED' | 'SIGNED' | '%future added value';
@@ -1244,6 +1246,7 @@ type BasicDocument_PdfDocument_Fragment = {
1244
1246
  title: string;
1245
1247
  reference?: string | null;
1246
1248
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1249
+ blob?: Buffer | null;
1247
1250
  };
1248
1251
  type BasicDocument_XmlDocument_Fragment = {
1249
1252
  __typename: 'XmlDocument';
@@ -1251,6 +1254,7 @@ type BasicDocument_XmlDocument_Fragment = {
1251
1254
  title: string;
1252
1255
  reference?: string | null;
1253
1256
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1257
+ blob?: Buffer | null;
1254
1258
  };
1255
1259
  export type BasicDocumentFragment = BasicDocument_PdfDocument_Fragment | BasicDocument_XmlDocument_Fragment;
1256
1260
  export type StartCriiptoVerifyEvidenceProviderMutationVariables = Exact<{
@@ -1395,12 +1399,14 @@ export type ViewerQuery = {
1395
1399
  title: string;
1396
1400
  reference?: string | null;
1397
1401
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1402
+ blob?: Buffer | null;
1398
1403
  } | {
1399
1404
  __typename: 'XmlDocument';
1400
1405
  id: string;
1401
1406
  title: string;
1402
1407
  reference?: string | null;
1403
1408
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1409
+ blob?: Buffer | null;
1404
1410
  };
1405
1411
  }>;
1406
1412
  };
@@ -1450,12 +1456,14 @@ export type ViewerQuery = {
1450
1456
  title: string;
1451
1457
  reference?: string | null;
1452
1458
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1459
+ blob?: Buffer | null;
1453
1460
  } | {
1454
1461
  __typename: 'XmlDocument';
1455
1462
  id: string;
1456
1463
  title: string;
1457
1464
  reference?: string | null;
1458
1465
  signatoryViewerStatus?: SignatoryDocumentStatus | null;
1466
+ blob?: Buffer | null;
1459
1467
  };
1460
1468
  }>;
1461
1469
  };
@@ -42,6 +42,7 @@ exports.BasicDocumentFragmentDoc = (0, graphql_tag_1.default) `
42
42
  title
43
43
  reference
44
44
  signatoryViewerStatus
45
+ blob
45
46
  }
46
47
  `;
47
48
  exports.StartCriiptoVerifyEvidenceProviderDocument = (0, graphql_tag_1.default) `
@@ -96,12 +96,14 @@ export declare class SignatoryViewerClient {
96
96
  title: string;
97
97
  reference?: string | null;
98
98
  signatoryViewerStatus?: Types.SignatoryDocumentStatus | null;
99
+ blob?: Buffer | null;
99
100
  } | {
100
101
  __typename: "XmlDocument";
101
102
  id: string;
102
103
  title: string;
103
104
  reference?: string | null;
104
105
  signatoryViewerStatus?: Types.SignatoryDocumentStatus | null;
106
+ blob?: Buffer | null;
105
107
  };
106
108
  }>;
107
109
  };
@@ -151,12 +153,14 @@ export declare class SignatoryViewerClient {
151
153
  title: string;
152
154
  reference?: string | null;
153
155
  signatoryViewerStatus?: Types.SignatoryDocumentStatus | null;
156
+ blob?: Buffer | null;
154
157
  } | {
155
158
  __typename: "XmlDocument";
156
159
  id: string;
157
160
  title: string;
158
161
  reference?: string | null;
159
162
  signatoryViewerStatus?: Types.SignatoryDocumentStatus | null;
163
+ blob?: Buffer | null;
160
164
  };
161
165
  }>;
162
166
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@criipto/signatures",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "private": false,
5
5
  "description": "A Node.JS SDK for Criipto Signatures",
6
6
  "main": "dist/index.js",