@silexpert/core 1.3.98 → 1.3.99-1

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 (55) hide show
  1. package/dist/cjs/api/resources/Qonto.d.ts +1 -11
  2. package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Qonto.js +0 -29
  4. package/dist/cjs/api/resources/Qonto.js.map +1 -1
  5. package/dist/cjs/types/Form/FormConnector.d.ts +1 -0
  6. package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
  7. package/dist/cjs/types/Form/FormConnector.js +85 -0
  8. package/dist/cjs/types/Form/FormConnector.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +12 -0
  10. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +1 -0
  11. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js +3 -0
  12. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +1 -0
  13. package/dist/cjs/types/Interface/api/qonto/Create.d.ts +0 -34
  14. package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/qonto/Create.js +1 -155
  16. package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/qonto/Query.d.ts +0 -44
  18. package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/qonto/Query.js +1 -4
  20. package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +11 -0
  22. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +1 -0
  23. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +3 -0
  24. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +1 -0
  25. package/dist/mjs/api/resources/Qonto.d.ts +1 -11
  26. package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
  27. package/dist/mjs/api/resources/Qonto.js +0 -29
  28. package/dist/mjs/api/resources/Qonto.js.map +1 -1
  29. package/dist/mjs/types/Form/FormConnector.d.ts +1 -0
  30. package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
  31. package/dist/mjs/types/Form/FormConnector.js +86 -11
  32. package/dist/mjs/types/Form/FormConnector.js.map +1 -1
  33. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +12 -0
  34. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +1 -0
  35. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +2 -0
  36. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +1 -0
  37. package/dist/mjs/types/Interface/api/qonto/Create.d.ts +0 -34
  38. package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  39. package/dist/mjs/types/Interface/api/qonto/Create.js +1 -178
  40. package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -1
  41. package/dist/mjs/types/Interface/api/qonto/Query.d.ts +0 -44
  42. package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  43. package/dist/mjs/types/Interface/api/qonto/Query.js +0 -9
  44. package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
  45. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +11 -0
  46. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +1 -0
  47. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +2 -0
  48. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +1 -0
  49. package/package.json +1 -1
  50. package/ts/api/resources/Qonto.ts +0 -43
  51. package/ts/types/Form/FormConnector.ts +41 -11
  52. package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +12 -0
  53. package/ts/types/Interface/api/qonto/Create.ts +1 -128
  54. package/ts/types/Interface/api/qonto/Query.ts +0 -64
  55. package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +10 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Qonto.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAIvD,cAAc,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIhF,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAItG,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAIlG,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIrE;;OAEG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAI/F,kBAAkB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAIvE,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAS9G,yBAAyB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIlF,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIjF,iCAAiC,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGzE"}
1
+ {"version":3,"file":"Qonto.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAIvD,cAAc,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIhF,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAItG,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAIlG,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAGtE"}
@@ -15,34 +15,5 @@ export class Qonto extends Resource {
15
15
  create(payload) {
16
16
  return this.axios.$post('connectors/qonto/connections', payload);
17
17
  }
18
- /**
19
- * @deprecated use create
20
- */
21
- updateConnection(idBankConnection, payload) {
22
- return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
23
- }
24
- createRegistration(params) {
25
- return this.axios.$post('connectors/qonto/registrations', params);
26
- }
27
- getRegistration(idRegistration) {
28
- return this.axios.$post(`connectors/qonto/registrations/${idRegistration}`);
29
- }
30
- createRegistrationFile(idRegistration, params) {
31
- return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/files`, params, {
32
- responseType: 'arraybuffer',
33
- headers: {
34
- Accept: 'application/pdf',
35
- },
36
- });
37
- }
38
- getRegistrationFileBuffer(idRegistration, idFile) {
39
- return this.axios.$get(`connectors/qonto/registrations/${idRegistration}/files/${idFile}/download`);
40
- }
41
- createWebhookConfig(params) {
42
- return this.axios.$post('connectors/qonto/registrations/webhooks-configs', params);
43
- }
44
- triggerNewMailForRegistrationLink(idRegistration) {
45
- return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/email`);
46
- }
47
18
  }
