@silexpert/core 1.3.99-4 → 1.3.100

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 (60) hide show
  1. package/dist/cjs/types/Enum/Phone.d.ts +200 -0
  2. package/dist/cjs/types/Enum/Phone.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/Phone.js +202 -2
  4. package/dist/cjs/types/Enum/Phone.js.map +1 -1
  5. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  6. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  7. package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
  8. package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
  9. package/dist/cjs/types/Form/FormConnector.js +0 -70
  10. package/dist/cjs/types/Form/FormConnector.js.map +1 -1
  11. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +1 -0
  12. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  13. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -0
  14. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  15. package/dist/mjs/types/Enum/Phone.d.ts +200 -0
  16. package/dist/mjs/types/Enum/Phone.d.ts.map +1 -1
  17. package/dist/mjs/types/Enum/Phone.js +202 -2
  18. package/dist/mjs/types/Enum/Phone.js.map +1 -1
  19. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  20. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  21. package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
  22. package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
  23. package/dist/mjs/types/Form/FormConnector.js +11 -71
  24. package/dist/mjs/types/Form/FormConnector.js.map +1 -1
  25. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +1 -0
  26. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  27. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +8 -1
  28. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  29. package/package.json +1 -1
  30. package/ts/types/Enum/Phone.ts +202 -2
  31. package/ts/types/Enum/PrestationType.ts +16 -16
  32. package/ts/types/Form/FormConnector.ts +11 -26
  33. package/ts/types/Interface/api/library/QueryLibrary.ts +6 -1
  34. package/dist/cjs/api/resources/Sellsy.d.ts +0 -19
  35. package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
  36. package/dist/cjs/api/resources/Sellsy.js +0 -20
  37. package/dist/cjs/api/resources/Sellsy.js.map +0 -1
  38. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  39. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  40. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -3
  41. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  42. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  43. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  44. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
  45. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  46. package/dist/mjs/api/resources/Sellsy.d.ts +0 -19
  47. package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
  48. package/dist/mjs/api/resources/Sellsy.js +0 -16
  49. package/dist/mjs/api/resources/Sellsy.js.map +0 -1
  50. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  51. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  52. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
  53. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  54. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  55. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  56. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
  57. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  58. package/ts/api/resources/Sellsy.ts +0 -24
  59. package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
  60. package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
@@ -1150,7 +1150,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1150
1150
  },
1151
1151
  CESSION_ACTIONS: {
1152
1152
  id: 51,
1153
- name: 'Cession d\'actions',
1153
+ name: "Cession d'actions",
1154
1154
  isComptable: false,
1155
1155
  isJuridique: true,
1156
1156
  isSocial: false,
@@ -1207,7 +1207,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1207
1207
  },
1208
1208
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1209
1209
  id: 54,
1210
- name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1210
+ name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1211
1211
  isComptable: false,
1212
1212
  isJuridique: true,
1213
1213
  isSocial: false,
@@ -1359,7 +1359,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1359
1359
  },
1360
1360
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1361
1361
  id: 62,
1362
- name: 'Modification de l\'objet social (EURL/SASU)',
1362
+ name: "Modification de l'objet social (EURL/SASU)",
1363
1363
  isComptable: false,
1364
1364
  isJuridique: true,
1365
1365
  isSocial: false,
@@ -1701,7 +1701,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1701
1701
  },
1702
1702
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1703
1703
  id: 80,
1704
- name: 'Création d\'un dossier informatique par salarié',
1704
+ name: "Création d'un dossier informatique par salarié",
1705
1705
  isComptable: false,
1706
1706
  isJuridique: false,
1707
1707
  isSocial: true,
@@ -1720,7 +1720,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1720
1720
  },
1721
1721
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1722
1722
  id: 81,
1723
- name: 'Etablissement d\'un contrat de travail',
1723
+ name: "Etablissement d'un contrat de travail",
1724
1724
  isComptable: false,
1725
1725
  isJuridique: false,
1726
1726
  isSocial: true,
@@ -1777,7 +1777,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1777
1777
  },
1778
1778
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1779
1779
  id: 84,
1780
- name: 'Taxe d\'apprentissage et formation continue',
1780
+ name: "Taxe d'apprentissage et formation continue",
1781
1781
  isComptable: false,
1782
1782
  isJuridique: false,
1783
1783
  isSocial: true,
@@ -2006,7 +2006,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2006
2006
  },
2007
2007
  ATTESTATION_CA: {
2008
2008
  id: 97,
2009
- name: 'Attestation de chiffre d\'affaires',
2009
+ name: "Attestation de chiffre d'affaires",
2010
2010
  isComptable: true,
2011
2011
  isJuridique: false,
2012
2012
  isSocial: false,
@@ -2044,7 +2044,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2044
2044
  },
