@silexpert/core 1.0.175 → 1.0.176
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.
- package/es/api/resources/statistic/CustomerSuccess.js +1 -1
- package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.d.ts +2 -0
- package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.js +3 -1
- package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryInternal.js +4 -2
- package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
- package/ts/types/Interface/api/statistic/QueryInternal.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource } from '../../Resource';
|
|
2
2
|
export class StatisticCustomerSuccess extends Resource {
|
|
3
3
|
get(params, cancelToken) {
|
|
4
|
-
return this.axios.$get('/statistic-
|
|
4
|
+
return this.axios.$get('/statistic-customer-success', Object.assign({ params }, (cancelToken ? { cancelToken } : {})));
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=CustomerSuccess.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerSuccess.js","sourceRoot":"","sources":["../../../../ts/api/resources/statistic/CustomerSuccess.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,OAAO,wBAAyB,SAAQ,QAAQ;IAC7C,GAAG,CAAC,MAA4B,EAAE,WAAyB;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"CustomerSuccess.js","sourceRoot":"","sources":["../../../../ts/api/resources/statistic/CustomerSuccess.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,OAAO,wBAAyB,SAAQ,QAAQ;IAC7C,GAAG,CAAC,MAA4B,EAAE,WAAyB;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,kBAAI,MAAM,IAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAG,CAAC;IAC7G,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../../Resource';\nimport { QueryCustomerSuccess } from '../../../types';\n\nexport class StatisticCustomerSuccess extends Resource {\n public get(params: QueryCustomerSuccess, cancelToken?: CancelToken): Promise<JSON> {\n return this.axios.$get('/statistic-customer-success', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInternal.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":"AAKA,qBAAa,aAAa;IAIxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryInternal.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":"AAKA,qBAAa,aAAa;IAIxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -23,10 +23,12 @@ __decorate([
|
|
|
23
23
|
IsNumber(),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
25
|
], QueryInternal.prototype, "idUser", void 0);
|
|
26
|
+
export class QueryInternalCustomerSuccess {
|
|
27
|
+
}
|
|
26
28
|
__decorate([
|
|
27
29
|
ApiPropertyOptional(),
|
|
28
30
|
IsOptional(),
|
|
29
31
|
IsArray(),
|
|
30
32
|
__metadata("design:type", Array)
|
|
31
|
-
],
|
|
33
|
+
], QueryInternalCustomerSuccess.prototype, "idUsers", void 0);
|
|
32
34
|
//# sourceMappingURL=QueryInternal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInternal.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,GACzC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;
|
|
1
|
+
{"version":3,"file":"QueryInternal.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,GACzC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAUzB;AATC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;;uDACe;AAE3B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAGlB,MAAM,OAAO,4BAA4B;CAKxC;AAJC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;6DACS","sourcesContent":["import {\n IsNumber, IsOptional, IsBoolean, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryInternalCustomerSuccess {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}"]}
|
|
@@ -7,7 +7,7 @@ exports.StatisticCustomerSuccess = undefined;
|
|
|
7
7
|
var _Resource = require("../../Resource");
|
|
8
8
|
class StatisticCustomerSuccess extends _Resource.Resource {
|
|
9
9
|
get(params, cancelToken) {
|
|
10
|
-
return this.axios.$get('/statistic-
|
|
10
|
+
return this.axios.$get('/statistic-customer-success', Object.assign({
|
|
11
11
|
params
|
|
12
12
|
}, cancelToken ? {
|
|
13
13
|
cancelToken
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerSuccess.js","names":["_Resource","require","StatisticCustomerSuccess","Resource","get","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../../ts/api/resources/statistic/CustomerSuccess.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../../Resource';\nimport { QueryCustomerSuccess } from '../../../types';\n\nexport class StatisticCustomerSuccess extends Resource {\n public get(params: QueryCustomerSuccess, cancelToken?: CancelToken): Promise<JSON> {\n return this.axios.$get('/statistic-
|
|
1
|
+
{"version":3,"file":"CustomerSuccess.js","names":["_Resource","require","StatisticCustomerSuccess","Resource","get","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../../ts/api/resources/statistic/CustomerSuccess.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../../Resource';\nimport { QueryCustomerSuccess } from '../../../types';\n\nexport class StatisticCustomerSuccess extends Resource {\n public get(params: QueryCustomerSuccess, cancelToken?: CancelToken): Promise<JSON> {\n return this.axios.$get('/statistic-customer-success', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAGM,MAAOC,wBAAyB,SAAQC,kBAAQ;EAC7CC,GAAGA,CAACC,MAA4B,EAAEC,WAAyB;IAChE,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,6BAA6B,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC,CAAG;EAC5G;;AACDK,OAAA,CAJYT,wBAAyB,GAAzBA,wBAAyB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.QueryInternal = undefined;
|
|
6
|
+
exports.QueryInternalCustomerSuccess = exports.QueryInternal = undefined;
|
|
7
7
|
var _classValidator = require("class-validator");
|
|
8
8
|
var _utils = require("../../../../utils");
|
|
9
9
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
@@ -20,5 +20,7 @@ class QueryInternal {}
|
|
|
20
20
|
exports.QueryInternal = QueryInternal;
|
|
21
21
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryInternal.prototype, "expertProduction", void 0);
|
|
22
22
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryInternal.prototype, "idUser", void 0);
|
|
23
|
-
|
|
23
|
+
class QueryInternalCustomerSuccess {}
|
|
24
|
+
exports.QueryInternalCustomerSuccess = QueryInternalCustomerSuccess;
|
|
25
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryInternalCustomerSuccess.prototype, "idUsers", void 0);
|
|
24
26
|
//# sourceMappingURL=QueryInternal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInternal.js","names":["_classValidator","require","_utils","QueryInternal","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","IsNumber","IsArray"],"sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"sourcesContent":["import {\n IsNumber, IsOptional, IsBoolean, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;
|
|
1
|
+
{"version":3,"file":"QueryInternal.js","names":["_classValidator","require","_utils","QueryInternal","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","IsNumber","QueryInternalCustomerSuccess","IsArray"],"sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"sourcesContent":["import {\n IsNumber, IsOptional, IsBoolean, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryInternalCustomerSuccess {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAUzBC,OAAA,CAVYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,E,yFACe;AAE3BH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAE,wBAAQ,GAAE,E,8EACK;AAGZ,MAAOC,4BAA4B;AAKxCN,OAAA,CALYM,4BAA4B,GAA5BA,4BAA4B;AACvCL,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAI,uBAAO,GAAE,E,6FACS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.176",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -4,6 +4,6 @@ import { QueryCustomerSuccess } from '../../../types';
|
|
|
4
4
|
|
|
5
5
|
export class StatisticCustomerSuccess extends Resource {
|
|
6
6
|
public get(params: QueryCustomerSuccess, cancelToken?: CancelToken): Promise<JSON> {
|
|
7
|
-
return this.axios.$get('/statistic-
|
|
7
|
+
return this.axios.$get('/statistic-customer-success', { params, ...(cancelToken ? { cancelToken } : {}) });
|
|
8
8
|
}
|
|
9
9
|
}
|