48
19
  //# sourceMappingURL=Qonto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAwB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,gBAAgB,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,cAAc,CAAC,OAAiC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,iBAAiB,CAAC,aAAqB,EAAE,OAA0B;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED,kBAAkB,CAAC,gBAAwB,EAAE,OAA2B;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,KAA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,\n CreateQontoConnection,\n CreateImportation,\n GetConnectionInformation,\n GetQontoOrganization,\n IBankAccount,\n IBankConnection,\n ReadCreateConnection,\n UpdateConnection,\n CreateImportationResult,\n CreateQontoRegistration,\n ReadQontoRegistration,\n CreateRegistrationFile,\n CreateWebhookConfig,\n ReadQontoWebhookConfig,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<CreateImportationResult> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n\n /**\n * @deprecated use create\n */\n updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {\n return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);\n }\n\n createRegistration(params: CreateQontoRegistration): Promise<ReadQontoRegistration> {\n return this.axios.$post('connectors/qonto/registrations', params);\n }\n\n getRegistration(idRegistration: string): Promise<ReadQontoRegistration> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}`);\n }\n\n createRegistrationFile(idRegistration: string, params: CreateRegistrationFile): Promise<ReadQontoRegistration> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/files`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getRegistrationFileBuffer(idRegistration: string, idFile: string): Promise<Buffer> {\n return this.axios.$get(`connectors/qonto/registrations/${idRegistration}/files/${idFile}/download`);\n }\n\n createWebhookConfig(params: CreateWebhookConfig): Promise<ReadQontoWebhookConfig> {\n return this.axios.$post('connectors/qonto/registrations/webhooks-configs', params);\n }\n\n triggerNewMailForRegistrationLink(idRegistration: string): Promise<void> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/email`);\n }\n}\n"]}
1
+ {"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAwB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,gBAAgB,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,cAAc,CAAC,OAAiC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,iBAAiB,CAAC,aAAqB,EAAE,OAA0B;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED,kBAAkB,CAAC,gBAAwB,EAAE,OAA2B;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,gBAAgB,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED,MAAM,CAAC,OAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF","sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation,\n GetConnectionInformation,\n GetQontoOrganization,\n IBankAccount,\n ReadCreateConnection,\n CreateImportationResult,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<CreateImportationResult> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n}\n"]}
@@ -11,5 +11,6 @@ export declare class FormConnector {
11
11
  date?: Date;
12
12
  idTypeConnector: ConnectorType;
13
13
  idSociety?: number;
14
+ expiresIn?: number;
14
15
  }
15
16
  //# sourceMappingURL=FormConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAIxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,eAAe,EAAE,aAAa,CAAC;IAK/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,25 +1,100 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
11
+ import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
12
+ import { Type } from 'class-transformer';
13
+ import { ConnectorType } from '../Enum/ConnectorType';
1
14
  export class FormConnector {
2
- // @ApiProperty()
3
15
  id;
4
- // @ApiProperty()
5
16
  username;
6
- // @ApiProperty()
7
17
  pass;
8
- // @ApiProperty()
9
18
  url;
10
- // @ApiProperty()
11
19
  token;
12
- // @ApiProperty()
13
20
  token2;
14
- // @ApiProperty()
15
21
  token3;
16
- // @ApiProperty()
17
22
  token4;
18
- // @ApiProperty()
19
23
  date;
20
- // @ApiProperty()
21
24
  idTypeConnector;
22
- // @ApiProperty()
23
25
  idSociety;
26
+ expiresIn;
24
27
  }