2045
2045
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2046
2046
  id: 99,
2047
- name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2047
+ name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2048
2048
  isComptable: false,
2049
2049
  isJuridique: true,
2050
2050
  isSocial: false,
@@ -2082,7 +2082,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2082
2082
  },
2083
2083
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2084
2084
  id: 103,
2085
- name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2085
+ name: "Modification de l'objet social (SARL/SAS/SCI)",
2086
2086
  isComptable: false,
2087
2087
  isJuridique: true,
2088
2088
  isSocial: false,
@@ -2139,7 +2139,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2139
2139
  },
2140
2140
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2141
2141
  id: 106,
2142
- name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2142
+ name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2143
2143
  isComptable: false,
2144
2144
  isJuridique: true,
2145
2145
  isSocial: false,
@@ -2709,7 +2709,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2709
2709
  },
2710
2710
  CONTRAT_APPORT_EN_NATURE: {
2711
2711
  id: 138,
2712
- name: 'Contrat d\'apport en nature',
2712
+ name: "Contrat d'apport en nature",
2713
2713
  isComptable: false,
2714
2714
  isJuridique: true,
2715
2715
  isSocial: false,
@@ -3298,7 +3298,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3298
3298
  },
3299
3299
  DECLARATION_IR: {
3300
3300
  id: 206,
3301
- name: 'Déclaration d\'IR',
3301
+ name: "Déclaration d'IR",
3302
3302
  isComptable: true,
3303
3303
  isJuridique: false,
3304
3304
  isSocial: false,
@@ -3412,7 +3412,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3412
3412
  },
3413
3413
  STATUTS_FREE: {
3414
3414
  id: PrestationType.STATUTS_FREE,
3415
- name: 'Statuts - Just\' Statuts',
3415
+ name: "Statuts - Just' Statuts",
3416
3416
  isComptable: true,
3417
3417
  isJuridique: true,
3418
3418
  isSocial: false,
@@ -3431,7 +3431,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3431
3431
  },
3432
3432
  STATUTS_OPTION_1: {
3433
3433
  id: PrestationType.STATUTS_OPTION_1,
3434
- name: 'Statuts - Just\' Création',
3434
+ name: "Statuts - Just' Création",
3435
3435
  isComptable: true,
3436
3436
  isJuridique: true,
3437
3437
  isSocial: false,
@@ -3450,7 +3450,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3450
3450
  },
3451
3451
  STATUTS_OPTION_2: {
3452
3452
  id: PrestationType.STATUTS_OPTION_2,
3453
- name: 'Statuts - Full\'Créa',
3453
+ name: "Statuts - Full'Créa",
3454
3454
  isComptable: true,
3455
3455
  isJuridique: true,
3456
3456
  isSocial: false,
@@ -3636,7 +3636,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3636
3636
  isComplementary: false,
3637
3637
  signaturePosition: '400,54,569,90',
3638
3638
  signaturePage: null,
3639
- point: 100,
3639
+ point: 0,
3640
3640
  },
3641
3641
  CONSULTING_HOUR: {
3642
3642
  id: PrestationType.CONSULTING_HOUR,
@@ -1,51 +1,36 @@
1
- import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
2
1
  import { ConnectorType } from '../Enum/ConnectorType';
3
2
 
4
3
  export class FormConnector {
5
- @IsOptional()
6
- @IsNumber()
4
+ // @ApiProperty()
7
5
  id?: number;
8
6
 
9
- @IsOptional()
10
- @IsString()
7
+ // @ApiProperty()
11
8
  username?: string;
12
9
 
13
- @IsOptional()
14
- @IsString()
10
+ // @ApiProperty()
15
11
  pass?: string;
16
12
 
17
- @IsOptional()
18
- @IsString()
13
+ // @ApiProperty()
19
14
  url?: string;
20
15
 
21
- @IsOptional()
22
- @IsString()
16
+ // @ApiProperty()
23
17
  token?: string;
24
18
 
25
- @IsOptional()
26
- @IsString()
19
+ // @ApiProperty()
27
20
  token2?: string;
28
21
 
29
- @IsOptional()
30
- @IsString()
22
+ // @ApiProperty()
31
23
  token3?: string;
32
24
 
33
- @IsOptional()
34
- @IsString()
25
+ // @ApiProperty()
35
26
  token4?: string;
36
27
 
37
- @IsOptional()
38
- @IsDate()
28
+ // @ApiProperty()
39
29
  date?: Date;
40
30
 
41
- @IsEnum(ConnectorType)
31
+ // @ApiProperty()
42
32
  idTypeConnector: ConnectorType;
43
33
 
44
- @IsOptional()
45
- @IsNumber()
34
+ // @ApiProperty()
46
35
  idSociety?: number;
47
-
48
- @IsOptional()
49
- @IsNumber()
50
- expiresIn?: number;
51
36
  }
@@ -1,4 +1,4 @@
1
- import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString } from 'class-validator';
1
+ import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
4
4
  import { RequiredQueryPaginate } from '../BasePaginate';
