mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-09 21:48:50 -06:00
Generate new ui api client and adapt to changed function names
This commit is contained in:
1
go.mod
1
go.mod
@@ -13,7 +13,6 @@ require (
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.14.4
|
||||
github.com/micro/cli/v2 v2.1.2
|
||||
github.com/micro/go-micro/v2 v2.0.1-0.20200212105717-d76baf59de2e
|
||||
github.com/micro/protoc-gen-micro v1.0.0 // indirect
|
||||
github.com/oklog/run v1.0.0
|
||||
github.com/openzipkin/zipkin-go v0.2.2
|
||||
github.com/owncloud/ocis-hello v0.1.0-alpha1
|
||||
|
||||
13
go.sum
13
go.sum
@@ -66,6 +66,7 @@ github.com/RoaringBitmap/roaring v0.4.7/go.mod h1:8khRDP4HmeXns4xIj9oGrKSz7XTQiJ
|
||||
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
|
||||
github.com/Shopify/sarama v1.24.1/go.mod h1:fGP8eQ6PugKEI0iUETYYtnP6d1pH/bdDMTel1X5ajsU=
|
||||
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
|
||||
github.com/UnnoTed/fileb0x v1.1.4 h1:IUgFzgBipF/ujNx9wZgkrKOF3oltUuXMSoaejrBws+A=
|
||||
github.com/UnnoTed/fileb0x v1.1.4/go.mod h1:X59xXT18tdNk/D6j+KZySratBsuKJauMtVuJ9cgOiZs=
|
||||
github.com/abbot/go-http-auth v0.4.1-0.20181019201920-860ed7f246ff/go.mod h1:Cz6ARTIzApMJDzh5bRMSUou6UMSp0IEXg9km/ci7TJM=
|
||||
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
|
||||
@@ -113,6 +114,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB
|
||||
github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkNEM+Y=
|
||||
github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA=
|
||||
github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
||||
github.com/bmatcuk/doublestar v1.1.1 h1:YroD6BJCZBYx06yYFEWvUuKVWQn3vLLQAVmDmvTSaiQ=
|
||||
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
|
||||
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
|
||||
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
|
||||
@@ -222,6 +224,7 @@ github.com/fsouza/go-dockerclient v1.6.0/go.mod h1:YWwtNPuL4XTX1SKJQk86cWPmmqwx+
|
||||
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
|
||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/gizak/termui/v3 v3.1.0 h1:ZZmVDgwHl7gR7elfKf1xc4IudXZ5qqfDh4wExk4Iajc=
|
||||
github.com/gizak/termui/v3 v3.1.0/go.mod h1:bXQEBkJpzxUAKf0+xq9MSWAvWZlE7c+aidmyFlkYTrY=
|
||||
github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
|
||||
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE=
|
||||
@@ -417,6 +420,7 @@ github.com/juju/ratelimit v1.0.1/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSg
|
||||
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
|
||||
github.com/justinas/alice v1.2.0 h1:+MHSA/vccVCF4Uq37S42jwlkvI2Xzl7zTPCN5BnZNVo=
|
||||
github.com/justinas/alice v1.2.0/go.mod h1:fN5HRH/reO/zrUflLfTN43t3vXvKzvZIENsNEe7i7qA=
|
||||
github.com/karrick/godirwalk v1.7.8 h1:VfG72pyIxgtC7+3X9CMHI0AOl4LwyRAg98WAgsvffi8=
|
||||
github.com/karrick/godirwalk v1.7.8/go.mod h1:2c9FRhkDxdIbgkOnCEvnSWs71Bhugbl46shStcFDJ34=
|
||||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
|
||||
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
|
||||
@@ -435,7 +439,9 @@ github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
|
||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||
github.com/labbsr0x/bindman-dns-webhook v1.0.2/go.mod h1:p6b+VCXIR8NYKpDr8/dg1HKfQoRHCdcsROXKvmoehKA=
|
||||
github.com/labbsr0x/goh v1.0.1/go.mod h1:8K2UhVoaWXcCU7Lxoa2omWnC8gyW8px7/lmO61c027w=
|
||||
github.com/labstack/echo v3.2.1+incompatible h1:J2M7YArHx4gi8p/3fDw8tX19SXhBCoRpviyAZSN3I88=
|
||||
github.com/labstack/echo v3.2.1+incompatible/go.mod h1:0INS7j/VjnFxD4E2wkz67b8cVwCLbBmJyDaka6Cmk1s=
|
||||
github.com/labstack/gommon v0.2.7 h1:2qOPq/twXDrQ6ooBGrn3mrmVOC+biLlatwgIu8lbzRM=
|
||||
github.com/labstack/gommon v0.2.7/go.mod h1:/tj9csK2iPSBvn+3NLM9e52usepMtrd5ilFYA+wQNJ4=
|
||||
github.com/leodido/go-urn v1.1.0/go.mod h1:+cyI34gQWZcE1eQU7NVgKkkzdXDQHr1dBMtdAPozLkw=
|
||||
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
|
||||
@@ -456,13 +462,16 @@ github.com/marten-seemann/qpack v0.1.0/go.mod h1:LFt1NU/Ptjip0C2CPkhimBz5CGE3WGD
|
||||
github.com/marten-seemann/qtls v0.3.2/go.mod h1:xzjG7avBwGGbdZ8dTGxlBnLArsVKLvwmjgmPuiQEcYk=
|
||||
github.com/marten-seemann/qtls v0.4.1/go.mod h1:pxVXcHHw1pNIt8Qo0pwSYQEoZ8yYOOPXTCZLQQunvRc=
|
||||
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|
||||
github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
|
||||
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
|
||||
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
||||
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
||||
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||
github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
|
||||
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||
github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||
github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y=
|
||||
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||
github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
|
||||
github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
|
||||
@@ -513,6 +522,7 @@ github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.
|
||||
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
|
||||
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed/go.mod h1:3rdaFaCv4AyBgu5ALFM0+tSuHrBh6v692nyQe3ikrq0=
|
||||
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
|
||||
github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4=
|
||||
github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
|
||||
github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
|
||||
github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y=
|
||||
@@ -564,6 +574,7 @@ github.com/nrdcg/auroradns v1.0.0/go.mod h1:6JPXKzIRzZzMqtTDgueIhTi6rFf1QvYE/Hzq
|
||||
github.com/nrdcg/dnspod-go v0.3.0/go.mod h1:vZSoFSFeQVm2gWLMkyX61LZ8HI3BaqtHZWgPTGKr6KQ=
|
||||
github.com/nrdcg/goinwx v0.6.1/go.mod h1:XPiut7enlbEdntAqalBIqcYcTEVhpv/dKWgDCX2SwKQ=
|
||||
github.com/nrdcg/namesilo v0.2.1/go.mod h1:lwMvfQTyYq+BbjJd30ylEG4GPSS6PII0Tia4rRpRiyw=
|
||||
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840=
|
||||
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=
|
||||
github.com/nsqio/go-nsq v1.0.7/go.mod h1:XP5zaUs3pqf+Q71EqUJs3HYfBIqfK6G83WQMdNN+Ito=
|
||||
github.com/ogier/pflag v0.0.1/go.mod h1:zkFki7tvTa0tafRvTBIZTvzYyAu6kQhPZFnshFFPE+g=
|
||||
@@ -733,7 +744,9 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr
|
||||
github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
|
||||
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
|
||||
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
|
||||
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
|
||||
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
|
||||
github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4 h1:gKMu1Bf6QINDnvyZuTaACm9ofY+PRh+5vFz4oxBZeF8=
|
||||
github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4/go.mod h1:50wTf68f99/Zt14pr046Tgt3Lp2vLyFZKzbFXTOabXw=
|
||||
github.com/vultr/govultr v0.1.4/go.mod h1:9H008Uxr/C4vFNGLqKx232C206GL0PBHzOP0809bGNA=
|
||||
github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by fileb0x at "2020-05-07 17:56:15.607269 +0200 CEST m=+0.030361965" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(50e53eb1c58842b41723424b23f9fbf0.8058aec596c5fb73022d09bb97af796e)
|
||||
// Code generated by fileb0x at "2020-05-11 11:33:17.801013 +0200 CEST m=+0.047100640" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(49857cbd384a724df587a9f234f71353.8058aec596c5fb73022d09bb97af796e)
|
||||
|
||||
package assets
|
||||
|
||||
|
||||
@@ -29,13 +29,13 @@ export const request = (method, url, body, queryParameters, form, config) => {
|
||||
==========================================================*/
|
||||
/**
|
||||
*
|
||||
* request: BundleService_GetSettingsBundle
|
||||
* url: BundleService_GetSettingsBundleURL
|
||||
* method: BundleService_GetSettingsBundle_TYPE
|
||||
* raw_url: BundleService_GetSettingsBundle_RAW_URL
|
||||
* request: GetSettingsBundle
|
||||
* url: GetSettingsBundleURL
|
||||
* method: GetSettingsBundle_TYPE
|
||||
* raw_url: GetSettingsBundle_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const BundleService_GetSettingsBundle = function(parameters = {}) {
|
||||
export const GetSettingsBundle = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/bundle-get'
|
||||
@@ -55,13 +55,13 @@ export const BundleService_GetSettingsBundle = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const BundleService_GetSettingsBundle_RAW_URL = function() {
|
||||
export const GetSettingsBundle_RAW_URL = function() {
|
||||
return '/api/v0/settings/bundle-get'
|
||||
}
|
||||
export const BundleService_GetSettingsBundle_TYPE = function() {
|
||||
export const GetSettingsBundle_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const BundleService_GetSettingsBundleURL = function(parameters = {}) {
|
||||
export const GetSettingsBundleURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/bundle-get'
|
||||
@@ -75,13 +75,13 @@ export const BundleService_GetSettingsBundleURL = function(parameters = {}) {
|
||||
}
|
||||
/**
|
||||
*
|
||||
* request: BundleService_SaveSettingsBundle
|
||||
* url: BundleService_SaveSettingsBundleURL
|
||||
* method: BundleService_SaveSettingsBundle_TYPE
|
||||
* raw_url: BundleService_SaveSettingsBundle_RAW_URL
|
||||
* request: SaveSettingsBundle
|
||||
* url: SaveSettingsBundleURL
|
||||
* method: SaveSettingsBundle_TYPE
|
||||
* raw_url: SaveSettingsBundle_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const BundleService_SaveSettingsBundle = function(parameters = {}) {
|
||||
export const SaveSettingsBundle = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/bundle-save'
|
||||
@@ -101,13 +101,13 @@ export const BundleService_SaveSettingsBundle = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const BundleService_SaveSettingsBundle_RAW_URL = function() {
|
||||
export const SaveSettingsBundle_RAW_URL = function() {
|
||||
return '/api/v0/settings/bundle-save'
|
||||
}
|
||||
export const BundleService_SaveSettingsBundle_TYPE = function() {
|
||||
export const SaveSettingsBundle_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const BundleService_SaveSettingsBundleURL = function(parameters = {}) {
|
||||
export const SaveSettingsBundleURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/bundle-save'
|
||||
@@ -121,13 +121,13 @@ export const BundleService_SaveSettingsBundleURL = function(parameters = {}) {
|
||||
}
|
||||
/**
|
||||
*
|
||||
* request: BundleService_ListSettingsBundles
|
||||
* url: BundleService_ListSettingsBundlesURL
|
||||
* method: BundleService_ListSettingsBundles_TYPE
|
||||
* raw_url: BundleService_ListSettingsBundles_RAW_URL
|
||||
* request: ListSettingsBundles
|
||||
* url: ListSettingsBundlesURL
|
||||
* method: ListSettingsBundles_TYPE
|
||||
* raw_url: ListSettingsBundles_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const BundleService_ListSettingsBundles = function(parameters = {}) {
|
||||
export const ListSettingsBundles = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/bundles-list'
|
||||
@@ -147,13 +147,13 @@ export const BundleService_ListSettingsBundles = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const BundleService_ListSettingsBundles_RAW_URL = function() {
|
||||
export const ListSettingsBundles_RAW_URL = function() {
|
||||
return '/api/v0/settings/bundles-list'
|
||||
}
|
||||
export const BundleService_ListSettingsBundles_TYPE = function() {
|
||||
export const ListSettingsBundles_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const BundleService_ListSettingsBundlesURL = function(parameters = {}) {
|
||||
export const ListSettingsBundlesURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/bundles-list'
|
||||
@@ -167,13 +167,13 @@ export const BundleService_ListSettingsBundlesURL = function(parameters = {}) {
|
||||
}
|
||||
/**
|
||||
*
|
||||
* request: ValueService_GetSettingsValue
|
||||
* url: ValueService_GetSettingsValueURL
|
||||
* method: ValueService_GetSettingsValue_TYPE
|
||||
* raw_url: ValueService_GetSettingsValue_RAW_URL
|
||||
* request: GetSettingsValue
|
||||
* url: GetSettingsValueURL
|
||||
* method: GetSettingsValue_TYPE
|
||||
* raw_url: GetSettingsValue_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const ValueService_GetSettingsValue = function(parameters = {}) {
|
||||
export const GetSettingsValue = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/value-get'
|
||||
@@ -193,13 +193,13 @@ export const ValueService_GetSettingsValue = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const ValueService_GetSettingsValue_RAW_URL = function() {
|
||||
export const GetSettingsValue_RAW_URL = function() {
|
||||
return '/api/v0/settings/value-get'
|
||||
}
|
||||
export const ValueService_GetSettingsValue_TYPE = function() {
|
||||
export const GetSettingsValue_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const ValueService_GetSettingsValueURL = function(parameters = {}) {
|
||||
export const GetSettingsValueURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/value-get'
|
||||
@@ -213,13 +213,13 @@ export const ValueService_GetSettingsValueURL = function(parameters = {}) {
|
||||
}
|
||||
/**
|
||||
*
|
||||
* request: ValueService_SaveSettingsValue
|
||||
* url: ValueService_SaveSettingsValueURL
|
||||
* method: ValueService_SaveSettingsValue_TYPE
|
||||
* raw_url: ValueService_SaveSettingsValue_RAW_URL
|
||||
* request: SaveSettingsValue
|
||||
* url: SaveSettingsValueURL
|
||||
* method: SaveSettingsValue_TYPE
|
||||
* raw_url: SaveSettingsValue_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const ValueService_SaveSettingsValue = function(parameters = {}) {
|
||||
export const SaveSettingsValue = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/value-save'
|
||||
@@ -239,13 +239,13 @@ export const ValueService_SaveSettingsValue = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const ValueService_SaveSettingsValue_RAW_URL = function() {
|
||||
export const SaveSettingsValue_RAW_URL = function() {
|
||||
return '/api/v0/settings/value-save'
|
||||
}
|
||||
export const ValueService_SaveSettingsValue_TYPE = function() {
|
||||
export const SaveSettingsValue_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const ValueService_SaveSettingsValueURL = function(parameters = {}) {
|
||||
export const SaveSettingsValueURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/value-save'
|
||||
@@ -259,13 +259,13 @@ export const ValueService_SaveSettingsValueURL = function(parameters = {}) {
|
||||
}
|
||||
/**
|
||||
*
|
||||
* request: ValueService_ListSettingsValues
|
||||
* url: ValueService_ListSettingsValuesURL
|
||||
* method: ValueService_ListSettingsValues_TYPE
|
||||
* raw_url: ValueService_ListSettingsValues_RAW_URL
|
||||
* request: ListSettingsValues
|
||||
* url: ListSettingsValuesURL
|
||||
* method: ListSettingsValues_TYPE
|
||||
* raw_url: ListSettingsValues_RAW_URL
|
||||
* @param body -
|
||||
*/
|
||||
export const ValueService_ListSettingsValues = function(parameters = {}) {
|
||||
export const ListSettingsValues = function(parameters = {}) {
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
const config = parameters.$config
|
||||
let path = '/api/v0/settings/values-list'
|
||||
@@ -285,13 +285,13 @@ export const ValueService_ListSettingsValues = function(parameters = {}) {
|
||||
}
|
||||
return request('post', domain + path, body, queryParameters, form, config)
|
||||
}
|
||||
export const ValueService_ListSettingsValues_RAW_URL = function() {
|
||||
export const ListSettingsValues_RAW_URL = function() {
|
||||
return '/api/v0/settings/values-list'
|
||||
}
|
||||
export const ValueService_ListSettingsValues_TYPE = function() {
|
||||
export const ListSettingsValues_TYPE = function() {
|
||||
return 'post'
|
||||
}
|
||||
export const ValueService_ListSettingsValuesURL = function(parameters = {}) {
|
||||
export const ListSettingsValuesURL = function(parameters = {}) {
|
||||
let queryParameters = {}
|
||||
const domain = parameters.$domain ? parameters.$domain : getDomain()
|
||||
let path = '/api/v0/settings/values-list'
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import {
|
||||
// eslint-disable-next-line camelcase
|
||||
BundleService_ListSettingsBundles,
|
||||
// eslint-disable-next-line camelcase
|
||||
ValueService_ListSettingsValues,
|
||||
// eslint-disable-next-line camelcase
|
||||
ValueService_SaveSettingsValue
|
||||
ListSettingsBundles,
|
||||
ListSettingsValues,
|
||||
SaveSettingsValue
|
||||
} from '../client/settings'
|
||||
|
||||
const state = {
|
||||
@@ -79,7 +76,7 @@ const actions = {
|
||||
},
|
||||
|
||||
async fetchSettingsBundles ({ commit, dispatch, getters }) {
|
||||
const response = await BundleService_ListSettingsBundles({
|
||||
const response = await ListSettingsBundles({
|
||||
$domain: getters.config.url,
|
||||
body: {}
|
||||
})
|
||||
@@ -118,7 +115,7 @@ const actions = {
|
||||
},
|
||||
|
||||
async fetchSettingsValues ({ commit, dispatch, getters }) {
|
||||
const response = await ValueService_ListSettingsValues({
|
||||
const response = await ListSettingsValues({
|
||||
$domain: getters.config.url,
|
||||
body: {
|
||||
identifier: {
|
||||
@@ -143,7 +140,7 @@ const actions = {
|
||||
},
|
||||
|
||||
async saveSettingsValue ({ commit, dispatch, getters }, payload) {
|
||||
const response = await ValueService_SaveSettingsValue({
|
||||
const response = await SaveSettingsValue({
|
||||
$domain: getters.config.url,
|
||||
body: {
|
||||
settingsValue: payload
|
||||
|
||||
Reference in New Issue
Block a user