Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								07c8a4b7d0 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-25 14:13:56 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								e5619ae68c 
								
							 
						 
						
							
							
								
								update VTP FFM api path  
							
							 
							
							
							
						 
						
							2024-06-25 14:13:40 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								4b48142491 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-21 15:38:09 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								00ec7e1f2f 
								
							 
						 
						
							
							
								
								update VTP FFM model  
							
							 
							
							
							
						 
						
							2024-06-21 15:37:59 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								570cf7b8f1 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-21 15:23:57 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								fa6198d7e3 
								
							 
						 
						
							
							
								
								update VTP FFM model  
							
							 
							
							
							
						 
						
							2024-06-21 15:23:51 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								308825f9c2 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-21 14:37:59 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								d70f298734 
								
							 
						 
						
							
							
								
								change api path  
							
							 
							
							
							
						 
						
							2024-06-21 14:36:53 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								d2cf1a4dfd 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-21 14:32:58 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								ee60175a4d 
								
							 
						 
						
							
							
								
								feat: integrate VTP FFM  
							
							 
							
							
							
						 
						
							2024-06-21 14:32:52 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								79b19999f0 
								
							 
						 
						
							
							
								
								Merge branch 'viettel-ffm' into develop  
							
							 
							
							
							
						 
						
							2024-06-20 10:10:20 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								baf7be0820 
								
							 
						 
						
							
							
								
								update model  
							
							 
							
							
							
						 
						
							2024-06-20 10:09:35 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								2094a7b249 
								
							 
						 
						
							
							
								
								merge branch viettel-ffm into develop  
							
							 
							
							
							
						 
						
							2024-06-20 09:27:12 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								178652fcef 
								
							 
						 
						
							
							
								
								feat: refactor logistics functions in Viettel FFM module  
							
							 
							
							... 
							
							
							
							- Add a new type `CancelORPayload` to the file `model.go`
- Add a new constant `pathCancelOR` in the `viettel_ffm.go` file
- Change the method from `POST` to `PUT` in the `UpdateORLogisticInfo` function in `viettel_ffm.go`
- Add a new function `CancelOR` in the `viettel_ffm.go` file
Signed-off-by: Sinh <luuvansinh555@gmail.com> 
							
						 
						
							2024-06-18 16:02:52 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								1034d2e077 
								
							 
						 
						
							
							
								
								feat: refactor ViettelFFM partner API integration  
							
							 
							
							... 
							
							
							
							- Add the `const.go` file defining `ENV` type and constants `EnvStaging` and `EnvProd`
