@d19n/youfibre-odin-sdk 2.0.360 → 2.0.361

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.
@@ -85,7 +85,9 @@ export declare enum ReferralPropertyKeys {
85
85
  /** RewardValueReferrer */
86
86
  RewardValueReferrer = "RewardValueReferrer",
87
87
  /** RewardValueReferee */
88
- RewardValueReferee = "RewardValueReferee"
88
+ RewardValueReferee = "RewardValueReferee",
89
+ /** Full campaign PayoutPolicy array as it existed when this referral was created. Used to recalculate RewardValueReferrer/RewardValueReferee if the order’s product changes before completion, without being affected by later edits to the live campaign policy. Null on referrals created before this field existed. */
90
+ PayoutPolicySnapshot = "PayoutPolicySnapshot"
89
91
  }
90
92
  /**
91
93
  * Properties for Referral records
@@ -128,6 +130,13 @@ export interface ReferralProperties {
128
130
  * @type {NUMBER}
129
131
  */
130
132
  RewardValueReferee: number;
133
+ /** Full campaign PayoutPolicy array as it existed when this referral was created. Used to recalculate RewardValueReferrer/RewardValueReferee if the order’s product changes before completion, without being affected by later edits to the live campaign policy. Null on referrals created before this field existed.
134
+ *
135
+ * @type {JSON}
136
+ * @default
137
+ * @hidden This field is hidden in the UI
138
+ */
139
+ PayoutPolicySnapshot: string;
131
140
  }
132
141
  /**
133
142
  * Properties for ORDER Referral records
@@ -170,6 +179,13 @@ export interface OrderReferralProperties {
170
179
  * @type {NUMBER}
171
180
  */
172
181
  RewardValueReferee: number;
182
+ /** Full campaign PayoutPolicy array as it existed when this referral was created. Used to recalculate RewardValueReferrer/RewardValueReferee if the order’s product changes before completion, without being affected by later edits to the live campaign policy. Null on referrals created before this field existed.
183
+ *
184
+ * @type {JSON}
185
+ * @default
186
+ * @hidden This field is hidden in the UI
187
+ */
188
+ PayoutPolicySnapshot: string;
173
189
  }
174
190
  /**
175
191
  * Referral entity from CrmModule
@@ -87,6 +87,8 @@ var ReferralPropertyKeys;
87
87
  ReferralPropertyKeys["RewardValueReferrer"] = "RewardValueReferrer";
88
88
  /** RewardValueReferee */
89
89
  ReferralPropertyKeys["RewardValueReferee"] = "RewardValueReferee";
90
+ /** Full campaign PayoutPolicy array as it existed when this referral was created. Used to recalculate RewardValueReferrer/RewardValueReferee if the order’s product changes before completion, without being affected by later edits to the live campaign policy. Null on referrals created before this field existed. */
91
+ ReferralPropertyKeys["PayoutPolicySnapshot"] = "PayoutPolicySnapshot";
90
92
  })(ReferralPropertyKeys = exports.ReferralPropertyKeys || (exports.ReferralPropertyKeys = {}));
91
93
  /**
92
94
  * Referral entity from CrmModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.360",
3
+ "version": "2.0.361",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",