-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1723ea0
commit c247882
Showing
5 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export interface EndpointInterface { | ||
route: string; | ||
method: string; | ||
route: string; | ||
method: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* eslint-disable import/extensions */ | ||
/* eslint-disable camelcase */ | ||
import { PathLike } from 'fs'; | ||
import { EndpointInterface } from './endpoint.interface'; | ||
|
||
export interface GnConfig { | ||
client_id: string; | ||
client_secret: string; | ||
certificate?: PathLike | string; | ||
sandbox: boolean; | ||
partnerToken?: string; | ||
rawResponse?: any; | ||
baseUrl?: string; | ||
validateMtls?: boolean; | ||
authRoute?: EndpointInterface; | ||
agent?: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable camelcase */ | ||
import { PathLike } from 'fs'; | ||
|
||
export interface GnCredentials { | ||
client_id: string; | ||
client_secret: string; | ||
certificate?: PathLike | string; | ||
pix_cert?: PathLike | string; | ||
pathCert?: PathLike | string; | ||
sandbox: boolean; | ||
validateMtls?: boolean; | ||
partnerToken?: string; | ||
} |