28
+ __decorate([
29
+ ApiPropertyOptional(),
30
+ IsOptional(),
31
+ IsNumber(),
32
+ __metadata("design:type", Number)
33
+ ], FormConnector.prototype, "id", void 0);
34
+ __decorate([
35
+ ApiPropertyOptional(),
36
+ IsOptional(),
37
+ IsString(),
38
+ __metadata("design:type", String)
39
+ ], FormConnector.prototype, "username", void 0);
40
+ __decorate([
41
+ ApiPropertyOptional(),
42
+ IsOptional(),
43
+ IsString(),
44
+ __metadata("design:type", String)
45
+ ], FormConnector.prototype, "pass", void 0);
46
+ __decorate([
47
+ ApiPropertyOptional(),
48
+ IsOptional(),
49
+ IsString(),
50
+ __metadata("design:type", String)
51
+ ], FormConnector.prototype, "url", void 0);
52
+ __decorate([
53
+ ApiPropertyOptional(),
54
+ IsOptional(),
55
+ IsString(),
56
+ __metadata("design:type", String)
57
+ ], FormConnector.prototype, "token", void 0);
58
+ __decorate([
59
+ ApiPropertyOptional(),
60
+ IsOptional(),
61
+ IsString(),
62
+ __metadata("design:type", String)
63
+ ], FormConnector.prototype, "token2", void 0);
64
+ __decorate([
65
+ ApiPropertyOptional(),
66
+ IsOptional(),
67
+ IsString(),
68
+ __metadata("design:type", String)
69
+ ], FormConnector.prototype, "token3", void 0);
70
+ __decorate([
71
+ ApiPropertyOptional(),
72
+ IsOptional(),
73
+ IsString(),
74
+ __metadata("design:type", String)
75
+ ], FormConnector.prototype, "token4", void 0);
76
+ __decorate([
77
+ ApiPropertyOptional({ type: String, format: 'date-time' }),
78
+ IsOptional(),
79
+ IsDate(),
80
+ Type(() => Date),
81
+ __metadata("design:type", Date)
82
+ ], FormConnector.prototype, "date", void 0);
83
+ __decorate([
84
+ ApiProperty({ enum: ConnectorType }),
85
+ IsEnum(ConnectorType),
86
+ __metadata("design:type", Number)
87
+ ], FormConnector.prototype, "idTypeConnector", void 0);
88
+ __decorate([
89
+ ApiPropertyOptional(),
90
+ IsOptional(),
91
+ IsNumber(),
92
+ __metadata("design:type", Number)
93
+ ], FormConnector.prototype, "idSociety", void 0);
94
+ __decorate([
95
+ ApiPropertyOptional(),
96
+ IsOptional(),
97
+ IsNumber(),
98
+ __metadata("design:type", Number)
99
+ ], FormConnector.prototype, "expiresIn", void 0);
25
100
  //# sourceMappingURL=FormConnector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;IACxB,iBAAiB;IACjB,EAAE,CAAU;IAEZ,iBAAiB;IACjB,QAAQ,CAAU;IAElB,iBAAiB;IACjB,IAAI,CAAU;IAEd,iBAAiB;IACjB,GAAG,CAAU;IAEb,iBAAiB;IACjB,KAAK,CAAU;IAEf,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,IAAI,CAAQ;IAEZ,iBAAiB;IACjB,eAAe,CAAgB;IAE/B,iBAAiB;IACjB,SAAS,CAAU;CACpB","sourcesContent":["import { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiProperty()\n id?: number;\n\n // @ApiProperty()\n username?: string;\n\n // @ApiProperty()\n pass?: string;\n\n // @ApiProperty()\n url?: string;\n\n // @ApiProperty()\n token?: string;\n\n // @ApiProperty()\n token2?: string;\n\n // @ApiProperty()\n token3?: string;\n\n // @ApiProperty()\n token4?: string;\n\n // @ApiProperty()\n date?: Date;\n\n // @ApiProperty()\n idTypeConnector: ConnectorType;\n\n // @ApiProperty()\n idSociety?: number;\n}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AE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IAC1D,UAAU,EAAE;IACZ,MAAM,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACV,IAAI;2CAAC;AAIZ;IAFC,WAAW,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;IACpC,MAAM,CAAC,aAAa,CAAC;;sDACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n @ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OAuthTokenRequest.js.map
