cb-pay-merchant-api 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ Initialize the instance by providing your merchant credentials. The integration
27
27
  import { CBPayMerchantApi } from 'cb-pay-merchant-api';
28
28
 
29
29
  const cbpay = CBPayMerchantApi({
30
- baseUrl: '[https://api.uat.cbbank.com](https://api.uat.cbbank.com)', // Contact CB Pay Team
30
+ baseUrl: '[https://api.uat.cbbank.com](https://api.uat.cbbank.com)', // <<< I cannot disclose the routes. Contact CB Pay Merchant Onboarding Team
31
31
  sourceId: 'YOUR_SOURCE_ID',
32
32
  merchantId: 'YOUR_MERCHANT_ID',
33
33
  terminalId: 'YOUR_TERMINAL_ID',
@@ -1,4 +1,5 @@
1
- import {CheckQrRequestOption, CheckQrResponse, CreateQrRequestOption, CreateQrResponse, RefundRequestOption, RefundResponse} from './types';
1
+ import { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse } from './types';
2
+ export { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse };
2
3
  /**
3
4
  * @Options
4
5
  * @Options
@@ -52,4 +53,3 @@ declare class CBPayMerchantClass {
52
53
  */
53
54
  refund(options: RefundRequestOption): Promise<RefundResponse>;
54
55
  }
55
- export { };
@@ -1,4 +1,5 @@
1
- import { CheckQrRequestOption, CheckQrResponse, CreateQrRequestOption, CreateQrResponse, RefundRequestOption, RefundResponse } from './types';
1
+ import { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse } from './types';
2
+ export { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse };
2
3
  /**
3
4
  * @Options
4
5
  * @Options
@@ -52,4 +53,3 @@ declare class CBPayMerchantClass {
52
53
  */
53
54
  refund(options: RefundRequestOption): Promise<RefundResponse>;
54
55
  }
55
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cb-pay-merchant-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MMQR, CB Pay - Integration Package",
5
5
  "keywords": [
6
6
  "MMQR",
package/src/index.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import {CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse} from './types';
2
2
 
3
+ export {
4
+ CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse
5
+ };
3
6
  /**
4
7
  * @Options
5
8
  * @Options