@aptly-as/types 3.4.3 → 3.4.5

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.
Files changed (2) hide show
  1. package/models/option.d.ts +10 -0
  2. package/package.json +1 -1
@@ -50,3 +50,13 @@ export interface AptlyOptionPopulatedSchema<ID, DATE> extends Omit<AptlyOptionSc
50
50
  period: AptlyPeriodSchema<ID, DATE> | null;
51
51
  product: AptlyProductSchema<ID, DATE> | null;
52
52
  }
53
+ export interface AptlyOptionImportBody {
54
+ action: 'add' | 'edit';
55
+ noErrorOnDuplicate?: boolean;
56
+ noErrorOnProductNotFound?: boolean;
57
+ options?: Partial<AptlyOptionPostBody>[];
58
+ }
59
+ export interface AptlyOptionPostBody extends AptlyOptionSchema<string, string> {
60
+ __amount?: string;
61
+ productNumber?: string | null;
62
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",