@@ -0,0 +1 @@
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,5 +1,3 @@
1
- import { RegistrationFileType, ReadStakeHolders } from './Query';
2
- import { TFile } from '../file/TFile';
3
1
  export declare class CreateImportation {
4
2
  minDate?: string;
5
3
  maxDate?: string;
@@ -12,36 +10,4 @@ export declare class ProcessBankAccount {
12
10
  idsSlugToAdd: Array<string>;
13
11
  idsSlugToRemove: Array<string>;
14
12
  }
15
- export declare class CreateQontoRegistration {
16
- legalFlow: 'company_creation' | 'existing_company';
17
- locale: 'en' | 'fr' | 'it' | 'es' | 'de';
18
- firstName?: string | null;
19
- lastName?: string | null;
20
- email?: string | null;
21
- entityType: 'freelancer' | 'company';
22
- legalName?: string | null;
23
- legalForm?: string | null;
24
- number?: string | null;
25
- sector?: string | null;
26
- registrationDate?: string | null;
27
- vatNumber?: string | null;
28
- addressStreet?: string | null;
29
- addressStreet2?: string | null;
30
- postalCode?: string | null;
31
- city?: string | null;
32
- country?: string | null;
33
- totalCapitalAmount: string;
34
- stakeHolders: ReadStakeHolders;
35
- idSociety: number;
36
- }
37
- export declare class CreateRegistrationFile {
38
- file: TFile;
39
- fileType: RegistrationFileType;
40
- stakeholderId?: string;
41
- }
42
- export declare class CreateWebhookConfig {
43
- callbackUrl: string;
44
- secret: string;
45
- enabled: boolean;
46
- }
47
13
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,iBAAiB;IAI5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,qBAAqB;IAGhC,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,kBAAkB;IAG7B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,kBAAkB,GAAG,kBAAkB,CAAC;IAInD,MAAM,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAKzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC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ClB;AAED,qBAAa,qBAAqB;IAGhC,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,kBAAkB;IAG7B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -7,9 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';
10
+ import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';
11
11
  import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
12
  export class CreateImportation {
14
13
  minDate;
15
14
  maxDate;
@@ -54,180 +53,4 @@ __decorate([
54
53
  IsArray(),
55
54
  __metadata("design:type", Array)
56
55
  ], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
57
- export class CreateQontoRegistration {
58
- legalFlow;
59
- locale;
60
- firstName;
61
- lastName;
62
- email;
63
- entityType;
64
- legalName;
65
- legalForm;
66
- number;
67
- sector;
68
- registrationDate;
69
- vatNumber;
70
- addressStreet;
71
- addressStreet2;
72
- postalCode;
73
- city;
74
- country;
75
- totalCapitalAmount;
76
- stakeHolders;
77
- idSociety;
78
- }
79
- __decorate([
80
- ApiProperty(),
81
- IsString(),
82
- __metadata("design:type", String)
83
- ], CreateQontoRegistration.prototype, "legalFlow", void 0);
84
- __decorate([
85
- ApiProperty(),
86
- IsString(),
87
- __metadata("design:type", String)
88
- ], CreateQontoRegistration.prototype, "locale", void 0);
89
- __decorate([
90
- ApiPropertyOptional(),
91
- IsString(),
92
- IsOptional(),
93
- __metadata("design:type", Object)
94
- ], CreateQontoRegistration.prototype, "firstName", void 0);
95
- __decorate([
96
- ApiPropertyOptional(),
97
- IsString(),
98
- IsOptional(),
99
- __metadata("design:type", Object)
100
- ], CreateQontoRegistration.prototype, "lastName", void 0);
101
- __decorate([
102
- ApiPropertyOptional(),
103
- IsString(),
104
- IsOptional(),
105
- __metadata("design:type", Object)
106
- ], CreateQontoRegistration.prototype, "email", void 0);
107
- __decorate([
108
- ApiProperty(),
109
- IsString(),
110
- __metadata("design:type", String)
111
- ], CreateQontoRegistration.prototype, "entityType", void 0);
112
- __decorate([
113
- ApiPropertyOptional(),
114
- IsString(),
115
- IsOptional(),
116
- __metadata("design:type", Object)
117
- ], CreateQontoRegistration.prototype, "legalName", void 0);
118
- __decorate([
119
- ApiPropertyOptional(),
120
- IsString(),
121
- IsOptional(),
122
- __metadata("design:type", Object)
123
- ], CreateQontoRegistration.prototype, "legalForm", void 0);
124
- __decorate([
125
- ApiPropertyOptional(),
126
- IsString(),
127
- IsOptional(),
128
- __metadata("design:type", Object)
129
- ], CreateQontoRegistration.prototype, "number", void 0);
130
- __decorate([
131
- ApiPropertyOptional(),
132
- IsString(),
133
- IsOptional(),
134
- __metadata("design:type", Object)
135
- ], CreateQontoRegistration.prototype, "sector", void 0);
136
- __decorate([
137
- ApiPropertyOptional(),
138
- IsString(),
139
- IsOptional(),
140
- __metadata("design:type", Object)
141
- ], CreateQontoRegistration.prototype, "registrationDate", void 0);
142
- __decorate([
143
- ApiPropertyOptional(),
144
- IsString(),
145
- IsOptional(),
146
- __metadata("design:type", Object)
147
- ], CreateQontoRegistration.prototype, "vatNumber", void 0);
148
- __decorate([
149
- ApiPropertyOptional(),
150
- IsString(),
151
- IsOptional(),
152
- __metadata("design:type", Object)
153
- ], CreateQontoRegistration.prototype, "addressStreet", void 0);
154
- __decorate([
155
- ApiPropertyOptional(),
156
- IsString(),
157
- IsOptional(),
158
- __metadata("design:type", Object)
159
- ], CreateQontoRegistration.prototype, "addressStreet2", void 0);
160
- __decorate([
161
- ApiPropertyOptional(),
162
- IsString(),
163
- IsOptional(),
164
- __metadata("design:type", Object)
165
- ], CreateQontoRegistration.prototype, "postalCode", void 0);
166
- __decorate([
167
- ApiPropertyOptional(),
168
- IsString(),
169
- IsOptional(),
170
- __metadata("design:type", Object)
171
- ], CreateQontoRegistration.prototype, "city", void 0);
172
- __decorate([
173
- ApiPropertyOptional(),
174
- IsString(),
175
- IsOptional(),
176
- __metadata("design:type", Object)
177
- ], CreateQontoRegistration.prototype, "country", void 0);
178
- __decorate([
179
- ApiProperty(),
180
- IsString(),
181
- __metadata("design:type", String)
182
- ], CreateQontoRegistration.prototype, "totalCapitalAmount", void 0);
183
- __decorate([
184
- ApiProperty(),
185
- __metadata("design:type", Array)
186
- ], CreateQontoRegistration.prototype, "stakeHolders", void 0);
187
- __decorate([
188
- ApiProperty(),
189
- IsNumber(),
190
- __metadata("design:type", Number)
191
- ], CreateQontoRegistration.prototype, "idSociety", void 0);
192
- export class CreateRegistrationFile {
193
- file;
194
- fileType;
195
- stakeholderId;
196
- }
197
- __decorate([
198
- ApiProperty(),
199
- __metadata("design:type", Object)
200
- ], CreateRegistrationFile.prototype, "file", void 0);
201
- __decorate([
202
- ApiProperty(),
203
- __metadata("design:type", String)
204
- ], CreateRegistrationFile.prototype, "fileType", void 0);
205
- __decorate([
206
- ApiPropertyOptional(),
207
- IsString(),
208
- IsOptional(),
209
- __metadata("design:type", String)
210
- ], CreateRegistrationFile.prototype, "stakeholderId", void 0);
211
- export class CreateWebhookConfig {
212
- callbackUrl;
213
- secret;
214
- enabled;
215
- }
216
- __decorate([
217
- ApiProperty(),
218
- IsString(),
219
- __metadata("design:type", String)
220
- ], CreateWebhookConfig.prototype, "callbackUrl", void 0);
221
- __decorate([
222
- ApiProperty(),
223
- IsString(),
224
- __metadata("design:type", String)
225
- ], CreateWebhookConfig.prototype, "secret", void 0);
226
- __decorate([
227
- ApiPropertyOptional(),
228
- IsBoolean(),
229
- ToBoolean(),
230
- IsOptional(),
231
- __metadata("design:type", Boolean)
232
- ], CreateWebhookConfig.prototype, "enabled", void 0);
233
56
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,iBAAiB;IAI5B,OAAO,CAAU;IAKjB,OAAO,CAAU;CAClB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAGnB,MAAM,OAAO,qBAAqB;IAGhC,KAAK,CAAS;IAId,QAAQ,CAAS;CAClB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM;AAGnB,MAAM,OAAO,kBAAkB;IAG7B,YAAY,CAAgB;IAI5B,eAAe,CAAgB;CAChC;AALC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACO,KAAK;2DAAS;AAGjC,MAAM,OAAO,uBAAuB;IAGlC,SAAS,CAA0C;IAInD,MAAM,CAAmC;IAKzC,SAAS,CAAiB;IAK1B,QAAQ,CAAiB;IAKzB,KAAK,CAAiB;IAItB,UAAU,CAA2B;IAKrC,SAAS,CAAiB;IAK1B,SAAS,CAAiB;IAK1B,MAAM,CAAiB;IAKvB,MAAM,CAAiB;IAKvB,gBAAgB,CAAiB;IAKjC,SAA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AAE;IACV,UAAU,EAAE;;qDACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACW;AAIxB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mEACgB;AAG3B;IADC,WAAW,EAAE;;6DACiB;AAI/B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACO;AAGpB,MAAM,OAAO,sBAAsB;IAEjC,IAAI,CAAQ;IAGZ,QAAQ,CAAuB;IAK/B,aAAa,CAAU;CACxB;AATC;IADC,WAAW,EAAE;;oDACF;AAGZ;IADC,WAAW,EAAE;;wDACiB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACU;AAGzB,MAAM,OAAO,mBAAmB;IAG9B,WAAW,CAAS;IAIpB,MAAM,CAAS;IAMf,OAAO,CAAU;CAClB;AAXC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;wDACS;AAIpB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACI;AAMf;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;oDACI","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { RegistrationFileType, ReadStakeHolders } from './Query';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n}\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n\nexport class CreateQontoRegistration {\n @ApiProperty()\n @IsString()\n legalFlow: 'company_creation' | 'existing_company';\n\n @ApiProperty()\n @IsString()\n locale: 'en' | 'fr' | 'it' | 'es' | 'de';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n firstName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n lastName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n email?: string | null;\n\n @ApiProperty()\n @IsString()\n entityType: 'freelancer' | 'company';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalForm?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n number?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n sector?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n registrationDate?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n vatNumber?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet2?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n postalCode?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n country?: string | null;\n\n @ApiProperty()\n @IsString()\n totalCapitalAmount: string;\n\n @ApiProperty()\n stakeHolders: ReadStakeHolders;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n}\n\nexport class CreateRegistrationFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n fileType: RegistrationFileType;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n stakeholderId?: string;\n}\n\nexport class CreateWebhookConfig {\n @ApiProperty()\n @IsString()\n callbackUrl: string;\n\n @ApiProperty()\n @IsString()\n secret: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n enabled: boolean;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,iBAAiB;IAI5B,OAAO,CAAU;IAKjB,OAAO,CAAU;CAClB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAGnB,MAAM,OAAO,qBAAqB;IAGhC,KAAK,CAAS;IAId,QAAQ,CAAS;CAClB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM;AAGnB,MAAM,OAAO,kBAAkB;IAG7B,YAAY,CAAgB;IAI5B,eAAe,CAAgB;CAChC;AALC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACO,KAAK;2DAAS","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n}\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n"]}
@@ -74,32 +74,6 @@ export type GetQontoAttachment = {
74
74
  url: string | null;
75
75
  };
76
76
  };
