rerobe-js-orm 3.2.0 → 3.2.1

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.
@@ -3,6 +3,7 @@ export namespace CUSTOMER_NOTIFICATION_TYPES {
3
3
  const orderCancellation: string;
4
4
  const orderRefund: string;
5
5
  const orderReadyForPickUp: string;
6
+ const orderComplete: string;
6
7
  const shippingConfirmation: string;
7
8
  const generalMessage: string;
8
9
  const abandonedCart: string;
@@ -6,6 +6,7 @@ exports.CUSTOMER_NOTIFICATION_TYPES = {
6
6
  orderCancellation: 'ORDER_CANCELLATION',
7
7
  orderRefund: 'ORDER_REFUND',
8
8
  orderReadyForPickUp: 'ORDER_READY_FOR_PICK_UP',
9
+ orderComplete: 'ORDER_COMPLETE',
9
10
  shippingConfirmation: 'SHIPPING_CONFIRMATION',
10
11
  generalMessage: 'GENERAL_MESSAGE',
11
12
  abandonedCart: 'ABANDONED_CART',
@@ -819,4 +819,11 @@ declare type OrderAdjustment = {
819
819
  totalAdjustmentPrice: Money;
820
820
  totalAdjustmentPricePresentment: Money;
821
821
  note?: string;
822
+ fieldsChanged?: {
823
+ createdAtTimestamp: number;
824
+ fieldName: string;
825
+ from: any;
826
+ to: any;
827
+ }[];
828
+ type?: 'SHIPPING_TYPE_ADJUSTMENT' | 'SHIPPING_ADDRESS_ADJUSTMENT' | 'CUSTOMER_DETAILS_ADJUSTMENT' | 'ADDITONAL_FEE';
822
829
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",