@fiado/api-invoker 3.18.0 → 4.0.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.
Files changed (141) hide show
  1. package/bin/account-beneficiary/AccountBeneficiaryApi.js +2 -1
  2. package/bin/account-fiadoinc/AccountFiadoIncApi.js +3 -1
  3. package/bin/account-fiadoinc/queue/Publisher.js +3 -4
  4. package/bin/account-fiadosa/AccountFiadoSAApi.js +2 -1
  5. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +2 -1
  6. package/bin/activity-business/ActivityApi.js +2 -1
  7. package/bin/activity-business/queue/ActivityPublisher.js +3 -4
  8. package/bin/address/AddressApi.js +3 -2
  9. package/bin/ai-engine-connector/AiEngineApi.js +2 -1
  10. package/bin/appselectondata/AppSelectionDataApi.js +2 -1
  11. package/bin/authentication/AuthenticationApi.js +1 -0
  12. package/bin/bankAccount/BankAccountApi.js +2 -1
  13. package/bin/bbvaRst/api/BBVARstApi.js +2 -1
  14. package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.d.ts +2 -0
  15. package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.js +6 -1
  16. package/bin/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.d.ts +21 -0
  17. package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.d.ts +16 -0
  18. package/bin/benefits-marketplace/index.d.ts +1 -0
  19. package/bin/benefits-marketplace/index.js +1 -0
  20. package/bin/blacklist/BlackListApi.js +2 -1
  21. package/bin/card/CardApi.js +2 -1
  22. package/bin/card-business/queue/CardBusinessPublisher.js +3 -4
  23. package/bin/centralPayments/CentralPaymentsConnectorApi.js +3 -1
  24. package/bin/circuloCredito/api/CirculoCreditoApi.js +2 -1
  25. package/bin/cnbv-business/CnbvApi.js +2 -1
  26. package/bin/cnbv-connector/CnbvConnectorApi.js +2 -1
  27. package/bin/cognitoConnector/CognitoConnectorApi.js +2 -1
  28. package/bin/cognitoConnector/CognitoConnectorV2.js +2 -1
  29. package/bin/collector/CollectorApi.js +2 -1
  30. package/bin/commission-business/CommissionBusinessApi.js +2 -1
  31. package/bin/contactInformation/ContactInformationApi.js +2 -1
  32. package/bin/container.config.js +1 -1
  33. package/bin/contract-business/api/ContractBusinessApi.js +2 -1
  34. package/bin/contract-generator/ContractGeneratorApi.js +2 -1
  35. package/bin/countries-business/CountriesBusinessApi.js +2 -1
  36. package/bin/credit-engine/CreditEngineApi.js +2 -1
  37. package/bin/credit-engine/queue/CreditCollectionPublisher.js +3 -4
  38. package/bin/credit-engine/queue/CreditDelinquencyPublisher.js +3 -4
  39. package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.js +3 -4
  40. package/bin/credit-engine/queue/CreditLienCollectionPublisher.js +3 -4
  41. package/bin/credit-engine/queue/CreditNotificationPublisher.js +3 -4
  42. package/bin/credit-engine/queue/CreditOfferGenerationPublisher.js +3 -4
  43. package/bin/credit-engine/queue/CreditReconciliationPublisher.js +3 -4
  44. package/bin/credit-engine/queue/CreditScoringPublisher.js +3 -4
  45. package/bin/credit-engine/queue/CreditStatementPublisher.js +3 -4
  46. package/bin/credit-engine/queue/CreditTransferPublisher.js +3 -4
  47. package/bin/credit-payment/CreditPaymentApi.js +2 -1
  48. package/bin/credit-statements/api/CreditStatementsApi.js +2 -1
  49. package/bin/device/DeviceApi.js +2 -1
  50. package/bin/directories/DirectoriesApi.js +2 -1
  51. package/bin/directory/DirectoryApi.d.ts +2 -2
  52. package/bin/directory/DirectoryApi.js +2 -1
  53. package/bin/directory/interfaces/IDirectoryApi.d.ts +2 -2
  54. package/bin/directorySetting/DirectorySettingApi.js +2 -1
  55. package/bin/disputes/DisputesApi.js +2 -1
  56. package/bin/document-generator/DocumentGeneratorApi.js +2 -1
  57. package/bin/document-image-processor/DocumentImageProcessorApi.js +2 -1
  58. package/bin/estafeta/api/EstafetaApi.js +2 -1
  59. package/bin/event-history-business/EventHistoryApi.js +2 -1
  60. package/bin/exchangeRates/ExchangeRatesApi.js +2 -1
  61. package/bin/fiadoMessages/api/FiadoMessagesApi.js +2 -1
  62. package/bin/firebase-connector/FirebaseConnectorApi.js +2 -1
  63. package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +2 -1
  64. package/bin/group/GroupApi.js +2 -1
  65. package/bin/identity/IdentityApi.js +2 -1
  66. package/bin/legalDocument/api/LegalDocumentApi.js +2 -1
  67. package/bin/milestone-business/api/MilestoneBusinessApi.js +2 -1
  68. package/bin/multicommServicePayment/api/MulticommServicePaymentApi.js +6 -5
  69. package/bin/notificationMessages/queue/NotificationMessagePublisher.js +5 -3
  70. package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.js +4 -4
  71. package/bin/observations/ObservationsApi.js +2 -1
  72. package/bin/onboarding/api/OnboardingApi.js +2 -1
  73. package/bin/onboarding-business/api/OnboardingBusinessApi.js +2 -1
  74. package/bin/order-collector-business/OrderCollectorApi.js +2 -1
  75. package/bin/p2pContact/api/P2pContactApi.js +2 -1
  76. package/bin/payroll-business/PayrollApi.js +2 -1
  77. package/bin/people-business/api/PeopleBusinessApi.js +2 -1
  78. package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.js +3 -4
  79. package/bin/pomelo/api/PomeloApi.js +2 -1
  80. package/bin/pomeloProcessor/api/PomeloProcessorApi.js +2 -1
  81. package/bin/pricelist-business/PriceListApi.js +2 -1
  82. package/bin/product-catalog/ProductCatalogApi.js +2 -1
  83. package/bin/product-payment/api/ProductPaymentApi.js +3 -2
  84. package/bin/referral-business/ReferralBusinessApi.js +2 -1
  85. package/bin/report-processor-business/api/ReportProcessorBusinessApi.js +2 -1
  86. package/bin/riskProfile/api/RiskProfileApi.js +2 -1
  87. package/bin/riskProfile/api/TransactionAlertApi.js +2 -1
  88. package/bin/riskProfile/queue/TransactionAlarmPublisher.js +3 -4
  89. package/bin/service-business/ServiceApi.js +2 -1
  90. package/bin/sessionActivity/queue/SessionActivityPublisher.js +3 -4
  91. package/bin/stp-business/api/STPBusinessApi.js +2 -1
  92. package/bin/stpAccount/api/STPAccountApi.js +2 -1
  93. package/bin/stpServicePayment/api/StpServicePaymentApi.js +5 -4
  94. package/bin/stpSpei/api/StpSpeiApi.js +2 -1
  95. package/bin/teams-connector/queue/TeamsNotificationPublisher.js +3 -4
  96. package/bin/tern/api/TernApi.js +2 -1
  97. package/bin/transaction/api/TransactionApi.js +2 -1
  98. package/bin/transaction/queue/TransactionPublisher.js +3 -4
  99. package/bin/transactionProcessor/api/TransactionProcessorApi.js +2 -1
  100. package/bin/uniteller-connector/api/UnitellerConnectorApi.js +2 -1
  101. package/bin/zendesk/ZendeskApi.js +2 -1
  102. package/package.json +15 -9
  103. package/src/account-fiadoinc/queue/Publisher.ts +2 -1
  104. package/src/activity-business/queue/ActivityPublisher.ts +2 -1
  105. package/src/address/AddressApi.ts +1 -1
  106. package/src/benefits-marketplace/api/BenefitsMarketplaceApi.ts +9 -0
  107. package/src/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.ts +21 -0
  108. package/src/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.ts +20 -0
  109. package/src/benefits-marketplace/index.ts +1 -0
  110. package/src/card-business/queue/CardBusinessPublisher.ts +2 -1
  111. package/src/container.config.ts +2 -2
  112. package/src/credit-engine/queue/CreditCollectionPublisher.ts +2 -1
  113. package/src/credit-engine/queue/CreditDelinquencyPublisher.ts +2 -1
  114. package/src/credit-engine/queue/CreditIncomeDetectionPublisher.ts +2 -1
  115. package/src/credit-engine/queue/CreditLienCollectionPublisher.ts +2 -1
  116. package/src/credit-engine/queue/CreditNotificationPublisher.ts +2 -1
  117. package/src/credit-engine/queue/CreditOfferGenerationPublisher.ts +2 -1
  118. package/src/credit-engine/queue/CreditReconciliationPublisher.ts +2 -1
  119. package/src/credit-engine/queue/CreditScoringPublisher.ts +2 -1
  120. package/src/credit-engine/queue/CreditStatementPublisher.ts +2 -1
  121. package/src/credit-engine/queue/CreditTransferPublisher.ts +2 -1
  122. package/src/directory/DirectoryApi.ts +2 -2
  123. package/src/directory/interfaces/IDirectoryApi.ts +2 -2
  124. package/src/multicommServicePayment/api/MulticommServicePaymentApi.ts +5 -5
  125. package/src/notificationMessages/queue/NotificationMessagePublisher.ts +2 -1
  126. package/src/notificationWebsockets/queue/NotificationWSMessagePublisher.ts +2 -1
  127. package/src/platform-error-events/queue/PlatformErrorEventsPublisher.ts +2 -1
  128. package/src/pricelist-business/PriceListApi.ts +1 -1
  129. package/src/product-payment/api/ProductPaymentApi.ts +1 -1
  130. package/src/riskProfile/queue/TransactionAlarmPublisher.ts +2 -1
  131. package/src/sessionActivity/queue/SessionActivityPublisher.ts +2 -1
  132. package/src/stpServicePayment/api/StpServicePaymentApi.ts +4 -4
  133. package/src/teams-connector/queue/TeamsNotificationPublisher.ts +2 -1
  134. package/src/transaction/queue/TransactionPublisher.ts +2 -1
  135. package/bin/cognitoConnector/interfaces/ICognitoConnectorApiV2.d.ts +0 -46
  136. package/bin/estafeta/EstafetaApi.d.ts +0 -0
  137. package/bin/estafeta/EstafetaApi.js +0 -0
  138. package/bin/report-processor-business/api/IReportProcessorBusiness.d.ts +0 -3
  139. package/bin/report-processor-business/api/IReportProcessorBusiness.js +0 -2
  140. package/tsconfig.json +0 -21
  141. /package/bin/{cognitoConnector/interfaces/ICognitoConnectorApiV2.js → benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.js} +0 -0
