squarefi-bff-api-module 1.36.86 → 1.36.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/types/types.d.ts +2 -3
- package/dist/constants.d.ts +0 -2
- package/dist/constants.js +0 -2
- package/package.json +1 -1
|
@@ -2019,10 +2019,9 @@ export declare namespace API {
|
|
|
2019
2019
|
/**
|
|
2020
2020
|
* Read off the `Order` schema rather than re-declared, so a status the backend adds lands here
|
|
2021
2021
|
* on the next regeneration. `EXPECTED` = a scheduled payment waiting for its `scheduled_at`;
|
|
2022
|
-
* `REFUNDED` = a failed order whose funds were paid back.
|
|
2023
|
-
* legacy orders only and is kept so code that handles it keeps compiling; new orders fail as `FAILED`.
|
|
2022
|
+
* `REFUNDED` = a failed order whose funds were paid back.
|
|
2024
2023
|
*/
|
|
2025
|
-
type OrderStatus = NonNullable<API.Orders.Frontend.Order['status']
|
|
2024
|
+
type OrderStatus = NonNullable<API.Orders.Frontend.Order['status']>;
|
|
2026
2025
|
namespace OrderTypes {
|
|
2027
2026
|
type OrderTypeKycRail = {
|
|
2028
2027
|
id: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -351,8 +351,6 @@ export declare enum OrderStatuses {
|
|
|
351
351
|
PROCESSING = "PROCESSING",
|
|
352
352
|
CANCELED = "CANCELED",
|
|
353
353
|
COMPLETE = "COMPLETE",
|
|
354
|
-
/** @deprecated Legacy orders only; the `Order` schema has no `ERROR` and reports a failure as `FAILED`. */
|
|
355
|
-
ERROR = "ERROR",
|
|
356
354
|
FAILED = "FAILED",
|
|
357
355
|
REFUNDED = "REFUNDED"
|
|
358
356
|
}
|
package/dist/constants.js
CHANGED
|
@@ -367,8 +367,6 @@ export var OrderStatuses;
|
|
|
367
367
|
OrderStatuses["PROCESSING"] = "PROCESSING";
|
|
368
368
|
OrderStatuses["CANCELED"] = "CANCELED";
|
|
369
369
|
OrderStatuses["COMPLETE"] = "COMPLETE";
|
|
370
|
-
/** @deprecated Legacy orders only; the `Order` schema has no `ERROR` and reports a failure as `FAILED`. */
|
|
371
|
-
OrderStatuses["ERROR"] = "ERROR";
|
|
372
370
|
OrderStatuses["FAILED"] = "FAILED";
|
|
373
371
|
OrderStatuses["REFUNDED"] = "REFUNDED";
|
|
374
372
|
})(OrderStatuses || (OrderStatuses = {}));
|