@aptly-as/types 2.9.1 → 2.9.2

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.
@@ -7,9 +7,12 @@ export declare namespace AptlyWebhookEventData {
7
7
  document: AptlyDocumentSchema<ID, DATE>;
8
8
  documentUrl: string;
9
9
  }
10
- interface Payment<ID, DATE> {
10
+ type Payment = PaymentSchema<string, string>;
11
+ interface PaymentSchema<ID, DATE> {
11
12
  payment: AptlyPaymentSchema<ID, DATE>;
12
13
  order: Pick<AptlyOrderSchema<ID, DATE>, '_id' | 'orderNumber'>;
14
+ documentUrl?: string;
15
+ reportDocumentUrl?: string;
13
16
  }
14
17
  type NewUnitDocument = NewUnitDocumentSchema<string, string>;
15
18
  type NewUnitDocumentSchema<ID, DATE> = UnitWebhookSchema<ID, DATE> & UnitDocumentWebhookSchema<ID, DATE>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.9.1",
3
+ "version": "2.9.2",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",