@silexpert/core 1.1.379 → 1.1.381
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/dist/cjs/api/resources/Acceptance.d.ts +1 -0
- package/dist/cjs/api/resources/Acceptance.d.ts.map +1 -1
- package/dist/cjs/api/resources/Acceptance.js +3 -0
- package/dist/cjs/api/resources/Acceptance.js.map +1 -1
- package/dist/cjs/types/Enum/TypeSupportForNotation.d.ts +7 -2
- package/dist/cjs/types/Enum/TypeSupportForNotation.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TypeSupportForNotation.js +3 -2
- package/dist/cjs/types/Enum/TypeSupportForNotation.js.map +1 -1
- package/dist/mjs/api/resources/Acceptance.d.ts +1 -0
- package/dist/mjs/api/resources/Acceptance.d.ts.map +1 -1
- package/dist/mjs/api/resources/Acceptance.js +3 -0
- package/dist/mjs/api/resources/Acceptance.js.map +1 -1
- package/dist/mjs/types/Enum/TypeSupportForNotation.d.ts +7 -2
- package/dist/mjs/types/Enum/TypeSupportForNotation.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TypeSupportForNotation.js +3 -2
- package/dist/mjs/types/Enum/TypeSupportForNotation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Acceptance.ts +4 -0
- package/ts/types/Enum/TypeSupportForNotation.ts +3 -2
|
@@ -2,5 +2,6 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import { CreateCustomerAcceptance, ICustomerAcceptance } from '../../types';
|
|
3
3
|
export declare class Acceptance extends Resource {
|
|
4
4
|
create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance>;
|
|
5
|
+
getAll(params: Partial<ICustomerAcceptance>): Promise<ICustomerAcceptance[]>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=Acceptance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Acceptance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Acceptance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIvE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;CAG7E"}
|
|
@@ -6,6 +6,9 @@ class Acceptance extends Resource_1.Resource {
|
|
|
6
6
|
create(payload) {
|
|
7
7
|
return this.axios.$post('/customers-acceptances', payload);
|
|
8
8
|
}
|
|
9
|
+
getAll(params) {
|
|
10
|
+
return this.axios.$get('/customers-acceptances', { params });
|
|
11
|
+
}
|
|
9
12
|
}
|
|
10
13
|
exports.Acceptance = Acceptance;
|
|
11
14
|
//# sourceMappingURL=Acceptance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Acceptance.js","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,UAAW,SAAQ,mBAAQ;IACtC,MAAM,CAAC,OAAiC;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"Acceptance.js","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,UAAW,SAAQ,mBAAQ;IACtC,MAAM,CAAC,OAAiC;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM,CAAC,MAAoC;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF;AARD,gCAQC","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateCustomerAcceptance, ICustomerAcceptance } from '../../types';\n\nexport class Acceptance extends Resource {\n create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance> {\n return this.axios.$post('/customers-acceptances', payload);\n }\n\n getAll(params: Partial<ICustomerAcceptance>): Promise<ICustomerAcceptance[]> {\n return this.axios.$get('/customers-acceptances', { params });\n }\n}\n"]}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export declare const TypeSupportForNotation: {
|
|
1
|
+
export declare const TypeSupportForNotation: ({
|
|
2
2
|
value: number;
|
|
3
3
|
text: string;
|
|
4
|
-
|
|
4
|
+
src: string;
|
|
5
|
+
} | {
|
|
6
|
+
value: number;
|
|
7
|
+
text: string;
|
|
8
|
+
src?: undefined;
|
|
9
|
+
})[];
|
|
5
10
|
//# sourceMappingURL=TypeSupportForNotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSupportForNotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"TypeSupportForNotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;IAIlC,CAAC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TypeSupportForNotation = void 0;
|
|
4
4
|
exports.TypeSupportForNotation = [
|
|
5
|
-
{ value: 1, text: 'Google' },
|
|
6
|
-
{ value: 2, text: 'Trustpilot' },
|
|
5
|
+
{ value: 1, text: 'Google', src: 'https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA' },
|
|
6
|
+
{ value: 2, text: 'Trustpilot', src: '../../../../assets/logo-trustpilot.png' },
|
|
7
|
+
{ value: 3, text: 'Application cliente' },
|
|
7
8
|
];
|
|
8
9
|
//# sourceMappingURL=TypeSupportForNotation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSupportForNotation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"TypeSupportForNotation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,0IAA0I,EAAE;IAC7K,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,wCAAwC,EAAE;IAC/E,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE;CAC1C,CAAC","sourcesContent":["export const TypeSupportForNotation = [\n { value: 1, text: 'Google', src: 'https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA' },\n { value: 2, text: 'Trustpilot', src: '../../../../assets/logo-trustpilot.png' },\n { value: 3, text: 'Application cliente' },\n];"]}
|
|
@@ -2,5 +2,6 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import { CreateCustomerAcceptance, ICustomerAcceptance } from '../../types';
|
|
3
3
|
export declare class Acceptance extends Resource {
|
|
4
4
|
create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance>;
|
|
5
|
+
getAll(params: Partial<ICustomerAcceptance>): Promise<ICustomerAcceptance[]>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=Acceptance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Acceptance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Acceptance.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIvE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;CAG7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Acceptance.js","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAiC;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateCustomerAcceptance, ICustomerAcceptance } from '../../types';\n\nexport class Acceptance extends Resource {\n create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance> {\n return this.axios.$post('/customers-acceptances', payload);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Acceptance.js","sourceRoot":"","sources":["../../../../ts/api/resources/Acceptance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,MAAM,CAAC,OAAiC;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM,CAAC,MAAoC;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateCustomerAcceptance, ICustomerAcceptance } from '../../types';\n\nexport class Acceptance extends Resource {\n create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance> {\n return this.axios.$post('/customers-acceptances', payload);\n }\n\n getAll(params: Partial<ICustomerAcceptance>): Promise<ICustomerAcceptance[]> {\n return this.axios.$get('/customers-acceptances', { params });\n }\n}\n"]}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export declare const TypeSupportForNotation: {
|
|
1
|
+
export declare const TypeSupportForNotation: ({
|
|
2
2
|
value: number;
|
|
3
3
|
text: string;
|
|
4
|
-
|
|
4
|
+
src: string;
|
|
5
|
+
} | {
|
|
6
|
+
value: number;
|
|
7
|
+
text: string;
|
|
8
|
+
src?: undefined;
|
|
9
|
+
})[];
|
|
5
10
|
//# sourceMappingURL=TypeSupportForNotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSupportForNotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"TypeSupportForNotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;IAIlC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const TypeSupportForNotation = [
|
|
2
|
-
{ value: 1, text: 'Google' },
|
|
3
|
-
{ value: 2, text: 'Trustpilot' },
|
|
2
|
+
{ value: 1, text: 'Google', src: 'https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA' },
|
|
3
|
+
{ value: 2, text: 'Trustpilot', src: '../../../../assets/logo-trustpilot.png' },
|
|
4
|
+
{ value: 3, text: 'Application cliente' },
|
|
4
5
|
];
|
|
5
6
|
//# sourceMappingURL=TypeSupportForNotation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSupportForNotation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"TypeSupportForNotation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TypeSupportForNotation.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,0IAA0I,EAAE;IAC7K,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,wCAAwC,EAAE;IAC/E,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE;CAC1C,CAAC","sourcesContent":["export const TypeSupportForNotation = [\n { value: 1, text: 'Google', src: 'https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA' },\n { value: 2, text: 'Trustpilot', src: '../../../../assets/logo-trustpilot.png' },\n { value: 3, text: 'Application cliente' },\n];"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.381",
|
|
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": "dist/cjs/index.js",
|
|
@@ -5,4 +5,8 @@ export class Acceptance extends Resource {
|
|
|
5
5
|
create(payload: CreateCustomerAcceptance): Promise<ICustomerAcceptance> {
|
|
6
6
|
return this.axios.$post('/customers-acceptances', payload);
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
getAll(params: Partial<ICustomerAcceptance>): Promise<ICustomerAcceptance[]> {
|
|
10
|
+
return this.axios.$get('/customers-acceptances', { params });
|
|
11
|
+
}
|
|
8
12
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export const TypeSupportForNotation = [
|
|
2
|
-
{ value: 1, text: 'Google' },
|
|
3
|
-
{ value: 2, text: 'Trustpilot' },
|
|
2
|
+
{ value: 1, text: 'Google', src: 'https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA' },
|
|
3
|
+
{ value: 2, text: 'Trustpilot', src: '../../../../assets/logo-trustpilot.png' },
|
|
4
|
+
{ value: 3, text: 'Application cliente' },
|
|
4
5
|
];
|