77
- export type ReadQontoRegistration = {
78
- id: string;
79
- legal_flow: string;
80
- flow: {
81
- type: 'manual' | 'seamless';
82
- breakdown: {
83
- code: string;
84
- detail: string;
85
- source: {
86
- pointer: string;
87
- };
88
- } | null;
89
- };
90
- status: 'created' | 'pending' | 'user_started' | 'price_plan_selected' | 'contract_signed' | 'submitted' | 'capital_deposit_activated' | 'capital_deposit_request_signed' | 'capital_deposit_certificate_signed' | 'completed';
91
- redirection_link: string;
92
- created_at: string;
93
- updated_at: string;
94
- locale: string;
95
- partner_user: {
96
- first_name: string | null;
97
- last_name: string | null;
98
- email: string | null;
99
- };
100
- organization: ReadOrganization;
101
- stakeholders: ReadStakeHolder[];
102
- };
103
77
  export type ReadOrganization = {
104
78
  id?: string;
105
79
  entity_type: 'freelancer' | 'company';
@@ -149,22 +123,4 @@ export declare class ReadStakeHolder {
149
123
  shareholding_type: 'physical' | null;
150
124
  }
151
125
  export type ReadStakeHolders = ReadStakeHolder[];
152
- export declare class ReadQontoRegistrationFile {
153
- id: string;
154
- filename: string;
155
- filesize_bytes: number;
156
- url: string;
157
- created_at: string;
158
- file_type: string;
159
- stakeholder_id: string | null;
160
- }
161
- export type ReadQontoWebhookConfig = {
162
- id: string;
163
- created_at: string;
164
- updated_at: string;
165
- callback_url: string;
166
- enabled: boolean;
167
- secret: string;
168
- };
169
- export type RegistrationFileType = 'organization-deposit-certificate' | 'organization-proof-of-address' | 'organization-by-laws' | 'organization-kbis' | 'stakeholder-proof-of-identity' | 'stakeholder-residence-permit';
170
126
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":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,CAAC;QACd,QAAQ,EAAE,KAAK,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,eAAe;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,KAAK,CAAC;KACjB,CAAC;IACF,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;IAC3C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE;QACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,iBAAiB,EAAE;QACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC"}
@@ -13,13 +13,4 @@ export class ReadStakeHolder {
13
13
  residence_address;
14
14
  shareholding_type;
15
15
  }
