@zeniai/client-epic-state 4.11.82 → 4.11.84

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.
@@ -15,6 +15,7 @@ export interface ChargeCardTransaction {
15
15
  transactionTime?: ZeniDate;
16
16
  thirdPartyTransactionId?: ID;
17
17
  zeniAccountId?: ID;
18
+ zeniVendorId?: ID;
18
19
  }
19
20
  export interface ChargeCardTransactionType {
20
21
  code: ChargeCardTransactionTypeCode;
@@ -15,6 +15,7 @@ export interface ChargeCardTransactionPayload {
15
15
  transaction_summary: string;
16
16
  third_party_transaction_id?: string;
17
17
  zeni_account_id?: string;
18
+ zeni_vendor_id?: string;
18
19
  }
19
20
  export interface ChargeCardMerchantPayload {
20
21
  name: string;
@@ -41,6 +41,7 @@ const toChargeCardTransaction = (payload) => {
41
41
  ? payload.third_party_transaction_id
42
42
  : undefined,
43
43
  zeniAccountId: payload.zeni_account_id != null ? payload.zeni_account_id : undefined,
44
+ zeniVendorId: payload.zeni_vendor_id != null ? payload.zeni_vendor_id : undefined,
44
45
  });
45
46
  };
46
47
  exports.toChargeCardTransaction = toChargeCardTransaction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.11.82",
3
+ "version": "4.11.84",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",