@silexpert/core 1.3.184 → 1.3.185
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/Shine.d.ts +2 -1
- package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/cjs/api/resources/Shine.js +3 -0
- package/dist/cjs/api/resources/Shine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/cjs/types/Enum/EntityType.js +2 -2
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Interface/api/shine/Query.d.ts +7 -0
- package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/shine/{GetConnect.js → Query.js} +9 -2
- package/dist/cjs/types/Interface/api/shine/Query.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Shine.d.ts +2 -1
- package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/mjs/api/resources/Shine.js +3 -0
- package/dist/mjs/api/resources/Shine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/mjs/types/Enum/EntityType.js +2 -2
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Interface/api/shine/Query.d.ts +7 -0
- package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/shine/{GetConnect.js → Query.js} +8 -1
- package/dist/mjs/types/Interface/api/shine/Query.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Shine.ts +11 -1
- package/ts/types/Enum/BrandPourcentage.ts +8 -8
- package/ts/types/Enum/EntityType.ts +2 -2
- package/ts/types/Interface/api/shine/{GetConnect.ts → Query.ts} +5 -0
- package/ts/types/index.ts +1 -1
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +0 -1
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +0 -1
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IBankAccount,
|
|
4
|
+
CreateShineTransactions,
|
|
5
|
+
GetConnect,
|
|
6
|
+
CreateShineAccount,
|
|
7
|
+
ConnectResponse,
|
|
8
|
+
GetRefreshConnect,
|
|
9
|
+
} from '../../types';
|
|
3
10
|
|
|
4
11
|
export class Shine extends Resource {
|
|
5
12
|
connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {
|
|
6
13
|
return this.axios.$get(`/connectors/shine/${idSociety}/connect`, { params });
|
|
7
14
|
}
|
|
15
|
+
refreshConnectData(idSociety: number, params: GetRefreshConnect): Promise<ConnectResponse> {
|
|
16
|
+
return this.axios.$get(`/connectors/shine/${idSociety}/refresh-connect-data`, { params });
|
|
17
|
+
}
|
|
8
18
|
importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {
|
|
9
19
|
return this.axios.$post(`/connectors/shine/${idSociety}/importBankAccount`, params);
|
|
10
20
|
}
|
|
@@ -284,10 +284,10 @@ export const BrandPourcentage: Brand[] = [
|
|
|
284
284
|
ECDepartment: 'PACA',
|
|
285
285
|
ECPosition: 'Président',
|
|
286
286
|
phone: '04 93 87 03 03',
|
|
287
|
-
postalAddress: '
|
|
287
|
+
postalAddress: '9 route de Turin',
|
|
288
288
|
rcs: 'Nice B 882 255 094',
|
|
289
289
|
statut: 'SAS',
|
|
290
|
-
zipCode: '06
|
|
290
|
+
zipCode: '06 300',
|
|
291
291
|
},
|
|
292
292
|
idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
|
|
293
293
|
logoUrl: 'logo-pourcentage.svg',
|
|
@@ -312,8 +312,8 @@ export const BrandPourcentage: Brand[] = [
|
|
|
312
312
|
lastUsedNumber: 1685,
|
|
313
313
|
statut: 'SAS',
|
|
314
314
|
name: 'AMEX',
|
|
315
|
-
address: '
|
|
316
|
-
zipCode: '06
|
|
315
|
+
address: '9 route de Turin',
|
|
316
|
+
zipCode: '06 300',
|
|
317
317
|
city: 'NICE',
|
|
318
318
|
country: 'FRANCE',
|
|
319
319
|
montantCapital: '466 800',
|
|
@@ -383,10 +383,10 @@ export const BrandPourcentage: Brand[] = [
|
|
|
383
383
|
ECPosition: 'Salarié',
|
|
384
384
|
ECDepartment: 'PACA',
|
|
385
385
|
phone: '04 93 54 29 09',
|
|
386
|
-
postalAddress: '
|
|
386
|
+
postalAddress: '9 route de Turin',
|
|
387
387
|
rcs: 'Nice B 882 255 094',
|
|
388
388
|
statut: 'SAS',
|
|
389
|
-
zipCode: '06
|
|
389
|
+
zipCode: '06 300',
|
|
390
390
|
},
|
|
391
391
|
idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
|
|
392
392
|
logoUrl: 'logo-pourcentage.svg',
|
|
@@ -411,8 +411,8 @@ export const BrandPourcentage: Brand[] = [
|
|
|
411
411
|
lastUsedNumber: 1685,
|
|
412
412
|
statut: 'SAS',
|
|
413
413
|
name: 'AMEX',
|
|
414
|
-
address: '
|
|
415
|
-
zipCode: '06
|
|
414
|
+
address: '9 route de Turin',
|
|
415
|
+
zipCode: '06 300',
|
|
416
416
|
city: 'NICE',
|
|
417
417
|
country: 'FRANCE',
|
|
418
418
|
montantCapital: '466 800',
|
|
@@ -74,8 +74,8 @@ export const EntityTypeDetail = [
|
|
|
74
74
|
{
|
|
75
75
|
id: EntityType.AMEX,
|
|
76
76
|
name: 'SAS AMEX',
|
|
77
|
-
adress: '
|
|
78
|
-
city: '
|
|
77
|
+
adress: '9 route de Turin',
|
|
78
|
+
city: '06300 NICE',
|
|
79
79
|
capital: '466 800 €',
|
|
80
80
|
RCS: '882 255 094',
|
|
81
81
|
phone: '04 93 87 03 03',
|
package/ts/types/index.ts
CHANGED
|
@@ -841,7 +841,7 @@ export * from './Interface/api/supervision/Read';
|
|
|
841
841
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
842
842
|
export * from './Interface/api/salariesFile/CreateSalariesFile';
|
|
843
843
|
export * from './Interface/api/shine/CreateShine';
|
|
844
|
-
export * from './Interface/api/shine/
|
|
844
|
+
export * from './Interface/api/shine/Query';
|
|
845
845
|
export * from './Interface/api/shine/CreateShineAccount';
|
|
846
846
|
export * from './Interface/api/shine/CreateShineTransactions';
|
|
847
847
|
export * from './Interface/api/shine/ConnectResponse';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetConnect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetConnect.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,UAAU;CAGtB;AAHD,gCAGC;AADC;IADC,IAAA,mBAAW,GAAE;;wCACD","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetConnect {\n @ApiProperty()\n code: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetConnect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetConnect.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,UAAU;IAErB,IAAI,CAAS;CACd;AADC;IADC,WAAW,EAAE;;wCACD","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetConnect {\n @ApiProperty()\n code: string;\n}\n"]}
|