@blockchyp/blockchyp-ts 2.19.0 → 2.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockchyp/blockchyp-ts",
3
- "version": "2.19.0",
3
+ "version": "2.20.1",
4
4
  "description": "BlockChyp Typescript Client",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/client.ts CHANGED
@@ -203,6 +203,13 @@ export class BlockChypClient {
203
203
  return this.routeTerminalRequest('post', request, '/api/enroll', '/api/enroll');
204
204
  }
205
205
 
206
+ /**
207
+ * Retrieves card metadata.
208
+ */
209
+ async cardMetadata(request: Models.CardMetadataRequest): Promise<AxiosResponse<Models.CardMetadataResponse>> {
210
+ return this.routeTerminalRequest('post', request, '/api/card-metadata', '/api/card-metadata');
211
+ }
212
+
206
213
  /**
207
214
  * Activates or recharges a gift card.
208
215
  */
@@ -522,6 +529,13 @@ export class BlockChypClient {
522
529
  return this._dashboardRequest('post', '/api/generate-merchant-creds', request);
523
530
  }
524
531
 
532
+ /**
533
+ * Submits and application to add a new merchant account.
534
+ */
535
+ submitApplication(request: Models.SubmitApplicationRequest): Promise<AxiosResponse<Models.Acknowledgement>> {
536
+ return this._dashboardRequest('post', '/api/submit-application', request);
537
+ }
538
+
525
539
  /**
526
540
  * Adds a test merchant account.
527
541
  */