@nomalism-com/types 0.9.538 → 0.9.539

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.
@@ -140,6 +140,7 @@ export interface ICreateFromHeaderRequest {
140
140
  maturity_date?: ICreateFromHeaderMaturityDate;
141
141
  return_reason?: string;
142
142
  provider_ref?: string;
143
+ global_discount?: number;
143
144
  }
144
145
  export interface IUpdateRequest {
145
146
  external_data?: unknown;
@@ -122,6 +122,7 @@ var createFromHeaderBodyKeys = {
122
122
  maturity_date: joi_1.default.object().keys(createFromHeaderMaturityDate).optional(),
123
123
  return_reason: joi_1.default.string().optional(),
124
124
  provider_ref: joi_1.default.string().optional(),
125
+ global_discount: joi_1.default.number().min(0).max(100).optional(),
125
126
  };
126
127
  exports.createFromHeaderBody = joi_1.default
127
128
  .object()
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.538",
12
+ "version": "0.9.539",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [