ggez-banking-sdk 0.5.12 → 0.5.13

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.
@@ -6,5 +6,6 @@ declare class ProgramProxy extends BaseProxy {
6
6
  getSystemFeatures: () => Promise<import("../..").ApiResponse<import("../../types/banking/program").ProgramData>>;
7
7
  getBin: () => Promise<import("../..").ApiResponse<import("../../types/banking/program").ProgramData>>;
8
8
  getSignUp: () => Promise<import("../..").ApiResponse<import("../../types/banking/program").ProgramData>>;
9
+ getProgramSecurity: () => Promise<import("../..").ApiResponse<import("../../types/banking/program").ProgramData>>;
9
10
  }
10
11
  export { ProgramProxy };
@@ -9,5 +9,6 @@ class ProgramProxy extends BaseProxy {
9
9
  getSystemFeatures = async () => this.programService.getSystemFeatures();
10
10
  getBin = async () => this.programService.getBin();
11
11
  getSignUp = async () => this.programService.getSignUp();
12
+ getProgramSecurity = async () => this.programService.getProgramSecurity();
12
13
  }
13
14
  export { ProgramProxy };
@@ -9,5 +9,6 @@ declare class ProgramService extends BaseService {
9
9
  getSystemFeatures(): Promise<import("../..").ApiResponse<ProgramData>>;
10
10
  getBin(): Promise<import("../..").ApiResponse<ProgramData>>;
11
11
  getSignUp(): Promise<import("../..").ApiResponse<ProgramData>>;
12
+ getProgramSecurity(): Promise<import("../..").ApiResponse<ProgramData>>;
12
13
  }
13
14
  export { ProgramService };
@@ -28,5 +28,9 @@ class ProgramService extends BaseService {
28
28
  const url = this.resolveURL(`${ProgramEndpoints.SignUp}/${this.context.getProgramId()}`);
29
29
  return this.GET(url);
30
30
  }
31
+ getProgramSecurity() {
32
+ const url = this.resolveURL(`${ProgramEndpoints.ProgramSecurity}/${this.context.getProgramId()}`);
33
+ return this.GET(url);
34
+ }
31
35
  }
32
36
  export { ProgramService };
@@ -53,6 +53,7 @@ declare const ProgramEndpoints: {
53
53
  readonly SystemFeatures: "/system_features";
54
54
  readonly Bin: "/bin";
55
55
  readonly SignUp: "/sign_up";
56
+ readonly ProgramSecurity: "/program_security";
56
57
  };
57
58
  declare const TransactionEndpoints: {
58
59
  readonly Inquiry: "/inquiry";
@@ -54,6 +54,7 @@ const ProgramEndpoints = {
54
54
  SystemFeatures: "/system_features",
55
55
  Bin: "/bin",
56
56
  SignUp: "/sign_up",
57
+ ProgramSecurity: "/program_security",
57
58
  };
58
59
  const TransactionEndpoints = {
59
60
  Inquiry: "/inquiry",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",