@cinerino/sdk 3.43.0-alpha.1 → 3.44.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.
package/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![npm (scoped)](https://img.shields.io/npm/v/@cinerino/sdk.svg)](https://www.npmjs.com/package/@cinerino/sdk)
4
4
  [![CircleCI](https://circleci.com/gh/cinerino/sdk.svg?style=svg)](https://circleci.com/gh/cinerino/sdk)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/cinerino/sdk/badge.svg?branch=master)](https://coveralls.io/github/cinerino/sdk?branch=master)
6
- [![Dependency Status](https://img.shields.io/david/cinerino/sdk.svg)](https://david-dm.org/cinerino/sdk)
7
6
  [![Known Vulnerabilities](https://snyk.io/test/github/cinerino/sdk/badge.svg?targetFile=package.json)](https://snyk.io/test/github/cinerino/sdk?targetFile=package.json)
8
7
  [![npm](https://img.shields.io/npm/dm/@cinerino/sdk.svg)](https://nodei.co/npm/@cinerino/sdk/)
9
8
 
@@ -15,11 +15,6 @@ const profile = {
15
15
  };
16
16
 
17
17
  const paymentMethodType: string = 'PrepaidPaymentCard';
18
- const paymentCard: client.factory.action.authorize.paymentMethod.any.IPaymentCard = {
19
- typeOf: client.factory.permit.PermitType.Permit,
20
- identifier: '020829327374642',
21
- issuedThrough: { id: 'xxx' }
22
- };
23
18
 
24
19
  // tslint:disable-next-line:max-func-body-length
25
20
  async function main() {
@@ -159,7 +154,7 @@ async function main() {
159
154
  typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
160
155
  paymentMethod: paymentMethodType,
161
156
  amount: amount,
162
- fromLocation: paymentCard
157
+ fromLocation: 'xxx'
163
158
  },
164
159
  purpose: transaction
165
160
  });
@@ -181,9 +176,7 @@ async function main() {
181
176
  amount: amount,
182
177
  name: 'sample payment name',
183
178
  description: 'sample payment description',
184
- // notes: 'sample payment notes',
185
- // fromAccount: { accountNumber: paymentCard.identifier },
186
- fromLocation: paymentCard
179
+ fromLocation: 'xxx'
187
180
  },
188
181
  purpose: transaction
189
182
  });