@blockchyp/blockchyp-ts 2.19.0 → 2.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockchyp/blockchyp-ts",
3
- "version": "2.19.0",
3
+ "version": "2.21.0",
4
4
  "description": "BlockChyp Typescript Client",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/client.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
2
+ * Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
3
3
  * by a license that can be found in the LICENSE file.
4
4
  *
5
5
  * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
@@ -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
  */