@vendit-dev/thirdparty-adapters 0.1.2 → 0.2.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.
@@ -1,5 +1,4 @@
1
1
  import { UserServiceGrpcCaller } from '@vendit-dev/utility-modules';
2
- import { Redis } from 'ioredis';
3
2
  import MutexLock from '../utils/mutex';
4
3
  declare type VenditWingsAuthInfo = {
5
4
  scope: string;
@@ -61,11 +60,11 @@ export default class WingsAdapter {
61
60
  };
62
61
  mutexLock: MutexLock;
63
62
  authenticator: UserServiceGrpcCaller;
64
- redis: Redis;
63
+ redis: any;
65
64
  PROVIDER_KEY: string;
66
65
  constructor({ authenticator, redis }: {
67
66
  authenticator: UserServiceGrpcCaller;
68
- redis: Redis;
67
+ redis: any;
69
68
  });
70
69
  checkWingsIntegration: ({ accommodationId }: {
71
70
  accommodationId: string;
@@ -122,7 +121,7 @@ export default class WingsAdapter {
122
121
  langType: string;
123
122
  }) => Promise<{
124
123
  walkinInfo: any;
125
- roomInfo: any[];
124
+ roomInfo: [unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown];
126
125
  } | null>;
127
126
  processWalkIn: ({ accommodationId, roomTypeCode, startDate, endDate, nights, salesDate, guestName, adultCount, childCount, dailyRoomFees, }: {
128
127
  accommodationId: string;