lingxingapi 1.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. lingxingapi/__init__.py +7 -0
  2. lingxingapi/ads/__init__.py +0 -0
  3. lingxingapi/ads/api.py +5946 -0
  4. lingxingapi/ads/param.py +192 -0
  5. lingxingapi/ads/route.py +134 -0
  6. lingxingapi/ads/schema.py +2615 -0
  7. lingxingapi/api.py +557 -0
  8. lingxingapi/base/__init__.py +0 -0
  9. lingxingapi/base/api.py +568 -0
  10. lingxingapi/base/param.py +59 -0
  11. lingxingapi/base/route.py +11 -0
  12. lingxingapi/base/schema.py +198 -0
  13. lingxingapi/basic/__init__.py +0 -0
  14. lingxingapi/basic/api.py +466 -0
  15. lingxingapi/basic/param.py +72 -0
  16. lingxingapi/basic/route.py +20 -0
  17. lingxingapi/basic/schema.py +218 -0
  18. lingxingapi/errors.py +152 -0
  19. lingxingapi/fba/__init__.py +0 -0
  20. lingxingapi/fba/api.py +1691 -0
  21. lingxingapi/fba/param.py +250 -0
  22. lingxingapi/fba/route.py +30 -0
  23. lingxingapi/fba/schema.py +987 -0
  24. lingxingapi/fields.py +50 -0
  25. lingxingapi/finance/__init__.py +0 -0
  26. lingxingapi/finance/api.py +3091 -0
  27. lingxingapi/finance/param.py +616 -0
  28. lingxingapi/finance/route.py +44 -0
  29. lingxingapi/finance/schema.py +1243 -0
  30. lingxingapi/product/__init__.py +0 -0
  31. lingxingapi/product/api.py +2643 -0
  32. lingxingapi/product/param.py +934 -0
  33. lingxingapi/product/route.py +49 -0
  34. lingxingapi/product/schema.py +1004 -0
  35. lingxingapi/purchase/__init__.py +0 -0
  36. lingxingapi/purchase/api.py +496 -0
  37. lingxingapi/purchase/param.py +126 -0
  38. lingxingapi/purchase/route.py +11 -0
  39. lingxingapi/purchase/schema.py +215 -0
  40. lingxingapi/sales/__init__.py +0 -0
  41. lingxingapi/sales/api.py +3200 -0
  42. lingxingapi/sales/param.py +723 -0
  43. lingxingapi/sales/route.py +70 -0
  44. lingxingapi/sales/schema.py +1718 -0
  45. lingxingapi/source/__init__.py +0 -0
  46. lingxingapi/source/api.py +1799 -0
  47. lingxingapi/source/param.py +176 -0
  48. lingxingapi/source/route.py +38 -0
  49. lingxingapi/source/schema.py +1011 -0
  50. lingxingapi/tools/__init__.py +0 -0
  51. lingxingapi/tools/api.py +291 -0
  52. lingxingapi/tools/param.py +73 -0
  53. lingxingapi/tools/route.py +8 -0
  54. lingxingapi/tools/schema.py +169 -0
  55. lingxingapi/utils.py +456 -0
  56. lingxingapi/warehourse/__init__.py +0 -0
  57. lingxingapi/warehourse/api.py +1778 -0
  58. lingxingapi/warehourse/param.py +506 -0
  59. lingxingapi/warehourse/route.py +28 -0
  60. lingxingapi/warehourse/schema.py +926 -0
  61. lingxingapi-1.1.4.dist-info/METADATA +73 -0
  62. lingxingapi-1.1.4.dist-info/RECORD +65 -0
  63. lingxingapi-1.1.4.dist-info/WHEEL +5 -0
  64. lingxingapi-1.1.4.dist-info/licenses/LICENSE +22 -0
  65. lingxingapi-1.1.4.dist-info/top_level.txt +1 -0
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ # 产品 --------------------------------------------------------------------------------------------------------------------------
4
+ # https://apidoc.lingxing.com/#/docs/Product/ProductLists
5
+ PRODUCTS: str = "/erp/sc/routing/data/local_inventory/productList"
6
+ # https://apidoc.lingxing.com/#/docs/Product/batchGetProductInfo
7
+ PRODUCT_DETAILS: str = "/erp/sc/routing/data/local_inventory/batchGetProductInfo"
8
+ # https://apidoc.lingxing.com/#/docs/Product/productOperateBatch
9
+ ENABLE_DISABLE_PRODUCTS: str = "/basicOpen/product/productManager/product/operate/batch"
10
+ # https://apidoc.lingxing.com/#/docs/Product/SetProduct
11
+ EDIT_PRODUCT: str = "/erp/sc/routing/storage/product/set"
12
+ # https://apidoc.lingxing.com/#/docs/Product/spuList
13
+ SPU_PRODUCTS: str = "/erp/sc/routing/storage/spu/spuList"
14
+ # https://apidoc.lingxing.com/#/docs/Product/spuInfo
15
+ SPU_PRODUCT_DETAIL: str = "/erp/sc/routing/storage/spu/info"
16
+ # https://apidoc.lingxing.com/#/docs/Product/spuSet
17
+ EDIT_SPU_PRODUCT: str = "/erp/sc/routing/storage/spu/set"
18
+ # https://apidoc.lingxing.com/#/docs/Product/bundledProductList
19
+ BUNDLE_PRODUCTS: str = "/erp/sc/routing/data/local_inventory/bundledProductList"
20
+ # https://apidoc.lingxing.com/#/docs/Product/SetBundled
21
+ EDIT_BUNDLE_PRODUCT: str = "/erp/sc/routing/storage/product/setBundled"
22
+ # https://apidoc.lingxing.com/#/docs/Product/productAuxList
23
+ AUXILIARY_MATERIALS: str = "/erp/sc/routing/data/local_inventory/productAuxList"
24
+ # https://apidoc.lingxing.com/#/docs/Product/setAux
25
+ EDIT_AUXILIARY_MATERIAL: str = "/erp/sc/routing/storage/product/setAux"
26
+ # https://apidoc.lingxing.com/#/docs/Product/UpcList
27
+ PRODUCT_CODES: str = "/listing/publish/api/upc/upcList"
28
+ # https://apidoc.lingxing.com/#/docs/Product/AddCommodityCode
29
+ CREATE_PRODUCT_CODE: str = "/listing/publish/api/upc/addCommodityCode"
30
+ # https://apidoc.lingxing.com/#/docs/Product/GetProductTag
31
+ PRODUCT_GLOBAL_TAGS: str = "/label/operation/v1/label/product/list"
32
+ # https://apidoc.lingxing.com/#/docs/Product/CreateProductTag
33
+ CREATE_PRODUCT_GLOBAL_TAG: str = "/label/operation/v1/label/product/create"
34
+ # https://apidoc.lingxing.com/#/docs/Product/SetProductTag
35
+ SET_PRODUCT_TAG: str = "/label/operation/v1/label/product/mark"
36
+ # https://apidoc.lingxing.com/#/docs/Product/DelProductTag
37
+ UNSET_PRODUCT_TAG: str = "/label/operation/v1/label/product/unmarkLabel"
38
+ # https://apidoc.lingxing.com/#/docs/Product/attributeList
39
+ PRODUCT_GLOBAL_ATTRIBUTES: str = "/erp/sc/routing/storage/attribute/attributeList"
40
+ # https://apidoc.lingxing.com/#/docs/Product/attributeSet
41
+ EDIT_PRODUCT_GLOBAL_ATTRIBUTE: str = "/erp/sc/routing/storage/attribute/set"
42
+ # https://apidoc.lingxing.com/#/docs/Product/Brand
43
+ PRODUCT_BRANDS: str = "/erp/sc/data/local_inventory/brand"
44
+ # https://apidoc.lingxing.com/#/docs/Product/SetBrand
45
+ EDIT_PRODUCT_BRANDS: str = "/erp/sc/storage/brand/set"
46
+ # https://apidoc.lingxing.com/#/docs/Product/Category
47
+ PRODUCT_CATEGORIES: str = "/erp/sc/routing/data/local_inventory/category"
48
+ # https://apidoc.lingxing.com/#/docs/Product/SetCategory
49
+ EDIT_PRODUCT_CATEGORIES: str = "/erp/sc/routing/storage/category/set"