- Update `go.mod` to use `go 1.20` instead of `go 1.17`
- Introduce `model.go` file for ViettelFFM partner API structs
- Implement client methods for creating outbound requests and updating logistics information
- Implement an authentication method for the client with `AuthRes` struct
- Define constants for base URLs and authentication paths in ViettelFFM client
- Implement helper methods for getting base URL and making HTTP requests via NATS
- Update `util/httputil/const.go` to include `HeaderKeyAuthorization` constant
Signed-off-by: Sinh <luuvansinh555@gmail.com> 
							
						 
						
							2024-06-14 17:31:02 +07:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								756740a2d7 
								
							 
						 
						
							
							
								
								feat(onpoint): get inventories ( #17 )  
							
							 
							
							... 
							
							
							
							Co-authored-by: Sinh <luuvansinh555@gmail.com>
Reviewed-on: #17  
							
						 
						
							2024-05-08 07:26:17 +00:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								0ea412e725 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-16 12:11:00 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								8fe213156a 
								
							 
						 
						
							
							
								
								feat(onpoint): fix OP sign  
							
							 
							
							
							
						 
						
							2024-04-16 12:10:56 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								ea7d9768d0 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-16 12:04:44 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								2bf7ef6e8a 
								
							 
						 
						
							
							
								
								feat(onpoint): fix OP sign  
							
							 
							
							
							
						 
						
							2024-04-16 12:04:34 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								5466a2881c 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-16 11:39:15 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								76eeabdf7f 
								
							 
						 
						
							
							
								
								feat(onpoint): fix OP sign  
							
							 
							
							
							
						 
						
							2024-04-16 11:39:10 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								b897f0b5c8 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-16 11:28:50 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								82145021a1 
								
							 
						 
						
							
							
								
								feat(onpoint): fix OP sign  
							
							 
							
							
							
						 
						
							2024-04-16 11:28:44 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								4f5b0f3f9a 
								
							 
						 
						
							
							
								
								debug  
							
							 
							
							
							
						 
						
							2024-04-16 11:24:28 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								d0852f5d3a 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-16 11:07:20 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								b9f59140a7 
								
							 
						 
						
							
							
								
								feat(onpoint): change method get inventories  
							
							 
							
							
							
						 
						
							2024-04-16 11:07:14 +07:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								9fb4f0c6f3 
								
							 
						 
						
							
							
								
								Merge pull request 'feat(jnt): update create order response' ( #18 ) from jnt-update-response into master  
							
							 
							
							... 
							
							
							
							Reviewed-on: #18  
							
						 
						
							2024-04-15 03:50:25 +00:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								fef08db999 
								
							 
						 
						
							
							
								
								Merge branch 'jnt-update-response' into develop  
							
							 
							
							
							
						 
						
							2024-04-15 10:50:14 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								ac8aa89d70 
								
							 
						 
						
							
							
								
								feat(jnt): update create order response  
							
							 
							
							
							
						 
						
							2024-04-15 10:50:04 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								c2bfb0372c 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-11 11:29:27 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								d272537cf4 
								
							 
						 
						
							
							
								
								update event name  
							
							 
							
							
							
						 
						
							2024-04-11 11:28:59 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								7c308c725c 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-09 13:38:11 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								8788f7e89b 
								
							 
						 
						
							
							
								
								feat(onpoint): update webhook payload  
							
							 
							
							
							
						 
						
							2024-04-09 12:08:19 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								46cccf22e2 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint-stock-update' into develop  
							
							 
							
							
							
						 
						
							2024-04-08 15:38:31 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								4f20218bcd 
								
							 
						 
						
							
							
								
								feat(onpoint): get inventories  
							
							 
							
							
							
						 
						
							2024-04-08 15:38:20 +07:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								d4915875e9 
								
							 
						 
						
							
							
								
								Merge pull request 'change code best' ( #16 ) from change-code-best into master  
							
							 
							
							... 
							
							
							
							Reviewed-on: #16  
							
						 
						
							2024-02-05 03:42:33 +00:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								a33809e092 
								
							 
						 
						
							
							
								
								change code best  
							
							 
							
							
							
						 
						
							2024-02-05 10:39:55 +07:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								d549cc5103 
								
							 
						 
						
							
							
								
								Merge pull request 'onpoint' ( #15 ) from onpoint into master  
							
							 
							
							... 
							
							
							
							Reviewed-on: #15  
							
						 
						
							2023-12-19 03:43:57 +00:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								f72dfcf95e 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint' into develop  
							
							 
							
							
							
						 
						
							2023-12-08 09:12:05 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								1c6be73d04 
								
							 
						 
						
							
							
								
								fix(onpoint): update order item model  
							
							 
							
							
							
						 
						
							2023-12-08 09:10:20 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								12549c1636 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint' into develop  
							
							 
							
							
							
						 
						
							2023-12-01 14:40:01 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								a9b7f39b09 
								
							 
						 
						
							
							
								
								update onpoint  
							
							 
							
							
							
						 
						
							2023-12-01 14:39:56 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								5bf2e81ea9 
								
							 
						 
						
							
							
								
								Merge branch 'onpoint' into develop  
							
							 
							
							
							
						 
						
							2023-11-09 10:01:38 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								71e2f0b842 
								
							 
						 
						
							
							
								
								update onpoint status  
							
							 
							
							
							
						 
						
							2023-11-09 09:58:57 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								16ea108595 
								
							 
						 
						
							
							
								
								update nats  
							
							 
							
							
							
						 
						
							2023-10-27 15:41:40 +07:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								e7efe49016 
								
							 
						 
						
							
							
								
								Merge pull request 'master' ( #14 ) from master into develop  
							
							 
							
							... 
							
							
							
							Reviewed-on: #14  
							
						 
						
							2023-10-25 02:20:12 +00:00  
						
					 
				
					
						
							
							
								
								sinhluu 
							
						 
						
							 
							
							
							
							
								
							
							
								aa202e8fcb 
								
							 
						 
						
							
							
								
								Merge pull request 'jtexpress' ( #13 ) from jtexpress into master  
							
							 
							
							... 
							
							
							
							Reviewed-on: #13  
							
						 
						
							2023-10-25 02:19:50 +00:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								51afbc9c0e 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://git.selly.red/Selly-Modules/3pl  into jtexpress  
							
							 
							
							
							
						 
						
							2023-10-23 15:43:02 +07:00  
						
					 
				
					
						
							
							
								 
								Sinh
							
						 
						
							 
							
							
							
							
								
							
							
								83201d37af 
								
							 
						 
						
							
							
								
								update jtexpress  
							
							 
							
							
							
						 
						
							2023-10-23 15:42:55 +07:00