@escapenavigator/types 1.10.121 → 1.10.122

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.
@@ -10,12 +10,17 @@
10
10
  * Реализованные на бэке потолки:
11
11
  * - `OrderService.EXPORT_LIMIT` — `GET /orders/export`
12
12
  * - `ClientService.EXPORT_LIMIT` — `GET /clients/export`
13
- *
14
- * Не покрыты лимитом (TODO): `transactions/export`, `users/sessions/export`.
15
- * Когда добавится взять отсюда же.
13
+ * - `TransactionService.EXPORT_LIMIT` — `GET /transactions/export`
14
+ * - `CertificatesaleService.EXPORT_LIMIT` `GET /certificate-sales/export`
15
+ * - `UserSessionService.EXPORT_LIMIT``GET /user-sessions/export`
16
+ * - `GooglePlacesService.EXPORT_LIMIT` — `GET /google-places/export` (admin)
16
17
  */
17
18
  export declare const EXPORT_LIMITS: {
18
19
  readonly ORDERS: 5000;
19
20
  readonly CLIENTS: 5000;
21
+ readonly TRANSACTIONS: 5000;
22
+ readonly CERTIFICATE_SALES: 5000;
23
+ readonly USER_SESSIONS: 5000;
24
+ readonly GOOGLE_PLACES: 5000;
20
25
  };
21
26
  export type ExportLimitKey = keyof typeof EXPORT_LIMITS;
@@ -13,11 +13,16 @@ exports.EXPORT_LIMITS = void 0;
13
13
  * Реализованные на бэке потолки:
14
14
  * - `OrderService.EXPORT_LIMIT` — `GET /orders/export`
15
15
  * - `ClientService.EXPORT_LIMIT` — `GET /clients/export`
16
- *
17
- * Не покрыты лимитом (TODO): `transactions/export`, `users/sessions/export`.
18
- * Когда добавится взять отсюда же.
16
+ * - `TransactionService.EXPORT_LIMIT` — `GET /transactions/export`
17
+ * - `CertificatesaleService.EXPORT_LIMIT` `GET /certificate-sales/export`
18
+ * - `UserSessionService.EXPORT_LIMIT``GET /user-sessions/export`
19
+ * - `GooglePlacesService.EXPORT_LIMIT` — `GET /google-places/export` (admin)
19
20
  */
20
21
  exports.EXPORT_LIMITS = {
21
22
  ORDERS: 5000,
22
23
  CLIENTS: 5000,
24
+ TRANSACTIONS: 5000,
25
+ CERTIFICATE_SALES: 5000,
26
+ USER_SESSIONS: 5000,
27
+ GOOGLE_PLACES: 5000,
23
28
  };