@gigapay-dev/contracts 1.2.6 → 1.2.7

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.
@@ -22,3 +22,4 @@ __exportStar(require("./refresh-sessions"), exports);
22
22
  __exportStar(require("./consts"), exports);
23
23
  __exportStar(require("./pagination"), exports);
24
24
  __exportStar(require("./payment-methods"), exports);
25
+ __exportStar(require("./users"), exports);
package/commands/index.ts CHANGED
@@ -5,4 +5,5 @@ export * from './promocode-activations';
5
5
  export * from './refresh-sessions';
6
6
  export * from './consts';
7
7
  export * from './pagination';
8
- export * from './payment-methods';
8
+ export * from './payment-methods';
9
+ export * from './users';
@@ -39,8 +39,8 @@ export const UserEndpoints = {
39
39
 
40
40
  export type UserEndpointKey = keyof typeof UserEndpoints;
41
41
 
42
- export type GetPromoCodeRequest<K extends UserEndpointKey> =
42
+ export type GetUserRequest<K extends UserEndpointKey> =
43
43
  z.infer<typeof UserEndpoints[K]["request"]>;
44
44
 
45
- export type GetPromoCodeResponse<K extends UserEndpointKey> =
45
+ export type GetUserResponse<K extends UserEndpointKey> =
46
46
  z.infer<typeof UserEndpoints[K]["response"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gigapay-dev/contracts",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",