diff --git a/dev.log b/dev.log new file mode 100644 index 0000000..1048337 --- /dev/null +++ b/dev.log @@ -0,0 +1,1988 @@ + +> sferav@0.1.0 dev +> next dev --turbopack + + ▲ Next.js 15.4.1 (Turbopack) + - Local: http://localhost:3000 + - Network: http://192.168.0.104:3000 + - Environments: .env + - Experiments (use with caution): + · optimizePackageImports + + ✓ Starting... + ✓ Ready in 834ms + ○ Compiling /api/graphql ... + ✓ Compiled /api/graphql in 1205ms +🚀 Проверка инициализации базы данных... +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +✨ Инициализация базы данных завершена +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 3994ms + POST /api/graphql 200 in 1067ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 742ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 813ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 1032ms + POST /api/graphql 200 in 539ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1335ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 973ms + POST /api/graphql 200 in 696ms + ○ Compiling /fulfillment-supplies ... + ✓ Compiled /fulfillment-supplies in 1797ms + GET /fulfillment-supplies 200 in 1883ms + GET /fulfillment-supplies 200 in 79ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMe', + query: 'query GetMe {\n' + + ' me {\n' + + ' id\n' + + ' phone\n' + + ' avatar\n' + + ' managerName\n' + + ' createdAt\n' + + ' organization {\n' + + ' id\n' + + ' inn\n' + + ' kpp\n' + + ' name\n' + + ' fullName\n' + + ' address\n' + + ' addressFull\n' + + ' ogrn\n' + + ' ...' +} + ✓ Compiled /favicon.ico in 478ms + POST /api/graphql 200 in 656ms + GET /favicon.ico?favicon.45db1c09.ico 200 in 750ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMe', + query: 'query GetMe {\n' + + ' me {\n' + + ' id\n' + + ' phone\n' + + ' avatar\n' + + ' managerName\n' + + ' createdAt\n' + + ' organization {\n' + + ' id\n' + + ' inn\n' + + ' kpp\n' + + ' name\n' + + ' fullName\n' + + ' address\n' + + ' addressFull\n' + + ' ogrn\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 320ms + POST /api/graphql 200 in 556ms + ○ Compiling /fulfillment-warehouse ... + ✓ Compiled /fulfillment-warehouse in 807ms + GET /fulfillment-warehouse 200 in 869ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMe', + query: 'query GetMe {\n' + + ' me {\n' + + ' id\n' + + ' phone\n' + + ' avatar\n' + + ' managerName\n' + + ' createdAt\n' + + ' organization {\n' + + ' id\n' + + ' inn\n' + + ' kpp\n' + + ' name\n' + + ' fullName\n' + + ' address\n' + + ' addressFull\n' + + ' ogrn\n' + + ' ...' +} + GET /favicon.ico?favicon.45db1c09.ico 200 in 258ms + POST /api/graphql 200 in 1231ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMe', + query: 'query GetMe {\n' + + ' me {\n' + + ' id\n' + + ' phone\n' + + ' avatar\n' + + ' managerName\n' + + ' createdAt\n' + + ' organization {\n' + + ' id\n' + + ' inn\n' + + ' kpp\n' + + ' name\n' + + ' fullName\n' + + ' address\n' + + ' addressFull\n' + + ' ogrn\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetWarehouseProducts', + query: 'query GetWarehouseProducts {\n' + + ' warehouseProducts {\n' + + ' id\n' + + ' name\n' + + ' article\n' + + ' description\n' + + ' price\n' + + ' quantity\n' + + ' type\n' + + ' category {\n' + + ' id\n' + + ' name\n' + + ' __typename\n' + + ' }\n' + + ' brand\n' + + ' c...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMyCounterparties', + query: 'query GetMyCounterparties {\n' + + ' myCounterparties {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' managementName\n' + + ' type\n' + + ' address\n' + + ' market\n' + + ' phones\n' + + ' emails\n' + + ' createdAt\n' + + ' users {\n' + + ' id\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +❌ GraphQL Errors: [ + { + message: 'Cannot query field "price" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "quantity" on type "Supply". Did you mean "unit"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "category" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "status" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "date" on type "Supply". Did you mean "name"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "supplier" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "minStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "currentStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "usedStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + } +] + POST /api/graphql 400 in 90ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetSupplyOrders', + query: 'query GetSupplyOrders {\n' + + ' supplyOrders {\n' + + ' id\n' + + ' organizationId\n' + + ' partnerId\n' + + ' deliveryDate\n' + + ' status\n' + + ' totalAmount\n' + + ' totalItems\n' + + ' fulfillmentCenterId\n' + + ' createdAt\n' + + ' updatedAt\n' + + ' part...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +❌ GraphQL Errors: [ + { + message: 'Cannot query field "price" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "quantity" on type "Supply". Did you mean "unit"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "category" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "status" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "date" on type "Supply". Did you mean "name"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "supplier" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "minStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "currentStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "usedStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "type" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "shopLocation" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "sellerOwner" on type "Supply".', + locations: [ [Object] ], + path: undefined + } +] + POST /api/graphql 400 in 130ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetFulfillmentWarehouseStats', + query: 'query GetFulfillmentWarehouseStats {\n' + + ' fulfillmentWarehouseStats {\n' + + ' products {\n' + + ' current\n' + + ' change\n' + + ' percentChange\n' + + ' __typename\n' + + ' }\n' + + ' goods {\n' + + ' current\n' + + ' change\n' + + ' per...' +} +🔥 FULFILLMENT WAREHOUSE STATS RESOLVER CALLED +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 3124ms +🏢 Organization ID: cmdzn23nl0002y5i4tytjh0ni, Date 24h ago: 2025-08-05T20:02:43.822Z +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} +🔍 Резолвер warehouseProducts (доставленные заказы): { + currentUserId: 'cmdzn1sof0001y5i4h6fyp5jw', + organizationId: 'cmdzn23nl0002y5i4tytjh0ni', + organizationType: 'FULFILLMENT', + deliveredOrdersCount: 1, + orders: [ + { + id: 'cme0dt4i80009y52fe5r82wr9', + sellerName: 'ФУЛФИЛМЕНТ РУ', + supplierName: 'ПОСТАВЩИК-ЭК', + status: 'DELIVERED', + itemsCount: 1, + deliveryDate: 2025-08-07T00:00:00.000Z + } + ] +} +📦 Заказ от селлера ФУЛФИЛМЕНТ РУ у поставщика ПОСТАВЩИК-ЭК: [ + { + productId: 'cmdztzlbn0001y5gr4pg0j0df', + productName: 'Пакет', + article: 'SF-C-446739-386', + orderedQuantity: 100, + price: 10 + } +] +🚫 Исключен расходник из основного склада фулфилмента: { + name: 'Пакет', + type: 'CONSUMABLE', + orderId: 'cme0dt4i80009y52fe5r82wr9' +} +✅ Итого товаров на складе фулфилмента (из доставленных заказов): 0 + POST /api/graphql 200 in 5813ms + POST /api/graphql 200 in 6353ms +📦 ALL DELIVERED ORDERS: 1 + Order cme0dt4i80009y52fe5r82wr9: org=cmdzn23nl0002y5i4tytjh0ni (ФУЛФИЛМЕНТ РУ), fulfillment=cmdzn23nl0002y5i4tytjh0ni, items=1 +🛒 SELLER ORDERS TO FULFILLMENT: 0 + POST /api/graphql 200 in 3597ms + POST /api/graphql 200 in 7417ms + POST /api/graphql 200 in 2433ms + POST /api/graphql 200 in 6048ms +🏭 FULFILLMENT SUPPLY ORDERS: 1 +🔥 FULFILLMENT SUPPLIES DEBUG: organizationId=cmdzn23nl0002y5i4tytjh0ni, ordersCount=1, warehouseCount=2, totalStock=100 +📦 FULFILLMENT SUPPLIES BREAKDOWN: [ + { + name: 'скотч10', + currentStock: 0, + supplier: 'Внутренний поставщик' + }, + { name: 'Пакет', currentStock: 100, supplier: 'ПОСТАВЩИК-ЭК' } +] + POST /api/graphql 200 in 7609ms +📊 FULFILLMENT SUPPLIES RECEIVED TODAY (ПРИБЫЛО): 1 orders, 100 items +💼 SELLER SUPPLIES DEBUG: totalCount=0 (from Supply warehouse) +📊 SELLER SUPPLIES RECEIVED TODAY: 0 supplies, 0 items +🏁 FINAL WAREHOUSE STATS RESULT: { + "products": { + "current": 0, + "change": 0, + "percentChange": 0 + }, + "goods": { + "current": 0, + "change": 0, + "percentChange": 0 + }, + "defects": { + "current": 0, + "change": 0, + "percentChange": 0 + }, + "pvzReturns": { + "current": 0, + "change": 0, + "percentChange": 0 + }, + "fulfillmentSupplies": { + "current": 100, + "change": 100, + "percentChange": 100 + }, + "sellerSupplies": { + "current": 0, + "change": 0, + "percentChange": 0 + } +} + POST /api/graphql 200 in 8453ms + ○ Compiling /fulfillment-warehouse/supplies ... + ✓ Compiled /fulfillment-warehouse/supplies in 1604ms + GET /fulfillment-warehouse/supplies 200 in 1691ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +❌ GraphQL Errors: [ + { + message: 'Cannot query field "price" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "quantity" on type "Supply". Did you mean "unit"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "category" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "status" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "date" on type "Supply". Did you mean "name"?', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "supplier" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "minStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "currentStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + }, + { + message: 'Cannot query field "usedStock" on type "Supply".', + locations: [ [Object] ], + path: undefined + } +] + POST /api/graphql 400 in 117ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetMe', + query: 'query GetMe {\n' + + ' me {\n' + + ' id\n' + + ' phone\n' + + ' avatar\n' + + ' managerName\n' + + ' createdAt\n' + + ' organization {\n' + + ' id\n' + + ' inn\n' + + ' kpp\n' + + ' name\n' + + ' fullName\n' + + ' address\n' + + ' addressFull\n' + + ' ogrn\n' + + ' ...' +} + GET /favicon.ico?favicon.45db1c09.ico 200 in 356ms + POST /api/graphql 200 in 561ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1471ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1015ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 607ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 610ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 925ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 951ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 365ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 457ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1215ms + POST /api/graphql 200 in 610ms + POST /api/graphql 200 in 693ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 296ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1596ms + POST /api/graphql 200 in 625ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 974ms +🚀 Проверка инициализации базы данных... +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1304ms +✨ Инициализация базы данных завершена + POST /api/graphql 200 in 1651ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 691ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 982ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1055ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 283ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 596ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 1552ms + POST /api/graphql 200 in 313ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 597ms + POST /api/graphql 200 in 650ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1584ms + POST /api/graphql 200 in 701ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 702ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 729ms + POST /api/graphql 200 in 1124ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 603ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 948ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 801ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 306ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 409ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 307ms + POST /api/graphql 200 in 1266ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 833ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 658ms + POST /api/graphql 200 in 627ms + POST /api/graphql 200 in 1508ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1040ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 1117ms + POST /api/graphql 200 in 692ms + POST /api/graphql 200 in 698ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 790ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 831ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 385ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 375ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetIncomingRequests', + query: 'query GetIncomingRequests {\n' + + ' incomingRequests {\n' + + ' id\n' + + ' status\n' + + ' message\n' + + ' createdAt\n' + + ' sender {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' phones\n' + + ' email...' +} + POST /api/graphql 200 in 279ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1908ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjFzb2YwMDAxeTVpNGg2ZnlwNWp3IiwicGhvbmUiOiI3OTk5OTk5OTk5OSIsImlhdCI6MTc1NDQ4NzQ4MSwiZXhwIjoxNzU3MDc5NDgxfQ.9KeIWoNPtDJNEU_SCoCba1ducS2pEpyhplg3YswCED4 +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn1sof0001y5i4h6fyp5jw', phone: '79999999999' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjhkYjAwMDBoeTVpNHpveHp6ZmZnIiwicGhvbmUiOiI3ODg4ODg4ODg4OCIsImlhdCI6MTc1NDQ2NTExOCwiZXhwIjoxNzU3MDU3MTE4fQ.VP8LZUaONciSW9qBAVAjHVsY1lCpyiBVkVTcGoDaOGI +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn8db0000hy5i4zoxzzffg', phone: '78888888888' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjVwYWUwMDA5eTVpNHB5YXNpYnJqIiwicGhvbmUiOiI3NjY2NjY2NjY2NiIsImlhdCI6MTc1NDUwOTc4MywiZXhwIjoxNzU3MTAxNzgzfQ.uC19oz6DE323E34mzAW7cZxw0vUjTbzRMktghrt5qgc +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn5pae0009y5i4pyasibrj', phone: '76666666666' } +🔍 GraphQL Operation: { + operationName: 'GetPendingSuppliesCount', + query: 'query GetPendingSuppliesCount {\n' + + ' pendingSuppliesCount {\n' + + ' supplyOrders\n' + + ' ourSupplyOrders\n' + + ' sellerSupplyOrders\n' + + ' incomingSupplierOrders\n' + + ' incomingRequests\n' + + ' total\n' + + ' __typename\n' + + ' }\n' + + '}...' +} + POST /api/graphql 200 in 634ms + POST /api/graphql 200 in 1902ms + POST /api/graphql 200 in 2531ms + POST /api/graphql 200 in 1789ms +GraphQL Context - Auth header: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWR6bjJvOGowMDA0eTVpNDgxMHc4bzVjIiwicGhvbmUiOiI3Nzc3Nzc3Nzc3NyIsImlhdCI6MTc1NDQ2NDg1MiwiZXhwIjoxNzU3MDU2ODUyfQ.sa2a5qIIOzJsgWJkC5qezQ6m4-JvwtxOKyEmHIiJ9zU +GraphQL Context - Token: eyJhbGciOiJIUzI1NiIs... +GraphQL Context - Decoded user: { id: 'cmdzn2o8j0004y5i4810w8o5c', phone: '77777777777' } +🔍 GraphQL Operation: { + operationName: 'GetConversations', + query: 'query GetConversations {\n' + + ' conversations {\n' + + ' id\n' + + ' counterparty {\n' + + ' id\n' + + ' inn\n' + + ' name\n' + + ' fullName\n' + + ' type\n' + + ' address\n' + + ' users {\n' + + ' id\n' + + ' avatar\n' + + ' managerName\n' + + ' ...' +} + POST /api/graphql 200 in 1464ms +🚀 Проверка инициализации базы данных... + POST /api/graphql 200 in 1162ms + POST /api/graphql 200 in 1638ms +✨ Инициализация базы данных завершена + POST /api/graphql 200 in 1317ms + POST /api/graphql 200 in 1189ms + POST /api/graphql 200 in 961ms + POST /api/graphql 200 in 375ms + POST /api/graphql 200 in 387ms + POST /api/graphql 200 in 321ms + POST /api/graphql 200 in 1497ms + ○ Compiling /supplies/create-suppliers ... + ✓ Compiled /supplies/create-suppliers in 556ms + GET /supplies/create-suppliers 200 in 793ms + POST /api/graphql 200 in 439ms + POST /api/graphql 200 in 320ms + POST /api/graphql 200 in 300ms + POST /api/graphql 200 in 350ms + POST /api/graphql 200 in 929ms + POST /api/graphql 200 in 1212ms + POST /api/graphql 200 in 1735ms + POST /api/graphql 200 in 638ms + POST /api/graphql 200 in 1867ms + POST /api/graphql 200 in 1048ms + POST /api/graphql 200 in 1179ms + POST /api/graphql 200 in 833ms + POST /api/graphql 200 in 1510ms + POST /api/graphql 200 in 657ms + POST /api/graphql 200 in 1168ms + POST /api/graphql 200 in 1187ms + POST /api/graphql 200 in 353ms + POST /api/graphql 200 in 395ms + POST /api/graphql 200 in 1481ms + POST /api/graphql 200 in 1100ms + POST /api/graphql 200 in 767ms + GET /supplies/create-suppliers 200 in 82ms + GET /favicon.ico 200 in 55ms + POST /api/graphql 200 in 560ms + POST /api/graphql 200 in 1414ms + POST /api/graphql 200 in 368ms + POST /api/graphql 200 in 372ms + POST /api/graphql 200 in 231ms + POST /api/graphql 200 in 1193ms + POST /api/graphql 200 in 397ms + POST /api/graphql 200 in 912ms + POST /api/graphql 200 in 971ms + POST /api/graphql 200 in 826ms + POST /api/graphql 200 in 616ms + ○ Compiling /settings ... + ✓ Compiled /settings in 689ms + GET /settings 200 in 822ms + POST /api/graphql 200 in 515ms + POST /api/graphql 200 in 301ms + POST /api/graphql 200 in 960ms + POST /api/graphql 200 in 692ms + POST /api/graphql 200 in 617ms + POST /api/graphql 200 in 777ms + POST /api/graphql 200 in 671ms + POST /api/graphql 200 in 291ms diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 8226cf7..744f359 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -65,6 +65,7 @@ model Organization { ogrn String? ogrnDate DateTime? type OrganizationType + market String? createdAt DateTime @default(now()) updatedAt DateTime @updatedAt address String? diff --git a/rules-complete.md b/rules-complete.md index 38c6fb7..4499249 100644 --- a/rules-complete.md +++ b/rules-complete.md @@ -1,4 +1,4 @@ -# ПРАВИЛА СИСТЕМЫ УПРАВЛЕНИЯ СКЛАДАМИ И ПОСТАВКАМИ - ЕДИНЫЙ ИСТОЧНИК ИСТИНЫ v9.2 +# ПРАВИЛА СИСТЕМЫ УПРАВЛЕНИЯ СКЛАДАМИ И ПОСТАВКАМИ - ЕДИНЫЙ ИСТОЧНИК ИСТИНЫ v10.0 > ⚠️ **АБСОЛЮТНО ПОЛНЫЙ ЕДИНЫЙ ИСТОЧНИК ИСТИНЫ**: Данный файл объединяет АБСОЛЮТНО ВСЕ правила системы: протоколы работы Claude Code, детальные протоколы по сложности, систему предотвращения нарушений, расширенную самопроверку, специальный UI/UX протокол и бизнес-правила. Визуальные правила вынесены в отдельный файл visual-design-rules.md с автоматической интеграцией. @@ -309,6 +309,7 @@ | **Workflow поставок** | [5](#5--workflow-поставок) | 8 статусов, уведомления, логистика | | **GraphQL запросы** | [18](#18--graphql-и-typescript-правила), [24](#24--технические-приложения) | Резолверы, мутации, типизация | | **Система партнерства** | [13](#13--система-партнерства-и-контрагентов) | Counterparty, WHOLESALE, заявки | +| **Рынки и маркет** | [10.1](#101-разделение-понятий-рынок-vs-маркет), [18.7](#187-правила-рынков-и-маркета) | РЫНОК ≠ МАРКЕТ, Organization.market | | **Критические запреты** | [17](#17--критические-запреты) | Что НЕЛЬЗЯ делать в системе | ### 🎯 ДЛЯ РАЗНЫХ РОЛЕЙ @@ -1005,15 +1006,17 @@ const handleSuppliesClick = () => { **ОБНОВЛЕННАЯ СТРУКТУРА СИСТЕМЫ (4 БЛОКА):** -**БЛОК 1: ПОСТАВЩИКИ** _(горизонтальный скролл)_ -- **Отображение**: Карточки поставщиков из раздела "Партнеры" -- **Навигация**: Горизонтальный скролл (слева-направо) при превышении ширины экрана +**БЛОК 1: ПОСТАВЩИКИ** _(адаптивная сетка)_ +- **Заголовок**: Минималистичный "🏢 Поставщики" без лишних элементов +- **Поиск**: Компактное поле справа "Поиск поставщиков..." (w-64) +- **Отображение**: Карточки поставщиков из раздела "Партнеры" в адаптивной сетке - **Выбор**: Клик выделяет карточку поставщика - **Результат**: Загружаются карточки товаров выбранного поставщика в блок 2 **БЛОК 2: КАРТОЧКИ ТОВАРОВ** _(горизонтальный скролл - НОВЫЙ)_ -- **Отображение**: Компактные карточки товаров выбранного поставщика -- **Навигация**: Горизонтальный скролл аналогично блоку 1 +- **Отображение**: ТОЛЬКО минималистичные карточки товаров 80×112px +- **Содержание**: ТОЛЬКО изображение товара, БЕЗ текста/названий/цен +- **Навигация**: Горизонтальный скролл при множестве товаров - **Выбор**: Клик добавляет товар в детальный каталог - **Результат**: Товар добавляется в блок 3 для управления поставкой @@ -1136,28 +1139,305 @@ const handleSuppliesClick = () => { - **Источник данных**: Товары выбранного поставщика из Блока 1 - **Триггер отображения**: Клик на карточку поставщика → загрузка карточек товаров - **Взаимодействие**: Клик на карточку товара → добавление в Блок 3 "Товары поставщика" -- **Поведение**: Горизонтальный скролл при множестве товаров (аналогично Блоку 1) +- **Поведение**: Горизонтальный скролл при множестве товаров **АРХИТЕКТУРА И РАЗМЕРЫ:** -- **Общая высота блока**: 160px фиксированная -- **Заголовок**: "Товары [Название поставщика]" + поиск (~40px) -- **Контейнер скролла**: 120px (h-30) с горизонтальным скроллом +- **Внешний контейнер**: bg-white/10 backdrop-blur-xl border border-white/20 rounded-2xl flex-shrink-0 +- **Внутренний контейнер скролла**: flex gap-3 overflow-x-auto p-4 +- **Стилизация скролла**: scrollbarWidth: 'thin' для тонкой полосы прокрутки +- **Отступы**: padding: 16px (p-4) внутри, gap: 12px (gap-3) между карточками +- **Адаптивная высота**: по содержимому карточек (БЕЗ фиксированной высоты) +- **Визуальное единство**: стеклянный эффект как у других блоков системы +- **БЕЗ заголовков/иконок**: только чистые карточки товаров в контейнере **РАЗМЕРЫ КАРТОЧЕК ТОВАРОВ:** -- **Компактная карточка**: 80×112px (соотношение 5:7), вертикальное изображение -- **Отступы**: 12px между карточками, без дополнительных отступов от краев +- **Компактная карточка**: 80×112px (w-20 h-28), соотношение 5:7 - **Адаптивность**: фиксированный размер для всех устройств **СОДЕРЖАНИЕ КАРТОЧКИ ТОВАРА:** -- **Только изображение**: 80×112px товара, вертикальное -- **Минималистичный дизайн**: без текста, названий, цен -- **Состояния**: выбранное/невыбранное с визуальной индикацией -- **Hover эффект**: увеличение border, изменение тени +- **ТОЛЬКО изображение товара**: 80×112px, object-cover +- **Минималистичный дизайн**: БЕЗ текста, названий, цен, иконок +- **Состояния**: Default, Selected, Active (БЕЗ Hover-эффектов) +- **Рамка**: border-white/10, при выборе border-white/30 +- **Фон**: bg-white/5 полупрозрачный **ДЕЙСТВИЕ:** Клик на карточку → добавление товара в Блок 3 (детальный каталог) -### 9.2.2.1 ПРАВИЛО ПЕРСИСТЕНТНОСТИ ВЫБРАННЫХ ТОВАРОВ +#### **9.2.3 Правила Блока 3 "Детальный каталог товаров"** + +**НАЗНАЧЕНИЕ И СТРУКТУРА:** +- **Контент**: Детальные карточки выбранных товаров с полным управлением +- **Верхняя панель**: Выбор даты + Выбор Fulfillment + Поиск +- **Основная область**: Сетка карточек товаров с детальной информацией + +#### **9.2.3.1 Структура верхней панели Блока 3** + +**МИНИМАЛИСТИЧНАЯ ПАНЕЛЬ УПРАВЛЕНИЯ:** +- **Выбор даты поставки**: DatePicker для планирования поставки +- **Выбор Fulfillment-центра**: Select dropdown со списком доступных фулфилментов +- **Поиск по товарам**: Input с иконкой поиска и placeholder +- **Компоновка**: Горизонтальная строка с равномерным распределением + +**ТЕХНИЧЕСКИЕ ТРЕБОВАНИЯ:** +```tsx +// Структура компонентов панели +
ИНН: {supplier.inn}
+ {supplier.market && ( ++ Физический рынок, где работает поставщик. Товары наследуют рынок от организации. +
+Управление вашими расходниками
+Расходники появляются автоматически из поставок. Можно только установить цену.
Создайте свой первый расходник, чтобы начать работу
-Расходники появятся автоматически при получении поставок
ИНН: {supplier.inn}
+ {supplier.market && ( +ИНН: {supplier.inn}
-{supplier.address}
- )}Компактные карточки для быстрого выбора
-Выберите поставщика
-Нет товаров
-- {product.price.toLocaleString('ru-RU')} ₽ -
- {product.category &&{product.category.name}
} - {product.quantity !== undefined && ( -Доступно: {product.quantity}
- )} -Артикул: {product.article}
-Товары из блока карточек для детального управления
-Товары для детального управления поставкой
- Добавьте товары из блока карточек выше для детального управления + Добавьте товары