diff --git a/documentation/platform/CREDIT.md b/documentation/platform/CREDIT.md
index d4f5669..9b86961 100644
--- a/documentation/platform/CREDIT.md
+++ b/documentation/platform/CREDIT.md
@@ -8,7 +8,9 @@
Transaction Service
* [getOrderStatus](#getorderstatus)
* [getEligiblePlans](#geteligibleplans)
+* [updateOrderDeliveryStatus](#updateorderdeliverystatus)
* [getTransactions](#gettransactions)
+* [getSettledTransactions](#getsettledtransactions)
@@ -184,6 +186,145 @@ true
+---
+
+
+### updateOrderDeliveryStatus
+Update delivery status for an order
+
+
+
+```javascript
+// Promise
+const promise =
+ credit.updateOrderDeliveryStatus(
+ {
+ body : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ credit.updateOrderDeliveryStatus(
+ {
+ body : value
+
+ });
+```
+
+
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| body | [OrderDeliveryUpdatesBody](#OrderDeliveryUpdatesBody) | yes | Request body |
+
+
+This API updates an order's delivery status using the order ID or transaction ID and manages loan disbursal or cancellation following delivery. It is utilized when the system configuration is set to delay loan disbursal until after delivery, indicated by the 'DELAYED' type and 'DELIVERY' event. If 'delayDays' is set to 0, disbursal occurs within an hour after delivery. Additionally, this API facilitates loan cancellation through specific shipment statuses, offering a precise method for loan management based on delivery outcomes.
+
+*Returned Response:*
+
+
+
+
+[OrderDeliveryUpdatesResponse](#OrderDeliveryUpdatesResponse)
+
+Success. Returns a JSON object as shown below. Refer `OrderDeliveryUpdatesResponse` for more details.
+
+
+
+
+
+ Examples:
+
+
+
+ OrderDeliveryUpdatesResponseExample
+
+```json
+{
+ "value": {
+ "message": "The request has been processed successfully.",
+ "data": {
+ "orderId": "ORD1234",
+ "transactionId": "TXN1234",
+ "shipments": [
+ {
+ "id": "ship12345",
+ "urn": "ship12345_0",
+ "shipmentStatus": "CANCELLED",
+ "shipmentAmount": 100,
+ "processingStatus": "CAPTURED"
+ },
+ {
+ "id": "ship12345",
+ "urn": "ship12345_1",
+ "shipmentStatus": "DELIVERED",
+ "shipmentAmount": 500,
+ "processingStatus": "CAPTURED"
+ }
+ ],
+ "summary": {
+ "orderAmount": 600,
+ "capturedAmount": 600,
+ "uncapturedAmount": 0,
+ "capturedAmountForDisbursal": 500,
+ "capturedAmountForCancellation": 100
+ }
+ },
+ "meta": {
+ "timestamp": "2024-07-16T12:07:26.979Z",
+ "version": "v1.0",
+ "product": "Settle Checkout"
+ }
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+[OrderDeliveryUpdatesPartialResponse](#OrderDeliveryUpdatesPartialResponse)
+
+Partial Success. The request was successfully processed for some shipments, but not for others. The response includes detailed information about which parts of the request were successful and which were not.
+
+
+
+
+
+ Examples:
+
+
+
+ OrderDeliveryUpdatesPartialExample
+
+```json
+{
+ "$ref": "#/components/examples/OrderDeliveryUpdatesPartialExample"
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
---
@@ -198,14 +339,15 @@ const promise =
credit.getTransactions(
{
mobile : value,
+ countryCode : value,
page : value,
- type : value,
- status : value,
limit : value,
- countryCode : value,
orderId : value,
transactionId : value,
- onlySelf : value
+ type : value,
+ status : value,
+ onlySelf : value,
+ granularity : value
}
);
@@ -215,14 +357,15 @@ const data = await
credit.getTransactions(
{
mobile : value,
+ countryCode : value,
page : value,
- type : value,
- status : value,
limit : value,
- countryCode : value,
orderId : value,
transactionId : value,
- onlySelf : value
+ type : value,
+ status : value,
+ onlySelf : value,
+ granularity : value
});
```
@@ -232,16 +375,17 @@ const data = await
| Argument | Type | Required | Description |
-| --------- | ----- | -------- | ----------- |
+| --------- | ----- | -------- | ----------- |
+| mobile | string | yes | The mobile number of the user |
+| countryCode | string | no | The country code of the user's mobile number. |
| page | number | no | The page number of the transaction list |
-| type | Object | no | The transaction type |
-| status | Object | no | The transaction status |
| limit | number | no | The number of transactions to fetch |
-| countryCode | string | no | The country code of the user's mobile number. |
-| mobile | string | yes | The mobile number of the user |
| orderId | string | no | The order ID |
| transactionId | string | no | The transaction ID |
-| onlySelf | boolean | no | Set this flag to true to fetch transactions exclusively for your organization, excluding other organizations. |
+| type | Array | string | no | The transaction type |
+| status | Array | string | no | The transaction status |
+| onlySelf | boolean | no | Set this flag to true to fetch transactions exclusively for your organization, excluding other organizations. |
+| granularity | string | no | Defines the granularity of transaction details. |
@@ -264,7 +408,7 @@ Success. The request has been processed successfully and the response contains t
- IntegrationGetTransactionsExample
+ GetTransactionsExample
```json
{
@@ -285,13 +429,40 @@ Success. The request has been processed successfully and the response contains t
},
"order": {
"id": "ORD1234",
- "amount": 5000
- },
- "loan": {
- "number": "LN123456",
"amount": 5000,
- "type": "EMI"
+ "summary": {
+ "uncapturedAmount": 2000,
+ "capturedAmount": 3000,
+ "capturedAmountForDisbursal": 1800,
+ "capturedAmountForCancellation": 1200
+ }
},
+ "loans": [
+ {
+ "number": "LN123456",
+ "amount": 5000,
+ "type": "EMI",
+ "dueDate": "2024-09-04T18:30:00.000Z",
+ "repaidAmount": 2600,
+ "isSettled": false,
+ "emis": [
+ {
+ "amount": 2600,
+ "dueDate": "2024-08-04T18:30:00.000Z",
+ "installmentNo": 1,
+ "repaidAmount": 2600,
+ "isSettled": true
+ },
+ {
+ "amount": 2550,
+ "dueDate": "2024-09-04T18:30:00.000Z",
+ "installmentNo": 2,
+ "repaidAmount": 0,
+ "isSettled": false
+ }
+ ]
+ }
+ ],
"lender": {
"name": "Bank of J Limited",
"slug": "j-bank",
@@ -343,6 +514,123 @@ Success. The request has been processed successfully and the response contains t
+---
+
+
+### getSettledTransactions
+Get list of settled transactions
+
+
+
+```javascript
+// Promise
+const promise =
+ credit.getSettledTransactions(
+ {
+ page : value,
+ limit : value,
+ orderId : value,
+ transactionId : value,
+ startDate : value,
+ endDate : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ credit.getSettledTransactions(
+ {
+ page : value,
+ limit : value,
+ orderId : value,
+ transactionId : value,
+ startDate : value,
+ endDate : value
+
+ });
+```
+
+
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| page | number | no | The page number of the transaction list |
+| limit | number | no | The number of transactions to fetch |
+| orderId | string | no | The order ID |
+| transactionId | string | no | The transaction ID |
+| startDate | string | no | This is used to filter from date |
+| endDate | string | no | This is used to filter till date |
+
+
+
+Retrieves a paginated list of Settled transactions associated with a specific organization, sorted from the latest to the oldest. This endpoint allows filtering transactions based on various criteria and supports pagination.
+
+*Returned Response:*
+
+
+
+
+[GetSettlementTransactionsResponse](#GetSettlementTransactionsResponse)
+
+Success. The request has been processed successfully and the response contains the requested data.
+
+
+
+
+
+ Examples:
+
+
+
+ GetSettlemetTransactionsExample
+
+```json
+{
+ "value": {
+ "message": "The request has been processed successfully.",
+ "data": {
+ "transactions": [
+ {
+ "id": "TXN",
+ "amount": 10000,
+ "createdAt": "2024-08-20T06:37:27.150Z",
+ "orderId": "DEMO-TRANSACTIOn",
+ "settlementStatus": "PENDING",
+ "settlementTime": "2024-08-22T15:20:02.274Z"
+ }
+ ],
+ "page": {
+ "type": "number",
+ "current": 1,
+ "hasPrevious": false,
+ "hasNext": false,
+ "size": 100,
+ "itemTotal": null
+ }
+ },
+ "meta": {
+ "timestamp": "2024-08-30T10:48:01.915Z",
+ "version": "v1.0",
+ "product": "Settle Checkout"
+ }
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
---
@@ -388,7 +676,7 @@ Success. The request has been processed successfully and the response contains t
| message | string | yes | A human-readable message providing more details about the error. |
| exception | string | yes | The exception name or type. |
| field | string | no | The field associated with the error, if applicable. |
- | in | string | no | The location of the field, such as 'query', 'param' or 'body'. |
+ | location | string | no | The location of the field, such as 'query', 'param' or 'body'. |
---
@@ -435,6 +723,7 @@ Success. The request has been processed successfully and the response contains t
| data | string | no | |
| transactionId | string | no | |
| lenderSlug | string | no | |
+ | intent | string | no | |
---
@@ -486,81 +775,209 @@ Success. The request has been processed successfully and the response contains t
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| eligiblePlans | [[EligiblePlans](#EligiblePlans)] | no | |
- | __headers | string | no | |
---
- #### [DisbursalResponse](#DisbursalResponse)
+ #### [DisbursalResponse](#DisbursalResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | transactionId | string | no | |
+ | status | string | no | |
+ | message | string | no | |
+
+---
+
+
+
+
+ #### [OrderStatus](#OrderStatus)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | orderId | string | yes | |
+ | transactionId | string | no | |
+ | status | string | yes | |
+ | message | string | yes | |
+
+---
+
+
+
+
+ #### [DisbursalStatusRequest](#DisbursalStatusRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | fingerprint | string | no | |
+ | transactionId | string | yes | |
+
+---
+
+
+
+
+ #### [Transactions](#Transactions)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | yes | |
+ | userId | string | yes | |
+ | partnerId | string | no | |
+ | partner | string | no | |
+ | partnerLogo | string | no | |
+ | status | string | yes | |
+ | type | string | no | |
+ | remark | string | no | |
+ | amount | number | yes | |
+ | loanAccountNumber | string | no | |
+ | kfs | string | no | |
+ | utr | string | no | |
+ | sanctionLetter | string | no | |
+ | orderId | string | no | |
+ | refundId | string | no | |
+ | createdAt | string | yes | |
+ | lenderId | string | no | |
+ | lenderName | string | no | |
+ | lenderLogo | string | no | |
+ | loanType | string | no | |
+ | nextDueDate | string | no | |
+ | paidPercent | number | no | |
+ | lenderDetail | [LenderDetail](#LenderDetail) | no | |
+ | emis | [[Emi](#Emi)] | no | |
+
+---
+
+
+
+
+ #### [GroupedEmiLoanAccount](#GroupedEmiLoanAccount)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | loanAccountNumber | string | yes | |
+ | kfs | string | no | |
+ | sanctionLetter | string | no | |
+ | remark | string | no | |
+ | createdAt | string | yes | |
+ | updatedAt | string | yes | |
+ | amount | number | yes | |
+ | repaidAmount | number | yes | |
+ | paid | boolean | yes | |
+ | overdue | boolean | yes | |
+ | repaymentDate | string | no | |
+ | paidPercent | number | yes | |
+ | lenderDetail | [LenderDetail](#LenderDetail) | yes | |
+
+---
+
+
+
+
+ #### [GroupedEmi](#GroupedEmi)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | no | |
+ | installmentno | number | no | |
+ | amount | number | no | |
+ | dueDate | string | no | |
+ | referenceTransactionId | string | no | |
+ | createdAt | string | no | |
+ | updatedAt | string | no | |
+ | paid | boolean | no | |
+ | overdue | boolean | no | |
+ | repaymentDate | string | no | |
+ | paidPercent | number | no | |
+ | repaidAmount | number | no | |
+ | loanAccounts | [[GroupedEmiLoanAccount](#GroupedEmiLoanAccount)] | no | |
+
+---
+
+
+
+
+ #### [TransactionDetails](#TransactionDetails)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | yes | |
+ | userId | string | yes | |
+ | partnerId | string | yes | |
+ | partner | string | yes | |
+ | partnerLogo | string | yes | |
+ | status | string | yes | |
+ | type | string | no | |
+ | remark | string | no | |
+ | amount | number | yes | |
+ | loanAccountNumber | string | no | |
+ | kfs | string | no | |
+ | utr | string | no | |
+ | sanctionLetter | string | no | |
+ | orderId | string | no | |
+ | refundId | string | no | |
+ | createdAt | string | yes | |
+ | lenderId | string | no | |
+ | lenderName | string | no | |
+ | lenderLogo | string | no | |
+ | loanType | string | no | |
+ | nextDueDate | string | no | |
+ | paidPercent | number | no | |
+ | lenderDetail | [LenderDetail](#LenderDetail) | no | |
+ | emis | [[GroupedEmi](#GroupedEmi)] | no | |
+ | summary | [TransactionSummary](#TransactionSummary) | no | |
+
+---
+
+
+
+
+ #### [TransactionSummary](#TransactionSummary)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
- | transactionId | string | no | |
- | status | string | no | |
- | message | string | no | |
+ | capturedAmount | number | yes | The total captured amount. This is the sum of the amounts of all captured shipments. |
+ | uncapturedAmount | number | yes | The total uncaptured amount. This is calculated as totalAmount - capturedAmount. |
+ | capturedAmountForDisbursal | number | yes | The total amount captured for disbursal. This represents the sum of amounts from all shipments marked for disbursal. |
+ | capturedAmountForCancellation | number | yes | The total amount captured for cancellation. This aggregates the amounts from all shipments identified for cancellation. |
+ | data | [[TransactionSummaryData](#TransactionSummaryData)] | yes | |
---
- #### [OrderStatus](#OrderStatus)
+ #### [TransactionSummaryData](#TransactionSummaryData)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
- | orderId | string | yes | |
- | transactionId | string | no | |
- | status | string | yes | |
- | message | string | yes | |
- | __headers | string | no | |
+ | display | [TransactionSummaryDataDisplay](#TransactionSummaryDataDisplay) | no | |
---
- #### [DisbursalStatusRequest](#DisbursalStatusRequest)
+ #### [TransactionSummaryDataDisplay](#TransactionSummaryDataDisplay)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
- | fingerprint | string | no | |
- | transactionId | string | yes | |
+ | primary | [TransactionSummaryDataDisplayType](#TransactionSummaryDataDisplayType) | no | |
+ | secondary | [TransactionSummaryDataDisplayType](#TransactionSummaryDataDisplayType) | no | |
---
- #### [Transactions](#Transactions)
+ #### [TransactionSummaryDataDisplayType](#TransactionSummaryDataDisplayType)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
- | id | string | yes | |
- | userId | string | yes | |
- | partnerId | string | no | |
- | partner | string | no | |
- | partnerLogo | string | no | |
- | status | string | yes | |
- | type | string | no | |
- | remark | string | no | |
- | amount | number | yes | |
- | loanAccountNumber | string | no | |
- | kfs | string | no | |
- | utr | string | no | |
- | sanctionLetter | string | no | |
- | orderId | string | no | |
- | refundId | string | no | |
- | createdAt | string | yes | |
- | lenderId | string | no | |
- | lenderName | string | no | |
- | lenderLogo | string | no | |
- | loanType | string | no | |
- | nextDueDate | string | no | |
- | paidPercent | number | no | |
- | lenderDetail | [LenderDetail](#LenderDetail) | no | |
- | emis | [[Emi](#Emi)] | no | |
+ | text | string | no | |
---
@@ -1169,12 +1586,188 @@ Success. The request has been processed successfully and the response contains t
+ #### [OrderShipmentAddressGeoLocation](#OrderShipmentAddressGeoLocation)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | latitude | number | yes | The latitude of the location. |
+ | longitude | number | yes | The longitude of the location. |
+
+---
+
+
+
+
+ #### [OrderShipmentAddress](#OrderShipmentAddress)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | line1 | string | no | The first line of the address. |
+ | line2 | string | no | The second line of the address. |
+ | city | string | no | The city of the address. |
+ | state | string | no | The state of the address. |
+ | country | string | no | The country of the address. |
+ | pincode | string | no | The postal code of the address. |
+ | type | string | no | The type of address (e.g., residential, business). |
+ | geoLocation | [OrderShipmentAddressGeoLocation](#OrderShipmentAddressGeoLocation) | no | The geographical location of the address. |
+
+---
+
+
+
+
+ #### [OrderShipmentItem](#OrderShipmentItem)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | category | string | no | The category of the item. |
+ | sku | string | no | The stock keeping unit for the item. |
+ | rate | number | no | The price of a single item. |
+ | quantity | number | no | The quantity of the item. |
+
+---
+
+
+
+
+ #### [OrderShipment](#OrderShipment)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | yes | The identifier for the shipment. |
+ | urn | string | no | A unique reference number for the shipment. This is optional; the system will generate a URN if not provided. There can be multiple shipment objects with the same shipment ID, making the URN a unique identifier within the system. |
+ | amount | number | yes | The amount corresponding to the shipment that is subject to the status update. |
+ | timestamp | string | yes | The timestamp when the status of the shipment was updated. |
+ | status | string | yes | The current status of the shipment. |
+ | remark | string | no | Any remarks regarding the shipment. |
+ | items | [[OrderShipmentItem](#OrderShipmentItem)] | no | The list of items in the shipment. |
+ | shippingAddress | [OrderShipmentAddress](#OrderShipmentAddress) | no | The shipping address for the shipment. |
+ | billingAddress | [OrderShipmentAddress](#OrderShipmentAddress) | no | The billing address for the shipment. |
+
+---
+
+
+
+
+ #### [OrderDeliveryUpdatesBody](#OrderDeliveryUpdatesBody)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | orderId | string | no | The unique identifier for the order. Required if transactionId is not provided. |
+ | transactionId | string | no | The unique identifier for the transaction. Required if orderId is not provided. |
+ | includeSummary | boolean | no | A flag to include a summary object in the response, containing data like processed amount and unprocessed amount. |
+ | shipments | [[OrderShipment](#OrderShipment)] | yes | The list of shipments for which the status needs to be updated. Only include shipments requiring a status change. |
+
+---
+
+
+
+
+ #### [OrderShipmentSummary](#OrderShipmentSummary)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | orderAmount | number | yes | The total order amount. |
+ | capturedAmount | number | yes | The total captured amount. This is the sum of the amounts of all captured shipments. |
+ | uncapturedAmount | number | yes | The total uncaptured amount. This is calculated as totalAmount - capturedAmount. |
+ | capturedAmountForDisbursal | number | yes | The total amount captured for disbursal. This represents the sum of amounts from all shipments marked for disbursal. |
+ | capturedAmountForCancellation | number | yes | The total amount captured for cancellation. This aggregates the amounts from all shipments identified for cancellation. |
+
+---
+
+
+
+
+ #### [OrderShipmentResponse](#OrderShipmentResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | yes | The unique identifier of the shipment. |
+ | urn | string | yes | A unique resource identifier for the shipment. |
+ | shipmentStatus | string | yes | The status of the shipment. |
+ | shipmentAmount | number | yes | The total amount associated with the shipment. |
+ | processingStatus | string | yes | The processing status of the order shipment. |
+
+---
+
+
+
+
+ #### [OrderDeliveryUpdatesData](#OrderDeliveryUpdatesData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | orderId | string | yes | The unique identifier for the order. |
+ | transactionId | string | yes | The unique identifier for the order. |
+ | shipments | [[OrderShipmentResponse](#OrderShipmentResponse)] | yes | The list of shipments for which the status was updated. |
+ | summary | [OrderShipmentSummary](#OrderShipmentSummary) | no | A summary object containing various amounts related to the order. |
+
+---
+
+
+
+
+ #### [OrderDeliveryUpdatesResponse](#OrderDeliveryUpdatesResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [OrderDeliveryUpdatesData](#OrderDeliveryUpdatesData) | yes | |
+
+---
+
+
+
+
+ #### [OrderDeliveryUpdatesPartialResponse](#OrderDeliveryUpdatesPartialResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [OrderDeliveryUpdatesData](#OrderDeliveryUpdatesData) | yes | |
+ | errors | [[OrderDeliveryUpdatesError](#OrderDeliveryUpdatesError)] | no | |
+
+---
+
+
+
+
+ #### [OrderDeliveryUpdatesError](#OrderDeliveryUpdatesError)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | code | string | yes | Error code representing the type of error. |
+ | message | string | yes | A human-readable message providing more details about the error. |
+ | exception | string | yes | The exception name or type. |
+
+---
+
+
+
+
+ #### [TransactionOrderSummary](#TransactionOrderSummary)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | capturedAmount | number | yes | The total captured amount. This is the sum of the amounts of all captured shipments. |
+ | uncapturedAmount | number | yes | The total uncaptured amount. This is calculated as totalAmount - capturedAmount. |
+ | capturedAmountForDisbursal | number | yes | The total amount captured for disbursal. This represents the sum of amounts from all shipments marked for disbursal. |
+ | capturedAmountForCancellation | number | yes | The total amount captured for cancellation. This aggregates the amounts from all shipments identified for cancellation. |
+
+---
+
+
+
+
#### [TransactionOrder](#TransactionOrder)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| id | string | yes | Unique identifier of the order. |
| amount | number | yes | Total amount of the order. |
+ | summary | [TransactionOrderSummary](#TransactionOrderSummary) | no | |
---
@@ -1200,6 +1793,25 @@ Success. The request has been processed successfully and the response contains t
| number | string | yes | Loan account number. |
| amount | number | yes | Loan amount. |
| type | string | yes | Type of loan. |
+ | dueDate | string | yes | Due date in ISO format for the loan repayment. |
+ | repaidAmount | number | yes | Amount that has been repaid. |
+ | isSettled | boolean | yes | Indicates if the loan is fully settled. |
+ | emis | [[TransactionLoanEmi](#TransactionLoanEmi)] | no | EMIs associated with the loan. This information is available only if the granularity is set to 'detail' and an EMI schedule is available for this loan. |
+
+---
+
+
+
+
+ #### [TransactionLoanEmi](#TransactionLoanEmi)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | amount | number | yes | EMI amount. |
+ | dueDate | string | yes | Due date in ISO format for the EMI payment. |
+ | installmentNo | number | yes | Installment number for the EMI. |
+ | repaidAmount | number | yes | Amount that has been repaid towards the EMI. |
+ | isSettled | boolean | yes | Indicates if the EMI is fully settled. |
---
@@ -1230,11 +1842,11 @@ Success. The request has been processed successfully and the response contains t
| status | string | yes | Status of the transaction. |
| settlementUtr | string | no | Settlement UTR for the transaction. |
| refundId | string | no | Refund ID if the transaction is a refund. |
- | createdAt | string | yes | Timestamp when the transaction was created. |
+ | createdAt | string | yes | Timestamp in ISO format when the transaction was created. |
| isMasked | boolean | yes | Indicates if the transaction details are masked. This field is true of the transaction if done on some other merchant |
| order | [TransactionOrder](#TransactionOrder) | no | |
| merchant | [TransactionMerchant](#TransactionMerchant) | yes | |
- | loan | [TransactionLoan](#TransactionLoan) | no | |
+ | loans | [[TransactionLoan](#TransactionLoan)] | no | |
| lender | [TransactionLender](#TransactionLender) | no | |
---
@@ -1277,7 +1889,48 @@ Success. The request has been processed successfully and the response contains t
| message | string | yes | Response message indicating the result of the operation. |
| meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
| data | [GetTransactionsData](#GetTransactionsData) | yes | |
- | __headers | string | no | |
+
+---
+
+
+
+
+ #### [SettlementTransactions](#SettlementTransactions)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | no | Unique identifier for the transaction. |
+ | utr | string | no | Unique transaction reference number. |
+ | amount | number | no | The amount involved in the transaction. |
+ | settlementStatus | string | no | Status of the transaction. |
+ | orderId | string | no | Identifier for the associated order. |
+ | createdAt | string | no | The time the transaction occurred |
+ | settlementTime | string | no | The time the transaction settles and transaction status updated |
+
+---
+
+
+
+
+ #### [GetSettlementTransactionsData](#GetSettlementTransactionsData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | transactions | [[SettlementTransactions](#SettlementTransactions)] | yes | |
+ | page | [Pagination](#Pagination) | yes | |
+
+---
+
+
+
+
+ #### [GetSettlementTransactionsResponse](#GetSettlementTransactionsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [GetSettlementTransactionsData](#GetSettlementTransactionsData) | yes | |
---
@@ -1296,5 +1949,87 @@ Success. The request has been processed successfully and the response contains t
---
+
+
+ #### [RegisterTransaction](#RegisterTransaction)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | intent | string | no | |
+ | token | string | yes | |
+
+---
+
+
+
+
+ #### [RegisterTransactionResponseData](#RegisterTransactionResponseData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | isExistingOrder | boolean | no | Indicates whether the order already exists. |
+ | transaction | any | no | The transaction details, which is unkown. |
+ | action | boolean | no | |
+ | status | string | no | The status of the transaction. |
+ | message | string | no | A message related to the transaction status. |
+
+---
+
+
+
+
+ #### [RegisterTransactionResponseResult](#RegisterTransactionResponseResult)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | redirectUrl | string | no | URL to redirect the user to, if applicable. |
+
+---
+
+
+
+
+ #### [RegisterTransactionResponse](#RegisterTransactionResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | result | [RegisterTransactionResponseResult](#RegisterTransactionResponseResult) | no | |
+ | action | string | no | An object for future use, currently empty. |
+ | data | [RegisterTransactionResponseData](#RegisterTransactionResponseData) | no | |
+ | transactionId | string | no | The unique identifier of the transaction. |
+ | status | string | no | The status of the user related to the payment process. |
+ | message | string | no | A message related to the user status. |
+
+---
+
+
+
+
+ #### [UpdateTransactionRequest](#UpdateTransactionRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | intent | string | yes | |
+ | token | string | yes | |
+
+---
+
+
+
+
+ #### [UpdateTransactionResponse](#UpdateTransactionResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | result | [RegisterTransactionResponseResult](#RegisterTransactionResponseResult) | no | |
+ | action | string | no | An object for future use, currently empty. |
+ | data | [RegisterTransactionResponseData](#RegisterTransactionResponseData) | no | |
+ | transactionId | string | no | The unique identifier of the transaction. |
+ | status | string | no | The status of the user related to the payment process. |
+ | message | string | no | A message related to the user status. |
+
+---
+
+
diff --git a/documentation/platform/CUSTOMER.md b/documentation/platform/CUSTOMER.md
index 985f766..245daea 100644
--- a/documentation/platform/CUSTOMER.md
+++ b/documentation/platform/CUSTOMER.md
@@ -6,29 +6,32 @@
## Customer Methods
Authentication Service
-* [verify](#verify)
-* [resendPaymentRequest](#resendpaymentrequest)
-* [createOrder](#createorder)
+* [validate](#validate)
+* [createTransaction](#createtransaction)
* [link](#link)
* [unlink](#unlink)
* [refund](#refund)
* [refundStatus](#refundstatus)
* [getSchemes](#getschemes)
+* [checkEligibility](#checkeligibility)
+* [getRepaymentLink](#getrepaymentlink)
+* [getAllCustomers](#getallcustomers)
+* [addVintageData](#addvintagedata)
## Methods with example and description
-### verify
-Verify Customer
+### validate
+Validate Customer
```javascript
// Promise
const promise =
- customer.verify(
+ customer.validate(
{
body : value
@@ -37,7 +40,7 @@ const promise =
// Async/Await
const data = await
- customer.verify(
+ customer.validate(
{
body : value
@@ -50,50 +53,105 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [VerifyCustomer](#VerifyCustomer) | yes | Request body |
+| body | [ValidateCustomer](#ValidateCustomer) | yes | Request body |
-Use this API to verify the customer based on mobile number and countryCode.
+The Validate Customer API processes validity checks using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. It returns `Enabled` if the transaction is allowed.
*Returned Response:*
-[VerifyCustomerSuccess](#VerifyCustomerSuccess)
+[ValidateCustomerSuccess](#ValidateCustomerSuccess)
-Success. Returns a JSON object as shown below. Refer `VerifyCustomerSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `ValidateCustomerSuccess` for more details.
- Examples:
-
-
-
- VerifyCustomerEnabledResponseExample
+ Example:
```json
-{
- "value": {
- "status": "ENABLED",
- "userStatus": "USER_AUTHORISED",
- "message": "Kindly proceed to complete your order"
- }
-}
+
```
+
+
+
+
+
+
+
+
+---
+
+
+### createTransaction
+Create Transaction
+
+
+
+```javascript
+// Promise
+const promise =
+ customer.createTransaction(
+ {
+ body : value,
+ session : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ customer.createTransaction(
+ {
+ body : value,
+ session : value
+
+ });
+```
+
+
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| session | string | no | The user session. |
+| body | [CreateTransaction](#CreateTransaction) | yes | Request body |
+
+
+The Create Transaction API processes transactions using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. If the transaction is allowed, it returns `Enabled` along with the redirect URL and the user status as authorized.
+
+*Returned Response:*
+
+
+
+
+[CreateTransactionSuccess](#CreateTransactionSuccess)
+
+Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess` for more details.
+
+
+
+
+
+ Examples:
+
+
- VerifyCustomerDisabledResponseExample
+ CreateTransactionResponseExample
```json
{
"value": {
- "status": "DISABLED",
- "userStatus": "CREDIT_EXAHUSTED",
- "message": "Order value exceeds the available limit of ₹36,452"
+ "redirectUrl": "https://account.potlee.co.in/auth/login?onboardingToken=e738521b-a763-460d-a440-d9570e79be47&redirectUrl=https://url.merchant.com/callback",
+ "message": "Payment Authorised",
+ "userStatus": "PAYMENT_AUTHORISED"
}
}
```
@@ -112,15 +170,15 @@ Success. Returns a JSON object as shown below. Refer `VerifyCustomerSuccess` for
---
-### resendPaymentRequest
-Resend Payment Request
+### link
+Link account
```javascript
// Promise
const promise =
- customer.resendPaymentRequest(
+ customer.link(
{
body : value
@@ -129,7 +187,7 @@ const promise =
// Async/Await
const data = await
- customer.resendPaymentRequest(
+ customer.link(
{
body : value
@@ -142,19 +200,19 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [ResendPaymentRequest](#ResendPaymentRequest) | yes | Request body |
+| body | [LinkAccount](#LinkAccount) | yes | Request body |
-Use this API to resend payment request to user
+The Link API generates a merchant-linked session for the user, enabling automatic login to complete payment or repayment activities seamlessly. This session ensures a smooth and secure transaction process without requiring the user to manually log in.
*Returned Response:*
-[CreateTransactionSuccess](#CreateTransactionSuccess)
+[LinkAccountSuccess](#LinkAccountSuccess)
-Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `LinkAccountSuccess` for more details.
@@ -167,23 +225,7 @@ Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess`
redirectUrl
```json
-"https://account.potleex0.de/auth/login?onboardingToken=e738521b-a763-460d-a440-d9570e79be47&redirectUrl=https://local.potleex0.de:3003/callback?apiKey=0c8e7bbf-6c0c-41b1-8a37-7e066e8fbd4a&apiSecret=48a7d96f46868f78297be845b6afb5da50893d0b&domain=https://api.potleex0.de"
-```
-
-
-
- message
-
-```json
-"Payment Authorised"
-```
-
-
-
- userStatus
-
-```json
-"PAYMENT_AUTHORISED"
+"https://account.potlee.co.in/auth/login?linkingToken=1245rtfyg765"
```
@@ -200,15 +242,15 @@ Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess`
---
-### createOrder
-Create Order
+### unlink
+Unlink account
```javascript
// Promise
const promise =
- customer.createOrder(
+ customer.unlink(
{
body : value
@@ -217,7 +259,7 @@ const promise =
// Async/Await
const data = await
- customer.createOrder(
+ customer.unlink(
{
body : value
@@ -230,19 +272,19 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [CreateTransaction](#CreateTransaction) | yes | Request body |
+| body | [UnlinkAccount](#UnlinkAccount) | yes | Request body |
-Use this API to create transaction for user
+The Unlink API serves as the reverse of the Link API. It terminates the merchant-linked session for the user, effectively logging them out and preventing any further automatic login for payment or repayment activities. This ensures security and control over session management.
*Returned Response:*
-[CreateTransactionSuccess](#CreateTransactionSuccess)
+[UnlinkAccountSuccess](#UnlinkAccountSuccess)
-Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `UnlinkAccountSuccess` for more details.
@@ -252,16 +294,10 @@ Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess`
- CreateTransactionResponseExample
+ success
```json
-{
- "value": {
- "redirectUrl": "https://account.potlee.co.in/auth/login?onboardingToken=e738521b-a763-460d-a440-d9570e79be47&redirectUrl=https://url.merchant.com/callback",
- "message": "Payment Authorised",
- "userStatus": "PAYMENT_AUTHORISED"
- }
-}
+true
```
@@ -278,15 +314,15 @@ Success. Returns a JSON object as shown below. Refer `CreateTransactionSuccess`
---
-### link
-Link account
+### refund
+Refund Order
```javascript
// Promise
const promise =
- customer.link(
+ customer.refund(
{
body : value
@@ -295,7 +331,7 @@ const promise =
// Async/Await
const data = await
- customer.link(
+ customer.refund(
{
body : value
@@ -308,19 +344,19 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [LinkAccount](#LinkAccount) | yes | Request body |
+| body | [Refund](#Refund) | yes | Request body |
-Use this API to link account with merchant
+The Refund API processes refunds based on business arrangements and returns the corresponding status of the refund request. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*Returned Response:*
-[LinkAccountSuccess](#LinkAccountSuccess)
+[RefundResponse](#RefundResponse)
-Success. Returns a JSON object as shown below. Refer `LinkAccountSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `RefundResponse` for more details.
@@ -330,10 +366,34 @@ Success. Returns a JSON object as shown below. Refer `LinkAccountSuccess` for mo
- redirectUrl
+ status
```json
-"https://account.potlee.co.in/auth/login?linkingToken=1245rtfyg765"
+"SUCCESS"
+```
+
+
+
+ message
+
+```json
+"Refund request has been successfully recorded."
+```
+
+
+
+ refundId
+
+```json
+"R123"
+```
+
+
+
+ transactionId
+
+```json
+"TXN1234567dsfg"
```
@@ -350,26 +410,28 @@ Success. Returns a JSON object as shown below. Refer `LinkAccountSuccess` for mo
---
-### unlink
-Unlink account
+### refundStatus
+Check Refund status
```javascript
// Promise
const promise =
- customer.unlink(
+ customer.refundStatus(
{
- body : value
+ refundId : value,
+ orderId : value
}
);
// Async/Await
const data = await
- customer.unlink(
+ customer.refundStatus(
{
- body : value
+ refundId : value,
+ orderId : value
});
```
@@ -379,20 +441,22 @@ const data = await
| Argument | Type | Required | Description |
-| --------- | ----- | -------- | ----------- |
-| body | [UnlinkAccount](#UnlinkAccount) | yes | Request body |
+| --------- | ----- | -------- | ----------- |
+| refundId | string | no | This is the refund ID |
+| orderId | string | no | This is the order ID |
-Use this API to unlink account from merchant
+
+The Refund Status API returns the current status of a refund request based on business arrangements. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*Returned Response:*
-[UnlinkAccountSuccess](#UnlinkAccountSuccess)
+[RefundStatus](#RefundStatus)
-Success. Returns a JSON object as shown below. Refer `UnlinkAccountSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `RefundStatus` for more details.
@@ -402,10 +466,61 @@ Success. Returns a JSON object as shown below. Refer `UnlinkAccountSuccess` for
- success
+ orderId
```json
-true
+"PM-28"
+```
+
+
+
+ userId
+
+```json
+"c004a863-bce5-492b-b7aa-ba2890bc9e25"
+```
+
+
+
+ merchantId
+
+```json
+"3e0cf7da-ad5f-4c99-a9e7-49cad484ef37"
+```
+
+
+
+ lenderId
+
+```json
+"f622b3e8-c797-434d-948f-d0fda56e3db6"
+```
+
+
+
+ refund
+
+```json
+[
+ {
+ "id": "10122313672606485999",
+ "loanAccountNumber": "CASHe-1686764747795",
+ "orderItems": {
+ "list": [
+ {
+ "sku": "1",
+ "rate": "1",
+ "category": "1",
+ "quantity": 1
+ }
+ ]
+ },
+ "amount": 3000,
+ "status": "SUCCESS",
+ "processedDate": "2023-06-14T17:44:28.052Z",
+ "createdAt": "2023-06-14T17:44:28.052Z"
+ }
+]
```
@@ -422,15 +537,15 @@ true
---
-### refund
-Refund customer order amount
+### getSchemes
+Get schemes
```javascript
// Promise
const promise =
- customer.refund(
+ customer.getSchemes(
{
body : value
@@ -439,7 +554,7 @@ const promise =
// Async/Await
const data = await
- customer.refund(
+ customer.getSchemes(
{
body : value
@@ -452,19 +567,19 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [Refund](#Refund) | yes | Request body |
+| body | [GetSchemesRequest](#GetSchemesRequest) | yes | Request body |
-Use this API to verify the refund customer order amount
+The Schemes API returns Buy Now, Pay Later (BNPL) and EMI plans offered by lenders for the user. It provides details on available financing options, including terms and conditions for both BNPL and EMI arrangements.
*Returned Response:*
-[RefundResponse](#RefundResponse)
+[GetSchemesSuccess](#GetSchemesSuccess)
-Success. Returns a JSON object as shown below. Refer `RefundResponse` for more details.
+Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for more details.
@@ -474,34 +589,164 @@ Success. Returns a JSON object as shown below. Refer `RefundResponse` for more d
- status
+ userId
```json
-"SUCCESS"
+"bf94b96a-1a15-406b-8d2f-0b37bfe47732"
```
- message
+ lenders
```json
-"Refund request has been successfully recorded."
+[
+ {
+ "slug": "cashe",
+ "name": "CASHe",
+ "title": "CASHe",
+ "subtitle": "Bhanix Finance and Investment Limited",
+ "isDefault": false,
+ "logoUrl": "https://cdn.pixelbin.io/v2/potlee/original/public/lenders/lenderLogo/v2/512h-logo/cashe-logo.png",
+ "amount": 5000,
+ "paymentOptions": {
+ "emis": [
+ {
+ "id": 62,
+ "title": "3 Months - EMIs",
+ "subtitle": "CASHe Shop 3EMI (PaymentGateway)",
+ "description": "3 Months - No cost EMIs",
+ "tenure": 3,
+ "interest": 0,
+ "processingFee": 75,
+ "amount": 1692,
+ "emiSchedule": [
+ {
+ "installmentNo": 1,
+ "installmentAmount": 1741,
+ "dueDate": "2023-12-22T12:00:00.000+00:00",
+ "dueAmount": 3334
+ },
+ {
+ "installmentNo": 2,
+ "installmentAmount": 1666,
+ "dueDate": "2024-01-22T12:00:00.000+00:00",
+ "dueAmount": 1668
+ },
+ {
+ "installmentNo": 3,
+ "installmentAmount": 1666,
+ "dueDate": "2024-02-22T12:00:00.000+00:00",
+ "dueAmount": 2
+ }
+ ],
+ "isDefault": false
+ }
+ ],
+ "payLater": {
+ "id": 1,
+ "title": "PayLater",
+ "subtitle": "CASHe_PayLater",
+ "description": "Customer can pay after 30days",
+ "tenure": 1,
+ "interest": 0,
+ "processingFee": 0,
+ "amount": 5000,
+ "emiSchedule": null,
+ "isDefault": true
+ }
+ }
+ }
+]
```
-
- refundId
+
-```json
-"R123"
+
+
+
+
+
+
+
+
+---
+
+
+### checkEligibility
+Check Credit Eligibility
+
+
+
+```javascript
+// Promise
+const promise =
+ customer.checkEligibility(
+ {
+ body : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ customer.checkEligibility(
+ {
+ body : value
+
+ });
```
-
+
+
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| body | [CheckEligibilityRequest](#CheckEligibilityRequest) | yes | Request body |
+
+
+Use this API to pre approve by checking the customer's credit eligibility based on mobile number and countryCode and vintage data of monthly transactions.
+
+*Returned Response:*
+
+
+
+
+[EligibilitySuccess](#EligibilitySuccess)
+
+Success. Returns a JSON object as shown below. Refer `EligibilitySuccess` for more details.
+
+
+
- transactionId
+ Examples:
+
+
+
+ EligibilitySuccess
```json
-"TXN1234567dsfg"
+{
+ "value": {
+ "status": "ENABLED",
+ "message": "User is eligible to transact",
+ "redirectUrl": "https://account.potlee.co.in",
+ "creditLimit": [
+ {
+ "availableLimit": 300000,
+ "possibleLimit": 500000,
+ "lender": {
+ "slug": "ugro",
+ "name": "UGRO",
+ "logo": "https://cdn.pixelbin.io/v2/potlee/original/public/ugro/ugro_logo"
+ }
+ }
+ ]
+ }
+}
```
@@ -518,28 +763,26 @@ Success. Returns a JSON object as shown below. Refer `RefundResponse` for more d
---
-### refundStatus
-Refund status
+### getRepaymentLink
+Get Repayment link
```javascript
// Promise
const promise =
- customer.refundStatus(
+ customer.getRepaymentLink(
{
- refundId : value,
- orderId : value
+ body : value
}
);
// Async/Await
const data = await
- customer.refundStatus(
+ customer.getRepaymentLink(
{
- refundId : value,
- orderId : value
+ body : value
});
```
@@ -549,22 +792,20 @@ const data = await
| Argument | Type | Required | Description |
-| --------- | ----- | -------- | ----------- |
-| refundId | string | no | This is the refund ID |
-| orderId | string | no | This is the order ID |
-
+| --------- | ----- | -------- | ----------- |
+| body | [RepaymentRequest](#RepaymentRequest) | yes | Request body |
-Use this API to fetch the refund status
+The Repayment Link API generates a repayment link based on the current outstanding balance. The URL provided allows users to make payments and settle their outstanding amounts directly.
*Returned Response:*
-[RefundStatus](#RefundStatus)
+[RepaymentResponse](#RepaymentResponse)
-Success. Returns a JSON object as shown below. Refer `RefundStatus` for more details.
+Success. The request has been processed successfully and the response contains the requested data.
@@ -574,61 +815,167 @@ Success. Returns a JSON object as shown below. Refer `RefundStatus` for more det
- orderId
+ RepaymentUrlResponseExample
```json
-"PM-28"
+{
+ "value": {
+ "message": "The request has been processed successfully.",
+ "data": {
+ "repaymentUrl": "https://account.settle.club/magic-link/65bafe6a-f665-4378-964f-fc7457585ac7"
+ },
+ "meta": {
+ "timestamp": "2024-07-16T13:30:10.663Z",
+ "version": "v1.0",
+ "product": "Settle Checkout"
+ }
+ }
+}
```
-
- userId
+
-```json
-"c004a863-bce5-492b-b7aa-ba2890bc9e25"
+
+
+
+
+
+
+
+
+---
+
+
+### getAllCustomers
+Get List of Users
+
+
+
+```javascript
+// Promise
+const promise =
+ customer.getAllCustomers(
+ {
+ page : value,
+ limit : value,
+ name : value,
+ mobile : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ customer.getAllCustomers(
+ {
+ page : value,
+ limit : value,
+ name : value,
+ mobile : value
+
+ });
```
-
-
- merchantId
-```json
-"3e0cf7da-ad5f-4c99-a9e7-49cad484ef37"
-```
-
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| page | number | yes | This is page number |
+| limit | number | yes | This is no of transaction |
+| name | string | no | This is name for filter |
+| mobile | string | no | This is Mobile Number for filter |
+
+
+
+The Customer Listing API returns a paginated list of users associated with the specified organization. Supports filtering by various query parameters such as name, ID, and mobile number.
+
+*Returned Response:*
+
+
+
+
+[UserResponse](#UserResponse)
+
+Success. Returns a JSON object as shown below. Refer `UserResponse` for more details.
+
+
+
- lenderId
+ Examples:
-```json
-"f622b3e8-c797-434d-948f-d0fda56e3db6"
-```
-
- refund
+ UserResponseExample
```json
-[
- {
- "id": "10122313672606485999",
- "loanAccountNumber": "CASHe-1686764747795",
- "orderItems": {
- "list": [
- {
- "sku": "1",
- "rate": "1",
- "category": "1",
- "quantity": 1
- }
- ]
+{
+ "message": "The request has been processed successfully.",
+ "data": {
+ "listOfUsers": [
+ {
+ "id": "07c5e487-e017-43b7-9c4e-e8f4010b4f88",
+ "firstName": "Avula",
+ "lastName": "Josh",
+ "gender": "male",
+ "dob": "2004-05-08",
+ "email": "1020d1b57b16aa0d4edcbe7e97557ada4eb7b015b448073bc8c684dffc7a4db6",
+ "mobile": "df20c2fc3c0a4df8429a598c61975a04",
+ "profilePictureUrl": null,
+ "active": true,
+ "createdAt": "2024-06-23T09:12:05.274Z",
+ "updatedAt": "2024-06-23T10:06:26.258Z"
+ }
+ ],
+ "page": {
+ "type": "number",
+ "current": 1,
+ "hasPrevious": false,
+ "hasNext": false,
+ "size": null,
+ "itemTotal": 178
},
- "amount": 3000,
- "status": "SUCCESS",
- "processedDate": "2023-06-14T17:44:28.052Z",
- "createdAt": "2023-06-14T17:44:28.052Z"
+ "filters": [
+ {
+ "key": {
+ "display": "Search",
+ "name": "search",
+ "kind": "multivalued"
+ },
+ "values": [
+ {
+ "display": "Name",
+ "isSelected": false,
+ "value": "FIRSTNAME"
+ },
+ {
+ "display": "Name",
+ "isSelected": false,
+ "value": "LASTNAME"
+ },
+ {
+ "display": "Id",
+ "isSelected": false,
+ "value": "ID"
+ },
+ {
+ "display": "Mobile",
+ "isSelected": false,
+ "value": "MOBILE"
+ }
+ ]
+ }
+ ]
+ },
+ "meta": {
+ "timestamp": "2024-08-14T05:23:51.794Z",
+ "version": "v1.0",
+ "product": "Settle Checkout"
}
-]
+}
```
@@ -645,15 +992,15 @@ Success. Returns a JSON object as shown below. Refer `RefundStatus` for more det
---
-### getSchemes
-Fetch schemes
+### addVintageData
+Add user vintage details
```javascript
// Promise
const promise =
- customer.getSchemes(
+ customer.addVintageData(
{
body : value
@@ -662,7 +1009,7 @@ const promise =
// Async/Await
const data = await
- customer.getSchemes(
+ customer.addVintageData(
{
body : value
@@ -675,19 +1022,19 @@ const data = await
| Argument | Type | Required | Description |
| --------- | ----- | -------- | ----------- |
-| body | [GetSchemesRequest](#GetSchemesRequest) | yes | Request body |
+| body | [VintageData](#VintageData) | yes | Request body |
-Use this API to fetch available schemes for user order.
+Use this API to add vintage details of the user.
*Returned Response:*
-[GetSchemesSuccess](#GetSchemesSuccess)
+[AddVintageResponse](#AddVintageResponse)
-Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for more details.
+Success. Returns a JSON object as shown below. Refer `AddVintageResponse` for more details.
@@ -697,75 +1044,20 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
- userId
-
-```json
-"bf94b96a-1a15-406b-8d2f-0b37bfe47732"
-```
-
-
-
- lenders
+ AddVintageResponse
```json
-[
- {
- "slug": "cashe",
- "name": "CASHe",
- "title": "CASHe",
- "subtitle": "Bhanix Finance and Investment Limited",
- "isDefault": false,
- "logoUrl": "https://cdn.pixelbin.io/v2/potlee/original/public/lenders/lenderLogo/v2/512h-logo/cashe-logo.png",
- "amount": 5000,
- "paymentOptions": {
- "emis": [
- {
- "id": 62,
- "title": "3 Months - EMIs",
- "subtitle": "CASHe Shop 3EMI (PaymentGateway)",
- "description": "3 Months - No cost EMIs",
- "tenure": 3,
- "interest": 0,
- "processingFee": 75,
- "amount": 1692,
- "emiSchedule": [
- {
- "installmentNo": 1,
- "installmentAmount": 1741,
- "dueDate": "2023-12-22T12:00:00.000+00:00",
- "dueAmount": 3334
- },
- {
- "installmentNo": 2,
- "installmentAmount": 1666,
- "dueDate": "2024-01-22T12:00:00.000+00:00",
- "dueAmount": 1668
- },
- {
- "installmentNo": 3,
- "installmentAmount": 1666,
- "dueDate": "2024-02-22T12:00:00.000+00:00",
- "dueAmount": 2
- }
- ],
- "isDefault": false
- }
- ],
- "payLater": {
- "id": 1,
- "title": "PayLater",
- "subtitle": "CASHe_PayLater",
- "description": "Customer can pay after 30days",
- "tenure": 1,
- "interest": 0,
- "processingFee": 0,
- "amount": 5000,
- "emiSchedule": null,
- "isDefault": true
- }
- }
+{
+ "value": {
+ "message": "Request Processed Successfully.",
+ "meta": {
+ "timestamp": "2024-07-10T13:56:46.396Z",
+ "version": "v1.0",
+ "product": "Settle Checkout"
+ },
+ "data": {}
}
-]
+}
```
@@ -787,6 +1079,61 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
+ #### [IntegrationResponseMeta](#IntegrationResponseMeta)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | timestamp | string | yes | The timestamp when the response was generated. |
+ | version | string | yes | The version of the API. |
+ | product | string | yes | The name of the product or service. |
+ | requestId | string | no | An optional request identifier. |
+
+---
+
+
+
+
+ #### [IntegrationResponseError](#IntegrationResponseError)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | code | string | yes | Error code representing the type of error. |
+ | message | string | yes | A human-readable message providing more details about the error. |
+ | exception | string | yes | The exception name or type. |
+ | field | string | no | The field associated with the error, if applicable. |
+ | location | string | no | The location of the field, such as 'query', 'param' or 'body'. |
+
+---
+
+
+
+
+ #### [IntegrationSuccessResponse](#IntegrationSuccessResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | A message indicating the success of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | string | yes | The data payload of the response. The structure of this object will vary depending on the specific API endpoint. |
+
+---
+
+
+
+
+ #### [IntegrationErrorResponse](#IntegrationErrorResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | A message indicating the failure of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | errors | [[IntegrationResponseError](#IntegrationResponseError)] | no | |
+
+---
+
+
+
+
#### [RefundResponse](#RefundResponse)
| Properties | Type | Nullable | Description |
@@ -795,7 +1142,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| message | string | no | |
| transactionId | string | no | |
| refundId | string | no | |
- | __headers | string | no | |
---
@@ -1260,7 +1606,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| ---------- | ---- | -------- | ----------- |
| countryCode | string | no | |
| mobile | string | yes | |
- | uid | string | yes | |
+ | uid | string | no | |
| email | string | no | |
| firstname | string | no | |
| middleName | string | no | |
@@ -1286,6 +1632,21 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
+ #### [VerifyOrder](#VerifyOrder)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | valueInPaise | number | yes | |
+ | uid | string | no | |
+ | items | [[Items](#Items)] | no | |
+ | shippingAddress | [OrderAddress](#OrderAddress) | no | |
+ | billingAddress | [OrderAddress](#OrderAddress) | no | |
+
+---
+
+
+
+
#### [OrderUid](#OrderUid)
| Properties | Type | Nullable | Description |
@@ -1330,12 +1691,12 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
- #### [VerifyCustomer](#VerifyCustomer)
+ #### [ValidateCustomer](#ValidateCustomer)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| customer | [CustomerObject](#CustomerObject) | yes | |
- | order | [Order](#Order) | yes | |
+ | order | [VerifyOrder](#VerifyOrder) | yes | |
| device | [Device](#Device) | yes | |
| meta | string | no | |
| fetchLimitOptions | boolean | no | |
@@ -1357,7 +1718,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| meta | string | no | Any additional details |
| emiTenure | number | no | EMI tenure selected by customer |
| lenderSlug | string | no | slug of lender selected by customer |
- | consents | [[Consents](#Consents)] | no | Consent for AUTO_DISBURSAL is mandatory while calling createOrder API. |
+ | consents | [[Consents](#Consents)] | no | Consent for AUTO_DISBURSAL is mandatory while calling createTransaction API. |
---
@@ -1377,7 +1738,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
- #### [VerifyCustomerSuccess](#VerifyCustomerSuccess)
+ #### [ValidateCustomerSuccess](#ValidateCustomerSuccess)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
@@ -1386,7 +1747,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| message | string | yes | Message to be displayed to the user |
| schemes | [[SchemeResponse](#SchemeResponse)] | no | An array of possible schemes of lenders available for a transaction. |
| limit | [LimitResponse](#LimitResponse) | no | Limit details of available and possible lenders for a transaction. |
- | __headers | string | no | |
---
@@ -1403,7 +1763,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| transactionId | string | no | A unique identifier for the transaction. This is received only if session is passed and auto capture is true in request. ASP merchants do not receive transaction ID in this response. |
| status | string | no | Indicates transaction status in case of auto disbursal. |
| userStatus | string | no | Represents the status of the user for transaction eligibility |
- | __headers | string | no | |
---
@@ -1453,6 +1812,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| token | string | yes | |
+ | intent | string | no | |
---
@@ -1505,6 +1865,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| order | [Order](#Order) | no | |
| isAsp | boolean | no | |
| merchant | [MerchantDetails](#MerchantDetails) | no | |
+ | redirectUrl | string | no | |
---
@@ -1872,6 +2233,26 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
+ #### [MerchantDetailsResponse](#MerchantDetailsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | no | Unique identifier for the business |
+ | website | string | no | Website URL of the business |
+ | businessAddress | string | no | Physical address of the business |
+ | pincode | string | no | Pincode for the business address |
+ | logo | string | no | URL to the business logo |
+ | gstIn | string | no | GST number of the business, can be null |
+ | businessName | string | no | Business name of the merchant |
+ | name | string | no | Name of the merchant |
+ | supportEmail | string | no | Support email of the merchant |
+ | description | string | no | Description of the Merchant. |
+
+---
+
+
+
+
#### [NavigationsMobileResponse](#NavigationsMobileResponse)
| Properties | Type | Nullable | Description |
@@ -1889,6 +2270,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| title | string | yes | |
+ | action | [ActionSchema](#ActionSchema) | no | |
| page | [PageSchema](#PageSchema) | yes | |
| icon | string | yes | |
| activeIcon | string | yes | |
@@ -2235,7 +2617,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| status | string | no | |
| message | string | no | |
| errorCode | string | no | |
- | __headers | string | no | |
---
@@ -2263,7 +2644,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| statusCode | number | yes | |
| userStatus | string | no | |
| errorCode | string | no | |
- | __headers | string | no | |
---
@@ -2352,7 +2732,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
- #### [UserResponse](#UserResponse)
+ #### [UserResponseData](#UserResponseData)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
@@ -2365,6 +2745,19 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
+ #### [UserResponse](#UserResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [UserResponseData](#UserResponseData) | yes | |
+
+---
+
+
+
+
#### [UserDetailRequest](#UserDetailRequest)
| Properties | Type | Nullable | Description |
@@ -2535,7 +2928,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| lenderId | string | no | |
| loanAccountNumber | string | no | |
| refund | [[RefundStatusList](#RefundStatusList)] | no | |
- | __headers | string | no | |
---
@@ -2548,7 +2940,6 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| ---------- | ---- | -------- | ----------- |
| userId | string | no | |
| lenders | [[SchemeResponse](#SchemeResponse)] | yes | |
- | __headers | string | no | |
---
@@ -2880,10 +3271,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| ---------- | ---- | -------- | ----------- |
| customer | [CustomerObject](#CustomerObject) | yes | |
| order | [Order](#Order) | no | |
- | businessDetails | [BusinessDetails](#BusinessDetails) | no | |
- | documents | [[DocumentItems](#DocumentItems)] | no | |
| device | [Device](#Device) | yes | |
- | vintage | [[VintageItems](#VintageItems)] | no | |
| meta | string | no | |
| fetchLimitOptions | boolean | no | |
@@ -2991,6 +3379,100 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
---
+
+
+ #### [RepaymentRequest](#RepaymentRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | mobile | string | yes | |
+ | countryCode | string | no | |
+ | target | string | no | |
+ | callbackUrl | string | yes | |
+ | lenderSlug | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentResponse](#RepaymentResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [RepaymentResponseData](#RepaymentResponseData) | yes | |
+
+---
+
+
+
+
+ #### [RepaymentResponseData](#RepaymentResponseData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | repaymentUrl | string | no | |
+
+---
+
+
+
+
+ #### [VerifyMagicLinkResponse](#VerifyMagicLinkResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | user | [UserSchema](#UserSchema) | yes | |
+ | scope | [string] | no | |
+ | redirectPath | string | yes | |
+ | callbackUrl | string | no | |
+ | meta | string | no | |
+
+---
+
+
+
+
+ #### [VerifyMagicLinkRequest](#VerifyMagicLinkRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | token | string | yes | |
+
+---
+
+
+
+
+ #### [VintageData](#VintageData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | customer | [CustomerObject](#CustomerObject) | no | |
+ | businessDetails | [BusinessDetails](#BusinessDetails) | yes | |
+ | documents | [[DocumentItems](#DocumentItems)] | no | |
+ | device | [Device](#Device) | no | |
+ | vintage | [[VintageItems](#VintageItems)] | yes | |
+ | meta | string | no | |
+
+---
+
+
+
+
+ #### [AddVintageResponse](#AddVintageResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | mesasge | string | no | |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | no | |
+ | data | string | no | |
+
+---
+
+
### Enums
@@ -3034,6 +3516,7 @@ Success. Returns a JSON object as shown below. Refer `GetSchemesSuccess` for mor
| upiRepayment | upiRepayment | Symbolic link for UPI Repayment: /repayment/upi |
| sanctionLetter | sanctionLetter | Symbolic link for Sanction Letter: /sanction/:userId |
| kfs | kfs | Symbolic link for KFS: /kfs/:userId |
+ | dynamicPage | dynamicPage | Symbolic link for Dynamic Page: /page/:slug |
---
diff --git a/documentation/platform/MERCHANT.md b/documentation/platform/MERCHANT.md
index 273460d..e99b83f 100644
--- a/documentation/platform/MERCHANT.md
+++ b/documentation/platform/MERCHANT.md
@@ -8,6 +8,7 @@
Authentication Service
* [getAccessToken](#getaccesstoken)
* [renewAccessToken](#renewaccesstoken)
+* [validateCredentials](#validatecredentials)
@@ -231,6 +232,72 @@ true
+---
+
+
+### validateCredentials
+Validate organization's credentials
+
+
+
+```javascript
+// Promise
+const promise =
+ merchant.validateCredentials(
+
+
+
+ );
+
+// Async/Await
+const data = await
+ merchant.validateCredentials(
+
+
+ );
+```
+
+
+
+
+
+
+Use this API to validate organization's credentials
+
+*Returned Response:*
+
+
+
+
+[ValidateCredentialsResponse](#ValidateCredentialsResponse)
+
+Success. Returns a JSON object as shown below. Refer `ValidateCredentialsResponse` for more details.
+
+
+
+
+
+ Examples:
+
+
+
+ $ref
+
+```json
+"#/components/schemas/ValidateCredentialsResponseExample"
+```
+
+
+
+
+
+
+
+
+
+
+
+
---
@@ -681,6 +748,8 @@ true
| disbursementIfsc | string | no | |
| businessName | string | no | |
| email | string | no | |
+ | supportEmail | string | no | |
+ | description | string | no | |
| businessAddress | string | no | |
| pincode | string | no | |
| b2b | boolean | no | |
@@ -785,6 +854,8 @@ true
| b2c | boolean | no | |
| businessName | string | no | |
| email | string | no | |
+ | supportEmail | string | no | |
+ | description | string | no | |
| businessAddress | string | no | |
| pincode | string | no | |
| documents | [[Documents](#Documents)] | no | |
@@ -1431,7 +1502,6 @@ true
| refreshTokenExpiryAt | string | no | |
| refreshTokenExpiryIn | string | no | |
| scope | [string] | no | |
- | __headers | string | no | |
---
@@ -1446,7 +1516,6 @@ true
| accessToken | string | no | |
| tokenExpireAt | string | no | |
| tokenExpiryIn | string | no | |
- | __headers | string | no | |
---
@@ -1464,6 +1533,74 @@ true
+ #### [IntegrationResponseMeta](#IntegrationResponseMeta)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | timestamp | string | yes | The timestamp when the response was generated. |
+ | version | string | yes | The version of the API. |
+ | product | string | yes | The name of the product or service. |
+ | requestId | string | no | An optional request identifier. |
+
+---
+
+
+
+
+ #### [IntegrationResponseError](#IntegrationResponseError)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | code | string | yes | Error code representing the type of error. |
+ | message | string | yes | A human-readable message providing more details about the error. |
+ | exception | string | yes | The exception name or type. |
+ | field | string | no | The field associated with the error, if applicable. |
+ | location | string | no | The location of the field, such as 'query', 'param' or 'body'. |
+
+---
+
+
+
+
+ #### [IntegrationErrorResponse](#IntegrationErrorResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | A message indicating the failure of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | error | [IntegrationResponseError](#IntegrationResponseError) | yes | |
+
+---
+
+
+
+
+ #### [ValidateCredentialsData](#ValidateCredentialsData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | success | boolean | yes | |
+ | organizationId | string | yes | |
+ | organizationName | string | no | |
+
+---
+
+
+
+
+ #### [ValidateCredentialsResponse](#ValidateCredentialsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | Response message indicating the result of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [ValidateCredentialsData](#ValidateCredentialsData) | yes | |
+
+---
+
+
+
+
#### [PaymentLinkResponse](#PaymentLinkResponse)
| Properties | Type | Nullable | Description |
@@ -1608,6 +1745,59 @@ true
+ #### [LenderTheme](#LenderTheme)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | iconUrl | string | no | |
+ | logoUrl | string | no | |
+
+---
+
+
+
+
+ #### [LenderDetails](#LenderDetails)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | slug | string | no | |
+ | name | string | no | |
+ | id | string | no | |
+ | theme | [LenderTheme](#LenderTheme) | no | |
+
+---
+
+
+
+
+ #### [OutstandingData](#OutstandingData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | lenderDetails | [LenderDetails](#LenderDetails) | no | |
+ | availableLimit | number | no | |
+ | creditLimit | number | no | |
+ | dueAmount | number | no | |
+ | outstandingAmount | number | no | |
+ | dueDate | string | no | |
+
+---
+
+
+
+
+ #### [OutstandingDetailsResponse](#OutstandingDetailsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | outstandingDetails | [[OutstandingData](#OutstandingData)] | no | |
+
+---
+
+
+
+
#### [CreateUserRequestSchema](#CreateUserRequestSchema)
| Properties | Type | Nullable | Description |
diff --git a/documentation/platform/MULTIKYC.md b/documentation/platform/MULTIKYC.md
index a7e8f1d..4f66619 100644
--- a/documentation/platform/MULTIKYC.md
+++ b/documentation/platform/MULTIKYC.md
@@ -7,7 +7,6 @@
## MultiKyc Methods
Will deprecate Hawkeye
* [approvedLenders](#approvedlenders)
-* [getLimit](#getlimit)
@@ -71,72 +70,6 @@ const data = await
----
-
-
-### getLimit
-Get limit
-
-
-
-```javascript
-// Promise
-const promise =
- multiKyc.getLimit(
- {
- body : value
-
- }
- );
-
-// Async/Await
-const data = await
- multiKyc.getLimit(
- {
- body : value
-
- });
-```
-
-
-
-
-
-| Argument | Type | Required | Description |
-| --------- | ----- | -------- | ----------- |
-| body | [GetLimitRequest](#GetLimitRequest) | yes | Request body |
-
-
-
-
-*Returned Response:*
-
-
-
-
-[IntgrCreditLimit](#IntgrCreditLimit)
-
-
-
-
-
-
-
- Example:
-
-```json
-
-```
-
-
-
-
-
-
-
-
-
-
---
@@ -1129,6 +1062,20 @@ const data = await
+ #### [RetriggerLenderOnboardRequestV2](#RetriggerLenderOnboardRequestV2)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | lenderUserId | string | yes | |
+ | stepName | string | yes | |
+ | data | any | yes | |
+ | entityMapId | string | yes | |
+
+---
+
+
+
+
#### [BusinessDetail](#BusinessDetail)
| Properties | Type | Nullable | Description |
@@ -1179,18 +1126,33 @@ const data = await
- #### [CheckEligibilityRequest](#CheckEligibilityRequest)
+ #### [AddVintageRequest](#AddVintageRequest)
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| user | any | yes | |
- | entity | [EntityDto](#EntityDto) | no | |
| businessDetails | [BusinessDetail](#BusinessDetail) | yes | |
| vintageData | [VintageData](#VintageData) | yes | |
| documents | [DocumentObjects](#DocumentObjects) | yes | |
- | isPreApproved | boolean | yes | |
| merchant | [MerchantSchema](#MerchantSchema) | yes | |
+
+---
+
+
+
+
+ #### [CheckEligibilityRequest](#CheckEligibilityRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | entity | [EntityDto](#EntityDto) | no | |
+ | isPreApproved | boolean | yes | |
| fetchLimit | boolean | no | |
+ | user | any | yes | |
+ | businessDetails | [BusinessDetail](#BusinessDetail) | yes | |
+ | vintageData | [VintageData](#VintageData) | yes | |
+ | documents | [DocumentObjects](#DocumentObjects) | yes | |
+ | merchant | [MerchantSchema](#MerchantSchema) | yes | |
---
@@ -1582,6 +1544,10 @@ const data = await
| id | string | yes | |
| name | string | yes | |
| active | boolean | yes | |
+ | baseUrl | string | no | |
+ | config | any | no | |
+ | paymentOptions | [any] | no | |
+ | credentialsSchema | any | no | |
---
@@ -1599,6 +1565,8 @@ const data = await
| lenderId | string | yes | |
| pgId | string | yes | |
| active | boolean | yes | |
+ | config | any | no | |
+ | paymentOptions | [any] | no | |
---
@@ -1667,6 +1635,23 @@ const data = await
+ #### [Commercial](#Commercial)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | id | string | no | |
+ | lenderId | string | yes | |
+ | merchantId | string | yes | |
+ | commercial | any | yes | |
+ | active | boolean | yes | |
+ | createdAt | string | no | |
+ | updatedAt | string | no | |
+
+---
+
+
+
+
#### [KycStatusResponse](#KycStatusResponse)
| Properties | Type | Nullable | Description |
@@ -1842,7 +1827,6 @@ const data = await
| updatedAt | any | yes | |
| deletedAt | any | no | |
| isDefault | boolean | no | |
- | __headers | string | no | |
---
@@ -2103,7 +2087,6 @@ const data = await
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| limit | [IngtrAvailableLimit](#IngtrAvailableLimit) | yes | |
- | __headers | string | no | |
---
@@ -2491,5 +2474,28 @@ const data = await
---
+
+
+ #### [PlatformFees](#PlatformFees)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | customerAcquisitionFee | number | yes | |
+ | transactionFee | number | yes | |
+
+---
+
+
+
+
+ #### [CommercialResponse](#CommercialResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | data | [Commercial](#Commercial) | yes | |
+
+---
+
+
diff --git a/documentation/platform/PAYMENTS.md b/documentation/platform/PAYMENTS.md
new file mode 100644
index 0000000..55c32d9
--- /dev/null
+++ b/documentation/platform/PAYMENTS.md
@@ -0,0 +1,610 @@
+
+
+
+
+##### [Back to Platform docs](./README.md)
+
+## Payments Methods
+KYC Service
+* [getUserCreditSummary](#getusercreditsummary)
+
+
+
+## Methods with example and description
+
+
+### getUserCreditSummary
+Get user outstanding details.
+
+
+
+```javascript
+// Promise
+const promise =
+ payments.getUserCreditSummary(
+ {
+ mobile : value,
+ lenderSlugs : value
+
+ }
+ );
+
+// Async/Await
+const data = await
+ payments.getUserCreditSummary(
+ {
+ mobile : value,
+ lenderSlugs : value
+
+ });
+```
+
+
+
+
+
+| Argument | Type | Required | Description |
+| --------- | ----- | -------- | ----------- |
+| mobile | string | yes | mobile number of the user |
+| lenderSlugs | Array | no | This is list of lender slugs. eg. ['cashe','liquiloans'] |
+
+
+
+This api is for getting outstanding details for the user with all the lenders.
+
+*Returned Response:*
+
+
+
+
+[OutstandingDetailsResponse](#OutstandingDetailsResponse)
+
+Success. Returns a JSON object as shown below. Refer `PaymentLinkResponse` for more details.
+
+
+
+
+
+ Examples:
+
+
+
+ OutstandingDetailsResponse
+
+```json
+{
+ "value": {
+ "message": "The request has been processed successfully.",
+ "data": {
+ "outstandingDetails": [
+ {
+ "lender": {
+ "id": "315f60f4-1238-462c-8108-cfff9fbc400f",
+ "name": "Bhanix Finance and Investment Limited",
+ "slug": "cashe",
+ "theme": {
+ "iconUrl": "https://cdn.pixelbin.io/v2/potlee/original/public/lenders/lenderLogo/v2/512h-logo/cashe-icon.png",
+ "logoUrl": "https://cdn.pixelbin.io/v2/potlee/original/public/lenders/lenderLogo/v2/512h-logo/cashe-logo.png"
+ }
+ },
+ "availableLimit": 40000,
+ "creditLimit": 40000,
+ "dueAmount": 0,
+ "outstandingAmount": 0,
+ "dueDate": null
+ }
+ ]
+ },
+ "meta": {
+ "timestamp": "2024-07-26T08:01:02.592Z",
+ "version": "v1.0",
+ "product": "Settle Checkout",
+ "requestId": "048dcf5c1d4ab39a9f39e1d07c584983"
+ }
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+---
+
+
+
+### Schemas
+
+
+
+ #### [IntegrationResponseMeta](#IntegrationResponseMeta)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | timestamp | string | yes | The timestamp when the response was generated. |
+ | version | string | yes | The version of the API. |
+ | product | string | yes | The name of the product or service. |
+ | requestId | string | no | An optional request identifier. |
+
+---
+
+
+
+
+ #### [IntegrationResponseError](#IntegrationResponseError)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | code | string | yes | Error code representing the type of error. |
+ | message | string | yes | A human-readable message providing more details about the error. |
+ | exception | string | yes | The exception name or type. |
+ | field | string | no | The field associated with the error, if applicable. |
+ | location | string | no | The location of the field, such as 'query', 'param' or 'body'. |
+
+---
+
+
+
+
+ #### [IntegrationSuccessResponse](#IntegrationSuccessResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | A message indicating the success of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | string | yes | The data payload of the response. The structure of this object will vary depending on the specific API endpoint. |
+
+---
+
+
+
+
+ #### [IntegrationErrorResponse](#IntegrationErrorResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | A message indicating the failure of the operation. |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | errors | [[IntegrationResponseError](#IntegrationResponseError)] | no | |
+
+---
+
+
+
+
+ #### [ErrorResponse](#ErrorResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | no | |
+ | info | string | no | |
+ | code | string | no | |
+ | requestId | string | no | |
+ | meta | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentUsingNetbanking](#RepaymentUsingNetbanking)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | amount | number | yes | |
+ | bankId | string | yes | |
+ | bankName | string | yes | |
+ | chargeToken | string | no | |
+ | transactionId | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentUsingNetbankingResponse](#RepaymentUsingNetbankingResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | form | string | no | |
+ | isDifferent | boolean | no | |
+ | outstanding | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentUsingUPI](#RepaymentUsingUPI)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | amount | number | yes | |
+ | vpa | string | yes | |
+ | chargeToken | string | no | |
+ | transactionId | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentUsingUPIResponse](#RepaymentUsingUPIResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | isDifferent | boolean | no | |
+ | outstanding | string | no | |
+ | status | string | no | |
+ | intentId | string | no | |
+ | transactionId | string | no | |
+ | expiry | number | no | |
+ | interval | number | no | |
+
+---
+
+
+
+
+ #### [RegisterUPIMandateRequest](#RegisterUPIMandateRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | vpa | string | no | |
+
+---
+
+
+
+
+ #### [RegisterUPIMandateResponse](#RegisterUPIMandateResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | transactionId | string | no | |
+ | expiry | number | no | |
+ | interval | number | no | |
+
+---
+
+
+
+
+ #### [RegisterUPIMandateStatusCheckRequest](#RegisterUPIMandateStatusCheckRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | transactionId | string | no | |
+
+---
+
+
+
+
+ #### [RegisterMandateStatusCheckResponse](#RegisterMandateStatusCheckResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | status | string | no | |
+
+---
+
+
+
+
+ #### [TransactionStatusRequest](#TransactionStatusRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | intentId | string | yes | |
+ | transactionId | string | yes | |
+
+---
+
+
+
+
+ #### [TransactionStatusResponse](#TransactionStatusResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | success | boolean | yes | |
+ | methodType | string | no | |
+ | methodSubType | string | no | |
+ | status | string | no | |
+
+---
+
+
+
+
+ #### [BankList](#BankList)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | bankId | string | no | |
+ | bankName | string | no | |
+ | rank | number | no | |
+ | popular | boolean | no | |
+ | imageUrl | string | no | |
+
+---
+
+
+
+
+ #### [PaymentOptions](#PaymentOptions)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | title | string | no | |
+ | shortTitle | string | no | |
+ | uid | string | no | |
+ | imageUrl | string | no | |
+
+---
+
+
+
+
+ #### [PaymentsObject](#PaymentsObject)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | title | string | no | |
+ | kind | string | no | |
+ | options | [[PaymentOptions](#PaymentOptions)] | no | |
+
+---
+
+
+
+
+ #### [LenderTheme](#LenderTheme)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | iconUrl | string | yes | |
+ | logoUrl | string | yes | |
+
+---
+
+
+
+
+ #### [LenderDetails](#LenderDetails)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | slug | string | yes | |
+ | name | string | yes | |
+ | id | string | yes | |
+ | theme | [LenderTheme](#LenderTheme) | yes | |
+
+---
+
+
+
+
+ #### [OutstandingDetail](#OutstandingDetail)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | status | string | no | |
+ | action | boolean | no | |
+ | message | [OutstandingMessage](#OutstandingMessage) | no | |
+ | credit | [UserCredit](#UserCredit) | no | |
+ | dueSummary | [DueSummaryOutstanding](#DueSummaryOutstanding) | no | |
+ | outstandingSummary | [OutstandingSummary](#OutstandingSummary) | no | |
+ | entityMapId | string | no | |
+
+---
+
+
+
+
+ #### [OutstandingSummary](#OutstandingSummary)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | totalOutstanding | number | no | |
+ | totalOutstandingWithInterest | number | no | |
+ | totalOutstandingPenalty | number | no | |
+ | availableLimit | number | no | |
+ | isOverdue | boolean | no | |
+ | dueFromDate | string | no | |
+ | repaymentSummary | [[RepaymentSummaryOutstanding](#RepaymentSummaryOutstanding)] | no | |
+
+---
+
+
+
+
+ #### [DueSummaryOutstanding](#DueSummaryOutstanding)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | dueDate | string | no | |
+ | totalDue | number | no | |
+ | totalDueWithInterest | number | no | |
+ | totalDuePenalty | number | no | |
+ | dueTransactions | [[DueTransactionsOutstanding](#DueTransactionsOutstanding)] | no | |
+ | minAmntDue | number | no | |
+
+---
+
+
+
+
+ #### [OutstandingMessage](#OutstandingMessage)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | dueMessage | string | no | |
+ | backgroundColor | string | no | |
+ | textColor | string | no | |
+ | isFlexiRepayEnabled | boolean | no | |
+
+---
+
+
+
+
+ #### [UserCredit](#UserCredit)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | availableLimit | number | no | |
+ | approvedLimit | number | no | |
+ | isEligibleToDrawdown | boolean | no | |
+
+---
+
+
+
+
+ #### [DueTransactionsOutstanding](#DueTransactionsOutstanding)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | loanRequestNo | string | no | |
+ | merchantCategory | string | no | |
+ | installmentAmountWithInterest | number | no | |
+ | installmentAmount | number | no | |
+ | dueAmount | number | no | |
+ | loanType | string | no | |
+ | installmentNo | string | no | |
+ | installmentDueDate | string | no | |
+ | isPastDue | boolean | no | |
+ | isPenaltyCharged | boolean | no | |
+ | penaltyAmount | number | no | |
+ | noOfDaysPenaltyCharged | number | no | |
+ | daysDifference | number | no | |
+ | lenderTransactionId | string | no | |
+
+---
+
+
+
+
+ #### [RepaymentSummaryOutstanding](#RepaymentSummaryOutstanding)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | loanRequestNo | string | no | |
+ | loanType | string | no | |
+ | merchantCategory | string | no | |
+ | isBbillingTransaction | boolean | no | |
+ | totalInstallmentAmount | number | no | |
+ | totalInstallmentAmountWithInterest | number | no | |
+ | outstandingDetails | [[OutstandingDetailsRepayment](#OutstandingDetailsRepayment)] | no | |
+
+---
+
+
+
+
+ #### [OutstandingDetailsRepayment](#OutstandingDetailsRepayment)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | installmentAmountWithInterest | number | no | |
+ | installmentAmount | number | no | |
+ | dueAmount | number | no | |
+ | installmentNo | string | no | |
+ | installmentDueDate | string | no | |
+ | isPastDue | boolean | no | |
+ | loanType | string | no | |
+ | isPenaltyCharged | boolean | no | |
+ | penaltyAmount | number | no | |
+ | noOfDaysPenaltyCharged | number | no | |
+ | lenderTransactionId | string | no | |
+
+---
+
+
+
+
+ #### [PaymentOptionsResponse](#PaymentOptionsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | paymentOptions | [[PaymentsObject](#PaymentsObject)] | no | |
+
+---
+
+
+
+
+ #### [CheckEMandateStatusRequest](#CheckEMandateStatusRequest)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | orderId | string | no | |
+ | paymentId | string | no | |
+ | scheduledEnd | string | no | |
+ | ruleAmountValue | string | no | |
+
+---
+
+
+
+
+ #### [AutoPayStatusResponse](#AutoPayStatusResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | status | string | no | |
+
+---
+
+
+
+
+ #### [OutstandingData](#OutstandingData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | lenderDetails | [LenderDetails](#LenderDetails) | no | |
+ | availableLimit | number | yes | |
+ | creditLimit | number | yes | |
+ | dueAmount | number | no | |
+ | outstandingAmount | number | no | |
+ | dueDate | string | no | |
+
+---
+
+
+
+
+ #### [OutstandingDetailsData](#OutstandingDetailsData)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | outstandingDetails | [[OutstandingData](#OutstandingData)] | yes | |
+
+---
+
+
+
+
+ #### [OutstandingDetailsResponse](#OutstandingDetailsResponse)
+
+ | Properties | Type | Nullable | Description |
+ | ---------- | ---- | -------- | ----------- |
+ | message | string | yes | |
+ | meta | [IntegrationResponseMeta](#IntegrationResponseMeta) | yes | |
+ | data | [OutstandingDetailsData](#OutstandingDetailsData) | yes | |
+
+---
+
+
+
+
diff --git a/documentation/platform/README.md b/documentation/platform/README.md
index 53833c8..2a024ff 100644
--- a/documentation/platform/README.md
+++ b/documentation/platform/README.md
@@ -6,4 +6,5 @@
* [Customer](CUSTOMER.md) - Authentication Service
* [Credit](CREDIT.md) - Transaction Service
* [MultiKyc](MULTIKYC.md) - Will deprecate Hawkeye
-* [Merchant](MERCHANT.md) - Authentication Service
\ No newline at end of file
+* [Merchant](MERCHANT.md) - Authentication Service
+* [Payments](PAYMENTS.md) - KYC Service
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 33a9ade..91f5413 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "potlee",
+ "name": "settle",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "potlee",
+ "name": "settle",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
@@ -29,6 +29,7 @@
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
"integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.5",
"@jridgewell/trace-mapping": "^0.3.24"
@@ -38,12 +39,13 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.24.2",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz",
- "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==",
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz",
+ "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/highlight": "^7.24.2",
+ "@babel/highlight": "^7.24.7",
"picocolors": "^1.0.0"
},
"engines": {
@@ -51,30 +53,32 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.24.4",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz",
- "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==",
+ "version": "7.25.4",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz",
+ "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/core": {
- "version": "7.24.4",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz",
- "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==",
+ "version": "7.25.2",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz",
+ "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@ampproject/remapping": "^2.2.0",
- "@babel/code-frame": "^7.24.2",
- "@babel/generator": "^7.24.4",
- "@babel/helper-compilation-targets": "^7.23.6",
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helpers": "^7.24.4",
- "@babel/parser": "^7.24.4",
- "@babel/template": "^7.24.0",
- "@babel/traverse": "^7.24.1",
- "@babel/types": "^7.24.0",
+ "@babel/code-frame": "^7.24.7",
+ "@babel/generator": "^7.25.0",
+ "@babel/helper-compilation-targets": "^7.25.2",
+ "@babel/helper-module-transforms": "^7.25.2",
+ "@babel/helpers": "^7.25.0",
+ "@babel/parser": "^7.25.0",
+ "@babel/template": "^7.25.0",
+ "@babel/traverse": "^7.25.2",
+ "@babel/types": "^7.25.2",
"convert-source-map": "^2.0.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -93,15 +97,17 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@babel/generator": {
- "version": "7.24.4",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz",
- "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==",
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz",
+ "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.24.0",
+ "@babel/types": "^7.25.6",
"@jridgewell/gen-mapping": "^0.3.5",
"@jridgewell/trace-mapping": "^0.3.25",
"jsesc": "^2.5.1"
@@ -111,14 +117,15 @@
}
},
"node_modules/@babel/helper-compilation-targets": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz",
- "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==",
+ "version": "7.25.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz",
+ "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.23.5",
- "@babel/helper-validator-option": "^7.23.5",
- "browserslist": "^4.22.2",
+ "@babel/compat-data": "^7.25.2",
+ "@babel/helper-validator-option": "^7.24.8",
+ "browserslist": "^4.23.1",
"lru-cache": "^5.1.1",
"semver": "^6.3.1"
},
@@ -126,63 +133,31 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-environment-visitor": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
- "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
- "dev": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-function-name": {
- "version": "7.23.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
- "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
- "dev": true,
- "dependencies": {
- "@babel/template": "^7.22.15",
- "@babel/types": "^7.23.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-hoist-variables": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
- "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@babel/helper-module-imports": {
- "version": "7.24.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz",
- "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==",
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz",
+ "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.24.0"
+ "@babel/traverse": "^7.24.7",
+ "@babel/types": "^7.24.7"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
- "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
+ "version": "7.25.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz",
+ "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-module-imports": "^7.22.15",
- "@babel/helper-simple-access": "^7.22.5",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "@babel/helper-validator-identifier": "^7.22.20"
+ "@babel/helper-module-imports": "^7.24.7",
+ "@babel/helper-simple-access": "^7.24.7",
+ "@babel/helper-validator-identifier": "^7.24.7",
+ "@babel/traverse": "^7.25.2"
},
"engines": {
"node": ">=6.9.0"
@@ -192,86 +167,81 @@
}
},
"node_modules/@babel/helper-plugin-utils": {
- "version": "7.24.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz",
- "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==",
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz",
+ "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-simple-access": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
- "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-split-export-declaration": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
- "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz",
+ "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.22.5"
+ "@babel/traverse": "^7.24.7",
+ "@babel/types": "^7.24.7"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.24.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz",
- "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==",
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz",
+ "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
- "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz",
+ "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-option": {
- "version": "7.23.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
- "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz",
+ "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helpers": {
- "version": "7.24.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz",
- "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==",
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz",
+ "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/template": "^7.24.0",
- "@babel/traverse": "^7.24.1",
- "@babel/types": "^7.24.0"
+ "@babel/template": "^7.25.0",
+ "@babel/types": "^7.25.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/highlight": {
- "version": "7.24.2",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz",
- "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==",
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz",
+ "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.22.20",
+ "@babel/helper-validator-identifier": "^7.24.7",
"chalk": "^2.4.2",
"js-tokens": "^4.0.0",
"picocolors": "^1.0.0"
@@ -285,6 +255,7 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"color-convert": "^1.9.0"
},
@@ -297,6 +268,7 @@
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -311,6 +283,7 @@
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"color-name": "1.1.3"
}
@@ -319,13 +292,15 @@
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@babel/highlight/node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.8.0"
}
@@ -335,6 +310,7 @@
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -344,6 +320,7 @@
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-flag": "^3.0.0"
},
@@ -352,10 +329,14 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.24.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz",
- "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==",
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz",
+ "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==",
"dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.25.6"
+ },
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -368,6 +349,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
"integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -380,6 +362,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
"integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -392,6 +375,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
"integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
},
@@ -399,11 +383,44 @@
"@babel/core": "^7.0.0-0"
}
},
+ "node_modules/@babel/plugin-syntax-class-static-block": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
+ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz",
+ "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.8"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
"node_modules/@babel/plugin-syntax-import-meta": {
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
"integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
},
@@ -416,6 +433,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
"integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -428,6 +446,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
"integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
},
@@ -440,6 +459,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
"integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -452,6 +472,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
"integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
},
@@ -464,6 +485,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
"integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -476,6 +498,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
"integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -488,6 +511,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
"integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
},
@@ -495,11 +519,28 @@
"@babel/core": "^7.0.0-0"
}
},
+ "node_modules/@babel/plugin-syntax-private-property-in-object": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
+ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
"node_modules/@babel/plugin-syntax-top-level-await": {
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
"integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
},
@@ -514,6 +555,7 @@
"version": "7.22.15",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.15.tgz",
"integrity": "sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==",
+ "license": "MIT",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
@@ -522,33 +564,32 @@
}
},
"node_modules/@babel/template": {
- "version": "7.24.0",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz",
- "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==",
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz",
+ "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.23.5",
- "@babel/parser": "^7.24.0",
- "@babel/types": "^7.24.0"
+ "@babel/code-frame": "^7.24.7",
+ "@babel/parser": "^7.25.0",
+ "@babel/types": "^7.25.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.24.1",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz",
- "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==",
- "dev": true,
- "dependencies": {
- "@babel/code-frame": "^7.24.1",
- "@babel/generator": "^7.24.1",
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-function-name": "^7.23.0",
- "@babel/helper-hoist-variables": "^7.22.5",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "@babel/parser": "^7.24.1",
- "@babel/types": "^7.24.0",
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz",
+ "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.24.7",
+ "@babel/generator": "^7.25.6",
+ "@babel/parser": "^7.25.6",
+ "@babel/template": "^7.25.0",
+ "@babel/types": "^7.25.6",
"debug": "^4.3.1",
"globals": "^11.1.0"
},
@@ -557,13 +598,14 @@
}
},
"node_modules/@babel/types": {
- "version": "7.24.0",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz",
- "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==",
+ "version": "7.25.6",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz",
+ "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-string-parser": "^7.23.4",
- "@babel/helper-validator-identifier": "^7.22.20",
+ "@babel/helper-string-parser": "^7.24.8",
+ "@babel/helper-validator-identifier": "^7.24.7",
"to-fast-properties": "^2.0.0"
},
"engines": {
@@ -574,13 +616,15 @@
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@cnakazawa/watch": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz",
"integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"exec-sh": "^0.3.2",
"minimist": "^1.2.0"
@@ -595,12 +639,14 @@
"node_modules/@hapi/hoek": {
"version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
- "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ=="
+ "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==",
+ "license": "BSD-3-Clause"
},
"node_modules/@hapi/topo": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz",
"integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==",
+ "license": "BSD-3-Clause",
"dependencies": {
"@hapi/hoek": "^9.0.0"
}
@@ -610,6 +656,7 @@
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
"integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"camelcase": "^5.3.1",
"find-up": "^4.1.0",
@@ -626,6 +673,7 @@
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -635,6 +683,7 @@
"resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
"integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -644,6 +693,7 @@
"resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz",
"integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"@types/node": "*",
@@ -661,6 +711,7 @@
"resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz",
"integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
"@jest/reporters": "^26.6.2",
@@ -700,6 +751,7 @@
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz",
"integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/fake-timers": "^26.6.2",
"@jest/types": "^26.6.2",
@@ -715,6 +767,7 @@
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz",
"integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"@sinonjs/fake-timers": "^6.0.1",
@@ -732,6 +785,7 @@
"resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz",
"integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
"@jest/types": "^26.6.2",
@@ -746,6 +800,7 @@
"resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz",
"integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@bcoe/v8-coverage": "^0.2.3",
"@jest/console": "^26.6.2",
@@ -784,6 +839,7 @@
"resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz",
"integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"callsites": "^3.0.0",
"graceful-fs": "^4.2.4",
@@ -798,6 +854,7 @@
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz",
"integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
"@jest/types": "^26.6.2",
@@ -813,6 +870,7 @@
"resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz",
"integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
"graceful-fs": "^4.2.4",
@@ -829,6 +887,7 @@
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz",
"integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
"@jest/types": "^26.6.2",
@@ -855,6 +914,7 @@
"resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz",
"integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/istanbul-lib-coverage": "^2.0.0",
"@types/istanbul-reports": "^3.0.0",
@@ -871,6 +931,7 @@
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
"integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jridgewell/set-array": "^1.2.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
@@ -885,6 +946,7 @@
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.0.0"
}
@@ -894,30 +956,34 @@
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
"integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.15",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
- "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
- "dev": true
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
"version": "0.3.25",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/@pixelbin/core": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/@pixelbin/core/-/core-6.0.0.tgz",
- "integrity": "sha512-SMHcDY5IK1a9/gx3HBKqYy7y6lcYoQzt/07U6BoqyuoI8FBD4aRD2IuFMjuk4KdhjZS9l/DfzVOC5yryO3BQ/w==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/@pixelbin/core/-/core-6.1.0.tgz",
+ "integrity": "sha512-Tek8QT5Yu+dTJWB8LtSzp5CWvA7YIQMJ4wVp00S8UkJ3stvnsd9FdI8vU3MuDmOZY8ViBUusnzdlCKzAjzKzvQ==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "7.22.15",
"fetch-ponyfill": "7.1.0",
@@ -928,6 +994,7 @@
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz",
"integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==",
+ "license": "BSD-3-Clause",
"dependencies": {
"@hapi/hoek": "^9.0.0"
}
@@ -935,18 +1002,21 @@
"node_modules/@sideway/formula": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz",
- "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg=="
+ "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==",
+ "license": "BSD-3-Clause"
},
"node_modules/@sideway/pinpoint": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",
- "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="
+ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==",
+ "license": "BSD-3-Clause"
},
"node_modules/@sinonjs/commons": {
"version": "1.8.6",
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz",
"integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"type-detect": "4.0.8"
}
@@ -956,6 +1026,7 @@
"resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz",
"integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"@sinonjs/commons": "^1.7.0"
}
@@ -965,6 +1036,7 @@
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 6"
}
@@ -974,6 +1046,7 @@
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
"integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/parser": "^7.20.7",
"@babel/types": "^7.20.7",
@@ -987,6 +1060,7 @@
"resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
"integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0"
}
@@ -996,16 +1070,18 @@
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
"integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/parser": "^7.1.0",
"@babel/types": "^7.0.0"
}
},
"node_modules/@types/babel__traverse": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz",
- "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==",
+ "version": "7.20.6",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz",
+ "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/types": "^7.20.7"
}
@@ -1015,6 +1091,7 @@
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
"integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/node": "*"
}
@@ -1023,13 +1100,15 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
"integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@types/istanbul-lib-report": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
"integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/istanbul-lib-coverage": "*"
}
@@ -1039,42 +1118,48 @@
"resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
"integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/istanbul-lib-report": "*"
}
},
"node_modules/@types/node": {
- "version": "20.12.7",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
- "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
+ "version": "22.5.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz",
+ "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.19.2"
}
},
"node_modules/@types/normalize-package-data": {
"version": "2.4.4",
"resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz",
"integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@types/prettier": {
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz",
"integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@types/stack-utils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
"integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/@types/yargs": {
"version": "15.0.19",
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.19.tgz",
"integrity": "sha512-2XUaGVmyQjgyAZldf0D0c14vvo/yv0MhQBSTJcejMMaitsn3nxCB6TmH4G0ZQf+uxROOa9mpanoSm8h6SG/1ZA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/yargs-parser": "*"
}
@@ -1083,20 +1168,23 @@
"version": "21.0.3",
"resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
"integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/abab": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
"integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
"deprecated": "Use your platform's native atob() and btoa() methods instead",
- "dev": true
+ "dev": true,
+ "license": "BSD-3-Clause"
},
"node_modules/acorn": {
- "version": "8.11.3",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
- "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
+ "version": "8.12.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz",
+ "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==",
"dev": true,
+ "license": "MIT",
"bin": {
"acorn": "bin/acorn"
},
@@ -1109,6 +1197,7 @@
"resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz",
"integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"acorn": "^7.1.1",
"acorn-walk": "^7.1.1"
@@ -1119,6 +1208,7 @@
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true,
+ "license": "MIT",
"bin": {
"acorn": "bin/acorn"
},
@@ -1131,6 +1221,7 @@
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.4.0"
}
@@ -1140,6 +1231,7 @@
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"debug": "4"
},
@@ -1152,6 +1244,7 @@
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -1168,6 +1261,7 @@
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"type-fest": "^0.21.3"
},
@@ -1183,6 +1277,7 @@
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -1192,6 +1287,7 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
@@ -1207,6 +1303,7 @@
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
@@ -1220,6 +1317,7 @@
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"sprintf-js": "~1.0.2"
}
@@ -1229,6 +1327,7 @@
"resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
"integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1238,6 +1337,7 @@
"resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
"integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1247,6 +1347,7 @@
"resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
"integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1256,6 +1357,7 @@
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1265,6 +1367,7 @@
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
"integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"safer-buffer": "~2.1.0"
}
@@ -1274,6 +1377,7 @@
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.8"
}
@@ -1283,6 +1387,7 @@
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
"integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1290,13 +1395,15 @@
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "license": "MIT"
},
"node_modules/atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
"dev": true,
+ "license": "(MIT OR Apache-2.0)",
"bin": {
"atob": "bin/atob.js"
},
@@ -1309,20 +1416,23 @@
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
"integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==",
"dev": true,
+ "license": "Apache-2.0",
"engines": {
"node": "*"
}
},
"node_modules/aws4": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz",
- "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==",
- "dev": true
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz",
+ "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/axios": {
- "version": "1.6.8",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz",
- "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==",
+ "version": "1.7.7",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz",
+ "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==",
+ "license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
@@ -1334,6 +1444,7 @@
"resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz",
"integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"is-buffer": "^2.0.5"
@@ -1346,6 +1457,7 @@
"version": "3.9.1",
"resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.9.1.tgz",
"integrity": "sha512-8PJDLJv7qTTMMwdnbMvrLYuvB47M81wRtxQmEdV5w4rgbTXTt+vtPkXwajOfOdSyv/wZICJOC+/UhXH4aQ/R+w==",
+ "license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.15.4",
"is-retry-allowed": "^2.2.0"
@@ -1356,6 +1468,7 @@
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz",
"integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/transform": "^26.6.2",
"@jest/types": "^26.6.2",
@@ -1378,6 +1491,7 @@
"resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
"integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
"@istanbuljs/load-nyc-config": "^1.0.0",
@@ -1394,6 +1508,7 @@
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
"integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/parser": "^7.14.7",
@@ -1410,6 +1525,7 @@
"resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz",
"integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/template": "^7.3.3",
"@babel/types": "^7.3.3",
@@ -1421,23 +1537,27 @@
}
},
"node_modules/babel-preset-current-node-syntax": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz",
- "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz",
+ "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-bigint": "^7.8.3",
- "@babel/plugin-syntax-class-properties": "^7.8.3",
- "@babel/plugin-syntax-import-meta": "^7.8.3",
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
+ "@babel/plugin-syntax-class-static-block": "^7.14.5",
+ "@babel/plugin-syntax-import-attributes": "^7.24.7",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.8.3",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-top-level-await": "^7.8.3"
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
+ "@babel/plugin-syntax-top-level-await": "^7.14.5"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
@@ -1448,6 +1568,7 @@
"resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz",
"integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"babel-plugin-jest-hoist": "^26.6.2",
"babel-preset-current-node-syntax": "^1.0.0"
@@ -1463,13 +1584,15 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/base": {
"version": "0.11.2",
"resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
"integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cache-base": "^1.0.1",
"class-utils": "^0.3.5",
@@ -1488,6 +1611,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
},
@@ -1500,6 +1624,7 @@
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"tweetnacl": "^0.14.3"
}
@@ -1509,18 +1634,20 @@
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "fill-range": "^7.0.1"
+ "fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
@@ -1530,12 +1657,13 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz",
"integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==",
- "dev": true
+ "dev": true,
+ "license": "BSD-2-Clause"
},
"node_modules/browserslist": {
- "version": "4.23.0",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz",
- "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==",
+ "version": "4.23.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz",
+ "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==",
"dev": true,
"funding": [
{
@@ -1551,11 +1679,12 @@
"url": "https://github.com/sponsors/ai"
}
],
+ "license": "MIT",
"dependencies": {
- "caniuse-lite": "^1.0.30001587",
- "electron-to-chromium": "^1.4.668",
- "node-releases": "^2.0.14",
- "update-browserslist-db": "^1.0.13"
+ "caniuse-lite": "^1.0.30001646",
+ "electron-to-chromium": "^1.5.4",
+ "node-releases": "^2.0.18",
+ "update-browserslist-db": "^1.1.0"
},
"bin": {
"browserslist": "cli.js"
@@ -1569,6 +1698,7 @@
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
"integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"node-int64": "^0.4.0"
}
@@ -1577,13 +1707,15 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/cache-base": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
"integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"collection-visit": "^1.0.0",
"component-emitter": "^1.2.1",
@@ -1604,6 +1736,7 @@
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -1612,6 +1745,7 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
"integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
+ "license": "MIT",
"engines": {
"node": ">=10"
},
@@ -1620,9 +1754,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001610",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001610.tgz",
- "integrity": "sha512-QFutAY4NgaelojVMjY63o6XlZyORPaLfyMnsl3HgnWdJUcX6K0oaJymHjH8PT5Gk7sTm8rvC/c5COUQKXqmOMA==",
+ "version": "1.0.30001660",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz",
+ "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==",
"dev": true,
"funding": [
{
@@ -1637,13 +1771,15 @@
"type": "github",
"url": "https://github.com/sponsors/ai"
}
- ]
+ ],
+ "license": "CC-BY-4.0"
},
"node_modules/capture-exit": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz",
"integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"rsvp": "^4.8.4"
},
@@ -1655,13 +1791,15 @@
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
"integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==",
- "dev": true
+ "dev": true,
+ "license": "Apache-2.0"
},
"node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -1678,6 +1816,7 @@
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
"integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=10"
}
@@ -1686,19 +1825,22 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
"integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/cjs-module-lexer": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz",
"integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
"integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
"define-property": "^0.2.5",
@@ -1714,6 +1856,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
},
@@ -1726,6 +1869,7 @@
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -1739,6 +1883,7 @@
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.0",
@@ -1750,6 +1895,7 @@
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
"integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"iojs": ">= 1.0.0",
"node": ">= 0.12.0"
@@ -1759,13 +1905,15 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz",
"integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/collection-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
"integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"map-visit": "^1.0.0",
"object-visit": "^1.0.0"
@@ -1779,6 +1927,7 @@
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
@@ -1790,12 +1939,14 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "license": "MIT",
"dependencies": {
"delayed-stream": "~1.0.0"
},
@@ -1808,6 +1959,7 @@
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
"integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==",
"dev": true,
+ "license": "MIT",
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
@@ -1816,19 +1968,22 @@
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/convert-source-map": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/copy-descriptor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
"integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1837,13 +1992,15 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/coveralls": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.1.1.tgz",
"integrity": "sha512-+dxnG2NHncSD1NrqbSM3dn/lE57O6Qf/koe9+I7c+wzkqRmEvcp0kgJdxKInzYzkICKkFMZsX3Vct3++tsF9ww==",
"dev": true,
+ "license": "BSD-2-Clause",
"dependencies": {
"js-yaml": "^3.13.1",
"lcov-parse": "^1.0.0",
@@ -1863,6 +2020,7 @@
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -1875,19 +2033,22 @@
"node_modules/crypto-js": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
- "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
+ "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==",
+ "license": "MIT"
},
"node_modules/cssom": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",
"integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/cssstyle": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
"integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cssom": "~0.3.6"
},
@@ -1899,13 +2060,15 @@
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"assert-plus": "^1.0.0"
},
@@ -1918,6 +2081,7 @@
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
"integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"abab": "^2.0.3",
"whatwg-mimetype": "^2.3.0",
@@ -1928,12 +2092,13 @@
}
},
"node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "ms": "2.1.2"
+ "ms": "^2.1.3"
},
"engines": {
"node": ">=6.0"
@@ -1949,6 +2114,7 @@
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1957,12 +2123,14 @@
"version": "10.4.3",
"resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz",
"integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/decode-uri-component": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
"integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
+ "license": "MIT",
"engines": {
"node": ">=0.10"
}
@@ -1972,6 +2140,7 @@
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -1981,6 +2150,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
"integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.2",
"isobject": "^3.0.1"
@@ -1993,6 +2163,7 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "license": "MIT",
"engines": {
"node": ">=0.4.0"
}
@@ -2002,6 +2173,7 @@
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
"integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -2011,6 +2183,7 @@
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz",
"integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 10.14.2"
}
@@ -2021,6 +2194,7 @@
"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
"deprecated": "Use your platform's native DOMException instead",
"dev": true,
+ "license": "MIT",
"dependencies": {
"webidl-conversions": "^5.0.0"
},
@@ -2033,6 +2207,7 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
"integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
"dev": true,
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=8"
}
@@ -2042,6 +2217,7 @@
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
"integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==",
"dev": true,
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=10"
}
@@ -2051,22 +2227,25 @@
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.737",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.737.tgz",
- "integrity": "sha512-QvLTxaLHKdy5YxvixAw/FfHq2eWLUL9KvsPjp0aHK1gI5d3EDuDgITkvj0nFO2c6zUY3ZqVAJQiBYyQP9tQpfw==",
- "dev": true
+ "version": "1.5.19",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.19.tgz",
+ "integrity": "sha512-kpLJJi3zxTR1U828P+LIUDZ5ohixyo68/IcYOHLqnbTPr/wdgn4i1ECvmALN9E16JPA6cvCG5UG79gVwVdEK5w==",
+ "dev": true,
+ "license": "ISC"
},
"node_modules/emittery": {
"version": "0.7.2",
"resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz",
"integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=10"
},
@@ -2078,13 +2257,15 @@
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"once": "^1.4.0"
}
@@ -2094,15 +2275,17 @@
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-arrayish": "^0.2.1"
}
},
"node_modules/escalade": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
- "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -2112,6 +2295,7 @@
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -2121,6 +2305,7 @@
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
"integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
"dev": true,
+ "license": "BSD-2-Clause",
"dependencies": {
"esprima": "^4.0.1",
"estraverse": "^5.2.0",
@@ -2142,6 +2327,7 @@
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
"dev": true,
+ "license": "BSD-2-Clause",
"bin": {
"esparse": "bin/esparse.js",
"esvalidate": "bin/esvalidate.js"
@@ -2155,6 +2341,7 @@
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
"dev": true,
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=4.0"
}
@@ -2164,6 +2351,7 @@
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
"dev": true,
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=0.10.0"
}
@@ -2172,13 +2360,15 @@
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz",
"integrity": "sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/execa": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
"integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.0",
"get-stream": "^5.0.0",
@@ -2211,6 +2401,7 @@
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
"integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"debug": "^2.3.3",
"define-property": "^0.2.5",
@@ -2229,6 +2420,7 @@
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ms": "2.0.0"
}
@@ -2238,6 +2430,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
},
@@ -2250,6 +2443,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -2262,6 +2456,7 @@
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -2275,6 +2470,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -2283,13 +2479,15 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/expect": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz",
"integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"ansi-styles": "^4.0.0",
@@ -2306,13 +2504,15 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/extend-shallow": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
"integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"assign-symbols": "^1.0.0",
"is-extendable": "^1.0.1"
@@ -2326,6 +2526,7 @@
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
"integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"array-unique": "^0.3.2",
"define-property": "^1.0.0",
@@ -2345,6 +2546,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
},
@@ -2357,6 +2559,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -2369,6 +2572,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -2380,25 +2584,29 @@
"dev": true,
"engines": [
"node >=0.6.0"
- ]
+ ],
+ "license": "MIT"
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/fb-watchman": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
"integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"bser": "2.1.1"
}
@@ -2407,15 +2615,17 @@
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-7.1.0.tgz",
"integrity": "sha512-FhbbL55dj/qdVO3YNK7ZEkshvj3eQ7EuIGV2I6ic/2YiocvyWv+7jg2s4AyS0wdRU75s3tA8ZxI/xPigb0v5Aw==",
+ "license": "MIT",
"dependencies": {
"node-fetch": "~2.6.1"
}
},
"node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -2427,6 +2637,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
"integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -2436,6 +2647,7 @@
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
"path-exists": "^4.0.0"
@@ -2445,15 +2657,16 @@
}
},
"node_modules/follow-redirects": {
- "version": "1.15.6",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
- "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
+ "version": "1.15.9",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
+ "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
+ "license": "MIT",
"engines": {
"node": ">=4.0"
},
@@ -2468,6 +2681,7 @@
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -2477,6 +2691,7 @@
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
"integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==",
"dev": true,
+ "license": "Apache-2.0",
"engines": {
"node": "*"
}
@@ -2485,6 +2700,7 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
@@ -2499,6 +2715,7 @@
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
"integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"map-cache": "^0.2.2"
},
@@ -2510,7 +2727,8 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/fsevents": {
"version": "2.3.3",
@@ -2518,6 +2736,7 @@
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
"hasInstallScript": true,
+ "license": "MIT",
"optional": true,
"os": [
"darwin"
@@ -2531,6 +2750,7 @@
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
"dev": true,
+ "license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@@ -2540,6 +2760,7 @@
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
"integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
@@ -2549,6 +2770,7 @@
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true,
+ "license": "ISC",
"engines": {
"node": "6.* || 8.* || >= 10.*"
}
@@ -2558,6 +2780,7 @@
"resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
"integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8.0.0"
}
@@ -2567,6 +2790,7 @@
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"pump": "^3.0.0"
},
@@ -2582,6 +2806,7 @@
"resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
"integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -2591,6 +2816,7 @@
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"assert-plus": "^1.0.0"
}
@@ -2599,7 +2825,9 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
"dev": true,
+ "license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -2620,6 +2848,7 @@
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -2628,13 +2857,15 @@
"version": "4.2.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/growly": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",
"integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==",
"dev": true,
+ "license": "MIT",
"optional": true
},
"node_modules/har-schema": {
@@ -2642,6 +2873,7 @@
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
"integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==",
"dev": true,
+ "license": "ISC",
"engines": {
"node": ">=4"
}
@@ -2652,6 +2884,7 @@
"integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
"deprecated": "this library is no longer supported",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ajv": "^6.12.3",
"har-schema": "^2.0.0"
@@ -2665,6 +2898,7 @@
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -2674,6 +2908,7 @@
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
"integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"get-value": "^2.0.6",
"has-values": "^1.0.0",
@@ -2688,6 +2923,7 @@
"resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
"integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
"kind-of": "^4.0.0"
@@ -2700,13 +2936,15 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/has-values/node_modules/is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
},
@@ -2719,6 +2957,7 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -2731,6 +2970,7 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
"integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -2743,6 +2983,7 @@
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"function-bind": "^1.1.2"
},
@@ -2754,13 +2995,15 @@
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/html-encoding-sniffer": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
"integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"whatwg-encoding": "^1.0.5"
},
@@ -2772,13 +3015,15 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/http-proxy-agent": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
"integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@tootallnate/once": "1",
"agent-base": "6",
@@ -2793,6 +3038,7 @@
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
"integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"assert-plus": "^1.0.0",
"jsprim": "^1.2.2",
@@ -2808,6 +3054,7 @@
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"agent-base": "6",
"debug": "4"
@@ -2821,6 +3068,7 @@
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
"integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
"dev": true,
+ "license": "Apache-2.0",
"engines": {
"node": ">=8.12.0"
}
@@ -2830,6 +3078,7 @@
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
},
@@ -2838,10 +3087,11 @@
}
},
"node_modules/import-local": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz",
- "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
+ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"pkg-dir": "^4.2.0",
"resolve-cwd": "^3.0.0"
@@ -2861,6 +3111,7 @@
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.8.19"
}
@@ -2869,7 +3120,9 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
"dev": true,
+ "license": "ISC",
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -2879,13 +3132,15 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/is-accessor-descriptor": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz",
"integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
},
@@ -2897,7 +3152,8 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/is-buffer": {
"version": "2.0.5",
@@ -2918,6 +3174,7 @@
"url": "https://feross.org/support"
}
],
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -2927,6 +3184,7 @@
"resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
"integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ci-info": "^2.0.0"
},
@@ -2935,12 +3193,16 @@
}
},
"node_modules/is-core-module": {
- "version": "2.13.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
- "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "version": "2.15.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz",
+ "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "hasown": "^2.0.0"
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -2951,6 +3213,7 @@
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz",
"integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
},
@@ -2963,6 +3226,7 @@
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz",
"integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -2976,6 +3240,7 @@
"resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
"integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
"dev": true,
+ "license": "MIT",
"optional": true,
"bin": {
"is-docker": "cli.js"
@@ -2992,6 +3257,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
"integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-plain-object": "^2.0.4"
},
@@ -3004,6 +3270,7 @@
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -3013,6 +3280,7 @@
"resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
"integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -3022,6 +3290,7 @@
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.12.0"
}
@@ -3031,6 +3300,7 @@
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
},
@@ -3042,12 +3312,14 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
"integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/is-retry-allowed": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz",
"integrity": "sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==",
+ "license": "MIT",
"engines": {
"node": ">=10"
},
@@ -3060,6 +3332,7 @@
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
"integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
},
@@ -3071,13 +3344,15 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/is-windows": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -3087,6 +3362,7 @@
"resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
"integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
"dev": true,
+ "license": "MIT",
"optional": true,
"dependencies": {
"is-docker": "^2.0.0"
@@ -3099,19 +3375,22 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/isobject": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -3120,13 +3399,15 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/istanbul-lib-coverage": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
"integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
"dev": true,
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=8"
}
@@ -3136,6 +3417,7 @@
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz",
"integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.7.5",
"@istanbuljs/schema": "^0.1.2",
@@ -3151,6 +3433,7 @@
"resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
"integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"istanbul-lib-coverage": "^3.0.0",
"make-dir": "^4.0.0",
@@ -3165,6 +3448,7 @@
"resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
"integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"debug": "^4.1.1",
"istanbul-lib-coverage": "^3.0.0",
@@ -3179,6 +3463,7 @@
"resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",
"integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"html-escaper": "^2.0.0",
"istanbul-lib-report": "^3.0.0"
@@ -3192,6 +3477,7 @@
"resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz",
"integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
"import-local": "^3.0.2",
@@ -3209,6 +3495,7 @@
"resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz",
"integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"execa": "^4.0.0",
@@ -3223,6 +3510,7 @@
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz",
"integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
"@jest/test-result": "^26.6.2",
@@ -3250,6 +3538,7 @@
"resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz",
"integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
"@jest/test-sequencer": "^26.6.3",
@@ -3287,6 +3576,7 @@
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz",
"integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
"diff-sequences": "^26.6.2",
@@ -3302,6 +3592,7 @@
"resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz",
"integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"detect-newline": "^3.0.0"
},
@@ -3314,6 +3605,7 @@
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz",
"integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"chalk": "^4.0.0",
@@ -3330,6 +3622,7 @@
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz",
"integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
"@jest/fake-timers": "^26.6.2",
@@ -3348,6 +3641,7 @@
"resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz",
"integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
"@jest/fake-timers": "^26.6.2",
@@ -3365,6 +3659,7 @@
"resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz",
"integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 10.14.2"
}
@@ -3374,6 +3669,7 @@
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz",
"integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"@types/graceful-fs": "^4.1.2",
@@ -3401,6 +3697,7 @@
"resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz",
"integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/traverse": "^7.1.0",
"@jest/environment": "^26.6.2",
@@ -3430,6 +3727,7 @@
"resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz",
"integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"jest-get-type": "^26.3.0",
"pretty-format": "^26.6.2"
@@ -3443,6 +3741,7 @@
"resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz",
"integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
"jest-diff": "^26.6.2",
@@ -3458,6 +3757,7 @@
"resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz",
"integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
"@jest/types": "^26.6.2",
@@ -3478,6 +3778,7 @@
"resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz",
"integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"@types/node": "*"
@@ -3491,6 +3792,7 @@
"resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
"integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
},
@@ -3508,6 +3810,7 @@
"resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz",
"integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 10.14.2"
}
@@ -3517,6 +3820,7 @@
"resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz",
"integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"chalk": "^4.0.0",
@@ -3536,6 +3840,7 @@
"resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz",
"integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"jest-regex-util": "^26.0.0",
@@ -3550,6 +3855,7 @@
"resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz",
"integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
"@jest/environment": "^26.6.2",
@@ -3581,6 +3887,7 @@
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz",
"integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
"@jest/environment": "^26.6.2",
@@ -3622,6 +3929,7 @@
"resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz",
"integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/node": "*",
"graceful-fs": "^4.2.4"
@@ -3635,6 +3943,7 @@
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz",
"integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0",
"@jest/types": "^26.6.2",
@@ -3657,26 +3966,12 @@
"node": ">= 10.14.2"
}
},
- "node_modules/jest-snapshot/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dev": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/jest-snapshot/node_modules/semver": {
- "version": "7.6.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
- "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"dev": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
+ "license": "ISC",
"bin": {
"semver": "bin/semver.js"
},
@@ -3684,17 +3979,12 @@
"node": ">=10"
}
},
- "node_modules/jest-snapshot/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "dev": true
- },
"node_modules/jest-util": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz",
"integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"@types/node": "*",
@@ -3712,6 +4002,7 @@
"resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz",
"integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"camelcase": "^6.0.0",
@@ -3729,6 +4020,7 @@
"resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz",
"integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
"@jest/types": "^26.6.2",
@@ -3747,6 +4039,7 @@
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
"integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/node": "*",
"merge-stream": "^2.0.0",
@@ -3757,9 +4050,10 @@
}
},
"node_modules/joi": {
- "version": "17.12.3",
- "resolved": "https://registry.npmjs.org/joi/-/joi-17.12.3.tgz",
- "integrity": "sha512-2RRziagf555owrm9IRVtdKynOBeITiDpuZqIpgwqXShPncPKNiRQoiGsl/T8SQdq+8ugRzH2LqY67irr2y/d+g==",
+ "version": "17.13.3",
+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz",
+ "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==",
+ "license": "BSD-3-Clause",
"dependencies": {
"@hapi/hoek": "^9.3.0",
"@hapi/topo": "^5.1.0",
@@ -3772,13 +4066,15 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/js-yaml": {
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
@@ -3791,13 +4087,15 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/jsdom": {
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
"integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"abab": "^2.0.5",
"acorn": "^8.2.4",
@@ -3844,6 +4142,7 @@
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
@@ -3858,6 +4157,7 @@
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true,
+ "license": "MIT",
"bin": {
"jsesc": "bin/jsesc"
},
@@ -3869,31 +4169,36 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/json-schema": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
"integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
- "dev": true
+ "dev": true,
+ "license": "(AFL-2.1 OR BSD-3-Clause)"
},
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/json5": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
+ "license": "MIT",
"bin": {
"json5": "lib/cli.js"
},
@@ -3906,6 +4211,7 @@
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
"integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"assert-plus": "1.0.0",
"extsprintf": "1.3.0",
@@ -3921,6 +4227,7 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -3930,6 +4237,7 @@
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
"integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -3939,6 +4247,7 @@
"resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz",
"integrity": "sha512-aprLII/vPzuQvYZnDRU78Fns9I2Ag3gi4Ipga/hxnVMCZC8DnR2nI7XBqrPoywGfxqIx/DgarGvDJZAD3YBTgQ==",
"dev": true,
+ "license": "BSD-3-Clause",
"bin": {
"lcov-parse": "bin/cli.js"
}
@@ -3948,6 +4257,7 @@
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
"integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -3956,13 +4266,15 @@
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/locate-path": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
},
@@ -3974,13 +4286,15 @@
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/log-driver": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz",
"integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==",
"dev": true,
+ "license": "ISC",
"engines": {
"node": ">=0.8.6"
}
@@ -3990,6 +4304,7 @@
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"yallist": "^3.0.2"
}
@@ -3999,6 +4314,7 @@
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
"integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"semver": "^7.5.3"
},
@@ -4009,26 +4325,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/make-dir/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dev": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/make-dir/node_modules/semver": {
- "version": "7.6.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
- "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"dev": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
+ "license": "ISC",
"bin": {
"semver": "bin/semver.js"
},
@@ -4036,17 +4338,12 @@
"node": ">=10"
}
},
- "node_modules/make-dir/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "dev": true
- },
"node_modules/makeerror": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
"integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"tmpl": "1.0.5"
}
@@ -4056,6 +4353,7 @@
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
"integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4065,6 +4363,7 @@
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
"integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"object-visit": "^1.0.0"
},
@@ -4076,15 +4375,17 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
"integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/micromatch": {
- "version": "4.0.5",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
- "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "braces": "^3.0.2",
+ "braces": "^3.0.3",
"picomatch": "^2.3.1"
},
"engines": {
@@ -4095,6 +4396,7 @@
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
"engines": {
"node": ">= 0.6"
}
@@ -4103,6 +4405,7 @@
"version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
"dependencies": {
"mime-db": "1.52.0"
},
@@ -4115,6 +4418,7 @@
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -4124,6 +4428,7 @@
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -4136,6 +4441,7 @@
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
"dev": true,
+ "license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@@ -4145,6 +4451,7 @@
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
"integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"for-in": "^1.0.2",
"is-extendable": "^1.0.1"
@@ -4154,16 +4461,18 @@
}
},
"node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
"integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
"array-unique": "^0.3.2",
@@ -4185,18 +4494,21 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/node-fetch": {
"version": "2.6.13",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz",
"integrity": "sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA==",
+ "license": "MIT",
"dependencies": {
"whatwg-url": "^5.0.0"
},
@@ -4215,17 +4527,20 @@
"node_modules/node-fetch/node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
- "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
+ "license": "MIT"
},
"node_modules/node-fetch/node_modules/webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
- "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
+ "license": "BSD-2-Clause"
},
"node_modules/node-fetch/node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
+ "license": "MIT",
"dependencies": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
@@ -4235,13 +4550,15 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
"integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/node-notifier": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz",
"integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==",
"dev": true,
+ "license": "MIT",
"optional": true,
"dependencies": {
"growly": "^1.3.0",
@@ -4252,28 +4569,13 @@
"which": "^2.0.2"
}
},
- "node_modules/node-notifier/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/node-notifier/node_modules/semver": {
- "version": "7.6.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
- "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"dev": true,
+ "license": "ISC",
"optional": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
"bin": {
"semver": "bin/semver.js"
},
@@ -4281,24 +4583,19 @@
"node": ">=10"
}
},
- "node_modules/node-notifier/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "dev": true,
- "optional": true
- },
"node_modules/node-releases": {
- "version": "2.0.14",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
- "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
- "dev": true
+ "version": "2.0.18",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
+ "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/normalize-package-data": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
"integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
"dev": true,
+ "license": "BSD-2-Clause",
"dependencies": {
"hosted-git-info": "^2.1.4",
"resolve": "^1.10.0",
@@ -4311,6 +4608,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true,
+ "license": "ISC",
"bin": {
"semver": "bin/semver"
}
@@ -4320,6 +4618,7 @@
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4329,6 +4628,7 @@
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
"integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"path-key": "^3.0.0"
},
@@ -4337,16 +4637,18 @@
}
},
"node_modules/nwsapi": {
- "version": "2.2.7",
- "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz",
- "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==",
- "dev": true
+ "version": "2.2.12",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.12.tgz",
+ "integrity": "sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
"integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
"dev": true,
+ "license": "Apache-2.0",
"engines": {
"node": "*"
}
@@ -4356,6 +4658,7 @@
"resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
"integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"copy-descriptor": "^0.1.0",
"define-property": "^0.2.5",
@@ -4370,6 +4673,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
},
@@ -4381,13 +4685,15 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/object-copy/node_modules/is-descriptor": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -4401,6 +4707,7 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -4413,6 +4720,7 @@
"resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
"integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"isobject": "^3.0.0"
},
@@ -4425,6 +4733,7 @@
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
"integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
},
@@ -4437,6 +4746,7 @@
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"wrappy": "1"
}
@@ -4446,6 +4756,7 @@
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"mimic-fn": "^2.1.0"
},
@@ -4461,6 +4772,7 @@
"resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz",
"integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
},
@@ -4473,6 +4785,7 @@
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
"integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -4482,6 +4795,7 @@
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
},
@@ -4497,6 +4811,7 @@
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
},
@@ -4509,6 +4824,7 @@
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -4518,6 +4834,7 @@
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
@@ -4535,13 +4852,15 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
"integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4551,6 +4870,7 @@
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -4560,6 +4880,7 @@
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4569,6 +4890,7 @@
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -4577,25 +4899,29 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
+ "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==",
+ "dev": true,
+ "license": "ISC"
},
"node_modules/picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8.6"
},
@@ -4608,6 +4934,7 @@
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
"integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 6"
}
@@ -4617,6 +4944,7 @@
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
"integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"find-up": "^4.0.0"
},
@@ -4629,6 +4957,7 @@
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
"integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4638,6 +4967,7 @@
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
"ansi-regex": "^5.0.0",
@@ -4653,6 +4983,7 @@
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
"integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"kleur": "^3.0.3",
"sisteransi": "^1.0.5"
@@ -4664,19 +4995,22 @@
"node_modules/proxy-from-env": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
+ "license": "MIT"
},
"node_modules/psl": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz",
"integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
+ "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
@@ -4687,6 +5021,7 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -4696,6 +5031,7 @@
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
"integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==",
"dev": true,
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=0.6"
}
@@ -4704,6 +5040,7 @@
"version": "6.14.1",
"resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz",
"integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==",
+ "license": "MIT",
"dependencies": {
"decode-uri-component": "^0.2.0",
"filter-obj": "^1.1.0",
@@ -4721,19 +5058,22 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/react-is": {
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/read-pkg": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
"integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@types/normalize-package-data": "^2.4.0",
"normalize-package-data": "^2.5.0",
@@ -4749,6 +5089,7 @@
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
"integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"find-up": "^4.1.0",
"read-pkg": "^5.2.0",
@@ -4766,6 +5107,7 @@
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
"integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
"dev": true,
+ "license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
}
@@ -4775,6 +5117,7 @@
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
"integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
"dev": true,
+ "license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
}
@@ -4782,13 +5125,15 @@
"node_modules/regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
- "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
+ "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==",
+ "license": "MIT"
},
"node_modules/regex-not": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
"integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.2",
"safe-regex": "^1.1.0"
@@ -4801,13 +5146,15 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
"integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/repeat-element": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz",
"integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4817,6 +5164,7 @@
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10"
}
@@ -4827,6 +5175,7 @@
"integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
"deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"aws-sign2": "~0.7.0",
"aws4": "^1.8.0",
@@ -4858,6 +5207,7 @@
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
"integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
@@ -4872,6 +5222,7 @@
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
"integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"psl": "^1.1.28",
"punycode": "^2.1.1"
@@ -4886,6 +5237,7 @@
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
"dev": true,
+ "license": "MIT",
"bin": {
"uuid": "bin/uuid"
}
@@ -4895,6 +5247,7 @@
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -4903,19 +5256,22 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/resolve": {
"version": "1.22.8",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
@@ -4933,6 +5289,7 @@
"resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
"integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"resolve-from": "^5.0.0"
},
@@ -4945,6 +5302,7 @@
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -4954,13 +5312,15 @@
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==",
"deprecated": "https://github.com/lydell/resolve-url#deprecated",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.12"
}
@@ -4969,7 +5329,9 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "deprecated": "Rimraf versions prior to v4 are no longer supported",
"dev": true,
+ "license": "ISC",
"dependencies": {
"glob": "^7.1.3"
},
@@ -4985,6 +5347,7 @@
"resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz",
"integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": "6.* || >= 7.*"
}
@@ -5007,13 +5370,15 @@
"type": "consulting",
"url": "https://feross.org/support"
}
- ]
+ ],
+ "license": "MIT"
},
"node_modules/safe-regex": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
"integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ret": "~0.1.10"
}
@@ -5022,7 +5387,8 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/sane": {
"version": "4.1.0",
@@ -5030,6 +5396,7 @@
"integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==",
"deprecated": "some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added",
"dev": true,
+ "license": "MIT",
"dependencies": {
"@cnakazawa/watch": "^1.0.3",
"anymatch": "^2.0.0",
@@ -5053,6 +5420,7 @@
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
"integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"micromatch": "^3.1.4",
"normalize-path": "^2.1.1"
@@ -5063,6 +5431,7 @@
"resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
"integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"arr-flatten": "^1.1.0",
"array-unique": "^0.3.2",
@@ -5084,6 +5453,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -5096,6 +5466,7 @@
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"nice-try": "^1.0.4",
"path-key": "^2.0.1",
@@ -5112,6 +5483,7 @@
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cross-spawn": "^6.0.0",
"get-stream": "^4.0.0",
@@ -5130,6 +5502,7 @@
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
"integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
"is-number": "^3.0.0",
@@ -5145,6 +5518,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -5157,6 +5531,7 @@
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
"integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"pump": "^3.0.0"
},
@@ -5168,13 +5543,15 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/sane/node_modules/is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5184,6 +5561,7 @@
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
},
@@ -5196,6 +5574,7 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -5208,6 +5587,7 @@
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5217,6 +5597,7 @@
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
"integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
"array-unique": "^0.3.2",
@@ -5241,6 +5622,7 @@
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
"integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"remove-trailing-separator": "^1.0.1"
},
@@ -5253,6 +5635,7 @@
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
"integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"path-key": "^2.0.0"
},
@@ -5265,6 +5648,7 @@
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
"integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -5274,6 +5658,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true,
+ "license": "ISC",
"bin": {
"semver": "bin/semver"
}
@@ -5283,6 +5668,7 @@
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
"integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"shebang-regex": "^1.0.0"
},
@@ -5295,6 +5681,7 @@
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
"integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5304,6 +5691,7 @@
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
"integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
"repeat-string": "^1.6.1"
@@ -5317,6 +5705,7 @@
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"isexe": "^2.0.0"
},
@@ -5329,6 +5718,7 @@
"resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz",
"integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"xmlchars": "^2.2.0"
},
@@ -5341,6 +5731,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
+ "license": "ISC",
"bin": {
"semver": "bin/semver.js"
}
@@ -5349,13 +5740,15 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/set-value": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
"integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
"is-extendable": "^0.1.1",
@@ -5371,6 +5764,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -5383,6 +5777,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5392,6 +5787,7 @@
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"shebang-regex": "^3.0.0"
},
@@ -5404,6 +5800,7 @@
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -5413,25 +5810,29 @@
"resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",
"integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==",
"dev": true,
+ "license": "MIT",
"optional": true
},
"node_modules/signal-exit": {
"version": "3.0.7",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/sisteransi": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
"integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -5441,6 +5842,7 @@
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
"integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"base": "^0.11.1",
"debug": "^2.2.0",
@@ -5460,6 +5862,7 @@
"resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
"integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"define-property": "^1.0.0",
"isobject": "^3.0.0",
@@ -5474,6 +5877,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
},
@@ -5486,6 +5890,7 @@
"resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
"integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"kind-of": "^3.2.0"
},
@@ -5497,13 +5902,15 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/snapdragon-util/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -5516,6 +5923,7 @@
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ms": "2.0.0"
}
@@ -5525,6 +5933,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
},
@@ -5537,6 +5946,7 @@
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
},
@@ -5549,6 +5959,7 @@
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -5562,6 +5973,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5570,13 +5982,15 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/snapdragon/node_modules/source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
"dev": true,
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
@@ -5586,6 +6000,7 @@
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true,
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
@@ -5596,6 +6011,7 @@
"integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
"deprecated": "See https://github.com/lydell/source-map-resolve#deprecated",
"dev": true,
+ "license": "MIT",
"dependencies": {
"atob": "^2.1.2",
"decode-uri-component": "^0.2.0",
@@ -5609,6 +6025,7 @@
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
"integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"buffer-from": "^1.0.0",
"source-map": "^0.6.0"
@@ -5619,13 +6036,15 @@
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz",
"integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==",
"deprecated": "See https://github.com/lydell/source-map-url#deprecated",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/spdx-correct": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
"integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"spdx-expression-parse": "^3.0.0",
"spdx-license-ids": "^3.0.0"
@@ -5635,28 +6054,32 @@
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
"integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
- "dev": true
+ "dev": true,
+ "license": "CC-BY-3.0"
},
"node_modules/spdx-expression-parse": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"spdx-exceptions": "^2.1.0",
"spdx-license-ids": "^3.0.0"
}
},
"node_modules/spdx-license-ids": {
- "version": "3.0.17",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz",
- "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==",
- "dev": true
+ "version": "3.0.20",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz",
+ "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==",
+ "dev": true,
+ "license": "CC0-1.0"
},
"node_modules/split-on-first": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz",
"integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==",
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -5666,6 +6089,7 @@
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
"integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.0"
},
@@ -5677,13 +6101,15 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
- "dev": true
+ "dev": true,
+ "license": "BSD-3-Clause"
},
"node_modules/sshpk": {
"version": "1.18.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz",
"integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
@@ -5709,6 +6135,7 @@
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
"integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"escape-string-regexp": "^2.0.0"
},
@@ -5721,6 +6148,7 @@
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
"integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"define-property": "^0.2.5",
"object-copy": "^0.1.0"
@@ -5734,6 +6162,7 @@
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
},
@@ -5746,6 +6175,7 @@
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
"is-data-descriptor": "^1.0.1"
@@ -5758,6 +6188,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
"integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -5767,6 +6198,7 @@
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
"integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"char-regex": "^1.0.2",
"strip-ansi": "^6.0.0"
@@ -5780,6 +6212,7 @@
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
@@ -5794,6 +6227,7 @@
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
},
@@ -5806,6 +6240,7 @@
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
"integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -5815,6 +6250,7 @@
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
"integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -5824,6 +6260,7 @@
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
"integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -5833,6 +6270,7 @@
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
},
@@ -5845,6 +6283,7 @@
"resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz",
"integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-flag": "^4.0.0",
"supports-color": "^7.0.0"
@@ -5858,6 +6297,7 @@
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 0.4"
},
@@ -5869,13 +6309,15 @@
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
"integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/terminal-link": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz",
"integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ansi-escapes": "^4.2.1",
"supports-hyperlinks": "^2.0.0"
@@ -5892,6 +6334,7 @@
"resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
"integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"@istanbuljs/schema": "^0.1.2",
"glob": "^7.1.4",
@@ -5905,19 +6348,22 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz",
"integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/tmpl": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
"integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
- "dev": true
+ "dev": true,
+ "license": "BSD-3-Clause"
},
"node_modules/to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
"integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -5927,6 +6373,7 @@
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
"integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
},
@@ -5938,13 +6385,15 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/to-object-path/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
},
@@ -5957,6 +6406,7 @@
"resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
"integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"define-property": "^2.0.2",
"extend-shallow": "^3.0.2",
@@ -5972,6 +6422,7 @@
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-number": "^7.0.0"
},
@@ -5980,10 +6431,11 @@
}
},
"node_modules/tough-cookie": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
- "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==",
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
+ "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
"dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
"psl": "^1.1.33",
"punycode": "^2.1.1",
@@ -5999,6 +6451,7 @@
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
},
@@ -6011,6 +6464,7 @@
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"safe-buffer": "^5.0.1"
},
@@ -6022,13 +6476,15 @@
"version": "0.14.5",
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==",
- "dev": true
+ "dev": true,
+ "license": "Unlicense"
},
"node_modules/type-detect": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=4"
}
@@ -6038,6 +6494,7 @@
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
"dev": true,
+ "license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
},
@@ -6050,21 +6507,24 @@
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"is-typedarray": "^1.0.0"
}
},
"node_modules/undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
- "dev": true
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/union-value": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
"integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
"get-value": "^2.0.6",
@@ -6080,6 +6540,7 @@
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -6089,6 +6550,7 @@
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
"integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">= 4.0.0"
}
@@ -6098,6 +6560,7 @@
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
"integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"has-value": "^0.3.1",
"isobject": "^3.0.0"
@@ -6111,6 +6574,7 @@
"resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
"integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"get-value": "^2.0.3",
"has-values": "^0.1.4",
@@ -6125,6 +6589,7 @@
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
"integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"isarray": "1.0.0"
},
@@ -6137,14 +6602,15 @@
"resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
"integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/update-browserslist-db": {
- "version": "1.0.13",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
- "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
+ "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==",
"dev": true,
"funding": [
{
@@ -6160,9 +6626,10 @@
"url": "https://github.com/sponsors/ai"
}
],
+ "license": "MIT",
"dependencies": {
- "escalade": "^3.1.1",
- "picocolors": "^1.0.0"
+ "escalade": "^3.1.2",
+ "picocolors": "^1.0.1"
},
"bin": {
"update-browserslist-db": "cli.js"
@@ -6176,6 +6643,7 @@
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"dev": true,
+ "license": "BSD-2-Clause",
"dependencies": {
"punycode": "^2.1.0"
}
@@ -6185,13 +6653,15 @@
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==",
"deprecated": "Please see https://github.com/lydell/urix#deprecated",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/url-parse": {
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
@@ -6202,6 +6672,7 @@
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
@@ -6211,6 +6682,7 @@
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"dev": true,
+ "license": "MIT",
"optional": true,
"bin": {
"uuid": "dist/bin/uuid"
@@ -6221,6 +6693,7 @@
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz",
"integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"@types/istanbul-lib-coverage": "^2.0.1",
"convert-source-map": "^1.6.0",
@@ -6235,6 +6708,7 @@
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
"integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
"dev": true,
+ "license": "BSD-3-Clause",
"engines": {
"node": ">= 8"
}
@@ -6244,6 +6718,7 @@
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
"integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"spdx-correct": "^3.0.0",
"spdx-expression-parse": "^3.0.0"
@@ -6257,6 +6732,7 @@
"engines": [
"node >=0.6.0"
],
+ "license": "MIT",
"dependencies": {
"assert-plus": "^1.0.0",
"core-util-is": "1.0.2",
@@ -6269,6 +6745,7 @@
"integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
"deprecated": "Use your platform's native performance.now() and performance.timeOrigin.",
"dev": true,
+ "license": "MIT",
"dependencies": {
"browser-process-hrtime": "^1.0.0"
}
@@ -6278,6 +6755,7 @@
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz",
"integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"xml-name-validator": "^3.0.0"
},
@@ -6290,6 +6768,7 @@
"resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
"integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"makeerror": "1.0.12"
}
@@ -6299,6 +6778,7 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz",
"integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==",
"dev": true,
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=10.4"
}
@@ -6308,6 +6788,7 @@
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
"integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"iconv-lite": "0.4.24"
}
@@ -6316,13 +6797,15 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
"integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/whatwg-url": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"lodash": "^4.7.0",
"tr46": "^2.1.0",
@@ -6337,6 +6820,7 @@
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"isexe": "^2.0.0"
},
@@ -6351,13 +6835,15 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
@@ -6371,13 +6857,15 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/write-file-atomic": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
"integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"imurmurhash": "^0.1.4",
"is-typedarray": "^1.0.0",
@@ -6386,10 +6874,11 @@
}
},
"node_modules/ws": {
- "version": "7.5.9",
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
- "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
+ "version": "7.5.10",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=8.3.0"
},
@@ -6410,31 +6899,36 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",
"integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
- "dev": true
+ "dev": true,
+ "license": "Apache-2.0"
},
"node_modules/xmlchars": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
- "dev": true
+ "dev": true,
+ "license": "MIT"
},
"node_modules/y18n": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
+ "dev": true,
+ "license": "ISC"
},
"node_modules/yargs": {
"version": "15.4.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"cliui": "^6.0.0",
"decamelize": "^1.2.0",
@@ -6457,6 +6951,7 @@
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
"dev": true,
+ "license": "ISC",
"dependencies": {
"camelcase": "^5.0.0",
"decamelize": "^1.2.0"
@@ -6470,6 +6965,7 @@
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6"
}
diff --git a/sdk/common/AxiosHelper.js b/sdk/common/AxiosHelper.js
index 06dea8c..57e6f0e 100644
--- a/sdk/common/AxiosHelper.js
+++ b/sdk/common/AxiosHelper.js
@@ -72,7 +72,8 @@ function requestInterceptorFn() {
secret: headers["x-merchant-secret"],
};
delete headers["x-merchant-secret"];
- sign(signingOptions);
+ sign(signingOptions, headers["x-source"]);
+ delete headers["x-source"];
config.headers["x-ptl-date"] = signingOptions.headers["x-ptl-date"];
config.headers["x-ptl-signature"] =
diff --git a/sdk/common/Constant.d.ts b/sdk/common/Constant.d.ts
index b971f35..d30430f 100644
--- a/sdk/common/Constant.d.ts
+++ b/sdk/common/Constant.d.ts
@@ -29,23 +29,30 @@ export namespace AVAILABLE_PAGE_TYPE {
const UPIREPAYMENT: string;
const SANCTIONLETTER: string;
const KFS: string;
+ const DYNAMICPAGE: string;
}
export namespace NAVIGATORS {
namespace external {
+ const canBuildLink: boolean;
const name: string;
const link: string;
const query: {
+ name: string;
key: string;
required: boolean;
}[];
}
namespace login {
+ const canBuildLink_1: boolean;
+ export { canBuildLink_1 as canBuildLink };
const name_1: string;
export { name_1 as name };
const link_1: string;
export { link_1 as link };
}
namespace home {
+ const canBuildLink_2: boolean;
+ export { canBuildLink_2 as canBuildLink };
export const screenType: string;
const name_2: string;
export { name_2 as name };
@@ -53,219 +60,298 @@ export namespace NAVIGATORS {
export { link_2 as link };
}
namespace transactions {
+ const canBuildLink_3: boolean;
+ export { canBuildLink_3 as canBuildLink };
const name_3: string;
export { name_3 as name };
const link_3: string;
export { link_3 as link };
}
namespace transactionDetails {
+ const canBuildLink_4: boolean;
+ export { canBuildLink_4 as canBuildLink };
const name_4: string;
export { name_4 as name };
const link_4: string;
export { link_4 as link };
export const params: {
+ name: string;
key: string;
required: boolean;
}[];
}
namespace rewards {
+ const canBuildLink_5: boolean;
+ export { canBuildLink_5 as canBuildLink };
const name_5: string;
export { name_5 as name };
const link_5: string;
export { link_5 as link };
}
namespace referAndEarn {
+ const canBuildLink_6: boolean;
+ export { canBuildLink_6 as canBuildLink };
const name_6: string;
export { name_6 as name };
const link_6: string;
export { link_6 as link };
}
namespace profile {
+ const canBuildLink_7: boolean;
+ export { canBuildLink_7 as canBuildLink };
const name_7: string;
export { name_7 as name };
const link_7: string;
export { link_7 as link };
}
namespace setupAutopay {
+ const canBuildLink_8: boolean;
+ export { canBuildLink_8 as canBuildLink };
const name_8: string;
export { name_8 as name };
const link_8: string;
export { link_8 as link };
}
namespace updateEmail {
+ const canBuildLink_9: boolean;
+ export { canBuildLink_9 as canBuildLink };
const name_9: string;
export { name_9 as name };
const link_9: string;
export { link_9 as link };
}
namespace reportIssue {
+ const canBuildLink_10: boolean;
+ export { canBuildLink_10 as canBuildLink };
const name_10: string;
export { name_10 as name };
const link_10: string;
export { link_10 as link };
}
namespace creditScore {
+ const canBuildLink_11: boolean;
+ export { canBuildLink_11 as canBuildLink };
const name_11: string;
export { name_11 as name };
const link_11: string;
export { link_11 as link };
}
namespace autoPay {
+ const canBuildLink_12: boolean;
+ export { canBuildLink_12 as canBuildLink };
const name_12: string;
export { name_12 as name };
const link_12: string;
export { link_12 as link };
}
namespace helpCenter {
+ const canBuildLink_13: boolean;
+ export { canBuildLink_13 as canBuildLink };
const name_13: string;
export { name_13 as name };
const link_13: string;
export { link_13 as link };
}
namespace kycInit {
+ const canBuildLink_14: boolean;
+ export { canBuildLink_14 as canBuildLink };
const name_14: string;
export { name_14 as name };
const link_14: string;
export { link_14 as link };
}
namespace accessDigilocker {
+ const canBuildLink_15: boolean;
+ export { canBuildLink_15 as canBuildLink };
const name_15: string;
export { name_15 as name };
const link_15: string;
export { link_15 as link };
const params_1: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_1 as params };
}
namespace liveliness {
+ const canBuildLink_16: boolean;
+ export { canBuildLink_16 as canBuildLink };
const name_16: string;
export { name_16 as name };
const link_16: string;
export { link_16 as link };
const params_2: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_2 as params };
}
namespace lenderOnboard {
+ const canBuildLink_17: boolean;
+ export { canBuildLink_17 as canBuildLink };
const name_17: string;
export { name_17 as name };
const link_17: string;
export { link_17 as link };
const params_3: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_3 as params };
}
namespace lender {
+ const canBuildLink_18: boolean;
+ export { canBuildLink_18 as canBuildLink };
const name_18: string;
export { name_18 as name };
const link_18: string;
export { link_18 as link };
const params_4: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_4 as params };
}
namespace kycDocs {
+ const canBuildLink_19: boolean;
+ export { canBuildLink_19 as canBuildLink };
const name_19: string;
export { name_19 as name };
const link_19: string;
export { link_19 as link };
}
namespace kycSelfie {
+ const canBuildLink_20: boolean;
+ export { canBuildLink_20 as canBuildLink };
const name_20: string;
export { name_20 as name };
const link_20: string;
export { link_20 as link };
}
namespace kycStatus {
+ const canBuildLink_21: boolean;
+ export { canBuildLink_21 as canBuildLink };
const name_21: string;
export { name_21 as name };
const link_21: string;
export { link_21 as link };
}
namespace kycError {
+ const canBuildLink_22: boolean;
+ export { canBuildLink_22 as canBuildLink };
const name_22: string;
export { name_22 as name };
const link_22: string;
export { link_22 as link };
}
namespace kycDigilockerResponse {
+ const canBuildLink_23: boolean;
+ export { canBuildLink_23 as canBuildLink };
const name_23: string;
export { name_23 as name };
const link_23: string;
export { link_23 as link };
}
namespace kycInitResponse {
+ const canBuildLink_24: boolean;
+ export { canBuildLink_24 as canBuildLink };
const name_24: string;
export { name_24 as name };
const link_24: string;
export { link_24 as link };
}
namespace repayment {
+ const canBuildLink_25: boolean;
+ export { canBuildLink_25 as canBuildLink };
const name_25: string;
export { name_25 as name };
const link_25: string;
export { link_25 as link };
const query_1: {
+ name: string;
key: string;
required: boolean;
}[];
export { query_1 as query };
}
namespace netBankingRepayment {
+ const canBuildLink_26: boolean;
+ export { canBuildLink_26 as canBuildLink };
const name_26: string;
export { name_26 as name };
const link_26: string;
export { link_26 as link };
}
namespace upiRepayment {
+ const canBuildLink_27: boolean;
+ export { canBuildLink_27 as canBuildLink };
const name_27: string;
export { name_27 as name };
const link_27: string;
export { link_27 as link };
const query_2: {
+ name: string;
key: string;
required: boolean;
}[];
export { query_2 as query };
}
namespace sanctionLetter {
+ const canBuildLink_28: boolean;
+ export { canBuildLink_28 as canBuildLink };
const name_28: string;
export { name_28 as name };
const link_28: string;
export { link_28 as link };
const params_5: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_5 as params };
const query_3: {
+ name: string;
key: string;
required: boolean;
}[];
export { query_3 as query };
}
namespace kfs {
+ const canBuildLink_29: boolean;
+ export { canBuildLink_29 as canBuildLink };
const name_29: string;
export { name_29 as name };
const link_29: string;
export { link_29 as link };
const params_6: {
+ name: string;
key: string;
required: boolean;
}[];
export { params_6 as params };
const query_4: {
+ name: string;
key: string;
required: boolean;
}[];
export { query_4 as query };
}
+ namespace dynamicPage {
+ const canBuildLink_30: boolean;
+ export { canBuildLink_30 as canBuildLink };
+ const name_30: string;
+ export { name_30 as name };
+ const link_30: string;
+ export { link_30 as link };
+ const params_7: {
+ name: string;
+ key: string;
+ required: boolean;
+ }[];
+ export { params_7 as params };
+ }
}
diff --git a/sdk/common/Constant.js b/sdk/common/Constant.js
index b49b187..0b756d2 100644
--- a/sdk/common/Constant.js
+++ b/sdk/common/Constant.js
@@ -29,228 +29,289 @@ const AVAILABLE_PAGE_TYPE = {
UPIREPAYMENT: "upiRepayment",
SANCTIONLETTER: "sanctionLetter",
KFS: "kfs",
+ DYNAMICPAGE: "dynamicPage",
};
Object.freeze(AVAILABLE_PAGE_TYPE);
const NAVIGATORS = {
external: {
+ canBuildLink: true,
name: "External Link",
link: "/external/:url",
query: [
{
+ name: "URL",
key: "url",
required: true,
},
],
},
login: {
+ canBuildLink: false,
name: "Login",
link: "/login",
},
home: {
+ canBuildLink: true,
screenType: "DASHBOARD, PAN, LENDERS",
name: "Home",
link: "/",
},
transactions: {
+ canBuildLink: true,
name: "Transactions",
link: "/transactions",
},
transactionDetails: {
+ canBuildLink: false,
name: "Transaction Details",
link: "/transactions/:id",
params: [
{
+ name: "Transaction Id",
key: "id",
required: true,
},
],
},
rewards: {
+ canBuildLink: true,
name: "Rewards",
link: "/rewards",
},
referAndEarn: {
+ canBuildLink: true,
name: "Refer",
link: "/refer",
},
profile: {
+ canBuildLink: true,
name: "Profile",
link: "/profile",
},
setupAutopay: {
+ canBuildLink: false,
name: "AutoPay",
link: "/autopay",
},
updateEmail: {
+ canBuildLink: true,
name: "Update Email",
link: "/profile/email",
},
reportIssue: {
+ canBuildLink: true,
name: "Report Issue",
link: "/profile/report",
},
creditScore: {
+ canBuildLink: true,
name: "Credit Score",
link: "/credit-score",
},
autoPay: {
+ canBuildLink: false,
name: "Setup Autopay",
link: "/autopay",
},
helpCenter: {
+ canBuildLink: true,
name: "Help Center",
link: "/profile/help-center",
},
kycInit: {
+ canBuildLink: false,
name: "Start KYC",
link: "/kyc",
},
accessDigilocker: {
+ canBuildLink: false,
name: "Access Digilocker",
link: "/kyc/:lender/access-digilocker",
params: [
{
+ name: "Lender",
key: "lender",
required: true,
},
],
},
liveliness: {
+ canBuildLink: false,
name: "Liveliness",
link: "/kyc/:lender/selfie",
params: [
{
+ name: "Lender",
key: "lender",
required: true,
},
],
},
lenderOnboard: {
+ canBuildLink: false,
name: "Lender Onboard",
link: "/kyc/:lender/lender-onboard",
params: [
{
+ name: "Lender",
key: "lender",
required: true,
},
],
},
lender: {
+ canBuildLink: false,
name: "Lender",
link: "/lender/:lenderName",
params: [
{
+ name: "Lender Name",
key: "lenderName",
required: true,
},
],
},
kycDocs: {
+ canBuildLink: false,
name: "Verify KYC Documents",
link: "/kyc/documents",
},
kycSelfie: {
+ canBuildLink: false,
name: "Verify KYC Selfie",
link: "/kyc/selfie",
},
kycStatus: {
+ canBuildLink: false,
name: "KYC Status",
link: "/kyc/status",
},
kycError: {
+ canBuildLink: false,
name: "KYC Error",
link: "/kyc/error",
},
kycDigilockerResponse: {
+ canBuildLink: false,
name: "KYC Digilocker Response",
link: "/kyc/digilocker-response",
},
kycInitResponse: {
+ canBuildLink: false,
name: "KYC Init Response",
link: "/kyc/init-response",
},
repayment: {
+ canBuildLink: false,
name: "Repayment",
link: "/repayment",
query: [
{
+ name: "Transcation Id",
key: "tid",
required: false,
},
{
+ name: "Intent Id",
key: "intentid",
required: false,
},
],
},
netBankingRepayment: {
+ canBuildLink: false,
name: "Net Banking Repayment",
link: "/repayment/netbanking",
},
upiRepayment: {
+ canBuildLink: false,
name: "UPI Repayment",
link: "/repayment/upi",
query: [
{
+ name: "Transcation Id",
key: "tid",
required: false,
},
{
+ name: "Intent Id",
key: "intentid",
required: false,
},
],
},
sanctionLetter: {
+ canBuildLink: false,
name: "Sanction Letter",
link: "/sanction/:userId",
params: [
{
+ name: "User Id",
key: "userId",
required: true,
},
],
query: [
{
+ name: "Loan Amount",
key: "loanAmount",
required: true,
},
{
+ name: "Order Id",
key: "orderUid",
required: true,
},
{
+ name: "Merchant Id",
key: "merchantId",
required: true,
},
],
},
kfs: {
+ canBuildLink: false,
name: "KFS",
link: "/kfs/:userId",
params: [
{
+ name: "User Id",
key: "userId",
required: true,
},
],
query: [
{
+ name: "Loan Amount",
key: "loanAmount",
required: true,
},
{
+ name: "Order Id",
key: "orderUid",
required: true,
},
{
+ name: "Merchant Id",
key: "merchantId",
required: true,
},
],
},
+ dynamicPage: {
+ canBuildLink: true,
+ name: "Dynamic Page",
+ link: "/page/:slug",
+ params: [
+ {
+ name: "Slug",
+ key: "slug",
+ required: true,
+ },
+ ],
+ },
};
module.exports = {
diff --git a/sdk/common/RequestSigner.d.ts b/sdk/common/RequestSigner.d.ts
index e951bbf..0cbaa58 100644
--- a/sdk/common/RequestSigner.d.ts
+++ b/sdk/common/RequestSigner.d.ts
@@ -1 +1 @@
-export function sign(request: any): any;
+export function sign(request: any, xSource?: string): any;
diff --git a/sdk/common/RequestSigner.js b/sdk/common/RequestSigner.js
index aaea0a1..ff13a74 100644
--- a/sdk/common/RequestSigner.js
+++ b/sdk/common/RequestSigner.js
@@ -38,13 +38,14 @@ const HEADERS_TO_INCLUDE = ["x-ptl-.*", "host"];
// request: { path | body, [host], [method], [headers], [service], [region] }
class RequestSigner {
- constructor(request) {
+ constructor(request, xSource) {
if (typeof request === "string") {
request = url.parse(request);
}
let headers = (request.headers = request.headers || {});
this.request = request;
+ this.xSource = xSource;
if (!request.method && request.body) {
request.method = "POST";
@@ -124,6 +125,10 @@ class RequestSigner {
}
signature(secret) {
+ if (!secret && this.xSource !== "platform") {
+ secret = "1234567";
+ }
+
let kCredentials = secret;
let strTosign = this.stringToSign();
// console.log(strTosign);
@@ -301,8 +306,8 @@ class RequestSigner {
}
}
-function sign(request) {
- return new RequestSigner(request).sign();
+function sign(request, xSource = "") {
+ return new RequestSigner(request, xSource).sign();
}
module.exports = {
diff --git a/sdk/common/Utility.d.ts b/sdk/common/Utility.d.ts
index 1d8eb39..96af44d 100644
--- a/sdk/common/Utility.d.ts
+++ b/sdk/common/Utility.d.ts
@@ -7,3 +7,4 @@ export function convertUrlToAction(url: any): {
params: {};
};
};
+export function convertPageToUrl(action: any): any;
diff --git a/sdk/common/Utility.js b/sdk/common/Utility.js
index 531f9cf..53e0eb8 100644
--- a/sdk/common/Utility.js
+++ b/sdk/common/Utility.js
@@ -34,6 +34,20 @@ function convertUrlToAction(url) {
};
}
+function convertPageToUrl(action) {
+ const item = Object.assign({}, Constant.NAVIGATORS[action.page.type]);
+ if (item) {
+ //get param
+ item.link = utils.generateUrlWithParams(item, action.page.params);
+ //get query
+ if (action.page.query && Object.keys(action.page.query).length > 0) {
+ item.link += "/?" + utils.transformRequestOptions(action.page.query);
+ }
+ return item.link;
+ }
+ return "";
+}
+
function convertActionToUrl(action) {
switch (action.type) {
case utils.NAV_TYPE.PAGE: {
@@ -58,4 +72,5 @@ function convertActionToUrl(action) {
module.exports = {
convertActionToUrl,
convertUrlToAction,
+ convertPageToUrl,
};
diff --git a/sdk/platform/PlatformAPIClient.d.ts b/sdk/platform/PlatformAPIClient.d.ts
index 57fb213..2846b79 100644
--- a/sdk/platform/PlatformAPIClient.d.ts
+++ b/sdk/platform/PlatformAPIClient.d.ts
@@ -5,9 +5,9 @@ declare class APIClient {
* @param {string} method
* @param {string} url
* @param {object} query
- * @param {string} session
* @param {object} body
+ * @param {object} headers
*/
- static execute(conf: object, method: string, url: string, query: object, body: object, session: string): Promise;
+ static execute(conf: object, method: string, url: string, query: object, body: object, headers?: object): Promise;
get(url: any, config: any): Promise;
}
diff --git a/sdk/platform/PlatformAPIClient.js b/sdk/platform/PlatformAPIClient.js
index 875ec4a..2a81002 100644
--- a/sdk/platform/PlatformAPIClient.js
+++ b/sdk/platform/PlatformAPIClient.js
@@ -6,22 +6,29 @@ class APIClient {
* @param {string} method
* @param {string} url
* @param {object} query
- * @param {string} session
* @param {object} body
+ * @param {object} headers
*/
- static async execute(conf, method, url, query, body, session) {
- const token = await conf.oauthClient.getAccessToken();
+ static async execute(conf, method, url, query, body, headers = {}) {
+ const isOauthRoute = url?.includes("/oauth/");
+ let token;
+ if (isOauthRoute) {
+ token = Buffer.from(`${conf.apiKey}:${conf.apiSecret}`, "utf8").toString(
+ "base64"
+ );
+ } else {
+ token = await conf.oauthClient.getAccessToken();
+ }
let extraHeaders = conf.extraHeaders.reduce((acc, curr) => {
acc = { ...acc, ...curr };
return acc;
}, {});
- if (session) {
- extraHeaders.cookie = `user.session=${session}`;
- }
if (conf.topSecret) {
extraHeaders["x-merchant-secret"] = conf.topSecret;
}
+ extraHeaders["x-source"] = "platform";
+
const rawRequest = {
baseURL: conf.domain,
method: method,
@@ -29,8 +36,9 @@ class APIClient {
params: query,
data: body,
headers: {
- Authorization: "Bearer " + token,
+ Authorization: (isOauthRoute ? "Basic " : "Bearer ") + token,
...extraHeaders,
+ ...headers,
},
};
diff --git a/sdk/platform/PlatformApplicationClient.d.ts b/sdk/platform/PlatformApplicationClient.d.ts
index 8eeeb3f..bc1d74e 100644
--- a/sdk/platform/PlatformApplicationClient.d.ts
+++ b/sdk/platform/PlatformApplicationClient.d.ts
@@ -7,14 +7,36 @@ declare class PlatformApplicationClient {
setExtraHeaders(header: any): void;
}
declare namespace PlatformApplicationClient {
- export { RefundResponse, UserSource, UserSchema, count, FilterByDate, LenderCount, LenderSchema, TotalUsersPerLender, TotalUsersPerLenderData, TotalUserByLender, UsersByLender, ErrorResponse, EditProfileRequest, VerifyOtpRequest, SendMobileOtpRequest, ReSendMobileOtpRequest, SendOtpRequest, ApplicationUser, SendOtpResponse, EmailUpdate, UserUpdateRequest, LenderUpdateRequest, ProfileEditSuccess, LoginSuccess, VerifyOtpSuccess, LogoutSuccess, OtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, Location, OrderAddress, CustomerObject, Order, OrderUid, CustomerMeta, Device, VerifyCustomer, CreateTransaction, ResendPaymentRequest, VerifyCustomerSuccess, CreateTransactionSuccess, SupportDocuments, CreateTicketResponse, CreateTicket, InitiateTransactions, GetMobileFromToken, GetDataFromToken, MerchantDetails, InitiateTransactionsSuccess, RetrieveMobileFromToken, CreateDashboardTemplateRequest, TemplateSections, TemplateComponent, PartnerApplications, Offerings, Banners, Tips, DashboardTemplateResponse, SectionSchema, PartnerApplicationsResponse, OfferingsResponse, BannersResponse, TipsSection, TipsResponse, TipsCategories, ActionSchema, UpdateDashboardTemplateRequest, UpdateTemplateSections, UpdateTemplateComponent, UpdatePartnerApplications, UpdateOfferings, UpdateBanners, UpdateTips, NavigationsMobileResponse, TabsSchema, PageSchema, ProfileSectionSchema, ProfileNavigationSchema, SendPNSRegisterRequest, PNSRegisterResponse, FaqResponse, CategorySchema, QuestionSchema, SupportCategories, SupportCategoriesResponse, SanctionLetterResponse, KfsDocumentResponse, UserWhiteListedResponse, UserConsentRequest, Consents, UserConsentRequestV2, UserConsentResponse, UserKycSteps, CreateKycStepRequest, RemoveKycStepRequest, KycUpdateMessage, MobileFromLinkingRequest, MobileFromLinkingResponse, SessionFromLinkingRequest, SessionFromLinkingResponse, LinkAccount, LinkAccountSuccess, UnlinkAccount, UnlinkAccountSuccess, Refund, Translation, FilterKeys, FilterValues, Filters, PageResponse, UserResponse, UserDetailRequest, UserConsents, CreditScoreSchema, CreditLimitSchema, Screen, UserStateSchema, GetAccessTokenResponse, RefreshTokenResponse, RefreshTokenRequest, Items, RefundStatusList, RefundStatus, GetSchemesSuccess, CustomerMetricsPivots, CustomerMetricsSubResponse, CustomerMetricsAnalytics, CustomerMetricsFilters, CustomerMetrics, SchemeResponse, SchemePaymentOptionsResponse, SchemeEmiPaymentOptionResponse, SchemeEmiScheduleResponse, SchemePayLaterPaymentOptionResponse, LimitResponse, AvailableOrPossibleLender, GetSchemesRequest, CustomerMetricsResponse, CustomerMetricsRequest, SourceAnalyticsRequest, LenderResponse, CreditLimitObject, BusinessDetails, DocumentItems, VintageItems, EligibilitySuccess, CheckEligibilityRequest, EmiSchedule, PaymentOption, PaymentOptions, LenderAndPaymentOption, GetSchemesSuccessOld, PageSchemaResponse, userCountRequest, IntegrationResponseMeta, IntegrationResponseError, IntegrationSuccessResponse, IntegrationErrorResponse, DisbursalRequest, WorkflowUser, EligiblePlansRequest, EligiblePlans, EligiblePlansResponse, DisbursalResponse, OrderStatus, DisbursalStatusRequest, Transactions, LenderDetail, TransactionResponse, GetReconciliationFileResponse, ReconFile, UploadReconciliationFileRequest, UploadReconciliationFileResponse, TransactionCount, RefundCount, OrganizationTransactionsCount, OrganizationTransactionsSum, UniqueCustomersInOrg, TransactionAmount, SchemaForOneDayTotal, SumofOneDayTransactions, AverageTransaction, AllTransactionsResponse, TotalRefund, TotalRepayment, TotalOverDue, TotalLoansDisbursed, OrganizationTransactionResponse, TrFilters, TrPageResponse, OrgTransactions, TrFilterKeys, TrFilterValues, KfsRequest, KfsResponse, LenderTransactionState, TransactionStateResponse, Theme, Emi, MetricPivots, TransactionMetricSubResponse, TransactionMetrics, LenderCustomerTransactionMetricsFilters, LenderCustomerTransactionMetrics, LenderCustomerTransactionMetricsResponse, LenderCustomerTransactionMetricsRequest, TransactionOrder, TransactionMerchant, TransactionLoan, TransactionLender, UserTransaction, Pagination, GetTransactionsData, GetTransactionsResponse, SummaryRequest, Lender, UserLender, SourceCreditReport, Document, UserKycDetail, Form, LenderKycStepMap, UserKycLenderStepMap, ProofOfIdentity, ProofOfAddress, EAadhaarData, EntityMapDto, EntityDto, MerchantSchema, Consent, ValidatePanRequest, BankDetails, DocumentData, ConfirmPanRequest, LivelinessDetails, UploadDocumentRequest, UploadDocumentRequestV1, UploadDocumentRequestV3, AadhaarRequest, UploadAadhaarRequest, UploadLivelinessRequest, UploadAadhaarRequestV1, UploadLivelinessRequestV1, UploadAadhaarRequestV2, UploadLivelinessRequestV2, UploadAadhaarRequestV3, UploadLivelinessRequestV3, UploadBankDetailsRequest, InitiateKycRequest, InitiateKycRequestV1, LenderOnboardRequest, LenderOnboardRequestV1, UpdateLenderStatusRequest, UpdateProfileRequest, UpdateEntityRequest, CreateKycStepsRequest, CreateLenderPgConfigRequest, CreateLenderStateRequest, UpdateLenderRequest, OtherPolicyFilters, GetPolicyFilters, GetPolicyFilters2, MerchantConfigRequest, PanDetails, AvailableLendersRequest, InitialData, ExecutePolicyRequest, ExecutePolicyRequest2, RegisterGstRequest, PopulateFormRequest, ValidateFormFieldRequest, MerchantMetricFilter, LenderCustomerMetricsRequest, StonewallCustomer, GetLimitRequest, DocumentObject, ManualKycRequest, RetriggerLenderOnboardRequest, BusinessDetail, VintageData, DocumentObjects, KycCountByStatus, FindDocResponse, LenderKycStatus, StateResponeDto, KycStateMachineDto, InitiateKycDto, LenderOnboardDto, StepDetails, OnboardStatusDto, LenderFilters, Policy, OrganizationLogosObject, MetricSubTypes, MetricTypes, BreApprovedUsersResponse, Metrics, MetricData, GetAllUserLendersByEnityId, ApprovedLenders, BreResultStatus, LenderState, UserLenderState, LenderConfig, Pg, LenderPgConfig, FileUploadResponse, PresignedUrl, PresignedUrlV2, LenderDocument, KycStatusResponse, WorkflowResponse, Action, InitiateKycResponse, UploadDocResponse, LenderOnboardResponse, OnboardingStatusResponse, SignedUrlResponse, SignedUrlV2Response, PresignedUrlV3, SignedUrlV3Response, DigilockerLinkResponse, GetDocumentsResponse, ApprovedLendersTransaction, ApprovedPossibleLenders, AvailableLenders, CreditLimit, CreditLimitResponse, LenderPgConfigResponse, GetLendersResponse, LenderConfigurationResponse, UpsertLenderResponse, UpsertLenderConfigResponse, CreateKycStepsSchema, CreatePaymentGatewaySchema, CreateLenderStateSchema, GetAllPaymentGatewaysSchema, PolicyResponse, CreditCheckBreResponse, MerchantConfigResponse, UserLenderByIdAndStatusResponse, IntgrAvailableCreditLimit, IngtrAvailableLimit, IntgrCreditLimit, PossibleLendersInternal, PossibleLendersInternalResponse, GetTotalKycResponse, GetTotalKycCompletedUsersResponse, GetTotalPendingUsersResponse, GetTotalCreditProvidedResponse, MetaSchemaResponse, MetaSchema, AddMetaSchema, AddMetaSchemaRequest, ValidatePanResponse, ConfirmPanResonse, LenderCountResponse, OnboardStepsDto, OnboardStepsResponse, LenderDocumentResponse, GetUserLendersResponse, CreditReportResponse, KycDetailsReponse, GetDocumentByIdResponse, GetAllFormsResponse, UpsertFormResponse, GstDetails, GstDetailsResponse, RegisterGstResponse, PopulateFormResponse, ValidateFormFieldResponse, LenderCustomerMetricsResponse, BreOutput, ManualKycResponse, CustomerKycDetailsReponse, BlockUserRequestSchema, EditEmailRequestSchema, SendVerificationLinkMobileRequestSchema, EditMobileRequestSchema, UpdateEmail, EditProfileRequestSchema, EditProfileMobileSchema, SendEmailOtpRequestSchema, VerifyEmailOtpRequestSchema, ReSendMobileOtpRequestSchema, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, BlockUserSuccess, EmailOtpSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, UserObjectSchema, CreateOrganization, UpdateLogo, AddMetaSchemaResponse, UpdateOrganization, UpdateFinancials, Documents, FinancialDetails, GetOrganization, OrganizationDetails, Organization, OrganizationList, OrganizationCount, TeamMembers, Member, Profile, AddTeamMember, UpdateTeamMemberRole, RemoveTeamMemberResponse, AddTeamMemberResponse, ApiKey, UpdateApiHook, ApiHookDetails, UpdateApiHookResponse, OrganizationIp, AddOrganizationIpDetails, AddUpdateCsvFileResponse, AddUpdateCsvFileRequest, CsvFile, AddReportCsvFileResponse, AddReportCsvFileRequest, ReportCsvFileResponse, AddReportRequestArray, AddReportRequest, AddReportResponseArray, AddReportResponse, VintageDataResponseObject, VintageDataResponse, AddSkuRequestArray, AddSkuRequest, AddSkuResponse, RestrictedSkuSchema, OrganizationIpResponse, OrganizationIpDetails, RefundSuccess, RefundItem, PaymentLinkResponse, ApplicationCutomer, GeoLocation, Address, OrderItems, PaymentLinkRequest, UpdateLenderStatusSchemaRequest, UpdateLenderStatusSchemaResponse, CreateUserRequestSchema, CreateUserResponseSchema };
+ export { IntegrationResponseMeta, IntegrationResponseError, IntegrationSuccessResponse, IntegrationErrorResponse, RefundResponse, UserSource, UserSchema, count, FilterByDate, LenderCount, LenderSchema, TotalUsersPerLender, TotalUsersPerLenderData, TotalUserByLender, UsersByLender, ErrorResponse, EditProfileRequest, VerifyOtpRequest, SendMobileOtpRequest, ReSendMobileOtpRequest, SendOtpRequest, ApplicationUser, SendOtpResponse, EmailUpdate, UserUpdateRequest, LenderUpdateRequest, ProfileEditSuccess, LoginSuccess, VerifyOtpSuccess, LogoutSuccess, OtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, Location, OrderAddress, CustomerObject, Order, VerifyOrder, OrderUid, CustomerMeta, Device, ValidateCustomer, CreateTransaction, ResendPaymentRequest, ValidateCustomerSuccess, CreateTransactionSuccess, SupportDocuments, CreateTicketResponse, CreateTicket, InitiateTransactions, GetMobileFromToken, GetDataFromToken, MerchantDetails, InitiateTransactionsSuccess, RetrieveMobileFromToken, CreateDashboardTemplateRequest, TemplateSections, TemplateComponent, PartnerApplications, Offerings, Banners, Tips, DashboardTemplateResponse, SectionSchema, PartnerApplicationsResponse, OfferingsResponse, BannersResponse, TipsSection, TipsResponse, TipsCategories, ActionSchema, UpdateDashboardTemplateRequest, UpdateTemplateSections, UpdateTemplateComponent, UpdatePartnerApplications, UpdateOfferings, UpdateBanners, UpdateTips, MerchantDetailsResponse, NavigationsMobileResponse, TabsSchema, PageSchema, ProfileSectionSchema, ProfileNavigationSchema, SendPNSRegisterRequest, PNSRegisterResponse, FaqResponse, CategorySchema, QuestionSchema, SupportCategories, SupportCategoriesResponse, SanctionLetterResponse, KfsDocumentResponse, UserWhiteListedResponse, UserConsentRequest, Consents, UserConsentRequestV2, UserConsentResponse, UserKycSteps, CreateKycStepRequest, RemoveKycStepRequest, KycUpdateMessage, MobileFromLinkingRequest, MobileFromLinkingResponse, SessionFromLinkingRequest, SessionFromLinkingResponse, LinkAccount, LinkAccountSuccess, UnlinkAccount, UnlinkAccountSuccess, Refund, Translation, FilterKeys, FilterValues, Filters, PageResponse, UserResponseData, UserResponse, UserDetailRequest, UserConsents, CreditScoreSchema, CreditLimitSchema, Screen, UserStateSchema, GetAccessTokenResponse, RefreshTokenResponse, RefreshTokenRequest, Items, RefundStatusList, RefundStatus, GetSchemesSuccess, CustomerMetricsPivots, CustomerMetricsSubResponse, CustomerMetricsAnalytics, CustomerMetricsFilters, CustomerMetrics, SchemeResponse, SchemePaymentOptionsResponse, SchemeEmiPaymentOptionResponse, SchemeEmiScheduleResponse, SchemePayLaterPaymentOptionResponse, LimitResponse, AvailableOrPossibleLender, GetSchemesRequest, CustomerMetricsResponse, CustomerMetricsRequest, SourceAnalyticsRequest, LenderResponse, CreditLimitObject, BusinessDetails, DocumentItems, VintageItems, EligibilitySuccess, CheckEligibilityRequest, EmiSchedule, PaymentOption, PaymentOptions, LenderAndPaymentOption, GetSchemesSuccessOld, PageSchemaResponse, userCountRequest, RepaymentRequest, RepaymentResponse, RepaymentResponseData, VerifyMagicLinkResponse, VerifyMagicLinkRequest, VintageData, AddVintageResponse, DisbursalRequest, WorkflowUser, EligiblePlansRequest, EligiblePlans, EligiblePlansResponse, DisbursalResponse, OrderStatus, DisbursalStatusRequest, Transactions, GroupedEmiLoanAccount, GroupedEmi, TransactionDetails, TransactionSummary, TransactionSummaryData, TransactionSummaryDataDisplay, TransactionSummaryDataDisplayType, LenderDetail, TransactionResponse, GetReconciliationFileResponse, ReconFile, UploadReconciliationFileRequest, UploadReconciliationFileResponse, TransactionCount, RefundCount, OrganizationTransactionsCount, OrganizationTransactionsSum, UniqueCustomersInOrg, TransactionAmount, SchemaForOneDayTotal, SumofOneDayTransactions, AverageTransaction, AllTransactionsResponse, TotalRefund, TotalRepayment, TotalOverDue, TotalLoansDisbursed, OrganizationTransactionResponse, TrFilters, TrPageResponse, OrgTransactions, TrFilterKeys, TrFilterValues, KfsRequest, KfsResponse, LenderTransactionState, TransactionStateResponse, Theme, Emi, MetricPivots, TransactionMetricSubResponse, TransactionMetrics, LenderCustomerTransactionMetricsFilters, LenderCustomerTransactionMetrics, LenderCustomerTransactionMetricsResponse, LenderCustomerTransactionMetricsRequest, OrderShipmentAddressGeoLocation, OrderShipmentAddress, OrderShipmentItem, OrderShipment, OrderDeliveryUpdatesBody, OrderShipmentSummary, OrderShipmentResponse, OrderDeliveryUpdatesData, OrderDeliveryUpdatesResponse, OrderDeliveryUpdatesPartialResponse, OrderDeliveryUpdatesError, TransactionOrderSummary, TransactionOrder, TransactionMerchant, TransactionLoan, TransactionLoanEmi, TransactionLender, UserTransaction, Pagination, GetTransactionsData, GetTransactionsResponse, SettlementTransactions, GetSettlementTransactionsData, GetSettlementTransactionsResponse, SummaryRequest, RegisterTransaction, RegisterTransactionResponseData, RegisterTransactionResponseResult, RegisterTransactionResponse, UpdateTransactionRequest, UpdateTransactionResponse, Lender, UserLender, SourceCreditReport, Document, UserKycDetail, Form, LenderKycStepMap, UserKycLenderStepMap, ProofOfIdentity, ProofOfAddress, EAadhaarData, EntityMapDto, EntityDto, MerchantSchema, Consent, ValidatePanRequest, BankDetails, DocumentData, ConfirmPanRequest, LivelinessDetails, UploadDocumentRequest, UploadDocumentRequestV1, UploadDocumentRequestV3, AadhaarRequest, UploadAadhaarRequest, UploadLivelinessRequest, UploadAadhaarRequestV1, UploadLivelinessRequestV1, UploadAadhaarRequestV2, UploadLivelinessRequestV2, UploadAadhaarRequestV3, UploadLivelinessRequestV3, UploadBankDetailsRequest, InitiateKycRequest, InitiateKycRequestV1, LenderOnboardRequest, LenderOnboardRequestV1, UpdateLenderStatusRequest, UpdateProfileRequest, UpdateEntityRequest, CreateKycStepsRequest, CreateLenderPgConfigRequest, CreateLenderStateRequest, UpdateLenderRequest, OtherPolicyFilters, GetPolicyFilters, GetPolicyFilters2, MerchantConfigRequest, PanDetails, AvailableLendersRequest, InitialData, ExecutePolicyRequest, ExecutePolicyRequest2, RegisterGstRequest, PopulateFormRequest, ValidateFormFieldRequest, MerchantMetricFilter, LenderCustomerMetricsRequest, StonewallCustomer, GetLimitRequest, DocumentObject, ManualKycRequest, RetriggerLenderOnboardRequest, RetriggerLenderOnboardRequestV2, BusinessDetail, DocumentObjects, AddVintageRequest, KycCountByStatus, FindDocResponse, LenderKycStatus, StateResponeDto, KycStateMachineDto, InitiateKycDto, LenderOnboardDto, StepDetails, OnboardStatusDto, LenderFilters, Policy, OrganizationLogosObject, MetricSubTypes, MetricTypes, BreApprovedUsersResponse, Metrics, MetricData, GetAllUserLendersByEnityId, ApprovedLenders, BreResultStatus, LenderState, UserLenderState, LenderConfig, Pg, LenderPgConfig, FileUploadResponse, PresignedUrl, PresignedUrlV2, LenderDocument, Commercial, KycStatusResponse, WorkflowResponse, Action, InitiateKycResponse, UploadDocResponse, LenderOnboardResponse, OnboardingStatusResponse, SignedUrlResponse, SignedUrlV2Response, PresignedUrlV3, SignedUrlV3Response, DigilockerLinkResponse, GetDocumentsResponse, ApprovedLendersTransaction, ApprovedPossibleLenders, AvailableLenders, CreditLimit, CreditLimitResponse, LenderPgConfigResponse, GetLendersResponse, LenderConfigurationResponse, UpsertLenderResponse, UpsertLenderConfigResponse, CreateKycStepsSchema, CreatePaymentGatewaySchema, CreateLenderStateSchema, GetAllPaymentGatewaysSchema, PolicyResponse, CreditCheckBreResponse, MerchantConfigResponse, UserLenderByIdAndStatusResponse, IntgrAvailableCreditLimit, IngtrAvailableLimit, IntgrCreditLimit, PossibleLendersInternal, PossibleLendersInternalResponse, GetTotalKycResponse, GetTotalKycCompletedUsersResponse, GetTotalPendingUsersResponse, GetTotalCreditProvidedResponse, MetaSchemaResponse, MetaSchema, AddMetaSchema, AddMetaSchemaRequest, ValidatePanResponse, ConfirmPanResonse, LenderCountResponse, OnboardStepsDto, OnboardStepsResponse, LenderDocumentResponse, GetUserLendersResponse, CreditReportResponse, KycDetailsReponse, GetDocumentByIdResponse, GetAllFormsResponse, UpsertFormResponse, GstDetails, GstDetailsResponse, RegisterGstResponse, PopulateFormResponse, ValidateFormFieldResponse, LenderCustomerMetricsResponse, BreOutput, ManualKycResponse, CustomerKycDetailsReponse, PlatformFees, CommercialResponse, BlockUserRequestSchema, EditEmailRequestSchema, SendVerificationLinkMobileRequestSchema, EditMobileRequestSchema, UpdateEmail, EditProfileRequestSchema, EditProfileMobileSchema, SendEmailOtpRequestSchema, VerifyEmailOtpRequestSchema, ReSendMobileOtpRequestSchema, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, BlockUserSuccess, EmailOtpSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, UserObjectSchema, CreateOrganization, UpdateLogo, AddMetaSchemaResponse, UpdateOrganization, UpdateFinancials, Documents, FinancialDetails, GetOrganization, OrganizationDetails, Organization, OrganizationList, OrganizationCount, TeamMembers, Member, Profile, AddTeamMember, UpdateTeamMemberRole, RemoveTeamMemberResponse, AddTeamMemberResponse, ApiKey, UpdateApiHook, ApiHookDetails, UpdateApiHookResponse, OrganizationIp, AddOrganizationIpDetails, AddUpdateCsvFileResponse, AddUpdateCsvFileRequest, CsvFile, AddReportCsvFileResponse, AddReportCsvFileRequest, ReportCsvFileResponse, AddReportRequestArray, AddReportRequest, AddReportResponseArray, AddReportResponse, VintageDataResponseObject, VintageDataResponse, AddSkuRequestArray, AddSkuRequest, AddSkuResponse, RestrictedSkuSchema, OrganizationIpResponse, OrganizationIpDetails, RefundSuccess, RefundItem, ValidateCredentialsData, ValidateCredentialsResponse, PaymentLinkResponse, ApplicationCutomer, GeoLocation, Address, OrderItems, PaymentLinkRequest, UpdateLenderStatusSchemaRequest, UpdateLenderStatusSchemaResponse, LenderTheme, LenderDetails, OutstandingData, OutstandingDetailsResponse, CreateUserRequestSchema, CreateUserResponseSchema, RepaymentUsingNetbanking, RepaymentUsingNetbankingResponse, RepaymentUsingUPI, RepaymentUsingUPIResponse, RegisterUPIMandateRequest, RegisterUPIMandateResponse, RegisterUPIMandateStatusCheckRequest, RegisterMandateStatusCheckResponse, TransactionStatusRequest, TransactionStatusResponse, BankList, PaymentsObject, OutstandingDetail, OutstandingSummary, DueSummaryOutstanding, OutstandingMessage, UserCredit, DueTransactionsOutstanding, RepaymentSummaryOutstanding, OutstandingDetailsRepayment, PaymentOptionsResponse, CheckEMandateStatusRequest, AutoPayStatusResponse, OutstandingDetailsData };
}
+type IntegrationResponseMeta = {
+ timestamp: string;
+ version: string;
+ product: string;
+ requestId?: string;
+};
+type IntegrationResponseError = {
+ code: string;
+ message: string;
+ exception: string;
+ field?: string;
+ location?: string;
+};
+type IntegrationSuccessResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: any;
+};
+type IntegrationErrorResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ errors?: IntegrationResponseError[];
+};
type RefundResponse = {
status?: string;
message?: string;
transactionId?: string;
refundId?: string;
- __headers?: any;
};
type UserSource = {
userId?: string;
@@ -150,15 +172,15 @@ type EmailUpdate = {
email?: string;
};
type UserUpdateRequest = {
- firstName?: any;
- lastName?: any;
+ firstName?: any | any;
+ lastName?: any | any;
countryCode: string;
mobile: string;
- email?: any;
- gender?: any;
- dob?: any;
+ email?: any | any;
+ gender?: any | any;
+ dob?: any | any;
active?: boolean;
- profilePictureUrl?: any;
+ profilePictureUrl?: any | any;
isEmailVerified?: boolean;
};
type LenderUpdateRequest = {
@@ -231,7 +253,7 @@ type OrderAddress = {
type CustomerObject = {
countryCode?: string;
mobile: string;
- uid: string;
+ uid?: string;
email?: string;
firstname?: string;
middleName?: string;
@@ -244,6 +266,13 @@ type Order = {
shippingAddress?: OrderAddress;
billingAddress?: OrderAddress;
};
+type VerifyOrder = {
+ valueInPaise: number;
+ uid?: string;
+ items?: Items[];
+ shippingAddress?: OrderAddress;
+ billingAddress?: OrderAddress;
+};
type OrderUid = {
valueInPaise?: number;
uid: string;
@@ -264,9 +293,9 @@ type Device = {
latitude?: number;
longitude?: number;
};
-type VerifyCustomer = {
+type ValidateCustomer = {
customer: CustomerObject;
- order: Order;
+ order: VerifyOrder;
device: Device;
meta?: any;
fetchLimitOptions?: boolean;
@@ -287,13 +316,12 @@ type ResendPaymentRequest = {
customer: CustomerObject;
order: OrderUid;
};
-type VerifyCustomerSuccess = {
+type ValidateCustomerSuccess = {
status: string;
userStatus: string;
message: string;
schemes?: SchemeResponse[];
limit?: LimitResponse;
- __headers?: any;
};
type CreateTransactionSuccess = {
chargeToken?: string;
@@ -302,7 +330,6 @@ type CreateTransactionSuccess = {
transactionId?: string;
status?: string;
userStatus?: string;
- __headers?: any;
};
type SupportDocuments = {
fileName?: string;
@@ -320,6 +347,7 @@ type CreateTicket = {
};
type InitiateTransactions = {
token: string;
+ intent?: string;
};
type GetMobileFromToken = {
token: string;
@@ -340,6 +368,7 @@ type InitiateTransactionsSuccess = {
order?: Order;
isAsp?: boolean;
merchant?: MerchantDetails;
+ redirectUrl?: string;
};
type RetrieveMobileFromToken = {
countryCode: string;
@@ -510,12 +539,25 @@ type UpdateTips = {
sequence?: number;
active?: boolean;
};
+type MerchantDetailsResponse = {
+ id?: string;
+ website?: string;
+ businessAddress?: string;
+ pincode?: string;
+ logo?: string;
+ gstIn?: string;
+ businessName?: string;
+ name?: string;
+ supportEmail?: string;
+ description?: string;
+};
type NavigationsMobileResponse = {
tabs: TabsSchema[];
profileSections: ProfileSectionSchema[];
};
type TabsSchema = {
title: string;
+ action?: ActionSchema;
page: PageSchema;
icon: string;
activeIcon: string;
@@ -646,7 +688,6 @@ type LinkAccountSuccess = {
status?: string;
message?: string;
errorCode?: string;
- __headers?: any;
};
type UnlinkAccount = {
customer: CustomerObject;
@@ -658,7 +699,6 @@ type UnlinkAccountSuccess = {
statusCode: number;
userStatus?: string;
errorCode?: string;
- __headers?: any;
};
type Refund = {
fingerprint?: string;
@@ -694,11 +734,16 @@ type PageResponse = {
size: number;
itemTotal: number;
};
-type UserResponse = {
+type UserResponseData = {
filters: Filters[];
page: PageResponse;
listOfUsers: UserSchema[];
};
+type UserResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: UserResponseData;
+};
type UserDetailRequest = {
id: string;
};
@@ -778,12 +823,10 @@ type RefundStatus = {
lenderId?: string;
loanAccountNumber?: string;
refund?: RefundStatusList[];
- __headers?: any;
};
type GetSchemesSuccess = {
userId?: string;
lenders: SchemeResponse[];
- __headers?: any;
};
type CustomerMetricsPivots = {
date?: string;
@@ -931,10 +974,7 @@ type EligibilitySuccess = {
type CheckEligibilityRequest = {
customer: CustomerObject;
order?: Order;
- businessDetails?: BusinessDetails;
- documents?: DocumentItems[];
device: Device;
- vintage?: VintageItems[];
meta?: any;
fetchLimitOptions?: boolean;
};
@@ -983,28 +1023,43 @@ type userCountRequest = {
startDate?: string;
endDate?: string;
};
-type IntegrationResponseMeta = {
- timestamp: string;
- version: string;
- product: string;
- requestId?: string;
-};
-type IntegrationResponseError = {
- code: string;
- message: string;
- exception: string;
- field?: string;
- in?: string;
+type RepaymentRequest = {
+ mobile: string;
+ countryCode?: string;
+ target?: string;
+ callbackUrl: string;
+ lenderSlug?: string;
};
-type IntegrationSuccessResponse = {
+type RepaymentResponse = {
message: string;
meta: IntegrationResponseMeta;
- data: any;
+ data: RepaymentResponseData;
};
-type IntegrationErrorResponse = {
- message: string;
- meta: IntegrationResponseMeta;
- errors?: IntegrationResponseError[];
+type RepaymentResponseData = {
+ repaymentUrl?: string;
+};
+type VerifyMagicLinkResponse = {
+ user: UserSchema;
+ scope?: string[];
+ redirectPath: string;
+ callbackUrl?: string;
+ meta?: any;
+};
+type VerifyMagicLinkRequest = {
+ token: string;
+};
+type VintageData = {
+ customer?: CustomerObject;
+ businessDetails: BusinessDetails;
+ documents?: DocumentItems[];
+ device?: Device;
+ vintage: VintageItems[];
+ meta?: any;
+};
+type AddVintageResponse = {
+ mesasge?: string;
+ meta?: IntegrationResponseMeta;
+ data?: any;
};
type DisbursalRequest = {
fingerprint?: string;
@@ -1017,6 +1072,7 @@ type DisbursalRequest = {
data?: any;
transactionId?: string;
lenderSlug?: string;
+ intent?: string;
};
type WorkflowUser = {
mobile?: string;
@@ -1036,7 +1092,6 @@ type EligiblePlans = {
};
type EligiblePlansResponse = {
eligiblePlans?: EligiblePlans[];
- __headers?: any;
};
type DisbursalResponse = {
transactionId?: string;
@@ -1048,7 +1103,6 @@ type OrderStatus = {
transactionId?: string;
status: string;
message: string;
- __headers?: any;
};
type DisbursalStatusRequest = {
fingerprint?: string;
@@ -1080,6 +1134,80 @@ type Transactions = {
lenderDetail?: LenderDetail;
emis?: Emi[];
};
+type GroupedEmiLoanAccount = {
+ loanAccountNumber: string;
+ kfs?: string;
+ sanctionLetter?: string;
+ remark?: string;
+ createdAt: string;
+ updatedAt: string;
+ amount: number;
+ repaidAmount: number;
+ paid: boolean;
+ overdue: boolean;
+ repaymentDate?: string;
+ paidPercent: number;
+ lenderDetail: LenderDetail;
+};
+type GroupedEmi = {
+ id?: string;
+ installmentno?: number;
+ amount?: number;
+ dueDate?: string;
+ referenceTransactionId?: string;
+ createdAt?: string;
+ updatedAt?: string;
+ paid?: boolean;
+ overdue?: boolean;
+ repaymentDate?: string;
+ paidPercent?: number;
+ repaidAmount?: number;
+ loanAccounts?: GroupedEmiLoanAccount[];
+};
+type TransactionDetails = {
+ id: string;
+ userId: string;
+ partnerId: string;
+ partner: string;
+ partnerLogo: string;
+ status: string;
+ type?: string;
+ remark?: string;
+ amount: number;
+ loanAccountNumber?: string;
+ kfs?: string;
+ utr?: string;
+ sanctionLetter?: string;
+ orderId?: string;
+ refundId?: string;
+ createdAt: string;
+ lenderId?: string;
+ lenderName?: string;
+ lenderLogo?: string;
+ loanType?: string;
+ nextDueDate?: string;
+ paidPercent?: number;
+ lenderDetail?: LenderDetail;
+ emis?: GroupedEmi[];
+ summary?: TransactionSummary;
+};
+type TransactionSummary = {
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+ data: TransactionSummaryData[];
+};
+type TransactionSummaryData = {
+ display?: TransactionSummaryDataDisplay;
+};
+type TransactionSummaryDataDisplay = {
+ primary?: TransactionSummaryDataDisplayType;
+ secondary?: TransactionSummaryDataDisplayType;
+};
+type TransactionSummaryDataDisplayType = {
+ text?: string;
+};
type LenderDetail = {
id?: string;
name?: string;
@@ -1304,9 +1432,89 @@ type LenderCustomerTransactionMetricsRequest = {
lenderId?: string;
pivotPoints?: number;
};
+type OrderShipmentAddressGeoLocation = {
+ latitude: number;
+ longitude: number;
+};
+type OrderShipmentAddress = {
+ line1?: string;
+ line2?: string;
+ city?: string;
+ state?: string;
+ country?: string;
+ pincode?: string;
+ type?: string;
+ geoLocation?: OrderShipmentAddressGeoLocation;
+};
+type OrderShipmentItem = {
+ category?: string;
+ sku?: string;
+ rate?: number;
+ quantity?: number;
+};
+type OrderShipment = {
+ id: string;
+ urn?: string;
+ amount: number;
+ timestamp: string;
+ status: string;
+ remark?: string;
+ items?: OrderShipmentItem[];
+ shippingAddress?: OrderShipmentAddress;
+ billingAddress?: OrderShipmentAddress;
+};
+type OrderDeliveryUpdatesBody = {
+ orderId?: string;
+ transactionId?: string;
+ includeSummary?: boolean;
+ shipments: OrderShipment[];
+};
+type OrderShipmentSummary = {
+ orderAmount: number;
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+};
+type OrderShipmentResponse = {
+ id: string;
+ urn: string;
+ shipmentStatus: string;
+ shipmentAmount: number;
+ processingStatus: string;
+};
+type OrderDeliveryUpdatesData = {
+ orderId: string;
+ transactionId: string;
+ shipments: OrderShipmentResponse[];
+ summary?: OrderShipmentSummary;
+};
+type OrderDeliveryUpdatesResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: OrderDeliveryUpdatesData;
+};
+type OrderDeliveryUpdatesPartialResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: OrderDeliveryUpdatesData;
+ errors?: OrderDeliveryUpdatesError[];
+};
+type OrderDeliveryUpdatesError = {
+ code: string;
+ message: string;
+ exception: string;
+};
+type TransactionOrderSummary = {
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+};
type TransactionOrder = {
id: string;
amount: number;
+ summary?: TransactionOrderSummary;
};
type TransactionMerchant = {
name: string;
@@ -1316,6 +1524,17 @@ type TransactionLoan = {
number: string;
amount: number;
type: string;
+ dueDate: string;
+ repaidAmount: number;
+ isSettled: boolean;
+ emis?: TransactionLoanEmi[];
+};
+type TransactionLoanEmi = {
+ amount: number;
+ dueDate: string;
+ installmentNo: number;
+ repaidAmount: number;
+ isSettled: boolean;
};
type TransactionLender = {
name: string;
@@ -1334,7 +1553,7 @@ type UserTransaction = {
isMasked: boolean;
order?: TransactionOrder;
merchant: TransactionMerchant;
- loan?: TransactionLoan;
+ loans?: TransactionLoan[];
lender?: TransactionLender;
};
type Pagination = {
@@ -1353,7 +1572,24 @@ type GetTransactionsResponse = {
message: string;
meta: IntegrationResponseMeta;
data: GetTransactionsData;
- __headers?: any;
+};
+type SettlementTransactions = {
+ id?: string;
+ utr?: string;
+ amount?: number;
+ settlementStatus?: string;
+ orderId?: string;
+ createdAt?: string;
+ settlementTime?: string;
+};
+type GetSettlementTransactionsData = {
+ transactions: SettlementTransactions[];
+ page: Pagination;
+};
+type GetSettlementTransactionsResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: GetSettlementTransactionsData;
};
type SummaryRequest = {
startDate?: string;
@@ -1361,6 +1597,40 @@ type SummaryRequest = {
merchantId?: string;
type?: string;
};
+type RegisterTransaction = {
+ intent?: string;
+ token: string;
+};
+type RegisterTransactionResponseData = {
+ isExistingOrder?: boolean;
+ transaction?: any;
+ action?: boolean;
+ status?: string;
+ message?: string;
+};
+type RegisterTransactionResponseResult = {
+ redirectUrl?: string;
+};
+type RegisterTransactionResponse = {
+ result?: RegisterTransactionResponseResult;
+ action?: any;
+ data?: RegisterTransactionResponseData;
+ transactionId?: string;
+ status?: string;
+ message?: string;
+};
+type UpdateTransactionRequest = {
+ intent: string;
+ token: string;
+};
+type UpdateTransactionResponse = {
+ result?: RegisterTransactionResponseResult;
+ action?: any;
+ data?: RegisterTransactionResponseData;
+ transactionId?: string;
+ status?: string;
+ message?: string;
+};
type Lender = {
id?: string;
name?: string;
@@ -1829,6 +2099,12 @@ type RetriggerLenderOnboardRequest = {
stepId: string;
data: any;
};
+type RetriggerLenderOnboardRequestV2 = {
+ lenderUserId: string;
+ stepName: string;
+ data: any;
+ entityMapId: string;
+};
type BusinessDetail = {
category: string;
shopName?: string;
@@ -1837,14 +2113,6 @@ type BusinessDetail = {
type?: string;
pincode?: string;
};
-type VintageData = {
- month: number;
- year: number;
- totalTransactions: number;
- totalTransactionAmount: number;
- totalCancellations?: number;
- totalCancellationAmount?: number;
-};
type DocumentObjects = {
number: string;
category: string;
@@ -1855,6 +2123,13 @@ type DocumentObjects = {
issuedBy?: string;
expiryOn?: string;
};
+type AddVintageRequest = {
+ user: any;
+ businessDetails: BusinessDetail;
+ vintageData: VintageData;
+ documents: DocumentObjects;
+ merchant: MerchantSchema;
+};
type KycCountByStatus = {
startDate?: string;
endDate?: string;
@@ -2053,6 +2328,10 @@ type Pg = {
id: string;
name: string;
active: boolean;
+ baseUrl?: string;
+ config?: any;
+ paymentOptions?: any[];
+ credentialsSchema?: any;
};
type LenderPgConfig = {
id?: string;
@@ -2062,6 +2341,8 @@ type LenderPgConfig = {
lenderId: string;
pgId: string;
active: boolean;
+ config?: any;
+ paymentOptions?: any[];
};
type FileUploadResponse = {
fileId: string;
@@ -2093,6 +2374,15 @@ type LenderDocument = {
updatedAt?: string;
deletedAt?: string;
};
+type Commercial = {
+ id?: string;
+ lenderId: string;
+ merchantId: string;
+ commercial: any;
+ active: boolean;
+ createdAt?: string;
+ updatedAt?: string;
+};
type KycStatusResponse = {
isKycInitiated: boolean;
userId: string;
@@ -2157,11 +2447,10 @@ type ApprovedLendersTransaction = {
status: string;
active: boolean;
proposedLimit: number;
- createdAt: any;
- updatedAt: any;
- deletedAt?: any;
+ createdAt: string | string;
+ updatedAt: string | string;
+ deletedAt?: string | string;
isDefault?: boolean;
- __headers?: any;
};
type ApprovedPossibleLenders = {
limit: number;
@@ -2262,7 +2551,6 @@ type IngtrAvailableLimit = {
};
type IntgrCreditLimit = {
limit: IngtrAvailableLimit;
- __headers?: any;
};
type PossibleLendersInternal = {
limit: boolean;
@@ -2399,6 +2687,13 @@ type ManualKycResponse = {
type CustomerKycDetailsReponse = {
data: UserKycLenderStepMap;
};
+type PlatformFees = {
+ customerAcquisitionFee: number;
+ transactionFee: number;
+};
+type CommercialResponse = {
+ data: Commercial;
+};
type BlockUserRequestSchema = {
status?: boolean;
userid?: string[];
@@ -2515,6 +2810,8 @@ type CreateOrganization = {
disbursementIfsc?: string;
businessName?: string;
email?: string;
+ supportEmail?: string;
+ description?: string;
businessAddress?: string;
pincode?: string;
b2b?: boolean;
@@ -2534,12 +2831,12 @@ type AddMetaSchemaResponse = {
};
type UpdateOrganization = {
id: string;
- name?: any;
- logo?: any;
- website?: any;
- disbursementAccountHolderName?: any;
- disbursementAccountNumber?: any;
- disbursementIfsc?: any;
+ name?: any | any;
+ logo?: any | any;
+ website?: any | any;
+ disbursementAccountHolderName?: any | any;
+ disbursementAccountNumber?: any | any;
+ disbursementIfsc?: any | any;
active?: boolean;
};
type UpdateFinancials = {
@@ -2559,6 +2856,8 @@ type FinancialDetails = {
b2c?: boolean;
businessName?: string;
email?: string;
+ supportEmail?: string;
+ description?: string;
businessAddress?: string;
pincode?: string;
documents?: Documents[];
@@ -2805,6 +3104,16 @@ type RefundSuccess = {
type RefundItem = {
items: any[];
};
+type ValidateCredentialsData = {
+ success: boolean;
+ organizationId: string;
+ organizationName?: string;
+};
+type ValidateCredentialsResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: ValidateCredentialsData;
+};
type PaymentLinkResponse = {
status?: string;
message?: string;
@@ -2856,6 +3165,27 @@ type UpdateLenderStatusSchemaResponse = {
enable?: boolean;
data?: any;
};
+type LenderTheme = {
+ iconUrl?: string;
+ logoUrl?: string;
+};
+type LenderDetails = {
+ slug?: string;
+ name?: string;
+ id?: string;
+ theme?: LenderTheme;
+};
+type OutstandingData = {
+ lenderDetails?: LenderDetails;
+ availableLimit?: number;
+ creditLimit?: number;
+ dueAmount?: number;
+ outstandingAmount?: number;
+ dueDate?: string;
+};
+type OutstandingDetailsResponse = {
+ outstandingDetails?: OutstandingData[];
+};
type CreateUserRequestSchema = {
mobile: string;
email?: string;
@@ -2866,3 +3196,156 @@ type CreateUserRequestSchema = {
type CreateUserResponseSchema = {
user?: UserSchema;
};
+type RepaymentUsingNetbanking = {
+ amount: number;
+ bankId: string;
+ bankName: string;
+ chargeToken?: string;
+ transactionId?: string;
+};
+type RepaymentUsingNetbankingResponse = {
+ form?: string;
+ isDifferent?: boolean;
+ outstanding?: string;
+};
+type RepaymentUsingUPI = {
+ amount: number;
+ vpa: string;
+ chargeToken?: string;
+ transactionId?: string;
+};
+type RepaymentUsingUPIResponse = {
+ isDifferent?: boolean;
+ outstanding?: string;
+ status?: string;
+ intentId?: string;
+ transactionId?: string;
+ expiry?: number;
+ interval?: number;
+};
+type RegisterUPIMandateRequest = {
+ vpa?: string;
+};
+type RegisterUPIMandateResponse = {
+ transactionId?: string;
+ expiry?: number;
+ interval?: number;
+};
+type RegisterUPIMandateStatusCheckRequest = {
+ transactionId?: string;
+};
+type RegisterMandateStatusCheckResponse = {
+ status?: string;
+};
+type TransactionStatusRequest = {
+ intentId: string;
+ transactionId: string;
+};
+type TransactionStatusResponse = {
+ success: boolean;
+ methodType?: string;
+ methodSubType?: string;
+ status?: string;
+};
+type BankList = {
+ bankId?: string;
+ bankName?: string;
+ rank?: number;
+ popular?: boolean;
+ imageUrl?: string;
+};
+type PaymentsObject = {
+ title?: string;
+ kind?: string;
+ options?: PaymentOptions[];
+};
+type OutstandingDetail = {
+ status?: string;
+ action?: boolean;
+ message?: OutstandingMessage;
+ credit?: UserCredit;
+ dueSummary?: DueSummaryOutstanding;
+ outstandingSummary?: OutstandingSummary;
+ entityMapId?: string;
+};
+type OutstandingSummary = {
+ totalOutstanding?: number;
+ totalOutstandingWithInterest?: number;
+ totalOutstandingPenalty?: number;
+ availableLimit?: number;
+ isOverdue?: boolean;
+ dueFromDate?: string;
+ repaymentSummary?: RepaymentSummaryOutstanding[];
+};
+type DueSummaryOutstanding = {
+ dueDate?: string;
+ totalDue?: number;
+ totalDueWithInterest?: number;
+ totalDuePenalty?: number;
+ dueTransactions?: DueTransactionsOutstanding[];
+ minAmntDue?: number;
+};
+type OutstandingMessage = {
+ dueMessage?: string;
+ backgroundColor?: string;
+ textColor?: string;
+ isFlexiRepayEnabled?: boolean;
+};
+type UserCredit = {
+ availableLimit?: number;
+ approvedLimit?: number;
+ isEligibleToDrawdown?: boolean;
+};
+type DueTransactionsOutstanding = {
+ loanRequestNo?: string;
+ merchantCategory?: string;
+ installmentAmountWithInterest?: number;
+ installmentAmount?: number;
+ dueAmount?: number;
+ loanType?: string;
+ installmentNo?: string;
+ installmentDueDate?: string;
+ isPastDue?: boolean;
+ isPenaltyCharged?: boolean;
+ penaltyAmount?: number;
+ noOfDaysPenaltyCharged?: number;
+ daysDifference?: number;
+ lenderTransactionId?: string;
+};
+type RepaymentSummaryOutstanding = {
+ loanRequestNo?: string;
+ loanType?: string;
+ merchantCategory?: string;
+ isBbillingTransaction?: boolean;
+ totalInstallmentAmount?: number;
+ totalInstallmentAmountWithInterest?: number;
+ outstandingDetails?: OutstandingDetailsRepayment[];
+};
+type OutstandingDetailsRepayment = {
+ installmentAmountWithInterest?: number;
+ installmentAmount?: number;
+ dueAmount?: number;
+ installmentNo?: string;
+ installmentDueDate?: string;
+ isPastDue?: boolean;
+ loanType?: string;
+ isPenaltyCharged?: boolean;
+ penaltyAmount?: number;
+ noOfDaysPenaltyCharged?: number;
+ lenderTransactionId?: string;
+};
+type PaymentOptionsResponse = {
+ paymentOptions?: PaymentsObject[];
+};
+type CheckEMandateStatusRequest = {
+ orderId?: string;
+ paymentId?: string;
+ scheduledEnd?: string;
+ ruleAmountValue?: string;
+};
+type AutoPayStatusResponse = {
+ status?: string;
+};
+type OutstandingDetailsData = {
+ outstandingDetails: OutstandingData[];
+};
diff --git a/sdk/platform/PlatformApplicationClient.js b/sdk/platform/PlatformApplicationClient.js
index 798bef3..63da210 100644
--- a/sdk/platform/PlatformApplicationClient.js
+++ b/sdk/platform/PlatformApplicationClient.js
@@ -19,13 +19,43 @@ class PlatformApplicationClient {
}
}
+/**
+ * @typedef IntegrationResponseMeta
+ * @property {string} timestamp
+ * @property {string} version
+ * @property {string} product
+ * @property {string} [requestId]
+ */
+
+/**
+ * @typedef IntegrationResponseError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ * @property {string} [field]
+ * @property {string} [location]
+ */
+
+/**
+ * @typedef IntegrationSuccessResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {Object} data
+ */
+
+/**
+ * @typedef IntegrationErrorResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {IntegrationResponseError[]} [errors]
+ */
+
/**
* @typedef RefundResponse
* @property {string} [status]
* @property {string} [message]
* @property {string} [transactionId]
* @property {string} [refundId]
- * @property {Object} [__headers]
*/
/**
@@ -201,15 +231,15 @@ class PlatformApplicationClient {
/**
* @typedef UserUpdateRequest
- * @property {Object} [firstName]
- * @property {Object} [lastName]
+ * @property {Object | any} [firstName]
+ * @property {Object | any} [lastName]
* @property {string} countryCode
* @property {string} mobile
- * @property {Object} [email]
- * @property {Object} [gender]
- * @property {Object} [dob]
+ * @property {Object | any} [email]
+ * @property {Object | any} [gender]
+ * @property {Object | any} [dob]
* @property {boolean} [active]
- * @property {Object} [profilePictureUrl]
+ * @property {Object | any} [profilePictureUrl]
* @property {boolean} [isEmailVerified]
*/
@@ -304,7 +334,7 @@ class PlatformApplicationClient {
* @typedef CustomerObject
* @property {string} [countryCode]
* @property {string} mobile
- * @property {string} uid
+ * @property {string} [uid]
* @property {string} [email]
* @property {string} [firstname]
* @property {string} [middleName]
@@ -320,6 +350,15 @@ class PlatformApplicationClient {
* @property {OrderAddress} [billingAddress]
*/
+/**
+ * @typedef VerifyOrder
+ * @property {number} valueInPaise
+ * @property {string} [uid]
+ * @property {Items[]} [items]
+ * @property {OrderAddress} [shippingAddress]
+ * @property {OrderAddress} [billingAddress]
+ */
+
/**
* @typedef OrderUid
* @property {number} [valueInPaise]
@@ -347,9 +386,9 @@ class PlatformApplicationClient {
*/
/**
- * @typedef VerifyCustomer
+ * @typedef ValidateCustomer
* @property {CustomerObject} customer
- * @property {Order} order
+ * @property {VerifyOrder} order
* @property {Device} device
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
@@ -376,13 +415,12 @@ class PlatformApplicationClient {
*/
/**
- * @typedef VerifyCustomerSuccess
+ * @typedef ValidateCustomerSuccess
* @property {string} status
* @property {string} userStatus
* @property {string} message
* @property {SchemeResponse[]} [schemes]
* @property {LimitResponse} [limit]
- * @property {Object} [__headers]
*/
/**
@@ -393,7 +431,6 @@ class PlatformApplicationClient {
* @property {string} [transactionId]
* @property {string} [status]
* @property {string} [userStatus]
- * @property {Object} [__headers]
*/
/**
@@ -419,6 +456,7 @@ class PlatformApplicationClient {
/**
* @typedef InitiateTransactions
* @property {string} token
+ * @property {string} [intent]
*/
/**
@@ -447,6 +485,7 @@ class PlatformApplicationClient {
* @property {Order} [order]
* @property {boolean} [isAsp]
* @property {MerchantDetails} [merchant]
+ * @property {string} [redirectUrl]
*/
/**
@@ -666,6 +705,20 @@ class PlatformApplicationClient {
* @property {boolean} [active]
*/
+/**
+ * @typedef MerchantDetailsResponse
+ * @property {string} [id]
+ * @property {string} [website]
+ * @property {string} [businessAddress]
+ * @property {string} [pincode]
+ * @property {string} [logo]
+ * @property {string} [gstIn]
+ * @property {string} [businessName]
+ * @property {string} [name]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
+ */
+
/**
* @typedef NavigationsMobileResponse
* @property {TabsSchema[]} tabs
@@ -675,6 +728,7 @@ class PlatformApplicationClient {
/**
* @typedef TabsSchema
* @property {string} title
+ * @property {ActionSchema} [action]
* @property {PageSchema} page
* @property {string} icon
* @property {string} activeIcon
@@ -859,7 +913,6 @@ class PlatformApplicationClient {
* @property {string} [status]
* @property {string} [message]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
@@ -875,7 +928,6 @@ class PlatformApplicationClient {
* @property {number} statusCode
* @property {string} [userStatus]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
@@ -925,12 +977,19 @@ class PlatformApplicationClient {
*/
/**
- * @typedef UserResponse
+ * @typedef UserResponseData
* @property {Filters[]} filters
* @property {PageResponse} page
* @property {UserSchema[]} listOfUsers
*/
+/**
+ * @typedef UserResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {UserResponseData} data
+ */
+
/**
* @typedef UserDetailRequest
* @property {string} id
@@ -1033,14 +1092,12 @@ class PlatformApplicationClient {
* @property {string} [lenderId]
* @property {string} [loanAccountNumber]
* @property {RefundStatusList[]} [refund]
- * @property {Object} [__headers]
*/
/**
* @typedef GetSchemesSuccess
* @property {string} [userId]
* @property {SchemeResponse[]} lenders
- * @property {Object} [__headers]
*/
/**
@@ -1234,10 +1291,7 @@ class PlatformApplicationClient {
* @typedef CheckEligibilityRequest
* @property {CustomerObject} customer
* @property {Order} [order]
- * @property {BusinessDetails} [businessDetails]
- * @property {DocumentItems[]} [documents]
* @property {Device} device
- * @property {VintageItems[]} [vintage]
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
*/
@@ -1302,34 +1356,55 @@ class PlatformApplicationClient {
*/
/**
- * @typedef IntegrationResponseMeta
- * @property {string} timestamp
- * @property {string} version
- * @property {string} product
- * @property {string} [requestId]
+ * @typedef RepaymentRequest
+ * @property {string} mobile
+ * @property {string} [countryCode]
+ * @property {string} [target]
+ * @property {string} callbackUrl
+ * @property {string} [lenderSlug]
*/
/**
- * @typedef IntegrationResponseError
- * @property {string} code
+ * @typedef RepaymentResponse
* @property {string} message
- * @property {string} exception
- * @property {string} [field]
- * @property {string} [in]
+ * @property {IntegrationResponseMeta} meta
+ * @property {RepaymentResponseData} data
*/
/**
- * @typedef IntegrationSuccessResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {Object} data
+ * @typedef RepaymentResponseData
+ * @property {string} [repaymentUrl]
*/
/**
- * @typedef IntegrationErrorResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {IntegrationResponseError[]} [errors]
+ * @typedef VerifyMagicLinkResponse
+ * @property {UserSchema} user
+ * @property {string[]} [scope]
+ * @property {string} redirectPath
+ * @property {string} [callbackUrl]
+ * @property {Object} [meta]
+ */
+
+/**
+ * @typedef VerifyMagicLinkRequest
+ * @property {string} token
+ */
+
+/**
+ * @typedef VintageData
+ * @property {CustomerObject} [customer]
+ * @property {BusinessDetails} businessDetails
+ * @property {DocumentItems[]} [documents]
+ * @property {Device} [device]
+ * @property {VintageItems[]} vintage
+ * @property {Object} [meta]
+ */
+
+/**
+ * @typedef AddVintageResponse
+ * @property {string} [mesasge]
+ * @property {IntegrationResponseMeta} [meta]
+ * @property {Object} [data]
*/
/**
@@ -1344,6 +1419,7 @@ class PlatformApplicationClient {
* @property {Object} [data]
* @property {string} [transactionId]
* @property {string} [lenderSlug]
+ * @property {string} [intent]
*/
/**
@@ -1371,7 +1447,6 @@ class PlatformApplicationClient {
/**
* @typedef EligiblePlansResponse
* @property {EligiblePlans[]} [eligiblePlans]
- * @property {Object} [__headers]
*/
/**
@@ -1387,7 +1462,6 @@ class PlatformApplicationClient {
* @property {string} [transactionId]
* @property {string} status
* @property {string} message
- * @property {Object} [__headers]
*/
/**
@@ -1424,6 +1498,94 @@ class PlatformApplicationClient {
* @property {Emi[]} [emis]
*/
+/**
+ * @typedef GroupedEmiLoanAccount
+ * @property {string} loanAccountNumber
+ * @property {string} [kfs]
+ * @property {string} [sanctionLetter]
+ * @property {string} [remark]
+ * @property {string} createdAt
+ * @property {string} updatedAt
+ * @property {number} amount
+ * @property {number} repaidAmount
+ * @property {boolean} paid
+ * @property {boolean} overdue
+ * @property {string} [repaymentDate]
+ * @property {number} paidPercent
+ * @property {LenderDetail} lenderDetail
+ */
+
+/**
+ * @typedef GroupedEmi
+ * @property {string} [id]
+ * @property {number} [installmentno]
+ * @property {number} [amount]
+ * @property {string} [dueDate]
+ * @property {string} [referenceTransactionId]
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ * @property {boolean} [paid]
+ * @property {boolean} [overdue]
+ * @property {string} [repaymentDate]
+ * @property {number} [paidPercent]
+ * @property {number} [repaidAmount]
+ * @property {GroupedEmiLoanAccount[]} [loanAccounts]
+ */
+
+/**
+ * @typedef TransactionDetails
+ * @property {string} id
+ * @property {string} userId
+ * @property {string} partnerId
+ * @property {string} partner
+ * @property {string} partnerLogo
+ * @property {string} status
+ * @property {string} [type]
+ * @property {string} [remark]
+ * @property {number} amount
+ * @property {string} [loanAccountNumber]
+ * @property {string} [kfs]
+ * @property {string} [utr]
+ * @property {string} [sanctionLetter]
+ * @property {string} [orderId]
+ * @property {string} [refundId]
+ * @property {string} createdAt
+ * @property {string} [lenderId]
+ * @property {string} [lenderName]
+ * @property {string} [lenderLogo]
+ * @property {string} [loanType]
+ * @property {string} [nextDueDate]
+ * @property {number} [paidPercent]
+ * @property {LenderDetail} [lenderDetail]
+ * @property {GroupedEmi[]} [emis]
+ * @property {TransactionSummary} [summary]
+ */
+
+/**
+ * @typedef TransactionSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ * @property {TransactionSummaryData[]} data
+ */
+
+/**
+ * @typedef TransactionSummaryData
+ * @property {TransactionSummaryDataDisplay} [display]
+ */
+
+/**
+ * @typedef TransactionSummaryDataDisplay
+ * @property {TransactionSummaryDataDisplayType} [primary]
+ * @property {TransactionSummaryDataDisplayType} [secondary]
+ */
+
+/**
+ * @typedef TransactionSummaryDataDisplayType
+ * @property {string} [text]
+ */
+
/**
* @typedef LenderDetail
* @property {string} [id]
@@ -1726,10 +1888,114 @@ class PlatformApplicationClient {
* @property {number} [pivotPoints]
*/
+/**
+ * @typedef OrderShipmentAddressGeoLocation
+ * @property {number} latitude
+ * @property {number} longitude
+ */
+
+/**
+ * @typedef OrderShipmentAddress
+ * @property {string} [line1]
+ * @property {string} [line2]
+ * @property {string} [city]
+ * @property {string} [state]
+ * @property {string} [country]
+ * @property {string} [pincode]
+ * @property {string} [type]
+ * @property {OrderShipmentAddressGeoLocation} [geoLocation]
+ */
+
+/**
+ * @typedef OrderShipmentItem
+ * @property {string} [category]
+ * @property {string} [sku]
+ * @property {number} [rate]
+ * @property {number} [quantity]
+ */
+
+/**
+ * @typedef OrderShipment
+ * @property {string} id
+ * @property {string} [urn]
+ * @property {number} amount
+ * @property {string} timestamp
+ * @property {string} status
+ * @property {string} [remark]
+ * @property {OrderShipmentItem[]} [items]
+ * @property {OrderShipmentAddress} [shippingAddress]
+ * @property {OrderShipmentAddress} [billingAddress]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesBody
+ * @property {string} [orderId]
+ * @property {string} [transactionId]
+ * @property {boolean} [includeSummary]
+ * @property {OrderShipment[]} shipments
+ */
+
+/**
+ * @typedef OrderShipmentSummary
+ * @property {number} orderAmount
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
+
+/**
+ * @typedef OrderShipmentResponse
+ * @property {string} id
+ * @property {string} urn
+ * @property {string} shipmentStatus
+ * @property {number} shipmentAmount
+ * @property {string} processingStatus
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesData
+ * @property {string} orderId
+ * @property {string} transactionId
+ * @property {OrderShipmentResponse[]} shipments
+ * @property {OrderShipmentSummary} [summary]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesPartialResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ * @property {OrderDeliveryUpdatesError[]} [errors]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ */
+
+/**
+ * @typedef TransactionOrderSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
+
/**
* @typedef TransactionOrder
* @property {string} id
* @property {number} amount
+ * @property {TransactionOrderSummary} [summary]
*/
/**
@@ -1743,6 +2009,19 @@ class PlatformApplicationClient {
* @property {string} number
* @property {number} amount
* @property {string} type
+ * @property {string} dueDate
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
+ * @property {TransactionLoanEmi[]} [emis]
+ */
+
+/**
+ * @typedef TransactionLoanEmi
+ * @property {number} amount
+ * @property {string} dueDate
+ * @property {number} installmentNo
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
*/
/**
@@ -1765,7 +2044,7 @@ class PlatformApplicationClient {
* @property {boolean} isMasked
* @property {TransactionOrder} [order]
* @property {TransactionMerchant} merchant
- * @property {TransactionLoan} [loan]
+ * @property {TransactionLoan[]} [loans]
* @property {TransactionLender} [lender]
*/
@@ -1790,7 +2069,30 @@ class PlatformApplicationClient {
* @property {string} message
* @property {IntegrationResponseMeta} meta
* @property {GetTransactionsData} data
- * @property {Object} [__headers]
+ */
+
+/**
+ * @typedef SettlementTransactions
+ * @property {string} [id]
+ * @property {string} [utr]
+ * @property {number} [amount]
+ * @property {string} [settlementStatus]
+ * @property {string} [orderId]
+ * @property {string} [createdAt]
+ * @property {string} [settlementTime]
+ */
+
+/**
+ * @typedef GetSettlementTransactionsData
+ * @property {SettlementTransactions[]} transactions
+ * @property {Pagination} page
+ */
+
+/**
+ * @typedef GetSettlementTransactionsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {GetSettlementTransactionsData} data
*/
/**
@@ -1801,6 +2103,52 @@ class PlatformApplicationClient {
* @property {string} [type]
*/
+/**
+ * @typedef RegisterTransaction
+ * @property {string} [intent]
+ * @property {string} token
+ */
+
+/**
+ * @typedef RegisterTransactionResponseData
+ * @property {boolean} [isExistingOrder]
+ * @property {Object} [transaction]
+ * @property {boolean} [action]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
+/**
+ * @typedef RegisterTransactionResponseResult
+ * @property {string} [redirectUrl]
+ */
+
+/**
+ * @typedef RegisterTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
+/**
+ * @typedef UpdateTransactionRequest
+ * @property {string} intent
+ * @property {string} token
+ */
+
+/**
+ * @typedef UpdateTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
/**
* @typedef Lender
* @property {string} [id]
@@ -2395,6 +2743,14 @@ class PlatformApplicationClient {
* @property {Object} data
*/
+/**
+ * @typedef RetriggerLenderOnboardRequestV2
+ * @property {string} lenderUserId
+ * @property {string} stepName
+ * @property {Object} data
+ * @property {string} entityMapId
+ */
+
/**
* @typedef BusinessDetail
* @property {string} category
@@ -2405,16 +2761,6 @@ class PlatformApplicationClient {
* @property {string} [pincode]
*/
-/**
- * @typedef VintageData
- * @property {number} month
- * @property {number} year
- * @property {number} totalTransactions
- * @property {number} totalTransactionAmount
- * @property {number} [totalCancellations]
- * @property {number} [totalCancellationAmount]
- */
-
/**
* @typedef DocumentObjects
* @property {string} number
@@ -2427,6 +2773,15 @@ class PlatformApplicationClient {
* @property {string} [expiryOn]
*/
+/**
+ * @typedef AddVintageRequest
+ * @property {Object} user
+ * @property {BusinessDetail} businessDetails
+ * @property {VintageData} vintageData
+ * @property {DocumentObjects} documents
+ * @property {MerchantSchema} merchant
+ */
+
/**
* @typedef KycCountByStatus
* @property {string} [startDate]
@@ -2672,6 +3027,10 @@ class PlatformApplicationClient {
* @property {string} id
* @property {string} name
* @property {boolean} active
+ * @property {string} [baseUrl]
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
+ * @property {Object} [credentialsSchema]
*/
/**
@@ -2683,6 +3042,8 @@ class PlatformApplicationClient {
* @property {string} lenderId
* @property {string} pgId
* @property {boolean} active
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
*/
/**
@@ -2723,6 +3084,17 @@ class PlatformApplicationClient {
* @property {string} [deletedAt]
*/
+/**
+ * @typedef Commercial
+ * @property {string} [id]
+ * @property {string} lenderId
+ * @property {string} merchantId
+ * @property {Object} commercial
+ * @property {boolean} active
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ */
+
/**
* @typedef KycStatusResponse
* @property {boolean} isKycInitiated
@@ -2814,11 +3186,10 @@ class PlatformApplicationClient {
* @property {string} status
* @property {boolean} active
* @property {number} proposedLimit
- * @property {Object} createdAt
- * @property {Object} updatedAt
- * @property {Object} [deletedAt]
+ * @property {string | string} createdAt
+ * @property {string | string} updatedAt
+ * @property {string | string} [deletedAt]
* @property {boolean} [isDefault]
- * @property {Object} [__headers]
*/
/**
@@ -2959,7 +3330,6 @@ class PlatformApplicationClient {
/**
* @typedef IntgrCreditLimit
* @property {IngtrAvailableLimit} limit
- * @property {Object} [__headers]
*/
/**
@@ -3159,6 +3529,17 @@ class PlatformApplicationClient {
* @property {UserKycLenderStepMap} data
*/
+/**
+ * @typedef PlatformFees
+ * @property {number} customerAcquisitionFee
+ * @property {number} transactionFee
+ */
+
+/**
+ * @typedef CommercialResponse
+ * @property {Commercial} data
+ */
+
/**
* @typedef BlockUserRequestSchema
* @property {boolean} [status]
@@ -3320,6 +3701,8 @@ class PlatformApplicationClient {
* @property {string} [disbursementIfsc]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {boolean} [b2b]
@@ -3345,12 +3728,12 @@ class PlatformApplicationClient {
/**
* @typedef UpdateOrganization
* @property {string} id
- * @property {Object} [name]
- * @property {Object} [logo]
- * @property {Object} [website]
- * @property {Object} [disbursementAccountHolderName]
- * @property {Object} [disbursementAccountNumber]
- * @property {Object} [disbursementIfsc]
+ * @property {Object | any} [name]
+ * @property {Object | any} [logo]
+ * @property {Object | any} [website]
+ * @property {Object | any} [disbursementAccountHolderName]
+ * @property {Object | any} [disbursementAccountNumber]
+ * @property {Object | any} [disbursementIfsc]
* @property {boolean} [active]
*/
@@ -3376,6 +3759,8 @@ class PlatformApplicationClient {
* @property {boolean} [b2c]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {Documents[]} [documents]
@@ -3699,6 +4084,20 @@ class PlatformApplicationClient {
* @property {Object[]} items
*/
+/**
+ * @typedef ValidateCredentialsData
+ * @property {boolean} success
+ * @property {string} organizationId
+ * @property {string} [organizationName]
+ */
+
+/**
+ * @typedef ValidateCredentialsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {ValidateCredentialsData} data
+ */
+
/**
* @typedef PaymentLinkResponse
* @property {string} [status]
@@ -3766,6 +4165,35 @@ class PlatformApplicationClient {
* @property {Object} [data]
*/
+/**
+ * @typedef LenderTheme
+ * @property {string} [iconUrl]
+ * @property {string} [logoUrl]
+ */
+
+/**
+ * @typedef LenderDetails
+ * @property {string} [slug]
+ * @property {string} [name]
+ * @property {string} [id]
+ * @property {LenderTheme} [theme]
+ */
+
+/**
+ * @typedef OutstandingData
+ * @property {LenderDetails} [lenderDetails]
+ * @property {number} [availableLimit]
+ * @property {number} [creditLimit]
+ * @property {number} [dueAmount]
+ * @property {number} [outstandingAmount]
+ * @property {string} [dueDate]
+ */
+
+/**
+ * @typedef OutstandingDetailsResponse
+ * @property {OutstandingData[]} [outstandingDetails]
+ */
+
/**
* @typedef CreateUserRequestSchema
* @property {string} mobile
@@ -3780,4 +4208,205 @@ class PlatformApplicationClient {
* @property {UserSchema} [user]
*/
+/**
+ * @typedef RepaymentUsingNetbanking
+ * @property {number} amount
+ * @property {string} bankId
+ * @property {string} bankName
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RepaymentUsingNetbankingResponse
+ * @property {string} [form]
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ */
+
+/**
+ * @typedef RepaymentUsingUPI
+ * @property {number} amount
+ * @property {string} vpa
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RepaymentUsingUPIResponse
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ * @property {string} [status]
+ * @property {string} [intentId]
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+
+/**
+ * @typedef RegisterUPIMandateRequest
+ * @property {string} [vpa]
+ */
+
+/**
+ * @typedef RegisterUPIMandateResponse
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+
+/**
+ * @typedef RegisterUPIMandateStatusCheckRequest
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RegisterMandateStatusCheckResponse
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef TransactionStatusRequest
+ * @property {string} intentId
+ * @property {string} transactionId
+ */
+
+/**
+ * @typedef TransactionStatusResponse
+ * @property {boolean} success
+ * @property {string} [methodType]
+ * @property {string} [methodSubType]
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef BankList
+ * @property {string} [bankId]
+ * @property {string} [bankName]
+ * @property {number} [rank]
+ * @property {boolean} [popular]
+ * @property {string} [imageUrl]
+ */
+
+/**
+ * @typedef PaymentsObject
+ * @property {string} [title]
+ * @property {string} [kind]
+ * @property {PaymentOptions[]} [options]
+ */
+
+/**
+ * @typedef OutstandingDetail
+ * @property {string} [status]
+ * @property {boolean} [action]
+ * @property {OutstandingMessage} [message]
+ * @property {UserCredit} [credit]
+ * @property {DueSummaryOutstanding} [dueSummary]
+ * @property {OutstandingSummary} [outstandingSummary]
+ * @property {string} [entityMapId]
+ */
+
+/**
+ * @typedef OutstandingSummary
+ * @property {number} [totalOutstanding]
+ * @property {number} [totalOutstandingWithInterest]
+ * @property {number} [totalOutstandingPenalty]
+ * @property {number} [availableLimit]
+ * @property {boolean} [isOverdue]
+ * @property {string} [dueFromDate]
+ * @property {RepaymentSummaryOutstanding[]} [repaymentSummary]
+ */
+
+/**
+ * @typedef DueSummaryOutstanding
+ * @property {string} [dueDate]
+ * @property {number} [totalDue]
+ * @property {number} [totalDueWithInterest]
+ * @property {number} [totalDuePenalty]
+ * @property {DueTransactionsOutstanding[]} [dueTransactions]
+ * @property {number} [minAmntDue]
+ */
+
+/**
+ * @typedef OutstandingMessage
+ * @property {string} [dueMessage]
+ * @property {string} [backgroundColor]
+ * @property {string} [textColor]
+ * @property {boolean} [isFlexiRepayEnabled]
+ */
+
+/**
+ * @typedef UserCredit
+ * @property {number} [availableLimit]
+ * @property {number} [approvedLimit]
+ * @property {boolean} [isEligibleToDrawdown]
+ */
+
+/**
+ * @typedef DueTransactionsOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [merchantCategory]
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [loanType]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {number} [daysDifference]
+ * @property {string} [lenderTransactionId]
+ */
+
+/**
+ * @typedef RepaymentSummaryOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [loanType]
+ * @property {string} [merchantCategory]
+ * @property {boolean} [isBbillingTransaction]
+ * @property {number} [totalInstallmentAmount]
+ * @property {number} [totalInstallmentAmountWithInterest]
+ * @property {OutstandingDetailsRepayment[]} [outstandingDetails]
+ */
+
+/**
+ * @typedef OutstandingDetailsRepayment
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {string} [loanType]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {string} [lenderTransactionId]
+ */
+
+/**
+ * @typedef PaymentOptionsResponse
+ * @property {PaymentsObject[]} [paymentOptions]
+ */
+
+/**
+ * @typedef CheckEMandateStatusRequest
+ * @property {string} [orderId]
+ * @property {string} [paymentId]
+ * @property {string} [scheduledEnd]
+ * @property {string} [ruleAmountValue]
+ */
+
+/**
+ * @typedef AutoPayStatusResponse
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef OutstandingDetailsData
+ * @property {OutstandingData[]} outstandingDetails
+ */
+
module.exports = PlatformApplicationClient;
diff --git a/sdk/platform/PlatformApplicationModels.js b/sdk/platform/PlatformApplicationModels.js
index ffefbd7..124f501 100644
--- a/sdk/platform/PlatformApplicationModels.js
+++ b/sdk/platform/PlatformApplicationModels.js
@@ -1,6 +1,52 @@
const Joi = require("joi");
class Validator {
+ static IntegrationResponseMeta() {
+ return Joi.object({
+ timestamp: Joi.string().allow("").required(),
+
+ version: Joi.string().allow("").required(),
+
+ product: Joi.string().allow("").required(),
+
+ requestId: Joi.string().allow("").allow(null),
+ });
+ }
+
+ static IntegrationResponseError() {
+ return Joi.object({
+ code: Joi.string().allow("").required(),
+
+ message: Joi.string().allow("").required(),
+
+ exception: Joi.string().allow("").required(),
+
+ field: Joi.string().allow("").allow(null),
+
+ location: Joi.string().allow("").allow(null),
+ });
+ }
+
+ static IntegrationSuccessResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: Joi.any().required(),
+ });
+ }
+
+ static IntegrationErrorResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ errors: Joi.array().items(this.IntegrationResponseError()),
+ });
+ }
+
static RefundResponse() {
return Joi.object({
status: Joi.string().allow(""),
@@ -10,8 +56,6 @@ class Validator {
transactionId: Joi.string().allow(""),
refundId: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -445,7 +489,7 @@ class Validator {
mobile: Joi.string().allow("").required(),
- uid: Joi.string().allow("").required(),
+ uid: Joi.string().allow(""),
email: Joi.string().allow(""),
@@ -471,6 +515,20 @@ class Validator {
});
}
+ static VerifyOrder() {
+ return Joi.object({
+ valueInPaise: Joi.number().required(),
+
+ uid: Joi.string().allow(""),
+
+ items: Joi.array().items(this.Items()),
+
+ shippingAddress: this.OrderAddress(),
+
+ billingAddress: this.OrderAddress(),
+ });
+ }
+
static OrderUid() {
return Joi.object({
valueInPaise: Joi.number(),
@@ -511,11 +569,11 @@ class Validator {
});
}
- static VerifyCustomer() {
+ static ValidateCustomer() {
return Joi.object({
customer: this.CustomerObject().required(),
- order: this.Order().required(),
+ order: this.VerifyOrder().required(),
device: this.Device().required(),
@@ -557,7 +615,7 @@ class Validator {
});
}
- static VerifyCustomerSuccess() {
+ static ValidateCustomerSuccess() {
return Joi.object({
status: Joi.string().allow("").required(),
@@ -568,8 +626,6 @@ class Validator {
schemes: Joi.array().items(this.SchemeResponse()),
limit: this.LimitResponse(),
-
- __headers: Joi.any(),
});
}
@@ -586,8 +642,6 @@ class Validator {
status: Joi.string().allow(""),
userStatus: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -622,6 +676,8 @@ class Validator {
static InitiateTransactions() {
return Joi.object({
token: Joi.string().allow("").required(),
+
+ intent: Joi.string().allow(""),
});
}
@@ -662,6 +718,8 @@ class Validator {
isAsp: Joi.boolean(),
merchant: this.MerchantDetails(),
+
+ redirectUrl: Joi.string().allow(""),
});
}
@@ -1003,6 +1061,30 @@ class Validator {
});
}
+ static MerchantDetailsResponse() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ website: Joi.string().allow(""),
+
+ businessAddress: Joi.string().allow(""),
+
+ pincode: Joi.string().allow(""),
+
+ logo: Joi.string().allow(""),
+
+ gstIn: Joi.string().allow("").allow(null),
+
+ businessName: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ supportEmail: Joi.string().allow(""),
+
+ description: Joi.string().allow(""),
+ });
+ }
+
static NavigationsMobileResponse() {
return Joi.object({
tabs: Joi.array().items(this.TabsSchema()).required(),
@@ -1017,6 +1099,8 @@ class Validator {
return Joi.object({
title: Joi.string().allow("").required(),
+ action: this.ActionSchema(),
+
page: this.PageSchema().required(),
icon: Joi.string().allow("").required(),
@@ -1279,8 +1363,6 @@ class Validator {
message: Joi.string().allow(""),
errorCode: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -1303,8 +1385,6 @@ class Validator {
userStatus: Joi.string().allow(""),
errorCode: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -1376,7 +1456,7 @@ class Validator {
});
}
- static UserResponse() {
+ static UserResponseData() {
return Joi.object({
filters: Joi.array().items(this.Filters()).required(),
@@ -1386,6 +1466,16 @@ class Validator {
});
}
+ static UserResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.UserResponseData().required(),
+ });
+ }
+
static UserDetailRequest() {
return Joi.object({
id: Joi.string().allow("").required(),
@@ -1543,8 +1633,6 @@ class Validator {
loanAccountNumber: Joi.string().allow(""),
refund: Joi.array().items(this.RefundStatusList()),
-
- __headers: Joi.any(),
});
}
@@ -1553,8 +1641,6 @@ class Validator {
userId: Joi.string().allow(""),
lenders: Joi.array().items(this.SchemeResponse()).required(),
-
- __headers: Joi.any(),
});
}
@@ -1852,14 +1938,8 @@ class Validator {
order: this.Order(),
- businessDetails: this.BusinessDetails(),
-
- documents: Joi.array().items(this.DocumentItems()),
-
device: this.Device().required(),
- vintage: Joi.array().items(this.VintageItems()),
-
meta: Joi.object().pattern(/\S/, Joi.any()),
fetchLimitOptions: Joi.boolean(),
@@ -1956,6 +2036,82 @@ class Validator {
});
}
+ static RepaymentRequest() {
+ return Joi.object({
+ mobile: Joi.string().allow("").required(),
+
+ countryCode: Joi.string().allow(""),
+
+ target: Joi.string().allow(""),
+
+ callbackUrl: Joi.string().allow("").required(),
+
+ lenderSlug: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.RepaymentResponseData().required(),
+ });
+ }
+
+ static RepaymentResponseData() {
+ return Joi.object({
+ repaymentUrl: Joi.string().allow(""),
+ });
+ }
+
+ static VerifyMagicLinkResponse() {
+ return Joi.object({
+ user: this.UserSchema().required(),
+
+ scope: Joi.array().items(Joi.string().allow("")),
+
+ redirectPath: Joi.string().allow("").required(),
+
+ callbackUrl: Joi.string().allow(""),
+
+ meta: Joi.object().pattern(/\S/, Joi.any()),
+ });
+ }
+
+ static VerifyMagicLinkRequest() {
+ return Joi.object({
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static VintageData() {
+ return Joi.object({
+ customer: this.CustomerObject(),
+
+ businessDetails: this.BusinessDetails().required(),
+
+ documents: Joi.array().items(this.DocumentItems()),
+
+ device: this.Device(),
+
+ vintage: Joi.array().items(this.VintageItems()).required(),
+
+ meta: Joi.object().pattern(/\S/, Joi.any()),
+ });
+ }
+
+ static AddVintageResponse() {
+ return Joi.object({
+ mesasge: Joi.string().allow(""),
+
+ meta: this.IntegrationResponseMeta(),
+
+ data: Joi.any(),
+ });
+ }
+
/*
Enum: PageType
Used By: Customer
@@ -2020,54 +2176,10 @@ class Validator {
"sanctionLetter",
- "kfs"
- );
- }
-
- static IntegrationResponseMeta() {
- return Joi.object({
- timestamp: Joi.string().allow("").required(),
-
- version: Joi.string().allow("").required(),
-
- product: Joi.string().allow("").required(),
-
- requestId: Joi.string().allow("").allow(null),
- });
- }
-
- static IntegrationResponseError() {
- return Joi.object({
- code: Joi.string().allow("").required(),
-
- message: Joi.string().allow("").required(),
-
- exception: Joi.string().allow("").required(),
-
- field: Joi.string().allow("").allow(null),
-
- in: Joi.string().allow("").allow(null),
- });
- }
-
- static IntegrationSuccessResponse() {
- return Joi.object({
- message: Joi.string().allow("").required(),
-
- meta: this.IntegrationResponseMeta().required(),
-
- data: Joi.any().required(),
- });
- }
-
- static IntegrationErrorResponse() {
- return Joi.object({
- message: Joi.string().allow("").required(),
+ "kfs",
- meta: this.IntegrationResponseMeta().required(),
-
- errors: Joi.array().items(this.IntegrationResponseError()),
- });
+ "dynamicPage"
+ );
}
static DisbursalRequest() {
@@ -2091,6 +2203,8 @@ class Validator {
transactionId: Joi.string().allow(""),
lenderSlug: Joi.string().allow(""),
+
+ intent: Joi.string().allow(""),
});
}
@@ -2129,8 +2243,6 @@ class Validator {
static EligiblePlansResponse() {
return Joi.object({
eligiblePlans: Joi.array().items(this.EligiblePlans()),
-
- __headers: Joi.any(),
});
}
@@ -2153,8 +2265,6 @@ class Validator {
status: Joi.string().allow("").required(),
message: Joi.string().allow("").required(),
-
- __headers: Joi.any(),
});
}
@@ -2218,59 +2328,207 @@ class Validator {
});
}
- static LenderDetail() {
+ static GroupedEmiLoanAccount() {
return Joi.object({
- id: Joi.string().allow(""),
-
- name: Joi.string().allow(""),
+ loanAccountNumber: Joi.string().allow("").required(),
- imageUrl: Joi.string().allow(""),
+ kfs: Joi.string().allow("").allow(null),
- slug: Joi.string().allow(""),
+ sanctionLetter: Joi.string().allow("").allow(null),
- active: Joi.boolean(),
+ remark: Joi.string().allow("").allow(null),
- b2b: Joi.boolean(),
+ createdAt: Joi.string().allow("").required(),
- b2c: Joi.boolean(),
+ updatedAt: Joi.string().allow("").required(),
- theme: this.Theme(),
+ amount: Joi.number().required(),
- createdAt: Joi.string().allow(""),
+ repaidAmount: Joi.number().required(),
- updatedAt: Joi.string().allow(""),
+ paid: Joi.boolean().required(),
- deletedAt: Joi.string().allow(""),
- });
- }
+ overdue: Joi.boolean().required(),
- static TransactionResponse() {
- return Joi.object({
- filters: Joi.array().items(this.Filters()).required(),
+ repaymentDate: Joi.string().allow("").allow(null),
- page: this.PageResponse().required(),
+ paidPercent: Joi.number().required(),
- transactions: Joi.array().items(this.Transactions()).required(),
+ lenderDetail: this.LenderDetail().required(),
});
}
- static GetReconciliationFileResponse() {
+ static GroupedEmi() {
return Joi.object({
- files: Joi.array().items(this.ReconFile()).required(),
- });
- }
+ id: Joi.string().allow(""),
- static ReconFile() {
- return Joi.object({
- base64: Joi.string().allow("").required(),
+ installmentno: Joi.number(),
- name: Joi.string().allow("").required(),
- });
- }
+ amount: Joi.number(),
- static UploadReconciliationFileRequest() {
- return Joi.object({
- base64File: Joi.string().allow("").required(),
+ dueDate: Joi.string().allow(""),
+
+ referenceTransactionId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+
+ paid: Joi.boolean(),
+
+ overdue: Joi.boolean(),
+
+ repaymentDate: Joi.string().allow(""),
+
+ paidPercent: Joi.number(),
+
+ repaidAmount: Joi.number(),
+
+ loanAccounts: Joi.array().items(this.GroupedEmiLoanAccount()),
+ });
+ }
+
+ static TransactionDetails() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ userId: Joi.string().allow("").required(),
+
+ partnerId: Joi.string().allow("").required(),
+
+ partner: Joi.string().allow("").required(),
+
+ partnerLogo: Joi.string().allow("").required(),
+
+ status: Joi.string().allow("").required(),
+
+ type: Joi.string().allow(""),
+
+ remark: Joi.string().allow(""),
+
+ amount: Joi.number().required(),
+
+ loanAccountNumber: Joi.string().allow(""),
+
+ kfs: Joi.string().allow(""),
+
+ utr: Joi.string().allow(""),
+
+ sanctionLetter: Joi.string().allow(""),
+
+ orderId: Joi.string().allow(""),
+
+ refundId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow("").required(),
+
+ lenderId: Joi.string().allow(""),
+
+ lenderName: Joi.string().allow(""),
+
+ lenderLogo: Joi.string().allow(""),
+
+ loanType: Joi.string().allow(""),
+
+ nextDueDate: Joi.string().allow(""),
+
+ paidPercent: Joi.number(),
+
+ lenderDetail: this.LenderDetail(),
+
+ emis: Joi.array().items(this.GroupedEmi()),
+
+ summary: this.TransactionSummary(),
+ });
+ }
+
+ static TransactionSummary() {
+ return Joi.object({
+ capturedAmount: Joi.number().required(),
+
+ uncapturedAmount: Joi.number().required(),
+
+ capturedAmountForDisbursal: Joi.number().required(),
+
+ capturedAmountForCancellation: Joi.number().required(),
+
+ data: Joi.array().items(this.TransactionSummaryData()).required(),
+ });
+ }
+
+ static TransactionSummaryData() {
+ return Joi.object({
+ display: this.TransactionSummaryDataDisplay(),
+ });
+ }
+
+ static TransactionSummaryDataDisplay() {
+ return Joi.object({
+ primary: this.TransactionSummaryDataDisplayType(),
+
+ secondary: this.TransactionSummaryDataDisplayType(),
+ });
+ }
+
+ static TransactionSummaryDataDisplayType() {
+ return Joi.object({
+ text: Joi.string().allow(""),
+ });
+ }
+
+ static LenderDetail() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ imageUrl: Joi.string().allow(""),
+
+ slug: Joi.string().allow(""),
+
+ active: Joi.boolean(),
+
+ b2b: Joi.boolean(),
+
+ b2c: Joi.boolean(),
+
+ theme: this.Theme(),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+
+ deletedAt: Joi.string().allow(""),
+ });
+ }
+
+ static TransactionResponse() {
+ return Joi.object({
+ filters: Joi.array().items(this.Filters()).required(),
+
+ page: this.PageResponse().required(),
+
+ transactions: Joi.array().items(this.Transactions()).required(),
+ });
+ }
+
+ static GetReconciliationFileResponse() {
+ return Joi.object({
+ files: Joi.array().items(this.ReconFile()).required(),
+ });
+ }
+
+ static ReconFile() {
+ return Joi.object({
+ base64: Joi.string().allow("").required(),
+
+ name: Joi.string().allow("").required(),
+ });
+ }
+
+ static UploadReconciliationFileRequest() {
+ return Joi.object({
+ base64File: Joi.string().allow("").required(),
format: Joi.string().allow(""),
@@ -2670,11 +2928,171 @@ class Validator {
});
}
+ static OrderShipmentAddressGeoLocation() {
+ return Joi.object({
+ latitude: Joi.number().required(),
+
+ longitude: Joi.number().required(),
+ });
+ }
+
+ static OrderShipmentAddress() {
+ return Joi.object({
+ line1: Joi.string().allow(""),
+
+ line2: Joi.string().allow(""),
+
+ city: Joi.string().allow(""),
+
+ state: Joi.string().allow(""),
+
+ country: Joi.string().allow(""),
+
+ pincode: Joi.string().allow(""),
+
+ type: Joi.string().allow(""),
+
+ geoLocation: this.OrderShipmentAddressGeoLocation(),
+ });
+ }
+
+ static OrderShipmentItem() {
+ return Joi.object({
+ category: Joi.string().allow(""),
+
+ sku: Joi.string().allow(""),
+
+ rate: Joi.number(),
+
+ quantity: Joi.number(),
+ });
+ }
+
+ static OrderShipment() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ urn: Joi.string().allow(""),
+
+ amount: Joi.number().required(),
+
+ timestamp: Joi.string().allow("").required(),
+
+ status: Joi.string().allow("").required(),
+
+ remark: Joi.string().allow(""),
+
+ items: Joi.array().items(this.OrderShipmentItem()),
+
+ shippingAddress: this.OrderShipmentAddress(),
+
+ billingAddress: this.OrderShipmentAddress(),
+ });
+ }
+
+ static OrderDeliveryUpdatesBody() {
+ return Joi.object({
+ orderId: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+
+ includeSummary: Joi.boolean(),
+
+ shipments: Joi.array().items(this.OrderShipment()).required(),
+ });
+ }
+
+ static OrderShipmentSummary() {
+ return Joi.object({
+ orderAmount: Joi.number().required(),
+
+ capturedAmount: Joi.number().required(),
+
+ uncapturedAmount: Joi.number().required(),
+
+ capturedAmountForDisbursal: Joi.number().required(),
+
+ capturedAmountForCancellation: Joi.number().required(),
+ });
+ }
+
+ static OrderShipmentResponse() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ urn: Joi.string().allow("").required(),
+
+ shipmentStatus: Joi.string().allow("").required(),
+
+ shipmentAmount: Joi.number().required(),
+
+ processingStatus: Joi.string().allow("").required(),
+ });
+ }
+
+ static OrderDeliveryUpdatesData() {
+ return Joi.object({
+ orderId: Joi.string().allow("").required(),
+
+ transactionId: Joi.string().allow("").required(),
+
+ shipments: Joi.array().items(this.OrderShipmentResponse()).required(),
+
+ summary: this.OrderShipmentSummary(),
+ });
+ }
+
+ static OrderDeliveryUpdatesResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.OrderDeliveryUpdatesData().required(),
+ });
+ }
+
+ static OrderDeliveryUpdatesPartialResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.OrderDeliveryUpdatesData().required(),
+
+ errors: Joi.array().items(this.OrderDeliveryUpdatesError()),
+ });
+ }
+
+ static OrderDeliveryUpdatesError() {
+ return Joi.object({
+ code: Joi.string().allow("").required(),
+
+ message: Joi.string().allow("").required(),
+
+ exception: Joi.string().allow("").required(),
+ });
+ }
+
+ static TransactionOrderSummary() {
+ return Joi.object({
+ capturedAmount: Joi.number().required(),
+
+ uncapturedAmount: Joi.number().required(),
+
+ capturedAmountForDisbursal: Joi.number().required(),
+
+ capturedAmountForCancellation: Joi.number().required(),
+ });
+ }
+
static TransactionOrder() {
return Joi.object({
id: Joi.string().allow("").required(),
amount: Joi.number().required(),
+
+ summary: this.TransactionOrderSummary(),
});
}
@@ -2693,6 +3111,28 @@ class Validator {
amount: Joi.number().required(),
type: Joi.string().allow("").required(),
+
+ dueDate: Joi.string().allow("").required(),
+
+ repaidAmount: Joi.number().required(),
+
+ isSettled: Joi.boolean().required(),
+
+ emis: Joi.array().items(this.TransactionLoanEmi()),
+ });
+ }
+
+ static TransactionLoanEmi() {
+ return Joi.object({
+ amount: Joi.number().required(),
+
+ dueDate: Joi.string().allow("").required(),
+
+ installmentNo: Joi.number().required(),
+
+ repaidAmount: Joi.number().required(),
+
+ isSettled: Joi.boolean().required(),
});
}
@@ -2730,7 +3170,7 @@ class Validator {
merchant: this.TransactionMerchant().required(),
- loan: this.TransactionLoan(),
+ loans: Joi.array().items(this.TransactionLoan()),
lender: this.TransactionLender(),
});
@@ -2767,8 +3207,42 @@ class Validator {
meta: this.IntegrationResponseMeta().required(),
data: this.GetTransactionsData().required(),
+ });
+ }
+
+ static SettlementTransactions() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ utr: Joi.string().allow(""),
+
+ amount: Joi.number(),
+
+ settlementStatus: Joi.string().allow(""),
+
+ orderId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow(""),
+
+ settlementTime: Joi.string().allow(""),
+ });
+ }
+
+ static GetSettlementTransactionsData() {
+ return Joi.object({
+ transactions: Joi.array().items(this.SettlementTransactions()).required(),
- __headers: Joi.any(),
+ page: this.Pagination().required(),
+ });
+ }
+
+ static GetSettlementTransactionsResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.GetSettlementTransactionsData().required(),
});
}
@@ -2784,6 +3258,74 @@ class Validator {
});
}
+ static RegisterTransaction() {
+ return Joi.object({
+ intent: Joi.string().allow(""),
+
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static RegisterTransactionResponseData() {
+ return Joi.object({
+ isExistingOrder: Joi.boolean(),
+
+ transaction: Joi.any(),
+
+ action: Joi.boolean(),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterTransactionResponseResult() {
+ return Joi.object({
+ redirectUrl: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterTransactionResponse() {
+ return Joi.object({
+ result: this.RegisterTransactionResponseResult(),
+
+ action: Joi.any(),
+
+ data: this.RegisterTransactionResponseData(),
+
+ transactionId: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
+ static UpdateTransactionRequest() {
+ return Joi.object({
+ intent: Joi.string().allow("").required(),
+
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static UpdateTransactionResponse() {
+ return Joi.object({
+ result: this.RegisterTransactionResponseResult(),
+
+ action: Joi.any(),
+
+ data: this.RegisterTransactionResponseData(),
+
+ transactionId: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
static Lender() {
return Joi.object({
id: Joi.string().allow(""),
@@ -3720,35 +4262,31 @@ class Validator {
});
}
- static BusinessDetail() {
+ static RetriggerLenderOnboardRequestV2() {
return Joi.object({
- category: Joi.string().allow("").required(),
+ lenderUserId: Joi.string().allow("").required(),
- shopName: Joi.string().allow(""),
+ stepName: Joi.string().allow("").required(),
- legalName: Joi.string().allow("").required(),
-
- address: Joi.string().allow(""),
-
- type: Joi.string().allow(""),
+ data: Joi.any().required(),
- pincode: Joi.string().allow(""),
+ entityMapId: Joi.string().allow("").required(),
});
}
- static VintageData() {
+ static BusinessDetail() {
return Joi.object({
- month: Joi.number().required(),
+ category: Joi.string().allow("").required(),
- year: Joi.number().required(),
+ shopName: Joi.string().allow(""),
- totalTransactions: Joi.number().required(),
+ legalName: Joi.string().allow("").required(),
- totalTransactionAmount: Joi.number().required(),
+ address: Joi.string().allow(""),
- totalCancellations: Joi.number(),
+ type: Joi.string().allow(""),
- totalCancellationAmount: Joi.number(),
+ pincode: Joi.string().allow(""),
});
}
@@ -3772,6 +4310,20 @@ class Validator {
});
}
+ static AddVintageRequest() {
+ return Joi.object({
+ user: Joi.any().required(),
+
+ businessDetails: this.BusinessDetail().required(),
+
+ vintageData: this.VintageData().required(),
+
+ documents: this.DocumentObjects().required(),
+
+ merchant: this.MerchantSchema().required(),
+ });
+ }
+
static KycCountByStatus() {
return Joi.object({
startDate: Joi.string().allow(""),
@@ -4167,6 +4719,14 @@ class Validator {
name: Joi.string().allow("").required(),
active: Joi.boolean().required(),
+
+ baseUrl: Joi.string().allow(""),
+
+ config: Joi.any(),
+
+ paymentOptions: Joi.array().items(Joi.any()),
+
+ credentialsSchema: Joi.any(),
});
}
@@ -4185,6 +4745,10 @@ class Validator {
pgId: Joi.string().allow("").required(),
active: Joi.boolean().required(),
+
+ config: Joi.any(),
+
+ paymentOptions: Joi.array().items(Joi.any()),
});
}
@@ -4248,6 +4812,24 @@ class Validator {
});
}
+ static Commercial() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ lenderId: Joi.string().allow("").required(),
+
+ merchantId: Joi.string().allow("").required(),
+
+ commercial: Joi.any().required(),
+
+ active: Joi.boolean().required(),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+ });
+ }
+
static KycStatusResponse() {
return Joi.object({
isKycInitiated: Joi.boolean().required(),
@@ -4383,8 +4965,6 @@ class Validator {
deletedAt: Joi.any(),
isDefault: Joi.boolean(),
-
- __headers: Joi.any(),
});
}
@@ -4589,8 +5169,6 @@ class Validator {
static IntgrCreditLimit() {
return Joi.object({
limit: this.IngtrAvailableLimit().required(),
-
- __headers: Joi.any(),
});
}
@@ -4864,6 +5442,20 @@ class Validator {
});
}
+ static PlatformFees() {
+ return Joi.object({
+ customerAcquisitionFee: Joi.number().required(),
+
+ transactionFee: Joi.number().required(),
+ });
+ }
+
+ static CommercialResponse() {
+ return Joi.object({
+ data: this.Commercial().required(),
+ });
+ }
+
static BlockUserRequestSchema() {
return Joi.object({
status: Joi.boolean(),
@@ -5096,6 +5688,10 @@ class Validator {
email: Joi.string().allow(""),
+ supportEmail: Joi.string().allow("").allow(null),
+
+ description: Joi.string().allow(""),
+
businessAddress: Joi.string().allow(""),
pincode: Joi.string().allow(""),
@@ -5182,7 +5778,11 @@ class Validator {
businessName: Joi.string().allow(""),
- email: Joi.string().allow(""),
+ email: Joi.string().allow(""),
+
+ supportEmail: Joi.string().allow(""),
+
+ description: Joi.string().allow(""),
businessAddress: Joi.string().allow(""),
@@ -5676,6 +6276,26 @@ class Validator {
});
}
+ static ValidateCredentialsData() {
+ return Joi.object({
+ success: Joi.boolean().required(),
+
+ organizationId: Joi.string().allow("").required(),
+
+ organizationName: Joi.string().allow(""),
+ });
+ }
+
+ static ValidateCredentialsResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.ValidateCredentialsData().required(),
+ });
+ }
+
static PaymentLinkResponse() {
return Joi.object({
status: Joi.string().allow(""),
@@ -5778,6 +6398,48 @@ class Validator {
});
}
+ static LenderTheme() {
+ return Joi.object({
+ iconUrl: Joi.string().allow(""),
+
+ logoUrl: Joi.string().allow(""),
+ });
+ }
+
+ static LenderDetails() {
+ return Joi.object({
+ slug: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ id: Joi.string().allow(""),
+
+ theme: this.LenderTheme(),
+ });
+ }
+
+ static OutstandingData() {
+ return Joi.object({
+ lenderDetails: this.LenderDetails(),
+
+ availableLimit: Joi.number(),
+
+ creditLimit: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ outstandingAmount: Joi.number(),
+
+ dueDate: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingDetailsResponse() {
+ return Joi.object({
+ outstandingDetails: Joi.array().items(this.OutstandingData()),
+ });
+ }
+
static CreateUserRequestSchema() {
return Joi.object({
mobile: Joi.string().allow("").required(),
@@ -5797,6 +6459,312 @@ class Validator {
user: this.UserSchema(),
});
}
+
+ static RepaymentUsingNetbanking() {
+ return Joi.object({
+ amount: Joi.number().required(),
+
+ bankId: Joi.string().allow("").required(),
+
+ bankName: Joi.string().allow("").required(),
+
+ chargeToken: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentUsingNetbankingResponse() {
+ return Joi.object({
+ form: Joi.string().allow(""),
+
+ isDifferent: Joi.boolean(),
+
+ outstanding: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentUsingUPI() {
+ return Joi.object({
+ amount: Joi.number().required(),
+
+ vpa: Joi.string().allow("").required(),
+
+ chargeToken: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentUsingUPIResponse() {
+ return Joi.object({
+ isDifferent: Joi.boolean(),
+
+ outstanding: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ intentId: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+
+ expiry: Joi.number(),
+
+ interval: Joi.number(),
+ });
+ }
+
+ static RegisterUPIMandateRequest() {
+ return Joi.object({
+ vpa: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterUPIMandateResponse() {
+ return Joi.object({
+ transactionId: Joi.string().allow(""),
+
+ expiry: Joi.number(),
+
+ interval: Joi.number(),
+ });
+ }
+
+ static RegisterUPIMandateStatusCheckRequest() {
+ return Joi.object({
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterMandateStatusCheckResponse() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static TransactionStatusRequest() {
+ return Joi.object({
+ intentId: Joi.string().allow("").required(),
+
+ transactionId: Joi.string().allow("").required(),
+ });
+ }
+
+ static TransactionStatusResponse() {
+ return Joi.object({
+ success: Joi.boolean().required(),
+
+ methodType: Joi.string().allow(""),
+
+ methodSubType: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static BankList() {
+ return Joi.object({
+ bankId: Joi.string().allow(""),
+
+ bankName: Joi.string().allow(""),
+
+ rank: Joi.number(),
+
+ popular: Joi.boolean(),
+
+ imageUrl: Joi.string().allow(""),
+ });
+ }
+
+ static PaymentsObject() {
+ return Joi.object({
+ title: Joi.string().allow(""),
+
+ kind: Joi.string().allow(""),
+
+ options: Joi.array().items(this.PaymentOptions()),
+ });
+ }
+
+ static OutstandingDetail() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+
+ action: Joi.boolean(),
+
+ message: this.OutstandingMessage(),
+
+ credit: this.UserCredit(),
+
+ dueSummary: this.DueSummaryOutstanding(),
+
+ outstandingSummary: this.OutstandingSummary(),
+
+ entityMapId: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingSummary() {
+ return Joi.object({
+ totalOutstanding: Joi.number(),
+
+ totalOutstandingWithInterest: Joi.number(),
+
+ totalOutstandingPenalty: Joi.number(),
+
+ availableLimit: Joi.number(),
+
+ isOverdue: Joi.boolean(),
+
+ dueFromDate: Joi.string().allow(""),
+
+ repaymentSummary: Joi.array().items(this.RepaymentSummaryOutstanding()),
+ });
+ }
+
+ static DueSummaryOutstanding() {
+ return Joi.object({
+ dueDate: Joi.string().allow(""),
+
+ totalDue: Joi.number(),
+
+ totalDueWithInterest: Joi.number(),
+
+ totalDuePenalty: Joi.number(),
+
+ dueTransactions: Joi.array().items(this.DueTransactionsOutstanding()),
+
+ minAmntDue: Joi.number(),
+ });
+ }
+
+ static OutstandingMessage() {
+ return Joi.object({
+ dueMessage: Joi.string().allow(""),
+
+ backgroundColor: Joi.string().allow(""),
+
+ textColor: Joi.string().allow(""),
+
+ isFlexiRepayEnabled: Joi.boolean(),
+ });
+ }
+
+ static UserCredit() {
+ return Joi.object({
+ availableLimit: Joi.number(),
+
+ approvedLimit: Joi.number(),
+
+ isEligibleToDrawdown: Joi.boolean(),
+ });
+ }
+
+ static DueTransactionsOutstanding() {
+ return Joi.object({
+ loanRequestNo: Joi.string().allow(""),
+
+ merchantCategory: Joi.string().allow(""),
+
+ installmentAmountWithInterest: Joi.number(),
+
+ installmentAmount: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ loanType: Joi.string().allow(""),
+
+ installmentNo: Joi.string().allow(""),
+
+ installmentDueDate: Joi.string().allow(""),
+
+ isPastDue: Joi.boolean(),
+
+ isPenaltyCharged: Joi.boolean(),
+
+ penaltyAmount: Joi.number(),
+
+ noOfDaysPenaltyCharged: Joi.number(),
+
+ daysDifference: Joi.number(),
+
+ lenderTransactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentSummaryOutstanding() {
+ return Joi.object({
+ loanRequestNo: Joi.string().allow(""),
+
+ loanType: Joi.string().allow(""),
+
+ merchantCategory: Joi.string().allow(""),
+
+ isBbillingTransaction: Joi.boolean(),
+
+ totalInstallmentAmount: Joi.number(),
+
+ totalInstallmentAmountWithInterest: Joi.number(),
+
+ outstandingDetails: Joi.array().items(this.OutstandingDetailsRepayment()),
+ });
+ }
+
+ static OutstandingDetailsRepayment() {
+ return Joi.object({
+ installmentAmountWithInterest: Joi.number(),
+
+ installmentAmount: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ installmentNo: Joi.string().allow(""),
+
+ installmentDueDate: Joi.string().allow(""),
+
+ isPastDue: Joi.boolean(),
+
+ loanType: Joi.string().allow(""),
+
+ isPenaltyCharged: Joi.boolean(),
+
+ penaltyAmount: Joi.number(),
+
+ noOfDaysPenaltyCharged: Joi.number(),
+
+ lenderTransactionId: Joi.string().allow(""),
+ });
+ }
+
+ static PaymentOptionsResponse() {
+ return Joi.object({
+ paymentOptions: Joi.array().items(this.PaymentsObject()),
+ });
+ }
+
+ static CheckEMandateStatusRequest() {
+ return Joi.object({
+ orderId: Joi.string().allow(""),
+
+ paymentId: Joi.string().allow(""),
+
+ scheduledEnd: Joi.string().allow(""),
+
+ ruleAmountValue: Joi.string().allow(""),
+ });
+ }
+
+ static AutoPayStatusResponse() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingDetailsData() {
+ return Joi.object({
+ outstandingDetails: Joi.array().items(this.OutstandingData()).required(),
+ });
+ }
}
module.exports = {};
diff --git a/sdk/platform/PlatformClient.d.ts b/sdk/platform/PlatformClient.d.ts
index d12ed64..4a39d2e 100644
--- a/sdk/platform/PlatformClient.d.ts
+++ b/sdk/platform/PlatformClient.d.ts
@@ -6,19 +6,46 @@ declare class PlatformClient {
credit: Credit;
multiKyc: MultiKyc;
merchant: Merchant;
+ payments: Payments;
application(applicationId: any): PlatformApplicationClient;
setExtraHeaders(header: any): void;
}
declare namespace PlatformClient {
- export { RefundResponse, UserSource, UserSchema, count, FilterByDate, LenderCount, LenderSchema, TotalUsersPerLender, TotalUsersPerLenderData, TotalUserByLender, UsersByLender, ErrorResponse, EditProfileRequest, VerifyOtpRequest, SendMobileOtpRequest, ReSendMobileOtpRequest, SendOtpRequest, ApplicationUser, SendOtpResponse, EmailUpdate, UserUpdateRequest, LenderUpdateRequest, ProfileEditSuccess, LoginSuccess, VerifyOtpSuccess, LogoutSuccess, OtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, Location, OrderAddress, CustomerObject, Order, OrderUid, CustomerMeta, Device, VerifyCustomer, CreateTransaction, ResendPaymentRequest, VerifyCustomerSuccess, CreateTransactionSuccess, SupportDocuments, CreateTicketResponse, CreateTicket, InitiateTransactions, GetMobileFromToken, GetDataFromToken, MerchantDetails, InitiateTransactionsSuccess, RetrieveMobileFromToken, CreateDashboardTemplateRequest, TemplateSections, TemplateComponent, PartnerApplications, Offerings, Banners, Tips, DashboardTemplateResponse, SectionSchema, PartnerApplicationsResponse, OfferingsResponse, BannersResponse, TipsSection, TipsResponse, TipsCategories, ActionSchema, UpdateDashboardTemplateRequest, UpdateTemplateSections, UpdateTemplateComponent, UpdatePartnerApplications, UpdateOfferings, UpdateBanners, UpdateTips, NavigationsMobileResponse, TabsSchema, PageSchema, ProfileSectionSchema, ProfileNavigationSchema, SendPNSRegisterRequest, PNSRegisterResponse, FaqResponse, CategorySchema, QuestionSchema, SupportCategories, SupportCategoriesResponse, SanctionLetterResponse, KfsDocumentResponse, UserWhiteListedResponse, UserConsentRequest, Consents, UserConsentRequestV2, UserConsentResponse, UserKycSteps, CreateKycStepRequest, RemoveKycStepRequest, KycUpdateMessage, MobileFromLinkingRequest, MobileFromLinkingResponse, SessionFromLinkingRequest, SessionFromLinkingResponse, LinkAccount, LinkAccountSuccess, UnlinkAccount, UnlinkAccountSuccess, Refund, Translation, FilterKeys, FilterValues, Filters, PageResponse, UserResponse, UserDetailRequest, UserConsents, CreditScoreSchema, CreditLimitSchema, Screen, UserStateSchema, GetAccessTokenResponse, RefreshTokenResponse, RefreshTokenRequest, Items, RefundStatusList, RefundStatus, GetSchemesSuccess, CustomerMetricsPivots, CustomerMetricsSubResponse, CustomerMetricsAnalytics, CustomerMetricsFilters, CustomerMetrics, SchemeResponse, SchemePaymentOptionsResponse, SchemeEmiPaymentOptionResponse, SchemeEmiScheduleResponse, SchemePayLaterPaymentOptionResponse, LimitResponse, AvailableOrPossibleLender, GetSchemesRequest, CustomerMetricsResponse, CustomerMetricsRequest, SourceAnalyticsRequest, LenderResponse, CreditLimitObject, BusinessDetails, DocumentItems, VintageItems, EligibilitySuccess, CheckEligibilityRequest, EmiSchedule, PaymentOption, PaymentOptions, LenderAndPaymentOption, GetSchemesSuccessOld, PageSchemaResponse, userCountRequest, IntegrationResponseMeta, IntegrationResponseError, IntegrationSuccessResponse, IntegrationErrorResponse, DisbursalRequest, WorkflowUser, EligiblePlansRequest, EligiblePlans, EligiblePlansResponse, DisbursalResponse, OrderStatus, DisbursalStatusRequest, Transactions, LenderDetail, TransactionResponse, GetReconciliationFileResponse, ReconFile, UploadReconciliationFileRequest, UploadReconciliationFileResponse, TransactionCount, RefundCount, OrganizationTransactionsCount, OrganizationTransactionsSum, UniqueCustomersInOrg, TransactionAmount, SchemaForOneDayTotal, SumofOneDayTransactions, AverageTransaction, AllTransactionsResponse, TotalRefund, TotalRepayment, TotalOverDue, TotalLoansDisbursed, OrganizationTransactionResponse, TrFilters, TrPageResponse, OrgTransactions, TrFilterKeys, TrFilterValues, KfsRequest, KfsResponse, LenderTransactionState, TransactionStateResponse, Theme, Emi, MetricPivots, TransactionMetricSubResponse, TransactionMetrics, LenderCustomerTransactionMetricsFilters, LenderCustomerTransactionMetrics, LenderCustomerTransactionMetricsResponse, LenderCustomerTransactionMetricsRequest, TransactionOrder, TransactionMerchant, TransactionLoan, TransactionLender, UserTransaction, Pagination, GetTransactionsData, GetTransactionsResponse, SummaryRequest, Lender, UserLender, SourceCreditReport, Document, UserKycDetail, Form, LenderKycStepMap, UserKycLenderStepMap, ProofOfIdentity, ProofOfAddress, EAadhaarData, EntityMapDto, EntityDto, MerchantSchema, Consent, ValidatePanRequest, BankDetails, DocumentData, ConfirmPanRequest, LivelinessDetails, UploadDocumentRequest, UploadDocumentRequestV1, UploadDocumentRequestV3, AadhaarRequest, UploadAadhaarRequest, UploadLivelinessRequest, UploadAadhaarRequestV1, UploadLivelinessRequestV1, UploadAadhaarRequestV2, UploadLivelinessRequestV2, UploadAadhaarRequestV3, UploadLivelinessRequestV3, UploadBankDetailsRequest, InitiateKycRequest, InitiateKycRequestV1, LenderOnboardRequest, LenderOnboardRequestV1, UpdateLenderStatusRequest, UpdateProfileRequest, UpdateEntityRequest, CreateKycStepsRequest, CreateLenderPgConfigRequest, CreateLenderStateRequest, UpdateLenderRequest, OtherPolicyFilters, GetPolicyFilters, GetPolicyFilters2, MerchantConfigRequest, PanDetails, AvailableLendersRequest, InitialData, ExecutePolicyRequest, ExecutePolicyRequest2, RegisterGstRequest, PopulateFormRequest, ValidateFormFieldRequest, MerchantMetricFilter, LenderCustomerMetricsRequest, StonewallCustomer, GetLimitRequest, DocumentObject, ManualKycRequest, RetriggerLenderOnboardRequest, BusinessDetail, VintageData, DocumentObjects, KycCountByStatus, FindDocResponse, LenderKycStatus, StateResponeDto, KycStateMachineDto, InitiateKycDto, LenderOnboardDto, StepDetails, OnboardStatusDto, LenderFilters, Policy, OrganizationLogosObject, MetricSubTypes, MetricTypes, BreApprovedUsersResponse, Metrics, MetricData, GetAllUserLendersByEnityId, ApprovedLenders, BreResultStatus, LenderState, UserLenderState, LenderConfig, Pg, LenderPgConfig, FileUploadResponse, PresignedUrl, PresignedUrlV2, LenderDocument, KycStatusResponse, WorkflowResponse, Action, InitiateKycResponse, UploadDocResponse, LenderOnboardResponse, OnboardingStatusResponse, SignedUrlResponse, SignedUrlV2Response, PresignedUrlV3, SignedUrlV3Response, DigilockerLinkResponse, GetDocumentsResponse, ApprovedLendersTransaction, ApprovedPossibleLenders, AvailableLenders, CreditLimit, CreditLimitResponse, LenderPgConfigResponse, GetLendersResponse, LenderConfigurationResponse, UpsertLenderResponse, UpsertLenderConfigResponse, CreateKycStepsSchema, CreatePaymentGatewaySchema, CreateLenderStateSchema, GetAllPaymentGatewaysSchema, PolicyResponse, CreditCheckBreResponse, MerchantConfigResponse, UserLenderByIdAndStatusResponse, IntgrAvailableCreditLimit, IngtrAvailableLimit, IntgrCreditLimit, PossibleLendersInternal, PossibleLendersInternalResponse, GetTotalKycResponse, GetTotalKycCompletedUsersResponse, GetTotalPendingUsersResponse, GetTotalCreditProvidedResponse, MetaSchemaResponse, MetaSchema, AddMetaSchema, AddMetaSchemaRequest, ValidatePanResponse, ConfirmPanResonse, LenderCountResponse, OnboardStepsDto, OnboardStepsResponse, LenderDocumentResponse, GetUserLendersResponse, CreditReportResponse, KycDetailsReponse, GetDocumentByIdResponse, GetAllFormsResponse, UpsertFormResponse, GstDetails, GstDetailsResponse, RegisterGstResponse, PopulateFormResponse, ValidateFormFieldResponse, LenderCustomerMetricsResponse, BreOutput, ManualKycResponse, CustomerKycDetailsReponse, BlockUserRequestSchema, EditEmailRequestSchema, SendVerificationLinkMobileRequestSchema, EditMobileRequestSchema, UpdateEmail, EditProfileRequestSchema, EditProfileMobileSchema, SendEmailOtpRequestSchema, VerifyEmailOtpRequestSchema, ReSendMobileOtpRequestSchema, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, BlockUserSuccess, EmailOtpSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, UserObjectSchema, CreateOrganization, UpdateLogo, AddMetaSchemaResponse, UpdateOrganization, UpdateFinancials, Documents, FinancialDetails, GetOrganization, OrganizationDetails, Organization, OrganizationList, OrganizationCount, TeamMembers, Member, Profile, AddTeamMember, UpdateTeamMemberRole, RemoveTeamMemberResponse, AddTeamMemberResponse, ApiKey, UpdateApiHook, ApiHookDetails, UpdateApiHookResponse, OrganizationIp, AddOrganizationIpDetails, AddUpdateCsvFileResponse, AddUpdateCsvFileRequest, CsvFile, AddReportCsvFileResponse, AddReportCsvFileRequest, ReportCsvFileResponse, AddReportRequestArray, AddReportRequest, AddReportResponseArray, AddReportResponse, VintageDataResponseObject, VintageDataResponse, AddSkuRequestArray, AddSkuRequest, AddSkuResponse, RestrictedSkuSchema, OrganizationIpResponse, OrganizationIpDetails, RefundSuccess, RefundItem, PaymentLinkResponse, ApplicationCutomer, GeoLocation, Address, OrderItems, PaymentLinkRequest, UpdateLenderStatusSchemaRequest, UpdateLenderStatusSchemaResponse, CreateUserRequestSchema, CreateUserResponseSchema };
+ export { IntegrationResponseMeta, IntegrationResponseError, IntegrationSuccessResponse, IntegrationErrorResponse, RefundResponse, UserSource, UserSchema, count, FilterByDate, LenderCount, LenderSchema, TotalUsersPerLender, TotalUsersPerLenderData, TotalUserByLender, UsersByLender, ErrorResponse, EditProfileRequest, VerifyOtpRequest, SendMobileOtpRequest, ReSendMobileOtpRequest, SendOtpRequest, ApplicationUser, SendOtpResponse, EmailUpdate, UserUpdateRequest, LenderUpdateRequest, ProfileEditSuccess, LoginSuccess, VerifyOtpSuccess, LogoutSuccess, OtpSuccess, SessionListSuccess, VerifyMobileOTPSuccess, Location, OrderAddress, CustomerObject, Order, VerifyOrder, OrderUid, CustomerMeta, Device, ValidateCustomer, CreateTransaction, ResendPaymentRequest, ValidateCustomerSuccess, CreateTransactionSuccess, SupportDocuments, CreateTicketResponse, CreateTicket, InitiateTransactions, GetMobileFromToken, GetDataFromToken, MerchantDetails, InitiateTransactionsSuccess, RetrieveMobileFromToken, CreateDashboardTemplateRequest, TemplateSections, TemplateComponent, PartnerApplications, Offerings, Banners, Tips, DashboardTemplateResponse, SectionSchema, PartnerApplicationsResponse, OfferingsResponse, BannersResponse, TipsSection, TipsResponse, TipsCategories, ActionSchema, UpdateDashboardTemplateRequest, UpdateTemplateSections, UpdateTemplateComponent, UpdatePartnerApplications, UpdateOfferings, UpdateBanners, UpdateTips, MerchantDetailsResponse, NavigationsMobileResponse, TabsSchema, PageSchema, ProfileSectionSchema, ProfileNavigationSchema, SendPNSRegisterRequest, PNSRegisterResponse, FaqResponse, CategorySchema, QuestionSchema, SupportCategories, SupportCategoriesResponse, SanctionLetterResponse, KfsDocumentResponse, UserWhiteListedResponse, UserConsentRequest, Consents, UserConsentRequestV2, UserConsentResponse, UserKycSteps, CreateKycStepRequest, RemoveKycStepRequest, KycUpdateMessage, MobileFromLinkingRequest, MobileFromLinkingResponse, SessionFromLinkingRequest, SessionFromLinkingResponse, LinkAccount, LinkAccountSuccess, UnlinkAccount, UnlinkAccountSuccess, Refund, Translation, FilterKeys, FilterValues, Filters, PageResponse, UserResponseData, UserResponse, UserDetailRequest, UserConsents, CreditScoreSchema, CreditLimitSchema, Screen, UserStateSchema, GetAccessTokenResponse, RefreshTokenResponse, RefreshTokenRequest, Items, RefundStatusList, RefundStatus, GetSchemesSuccess, CustomerMetricsPivots, CustomerMetricsSubResponse, CustomerMetricsAnalytics, CustomerMetricsFilters, CustomerMetrics, SchemeResponse, SchemePaymentOptionsResponse, SchemeEmiPaymentOptionResponse, SchemeEmiScheduleResponse, SchemePayLaterPaymentOptionResponse, LimitResponse, AvailableOrPossibleLender, GetSchemesRequest, CustomerMetricsResponse, CustomerMetricsRequest, SourceAnalyticsRequest, LenderResponse, CreditLimitObject, BusinessDetails, DocumentItems, VintageItems, EligibilitySuccess, CheckEligibilityRequest, EmiSchedule, PaymentOption, PaymentOptions, LenderAndPaymentOption, GetSchemesSuccessOld, PageSchemaResponse, userCountRequest, RepaymentRequest, RepaymentResponse, RepaymentResponseData, VerifyMagicLinkResponse, VerifyMagicLinkRequest, VintageData, AddVintageResponse, DisbursalRequest, WorkflowUser, EligiblePlansRequest, EligiblePlans, EligiblePlansResponse, DisbursalResponse, OrderStatus, DisbursalStatusRequest, Transactions, GroupedEmiLoanAccount, GroupedEmi, TransactionDetails, TransactionSummary, TransactionSummaryData, TransactionSummaryDataDisplay, TransactionSummaryDataDisplayType, LenderDetail, TransactionResponse, GetReconciliationFileResponse, ReconFile, UploadReconciliationFileRequest, UploadReconciliationFileResponse, TransactionCount, RefundCount, OrganizationTransactionsCount, OrganizationTransactionsSum, UniqueCustomersInOrg, TransactionAmount, SchemaForOneDayTotal, SumofOneDayTransactions, AverageTransaction, AllTransactionsResponse, TotalRefund, TotalRepayment, TotalOverDue, TotalLoansDisbursed, OrganizationTransactionResponse, TrFilters, TrPageResponse, OrgTransactions, TrFilterKeys, TrFilterValues, KfsRequest, KfsResponse, LenderTransactionState, TransactionStateResponse, Theme, Emi, MetricPivots, TransactionMetricSubResponse, TransactionMetrics, LenderCustomerTransactionMetricsFilters, LenderCustomerTransactionMetrics, LenderCustomerTransactionMetricsResponse, LenderCustomerTransactionMetricsRequest, OrderShipmentAddressGeoLocation, OrderShipmentAddress, OrderShipmentItem, OrderShipment, OrderDeliveryUpdatesBody, OrderShipmentSummary, OrderShipmentResponse, OrderDeliveryUpdatesData, OrderDeliveryUpdatesResponse, OrderDeliveryUpdatesPartialResponse, OrderDeliveryUpdatesError, TransactionOrderSummary, TransactionOrder, TransactionMerchant, TransactionLoan, TransactionLoanEmi, TransactionLender, UserTransaction, Pagination, GetTransactionsData, GetTransactionsResponse, SettlementTransactions, GetSettlementTransactionsData, GetSettlementTransactionsResponse, SummaryRequest, RegisterTransaction, RegisterTransactionResponseData, RegisterTransactionResponseResult, RegisterTransactionResponse, UpdateTransactionRequest, UpdateTransactionResponse, Lender, UserLender, SourceCreditReport, Document, UserKycDetail, Form, LenderKycStepMap, UserKycLenderStepMap, ProofOfIdentity, ProofOfAddress, EAadhaarData, EntityMapDto, EntityDto, MerchantSchema, Consent, ValidatePanRequest, BankDetails, DocumentData, ConfirmPanRequest, LivelinessDetails, UploadDocumentRequest, UploadDocumentRequestV1, UploadDocumentRequestV3, AadhaarRequest, UploadAadhaarRequest, UploadLivelinessRequest, UploadAadhaarRequestV1, UploadLivelinessRequestV1, UploadAadhaarRequestV2, UploadLivelinessRequestV2, UploadAadhaarRequestV3, UploadLivelinessRequestV3, UploadBankDetailsRequest, InitiateKycRequest, InitiateKycRequestV1, LenderOnboardRequest, LenderOnboardRequestV1, UpdateLenderStatusRequest, UpdateProfileRequest, UpdateEntityRequest, CreateKycStepsRequest, CreateLenderPgConfigRequest, CreateLenderStateRequest, UpdateLenderRequest, OtherPolicyFilters, GetPolicyFilters, GetPolicyFilters2, MerchantConfigRequest, PanDetails, AvailableLendersRequest, InitialData, ExecutePolicyRequest, ExecutePolicyRequest2, RegisterGstRequest, PopulateFormRequest, ValidateFormFieldRequest, MerchantMetricFilter, LenderCustomerMetricsRequest, StonewallCustomer, GetLimitRequest, DocumentObject, ManualKycRequest, RetriggerLenderOnboardRequest, RetriggerLenderOnboardRequestV2, BusinessDetail, DocumentObjects, AddVintageRequest, KycCountByStatus, FindDocResponse, LenderKycStatus, StateResponeDto, KycStateMachineDto, InitiateKycDto, LenderOnboardDto, StepDetails, OnboardStatusDto, LenderFilters, Policy, OrganizationLogosObject, MetricSubTypes, MetricTypes, BreApprovedUsersResponse, Metrics, MetricData, GetAllUserLendersByEnityId, ApprovedLenders, BreResultStatus, LenderState, UserLenderState, LenderConfig, Pg, LenderPgConfig, FileUploadResponse, PresignedUrl, PresignedUrlV2, LenderDocument, Commercial, KycStatusResponse, WorkflowResponse, Action, InitiateKycResponse, UploadDocResponse, LenderOnboardResponse, OnboardingStatusResponse, SignedUrlResponse, SignedUrlV2Response, PresignedUrlV3, SignedUrlV3Response, DigilockerLinkResponse, GetDocumentsResponse, ApprovedLendersTransaction, ApprovedPossibleLenders, AvailableLenders, CreditLimit, CreditLimitResponse, LenderPgConfigResponse, GetLendersResponse, LenderConfigurationResponse, UpsertLenderResponse, UpsertLenderConfigResponse, CreateKycStepsSchema, CreatePaymentGatewaySchema, CreateLenderStateSchema, GetAllPaymentGatewaysSchema, PolicyResponse, CreditCheckBreResponse, MerchantConfigResponse, UserLenderByIdAndStatusResponse, IntgrAvailableCreditLimit, IngtrAvailableLimit, IntgrCreditLimit, PossibleLendersInternal, PossibleLendersInternalResponse, GetTotalKycResponse, GetTotalKycCompletedUsersResponse, GetTotalPendingUsersResponse, GetTotalCreditProvidedResponse, MetaSchemaResponse, MetaSchema, AddMetaSchema, AddMetaSchemaRequest, ValidatePanResponse, ConfirmPanResonse, LenderCountResponse, OnboardStepsDto, OnboardStepsResponse, LenderDocumentResponse, GetUserLendersResponse, CreditReportResponse, KycDetailsReponse, GetDocumentByIdResponse, GetAllFormsResponse, UpsertFormResponse, GstDetails, GstDetailsResponse, RegisterGstResponse, PopulateFormResponse, ValidateFormFieldResponse, LenderCustomerMetricsResponse, BreOutput, ManualKycResponse, CustomerKycDetailsReponse, PlatformFees, CommercialResponse, BlockUserRequestSchema, EditEmailRequestSchema, SendVerificationLinkMobileRequestSchema, EditMobileRequestSchema, UpdateEmail, EditProfileRequestSchema, EditProfileMobileSchema, SendEmailOtpRequestSchema, VerifyEmailOtpRequestSchema, ReSendMobileOtpRequestSchema, ResetPasswordSuccess, RegisterFormSuccess, VerifyEmailSuccess, BlockUserSuccess, EmailOtpSuccess, VerifyEmailOTPSuccess, SendMobileVerifyLinkSuccess, SendEmailVerifyLinkSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, UserObjectSchema, CreateOrganization, UpdateLogo, AddMetaSchemaResponse, UpdateOrganization, UpdateFinancials, Documents, FinancialDetails, GetOrganization, OrganizationDetails, Organization, OrganizationList, OrganizationCount, TeamMembers, Member, Profile, AddTeamMember, UpdateTeamMemberRole, RemoveTeamMemberResponse, AddTeamMemberResponse, ApiKey, UpdateApiHook, ApiHookDetails, UpdateApiHookResponse, OrganizationIp, AddOrganizationIpDetails, AddUpdateCsvFileResponse, AddUpdateCsvFileRequest, CsvFile, AddReportCsvFileResponse, AddReportCsvFileRequest, ReportCsvFileResponse, AddReportRequestArray, AddReportRequest, AddReportResponseArray, AddReportResponse, VintageDataResponseObject, VintageDataResponse, AddSkuRequestArray, AddSkuRequest, AddSkuResponse, RestrictedSkuSchema, OrganizationIpResponse, OrganizationIpDetails, RefundSuccess, RefundItem, ValidateCredentialsData, ValidateCredentialsResponse, PaymentLinkResponse, ApplicationCutomer, GeoLocation, Address, OrderItems, PaymentLinkRequest, UpdateLenderStatusSchemaRequest, UpdateLenderStatusSchemaResponse, LenderTheme, LenderDetails, OutstandingData, OutstandingDetailsResponse, CreateUserRequestSchema, CreateUserResponseSchema, RepaymentUsingNetbanking, RepaymentUsingNetbankingResponse, RepaymentUsingUPI, RepaymentUsingUPIResponse, RegisterUPIMandateRequest, RegisterUPIMandateResponse, RegisterUPIMandateStatusCheckRequest, RegisterMandateStatusCheckResponse, TransactionStatusRequest, TransactionStatusResponse, BankList, PaymentsObject, OutstandingDetail, OutstandingSummary, DueSummaryOutstanding, OutstandingMessage, UserCredit, DueTransactionsOutstanding, RepaymentSummaryOutstanding, OutstandingDetailsRepayment, PaymentOptionsResponse, CheckEMandateStatusRequest, AutoPayStatusResponse, OutstandingDetailsData };
}
+/**
+ * @typedef IntegrationResponseMeta
+ * @property {string} timestamp
+ * @property {string} version
+ * @property {string} product
+ * @property {string} [requestId]
+ */
+/**
+ * @typedef IntegrationResponseError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ * @property {string} [field]
+ * @property {string} [location]
+ */
+/**
+ * @typedef IntegrationSuccessResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {Object} data
+ */
+/**
+ * @typedef IntegrationErrorResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {IntegrationResponseError[]} [errors]
+ */
/**
* @typedef RefundResponse
* @property {string} [status]
* @property {string} [message]
* @property {string} [transactionId]
* @property {string} [refundId]
- * @property {Object} [__headers]
*/
/**
* @typedef UserSource
@@ -174,15 +201,15 @@ declare namespace PlatformClient {
*/
/**
* @typedef UserUpdateRequest
- * @property {Object} [firstName]
- * @property {Object} [lastName]
+ * @property {Object | any} [firstName]
+ * @property {Object | any} [lastName]
* @property {string} countryCode
* @property {string} mobile
- * @property {Object} [email]
- * @property {Object} [gender]
- * @property {Object} [dob]
+ * @property {Object | any} [email]
+ * @property {Object | any} [gender]
+ * @property {Object | any} [dob]
* @property {boolean} [active]
- * @property {Object} [profilePictureUrl]
+ * @property {Object | any} [profilePictureUrl]
* @property {boolean} [isEmailVerified]
*/
/**
@@ -266,7 +293,7 @@ declare namespace PlatformClient {
* @typedef CustomerObject
* @property {string} [countryCode]
* @property {string} mobile
- * @property {string} uid
+ * @property {string} [uid]
* @property {string} [email]
* @property {string} [firstname]
* @property {string} [middleName]
@@ -280,6 +307,14 @@ declare namespace PlatformClient {
* @property {OrderAddress} [shippingAddress]
* @property {OrderAddress} [billingAddress]
*/
+/**
+ * @typedef VerifyOrder
+ * @property {number} valueInPaise
+ * @property {string} [uid]
+ * @property {Items[]} [items]
+ * @property {OrderAddress} [shippingAddress]
+ * @property {OrderAddress} [billingAddress]
+ */
/**
* @typedef OrderUid
* @property {number} [valueInPaise]
@@ -304,9 +339,9 @@ declare namespace PlatformClient {
* @property {number} [longitude]
*/
/**
- * @typedef VerifyCustomer
+ * @typedef ValidateCustomer
* @property {CustomerObject} customer
- * @property {Order} order
+ * @property {VerifyOrder} order
* @property {Device} device
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
@@ -330,13 +365,12 @@ declare namespace PlatformClient {
* @property {OrderUid} order
*/
/**
- * @typedef VerifyCustomerSuccess
+ * @typedef ValidateCustomerSuccess
* @property {string} status
* @property {string} userStatus
* @property {string} message
* @property {SchemeResponse[]} [schemes]
* @property {LimitResponse} [limit]
- * @property {Object} [__headers]
*/
/**
* @typedef CreateTransactionSuccess
@@ -346,7 +380,6 @@ declare namespace PlatformClient {
* @property {string} [transactionId]
* @property {string} [status]
* @property {string} [userStatus]
- * @property {Object} [__headers]
*/
/**
* @typedef SupportDocuments
@@ -368,6 +401,7 @@ declare namespace PlatformClient {
/**
* @typedef InitiateTransactions
* @property {string} token
+ * @property {string} [intent]
*/
/**
* @typedef GetMobileFromToken
@@ -392,6 +426,7 @@ declare namespace PlatformClient {
* @property {Order} [order]
* @property {boolean} [isAsp]
* @property {MerchantDetails} [merchant]
+ * @property {string} [redirectUrl]
*/
/**
* @typedef RetrieveMobileFromToken
@@ -586,6 +621,19 @@ declare namespace PlatformClient {
* @property {number} [sequence]
* @property {boolean} [active]
*/
+/**
+ * @typedef MerchantDetailsResponse
+ * @property {string} [id]
+ * @property {string} [website]
+ * @property {string} [businessAddress]
+ * @property {string} [pincode]
+ * @property {string} [logo]
+ * @property {string} [gstIn]
+ * @property {string} [businessName]
+ * @property {string} [name]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
+ */
/**
* @typedef NavigationsMobileResponse
* @property {TabsSchema[]} tabs
@@ -594,6 +642,7 @@ declare namespace PlatformClient {
/**
* @typedef TabsSchema
* @property {string} title
+ * @property {ActionSchema} [action]
* @property {PageSchema} page
* @property {string} icon
* @property {string} activeIcon
@@ -751,7 +800,6 @@ declare namespace PlatformClient {
* @property {string} [status]
* @property {string} [message]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
* @typedef UnlinkAccount
@@ -765,7 +813,6 @@ declare namespace PlatformClient {
* @property {number} statusCode
* @property {string} [userStatus]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
* @typedef Refund
@@ -808,11 +855,17 @@ declare namespace PlatformClient {
* @property {number} itemTotal
*/
/**
- * @typedef UserResponse
+ * @typedef UserResponseData
* @property {Filters[]} filters
* @property {PageResponse} page
* @property {UserSchema[]} listOfUsers
*/
+/**
+ * @typedef UserResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {UserResponseData} data
+ */
/**
* @typedef UserDetailRequest
* @property {string} id
@@ -904,13 +957,11 @@ declare namespace PlatformClient {
* @property {string} [lenderId]
* @property {string} [loanAccountNumber]
* @property {RefundStatusList[]} [refund]
- * @property {Object} [__headers]
*/
/**
* @typedef GetSchemesSuccess
* @property {string} [userId]
* @property {SchemeResponse[]} lenders
- * @property {Object} [__headers]
*/
/**
* @typedef CustomerMetricsPivots
@@ -1081,10 +1132,7 @@ declare namespace PlatformClient {
* @typedef CheckEligibilityRequest
* @property {CustomerObject} customer
* @property {Order} [order]
- * @property {BusinessDetails} [businessDetails]
- * @property {DocumentItems[]} [documents]
* @property {Device} device
- * @property {VintageItems[]} [vintage]
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
*/
@@ -1141,31 +1189,49 @@ declare namespace PlatformClient {
* @property {string} [endDate]
*/
/**
- * @typedef IntegrationResponseMeta
- * @property {string} timestamp
- * @property {string} version
- * @property {string} product
- * @property {string} [requestId]
+ * @typedef RepaymentRequest
+ * @property {string} mobile
+ * @property {string} [countryCode]
+ * @property {string} [target]
+ * @property {string} callbackUrl
+ * @property {string} [lenderSlug]
*/
/**
- * @typedef IntegrationResponseError
- * @property {string} code
+ * @typedef RepaymentResponse
* @property {string} message
- * @property {string} exception
- * @property {string} [field]
- * @property {string} [in]
+ * @property {IntegrationResponseMeta} meta
+ * @property {RepaymentResponseData} data
*/
/**
- * @typedef IntegrationSuccessResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {Object} data
+ * @typedef RepaymentResponseData
+ * @property {string} [repaymentUrl]
*/
/**
- * @typedef IntegrationErrorResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {IntegrationResponseError[]} [errors]
+ * @typedef VerifyMagicLinkResponse
+ * @property {UserSchema} user
+ * @property {string[]} [scope]
+ * @property {string} redirectPath
+ * @property {string} [callbackUrl]
+ * @property {Object} [meta]
+ */
+/**
+ * @typedef VerifyMagicLinkRequest
+ * @property {string} token
+ */
+/**
+ * @typedef VintageData
+ * @property {CustomerObject} [customer]
+ * @property {BusinessDetails} businessDetails
+ * @property {DocumentItems[]} [documents]
+ * @property {Device} [device]
+ * @property {VintageItems[]} vintage
+ * @property {Object} [meta]
+ */
+/**
+ * @typedef AddVintageResponse
+ * @property {string} [mesasge]
+ * @property {IntegrationResponseMeta} [meta]
+ * @property {Object} [data]
*/
/**
* @typedef DisbursalRequest
@@ -1179,6 +1245,7 @@ declare namespace PlatformClient {
* @property {Object} [data]
* @property {string} [transactionId]
* @property {string} [lenderSlug]
+ * @property {string} [intent]
*/
/**
* @typedef WorkflowUser
@@ -1202,7 +1269,6 @@ declare namespace PlatformClient {
/**
* @typedef EligiblePlansResponse
* @property {EligiblePlans[]} [eligiblePlans]
- * @property {Object} [__headers]
*/
/**
* @typedef DisbursalResponse
@@ -1216,7 +1282,6 @@ declare namespace PlatformClient {
* @property {string} [transactionId]
* @property {string} status
* @property {string} message
- * @property {Object} [__headers]
*/
/**
* @typedef DisbursalStatusRequest
@@ -1250,6 +1315,87 @@ declare namespace PlatformClient {
* @property {LenderDetail} [lenderDetail]
* @property {Emi[]} [emis]
*/
+/**
+ * @typedef GroupedEmiLoanAccount
+ * @property {string} loanAccountNumber
+ * @property {string} [kfs]
+ * @property {string} [sanctionLetter]
+ * @property {string} [remark]
+ * @property {string} createdAt
+ * @property {string} updatedAt
+ * @property {number} amount
+ * @property {number} repaidAmount
+ * @property {boolean} paid
+ * @property {boolean} overdue
+ * @property {string} [repaymentDate]
+ * @property {number} paidPercent
+ * @property {LenderDetail} lenderDetail
+ */
+/**
+ * @typedef GroupedEmi
+ * @property {string} [id]
+ * @property {number} [installmentno]
+ * @property {number} [amount]
+ * @property {string} [dueDate]
+ * @property {string} [referenceTransactionId]
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ * @property {boolean} [paid]
+ * @property {boolean} [overdue]
+ * @property {string} [repaymentDate]
+ * @property {number} [paidPercent]
+ * @property {number} [repaidAmount]
+ * @property {GroupedEmiLoanAccount[]} [loanAccounts]
+ */
+/**
+ * @typedef TransactionDetails
+ * @property {string} id
+ * @property {string} userId
+ * @property {string} partnerId
+ * @property {string} partner
+ * @property {string} partnerLogo
+ * @property {string} status
+ * @property {string} [type]
+ * @property {string} [remark]
+ * @property {number} amount
+ * @property {string} [loanAccountNumber]
+ * @property {string} [kfs]
+ * @property {string} [utr]
+ * @property {string} [sanctionLetter]
+ * @property {string} [orderId]
+ * @property {string} [refundId]
+ * @property {string} createdAt
+ * @property {string} [lenderId]
+ * @property {string} [lenderName]
+ * @property {string} [lenderLogo]
+ * @property {string} [loanType]
+ * @property {string} [nextDueDate]
+ * @property {number} [paidPercent]
+ * @property {LenderDetail} [lenderDetail]
+ * @property {GroupedEmi[]} [emis]
+ * @property {TransactionSummary} [summary]
+ */
+/**
+ * @typedef TransactionSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ * @property {TransactionSummaryData[]} data
+ */
+/**
+ * @typedef TransactionSummaryData
+ * @property {TransactionSummaryDataDisplay} [display]
+ */
+/**
+ * @typedef TransactionSummaryDataDisplay
+ * @property {TransactionSummaryDataDisplayType} [primary]
+ * @property {TransactionSummaryDataDisplayType} [secondary]
+ */
+/**
+ * @typedef TransactionSummaryDataDisplayType
+ * @property {string} [text]
+ */
/**
* @typedef LenderDetail
* @property {string} [id]
@@ -1513,10 +1659,102 @@ declare namespace PlatformClient {
* @property {string} [lenderId]
* @property {number} [pivotPoints]
*/
+/**
+ * @typedef OrderShipmentAddressGeoLocation
+ * @property {number} latitude
+ * @property {number} longitude
+ */
+/**
+ * @typedef OrderShipmentAddress
+ * @property {string} [line1]
+ * @property {string} [line2]
+ * @property {string} [city]
+ * @property {string} [state]
+ * @property {string} [country]
+ * @property {string} [pincode]
+ * @property {string} [type]
+ * @property {OrderShipmentAddressGeoLocation} [geoLocation]
+ */
+/**
+ * @typedef OrderShipmentItem
+ * @property {string} [category]
+ * @property {string} [sku]
+ * @property {number} [rate]
+ * @property {number} [quantity]
+ */
+/**
+ * @typedef OrderShipment
+ * @property {string} id
+ * @property {string} [urn]
+ * @property {number} amount
+ * @property {string} timestamp
+ * @property {string} status
+ * @property {string} [remark]
+ * @property {OrderShipmentItem[]} [items]
+ * @property {OrderShipmentAddress} [shippingAddress]
+ * @property {OrderShipmentAddress} [billingAddress]
+ */
+/**
+ * @typedef OrderDeliveryUpdatesBody
+ * @property {string} [orderId]
+ * @property {string} [transactionId]
+ * @property {boolean} [includeSummary]
+ * @property {OrderShipment[]} shipments
+ */
+/**
+ * @typedef OrderShipmentSummary
+ * @property {number} orderAmount
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
+/**
+ * @typedef OrderShipmentResponse
+ * @property {string} id
+ * @property {string} urn
+ * @property {string} shipmentStatus
+ * @property {number} shipmentAmount
+ * @property {string} processingStatus
+ */
+/**
+ * @typedef OrderDeliveryUpdatesData
+ * @property {string} orderId
+ * @property {string} transactionId
+ * @property {OrderShipmentResponse[]} shipments
+ * @property {OrderShipmentSummary} [summary]
+ */
+/**
+ * @typedef OrderDeliveryUpdatesResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ */
+/**
+ * @typedef OrderDeliveryUpdatesPartialResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ * @property {OrderDeliveryUpdatesError[]} [errors]
+ */
+/**
+ * @typedef OrderDeliveryUpdatesError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ */
+/**
+ * @typedef TransactionOrderSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
/**
* @typedef TransactionOrder
* @property {string} id
* @property {number} amount
+ * @property {TransactionOrderSummary} [summary]
*/
/**
* @typedef TransactionMerchant
@@ -1528,6 +1766,18 @@ declare namespace PlatformClient {
* @property {string} number
* @property {number} amount
* @property {string} type
+ * @property {string} dueDate
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
+ * @property {TransactionLoanEmi[]} [emis]
+ */
+/**
+ * @typedef TransactionLoanEmi
+ * @property {number} amount
+ * @property {string} dueDate
+ * @property {number} installmentNo
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
*/
/**
* @typedef TransactionLender
@@ -1548,7 +1798,7 @@ declare namespace PlatformClient {
* @property {boolean} isMasked
* @property {TransactionOrder} [order]
* @property {TransactionMerchant} merchant
- * @property {TransactionLoan} [loan]
+ * @property {TransactionLoan[]} [loans]
* @property {TransactionLender} [lender]
*/
/**
@@ -1570,7 +1820,27 @@ declare namespace PlatformClient {
* @property {string} message
* @property {IntegrationResponseMeta} meta
* @property {GetTransactionsData} data
- * @property {Object} [__headers]
+ */
+/**
+ * @typedef SettlementTransactions
+ * @property {string} [id]
+ * @property {string} [utr]
+ * @property {number} [amount]
+ * @property {string} [settlementStatus]
+ * @property {string} [orderId]
+ * @property {string} [createdAt]
+ * @property {string} [settlementTime]
+ */
+/**
+ * @typedef GetSettlementTransactionsData
+ * @property {SettlementTransactions[]} transactions
+ * @property {Pagination} page
+ */
+/**
+ * @typedef GetSettlementTransactionsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {GetSettlementTransactionsData} data
*/
/**
* @typedef SummaryRequest
@@ -1579,6 +1849,46 @@ declare namespace PlatformClient {
* @property {string} [merchantId]
* @property {string} [type]
*/
+/**
+ * @typedef RegisterTransaction
+ * @property {string} [intent]
+ * @property {string} token
+ */
+/**
+ * @typedef RegisterTransactionResponseData
+ * @property {boolean} [isExistingOrder]
+ * @property {Object} [transaction]
+ * @property {boolean} [action]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+/**
+ * @typedef RegisterTransactionResponseResult
+ * @property {string} [redirectUrl]
+ */
+/**
+ * @typedef RegisterTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+/**
+ * @typedef UpdateTransactionRequest
+ * @property {string} intent
+ * @property {string} token
+ */
+/**
+ * @typedef UpdateTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
/**
* @typedef Lender
* @property {string} [id]
@@ -2110,6 +2420,13 @@ declare namespace PlatformClient {
* @property {string} stepId
* @property {Object} data
*/
+/**
+ * @typedef RetriggerLenderOnboardRequestV2
+ * @property {string} lenderUserId
+ * @property {string} stepName
+ * @property {Object} data
+ * @property {string} entityMapId
+ */
/**
* @typedef BusinessDetail
* @property {string} category
@@ -2119,15 +2436,6 @@ declare namespace PlatformClient {
* @property {string} [type]
* @property {string} [pincode]
*/
-/**
- * @typedef VintageData
- * @property {number} month
- * @property {number} year
- * @property {number} totalTransactions
- * @property {number} totalTransactionAmount
- * @property {number} [totalCancellations]
- * @property {number} [totalCancellationAmount]
- */
/**
* @typedef DocumentObjects
* @property {string} number
@@ -2139,6 +2447,14 @@ declare namespace PlatformClient {
* @property {string} [issuedBy]
* @property {string} [expiryOn]
*/
+/**
+ * @typedef AddVintageRequest
+ * @property {Object} user
+ * @property {BusinessDetail} businessDetails
+ * @property {VintageData} vintageData
+ * @property {DocumentObjects} documents
+ * @property {MerchantSchema} merchant
+ */
/**
* @typedef KycCountByStatus
* @property {string} [startDate]
@@ -2361,6 +2677,10 @@ declare namespace PlatformClient {
* @property {string} id
* @property {string} name
* @property {boolean} active
+ * @property {string} [baseUrl]
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
+ * @property {Object} [credentialsSchema]
*/
/**
* @typedef LenderPgConfig
@@ -2371,6 +2691,8 @@ declare namespace PlatformClient {
* @property {string} lenderId
* @property {string} pgId
* @property {boolean} active
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
*/
/**
* @typedef FileUploadResponse
@@ -2406,6 +2728,16 @@ declare namespace PlatformClient {
* @property {string} [updatedAt]
* @property {string} [deletedAt]
*/
+/**
+ * @typedef Commercial
+ * @property {string} [id]
+ * @property {string} lenderId
+ * @property {string} merchantId
+ * @property {Object} commercial
+ * @property {boolean} active
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ */
/**
* @typedef KycStatusResponse
* @property {boolean} isKycInitiated
@@ -2484,11 +2816,10 @@ declare namespace PlatformClient {
* @property {string} status
* @property {boolean} active
* @property {number} proposedLimit
- * @property {Object} createdAt
- * @property {Object} updatedAt
- * @property {Object} [deletedAt]
+ * @property {string | string} createdAt
+ * @property {string | string} updatedAt
+ * @property {string | string} [deletedAt]
* @property {boolean} [isDefault]
- * @property {Object} [__headers]
*/
/**
* @typedef ApprovedPossibleLenders
@@ -2609,7 +2940,6 @@ declare namespace PlatformClient {
/**
* @typedef IntgrCreditLimit
* @property {IngtrAvailableLimit} limit
- * @property {Object} [__headers]
*/
/**
* @typedef PossibleLendersInternal
@@ -2777,6 +3107,15 @@ declare namespace PlatformClient {
* @typedef CustomerKycDetailsReponse
* @property {UserKycLenderStepMap} data
*/
+/**
+ * @typedef PlatformFees
+ * @property {number} customerAcquisitionFee
+ * @property {number} transactionFee
+ */
+/**
+ * @typedef CommercialResponse
+ * @property {Commercial} data
+ */
/**
* @typedef BlockUserRequestSchema
* @property {boolean} [status]
@@ -2916,6 +3255,8 @@ declare namespace PlatformClient {
* @property {string} [disbursementIfsc]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {boolean} [b2b]
@@ -2938,12 +3279,12 @@ declare namespace PlatformClient {
/**
* @typedef UpdateOrganization
* @property {string} id
- * @property {Object} [name]
- * @property {Object} [logo]
- * @property {Object} [website]
- * @property {Object} [disbursementAccountHolderName]
- * @property {Object} [disbursementAccountNumber]
- * @property {Object} [disbursementIfsc]
+ * @property {Object | any} [name]
+ * @property {Object | any} [logo]
+ * @property {Object | any} [website]
+ * @property {Object | any} [disbursementAccountHolderName]
+ * @property {Object | any} [disbursementAccountNumber]
+ * @property {Object | any} [disbursementIfsc]
* @property {boolean} [active]
*/
/**
@@ -2966,6 +3307,8 @@ declare namespace PlatformClient {
* @property {boolean} [b2c]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {Documents[]} [documents]
@@ -3250,6 +3593,18 @@ declare namespace PlatformClient {
* @typedef RefundItem
* @property {Object[]} items
*/
+/**
+ * @typedef ValidateCredentialsData
+ * @property {boolean} success
+ * @property {string} organizationId
+ * @property {string} [organizationName]
+ */
+/**
+ * @typedef ValidateCredentialsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {ValidateCredentialsData} data
+ */
/**
* @typedef PaymentLinkResponse
* @property {string} [status]
@@ -3309,6 +3664,31 @@ declare namespace PlatformClient {
* @property {boolean} [enable]
* @property {Object} [data]
*/
+/**
+ * @typedef LenderTheme
+ * @property {string} [iconUrl]
+ * @property {string} [logoUrl]
+ */
+/**
+ * @typedef LenderDetails
+ * @property {string} [slug]
+ * @property {string} [name]
+ * @property {string} [id]
+ * @property {LenderTheme} [theme]
+ */
+/**
+ * @typedef OutstandingData
+ * @property {LenderDetails} [lenderDetails]
+ * @property {number} [availableLimit]
+ * @property {number} [creditLimit]
+ * @property {number} [dueAmount]
+ * @property {number} [outstandingAmount]
+ * @property {string} [dueDate]
+ */
+/**
+ * @typedef OutstandingDetailsResponse
+ * @property {OutstandingData[]} [outstandingDetails]
+ */
/**
* @typedef CreateUserRequestSchema
* @property {string} mobile
@@ -3321,175 +3701,456 @@ declare namespace PlatformClient {
* @typedef CreateUserResponseSchema
* @property {UserSchema} [user]
*/
+/**
+ * @typedef RepaymentUsingNetbanking
+ * @property {number} amount
+ * @property {string} bankId
+ * @property {string} bankName
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+/**
+ * @typedef RepaymentUsingNetbankingResponse
+ * @property {string} [form]
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ */
+/**
+ * @typedef RepaymentUsingUPI
+ * @property {number} amount
+ * @property {string} vpa
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+/**
+ * @typedef RepaymentUsingUPIResponse
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ * @property {string} [status]
+ * @property {string} [intentId]
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+/**
+ * @typedef RegisterUPIMandateRequest
+ * @property {string} [vpa]
+ */
+/**
+ * @typedef RegisterUPIMandateResponse
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+/**
+ * @typedef RegisterUPIMandateStatusCheckRequest
+ * @property {string} [transactionId]
+ */
+/**
+ * @typedef RegisterMandateStatusCheckResponse
+ * @property {string} [status]
+ */
+/**
+ * @typedef TransactionStatusRequest
+ * @property {string} intentId
+ * @property {string} transactionId
+ */
+/**
+ * @typedef TransactionStatusResponse
+ * @property {boolean} success
+ * @property {string} [methodType]
+ * @property {string} [methodSubType]
+ * @property {string} [status]
+ */
+/**
+ * @typedef BankList
+ * @property {string} [bankId]
+ * @property {string} [bankName]
+ * @property {number} [rank]
+ * @property {boolean} [popular]
+ * @property {string} [imageUrl]
+ */
+/**
+ * @typedef PaymentsObject
+ * @property {string} [title]
+ * @property {string} [kind]
+ * @property {PaymentOptions[]} [options]
+ */
+/**
+ * @typedef OutstandingDetail
+ * @property {string} [status]
+ * @property {boolean} [action]
+ * @property {OutstandingMessage} [message]
+ * @property {UserCredit} [credit]
+ * @property {DueSummaryOutstanding} [dueSummary]
+ * @property {OutstandingSummary} [outstandingSummary]
+ * @property {string} [entityMapId]
+ */
+/**
+ * @typedef OutstandingSummary
+ * @property {number} [totalOutstanding]
+ * @property {number} [totalOutstandingWithInterest]
+ * @property {number} [totalOutstandingPenalty]
+ * @property {number} [availableLimit]
+ * @property {boolean} [isOverdue]
+ * @property {string} [dueFromDate]
+ * @property {RepaymentSummaryOutstanding[]} [repaymentSummary]
+ */
+/**
+ * @typedef DueSummaryOutstanding
+ * @property {string} [dueDate]
+ * @property {number} [totalDue]
+ * @property {number} [totalDueWithInterest]
+ * @property {number} [totalDuePenalty]
+ * @property {DueTransactionsOutstanding[]} [dueTransactions]
+ * @property {number} [minAmntDue]
+ */
+/**
+ * @typedef OutstandingMessage
+ * @property {string} [dueMessage]
+ * @property {string} [backgroundColor]
+ * @property {string} [textColor]
+ * @property {boolean} [isFlexiRepayEnabled]
+ */
+/**
+ * @typedef UserCredit
+ * @property {number} [availableLimit]
+ * @property {number} [approvedLimit]
+ * @property {boolean} [isEligibleToDrawdown]
+ */
+/**
+ * @typedef DueTransactionsOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [merchantCategory]
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [loanType]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {number} [daysDifference]
+ * @property {string} [lenderTransactionId]
+ */
+/**
+ * @typedef RepaymentSummaryOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [loanType]
+ * @property {string} [merchantCategory]
+ * @property {boolean} [isBbillingTransaction]
+ * @property {number} [totalInstallmentAmount]
+ * @property {number} [totalInstallmentAmountWithInterest]
+ * @property {OutstandingDetailsRepayment[]} [outstandingDetails]
+ */
+/**
+ * @typedef OutstandingDetailsRepayment
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {string} [loanType]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {string} [lenderTransactionId]
+ */
+/**
+ * @typedef PaymentOptionsResponse
+ * @property {PaymentsObject[]} [paymentOptions]
+ */
+/**
+ * @typedef CheckEMandateStatusRequest
+ * @property {string} [orderId]
+ * @property {string} [paymentId]
+ * @property {string} [scheduledEnd]
+ * @property {string} [ruleAmountValue]
+ */
+/**
+ * @typedef AutoPayStatusResponse
+ * @property {string} [status]
+ */
+/**
+ * @typedef OutstandingDetailsData
+ * @property {OutstandingData[]} outstandingDetails
+ */
declare class Customer {
constructor(config: any);
config: any;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
- * @param {VerifyCustomer} arg.body
- * @summary: Verify Customer
- * @description: Use this API to verify the customer based on mobile number and countryCode.
- */
- verify({ body, session }?: any): Promise;
- /**
- * @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
- * @param {ResendPaymentRequest} arg.body
- * @summary: Resend Payment Request
- * @description: Use this API to resend payment request to user
+ * @param {ValidateCustomer} arg.body
+ * @summary: Validate Customer
+ * @description: The Validate Customer API processes validity checks using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. It returns `Enabled` if the transaction is allowed.
*/
- resendPaymentRequest({ body, session }?: any): Promise;
+ validate({ body }?: {
+ body: ValidateCustomer;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
+ * @param {string} [arg.session] - The user session.
* @param {CreateTransaction} arg.body
- * @summary: Create Order
- * @description: Use this API to create transaction for user
+ * @summary: Create Transaction
+ * @description: The Create Transaction API processes transactions using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. If the transaction is allowed, it returns `Enabled` along with the redirect URL and the user status as authorized.
*/
- createOrder({ body, session }?: any): Promise;
+ createTransaction({ body, session }?: {
+ session?: string;
+ body: CreateTransaction;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {LinkAccount} arg.body
* @summary: Link account
- * @description: Use this API to link account with merchant
+ * @description: The Link API generates a merchant-linked session for the user, enabling automatic login to complete payment or repayment activities seamlessly. This session ensures a smooth and secure transaction process without requiring the user to manually log in.
*/
- link({ body, session }?: any): Promise;
+ link({ body }?: {
+ body: LinkAccount;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {UnlinkAccount} arg.body
* @summary: Unlink account
- * @description: Use this API to unlink account from merchant
+ * @description: The Unlink API serves as the reverse of the Link API. It terminates the merchant-linked session for the user, effectively logging them out and preventing any further automatic login for payment or repayment activities. This ensures security and control over session management.
*/
- unlink({ body, session }?: any): Promise;
+ unlink({ body }?: {
+ body: UnlinkAccount;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {Refund} arg.body
- * @summary: Refund customer order amount
- * @description: Use this API to verify the refund customer order amount
+ * @summary: Refund Order
+ * @description: The Refund API processes refunds based on business arrangements and returns the corresponding status of the refund request. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*/
- refund({ body, session }?: any): Promise;
+ refund({ body }?: {
+ body: Refund;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {string} [arg.refundId] - This is the refund ID
* @param {string} [arg.orderId] - This is the order ID
- * @summary: Refund status
- * @description: Use this API to fetch the refund status
+ * @summary: Check Refund status
+ * @description: The Refund Status API returns the current status of a refund request based on business arrangements. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*/
- refundStatus({ refundId, orderId, session }?: any): Promise;
+ refundStatus({ refundId, orderId }?: {
+ refundId?: string;
+ orderId?: string;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {GetSchemesRequest} arg.body
- * @summary: Fetch schemes
- * @description: Use this API to fetch available schemes for user order.
+ * @summary: Get schemes
+ * @description: The Schemes API returns Buy Now, Pay Later (BNPL) and EMI plans offered by lenders for the user. It provides details on available financing options, including terms and conditions for both BNPL and EMI arrangements.
*/
- getSchemes({ body, session }?: any): Promise;
+ getSchemes({ body }?: {
+ body: GetSchemesRequest;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {CheckEligibilityRequest} arg.body
+ * @summary: Check Credit Eligibility
+ * @description: Use this API to pre approve by checking the customer's credit eligibility based on mobile number and countryCode and vintage data of monthly transactions.
+ */
+ checkEligibility({ body }?: {
+ body: CheckEligibilityRequest;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {RepaymentRequest} arg.body
+ * @summary: Get Repayment link
+ * @description: The Repayment Link API generates a repayment link based on the current outstanding balance. The URL provided allows users to make payments and settle their outstanding amounts directly.
+ */
+ getRepaymentLink({ body }?: {
+ body: RepaymentRequest;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {number} arg.page - This is page number
+ * @param {number} arg.limit - This is no of transaction
+ * @param {string} [arg.name] - This is name for filter
+ * @param {string} [arg.mobile] - This is Mobile Number for filter
+ * @summary: Get List of Users
+ * @description: The Customer Listing API returns a paginated list of users associated with the specified organization. Supports filtering by various query parameters such as name, ID, and mobile number.
+ */
+ getAllCustomers({ page, limit, name, mobile }?: {
+ page: number;
+ limit: number;
+ name?: string;
+ mobile?: string;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {VintageData} arg.body
+ * @summary: Add user vintage details
+ * @description: Use this API to add vintage details of the user.
+ */
+ addVintageData({ body }?: {
+ body: VintageData;
+ }): Promise;
}
declare class Credit {
constructor(config: any);
config: any;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organization ID
* @param {string} arg.orderId - This is order ID
* @summary: check status of the order
* @description: Use this API to check status the order.
*/
- getOrderStatus({ orderId, session }?: any): Promise;
+ getOrderStatus({ orderId }?: {
+ orderId: string;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organization id
* @param {string} arg.lenderSlug - This is lender slug
* @param {EligiblePlansRequest} arg.body
* @summary: Get eligible plans
* @description: Use this API to Get eligible plans.
*/
- getEligiblePlans({ lenderSlug, body, session }?: any): Promise;
+ getEligiblePlans({ lenderSlug, body }?: {
+ lenderSlug: string;
+ body: EligiblePlansRequest;
+ }): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - The unique identifier of the organization
+ * @param {OrderDeliveryUpdatesBody} arg.body
+ * @summary: Update delivery status for an order
+ * @description: This API updates an order's delivery status using the order ID or transaction ID and manages loan disbursal or cancellation following delivery. It is utilized when the system configuration is set to delay loan disbursal until after delivery, indicated by the 'DELAYED' type and 'DELIVERY' event. If 'delayDays' is set to 0, disbursal occurs within an hour after delivery. Additionally, this API facilitates loan cancellation through specific shipment statuses, offering a precise method for loan management based on delivery outcomes.
+ */
+ updateOrderDeliveryStatus({ body }?: {
+ body: OrderDeliveryUpdatesBody;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {string} arg.mobile - The mobile number of the user
+ * @param {string} [arg.countryCode] - The country code of the user's mobile number.
* @param {number} [arg.page] - The page number of the transaction list
- * @param {Object} [arg.type] - The transaction type
- * @param {Object} [arg.status] - The transaction status
* @param {number} [arg.limit] - The number of transactions to fetch
- * @param {string} [arg.countryCode] - The country code of the user's mobile number.
- * @param {string} arg.mobile - The mobile number of the user
* @param {string} [arg.orderId] - The order ID
* @param {string} [arg.transactionId] - The transaction ID
+ * @param {string[] | string} [arg.type] - The transaction type
+ * @param {string[] | string} [arg.status] - The transaction status
* @param {boolean} [arg.onlySelf] - Set this flag to true to fetch
* transactions exclusively for your organization, excluding other organizations.
+ * @param {string} [arg.granularity] - Defines the granularity of transaction details.
* @summary: Get list of user transactions
* @description: Retrieves a paginated list of transactions associated with a specific organization, sorted from the latest to the oldest. This endpoint allows filtering transactions based on various criteria and supports pagination.
*/
- getTransactions({ mobile, page, type, status, limit, countryCode, orderId, transactionId, onlySelf, session, }?: any): Promise;
+ getTransactions({ mobile, countryCode, page, limit, orderId, transactionId, type, status, onlySelf, granularity, }?: {
+ mobile: string;
+ countryCode?: string;
+ page?: number;
+ limit?: number;
+ orderId?: string;
+ transactionId?: string;
+ type?: string[] | string;
+ status?: string[] | string;
+ onlySelf?: boolean;
+ granularity?: string;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {number} [arg.page] - The page number of the transaction list
+ * @param {number} [arg.limit] - The number of transactions to fetch
+ * @param {string} [arg.orderId] - The order ID
+ * @param {string} [arg.transactionId] - The transaction ID
+ * @param {string} [arg.startDate] - This is used to filter from date
+ * @param {string} [arg.endDate] - This is used to filter till date
+ * @summary: Get list of settled transactions
+ * @description: Retrieves a paginated list of Settled transactions associated with a specific organization, sorted from the latest to the oldest. This endpoint allows filtering transactions based on various criteria and supports pagination.
+ */
+ getSettledTransactions({ page, limit, orderId, transactionId, startDate, endDate, }?: {
+ page?: number;
+ limit?: number;
+ orderId?: string;
+ transactionId?: string;
+ startDate?: string;
+ endDate?: string;
+ }): Promise;
}
declare class MultiKyc {
constructor(config: any);
config: any;
/**
* @param {Object} arg - Arg object.
- * @param {Object} arg.organizationId -
* @summary: Approved lenders
* @description:
*/
- approvedLenders({}?: {
- organizationId: any;
- }): Promise;
- /**
- * @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId -
- * @param {GetLimitRequest} arg.body
- * @summary: Get limit
- * @description:
- */
- getLimit({ body, session }?: any): Promise;
+ approvedLenders({}?: any): Promise;
}
declare class Merchant {
constructor(config: any);
config: any;
/**
* @param {Object} arg - Arg object.
- * @param {string} arg.organizationId - This is organizationId
* @summary: Get Access Token
* @description: Use this API to get access token
*/
- getAccessToken({}?: {
- organizationId: string;
- }): Promise;
+ getAccessToken({}?: any): Promise;
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {RefreshTokenRequest} arg.body
* @summary: Renew Access Token
* @description: Use this API to renew access token
*/
- renewAccessToken({ body, session }?: any): Promise;
+ renewAccessToken({ body }?: {
+ body: RefreshTokenRequest;
+ }): Promise;
+ /**
+ * @param {Object} arg - Arg object.
+ * @summary: Validate organization's credentials
+ * @description: Use this API to validate organization's credentials
+ */
+ validateCredentials({}?: any): Promise;
+}
+declare class Payments {
+ constructor(config: any);
+ config: any;
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {string} arg.mobile - Mobile number of the user
+ * @param {string[]} [arg.lenderSlugs] - This is list of lender slugs. eg.
+ * ['cashe','liquiloans']
+ * @summary: Get user outstanding details.
+ * @description: This api is for getting outstanding details for the user with all the lenders.
+ */
+ getUserCreditSummary({ mobile, lenderSlugs }?: {
+ mobile: string;
+ lenderSlugs?: string[];
+ }): Promise;
}
import PlatformApplicationClient = require("./PlatformApplicationClient");
+type IntegrationResponseMeta = {
+ timestamp: string;
+ version: string;
+ product: string;
+ requestId?: string;
+};
+type IntegrationResponseError = {
+ code: string;
+ message: string;
+ exception: string;
+ field?: string;
+ location?: string;
+};
+type IntegrationSuccessResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: any;
+};
+type IntegrationErrorResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ errors?: IntegrationResponseError[];
+};
type RefundResponse = {
status?: string;
message?: string;
transactionId?: string;
refundId?: string;
- __headers?: any;
};
type UserSource = {
userId?: string;
@@ -3625,15 +4286,15 @@ type EmailUpdate = {
email?: string;
};
type UserUpdateRequest = {
- firstName?: any;
- lastName?: any;
+ firstName?: any | any;
+ lastName?: any | any;
countryCode: string;
mobile: string;
- email?: any;
- gender?: any;
- dob?: any;
+ email?: any | any;
+ gender?: any | any;
+ dob?: any | any;
active?: boolean;
- profilePictureUrl?: any;
+ profilePictureUrl?: any | any;
isEmailVerified?: boolean;
};
type LenderUpdateRequest = {
@@ -3706,7 +4367,7 @@ type OrderAddress = {
type CustomerObject = {
countryCode?: string;
mobile: string;
- uid: string;
+ uid?: string;
email?: string;
firstname?: string;
middleName?: string;
@@ -3719,6 +4380,13 @@ type Order = {
shippingAddress?: OrderAddress;
billingAddress?: OrderAddress;
};
+type VerifyOrder = {
+ valueInPaise: number;
+ uid?: string;
+ items?: Items[];
+ shippingAddress?: OrderAddress;
+ billingAddress?: OrderAddress;
+};
type OrderUid = {
valueInPaise?: number;
uid: string;
@@ -3739,9 +4407,9 @@ type Device = {
latitude?: number;
longitude?: number;
};
-type VerifyCustomer = {
+type ValidateCustomer = {
customer: CustomerObject;
- order: Order;
+ order: VerifyOrder;
device: Device;
meta?: any;
fetchLimitOptions?: boolean;
@@ -3762,13 +4430,12 @@ type ResendPaymentRequest = {
customer: CustomerObject;
order: OrderUid;
};
-type VerifyCustomerSuccess = {
+type ValidateCustomerSuccess = {
status: string;
userStatus: string;
message: string;
schemes?: SchemeResponse[];
limit?: LimitResponse;
- __headers?: any;
};
type CreateTransactionSuccess = {
chargeToken?: string;
@@ -3777,7 +4444,6 @@ type CreateTransactionSuccess = {
transactionId?: string;
status?: string;
userStatus?: string;
- __headers?: any;
};
type SupportDocuments = {
fileName?: string;
@@ -3795,6 +4461,7 @@ type CreateTicket = {
};
type InitiateTransactions = {
token: string;
+ intent?: string;
};
type GetMobileFromToken = {
token: string;
@@ -3815,6 +4482,7 @@ type InitiateTransactionsSuccess = {
order?: Order;
isAsp?: boolean;
merchant?: MerchantDetails;
+ redirectUrl?: string;
};
type RetrieveMobileFromToken = {
countryCode: string;
@@ -3985,12 +4653,25 @@ type UpdateTips = {
sequence?: number;
active?: boolean;
};
+type MerchantDetailsResponse = {
+ id?: string;
+ website?: string;
+ businessAddress?: string;
+ pincode?: string;
+ logo?: string;
+ gstIn?: string;
+ businessName?: string;
+ name?: string;
+ supportEmail?: string;
+ description?: string;
+};
type NavigationsMobileResponse = {
tabs: TabsSchema[];
profileSections: ProfileSectionSchema[];
};
type TabsSchema = {
title: string;
+ action?: ActionSchema;
page: PageSchema;
icon: string;
activeIcon: string;
@@ -4121,7 +4802,6 @@ type LinkAccountSuccess = {
status?: string;
message?: string;
errorCode?: string;
- __headers?: any;
};
type UnlinkAccount = {
customer: CustomerObject;
@@ -4133,7 +4813,6 @@ type UnlinkAccountSuccess = {
statusCode: number;
userStatus?: string;
errorCode?: string;
- __headers?: any;
};
type Refund = {
fingerprint?: string;
@@ -4169,11 +4848,16 @@ type PageResponse = {
size: number;
itemTotal: number;
};
-type UserResponse = {
+type UserResponseData = {
filters: Filters[];
page: PageResponse;
listOfUsers: UserSchema[];
};
+type UserResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: UserResponseData;
+};
type UserDetailRequest = {
id: string;
};
@@ -4253,12 +4937,10 @@ type RefundStatus = {
lenderId?: string;
loanAccountNumber?: string;
refund?: RefundStatusList[];
- __headers?: any;
};
type GetSchemesSuccess = {
userId?: string;
lenders: SchemeResponse[];
- __headers?: any;
};
type CustomerMetricsPivots = {
date?: string;
@@ -4406,10 +5088,7 @@ type EligibilitySuccess = {
type CheckEligibilityRequest = {
customer: CustomerObject;
order?: Order;
- businessDetails?: BusinessDetails;
- documents?: DocumentItems[];
device: Device;
- vintage?: VintageItems[];
meta?: any;
fetchLimitOptions?: boolean;
};
@@ -4458,28 +5137,43 @@ type userCountRequest = {
startDate?: string;
endDate?: string;
};
-type IntegrationResponseMeta = {
- timestamp: string;
- version: string;
- product: string;
- requestId?: string;
-};
-type IntegrationResponseError = {
- code: string;
- message: string;
- exception: string;
- field?: string;
- in?: string;
+type RepaymentRequest = {
+ mobile: string;
+ countryCode?: string;
+ target?: string;
+ callbackUrl: string;
+ lenderSlug?: string;
};
-type IntegrationSuccessResponse = {
+type RepaymentResponse = {
message: string;
meta: IntegrationResponseMeta;
- data: any;
+ data: RepaymentResponseData;
};
-type IntegrationErrorResponse = {
- message: string;
- meta: IntegrationResponseMeta;
- errors?: IntegrationResponseError[];
+type RepaymentResponseData = {
+ repaymentUrl?: string;
+};
+type VerifyMagicLinkResponse = {
+ user: UserSchema;
+ scope?: string[];
+ redirectPath: string;
+ callbackUrl?: string;
+ meta?: any;
+};
+type VerifyMagicLinkRequest = {
+ token: string;
+};
+type VintageData = {
+ customer?: CustomerObject;
+ businessDetails: BusinessDetails;
+ documents?: DocumentItems[];
+ device?: Device;
+ vintage: VintageItems[];
+ meta?: any;
+};
+type AddVintageResponse = {
+ mesasge?: string;
+ meta?: IntegrationResponseMeta;
+ data?: any;
};
type DisbursalRequest = {
fingerprint?: string;
@@ -4492,6 +5186,7 @@ type DisbursalRequest = {
data?: any;
transactionId?: string;
lenderSlug?: string;
+ intent?: string;
};
type WorkflowUser = {
mobile?: string;
@@ -4511,7 +5206,6 @@ type EligiblePlans = {
};
type EligiblePlansResponse = {
eligiblePlans?: EligiblePlans[];
- __headers?: any;
};
type DisbursalResponse = {
transactionId?: string;
@@ -4523,7 +5217,6 @@ type OrderStatus = {
transactionId?: string;
status: string;
message: string;
- __headers?: any;
};
type DisbursalStatusRequest = {
fingerprint?: string;
@@ -4555,6 +5248,80 @@ type Transactions = {
lenderDetail?: LenderDetail;
emis?: Emi[];
};
+type GroupedEmiLoanAccount = {
+ loanAccountNumber: string;
+ kfs?: string;
+ sanctionLetter?: string;
+ remark?: string;
+ createdAt: string;
+ updatedAt: string;
+ amount: number;
+ repaidAmount: number;
+ paid: boolean;
+ overdue: boolean;
+ repaymentDate?: string;
+ paidPercent: number;
+ lenderDetail: LenderDetail;
+};
+type GroupedEmi = {
+ id?: string;
+ installmentno?: number;
+ amount?: number;
+ dueDate?: string;
+ referenceTransactionId?: string;
+ createdAt?: string;
+ updatedAt?: string;
+ paid?: boolean;
+ overdue?: boolean;
+ repaymentDate?: string;
+ paidPercent?: number;
+ repaidAmount?: number;
+ loanAccounts?: GroupedEmiLoanAccount[];
+};
+type TransactionDetails = {
+ id: string;
+ userId: string;
+ partnerId: string;
+ partner: string;
+ partnerLogo: string;
+ status: string;
+ type?: string;
+ remark?: string;
+ amount: number;
+ loanAccountNumber?: string;
+ kfs?: string;
+ utr?: string;
+ sanctionLetter?: string;
+ orderId?: string;
+ refundId?: string;
+ createdAt: string;
+ lenderId?: string;
+ lenderName?: string;
+ lenderLogo?: string;
+ loanType?: string;
+ nextDueDate?: string;
+ paidPercent?: number;
+ lenderDetail?: LenderDetail;
+ emis?: GroupedEmi[];
+ summary?: TransactionSummary;
+};
+type TransactionSummary = {
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+ data: TransactionSummaryData[];
+};
+type TransactionSummaryData = {
+ display?: TransactionSummaryDataDisplay;
+};
+type TransactionSummaryDataDisplay = {
+ primary?: TransactionSummaryDataDisplayType;
+ secondary?: TransactionSummaryDataDisplayType;
+};
+type TransactionSummaryDataDisplayType = {
+ text?: string;
+};
type LenderDetail = {
id?: string;
name?: string;
@@ -4779,9 +5546,89 @@ type LenderCustomerTransactionMetricsRequest = {
lenderId?: string;
pivotPoints?: number;
};
+type OrderShipmentAddressGeoLocation = {
+ latitude: number;
+ longitude: number;
+};
+type OrderShipmentAddress = {
+ line1?: string;
+ line2?: string;
+ city?: string;
+ state?: string;
+ country?: string;
+ pincode?: string;
+ type?: string;
+ geoLocation?: OrderShipmentAddressGeoLocation;
+};
+type OrderShipmentItem = {
+ category?: string;
+ sku?: string;
+ rate?: number;
+ quantity?: number;
+};
+type OrderShipment = {
+ id: string;
+ urn?: string;
+ amount: number;
+ timestamp: string;
+ status: string;
+ remark?: string;
+ items?: OrderShipmentItem[];
+ shippingAddress?: OrderShipmentAddress;
+ billingAddress?: OrderShipmentAddress;
+};
+type OrderDeliveryUpdatesBody = {
+ orderId?: string;
+ transactionId?: string;
+ includeSummary?: boolean;
+ shipments: OrderShipment[];
+};
+type OrderShipmentSummary = {
+ orderAmount: number;
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+};
+type OrderShipmentResponse = {
+ id: string;
+ urn: string;
+ shipmentStatus: string;
+ shipmentAmount: number;
+ processingStatus: string;
+};
+type OrderDeliveryUpdatesData = {
+ orderId: string;
+ transactionId: string;
+ shipments: OrderShipmentResponse[];
+ summary?: OrderShipmentSummary;
+};
+type OrderDeliveryUpdatesResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: OrderDeliveryUpdatesData;
+};
+type OrderDeliveryUpdatesPartialResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: OrderDeliveryUpdatesData;
+ errors?: OrderDeliveryUpdatesError[];
+};
+type OrderDeliveryUpdatesError = {
+ code: string;
+ message: string;
+ exception: string;
+};
+type TransactionOrderSummary = {
+ capturedAmount: number;
+ uncapturedAmount: number;
+ capturedAmountForDisbursal: number;
+ capturedAmountForCancellation: number;
+};
type TransactionOrder = {
id: string;
amount: number;
+ summary?: TransactionOrderSummary;
};
type TransactionMerchant = {
name: string;
@@ -4791,6 +5638,17 @@ type TransactionLoan = {
number: string;
amount: number;
type: string;
+ dueDate: string;
+ repaidAmount: number;
+ isSettled: boolean;
+ emis?: TransactionLoanEmi[];
+};
+type TransactionLoanEmi = {
+ amount: number;
+ dueDate: string;
+ installmentNo: number;
+ repaidAmount: number;
+ isSettled: boolean;
};
type TransactionLender = {
name: string;
@@ -4809,7 +5667,7 @@ type UserTransaction = {
isMasked: boolean;
order?: TransactionOrder;
merchant: TransactionMerchant;
- loan?: TransactionLoan;
+ loans?: TransactionLoan[];
lender?: TransactionLender;
};
type Pagination = {
@@ -4828,7 +5686,24 @@ type GetTransactionsResponse = {
message: string;
meta: IntegrationResponseMeta;
data: GetTransactionsData;
- __headers?: any;
+};
+type SettlementTransactions = {
+ id?: string;
+ utr?: string;
+ amount?: number;
+ settlementStatus?: string;
+ orderId?: string;
+ createdAt?: string;
+ settlementTime?: string;
+};
+type GetSettlementTransactionsData = {
+ transactions: SettlementTransactions[];
+ page: Pagination;
+};
+type GetSettlementTransactionsResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: GetSettlementTransactionsData;
};
type SummaryRequest = {
startDate?: string;
@@ -4836,6 +5711,40 @@ type SummaryRequest = {
merchantId?: string;
type?: string;
};
+type RegisterTransaction = {
+ intent?: string;
+ token: string;
+};
+type RegisterTransactionResponseData = {
+ isExistingOrder?: boolean;
+ transaction?: any;
+ action?: boolean;
+ status?: string;
+ message?: string;
+};
+type RegisterTransactionResponseResult = {
+ redirectUrl?: string;
+};
+type RegisterTransactionResponse = {
+ result?: RegisterTransactionResponseResult;
+ action?: any;
+ data?: RegisterTransactionResponseData;
+ transactionId?: string;
+ status?: string;
+ message?: string;
+};
+type UpdateTransactionRequest = {
+ intent: string;
+ token: string;
+};
+type UpdateTransactionResponse = {
+ result?: RegisterTransactionResponseResult;
+ action?: any;
+ data?: RegisterTransactionResponseData;
+ transactionId?: string;
+ status?: string;
+ message?: string;
+};
type Lender = {
id?: string;
name?: string;
@@ -5304,6 +6213,12 @@ type RetriggerLenderOnboardRequest = {
stepId: string;
data: any;
};
+type RetriggerLenderOnboardRequestV2 = {
+ lenderUserId: string;
+ stepName: string;
+ data: any;
+ entityMapId: string;
+};
type BusinessDetail = {
category: string;
shopName?: string;
@@ -5312,14 +6227,6 @@ type BusinessDetail = {
type?: string;
pincode?: string;
};
-type VintageData = {
- month: number;
- year: number;
- totalTransactions: number;
- totalTransactionAmount: number;
- totalCancellations?: number;
- totalCancellationAmount?: number;
-};
type DocumentObjects = {
number: string;
category: string;
@@ -5330,6 +6237,13 @@ type DocumentObjects = {
issuedBy?: string;
expiryOn?: string;
};
+type AddVintageRequest = {
+ user: any;
+ businessDetails: BusinessDetail;
+ vintageData: VintageData;
+ documents: DocumentObjects;
+ merchant: MerchantSchema;
+};
type KycCountByStatus = {
startDate?: string;
endDate?: string;
@@ -5528,6 +6442,10 @@ type Pg = {
id: string;
name: string;
active: boolean;
+ baseUrl?: string;
+ config?: any;
+ paymentOptions?: any[];
+ credentialsSchema?: any;
};
type LenderPgConfig = {
id?: string;
@@ -5537,6 +6455,8 @@ type LenderPgConfig = {
lenderId: string;
pgId: string;
active: boolean;
+ config?: any;
+ paymentOptions?: any[];
};
type FileUploadResponse = {
fileId: string;
@@ -5568,6 +6488,15 @@ type LenderDocument = {
updatedAt?: string;
deletedAt?: string;
};
+type Commercial = {
+ id?: string;
+ lenderId: string;
+ merchantId: string;
+ commercial: any;
+ active: boolean;
+ createdAt?: string;
+ updatedAt?: string;
+};
type KycStatusResponse = {
isKycInitiated: boolean;
userId: string;
@@ -5632,11 +6561,10 @@ type ApprovedLendersTransaction = {
status: string;
active: boolean;
proposedLimit: number;
- createdAt: any;
- updatedAt: any;
- deletedAt?: any;
+ createdAt: string | string;
+ updatedAt: string | string;
+ deletedAt?: string | string;
isDefault?: boolean;
- __headers?: any;
};
type ApprovedPossibleLenders = {
limit: number;
@@ -5737,7 +6665,6 @@ type IngtrAvailableLimit = {
};
type IntgrCreditLimit = {
limit: IngtrAvailableLimit;
- __headers?: any;
};
type PossibleLendersInternal = {
limit: boolean;
@@ -5874,6 +6801,13 @@ type ManualKycResponse = {
type CustomerKycDetailsReponse = {
data: UserKycLenderStepMap;
};
+type PlatformFees = {
+ customerAcquisitionFee: number;
+ transactionFee: number;
+};
+type CommercialResponse = {
+ data: Commercial;
+};
type BlockUserRequestSchema = {
status?: boolean;
userid?: string[];
@@ -5990,6 +6924,8 @@ type CreateOrganization = {
disbursementIfsc?: string;
businessName?: string;
email?: string;
+ supportEmail?: string;
+ description?: string;
businessAddress?: string;
pincode?: string;
b2b?: boolean;
@@ -6009,12 +6945,12 @@ type AddMetaSchemaResponse = {
};
type UpdateOrganization = {
id: string;
- name?: any;
- logo?: any;
- website?: any;
- disbursementAccountHolderName?: any;
- disbursementAccountNumber?: any;
- disbursementIfsc?: any;
+ name?: any | any;
+ logo?: any | any;
+ website?: any | any;
+ disbursementAccountHolderName?: any | any;
+ disbursementAccountNumber?: any | any;
+ disbursementIfsc?: any | any;
active?: boolean;
};
type UpdateFinancials = {
@@ -6034,6 +6970,8 @@ type FinancialDetails = {
b2c?: boolean;
businessName?: string;
email?: string;
+ supportEmail?: string;
+ description?: string;
businessAddress?: string;
pincode?: string;
documents?: Documents[];
@@ -6280,6 +7218,16 @@ type RefundSuccess = {
type RefundItem = {
items: any[];
};
+type ValidateCredentialsData = {
+ success: boolean;
+ organizationId: string;
+ organizationName?: string;
+};
+type ValidateCredentialsResponse = {
+ message: string;
+ meta: IntegrationResponseMeta;
+ data: ValidateCredentialsData;
+};
type PaymentLinkResponse = {
status?: string;
message?: string;
@@ -6331,6 +7279,27 @@ type UpdateLenderStatusSchemaResponse = {
enable?: boolean;
data?: any;
};
+type LenderTheme = {
+ iconUrl?: string;
+ logoUrl?: string;
+};
+type LenderDetails = {
+ slug?: string;
+ name?: string;
+ id?: string;
+ theme?: LenderTheme;
+};
+type OutstandingData = {
+ lenderDetails?: LenderDetails;
+ availableLimit?: number;
+ creditLimit?: number;
+ dueAmount?: number;
+ outstandingAmount?: number;
+ dueDate?: string;
+};
+type OutstandingDetailsResponse = {
+ outstandingDetails?: OutstandingData[];
+};
type CreateUserRequestSchema = {
mobile: string;
email?: string;
@@ -6341,3 +7310,156 @@ type CreateUserRequestSchema = {
type CreateUserResponseSchema = {
user?: UserSchema;
};
+type RepaymentUsingNetbanking = {
+ amount: number;
+ bankId: string;
+ bankName: string;
+ chargeToken?: string;
+ transactionId?: string;
+};
+type RepaymentUsingNetbankingResponse = {
+ form?: string;
+ isDifferent?: boolean;
+ outstanding?: string;
+};
+type RepaymentUsingUPI = {
+ amount: number;
+ vpa: string;
+ chargeToken?: string;
+ transactionId?: string;
+};
+type RepaymentUsingUPIResponse = {
+ isDifferent?: boolean;
+ outstanding?: string;
+ status?: string;
+ intentId?: string;
+ transactionId?: string;
+ expiry?: number;
+ interval?: number;
+};
+type RegisterUPIMandateRequest = {
+ vpa?: string;
+};
+type RegisterUPIMandateResponse = {
+ transactionId?: string;
+ expiry?: number;
+ interval?: number;
+};
+type RegisterUPIMandateStatusCheckRequest = {
+ transactionId?: string;
+};
+type RegisterMandateStatusCheckResponse = {
+ status?: string;
+};
+type TransactionStatusRequest = {
+ intentId: string;
+ transactionId: string;
+};
+type TransactionStatusResponse = {
+ success: boolean;
+ methodType?: string;
+ methodSubType?: string;
+ status?: string;
+};
+type BankList = {
+ bankId?: string;
+ bankName?: string;
+ rank?: number;
+ popular?: boolean;
+ imageUrl?: string;
+};
+type PaymentsObject = {
+ title?: string;
+ kind?: string;
+ options?: PaymentOptions[];
+};
+type OutstandingDetail = {
+ status?: string;
+ action?: boolean;
+ message?: OutstandingMessage;
+ credit?: UserCredit;
+ dueSummary?: DueSummaryOutstanding;
+ outstandingSummary?: OutstandingSummary;
+ entityMapId?: string;
+};
+type OutstandingSummary = {
+ totalOutstanding?: number;
+ totalOutstandingWithInterest?: number;
+ totalOutstandingPenalty?: number;
+ availableLimit?: number;
+ isOverdue?: boolean;
+ dueFromDate?: string;
+ repaymentSummary?: RepaymentSummaryOutstanding[];
+};
+type DueSummaryOutstanding = {
+ dueDate?: string;
+ totalDue?: number;
+ totalDueWithInterest?: number;
+ totalDuePenalty?: number;
+ dueTransactions?: DueTransactionsOutstanding[];
+ minAmntDue?: number;
+};
+type OutstandingMessage = {
+ dueMessage?: string;
+ backgroundColor?: string;
+ textColor?: string;
+ isFlexiRepayEnabled?: boolean;
+};
+type UserCredit = {
+ availableLimit?: number;
+ approvedLimit?: number;
+ isEligibleToDrawdown?: boolean;
+};
+type DueTransactionsOutstanding = {
+ loanRequestNo?: string;
+ merchantCategory?: string;
+ installmentAmountWithInterest?: number;
+ installmentAmount?: number;
+ dueAmount?: number;
+ loanType?: string;
+ installmentNo?: string;
+ installmentDueDate?: string;
+ isPastDue?: boolean;
+ isPenaltyCharged?: boolean;
+ penaltyAmount?: number;
+ noOfDaysPenaltyCharged?: number;
+ daysDifference?: number;
+ lenderTransactionId?: string;
+};
+type RepaymentSummaryOutstanding = {
+ loanRequestNo?: string;
+ loanType?: string;
+ merchantCategory?: string;
+ isBbillingTransaction?: boolean;
+ totalInstallmentAmount?: number;
+ totalInstallmentAmountWithInterest?: number;
+ outstandingDetails?: OutstandingDetailsRepayment[];
+};
+type OutstandingDetailsRepayment = {
+ installmentAmountWithInterest?: number;
+ installmentAmount?: number;
+ dueAmount?: number;
+ installmentNo?: string;
+ installmentDueDate?: string;
+ isPastDue?: boolean;
+ loanType?: string;
+ isPenaltyCharged?: boolean;
+ penaltyAmount?: number;
+ noOfDaysPenaltyCharged?: number;
+ lenderTransactionId?: string;
+};
+type PaymentOptionsResponse = {
+ paymentOptions?: PaymentsObject[];
+};
+type CheckEMandateStatusRequest = {
+ orderId?: string;
+ paymentId?: string;
+ scheduledEnd?: string;
+ ruleAmountValue?: string;
+};
+type AutoPayStatusResponse = {
+ status?: string;
+};
+type OutstandingDetailsData = {
+ outstandingDetails: OutstandingData[];
+};
diff --git a/sdk/platform/PlatformClient.js b/sdk/platform/PlatformClient.js
index e3efded..4f74fcb 100644
--- a/sdk/platform/PlatformClient.js
+++ b/sdk/platform/PlatformClient.js
@@ -3,6 +3,7 @@ const {
CreditValidator,
MultiKycValidator,
MerchantValidator,
+ PaymentsValidator,
} = require("./PlatformModels");
const PlatformApplicationClient = require("./PlatformApplicationClient");
const Paginator = require("../common/Paginator");
@@ -16,6 +17,7 @@ class PlatformClient {
this.credit = new Credit(config);
this.multiKyc = new MultiKyc(config);
this.merchant = new Merchant(config);
+ this.payments = new Payments(config);
}
application(applicationId) {
if (typeof applicationId == "string") {
@@ -35,13 +37,43 @@ class PlatformClient {
}
}
+/**
+ * @typedef IntegrationResponseMeta
+ * @property {string} timestamp
+ * @property {string} version
+ * @property {string} product
+ * @property {string} [requestId]
+ */
+
+/**
+ * @typedef IntegrationResponseError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ * @property {string} [field]
+ * @property {string} [location]
+ */
+
+/**
+ * @typedef IntegrationSuccessResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {Object} data
+ */
+
+/**
+ * @typedef IntegrationErrorResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {IntegrationResponseError[]} [errors]
+ */
+
/**
* @typedef RefundResponse
* @property {string} [status]
* @property {string} [message]
* @property {string} [transactionId]
* @property {string} [refundId]
- * @property {Object} [__headers]
*/
/**
@@ -217,15 +249,15 @@ class PlatformClient {
/**
* @typedef UserUpdateRequest
- * @property {Object} [firstName]
- * @property {Object} [lastName]
+ * @property {Object | any} [firstName]
+ * @property {Object | any} [lastName]
* @property {string} countryCode
* @property {string} mobile
- * @property {Object} [email]
- * @property {Object} [gender]
- * @property {Object} [dob]
+ * @property {Object | any} [email]
+ * @property {Object | any} [gender]
+ * @property {Object | any} [dob]
* @property {boolean} [active]
- * @property {Object} [profilePictureUrl]
+ * @property {Object | any} [profilePictureUrl]
* @property {boolean} [isEmailVerified]
*/
@@ -320,7 +352,7 @@ class PlatformClient {
* @typedef CustomerObject
* @property {string} [countryCode]
* @property {string} mobile
- * @property {string} uid
+ * @property {string} [uid]
* @property {string} [email]
* @property {string} [firstname]
* @property {string} [middleName]
@@ -336,6 +368,15 @@ class PlatformClient {
* @property {OrderAddress} [billingAddress]
*/
+/**
+ * @typedef VerifyOrder
+ * @property {number} valueInPaise
+ * @property {string} [uid]
+ * @property {Items[]} [items]
+ * @property {OrderAddress} [shippingAddress]
+ * @property {OrderAddress} [billingAddress]
+ */
+
/**
* @typedef OrderUid
* @property {number} [valueInPaise]
@@ -363,9 +404,9 @@ class PlatformClient {
*/
/**
- * @typedef VerifyCustomer
+ * @typedef ValidateCustomer
* @property {CustomerObject} customer
- * @property {Order} order
+ * @property {VerifyOrder} order
* @property {Device} device
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
@@ -392,13 +433,12 @@ class PlatformClient {
*/
/**
- * @typedef VerifyCustomerSuccess
+ * @typedef ValidateCustomerSuccess
* @property {string} status
* @property {string} userStatus
* @property {string} message
* @property {SchemeResponse[]} [schemes]
* @property {LimitResponse} [limit]
- * @property {Object} [__headers]
*/
/**
@@ -409,7 +449,6 @@ class PlatformClient {
* @property {string} [transactionId]
* @property {string} [status]
* @property {string} [userStatus]
- * @property {Object} [__headers]
*/
/**
@@ -435,6 +474,7 @@ class PlatformClient {
/**
* @typedef InitiateTransactions
* @property {string} token
+ * @property {string} [intent]
*/
/**
@@ -463,6 +503,7 @@ class PlatformClient {
* @property {Order} [order]
* @property {boolean} [isAsp]
* @property {MerchantDetails} [merchant]
+ * @property {string} [redirectUrl]
*/
/**
@@ -682,6 +723,20 @@ class PlatformClient {
* @property {boolean} [active]
*/
+/**
+ * @typedef MerchantDetailsResponse
+ * @property {string} [id]
+ * @property {string} [website]
+ * @property {string} [businessAddress]
+ * @property {string} [pincode]
+ * @property {string} [logo]
+ * @property {string} [gstIn]
+ * @property {string} [businessName]
+ * @property {string} [name]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
+ */
+
/**
* @typedef NavigationsMobileResponse
* @property {TabsSchema[]} tabs
@@ -691,6 +746,7 @@ class PlatformClient {
/**
* @typedef TabsSchema
* @property {string} title
+ * @property {ActionSchema} [action]
* @property {PageSchema} page
* @property {string} icon
* @property {string} activeIcon
@@ -875,7 +931,6 @@ class PlatformClient {
* @property {string} [status]
* @property {string} [message]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
@@ -891,7 +946,6 @@ class PlatformClient {
* @property {number} statusCode
* @property {string} [userStatus]
* @property {string} [errorCode]
- * @property {Object} [__headers]
*/
/**
@@ -941,12 +995,19 @@ class PlatformClient {
*/
/**
- * @typedef UserResponse
+ * @typedef UserResponseData
* @property {Filters[]} filters
* @property {PageResponse} page
* @property {UserSchema[]} listOfUsers
*/
+/**
+ * @typedef UserResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {UserResponseData} data
+ */
+
/**
* @typedef UserDetailRequest
* @property {string} id
@@ -1049,14 +1110,12 @@ class PlatformClient {
* @property {string} [lenderId]
* @property {string} [loanAccountNumber]
* @property {RefundStatusList[]} [refund]
- * @property {Object} [__headers]
*/
/**
* @typedef GetSchemesSuccess
* @property {string} [userId]
* @property {SchemeResponse[]} lenders
- * @property {Object} [__headers]
*/
/**
@@ -1250,10 +1309,7 @@ class PlatformClient {
* @typedef CheckEligibilityRequest
* @property {CustomerObject} customer
* @property {Order} [order]
- * @property {BusinessDetails} [businessDetails]
- * @property {DocumentItems[]} [documents]
* @property {Device} device
- * @property {VintageItems[]} [vintage]
* @property {Object} [meta]
* @property {boolean} [fetchLimitOptions]
*/
@@ -1318,34 +1374,55 @@ class PlatformClient {
*/
/**
- * @typedef IntegrationResponseMeta
- * @property {string} timestamp
- * @property {string} version
- * @property {string} product
- * @property {string} [requestId]
+ * @typedef RepaymentRequest
+ * @property {string} mobile
+ * @property {string} [countryCode]
+ * @property {string} [target]
+ * @property {string} callbackUrl
+ * @property {string} [lenderSlug]
*/
/**
- * @typedef IntegrationResponseError
- * @property {string} code
+ * @typedef RepaymentResponse
* @property {string} message
- * @property {string} exception
- * @property {string} [field]
- * @property {string} [in]
+ * @property {IntegrationResponseMeta} meta
+ * @property {RepaymentResponseData} data
*/
/**
- * @typedef IntegrationSuccessResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {Object} data
+ * @typedef RepaymentResponseData
+ * @property {string} [repaymentUrl]
*/
/**
- * @typedef IntegrationErrorResponse
- * @property {string} message
- * @property {IntegrationResponseMeta} meta
- * @property {IntegrationResponseError[]} [errors]
+ * @typedef VerifyMagicLinkResponse
+ * @property {UserSchema} user
+ * @property {string[]} [scope]
+ * @property {string} redirectPath
+ * @property {string} [callbackUrl]
+ * @property {Object} [meta]
+ */
+
+/**
+ * @typedef VerifyMagicLinkRequest
+ * @property {string} token
+ */
+
+/**
+ * @typedef VintageData
+ * @property {CustomerObject} [customer]
+ * @property {BusinessDetails} businessDetails
+ * @property {DocumentItems[]} [documents]
+ * @property {Device} [device]
+ * @property {VintageItems[]} vintage
+ * @property {Object} [meta]
+ */
+
+/**
+ * @typedef AddVintageResponse
+ * @property {string} [mesasge]
+ * @property {IntegrationResponseMeta} [meta]
+ * @property {Object} [data]
*/
/**
@@ -1360,6 +1437,7 @@ class PlatformClient {
* @property {Object} [data]
* @property {string} [transactionId]
* @property {string} [lenderSlug]
+ * @property {string} [intent]
*/
/**
@@ -1387,7 +1465,6 @@ class PlatformClient {
/**
* @typedef EligiblePlansResponse
* @property {EligiblePlans[]} [eligiblePlans]
- * @property {Object} [__headers]
*/
/**
@@ -1403,7 +1480,6 @@ class PlatformClient {
* @property {string} [transactionId]
* @property {string} status
* @property {string} message
- * @property {Object} [__headers]
*/
/**
@@ -1440,6 +1516,94 @@ class PlatformClient {
* @property {Emi[]} [emis]
*/
+/**
+ * @typedef GroupedEmiLoanAccount
+ * @property {string} loanAccountNumber
+ * @property {string} [kfs]
+ * @property {string} [sanctionLetter]
+ * @property {string} [remark]
+ * @property {string} createdAt
+ * @property {string} updatedAt
+ * @property {number} amount
+ * @property {number} repaidAmount
+ * @property {boolean} paid
+ * @property {boolean} overdue
+ * @property {string} [repaymentDate]
+ * @property {number} paidPercent
+ * @property {LenderDetail} lenderDetail
+ */
+
+/**
+ * @typedef GroupedEmi
+ * @property {string} [id]
+ * @property {number} [installmentno]
+ * @property {number} [amount]
+ * @property {string} [dueDate]
+ * @property {string} [referenceTransactionId]
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ * @property {boolean} [paid]
+ * @property {boolean} [overdue]
+ * @property {string} [repaymentDate]
+ * @property {number} [paidPercent]
+ * @property {number} [repaidAmount]
+ * @property {GroupedEmiLoanAccount[]} [loanAccounts]
+ */
+
+/**
+ * @typedef TransactionDetails
+ * @property {string} id
+ * @property {string} userId
+ * @property {string} partnerId
+ * @property {string} partner
+ * @property {string} partnerLogo
+ * @property {string} status
+ * @property {string} [type]
+ * @property {string} [remark]
+ * @property {number} amount
+ * @property {string} [loanAccountNumber]
+ * @property {string} [kfs]
+ * @property {string} [utr]
+ * @property {string} [sanctionLetter]
+ * @property {string} [orderId]
+ * @property {string} [refundId]
+ * @property {string} createdAt
+ * @property {string} [lenderId]
+ * @property {string} [lenderName]
+ * @property {string} [lenderLogo]
+ * @property {string} [loanType]
+ * @property {string} [nextDueDate]
+ * @property {number} [paidPercent]
+ * @property {LenderDetail} [lenderDetail]
+ * @property {GroupedEmi[]} [emis]
+ * @property {TransactionSummary} [summary]
+ */
+
+/**
+ * @typedef TransactionSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ * @property {TransactionSummaryData[]} data
+ */
+
+/**
+ * @typedef TransactionSummaryData
+ * @property {TransactionSummaryDataDisplay} [display]
+ */
+
+/**
+ * @typedef TransactionSummaryDataDisplay
+ * @property {TransactionSummaryDataDisplayType} [primary]
+ * @property {TransactionSummaryDataDisplayType} [secondary]
+ */
+
+/**
+ * @typedef TransactionSummaryDataDisplayType
+ * @property {string} [text]
+ */
+
/**
* @typedef LenderDetail
* @property {string} [id]
@@ -1742,10 +1906,114 @@ class PlatformClient {
* @property {number} [pivotPoints]
*/
+/**
+ * @typedef OrderShipmentAddressGeoLocation
+ * @property {number} latitude
+ * @property {number} longitude
+ */
+
+/**
+ * @typedef OrderShipmentAddress
+ * @property {string} [line1]
+ * @property {string} [line2]
+ * @property {string} [city]
+ * @property {string} [state]
+ * @property {string} [country]
+ * @property {string} [pincode]
+ * @property {string} [type]
+ * @property {OrderShipmentAddressGeoLocation} [geoLocation]
+ */
+
+/**
+ * @typedef OrderShipmentItem
+ * @property {string} [category]
+ * @property {string} [sku]
+ * @property {number} [rate]
+ * @property {number} [quantity]
+ */
+
+/**
+ * @typedef OrderShipment
+ * @property {string} id
+ * @property {string} [urn]
+ * @property {number} amount
+ * @property {string} timestamp
+ * @property {string} status
+ * @property {string} [remark]
+ * @property {OrderShipmentItem[]} [items]
+ * @property {OrderShipmentAddress} [shippingAddress]
+ * @property {OrderShipmentAddress} [billingAddress]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesBody
+ * @property {string} [orderId]
+ * @property {string} [transactionId]
+ * @property {boolean} [includeSummary]
+ * @property {OrderShipment[]} shipments
+ */
+
+/**
+ * @typedef OrderShipmentSummary
+ * @property {number} orderAmount
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
+
+/**
+ * @typedef OrderShipmentResponse
+ * @property {string} id
+ * @property {string} urn
+ * @property {string} shipmentStatus
+ * @property {number} shipmentAmount
+ * @property {string} processingStatus
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesData
+ * @property {string} orderId
+ * @property {string} transactionId
+ * @property {OrderShipmentResponse[]} shipments
+ * @property {OrderShipmentSummary} [summary]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesPartialResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {OrderDeliveryUpdatesData} data
+ * @property {OrderDeliveryUpdatesError[]} [errors]
+ */
+
+/**
+ * @typedef OrderDeliveryUpdatesError
+ * @property {string} code
+ * @property {string} message
+ * @property {string} exception
+ */
+
+/**
+ * @typedef TransactionOrderSummary
+ * @property {number} capturedAmount
+ * @property {number} uncapturedAmount
+ * @property {number} capturedAmountForDisbursal
+ * @property {number} capturedAmountForCancellation
+ */
+
/**
* @typedef TransactionOrder
* @property {string} id
* @property {number} amount
+ * @property {TransactionOrderSummary} [summary]
*/
/**
@@ -1759,6 +2027,19 @@ class PlatformClient {
* @property {string} number
* @property {number} amount
* @property {string} type
+ * @property {string} dueDate
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
+ * @property {TransactionLoanEmi[]} [emis]
+ */
+
+/**
+ * @typedef TransactionLoanEmi
+ * @property {number} amount
+ * @property {string} dueDate
+ * @property {number} installmentNo
+ * @property {number} repaidAmount
+ * @property {boolean} isSettled
*/
/**
@@ -1781,7 +2062,7 @@ class PlatformClient {
* @property {boolean} isMasked
* @property {TransactionOrder} [order]
* @property {TransactionMerchant} merchant
- * @property {TransactionLoan} [loan]
+ * @property {TransactionLoan[]} [loans]
* @property {TransactionLender} [lender]
*/
@@ -1806,7 +2087,30 @@ class PlatformClient {
* @property {string} message
* @property {IntegrationResponseMeta} meta
* @property {GetTransactionsData} data
- * @property {Object} [__headers]
+ */
+
+/**
+ * @typedef SettlementTransactions
+ * @property {string} [id]
+ * @property {string} [utr]
+ * @property {number} [amount]
+ * @property {string} [settlementStatus]
+ * @property {string} [orderId]
+ * @property {string} [createdAt]
+ * @property {string} [settlementTime]
+ */
+
+/**
+ * @typedef GetSettlementTransactionsData
+ * @property {SettlementTransactions[]} transactions
+ * @property {Pagination} page
+ */
+
+/**
+ * @typedef GetSettlementTransactionsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {GetSettlementTransactionsData} data
*/
/**
@@ -1818,11 +2122,57 @@ class PlatformClient {
*/
/**
- * @typedef Lender
- * @property {string} [id]
- * @property {string} [name]
- * @property {boolean} [active]
- * @property {string} [imageUrl]
+ * @typedef RegisterTransaction
+ * @property {string} [intent]
+ * @property {string} token
+ */
+
+/**
+ * @typedef RegisterTransactionResponseData
+ * @property {boolean} [isExistingOrder]
+ * @property {Object} [transaction]
+ * @property {boolean} [action]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
+/**
+ * @typedef RegisterTransactionResponseResult
+ * @property {string} [redirectUrl]
+ */
+
+/**
+ * @typedef RegisterTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
+/**
+ * @typedef UpdateTransactionRequest
+ * @property {string} intent
+ * @property {string} token
+ */
+
+/**
+ * @typedef UpdateTransactionResponse
+ * @property {RegisterTransactionResponseResult} [result]
+ * @property {Object} [action]
+ * @property {RegisterTransactionResponseData} [data]
+ * @property {string} [transactionId]
+ * @property {string} [status]
+ * @property {string} [message]
+ */
+
+/**
+ * @typedef Lender
+ * @property {string} [id]
+ * @property {string} [name]
+ * @property {boolean} [active]
+ * @property {string} [imageUrl]
* @property {string} [slug]
* @property {Object} [theme]
* @property {boolean} [b2b]
@@ -2411,6 +2761,14 @@ class PlatformClient {
* @property {Object} data
*/
+/**
+ * @typedef RetriggerLenderOnboardRequestV2
+ * @property {string} lenderUserId
+ * @property {string} stepName
+ * @property {Object} data
+ * @property {string} entityMapId
+ */
+
/**
* @typedef BusinessDetail
* @property {string} category
@@ -2421,16 +2779,6 @@ class PlatformClient {
* @property {string} [pincode]
*/
-/**
- * @typedef VintageData
- * @property {number} month
- * @property {number} year
- * @property {number} totalTransactions
- * @property {number} totalTransactionAmount
- * @property {number} [totalCancellations]
- * @property {number} [totalCancellationAmount]
- */
-
/**
* @typedef DocumentObjects
* @property {string} number
@@ -2443,6 +2791,15 @@ class PlatformClient {
* @property {string} [expiryOn]
*/
+/**
+ * @typedef AddVintageRequest
+ * @property {Object} user
+ * @property {BusinessDetail} businessDetails
+ * @property {VintageData} vintageData
+ * @property {DocumentObjects} documents
+ * @property {MerchantSchema} merchant
+ */
+
/**
* @typedef KycCountByStatus
* @property {string} [startDate]
@@ -2688,6 +3045,10 @@ class PlatformClient {
* @property {string} id
* @property {string} name
* @property {boolean} active
+ * @property {string} [baseUrl]
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
+ * @property {Object} [credentialsSchema]
*/
/**
@@ -2699,6 +3060,8 @@ class PlatformClient {
* @property {string} lenderId
* @property {string} pgId
* @property {boolean} active
+ * @property {Object} [config]
+ * @property {Object[]} [paymentOptions]
*/
/**
@@ -2739,6 +3102,17 @@ class PlatformClient {
* @property {string} [deletedAt]
*/
+/**
+ * @typedef Commercial
+ * @property {string} [id]
+ * @property {string} lenderId
+ * @property {string} merchantId
+ * @property {Object} commercial
+ * @property {boolean} active
+ * @property {string} [createdAt]
+ * @property {string} [updatedAt]
+ */
+
/**
* @typedef KycStatusResponse
* @property {boolean} isKycInitiated
@@ -2830,11 +3204,10 @@ class PlatformClient {
* @property {string} status
* @property {boolean} active
* @property {number} proposedLimit
- * @property {Object} createdAt
- * @property {Object} updatedAt
- * @property {Object} [deletedAt]
+ * @property {string | string} createdAt
+ * @property {string | string} updatedAt
+ * @property {string | string} [deletedAt]
* @property {boolean} [isDefault]
- * @property {Object} [__headers]
*/
/**
@@ -2975,7 +3348,6 @@ class PlatformClient {
/**
* @typedef IntgrCreditLimit
* @property {IngtrAvailableLimit} limit
- * @property {Object} [__headers]
*/
/**
@@ -3175,6 +3547,17 @@ class PlatformClient {
* @property {UserKycLenderStepMap} data
*/
+/**
+ * @typedef PlatformFees
+ * @property {number} customerAcquisitionFee
+ * @property {number} transactionFee
+ */
+
+/**
+ * @typedef CommercialResponse
+ * @property {Commercial} data
+ */
+
/**
* @typedef BlockUserRequestSchema
* @property {boolean} [status]
@@ -3336,6 +3719,8 @@ class PlatformClient {
* @property {string} [disbursementIfsc]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {boolean} [b2b]
@@ -3361,12 +3746,12 @@ class PlatformClient {
/**
* @typedef UpdateOrganization
* @property {string} id
- * @property {Object} [name]
- * @property {Object} [logo]
- * @property {Object} [website]
- * @property {Object} [disbursementAccountHolderName]
- * @property {Object} [disbursementAccountNumber]
- * @property {Object} [disbursementIfsc]
+ * @property {Object | any} [name]
+ * @property {Object | any} [logo]
+ * @property {Object | any} [website]
+ * @property {Object | any} [disbursementAccountHolderName]
+ * @property {Object | any} [disbursementAccountNumber]
+ * @property {Object | any} [disbursementIfsc]
* @property {boolean} [active]
*/
@@ -3392,6 +3777,8 @@ class PlatformClient {
* @property {boolean} [b2c]
* @property {string} [businessName]
* @property {string} [email]
+ * @property {string} [supportEmail]
+ * @property {string} [description]
* @property {string} [businessAddress]
* @property {string} [pincode]
* @property {Documents[]} [documents]
@@ -3715,6 +4102,20 @@ class PlatformClient {
* @property {Object[]} items
*/
+/**
+ * @typedef ValidateCredentialsData
+ * @property {boolean} success
+ * @property {string} organizationId
+ * @property {string} [organizationName]
+ */
+
+/**
+ * @typedef ValidateCredentialsResponse
+ * @property {string} message
+ * @property {IntegrationResponseMeta} meta
+ * @property {ValidateCredentialsData} data
+ */
+
/**
* @typedef PaymentLinkResponse
* @property {string} [status]
@@ -3782,6 +4183,35 @@ class PlatformClient {
* @property {Object} [data]
*/
+/**
+ * @typedef LenderTheme
+ * @property {string} [iconUrl]
+ * @property {string} [logoUrl]
+ */
+
+/**
+ * @typedef LenderDetails
+ * @property {string} [slug]
+ * @property {string} [name]
+ * @property {string} [id]
+ * @property {LenderTheme} [theme]
+ */
+
+/**
+ * @typedef OutstandingData
+ * @property {LenderDetails} [lenderDetails]
+ * @property {number} [availableLimit]
+ * @property {number} [creditLimit]
+ * @property {number} [dueAmount]
+ * @property {number} [outstandingAmount]
+ * @property {string} [dueDate]
+ */
+
+/**
+ * @typedef OutstandingDetailsResponse
+ * @property {OutstandingData[]} [outstandingDetails]
+ */
+
/**
* @typedef CreateUserRequestSchema
* @property {string} mobile
@@ -3796,6 +4226,207 @@ class PlatformClient {
* @property {UserSchema} [user]
*/
+/**
+ * @typedef RepaymentUsingNetbanking
+ * @property {number} amount
+ * @property {string} bankId
+ * @property {string} bankName
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RepaymentUsingNetbankingResponse
+ * @property {string} [form]
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ */
+
+/**
+ * @typedef RepaymentUsingUPI
+ * @property {number} amount
+ * @property {string} vpa
+ * @property {string} [chargeToken]
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RepaymentUsingUPIResponse
+ * @property {boolean} [isDifferent]
+ * @property {string} [outstanding]
+ * @property {string} [status]
+ * @property {string} [intentId]
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+
+/**
+ * @typedef RegisterUPIMandateRequest
+ * @property {string} [vpa]
+ */
+
+/**
+ * @typedef RegisterUPIMandateResponse
+ * @property {string} [transactionId]
+ * @property {number} [expiry]
+ * @property {number} [interval]
+ */
+
+/**
+ * @typedef RegisterUPIMandateStatusCheckRequest
+ * @property {string} [transactionId]
+ */
+
+/**
+ * @typedef RegisterMandateStatusCheckResponse
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef TransactionStatusRequest
+ * @property {string} intentId
+ * @property {string} transactionId
+ */
+
+/**
+ * @typedef TransactionStatusResponse
+ * @property {boolean} success
+ * @property {string} [methodType]
+ * @property {string} [methodSubType]
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef BankList
+ * @property {string} [bankId]
+ * @property {string} [bankName]
+ * @property {number} [rank]
+ * @property {boolean} [popular]
+ * @property {string} [imageUrl]
+ */
+
+/**
+ * @typedef PaymentsObject
+ * @property {string} [title]
+ * @property {string} [kind]
+ * @property {PaymentOptions[]} [options]
+ */
+
+/**
+ * @typedef OutstandingDetail
+ * @property {string} [status]
+ * @property {boolean} [action]
+ * @property {OutstandingMessage} [message]
+ * @property {UserCredit} [credit]
+ * @property {DueSummaryOutstanding} [dueSummary]
+ * @property {OutstandingSummary} [outstandingSummary]
+ * @property {string} [entityMapId]
+ */
+
+/**
+ * @typedef OutstandingSummary
+ * @property {number} [totalOutstanding]
+ * @property {number} [totalOutstandingWithInterest]
+ * @property {number} [totalOutstandingPenalty]
+ * @property {number} [availableLimit]
+ * @property {boolean} [isOverdue]
+ * @property {string} [dueFromDate]
+ * @property {RepaymentSummaryOutstanding[]} [repaymentSummary]
+ */
+
+/**
+ * @typedef DueSummaryOutstanding
+ * @property {string} [dueDate]
+ * @property {number} [totalDue]
+ * @property {number} [totalDueWithInterest]
+ * @property {number} [totalDuePenalty]
+ * @property {DueTransactionsOutstanding[]} [dueTransactions]
+ * @property {number} [minAmntDue]
+ */
+
+/**
+ * @typedef OutstandingMessage
+ * @property {string} [dueMessage]
+ * @property {string} [backgroundColor]
+ * @property {string} [textColor]
+ * @property {boolean} [isFlexiRepayEnabled]
+ */
+
+/**
+ * @typedef UserCredit
+ * @property {number} [availableLimit]
+ * @property {number} [approvedLimit]
+ * @property {boolean} [isEligibleToDrawdown]
+ */
+
+/**
+ * @typedef DueTransactionsOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [merchantCategory]
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [loanType]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {number} [daysDifference]
+ * @property {string} [lenderTransactionId]
+ */
+
+/**
+ * @typedef RepaymentSummaryOutstanding
+ * @property {string} [loanRequestNo]
+ * @property {string} [loanType]
+ * @property {string} [merchantCategory]
+ * @property {boolean} [isBbillingTransaction]
+ * @property {number} [totalInstallmentAmount]
+ * @property {number} [totalInstallmentAmountWithInterest]
+ * @property {OutstandingDetailsRepayment[]} [outstandingDetails]
+ */
+
+/**
+ * @typedef OutstandingDetailsRepayment
+ * @property {number} [installmentAmountWithInterest]
+ * @property {number} [installmentAmount]
+ * @property {number} [dueAmount]
+ * @property {string} [installmentNo]
+ * @property {string} [installmentDueDate]
+ * @property {boolean} [isPastDue]
+ * @property {string} [loanType]
+ * @property {boolean} [isPenaltyCharged]
+ * @property {number} [penaltyAmount]
+ * @property {number} [noOfDaysPenaltyCharged]
+ * @property {string} [lenderTransactionId]
+ */
+
+/**
+ * @typedef PaymentOptionsResponse
+ * @property {PaymentsObject[]} [paymentOptions]
+ */
+
+/**
+ * @typedef CheckEMandateStatusRequest
+ * @property {string} [orderId]
+ * @property {string} [paymentId]
+ * @property {string} [scheduledEnd]
+ * @property {string} [ruleAmountValue]
+ */
+
+/**
+ * @typedef AutoPayStatusResponse
+ * @property {string} [status]
+ */
+
+/**
+ * @typedef OutstandingDetailsData
+ * @property {OutstandingData[]} outstandingDetails
+ */
+
class Customer {
constructor(config) {
this.config = config;
@@ -3803,14 +4434,12 @@ class Customer {
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
- * @param {VerifyCustomer} arg.body
- * @summary: Verify Customer
- * @description: Use this API to verify the customer based on mobile number and countryCode.
+ * @param {ValidateCustomer} arg.body
+ * @summary: Validate Customer
+ * @description: The Validate Customer API processes validity checks using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. It returns `Enabled` if the transaction is allowed.
*/
- verify({ body, session } = {}) {
- const { error } = CustomerValidator.verify().validate(
+ validate({ body } = {}) {
+ const { error } = CustomerValidator.validate().validate(
{
body,
},
@@ -3822,59 +4451,30 @@ class Customer {
const query_params = {};
- return PlatformAPIClient.execute(
- this.config,
- "post",
- `/service/integration/user/authentication/${this.config.companyId}/validate-customer`,
- query_params,
- body,
- session
- );
- }
-
- /**
- * @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
- * @param {ResendPaymentRequest} arg.body
- * @summary: Resend Payment Request
- * @description: Use this API to resend payment request to user
- */
- resendPaymentRequest({ body, session } = {}) {
- const { error } = CustomerValidator.resendPaymentRequest().validate(
- {
- body,
- },
- { abortEarly: false }
- );
- if (error) {
- return Promise.reject(new FDKClientValidationError(error));
- }
-
- const query_params = {};
+ const headers = {};
return PlatformAPIClient.execute(
this.config,
"post",
- `/service/integration/user/authentication/${this.config.companyId}/transaction/resend`,
+ `/service/integration/user/authentication/${this.config.companyId}/validate-customer`,
query_params,
body,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
+ * @param {string} [arg.session] - The user session.
* @param {CreateTransaction} arg.body
- * @summary: Create Order
- * @description: Use this API to create transaction for user
+ * @summary: Create Transaction
+ * @description: The Create Transaction API processes transactions using customer details, order information, a redirect URL, and device data. It returns `Disabled` if the transaction cannot proceed due to reasons such as the customer's limit being unavailable, already used, the customer being blocked, the pincode not being serviceable, or the SKU/product category not being serviceable by the lender. If the transaction is allowed, it returns `Enabled` along with the redirect URL and the user status as authorized.
*/
- createOrder({ body, session } = {}) {
- const { error } = CustomerValidator.createOrder().validate(
+ createTransaction({ body, session } = {}) {
+ const { error } = CustomerValidator.createTransaction().validate(
{
body,
+ session,
},
{ abortEarly: false }
);
@@ -3884,25 +4484,26 @@ class Customer {
const query_params = {};
+ const headers = {};
+ headers["session"] = session;
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/user/authentication/${this.config.companyId}/transaction`,
query_params,
body,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {LinkAccount} arg.body
* @summary: Link account
- * @description: Use this API to link account with merchant
+ * @description: The Link API generates a merchant-linked session for the user, enabling automatic login to complete payment or repayment activities seamlessly. This session ensures a smooth and secure transaction process without requiring the user to manually log in.
*/
- link({ body, session } = {}) {
+ link({ body } = {}) {
const { error } = CustomerValidator.link().validate(
{
body,
@@ -3915,25 +4516,25 @@ class Customer {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/user/authentication/${this.config.companyId}/account/link`,
query_params,
body,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {UnlinkAccount} arg.body
* @summary: Unlink account
- * @description: Use this API to unlink account from merchant
+ * @description: The Unlink API serves as the reverse of the Link API. It terminates the merchant-linked session for the user, effectively logging them out and preventing any further automatic login for payment or repayment activities. This ensures security and control over session management.
*/
- unlink({ body, session } = {}) {
+ unlink({ body } = {}) {
const { error } = CustomerValidator.unlink().validate(
{
body,
@@ -3946,25 +4547,25 @@ class Customer {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/user/authentication/${this.config.companyId}/account/unlink`,
query_params,
body,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {Refund} arg.body
- * @summary: Refund customer order amount
- * @description: Use this API to verify the refund customer order amount
+ * @summary: Refund Order
+ * @description: The Refund API processes refunds based on business arrangements and returns the corresponding status of the refund request. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*/
- refund({ body, session } = {}) {
+ refund({ body } = {}) {
const { error } = CustomerValidator.refund().validate(
{
body,
@@ -3977,26 +4578,26 @@ class Customer {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/user/authentication/${this.config.companyId}/refund`,
query_params,
body,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {string} [arg.refundId] - This is the refund ID
* @param {string} [arg.orderId] - This is the order ID
- * @summary: Refund status
- * @description: Use this API to fetch the refund status
+ * @summary: Check Refund status
+ * @description: The Refund Status API returns the current status of a refund request based on business arrangements. The possible statuses include: - SUCCESS: The refund was processed successfully. - FAILED: The refund request failed. - PENDING: The refund request is still being processed and is awaiting completion.
*/
- refundStatus({ refundId, orderId, session } = {}) {
+ refundStatus({ refundId, orderId } = {}) {
const { error } = CustomerValidator.refundStatus().validate(
{
refundId,
@@ -4012,25 +4613,25 @@ class Customer {
query_params["refundId"] = refundId;
query_params["orderId"] = orderId;
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"get",
`/service/integration/user/authentication/${this.config.companyId}/refund/status`,
query_params,
undefined,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {GetSchemesRequest} arg.body
- * @summary: Fetch schemes
- * @description: Use this API to fetch available schemes for user order.
+ * @summary: Get schemes
+ * @description: The Schemes API returns Buy Now, Pay Later (BNPL) and EMI plans offered by lenders for the user. It provides details on available financing options, including terms and conditions for both BNPL and EMI arrangements.
*/
- getSchemes({ body, session } = {}) {
+ getSchemes({ body } = {}) {
const { error } = CustomerValidator.getSchemes().validate(
{
body,
@@ -4043,13 +4644,149 @@ class Customer {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/user/authentication/${this.config.companyId}/schemes`,
query_params,
body,
- session
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {CheckEligibilityRequest} arg.body
+ * @summary: Check Credit Eligibility
+ * @description: Use this API to pre approve by checking the customer's credit eligibility based on mobile number and countryCode and vintage data of monthly transactions.
+ */
+ checkEligibility({ body } = {}) {
+ const { error } = CustomerValidator.checkEligibility().validate(
+ {
+ body,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "post",
+ `/service/integration/user/authentication/${this.config.companyId}/eligibility`,
+ query_params,
+ body,
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {RepaymentRequest} arg.body
+ * @summary: Get Repayment link
+ * @description: The Repayment Link API generates a repayment link based on the current outstanding balance. The URL provided allows users to make payments and settle their outstanding amounts directly.
+ */
+ getRepaymentLink({ body } = {}) {
+ const { error } = CustomerValidator.getRepaymentLink().validate(
+ {
+ body,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "post",
+ `/service/integration/user/authentication/${this.config.companyId}/repayment-link`,
+ query_params,
+ body,
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {number} arg.page - This is page number
+ * @param {number} arg.limit - This is no of transaction
+ * @param {string} [arg.name] - This is name for filter
+ * @param {string} [arg.mobile] - This is Mobile Number for filter
+ * @summary: Get List of Users
+ * @description: The Customer Listing API returns a paginated list of users associated with the specified organization. Supports filtering by various query parameters such as name, ID, and mobile number.
+ */
+ getAllCustomers({ page, limit, name, mobile } = {}) {
+ const { error } = CustomerValidator.getAllCustomers().validate(
+ {
+ page,
+ limit,
+ name,
+ mobile,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+ query_params["page"] = page;
+ query_params["limit"] = limit;
+ query_params["name"] = name;
+ query_params["mobile"] = mobile;
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "get",
+ `/service/integration/user/authentication/${this.config.companyId}/users`,
+ query_params,
+ undefined,
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {VintageData} arg.body
+ * @summary: Add user vintage details
+ * @description: Use this API to add vintage details of the user.
+ */
+ addVintageData({ body } = {}) {
+ const { error } = CustomerValidator.addVintageData().validate(
+ {
+ body,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "post",
+ `/service/integration/user/authentication/${this.config.companyId}/vintage`,
+ query_params,
+ body,
+ headers
);
}
}
@@ -4061,13 +4798,11 @@ class Credit {
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organization ID
* @param {string} arg.orderId - This is order ID
* @summary: check status of the order
* @description: Use this API to check status the order.
*/
- getOrderStatus({ orderId, session } = {}) {
+ getOrderStatus({ orderId } = {}) {
const { error } = CreditValidator.getOrderStatus().validate(
{
orderId,
@@ -4080,26 +4815,26 @@ class Credit {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"get",
`/service/integration/credit/credit/${this.config.companyId}/orders/${orderId}/status`,
query_params,
undefined,
- session
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organization id
* @param {string} arg.lenderSlug - This is lender slug
* @param {EligiblePlansRequest} arg.body
* @summary: Get eligible plans
* @description: Use this API to Get eligible plans.
*/
- getEligiblePlans({ lenderSlug, body, session } = {}) {
+ getEligiblePlans({ lenderSlug, body } = {}) {
const { error } = CreditValidator.getEligiblePlans().validate(
{
lenderSlug,
@@ -4113,56 +4848,89 @@ class Credit {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/credit/credit/${this.config.companyId}/${lenderSlug}/plans`,
query_params,
body,
- session
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {OrderDeliveryUpdatesBody} arg.body
+ * @summary: Update delivery status for an order
+ * @description: This API updates an order's delivery status using the order ID or transaction ID and manages loan disbursal or cancellation following delivery. It is utilized when the system configuration is set to delay loan disbursal until after delivery, indicated by the 'DELAYED' type and 'DELIVERY' event. If 'delayDays' is set to 0, disbursal occurs within an hour after delivery. Additionally, this API facilitates loan cancellation through specific shipment statuses, offering a precise method for loan management based on delivery outcomes.
+ */
+ updateOrderDeliveryStatus({ body } = {}) {
+ const { error } = CreditValidator.updateOrderDeliveryStatus().validate(
+ {
+ body,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "post",
+ `/service/integration/credit/orders/organization/${this.config.companyId}/delivery-updates`,
+ query_params,
+ body,
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - The unique identifier of the organization
+ * @param {string} arg.mobile - The mobile number of the user
+ * @param {string} [arg.countryCode] - The country code of the user's mobile number.
* @param {number} [arg.page] - The page number of the transaction list
- * @param {Object} [arg.type] - The transaction type
- * @param {Object} [arg.status] - The transaction status
* @param {number} [arg.limit] - The number of transactions to fetch
- * @param {string} [arg.countryCode] - The country code of the user's mobile number.
- * @param {string} arg.mobile - The mobile number of the user
* @param {string} [arg.orderId] - The order ID
* @param {string} [arg.transactionId] - The transaction ID
+ * @param {string[] | string} [arg.type] - The transaction type
+ * @param {string[] | string} [arg.status] - The transaction status
* @param {boolean} [arg.onlySelf] - Set this flag to true to fetch
* transactions exclusively for your organization, excluding other organizations.
+ * @param {string} [arg.granularity] - Defines the granularity of transaction details.
* @summary: Get list of user transactions
* @description: Retrieves a paginated list of transactions associated with a specific organization, sorted from the latest to the oldest. This endpoint allows filtering transactions based on various criteria and supports pagination.
*/
getTransactions({
mobile,
+ countryCode,
page,
- type,
- status,
limit,
- countryCode,
orderId,
transactionId,
+ type,
+ status,
onlySelf,
- session,
+ granularity,
} = {}) {
const { error } = CreditValidator.getTransactions().validate(
{
mobile,
+ countryCode,
page,
- type,
- status,
limit,
- countryCode,
orderId,
transactionId,
+ type,
+ status,
onlySelf,
+ granularity,
},
{ abortEarly: false }
);
@@ -4171,15 +4939,18 @@ class Credit {
}
const query_params = {};
+ query_params["mobile"] = mobile;
+ query_params["countryCode"] = countryCode;
query_params["page"] = page;
- query_params["type"] = type;
- query_params["status"] = status;
query_params["limit"] = limit;
- query_params["countryCode"] = countryCode;
- query_params["mobile"] = mobile;
query_params["orderId"] = orderId;
query_params["transactionId"] = transactionId;
+ query_params["type"] = type;
+ query_params["status"] = status;
query_params["onlySelf"] = onlySelf;
+ query_params["granularity"] = granularity;
+
+ const headers = {};
return PlatformAPIClient.execute(
this.config,
@@ -4187,25 +4958,38 @@ class Credit {
`/service/integration/credit/summary/organization/${this.config.companyId}/transactions`,
query_params,
undefined,
- session
+ headers
);
}
-}
-
-class MultiKyc {
- constructor(config) {
- this.config = config;
- }
/**
* @param {Object} arg - Arg object.
- * @param {Object} arg.organizationId -
- * @summary: Approved lenders
- * @description:
+ * @param {number} [arg.page] - The page number of the transaction list
+ * @param {number} [arg.limit] - The number of transactions to fetch
+ * @param {string} [arg.orderId] - The order ID
+ * @param {string} [arg.transactionId] - The transaction ID
+ * @param {string} [arg.startDate] - This is used to filter from date
+ * @param {string} [arg.endDate] - This is used to filter till date
+ * @summary: Get list of settled transactions
+ * @description: Retrieves a paginated list of Settled transactions associated with a specific organization, sorted from the latest to the oldest. This endpoint allows filtering transactions based on various criteria and supports pagination.
*/
- approvedLenders({} = {}) {
- const { error } = MultiKycValidator.approvedLenders().validate(
- {},
+ getSettledTransactions({
+ page,
+ limit,
+ orderId,
+ transactionId,
+ startDate,
+ endDate,
+ } = {}) {
+ const { error } = CreditValidator.getSettledTransactions().validate(
+ {
+ page,
+ limit,
+ orderId,
+ transactionId,
+ startDate,
+ endDate,
+ },
{ abortEarly: false }
);
if (error) {
@@ -4213,29 +4997,39 @@ class MultiKyc {
}
const query_params = {};
+ query_params["page"] = page;
+ query_params["limit"] = limit;
+ query_params["orderId"] = orderId;
+ query_params["transactionId"] = transactionId;
+ query_params["startDate"] = startDate;
+ query_params["endDate"] = endDate;
+
+ const headers = {};
return PlatformAPIClient.execute(
this.config,
"get",
- `/service/integration/kyc-onboarding/bre/${this.config.companyId}/approved-lenders`,
+ `/service/integration/credit/summary/organization/${this.config.companyId}/settled/transactions`,
query_params,
- undefined
+ undefined,
+ headers
);
}
+}
+
+class MultiKyc {
+ constructor(config) {
+ this.config = config;
+ }
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId -
- * @param {GetLimitRequest} arg.body
- * @summary: Get limit
+ * @summary: Approved lenders
* @description:
*/
- getLimit({ body, session } = {}) {
- const { error } = MultiKycValidator.getLimit().validate(
- {
- body,
- },
+ approvedLenders({} = {}) {
+ const { error } = MultiKycValidator.approvedLenders().validate(
+ {},
{ abortEarly: false }
);
if (error) {
@@ -4244,13 +5038,15 @@ class MultiKyc {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
- "post",
- `/service/integration/kyc-onboarding/credit/${this.config.companyId}/limit`,
+ "get",
+ `/service/integration/kyc-onboarding/bre/${this.config.companyId}/approved-lenders`,
query_params,
- body,
- session
+ undefined,
+ headers
);
}
}
@@ -4262,7 +5058,6 @@ class Merchant {
/**
* @param {Object} arg - Arg object.
- * @param {string} arg.organizationId - This is organizationId
* @summary: Get Access Token
* @description: Use this API to get access token
*/
@@ -4277,24 +5072,25 @@ class Merchant {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/staff/authentication/oauth/${this.config.companyId}/authorize`,
query_params,
- undefined
+ undefined,
+ headers
);
}
/**
* @param {Object} arg - Arg object.
- * @param {String} session - Session of the user
- * @param {string} arg.organizationId - This is organizationId
* @param {RefreshTokenRequest} arg.body
* @summary: Renew Access Token
* @description: Use this API to renew access token
*/
- renewAccessToken({ body, session } = {}) {
+ renewAccessToken({ body } = {}) {
const { error } = MerchantValidator.renewAccessToken().validate(
{
body,
@@ -4307,13 +5103,84 @@ class Merchant {
const query_params = {};
+ const headers = {};
+
return PlatformAPIClient.execute(
this.config,
"post",
`/service/integration/staff/authentication/oauth/${this.config.companyId}/token`,
query_params,
body,
- session
+ headers
+ );
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @summary: Validate organization's credentials
+ * @description: Use this API to validate organization's credentials
+ */
+ validateCredentials({} = {}) {
+ const { error } = MerchantValidator.validateCredentials().validate(
+ {},
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "post",
+ `/service/integration/staff/authentication/oauth/${this.config.companyId}/validate-credentials`,
+ query_params,
+ undefined,
+ headers
+ );
+ }
+}
+
+class Payments {
+ constructor(config) {
+ this.config = config;
+ }
+
+ /**
+ * @param {Object} arg - Arg object.
+ * @param {string} arg.mobile - Mobile number of the user
+ * @param {string[]} [arg.lenderSlugs] - This is list of lender slugs. eg.
+ * ['cashe','liquiloans']
+ * @summary: Get user outstanding details.
+ * @description: This api is for getting outstanding details for the user with all the lenders.
+ */
+ getUserCreditSummary({ mobile, lenderSlugs } = {}) {
+ const { error } = PaymentsValidator.getUserCreditSummary().validate(
+ {
+ mobile,
+ lenderSlugs,
+ },
+ { abortEarly: false }
+ );
+ if (error) {
+ return Promise.reject(new FDKClientValidationError(error));
+ }
+
+ const query_params = {};
+ query_params["lenderSlugs"] = lenderSlugs;
+
+ const headers = {};
+
+ return PlatformAPIClient.execute(
+ this.config,
+ "get",
+ `/service/integration/payments/repayment/${mobile}/${this.config.companyId}/outstanding`,
+ query_params,
+ undefined,
+ headers
);
}
}
diff --git a/sdk/platform/PlatformModels.d.ts b/sdk/platform/PlatformModels.d.ts
index a33116b..8200df6 100644
--- a/sdk/platform/PlatformModels.d.ts
+++ b/sdk/platform/PlatformModels.d.ts
@@ -1,23 +1,31 @@
export class CustomerValidator {
- static verify(): any;
- static resendPaymentRequest(): any;
- static createOrder(): any;
+ static validate(): any;
+ static createTransaction(): any;
static link(): any;
static unlink(): any;
static refund(): any;
static refundStatus(): any;
static getSchemes(): any;
+ static checkEligibility(): any;
+ static getRepaymentLink(): any;
+ static getAllCustomers(): any;
+ static addVintageData(): any;
}
export class CreditValidator {
static getOrderStatus(): any;
static getEligiblePlans(): any;
+ static updateOrderDeliveryStatus(): any;
static getTransactions(): any;
+ static getSettledTransactions(): any;
}
export class MultiKycValidator {
static approvedLenders(): any;
- static getLimit(): any;
}
export class MerchantValidator {
static getAccessToken(): any;
static renewAccessToken(): any;
+ static validateCredentials(): any;
+}
+export class PaymentsValidator {
+ static getUserCreditSummary(): any;
}
diff --git a/sdk/platform/PlatformModels.js b/sdk/platform/PlatformModels.js
index 841af40..537c1d5 100644
--- a/sdk/platform/PlatformModels.js
+++ b/sdk/platform/PlatformModels.js
@@ -1,5 +1,51 @@
const Joi = require("joi");
class Validator {
+ static IntegrationResponseMeta() {
+ return Joi.object({
+ timestamp: Joi.string().allow("").required(),
+
+ version: Joi.string().allow("").required(),
+
+ product: Joi.string().allow("").required(),
+
+ requestId: Joi.string().allow("").allow(null),
+ });
+ }
+
+ static IntegrationResponseError() {
+ return Joi.object({
+ code: Joi.string().allow("").required(),
+
+ message: Joi.string().allow("").required(),
+
+ exception: Joi.string().allow("").required(),
+
+ field: Joi.string().allow("").allow(null),
+
+ location: Joi.string().allow("").allow(null),
+ });
+ }
+
+ static IntegrationSuccessResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: Joi.any().required(),
+ });
+ }
+
+ static IntegrationErrorResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ errors: Joi.array().items(this.IntegrationResponseError()),
+ });
+ }
+
static RefundResponse() {
return Joi.object({
status: Joi.string().allow(""),
@@ -9,8 +55,6 @@ class Validator {
transactionId: Joi.string().allow(""),
refundId: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -444,7 +488,7 @@ class Validator {
mobile: Joi.string().allow("").required(),
- uid: Joi.string().allow("").required(),
+ uid: Joi.string().allow(""),
email: Joi.string().allow(""),
@@ -470,6 +514,20 @@ class Validator {
});
}
+ static VerifyOrder() {
+ return Joi.object({
+ valueInPaise: Joi.number().required(),
+
+ uid: Joi.string().allow(""),
+
+ items: Joi.array().items(this.Items()),
+
+ shippingAddress: this.OrderAddress(),
+
+ billingAddress: this.OrderAddress(),
+ });
+ }
+
static OrderUid() {
return Joi.object({
valueInPaise: Joi.number(),
@@ -510,11 +568,11 @@ class Validator {
});
}
- static VerifyCustomer() {
+ static ValidateCustomer() {
return Joi.object({
customer: this.CustomerObject().required(),
- order: this.Order().required(),
+ order: this.VerifyOrder().required(),
device: this.Device().required(),
@@ -556,7 +614,7 @@ class Validator {
});
}
- static VerifyCustomerSuccess() {
+ static ValidateCustomerSuccess() {
return Joi.object({
status: Joi.string().allow("").required(),
@@ -567,8 +625,6 @@ class Validator {
schemes: Joi.array().items(this.SchemeResponse()),
limit: this.LimitResponse(),
-
- __headers: Joi.any(),
});
}
@@ -585,8 +641,6 @@ class Validator {
status: Joi.string().allow(""),
userStatus: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -621,6 +675,8 @@ class Validator {
static InitiateTransactions() {
return Joi.object({
token: Joi.string().allow("").required(),
+
+ intent: Joi.string().allow(""),
});
}
@@ -661,6 +717,8 @@ class Validator {
isAsp: Joi.boolean(),
merchant: this.MerchantDetails(),
+
+ redirectUrl: Joi.string().allow(""),
});
}
@@ -1002,6 +1060,30 @@ class Validator {
});
}
+ static MerchantDetailsResponse() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ website: Joi.string().allow(""),
+
+ businessAddress: Joi.string().allow(""),
+
+ pincode: Joi.string().allow(""),
+
+ logo: Joi.string().allow(""),
+
+ gstIn: Joi.string().allow("").allow(null),
+
+ businessName: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ supportEmail: Joi.string().allow(""),
+
+ description: Joi.string().allow(""),
+ });
+ }
+
static NavigationsMobileResponse() {
return Joi.object({
tabs: Joi.array().items(this.TabsSchema()).required(),
@@ -1016,6 +1098,8 @@ class Validator {
return Joi.object({
title: Joi.string().allow("").required(),
+ action: this.ActionSchema(),
+
page: this.PageSchema().required(),
icon: Joi.string().allow("").required(),
@@ -1278,8 +1362,6 @@ class Validator {
message: Joi.string().allow(""),
errorCode: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -1302,8 +1384,6 @@ class Validator {
userStatus: Joi.string().allow(""),
errorCode: Joi.string().allow(""),
-
- __headers: Joi.any(),
});
}
@@ -1375,7 +1455,7 @@ class Validator {
});
}
- static UserResponse() {
+ static UserResponseData() {
return Joi.object({
filters: Joi.array().items(this.Filters()).required(),
@@ -1385,6 +1465,16 @@ class Validator {
});
}
+ static UserResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.UserResponseData().required(),
+ });
+ }
+
static UserDetailRequest() {
return Joi.object({
id: Joi.string().allow("").required(),
@@ -1542,8 +1632,6 @@ class Validator {
loanAccountNumber: Joi.string().allow(""),
refund: Joi.array().items(this.RefundStatusList()),
-
- __headers: Joi.any(),
});
}
@@ -1552,8 +1640,6 @@ class Validator {
userId: Joi.string().allow(""),
lenders: Joi.array().items(this.SchemeResponse()).required(),
-
- __headers: Joi.any(),
});
}
@@ -1851,14 +1937,8 @@ class Validator {
order: this.Order(),
- businessDetails: this.BusinessDetails(),
-
- documents: Joi.array().items(this.DocumentItems()),
-
device: this.Device().required(),
- vintage: Joi.array().items(this.VintageItems()),
-
meta: Joi.object().pattern(/\S/, Joi.any()),
fetchLimitOptions: Joi.boolean(),
@@ -1955,6 +2035,82 @@ class Validator {
});
}
+ static RepaymentRequest() {
+ return Joi.object({
+ mobile: Joi.string().allow("").required(),
+
+ countryCode: Joi.string().allow(""),
+
+ target: Joi.string().allow(""),
+
+ callbackUrl: Joi.string().allow("").required(),
+
+ lenderSlug: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.RepaymentResponseData().required(),
+ });
+ }
+
+ static RepaymentResponseData() {
+ return Joi.object({
+ repaymentUrl: Joi.string().allow(""),
+ });
+ }
+
+ static VerifyMagicLinkResponse() {
+ return Joi.object({
+ user: this.UserSchema().required(),
+
+ scope: Joi.array().items(Joi.string().allow("")),
+
+ redirectPath: Joi.string().allow("").required(),
+
+ callbackUrl: Joi.string().allow(""),
+
+ meta: Joi.object().pattern(/\S/, Joi.any()),
+ });
+ }
+
+ static VerifyMagicLinkRequest() {
+ return Joi.object({
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static VintageData() {
+ return Joi.object({
+ customer: this.CustomerObject(),
+
+ businessDetails: this.BusinessDetails().required(),
+
+ documents: Joi.array().items(this.DocumentItems()),
+
+ device: this.Device(),
+
+ vintage: Joi.array().items(this.VintageItems()).required(),
+
+ meta: Joi.object().pattern(/\S/, Joi.any()),
+ });
+ }
+
+ static AddVintageResponse() {
+ return Joi.object({
+ mesasge: Joi.string().allow(""),
+
+ meta: this.IntegrationResponseMeta(),
+
+ data: Joi.any(),
+ });
+ }
+
/*
Enum: PageType
Used By: Customer
@@ -2019,54 +2175,10 @@ class Validator {
"sanctionLetter",
- "kfs"
- );
- }
-
- static IntegrationResponseMeta() {
- return Joi.object({
- timestamp: Joi.string().allow("").required(),
-
- version: Joi.string().allow("").required(),
-
- product: Joi.string().allow("").required(),
-
- requestId: Joi.string().allow("").allow(null),
- });
- }
-
- static IntegrationResponseError() {
- return Joi.object({
- code: Joi.string().allow("").required(),
-
- message: Joi.string().allow("").required(),
-
- exception: Joi.string().allow("").required(),
-
- field: Joi.string().allow("").allow(null),
-
- in: Joi.string().allow("").allow(null),
- });
- }
-
- static IntegrationSuccessResponse() {
- return Joi.object({
- message: Joi.string().allow("").required(),
-
- meta: this.IntegrationResponseMeta().required(),
-
- data: Joi.any().required(),
- });
- }
-
- static IntegrationErrorResponse() {
- return Joi.object({
- message: Joi.string().allow("").required(),
+ "kfs",
- meta: this.IntegrationResponseMeta().required(),
-
- errors: Joi.array().items(this.IntegrationResponseError()),
- });
+ "dynamicPage"
+ );
}
static DisbursalRequest() {
@@ -2090,6 +2202,8 @@ class Validator {
transactionId: Joi.string().allow(""),
lenderSlug: Joi.string().allow(""),
+
+ intent: Joi.string().allow(""),
});
}
@@ -2128,8 +2242,6 @@ class Validator {
static EligiblePlansResponse() {
return Joi.object({
eligiblePlans: Joi.array().items(this.EligiblePlans()),
-
- __headers: Joi.any(),
});
}
@@ -2152,8 +2264,6 @@ class Validator {
status: Joi.string().allow("").required(),
message: Joi.string().allow("").required(),
-
- __headers: Joi.any(),
});
}
@@ -2217,59 +2327,207 @@ class Validator {
});
}
- static LenderDetail() {
+ static GroupedEmiLoanAccount() {
return Joi.object({
- id: Joi.string().allow(""),
-
- name: Joi.string().allow(""),
+ loanAccountNumber: Joi.string().allow("").required(),
- imageUrl: Joi.string().allow(""),
+ kfs: Joi.string().allow("").allow(null),
- slug: Joi.string().allow(""),
+ sanctionLetter: Joi.string().allow("").allow(null),
- active: Joi.boolean(),
+ remark: Joi.string().allow("").allow(null),
- b2b: Joi.boolean(),
+ createdAt: Joi.string().allow("").required(),
- b2c: Joi.boolean(),
+ updatedAt: Joi.string().allow("").required(),
- theme: this.Theme(),
+ amount: Joi.number().required(),
- createdAt: Joi.string().allow(""),
+ repaidAmount: Joi.number().required(),
- updatedAt: Joi.string().allow(""),
+ paid: Joi.boolean().required(),
- deletedAt: Joi.string().allow(""),
- });
- }
+ overdue: Joi.boolean().required(),
- static TransactionResponse() {
- return Joi.object({
- filters: Joi.array().items(this.Filters()).required(),
+ repaymentDate: Joi.string().allow("").allow(null),
- page: this.PageResponse().required(),
+ paidPercent: Joi.number().required(),
- transactions: Joi.array().items(this.Transactions()).required(),
+ lenderDetail: this.LenderDetail().required(),
});
}
- static GetReconciliationFileResponse() {
+ static GroupedEmi() {
return Joi.object({
- files: Joi.array().items(this.ReconFile()).required(),
- });
- }
+ id: Joi.string().allow(""),
- static ReconFile() {
- return Joi.object({
- base64: Joi.string().allow("").required(),
+ installmentno: Joi.number(),
- name: Joi.string().allow("").required(),
- });
- }
+ amount: Joi.number(),
- static UploadReconciliationFileRequest() {
- return Joi.object({
- base64File: Joi.string().allow("").required(),
+ dueDate: Joi.string().allow(""),
+
+ referenceTransactionId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+
+ paid: Joi.boolean(),
+
+ overdue: Joi.boolean(),
+
+ repaymentDate: Joi.string().allow(""),
+
+ paidPercent: Joi.number(),
+
+ repaidAmount: Joi.number(),
+
+ loanAccounts: Joi.array().items(this.GroupedEmiLoanAccount()),
+ });
+ }
+
+ static TransactionDetails() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ userId: Joi.string().allow("").required(),
+
+ partnerId: Joi.string().allow("").required(),
+
+ partner: Joi.string().allow("").required(),
+
+ partnerLogo: Joi.string().allow("").required(),
+
+ status: Joi.string().allow("").required(),
+
+ type: Joi.string().allow(""),
+
+ remark: Joi.string().allow(""),
+
+ amount: Joi.number().required(),
+
+ loanAccountNumber: Joi.string().allow(""),
+
+ kfs: Joi.string().allow(""),
+
+ utr: Joi.string().allow(""),
+
+ sanctionLetter: Joi.string().allow(""),
+
+ orderId: Joi.string().allow(""),
+
+ refundId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow("").required(),
+
+ lenderId: Joi.string().allow(""),
+
+ lenderName: Joi.string().allow(""),
+
+ lenderLogo: Joi.string().allow(""),
+
+ loanType: Joi.string().allow(""),
+
+ nextDueDate: Joi.string().allow(""),
+
+ paidPercent: Joi.number(),
+
+ lenderDetail: this.LenderDetail(),
+
+ emis: Joi.array().items(this.GroupedEmi()),
+
+ summary: this.TransactionSummary(),
+ });
+ }
+
+ static TransactionSummary() {
+ return Joi.object({
+ capturedAmount: Joi.number().required(),
+
+ uncapturedAmount: Joi.number().required(),
+
+ capturedAmountForDisbursal: Joi.number().required(),
+
+ capturedAmountForCancellation: Joi.number().required(),
+
+ data: Joi.array().items(this.TransactionSummaryData()).required(),
+ });
+ }
+
+ static TransactionSummaryData() {
+ return Joi.object({
+ display: this.TransactionSummaryDataDisplay(),
+ });
+ }
+
+ static TransactionSummaryDataDisplay() {
+ return Joi.object({
+ primary: this.TransactionSummaryDataDisplayType(),
+
+ secondary: this.TransactionSummaryDataDisplayType(),
+ });
+ }
+
+ static TransactionSummaryDataDisplayType() {
+ return Joi.object({
+ text: Joi.string().allow(""),
+ });
+ }
+
+ static LenderDetail() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ imageUrl: Joi.string().allow(""),
+
+ slug: Joi.string().allow(""),
+
+ active: Joi.boolean(),
+
+ b2b: Joi.boolean(),
+
+ b2c: Joi.boolean(),
+
+ theme: this.Theme(),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+
+ deletedAt: Joi.string().allow(""),
+ });
+ }
+
+ static TransactionResponse() {
+ return Joi.object({
+ filters: Joi.array().items(this.Filters()).required(),
+
+ page: this.PageResponse().required(),
+
+ transactions: Joi.array().items(this.Transactions()).required(),
+ });
+ }
+
+ static GetReconciliationFileResponse() {
+ return Joi.object({
+ files: Joi.array().items(this.ReconFile()).required(),
+ });
+ }
+
+ static ReconFile() {
+ return Joi.object({
+ base64: Joi.string().allow("").required(),
+
+ name: Joi.string().allow("").required(),
+ });
+ }
+
+ static UploadReconciliationFileRequest() {
+ return Joi.object({
+ base64File: Joi.string().allow("").required(),
format: Joi.string().allow(""),
@@ -2669,159 +2927,443 @@ class Validator {
});
}
- static TransactionOrder() {
+ static OrderShipmentAddressGeoLocation() {
return Joi.object({
- id: Joi.string().allow("").required(),
+ latitude: Joi.number().required(),
- amount: Joi.number().required(),
+ longitude: Joi.number().required(),
});
}
- static TransactionMerchant() {
+ static OrderShipmentAddress() {
return Joi.object({
- name: Joi.string().allow("").required(),
+ line1: Joi.string().allow(""),
- logo: Joi.string().allow("").required(),
- });
- }
+ line2: Joi.string().allow(""),
- static TransactionLoan() {
- return Joi.object({
- number: Joi.string().allow("").required(),
+ city: Joi.string().allow(""),
- amount: Joi.number().required(),
+ state: Joi.string().allow(""),
- type: Joi.string().allow("").required(),
+ country: Joi.string().allow(""),
+
+ pincode: Joi.string().allow(""),
+
+ type: Joi.string().allow(""),
+
+ geoLocation: this.OrderShipmentAddressGeoLocation(),
});
}
- static TransactionLender() {
+ static OrderShipmentItem() {
return Joi.object({
- name: Joi.string().allow("").required(),
+ category: Joi.string().allow(""),
- slug: Joi.string().allow("").required(),
+ sku: Joi.string().allow(""),
- logo: Joi.string().allow("").required(),
+ rate: Joi.number(),
- shortName: Joi.string().allow("").required(),
+ quantity: Joi.number(),
});
}
- static UserTransaction() {
+ static OrderShipment() {
return Joi.object({
id: Joi.string().allow("").required(),
+ urn: Joi.string().allow(""),
+
amount: Joi.number().required(),
- type: Joi.string().allow("").required(),
+ timestamp: Joi.string().allow("").required(),
status: Joi.string().allow("").required(),
- settlementUtr: Joi.string().allow("").allow(null),
+ remark: Joi.string().allow(""),
- refundId: Joi.string().allow("").allow(null),
+ items: Joi.array().items(this.OrderShipmentItem()),
- createdAt: Joi.string().allow("").required(),
+ shippingAddress: this.OrderShipmentAddress(),
- isMasked: Joi.boolean().required(),
+ billingAddress: this.OrderShipmentAddress(),
+ });
+ }
- order: this.TransactionOrder(),
+ static OrderDeliveryUpdatesBody() {
+ return Joi.object({
+ orderId: Joi.string().allow(""),
- merchant: this.TransactionMerchant().required(),
+ transactionId: Joi.string().allow(""),
- loan: this.TransactionLoan(),
+ includeSummary: Joi.boolean(),
- lender: this.TransactionLender(),
+ shipments: Joi.array().items(this.OrderShipment()).required(),
});
}
- static Pagination() {
+ static OrderShipmentSummary() {
return Joi.object({
- type: Joi.string().allow(""),
-
- current: Joi.number().required(),
+ orderAmount: Joi.number().required(),
- hasPrevious: Joi.boolean().required(),
+ capturedAmount: Joi.number().required(),
- hasNext: Joi.boolean().required(),
+ uncapturedAmount: Joi.number().required(),
- size: Joi.number().required(),
+ capturedAmountForDisbursal: Joi.number().required(),
- itemTotal: Joi.number().required(),
+ capturedAmountForCancellation: Joi.number().required(),
});
}
- static GetTransactionsData() {
+ static OrderShipmentResponse() {
return Joi.object({
- transactions: Joi.array().items(this.UserTransaction()).required(),
-
- page: this.Pagination().required(),
- });
- }
+ id: Joi.string().allow("").required(),
- static GetTransactionsResponse() {
- return Joi.object({
- message: Joi.string().allow("").required(),
+ urn: Joi.string().allow("").required(),
- meta: this.IntegrationResponseMeta().required(),
+ shipmentStatus: Joi.string().allow("").required(),
- data: this.GetTransactionsData().required(),
+ shipmentAmount: Joi.number().required(),
- __headers: Joi.any(),
+ processingStatus: Joi.string().allow("").required(),
});
}
- static SummaryRequest() {
+ static OrderDeliveryUpdatesData() {
return Joi.object({
- startDate: Joi.string().allow(""),
+ orderId: Joi.string().allow("").required(),
- endDate: Joi.string().allow(""),
+ transactionId: Joi.string().allow("").required(),
- merchantId: Joi.string().allow(""),
+ shipments: Joi.array().items(this.OrderShipmentResponse()).required(),
- type: Joi.string().allow(""),
+ summary: this.OrderShipmentSummary(),
});
}
- static Lender() {
+ static OrderDeliveryUpdatesResponse() {
return Joi.object({
- id: Joi.string().allow(""),
+ message: Joi.string().allow("").required(),
- name: Joi.string().allow(""),
+ meta: this.IntegrationResponseMeta().required(),
- active: Joi.boolean(),
+ data: this.OrderDeliveryUpdatesData().required(),
+ });
+ }
- imageUrl: Joi.string().allow(""),
+ static OrderDeliveryUpdatesPartialResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
- slug: Joi.string().allow(""),
+ meta: this.IntegrationResponseMeta().required(),
- theme: Joi.any(),
+ data: this.OrderDeliveryUpdatesData().required(),
- b2b: Joi.boolean(),
+ errors: Joi.array().items(this.OrderDeliveryUpdatesError()),
+ });
+ }
- b2c: Joi.boolean(),
+ static OrderDeliveryUpdatesError() {
+ return Joi.object({
+ code: Joi.string().allow("").required(),
- merchantConfigSchema: Joi.string().allow(""),
+ message: Joi.string().allow("").required(),
- createdAt: Joi.string().allow(""),
+ exception: Joi.string().allow("").required(),
+ });
+ }
- updatedAt: Joi.string().allow(""),
+ static TransactionOrderSummary() {
+ return Joi.object({
+ capturedAmount: Joi.number().required(),
- deletedAt: Joi.string().allow(""),
+ uncapturedAmount: Joi.number().required(),
- meta: Joi.any(),
+ capturedAmountForDisbursal: Joi.number().required(),
- metaSchema: Joi.any(),
+ capturedAmountForCancellation: Joi.number().required(),
});
}
- static UserLender() {
+ static TransactionOrder() {
return Joi.object({
id: Joi.string().allow("").required(),
- userId: Joi.string().allow("").required(),
+ amount: Joi.number().required(),
- lenderId: Joi.string().allow("").required(),
+ summary: this.TransactionOrderSummary(),
+ });
+ }
+
+ static TransactionMerchant() {
+ return Joi.object({
+ name: Joi.string().allow("").required(),
+
+ logo: Joi.string().allow("").required(),
+ });
+ }
+
+ static TransactionLoan() {
+ return Joi.object({
+ number: Joi.string().allow("").required(),
+
+ amount: Joi.number().required(),
+
+ type: Joi.string().allow("").required(),
+
+ dueDate: Joi.string().allow("").required(),
+
+ repaidAmount: Joi.number().required(),
+
+ isSettled: Joi.boolean().required(),
+
+ emis: Joi.array().items(this.TransactionLoanEmi()),
+ });
+ }
+
+ static TransactionLoanEmi() {
+ return Joi.object({
+ amount: Joi.number().required(),
+
+ dueDate: Joi.string().allow("").required(),
+
+ installmentNo: Joi.number().required(),
+
+ repaidAmount: Joi.number().required(),
+
+ isSettled: Joi.boolean().required(),
+ });
+ }
+
+ static TransactionLender() {
+ return Joi.object({
+ name: Joi.string().allow("").required(),
+
+ slug: Joi.string().allow("").required(),
+
+ logo: Joi.string().allow("").required(),
+
+ shortName: Joi.string().allow("").required(),
+ });
+ }
+
+ static UserTransaction() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ amount: Joi.number().required(),
+
+ type: Joi.string().allow("").required(),
+
+ status: Joi.string().allow("").required(),
+
+ settlementUtr: Joi.string().allow("").allow(null),
+
+ refundId: Joi.string().allow("").allow(null),
+
+ createdAt: Joi.string().allow("").required(),
+
+ isMasked: Joi.boolean().required(),
+
+ order: this.TransactionOrder(),
+
+ merchant: this.TransactionMerchant().required(),
+
+ loans: Joi.array().items(this.TransactionLoan()),
+
+ lender: this.TransactionLender(),
+ });
+ }
+
+ static Pagination() {
+ return Joi.object({
+ type: Joi.string().allow(""),
+
+ current: Joi.number().required(),
+
+ hasPrevious: Joi.boolean().required(),
+
+ hasNext: Joi.boolean().required(),
+
+ size: Joi.number().required(),
+
+ itemTotal: Joi.number().required(),
+ });
+ }
+
+ static GetTransactionsData() {
+ return Joi.object({
+ transactions: Joi.array().items(this.UserTransaction()).required(),
+
+ page: this.Pagination().required(),
+ });
+ }
+
+ static GetTransactionsResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.GetTransactionsData().required(),
+ });
+ }
+
+ static SettlementTransactions() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ utr: Joi.string().allow(""),
+
+ amount: Joi.number(),
+
+ settlementStatus: Joi.string().allow(""),
+
+ orderId: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow(""),
+
+ settlementTime: Joi.string().allow(""),
+ });
+ }
+
+ static GetSettlementTransactionsData() {
+ return Joi.object({
+ transactions: Joi.array().items(this.SettlementTransactions()).required(),
+
+ page: this.Pagination().required(),
+ });
+ }
+
+ static GetSettlementTransactionsResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.GetSettlementTransactionsData().required(),
+ });
+ }
+
+ static SummaryRequest() {
+ return Joi.object({
+ startDate: Joi.string().allow(""),
+
+ endDate: Joi.string().allow(""),
+
+ merchantId: Joi.string().allow(""),
+
+ type: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterTransaction() {
+ return Joi.object({
+ intent: Joi.string().allow(""),
+
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static RegisterTransactionResponseData() {
+ return Joi.object({
+ isExistingOrder: Joi.boolean(),
+
+ transaction: Joi.any(),
+
+ action: Joi.boolean(),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterTransactionResponseResult() {
+ return Joi.object({
+ redirectUrl: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterTransactionResponse() {
+ return Joi.object({
+ result: this.RegisterTransactionResponseResult(),
+
+ action: Joi.any(),
+
+ data: this.RegisterTransactionResponseData(),
+
+ transactionId: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
+ static UpdateTransactionRequest() {
+ return Joi.object({
+ intent: Joi.string().allow("").required(),
+
+ token: Joi.string().allow("").required(),
+ });
+ }
+
+ static UpdateTransactionResponse() {
+ return Joi.object({
+ result: this.RegisterTransactionResponseResult(),
+
+ action: Joi.any(),
+
+ data: this.RegisterTransactionResponseData(),
+
+ transactionId: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ message: Joi.string().allow(""),
+ });
+ }
+
+ static Lender() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ active: Joi.boolean(),
+
+ imageUrl: Joi.string().allow(""),
+
+ slug: Joi.string().allow(""),
+
+ theme: Joi.any(),
+
+ b2b: Joi.boolean(),
+
+ b2c: Joi.boolean(),
+
+ merchantConfigSchema: Joi.string().allow(""),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+
+ deletedAt: Joi.string().allow(""),
+
+ meta: Joi.any(),
+
+ metaSchema: Joi.any(),
+ });
+ }
+
+ static UserLender() {
+ return Joi.object({
+ id: Joi.string().allow("").required(),
+
+ userId: Joi.string().allow("").required(),
+
+ lenderId: Joi.string().allow("").required(),
active: Joi.boolean(),
@@ -3719,6 +4261,18 @@ class Validator {
});
}
+ static RetriggerLenderOnboardRequestV2() {
+ return Joi.object({
+ lenderUserId: Joi.string().allow("").required(),
+
+ stepName: Joi.string().allow("").required(),
+
+ data: Joi.any().required(),
+
+ entityMapId: Joi.string().allow("").required(),
+ });
+ }
+
static BusinessDetail() {
return Joi.object({
category: Joi.string().allow("").required(),
@@ -3735,25 +4289,9 @@ class Validator {
});
}
- static VintageData() {
+ static DocumentObjects() {
return Joi.object({
- month: Joi.number().required(),
-
- year: Joi.number().required(),
-
- totalTransactions: Joi.number().required(),
-
- totalTransactionAmount: Joi.number().required(),
-
- totalCancellations: Joi.number(),
-
- totalCancellationAmount: Joi.number(),
- });
- }
-
- static DocumentObjects() {
- return Joi.object({
- number: Joi.string().allow("").required(),
+ number: Joi.string().allow("").required(),
category: Joi.string().allow("").required(),
@@ -3771,6 +4309,20 @@ class Validator {
});
}
+ static AddVintageRequest() {
+ return Joi.object({
+ user: Joi.any().required(),
+
+ businessDetails: this.BusinessDetail().required(),
+
+ vintageData: this.VintageData().required(),
+
+ documents: this.DocumentObjects().required(),
+
+ merchant: this.MerchantSchema().required(),
+ });
+ }
+
static KycCountByStatus() {
return Joi.object({
startDate: Joi.string().allow(""),
@@ -4166,6 +4718,14 @@ class Validator {
name: Joi.string().allow("").required(),
active: Joi.boolean().required(),
+
+ baseUrl: Joi.string().allow(""),
+
+ config: Joi.any(),
+
+ paymentOptions: Joi.array().items(Joi.any()),
+
+ credentialsSchema: Joi.any(),
});
}
@@ -4184,6 +4744,10 @@ class Validator {
pgId: Joi.string().allow("").required(),
active: Joi.boolean().required(),
+
+ config: Joi.any(),
+
+ paymentOptions: Joi.array().items(Joi.any()),
});
}
@@ -4247,6 +4811,24 @@ class Validator {
});
}
+ static Commercial() {
+ return Joi.object({
+ id: Joi.string().allow(""),
+
+ lenderId: Joi.string().allow("").required(),
+
+ merchantId: Joi.string().allow("").required(),
+
+ commercial: Joi.any().required(),
+
+ active: Joi.boolean().required(),
+
+ createdAt: Joi.string().allow(""),
+
+ updatedAt: Joi.string().allow(""),
+ });
+ }
+
static KycStatusResponse() {
return Joi.object({
isKycInitiated: Joi.boolean().required(),
@@ -4382,8 +4964,6 @@ class Validator {
deletedAt: Joi.any(),
isDefault: Joi.boolean(),
-
- __headers: Joi.any(),
});
}
@@ -4588,8 +5168,6 @@ class Validator {
static IntgrCreditLimit() {
return Joi.object({
limit: this.IngtrAvailableLimit().required(),
-
- __headers: Joi.any(),
});
}
@@ -4863,6 +5441,20 @@ class Validator {
});
}
+ static PlatformFees() {
+ return Joi.object({
+ customerAcquisitionFee: Joi.number().required(),
+
+ transactionFee: Joi.number().required(),
+ });
+ }
+
+ static CommercialResponse() {
+ return Joi.object({
+ data: this.Commercial().required(),
+ });
+ }
+
static BlockUserRequestSchema() {
return Joi.object({
status: Joi.boolean(),
@@ -5095,6 +5687,10 @@ class Validator {
email: Joi.string().allow(""),
+ supportEmail: Joi.string().allow("").allow(null),
+
+ description: Joi.string().allow(""),
+
businessAddress: Joi.string().allow(""),
pincode: Joi.string().allow(""),
@@ -5183,6 +5779,10 @@ class Validator {
email: Joi.string().allow(""),
+ supportEmail: Joi.string().allow(""),
+
+ description: Joi.string().allow(""),
+
businessAddress: Joi.string().allow(""),
pincode: Joi.string().allow(""),
@@ -5675,6 +6275,26 @@ class Validator {
});
}
+ static ValidateCredentialsData() {
+ return Joi.object({
+ success: Joi.boolean().required(),
+
+ organizationId: Joi.string().allow("").required(),
+
+ organizationName: Joi.string().allow(""),
+ });
+ }
+
+ static ValidateCredentialsResponse() {
+ return Joi.object({
+ message: Joi.string().allow("").required(),
+
+ meta: this.IntegrationResponseMeta().required(),
+
+ data: this.ValidateCredentialsData().required(),
+ });
+ }
+
static PaymentLinkResponse() {
return Joi.object({
status: Joi.string().allow(""),
@@ -5777,6 +6397,48 @@ class Validator {
});
}
+ static LenderTheme() {
+ return Joi.object({
+ iconUrl: Joi.string().allow(""),
+
+ logoUrl: Joi.string().allow(""),
+ });
+ }
+
+ static LenderDetails() {
+ return Joi.object({
+ slug: Joi.string().allow(""),
+
+ name: Joi.string().allow(""),
+
+ id: Joi.string().allow(""),
+
+ theme: this.LenderTheme(),
+ });
+ }
+
+ static OutstandingData() {
+ return Joi.object({
+ lenderDetails: this.LenderDetails(),
+
+ availableLimit: Joi.number(),
+
+ creditLimit: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ outstandingAmount: Joi.number(),
+
+ dueDate: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingDetailsResponse() {
+ return Joi.object({
+ outstandingDetails: Joi.array().items(this.OutstandingData()),
+ });
+ }
+
static CreateUserRequestSchema() {
return Joi.object({
mobile: Joi.string().allow("").required(),
@@ -5796,23 +6458,324 @@ class Validator {
user: this.UserSchema(),
});
}
-}
-class CustomerValidator {
- static verify() {
+ static RepaymentUsingNetbanking() {
return Joi.object({
- body: Validator.VerifyCustomer().required(),
- }).required();
+ amount: Joi.number().required(),
+
+ bankId: Joi.string().allow("").required(),
+
+ bankName: Joi.string().allow("").required(),
+
+ chargeToken: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentUsingNetbankingResponse() {
+ return Joi.object({
+ form: Joi.string().allow(""),
+
+ isDifferent: Joi.boolean(),
+
+ outstanding: Joi.string().allow(""),
+ });
}
- static resendPaymentRequest() {
+ static RepaymentUsingUPI() {
return Joi.object({
- body: Validator.ResendPaymentRequest().required(),
+ amount: Joi.number().required(),
+
+ vpa: Joi.string().allow("").required(),
+
+ chargeToken: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentUsingUPIResponse() {
+ return Joi.object({
+ isDifferent: Joi.boolean(),
+
+ outstanding: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+
+ intentId: Joi.string().allow(""),
+
+ transactionId: Joi.string().allow(""),
+
+ expiry: Joi.number(),
+
+ interval: Joi.number(),
+ });
+ }
+
+ static RegisterUPIMandateRequest() {
+ return Joi.object({
+ vpa: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterUPIMandateResponse() {
+ return Joi.object({
+ transactionId: Joi.string().allow(""),
+
+ expiry: Joi.number(),
+
+ interval: Joi.number(),
+ });
+ }
+
+ static RegisterUPIMandateStatusCheckRequest() {
+ return Joi.object({
+ transactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RegisterMandateStatusCheckResponse() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static TransactionStatusRequest() {
+ return Joi.object({
+ intentId: Joi.string().allow("").required(),
+
+ transactionId: Joi.string().allow("").required(),
+ });
+ }
+
+ static TransactionStatusResponse() {
+ return Joi.object({
+ success: Joi.boolean().required(),
+
+ methodType: Joi.string().allow(""),
+
+ methodSubType: Joi.string().allow(""),
+
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static BankList() {
+ return Joi.object({
+ bankId: Joi.string().allow(""),
+
+ bankName: Joi.string().allow(""),
+
+ rank: Joi.number(),
+
+ popular: Joi.boolean(),
+
+ imageUrl: Joi.string().allow(""),
+ });
+ }
+
+ static PaymentsObject() {
+ return Joi.object({
+ title: Joi.string().allow(""),
+
+ kind: Joi.string().allow(""),
+
+ options: Joi.array().items(this.PaymentOptions()),
+ });
+ }
+
+ static OutstandingDetail() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+
+ action: Joi.boolean(),
+
+ message: this.OutstandingMessage(),
+
+ credit: this.UserCredit(),
+
+ dueSummary: this.DueSummaryOutstanding(),
+
+ outstandingSummary: this.OutstandingSummary(),
+
+ entityMapId: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingSummary() {
+ return Joi.object({
+ totalOutstanding: Joi.number(),
+
+ totalOutstandingWithInterest: Joi.number(),
+
+ totalOutstandingPenalty: Joi.number(),
+
+ availableLimit: Joi.number(),
+
+ isOverdue: Joi.boolean(),
+
+ dueFromDate: Joi.string().allow(""),
+
+ repaymentSummary: Joi.array().items(this.RepaymentSummaryOutstanding()),
+ });
+ }
+
+ static DueSummaryOutstanding() {
+ return Joi.object({
+ dueDate: Joi.string().allow(""),
+
+ totalDue: Joi.number(),
+
+ totalDueWithInterest: Joi.number(),
+
+ totalDuePenalty: Joi.number(),
+
+ dueTransactions: Joi.array().items(this.DueTransactionsOutstanding()),
+
+ minAmntDue: Joi.number(),
+ });
+ }
+
+ static OutstandingMessage() {
+ return Joi.object({
+ dueMessage: Joi.string().allow(""),
+
+ backgroundColor: Joi.string().allow(""),
+
+ textColor: Joi.string().allow(""),
+
+ isFlexiRepayEnabled: Joi.boolean(),
+ });
+ }
+
+ static UserCredit() {
+ return Joi.object({
+ availableLimit: Joi.number(),
+
+ approvedLimit: Joi.number(),
+
+ isEligibleToDrawdown: Joi.boolean(),
+ });
+ }
+
+ static DueTransactionsOutstanding() {
+ return Joi.object({
+ loanRequestNo: Joi.string().allow(""),
+
+ merchantCategory: Joi.string().allow(""),
+
+ installmentAmountWithInterest: Joi.number(),
+
+ installmentAmount: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ loanType: Joi.string().allow(""),
+
+ installmentNo: Joi.string().allow(""),
+
+ installmentDueDate: Joi.string().allow(""),
+
+ isPastDue: Joi.boolean(),
+
+ isPenaltyCharged: Joi.boolean(),
+
+ penaltyAmount: Joi.number(),
+
+ noOfDaysPenaltyCharged: Joi.number(),
+
+ daysDifference: Joi.number(),
+
+ lenderTransactionId: Joi.string().allow(""),
+ });
+ }
+
+ static RepaymentSummaryOutstanding() {
+ return Joi.object({
+ loanRequestNo: Joi.string().allow(""),
+
+ loanType: Joi.string().allow(""),
+
+ merchantCategory: Joi.string().allow(""),
+
+ isBbillingTransaction: Joi.boolean(),
+
+ totalInstallmentAmount: Joi.number(),
+
+ totalInstallmentAmountWithInterest: Joi.number(),
+
+ outstandingDetails: Joi.array().items(this.OutstandingDetailsRepayment()),
+ });
+ }
+
+ static OutstandingDetailsRepayment() {
+ return Joi.object({
+ installmentAmountWithInterest: Joi.number(),
+
+ installmentAmount: Joi.number(),
+
+ dueAmount: Joi.number(),
+
+ installmentNo: Joi.string().allow(""),
+
+ installmentDueDate: Joi.string().allow(""),
+
+ isPastDue: Joi.boolean(),
+
+ loanType: Joi.string().allow(""),
+
+ isPenaltyCharged: Joi.boolean(),
+
+ penaltyAmount: Joi.number(),
+
+ noOfDaysPenaltyCharged: Joi.number(),
+
+ lenderTransactionId: Joi.string().allow(""),
+ });
+ }
+
+ static PaymentOptionsResponse() {
+ return Joi.object({
+ paymentOptions: Joi.array().items(this.PaymentsObject()),
+ });
+ }
+
+ static CheckEMandateStatusRequest() {
+ return Joi.object({
+ orderId: Joi.string().allow(""),
+
+ paymentId: Joi.string().allow(""),
+
+ scheduledEnd: Joi.string().allow(""),
+
+ ruleAmountValue: Joi.string().allow(""),
+ });
+ }
+
+ static AutoPayStatusResponse() {
+ return Joi.object({
+ status: Joi.string().allow(""),
+ });
+ }
+
+ static OutstandingDetailsData() {
+ return Joi.object({
+ outstandingDetails: Joi.array().items(this.OutstandingData()).required(),
+ });
+ }
+}
+
+class CustomerValidator {
+ static validate() {
+ return Joi.object({
+ body: Validator.ValidateCustomer().required(),
}).required();
}
- static createOrder() {
+ static createTransaction() {
return Joi.object({
+ session: Joi.string().allow(""),
body: Validator.CreateTransaction().required(),
}).required();
}
@@ -5847,6 +6810,33 @@ class CustomerValidator {
body: Validator.GetSchemesRequest().required(),
}).required();
}
+
+ static checkEligibility() {
+ return Joi.object({
+ body: Validator.CheckEligibilityRequest().required(),
+ }).required();
+ }
+
+ static getRepaymentLink() {
+ return Joi.object({
+ body: Validator.RepaymentRequest().required(),
+ }).required();
+ }
+
+ static getAllCustomers() {
+ return Joi.object({
+ page: Joi.number().required(),
+ limit: Joi.number().required(),
+ name: Joi.string().allow(""),
+ mobile: Joi.string().allow(""),
+ }).required();
+ }
+
+ static addVintageData() {
+ return Joi.object({
+ body: Validator.VintageData().required(),
+ }).required();
+ }
}
class CreditValidator {
@@ -5863,17 +6853,35 @@ class CreditValidator {
}).required();
}
+ static updateOrderDeliveryStatus() {
+ return Joi.object({
+ body: Validator.OrderDeliveryUpdatesBody().required(),
+ }).required();
+ }
+
static getTransactions() {
return Joi.object({
+ mobile: Joi.string().allow("").required(),
+ countryCode: Joi.string().allow(""),
page: Joi.number(),
+ limit: Joi.number(),
+ orderId: Joi.string().allow(""),
+ transactionId: Joi.string().allow(""),
type: Joi.any(),
status: Joi.any(),
+ onlySelf: Joi.boolean(),
+ granularity: Joi.string().allow(""),
+ }).required();
+ }
+
+ static getSettledTransactions() {
+ return Joi.object({
+ page: Joi.number(),
limit: Joi.number(),
- countryCode: Joi.string().allow(""),
- mobile: Joi.string().allow("").required(),
orderId: Joi.string().allow(""),
transactionId: Joi.string().allow(""),
- onlySelf: Joi.boolean(),
+ startDate: Joi.string().allow(""),
+ endDate: Joi.string().allow(""),
}).required();
}
}
@@ -5882,12 +6890,6 @@ class MultiKycValidator {
static approvedLenders() {
return Joi.object({}).required();
}
-
- static getLimit() {
- return Joi.object({
- body: Validator.GetLimitRequest().required(),
- }).required();
- }
}
class MerchantValidator {
@@ -5900,6 +6902,19 @@ class MerchantValidator {
body: Validator.RefreshTokenRequest().required(),
}).required();
}
+
+ static validateCredentials() {
+ return Joi.object({}).required();
+ }
+}
+
+class PaymentsValidator {
+ static getUserCreditSummary() {
+ return Joi.object({
+ mobile: Joi.string().allow("").required(),
+ lenderSlugs: Joi.array().items(Joi.string().allow("")),
+ }).required();
+ }
}
module.exports = {
@@ -5907,4 +6922,5 @@ module.exports = {
CreditValidator,
MultiKycValidator,
MerchantValidator,
+ PaymentsValidator,
};