@@ -130,6 +130,11 @@ export class QueryLibrarySociety extends RequiredQueryPaginate {
130
130
  @ApiPropertyOptional()
131
131
  @IsOptional()
132
132
  idBankAccount?: number | number[];
133
+
134
+ @ApiPropertyOptional()
135
+ @IsOptional()
136
+ @IsArray()
137
+ idGedFolders?: GedFolder[];
133
138
  }
134
139
  export class QueryLastFileOfType {
135
140
  @ApiProperty()
@@ -1,19 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
3
- export declare class Sellsy extends Resource {
4
- oauthCallback(payload: {
5
- code: string;
6
- codeVerifier: string;
7
- idSociety: number;
8
- }): Promise<{
9
- success: boolean;
10
- message: string;
11
- }>;
12
- disconnect(idSociety: number): Promise<{
13
- success: boolean;
14
- message: string;
15
- }>;
16
- getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus>;
17
- createInvoices(payload: any): Promise<any>;
18
- }
19
- //# sourceMappingURL=Sellsy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AAEjG,qBAAa,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAAO,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAIlD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIvE,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;CAG3C"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Sellsy = void 0;
4
- const Resource_1 = require("../Resource");
5
- class Sellsy extends Resource_1.Resource {
6
- oauthCallback(payload) {
7
- return this.axios.$post('/auth/sellsy/callback', payload);
8
- }
9
- disconnect(idSociety) {
10
- return this.axios.$post('/auth/sellsy/disconnect', { idSociety });
11
- }
12
- getConnectionStatus(societyId) {
13
- return this.axios.$get('/auth/sellsy/status', { params: { societyId } });
14
- }
15
- createInvoices(payload) {
16
- return this.axios.$post('/connectors/sellsy/invoices', payload);
17
- }
18
- }
19
- exports.Sellsy = Sellsy;
20
- //# sourceMappingURL=Sellsy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,MAAO,SAAQ,mBAAQ;IAClC,aAAa,CAAC,OAIb;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,cAAc,CAAC,OAAY;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AApBD,wBAoBC","sourcesContent":["import { Resource } from '../Resource';\nimport { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';\n\nexport class Sellsy extends Resource {\n oauthCallback(payload: {\n code: string;\n codeVerifier: string;\n idSociety: number;\n }): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/callback', payload);\n }\n\n disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/disconnect', { idSociety });\n }\n\n getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {\n return this.axios.$get('/auth/sellsy/status', { params: { societyId } });\n }\n\n createInvoices(payload: any): Promise<any> {\n return this.axios.$post('/connectors/sellsy/invoices', payload);\n }\n}\n"]}
@@ -1,12 +0,0 @@
1
- export interface OAuthTokenRequest {
2
- clientId: string;
3
- redirectUri: string;
4
- codeVerifier: string;
5
- code: string;
6
- }
7
- export interface SellsyTokenResponse {
8
- access_token: string;
9
- refresh_token: string;
10
- expires_in: number;
11
- }
12
- //# sourceMappingURL=OAuthTokenRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=OAuthTokenRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"","sourcesContent":["export interface OAuthTokenRequest {\n clientId: string;\n redirectUri: string;\n codeVerifier: string;\n code: string;\n}\n\nexport interface SellsyTokenResponse {\n access_token: string;\n refresh_token: string;\n expires_in: number;\n}\n"]}
@@ -1,11 +0,0 @@
1
- export interface SellsyConnectionStatus {
2
- connected: boolean;
3
- refreshed?: boolean;
4
- needReauth?: boolean;
5
- lastSync?: Date | string;
6
- expiresAt?: Date;
7
- expiresIn?: number;
8
- message?: string;
9
- error?: string;
10
- }
11
- //# sourceMappingURL=SellsyConnectionStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SellsyConnectionStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export interface SellsyConnectionStatus {\n connected: boolean;\n refreshed?: boolean;\n needReauth?: boolean;\n lastSync?: Date | string;\n expiresAt?: Date;\n expiresIn?: number;\n message?: string;\n error?: string;\n}\n"]}
@@ -1,19 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
3
- export declare class Sellsy extends Resource {
4
- oauthCallback(payload: {
5
- code: string;
6
- codeVerifier: string;
7
- idSociety: number;
8
- }): Promise<{
9
- success: boolean;
10
- message: string;
11
- }>;
12
- disconnect(idSociety: number): Promise<{
13
- success: boolean;
14
- message: string;
15
- }>;
16
- getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus>;
17
- createInvoices(payload: any): Promise<any>;
18
- }
19
- //# sourceMappingURL=Sellsy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AAEjG,qBAAa,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAAO,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAIlD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIvE,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;CAG3C"}
@@ -1,16 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class Sellsy extends Resource {
3
- oauthCallback(payload) {
4
- return this.axios.$post('/auth/sellsy/callback', payload);
5
- }
6
- disconnect(idSociety) {
7
- return this.axios.$post('/auth/sellsy/disconnect', { idSociety });
8
- }
9
- getConnectionStatus(societyId) {
10
- return this.axios.$get('/auth/sellsy/status', { params: { societyId } });
11
- }
12
- createInvoices(payload) {
13
- return this.axios.$post('/connectors/sellsy/invoices', payload);
14
- }
15
- }
16
- //# sourceMappingURL=Sellsy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAIb;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,cAAc,CAAC,OAAY;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';\n\nexport class Sellsy extends Resource {\n oauthCallback(payload: {\n code: string;\n codeVerifier: string;\n idSociety: number;\n }): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/callback', payload);\n }\n\n disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/disconnect', { idSociety });\n }\n\n getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {\n return this.axios.$get('/auth/sellsy/status', { params: { societyId } });\n }\n\n createInvoices(payload: any): Promise<any> {\n return this.axios.$post('/connectors/sellsy/invoices', payload);\n }\n}\n"]}
@@ -1,12 +0,0 @@
1
- export interface OAuthTokenRequest {
2
- clientId: string;
3
- redirectUri: string;
4
- codeVerifier: string;
5
- code: string;
6
- }
7
- export interface SellsyTokenResponse {
8
- access_token: string;
9
- refresh_token: string;
10
- expires_in: number;
11
- }
12
- //# sourceMappingURL=OAuthTokenRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=OAuthTokenRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"","sourcesContent":["export interface OAuthTokenRequest {\n clientId: string;\n redirectUri: string;\n codeVerifier: string;\n code: string;\n}\n\nexport interface SellsyTokenResponse {\n access_token: string;\n refresh_token: string;\n expires_in: number;\n}\n"]}
@@ -1,11 +0,0 @@
1
- export interface SellsyConnectionStatus {
2
- connected: boolean;
3
- refreshed?: boolean;
4
- needReauth?: boolean;
5
- lastSync?: Date | string;
6
- expiresAt?: Date;
7
- expiresIn?: number;
8
- message?: string;
9
- error?: string;
10
- }
11
- //# sourceMappingURL=SellsyConnectionStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=SellsyConnectionStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export interface SellsyConnectionStatus {\n connected: boolean;\n refreshed?: boolean;\n needReauth?: boolean;\n lastSync?: Date | string;\n expiresAt?: Date;\n expiresIn?: number;\n message?: string;\n error?: string;\n}\n"]}
@@ -1,24 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
3
-
4
- export class Sellsy extends Resource {
5
- oauthCallback(payload: {
6
- code: string;
7
- codeVerifier: string;
8
- idSociety: number;
9
- }): Promise<{ success: boolean; message: string }> {
10
- return this.axios.$post('/auth/sellsy/callback', payload);
11
- }
12
-
13
- disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {
14
- return this.axios.$post('/auth/sellsy/disconnect', { idSociety });
15
- }
16
-
17
- getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {
18
- return this.axios.$get('/auth/sellsy/status', { params: { societyId } });
19
- }
20
-
21
- createInvoices(payload: any): Promise<any> {
22
- return this.axios.$post('/connectors/sellsy/invoices', payload);
23
- }
24
- }
@@ -1,12 +0,0 @@
1
- export interface OAuthTokenRequest {
2
- clientId: string;
3
- redirectUri: string;
4
- codeVerifier: string;
5
- code: string;
6
- }
7
-
8
- export interface SellsyTokenResponse {
9
- access_token: string;
10
- refresh_token: string;
11
- expires_in: number;
12
- }
@@ -1,10 +0,0 @@
1
- export interface SellsyConnectionStatus {
2
- connected: boolean;
3
- refreshed?: boolean;
4
- needReauth?: boolean;
5
- lastSync?: Date | string;
6
- expiresAt?: Date;
7
- expiresIn?: number;
8
- message?: string;
9
- error?: string;
10
- }