@compassdigital/sdk.typescript 4.619.0 → 4.620.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.
@@ -11,7 +11,8 @@ export interface FrictionlessOrderFailureEvent {
11
11
  shoppingCartID: string;
12
12
  userID: string;
13
13
  userEmail: string;
14
- mealPlanID?: string;
14
+ paymentType?: 'MEALPLAN' | 'CREDITCARD';
15
+ mealplanProvider?: 'blackboard' | 'atrium' | 'cbord' | 'itc' | 'heartland';
15
16
  siteID: string;
16
17
  brandID: string;
17
18
  failReason: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FrictionlessOrderFailureEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/FrictionlessOrderFailureEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+B,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QAER,SAAS,EAAE,MAAM,CAAC;QAElB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,MAAM,CAAC;QAEf,SAAS,EAAE,MAAM,CAAC;QAElB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,MAAM,EAAE,MAAM,CAAC;QAEf,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"FrictionlessOrderFailureEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/FrictionlessOrderFailureEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+B,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QAER,SAAS,EAAE,MAAM,CAAC;QAElB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,MAAM,CAAC;QAEf,SAAS,EAAE,MAAM,CAAC;QAElB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;QAExC,gBAAgB,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,WAAW,CAAC;QAE3E,MAAM,EAAE,MAAM,CAAC;QAEf,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.619.0",
3
+ "version": "4.620.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -17,8 +17,10 @@ export interface FrictionlessOrderFailureEvent {
17
17
  userID: string;
18
18
  // User email
19
19
  userEmail: string;
20
- // Meal plan ID when payment was mealplan
21
- mealPlanID?: string;
20
+ // Payment method type used on the checkin
21
+ paymentType?: 'MEALPLAN' | 'CREDITCARD';
22
+ // Mealplan provider, present only when paymentType is MEALPLAN
23
+ mealplanProvider?: 'blackboard' | 'atrium' | 'cbord' | 'itc' | 'heartland';
22
24
  // Site ID of the transaction
23
25
  siteID: string;
24
26
  // Brand ID of the transaction