16
- export class ReadQontoRegistrationFile {
17
- id;
18
- filename;
19
- filesize_bytes;
20
- url; // TTL of 2 hours
21
- created_at;
22
- file_type;
23
- stakeholder_id;
24
- }
25
16
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AA4IA,MAAM,OAAO,eAAe;IAC1B,EAAE,CAAU;IACZ,cAAc,CAGZ;IACF,QAAQ,CAAiB;IACzB,UAAU,CAAgB;IAC1B,SAAS,CAAgB;IACzB,KAAK,CAAgB;IACrB,MAAM,CAAqC;IAC3C,YAAY,CAAgB;IAC5B,WAAW,CAAgB,CAAC,mBAAmB;IAC/C,UAAU,CAAgB;IAC1B,aAAa,CAIX;IACF,iBAAiB,CAKf;IACF,iBAAiB,CAAoB;CACtC;AAID,MAAM,OAAO,yBAAyB;IACpC,EAAE,CAAS;IACX,QAAQ,CAAS;IACjB,cAAc,CAAS;IACvB,GAAG,CAAS,CAAC,iBAAiB;IAC9B,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,cAAc,CAAgB;CAC/B","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n };\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n };\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[];\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean;\n attachment_required: boolean;\n card_last_digits: string | null;\n category: string | null;\n id: string | null;\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size: string;\n url: string | null;\n };\n};\n\nexport type ReadQontoRegistration = {\n id: string;\n legal_flow: string; // Registration type => company_creation (Company in creation), existing_company (Company already exists)\n flow: {\n type: 'manual' | 'seamless'; // which type of flow the user will be redirected\n breakdown: {\n code: string;\n detail: string;\n source: {\n pointer: string;\n };\n } | null;\n };\n status:\n | 'created'\n | 'pending'\n | 'user_started'\n | 'price_plan_selected'\n | 'contract_signed'\n | 'submitted'\n | 'capital_deposit_activated'\n | 'capital_deposit_request_signed'\n | 'capital_deposit_certificate_signed'\n | 'completed';\n redirection_link: string; // link where the user is redirected\n created_at: string;\n updated_at: string;\n locale: string;\n partner_user: {\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n };\n organization: ReadOrganization;\n stakeholders: ReadStakeHolder[];\n};\n\nexport type ReadOrganization = {\n id?: string;\n entity_type: 'freelancer' | 'company';\n legal_name: string | null;\n legal_form: string | null;\n legal_number?: string | null;\n legal_sector?: string | null;\n legal_registration_date?: string | null;\n legal_vat_number?: string | null;\n address: {\n line_1: string | null;\n line_2?: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n total_capital_amount: {\n value: string;\n currency: 'EUR';\n };\n};\n\nexport class ReadStakeHolder {\n id?: string;\n capital_amount: {\n value: string;\n currency: 'EUR';\n };\n is_owner: boolean | null;\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n gender: 'male' | 'female' | 'other' | null;\n phone_number: string | null;\n nationality: string | null; // ISO country code\n birth_date: string | null;\n birth_address: {\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n residence_address: {\n line_1: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n shareholding_type: 'physical' | null;\n}\n\nexport type ReadStakeHolders = ReadStakeHolder[];\n\nexport class ReadQontoRegistrationFile {\n id: string;\n filename: string;\n filesize_bytes: number;\n url: string; // TTL of 2 hours\n created_at: string;\n file_type: string;\n stakeholder_id: string | null;\n}\n\nexport type ReadQontoWebhookConfig = {\n id: string;\n created_at: string;\n updated_at: string;\n callback_url: string;\n enabled: boolean;\n secret: string;\n};\n\nexport type RegistrationFileType =\n | 'organization-deposit-certificate'\n | 'organization-proof-of-address'\n | 'organization-by-laws'\n | 'organization-kbis'\n | 'stakeholder-proof-of-identity'\n | 'stakeholder-residence-permit';\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAuGA,MAAM,OAAO,eAAe;IAC1B,EAAE,CAAU;IACZ,cAAc,CAGZ;IACF,QAAQ,CAAiB;IACzB,UAAU,CAAgB;IAC1B,SAAS,CAAgB;IACzB,KAAK,CAAgB;IACrB,MAAM,CAAqC;IAC3C,YAAY,CAAgB;IAC5B,WAAW,CAAgB,CAAC,mBAAmB;IAC/C,UAAU,CAAgB;IAC1B,aAAa,CAIX;IACF,iBAAiB,CAKf;IACF,iBAAiB,CAAoB;CACtC","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n };\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n };\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[];\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean;\n attachment_required: boolean;\n card_last_digits: string | null;\n category: string | null;\n id: string | null;\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size: string;\n url: string | null;\n };\n};\n\nexport type ReadOrganization = {\n id?: string;\n entity_type: 'freelancer' | 'company';\n legal_name: string | null;\n legal_form: string | null;\n legal_number?: string | null;\n legal_sector?: string | null;\n legal_registration_date?: string | null;\n legal_vat_number?: string | null;\n address: {\n line_1: string | null;\n line_2?: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n total_capital_amount: {\n value: string;\n currency: 'EUR';\n };\n};\n\nexport class ReadStakeHolder {\n id?: string;\n capital_amount: {\n value: string;\n currency: 'EUR';\n };\n is_owner: boolean | null;\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n gender: 'male' | 'female' | 'other' | null;\n phone_number: string | null;\n nationality: string | null; // ISO country code\n birth_date: string | null;\n birth_address: {\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n residence_address: {\n line_1: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n shareholding_type: 'physical' | null;\n}\n\nexport type ReadStakeHolders = ReadStakeHolder[];\n"]}
@@ -0,0 +1,11 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SellsyConnectionStatus.js.map
@@ -0,0 +1 @@
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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.98",
3
+ "version": "1.3.99-1",
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",