@aptly-as/types 2.9.0 → 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.
- package/core/webhook-event-data.d.ts +4 -1
- package/enums/fields.d.ts +1 -0
- package/enums/fields.js +1 -0
- package/package.json +1 -1
|
@@ -7,9 +7,12 @@ export declare namespace AptlyWebhookEventData {
|
|
|
7
7
|
document: AptlyDocumentSchema<ID, DATE>;
|
|
8
8
|
documentUrl: string;
|
|
9
9
|
}
|
|
10
|
-
|
|
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/enums/fields.d.ts
CHANGED
package/enums/fields.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export var AptlyFieldType;
|
|
2
2
|
(function (AptlyFieldType) {
|
|
3
3
|
AptlyFieldType["Autocomplete"] = "autocomplete";
|
|
4
|
+
AptlyFieldType["AutocompleteSearch"] = "autocomplete-search";
|
|
4
5
|
AptlyFieldType["AutocompleteQuery"] = "autocomplete-query";
|
|
5
6
|
AptlyFieldType["BulkIds"] = "bulk-ids";
|
|
6
7
|
AptlyFieldType["Checkbox"] = "checkbox";
|