@@ -120,7 +120,7 @@ export class DirectoryApi implements IDirectoryApi {
120
120
  return await this.httpRequest.post(`${url}`, null, { 'operationName': operationName });
121
121
  }
122
122
 
123
- public async addOwnerDirectoryId(directoryId: string, newOwnerDirectoryId): Promise<any> {
123
+ public async addOwnerDirectoryId(directoryId: string, newOwnerDirectoryId: string): Promise<any> {
124
124
 
125
125
  const url = `${this.baseUrl}`;
126
126
  const operationName = "addOwnerDirectoryId";
@@ -133,7 +133,7 @@ export class DirectoryApi implements IDirectoryApi {
133
133
  return await this.httpRequest.post(`${url}`, data, { 'operationName': operationName });
134
134
  }
135
135
 
136
- public async updateOwnerDirectoryId(directoryId: string, newOwnerDirectoryId): Promise<any> {
136
+ public async updateOwnerDirectoryId(directoryId: string, newOwnerDirectoryId: string): Promise<any> {
137
137
 
138
138
  const url = `${this.baseUrl}`;
139
139
  const operationName = "updateOwnerDirectoryId";
@@ -53,11 +53,11 @@ export interface IDirectoryApi {
53
53
  */
54
54
  getByPhoneNumber(phoneNumber: string): Promise<any>
55
55
 
56
- addOwnerDirectoryId(directoryId: string, newOwnerDirectoryId): Promise<any>
56
+ addOwnerDirectoryId(directoryId: string, newOwnerDirectoryId: string): Promise<any>
57
57
 
58
58
  updateUserProfile(directoryId: string, profile: Profile): Promise<void>
59
59
 
60
- updateOwnerDirectoryId(directoryId: string, newOwnerDirectoryId): Promise<any>
60
+ updateOwnerDirectoryId(directoryId: string, newOwnerDirectoryId: string): Promise<any>
61
61
 
62
62
  updateStatus(directoryId: string, status: Status): Promise<void>
63
63
 
@@ -13,7 +13,7 @@ export default class MulticommServicePaymentApi implements IMulticommServicePaym
13
13
  constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
14
14
  }
15
15
  async getSTPTransactionDownload(params: { date: string; index?: string; pageSize?: number; sort?: string; }): Promise<ApiGatewayResponse<any>> {
16
- const url= `${this.baseUrl}transaction-download?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
16
+ const url= `${this.baseUrl}transaction-download?${(Object.keys(params) as (keyof typeof params)[]).map(key => `${key}=${encodeURIComponent(String(params[key]))}`).join('&')}`;
17
17
  return await this.httpRequest.get(url);
18
18
  }
19
19
 
@@ -40,22 +40,22 @@ export default class MulticommServicePaymentApi implements IMulticommServicePaym
40
40
  async getCatalog(params: GetCatalogParams): Promise<ApiGatewayResponse<any>> {
41
41
  let url = `${this.baseUrl}/catalog`;
42
42
  if (params) {
43
- url += `?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
43
+ url += `?${(Object.keys(params) as (keyof typeof params)[]).map(key => `${key}=${encodeURIComponent(String(params[key]))}`).join('&')}`;
44
44
  }
45
45
  return await this.httpRequest.get(url);
46
46
  }
47
47
 
48
48
  async consultTransaction(params: { transactionNumber: string; date: string; serviceId: string; }): Promise<ApiGatewayResponse<any>> {
49
- const url = `${this.baseUrl}consult-transaction?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
49
+ const url = `${this.baseUrl}consult-transaction?${(Object.keys(params) as (keyof typeof params)[]).map(key => `${key}=${encodeURIComponent(String(params[key]))}`).join('&')}`;
50
50
  return await this.httpRequest.get(url);
51
51
  }
52
52
 
53
53
  async getTransactions(params: GetFavoritesParams): Promise<FiadoApiResponse<GetFavoritesResponse>> {
54
54
  const { directoryId, ...queryParams } = params;
55
55
  let url = `${this.baseUrl}transactions/${directoryId}`;
56
- const query = Object.keys(queryParams)
56
+ const query = (Object.keys(queryParams) as (keyof typeof queryParams)[])
57
57
  .filter(key => queryParams[key] !== undefined)
58
- .map(key => `${key}=${encodeURIComponent(queryParams[key])}`)
58
+ .map(key => `${key}=${encodeURIComponent(String(queryParams[key]))}`)
59
59
  .join('&');
60
60
  if (query) url += `?${query}`;
61
61
  return await this.httpRequest.get(url);
@@ -26,7 +26,8 @@ export default class NotificationMessagePublisher implements INotificationMessag
26
26
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
27
27
  await client.send(command);
28
28
  } catch (error) {
29
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
29
+ const errorMessage = error instanceof Error ? error.message : String(error);
30
+ throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
30
31
  }
31
32
  }
32
33
 
@@ -24,6 +24,7 @@ export default class NotificationWSMessagePublisher implements INotificationWSMe
24
24
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
25
25
  await client.send(command);
26
26
  } catch (error) {
27
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
27
+ const errorMessage = error instanceof Error ? error.message : String(error);
28
+ throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
28
29
  }
29
30
  }}
@@ -17,7 +17,8 @@ export default class PlatformErrorEventsPublisher implements IPlatformErrorEvent
17
17
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
18
18
  await client.send(command);
19
19
  } catch (error) {
20
- throw new Error(`Error publishing message to PlatformErrorEventsQueue${': ' + error.message}`);
20
+ const errorMessage = error instanceof Error ? error.message : String(error);
21
+ throw new Error(`Error publishing message to PlatformErrorEventsQueue${': ' + errorMessage}`);
21
22
  }
22
23
  }
23
24
  }
@@ -34,7 +34,7 @@ export class PriceListApi implements IPriceListApi {
34
34
 
35
35
  async getDiscountByServiceIdAndDirectories(directories: string[], serviceId: string): Promise<FiadoApiResponse<GetDiscountByServiceIdAndDirectoriesResponse>> {
36
36
 
37
- const queryParams = []
37
+ const queryParams: string[] = []
38
38
  directories.forEach(directory => {
39
39
  queryParams.push(`directoryId=${directory}`)
40
40
  });
@@ -14,7 +14,7 @@ export default class ProductPaymentApi implements IProductPaymentApi {
14
14
  }
15
15
  async getCatalog(params: GetCatalogParams, currencyId: CurrencyId): Promise<ApiGatewayResponse<any>> {
16
16
  const paramsWithCountry = { ...params, currencyId };
17
- const queryParams = Object.keys(paramsWithCountry).map(key => `${key}=${encodeURIComponent(paramsWithCountry[key])}`).join('&');
17
+ const queryParams = (Object.keys(paramsWithCountry) as (keyof typeof paramsWithCountry)[]).map(key => `${key}=${encodeURIComponent(String(paramsWithCountry[key]))}`).join('&');
18
18
  const url = `${this.baseUrl}/catalog?${queryParams}`;
19
19
  return await this.httpRequest.get(url);
20
20
  }
@@ -19,7 +19,8 @@ export class TransactionAlarmPublisher implements ITransactionAlarmPublisher {
19
19
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
20
20
  await client.send(command);
21
21
  } catch (error) {
22
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
22
+ const errorMessage = error instanceof Error ? error.message : String(error);
23
+ throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
23
24
  }
24
25
  }
25
26
  }
@@ -17,7 +17,8 @@ export class SessionActivityPublisher implements ISessionActivityPublisher {
17
17
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
18
18
  await client.send(command);
19
19
  } catch (error) {
20
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
20
+ const errorMessage = error instanceof Error ? error.message : String(error);
21
+ throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
21
22
  }
22
23
  }
23
24
  }
@@ -13,7 +13,7 @@ export default class StpServicePaymentApi implements IStpServicePaymentApi {
13
13
  constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
14
14
  }
15
15
  async getSTPTransactionDownload(params: { date: string; index?: string; pageSize?: number; sort?: string; }): Promise<ApiGatewayResponse<any>> {
16
- const url= `${this.baseUrl}transaction-download?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
16
+ const url= `${this.baseUrl}transaction-download?${(Object.keys(params) as (keyof typeof params)[]).map(key => `${key}=${encodeURIComponent(String(params[key]))}`).join('&')}`;
17
17
  return await this.httpRequest.get(url);
18
18
  }
19
19
 
@@ -40,7 +40,7 @@ export default class StpServicePaymentApi implements IStpServicePaymentApi {
40
40
  async getCatalog(params: GetCatalogParams): Promise<ApiGatewayResponse<any>> {
41
41
  let url = `${this.baseUrl}/catalog`;
42
42
  if (params) {
43
- url += `?${Object.keys(params).map(key => `${key}=${encodeURIComponent(params[key])}`).join('&')}`;
43
+ url += `?${(Object.keys(params) as (keyof typeof params)[]).map(key => `${key}=${encodeURIComponent(String(params[key]))}`).join('&')}`;
44
44
  }
45
45
  return await this.httpRequest.get(url);
46
46
  }
@@ -53,9 +53,9 @@ export default class StpServicePaymentApi implements IStpServicePaymentApi {
53
53
  async getTransactions(params: GetFavoritesParams): Promise<FiadoApiResponse<GetFavoritesResponse>> {
54
54
  const { directoryId, ...queryParams } = params;
55
55
  let url = `${this.baseUrl}transactions/${directoryId}`;
56
- const query = Object.keys(queryParams)
56
+ const query = (Object.keys(queryParams) as (keyof typeof queryParams)[])
57
57
  .filter(key => queryParams[key] !== undefined)
58
- .map(key => `${key}=${encodeURIComponent(queryParams[key])}`)
58
+ .map(key => `${key}=${encodeURIComponent(String(queryParams[key]))}`)
59
59
  .join('&');
60
60
  if (query) url += `?${query}`;
61
61
  return await this.httpRequest.get(url);
@@ -17,7 +17,8 @@ export default class TeamsNotificationPublisher implements ITeamsNotificationPub
17
17
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
18
18
  await client.send(command);
19
19
  } catch (error) {
20
- throw new Error(`Error publishing message to TeamsNotificationQueue${': ' + error.message}`);
20
+ const errorMessage = error instanceof Error ? error.message : String(error);
21
+ throw new Error(`Error publishing message to TeamsNotificationQueue${': ' + errorMessage}`);
21
22
  }
22
23
  }
23
24
  }
@@ -19,7 +19,8 @@ export class TransactionPublisher implements ITransactionPublisher {
19
19
  const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
20
20
  await client.send(command);
21
21
  } catch (error) {
22
- throw new Error(`Error publishing message to queue ${': ' + error.message}`);
22
+ const errorMessage = error instanceof Error ? error.message : String(error);
23
+ throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
23
24
  }
24
25
  }
25
26
  }
@@ -1,46 +0,0 @@
1
- import { ChangePasswordRequest, GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector";
2
- export interface ICognitoApi {
3
- /**
4
- * Healthcheck for the cognito-connector
5
- */
6
- healthcheck(): Promise<HealthcheckResponse>;
7
- /**
8
- * Create a new user in Cognito
9
- */
10
- signUp(request: SignUpRequest): Promise<SignUpResponse>;
11
- /**
12
- * Confirm sign-up for a user in Cognito
13
- */
14
- signUpConfirm(request: SignUpConfirmRequest): Promise<void>;
15
- /**
16
- * Sign in a user
17
- */
18
- signIn(request: SignInRequest): Promise<SignInResponse>;
19
- /**
20
- * Sign out a user
21
- */
22
- signOut(): Promise<void>;
23
- /**
24
- * Change a user's password
25
- */
26
- changePassword(request: ChangePasswordRequest): Promise<void>;
27
- /**
28
- * Retrieve user details
29
- */
30
- getUser(request: GetUserRequest): Promise<GetUserResponse>;
31
- /**
32
- * Refresh a user's tokens
33
- */
34
- refreshToken(request: RefreshTokenRequest): Promise<RefreshTokenResponse>;
35
- /**
36
- * Respond to an auth challenge
37
- */
38
- respondToAuthChallenge(request: RespondToAuthChallengeRequest): Promise<any>;
39
- /**
40
- * Reset a user's password
41
- */
42
- resetPassword(request: SetPasswordRequest): Promise<void>;
43
- }
44
- export interface HealthcheckResponse {
45
- status: string;
46
- }
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- export interface IReportProcessorBusiness {
2
- processReports(key: string): Promise<void>;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/tsconfig.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "commonjs",
5
- "esModuleInterop": true,
6
- "skipLibCheck": true,
7
- "forceConsistentCasingInFileNames": true,
8
- "experimentalDecorators": true,
9
- "emitDecoratorMetadata": true,
10
- "outDir": "./bin",
11
- "rootDir": "./src",
12
- "moduleResolution": "node",
13
- "declaration": true,
14
- },
15
- "include": [
16
- "./src/**/*"
17
- ],
18
- "exclude": [
19
- "node_modules"
20
- ]
21
- }