@aptly-as/types 3.10.21 → 3.11.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/models/price-file.d.ts +12 -3
- package/models/price-file.js +3 -0
- package/models/wholesaler.d.ts +1 -0
- package/package.json +1 -1
package/models/price-file.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { AptlyBaseSchema } from './extends';
|
|
2
2
|
import { AptlyDocumentSchema } from './document';
|
|
3
|
+
import { AptlyOrganizationSchema } from './organization.js';
|
|
3
4
|
import { AptlyWholesalerSchema } from './wholesaler';
|
|
4
5
|
export declare enum AptlyPriceFileStatus {
|
|
5
6
|
UPLOADED = "uploaded",
|
|
6
7
|
UPDATING = "updating",
|
|
7
|
-
COMPLETE = "complete"
|
|
8
|
+
COMPLETE = "complete",
|
|
9
|
+
ERROR = "error",
|
|
10
|
+
ACTIVE = "active",
|
|
11
|
+
INACTIVE = "inactive"
|
|
8
12
|
}
|
|
9
13
|
export declare enum AptlyPriceFileFormat {
|
|
10
14
|
EFO_NELFO_4 = "EFO/NELFO_4.0",
|
|
@@ -12,11 +16,16 @@ export declare enum AptlyPriceFileFormat {
|
|
|
12
16
|
}
|
|
13
17
|
export type AptlyPriceFile = AptlyPriceFileSchema<string, string>;
|
|
14
18
|
export interface AptlyPriceFileSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> {
|
|
15
|
-
organization: ID | null;
|
|
19
|
+
organization: ID | AptlyOrganizationSchema<ID, DATE> | null;
|
|
16
20
|
wholesaler: ID | AptlyWholesalerSchema<ID, DATE>;
|
|
17
21
|
format: AptlyPriceFileFormat;
|
|
18
22
|
status: AptlyPriceFileStatus;
|
|
19
|
-
document: ID | AptlyDocumentSchema<ID, DATE
|
|
23
|
+
document: ID | AptlyDocumentSchema<ID, DATE> | null;
|
|
20
24
|
algorithm: ID | null;
|
|
21
25
|
runAt: DATE | null;
|
|
26
|
+
error: string;
|
|
27
|
+
getAt: DATE | null;
|
|
28
|
+
modifiedAt: DATE | null;
|
|
29
|
+
username?: string;
|
|
30
|
+
password?: string;
|
|
22
31
|
}
|
package/models/price-file.js
CHANGED
|
@@ -3,6 +3,9 @@ export var AptlyPriceFileStatus;
|
|
|
3
3
|
AptlyPriceFileStatus["UPLOADED"] = "uploaded";
|
|
4
4
|
AptlyPriceFileStatus["UPDATING"] = "updating";
|
|
5
5
|
AptlyPriceFileStatus["COMPLETE"] = "complete";
|
|
6
|
+
AptlyPriceFileStatus["ERROR"] = "error";
|
|
7
|
+
AptlyPriceFileStatus["ACTIVE"] = "active";
|
|
8
|
+
AptlyPriceFileStatus["INACTIVE"] = "inactive";
|
|
6
9
|
})(AptlyPriceFileStatus || (AptlyPriceFileStatus = {}));
|
|
7
10
|
export var AptlyPriceFileFormat;
|
|
8
11
|
(function (AptlyPriceFileFormat) {
|
package/models/wholesaler.d.ts
CHANGED