@silexpert/core 1.1.246 → 1.1.247
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/Qonto.d.ts +8 -1
- package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/cjs/api/resources/Qonto.js +23 -0
- package/dist/cjs/api/resources/Qonto.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +1 -0
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js +6 -0
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts +47 -0
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/qonto/Create.js +210 -0
- package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts +93 -0
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.js +7 -0
- package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateSociety.d.ts +17 -17
- package/dist/cjs/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateSociety.js +17 -17
- package/dist/cjs/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -3
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -3
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Qonto.d.ts +8 -1
- package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/mjs/api/resources/Qonto.js +23 -0
- package/dist/mjs/api/resources/Qonto.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +1 -0
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js +7 -0
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts +47 -0
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/qonto/Create.js +233 -0
- package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts +93 -0
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js +24 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateSociety.d.ts +17 -17
- package/dist/mjs/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateSociety.js +17 -17
- package/dist/mjs/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -3
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -3
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Qonto.ts +30 -1
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +5 -0
- package/ts/types/Interface/api/qonto/Create.ts +167 -0
- package/ts/types/Interface/api/qonto/Query.ts +103 -1
- package/ts/types/Interface/api/society/UpdateSociety.ts +17 -17
- package/ts/types/Interface/models/ISocietyConfig.ts +1 -0
- package/ts/types/index.ts +1 -3
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.js +0 -30
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.js +0 -28
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.js +0 -28
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.js +0 -28
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.js +0 -26
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.js +0 -26
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
- package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
- package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { RegistrationFileType, ReadStakeHolders } from './Query';
|
|
2
|
+
import { TFile } from '../file/TFile';
|
|
3
|
+
export declare class CreateImportation {
|
|
4
|
+
minDate?: string;
|
|
5
|
+
maxDate?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class CreateQontoConnection {
|
|
8
|
+
login: string;
|
|
9
|
+
password: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class ProcessBankAccount {
|
|
12
|
+
idsSlugToAdd: Array<string>;
|
|
13
|
+
idsSlugToRemove: Array<string>;
|
|
14
|
+
}
|
|
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
|
+
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -0,0 +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;IAI1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,qBAAa,qBAAqB;IAG9B,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,qBAAa,kBAAkB;IAG3B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC;AAKD,qBAAa,uBAAuB;IAGhC,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;IAK1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAItB,UAAU,EAAE,YAAY,GAAG,SAAS,CAAC;IAKrC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKvB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKjC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK9B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK/B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,kBAAkB,EAAE,MAAM,CAAC;IAG3B,YAAY,EAAE,gBAAgB,CAAC;IAI/B,SAAS,EAAE,MAAM,CAAC;CACrB;AAGD,qBAAa,sBAAsB;IAE/B,IAAI,EAAE,KAAK,CAAC;IAGZ,QAAQ,EAAE,oBAAoB,CAAC;IAK/B,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,mBAAmB;IAG5B,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,EAAE,MAAM,CAAC;IAMf,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,233 @@
|
|
|
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 { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
+
export class CreateImportation {
|
|
14
|
+
minDate;
|
|
15
|
+
maxDate;
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
IsOptional(),
|
|
20
|
+
IsDateString(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateImportation.prototype, "minDate", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsDateString(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateImportation.prototype, "maxDate", void 0);
|
|
29
|
+
export class CreateQontoConnection {
|
|
30
|
+
login;
|
|
31
|
+
password;
|
|
32
|
+
}
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
IsString(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CreateQontoConnection.prototype, "login", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiProperty(),
|
|
40
|
+
IsString(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CreateQontoConnection.prototype, "password", void 0);
|
|
43
|
+
export class ProcessBankAccount {
|
|
44
|
+
idsSlugToAdd;
|
|
45
|
+
idsSlugToRemove;
|
|
46
|
+
}
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiProperty(),
|
|
49
|
+
IsArray(),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
ApiProperty(),
|
|
54
|
+
IsArray(),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], 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
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +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;I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,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACY;AAG3B,MAAM,OAAO,mBAAmB;IAG5B,WAAW,CAAS;IAIpB,MAAM,CAAS;IAMf,OAAO,CAAU;CACpB;AAbC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;wDACW;AAEtB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;oDACM","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\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n\n\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\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}"]}
|
|
@@ -74,4 +74,97 @@ 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
|
+
export type ReadOrganization = {
|
|
104
|
+
id?: string;
|
|
105
|
+
entity_type: 'freelancer' | 'company';
|
|
106
|
+
legal_name: string | null;
|
|
107
|
+
legal_form: string | null;
|
|
108
|
+
legal_number?: string | null;
|
|
109
|
+
legal_sector?: string | null;
|
|
110
|
+
legal_registration_date?: string | null;
|
|
111
|
+
legal_vat_number?: string | null;
|
|
112
|
+
address: {
|
|
113
|
+
line_1: string | null;
|
|
114
|
+
line_2?: string | null;
|
|
115
|
+
postal_code: string | null;
|
|
116
|
+
city: string | null;
|
|
117
|
+
country: string | null;
|
|
118
|
+
};
|
|
119
|
+
total_capital_amount: {
|
|
120
|
+
value: string;
|
|
121
|
+
currency: 'EUR';
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare class ReadStakeHolder {
|
|
125
|
+
id?: string;
|
|
126
|
+
capital_amount: {
|
|
127
|
+
value: string;
|
|
128
|
+
currency: 'EUR';
|
|
129
|
+
};
|
|
130
|
+
is_owner: boolean | null;
|
|
131
|
+
first_name: string | null;
|
|
132
|
+
last_name: string | null;
|
|
133
|
+
email: string | null;
|
|
134
|
+
gender: 'male' | 'female' | 'other' | null;
|
|
135
|
+
phone_number: string | null;
|
|
136
|
+
nationality: string | null;
|
|
137
|
+
birth_date: string | null;
|
|
138
|
+
birth_address: {
|
|
139
|
+
postal_code: string | null;
|
|
140
|
+
city: string | null;
|
|
141
|
+
country: string | null;
|
|
142
|
+
};
|
|
143
|
+
residence_address: {
|
|
144
|
+
line_1: string | null;
|
|
145
|
+
postal_code: string | null;
|
|
146
|
+
city: string | null;
|
|
147
|
+
country: string | null;
|
|
148
|
+
};
|
|
149
|
+
shareholding_type: 'physical' | null;
|
|
150
|
+
}
|
|
151
|
+
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';
|
|
77
170
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IA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CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,kCAAkC,GAAG,+BAA+B,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,+BAA+B,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export class ReadStakeHolder {
|
|
2
|
+
id;
|
|
3
|
+
capital_amount;
|
|
4
|
+
is_owner;
|
|
5
|
+
first_name;
|
|
6
|
+
last_name;
|
|
7
|
+
email;
|
|
8
|
+
gender;
|
|
9
|
+
phone_number;
|
|
10
|
+
nationality; // ISO country code
|
|
11
|
+
birth_date;
|
|
12
|
+
birth_address;
|
|
13
|
+
residence_address;
|
|
14
|
+
shareholding_type;
|
|
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
|
+
}
|
|
2
25
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"","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};"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAmIA,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;CAE/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\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: 'created' | 'pending' | 'user_started' | 'price_plan_selected' | 'contract_signed' | 'submitted' | 'capital_deposit_activated' | 'capital_deposit_request_signed' | 'capital_deposit_certificate_signed' | '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}\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 = 'organization-deposit-certificate' | 'organization-proof-of-address' | 'organization-by-laws' | 'organization-kbis' | 'stakeholder-proof-of-identity' | 'stakeholder-residence-permit';"]}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { ISociety } from '../../models/ISociety';
|
|
2
2
|
export declare class UpdateSociety {
|
|
3
3
|
idTypeCompta?: number;
|
|
4
|
-
idUser?: number;
|
|
5
|
-
name?: string;
|
|
6
|
-
address?: string;
|
|
7
|
-
city?: string;
|
|
8
|
-
zipCode?: string;
|
|
9
|
-
idCountry?: number;
|
|
10
|
-
idActivity?: number;
|
|
11
|
-
idVatRegime?: number;
|
|
12
|
-
idLegalForm?: number;
|
|
13
|
-
idFiscalRegime?: number;
|
|
14
|
-
profitsType?: number;
|
|
15
|
-
idTaxSystem?: number;
|
|
4
|
+
idUser?: number | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
address?: string | null;
|
|
7
|
+
city?: string | null;
|
|
8
|
+
zipCode?: string | null;
|
|
9
|
+
idCountry?: number | null;
|
|
10
|
+
idActivity?: number | null;
|
|
11
|
+
idVatRegime?: number | null;
|
|
12
|
+
idLegalForm?: number | null;
|
|
13
|
+
idFiscalRegime?: number | null;
|
|
14
|
+
profitsType?: number | null;
|
|
15
|
+
idTaxSystem?: number | null;
|
|
16
16
|
exercicePeriod?: {
|
|
17
17
|
start: string;
|
|
18
18
|
end: string;
|
|
19
19
|
};
|
|
20
|
-
confirmedAt?: string;
|
|
21
|
-
socialCapital?: string;
|
|
22
|
-
siret?: string;
|
|
23
|
-
oldNafCode?: string;
|
|
24
|
-
vatUploadDay?: number;
|
|
20
|
+
confirmedAt?: string | null;
|
|
21
|
+
socialCapital?: string | null;
|
|
22
|
+
siret?: string | null;
|
|
23
|
+
oldNafCode?: string | null;
|
|
24
|
+
vatUploadDay?: number | null;
|
|
25
25
|
startAt?: Date;
|
|
26
26
|
canceledFirstStepTourAt?: Date;
|
|
27
27
|
autoAnnotate?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,aAAa;IAEtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAA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ate([
|
|
|
40
40
|
], UpdateSociety.prototype, "idTypeCompta", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
ApiPropertyOptional(),
|
|
43
|
-
__metadata("design:type",
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
44
|
], UpdateSociety.prototype, "idUser", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
ApiPropertyOptional(),
|
|
47
|
-
__metadata("design:type",
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
48
|
], UpdateSociety.prototype, "name", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
ApiPropertyOptional(),
|
|
51
|
-
__metadata("design:type",
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
52
|
], UpdateSociety.prototype, "address", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
ApiPropertyOptional(),
|
|
55
|
-
__metadata("design:type",
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
56
|
], UpdateSociety.prototype, "city", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
ApiPropertyOptional(),
|
|
59
|
-
__metadata("design:type",
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
60
|
], UpdateSociety.prototype, "zipCode", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
ApiPropertyOptional(),
|
|
63
|
-
__metadata("design:type",
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
64
|
], UpdateSociety.prototype, "idCountry", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
ApiPropertyOptional(),
|
|
67
|
-
__metadata("design:type",
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
68
|
], UpdateSociety.prototype, "idActivity", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
ApiPropertyOptional(),
|
|
71
|
-
__metadata("design:type",
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
72
|
], UpdateSociety.prototype, "idVatRegime", void 0);
|
|
73
73
|
__decorate([
|
|
74
74
|
ApiPropertyOptional(),
|
|
75
|
-
__metadata("design:type",
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
76
|
], UpdateSociety.prototype, "idLegalForm", void 0);
|
|
77
77
|
__decorate([
|
|
78
78
|
ApiPropertyOptional(),
|
|
79
|
-
__metadata("design:type",
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
80
|
], UpdateSociety.prototype, "idFiscalRegime", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
ApiPropertyOptional(),
|
|
83
|
-
__metadata("design:type",
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
84
|
], UpdateSociety.prototype, "profitsType", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
ApiPropertyOptional(),
|
|
87
|
-
__metadata("design:type",
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
88
|
], UpdateSociety.prototype, "idTaxSystem", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
ApiPropertyOptional(),
|
|
@@ -92,23 +92,23 @@ __decorate([
|
|
|
92
92
|
], UpdateSociety.prototype, "exercicePeriod", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
ApiPropertyOptional(),
|
|
95
|
-
__metadata("design:type",
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
96
|
], UpdateSociety.prototype, "confirmedAt", void 0);
|
|
97
97
|
__decorate([
|
|
98
98
|
ApiPropertyOptional(),
|
|
99
|
-
__metadata("design:type",
|
|
99
|
+
__metadata("design:type", Object)
|
|
100
100
|
], UpdateSociety.prototype, "socialCapital", void 0);
|
|
101
101
|
__decorate([
|
|
102
102
|
ApiPropertyOptional(),
|
|
103
|
-
__metadata("design:type",
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
104
|
], UpdateSociety.prototype, "siret", void 0);
|
|
105
105
|
__decorate([
|
|
106
106
|
ApiPropertyOptional(),
|
|
107
|
-
__metadata("design:type",
|
|
107
|
+
__metadata("design:type", Object)
|
|
108
108
|
], UpdateSociety.prototype, "oldNafCode", void 0);
|
|
109
109
|
__decorate([
|
|
110
110
|
ApiPropertyOptional(),
|
|
111
|
-
__metadata("design:type",
|
|
111
|
+
__metadata("design:type", Object)
|
|
112
112
|
], UpdateSociety.prototype, "vatUploadDay", void 0);
|
|
113
113
|
__decorate([
|
|
114
114
|
ApiPropertyOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAG3E,MAAM,OAAO,aAAa;IAEtB,YAAY,CAAU;IAGtB,MAAM,
|
|
1
|
+
{"version":3,"file":"UpdateSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAG3E,MAAM,OAAO,aAAa;IAEtB,YAAY,CAAU;IAGtB,MAAM,CAAiB;IAGvB,IAAI,CAAiB;IAGrB,OAAO,CAAiB;IAGxB,IAAI,CAAiB;IAGrB,OAAO,CAAiB;IAGxB,SAAS,CAAiB;IAG1B,UAAU,CAAiB;IAG3B,WAAW,CAAiB;IAG5B,WAAW,CAAiB;IAG5B,cAAc,CAAiB;IAG/B,WAAW,CAAiB;IAG5B,WAAW,CAAiB;IAG5B,cAAc,CAAkC;IAGhD,WAAW,CAAiB;IAG5B,aAAa,CAAiB;IAG9B,KAAK,CAAiB;IAGtB,UAAU,CAAiB;IAG3B,YAAY,CAAiB;IAG7B,OAAO,CAAQ;IAGf,uBAAuB,CAAQ;IAM/B,YAAY,CAAW;CAC1B;AApEC;IAAC,mBAAmB,EAAE;;mDACE;AAExB;IAAC,mBAAmB,EAAE;;6CACG;AAEzB;IAAC,mBAAmB,EAAE;;2CACC;AAEvB;IAAC,mBAAmB,EAAE;;8CACI;AAE1B;IAAC,mBAAmB,EAAE;;2CACC;AAEvB;IAAC,mBAAmB,EAAE;;8CACI;AAE1B;IAAC,mBAAmB,EAAE;;gDACM;AAE5B;IAAC,mBAAmB,EAAE;;iDACO;AAE7B;IAAC,mBAAmB,EAAE;;kDACQ;AAE9B;IAAC,mBAAmB,EAAE;;kDACQ;AAE9B;IAAC,mBAAmB,EAAE;;qDACW;AAEjC;IAAC,mBAAmB,EAAE;;kDACQ;AAE9B;IAAC,mBAAmB,EAAE;;kDACQ;AAE9B;IAAC,mBAAmB,EAAE;;qDAC4B;AAElD;IAAC,mBAAmB,EAAE;;kDACQ;AAE9B;IAAC,mBAAmB,EAAE;;oDACU;AAEhC;IAAC,mBAAmB,EAAE;;4CACE;AAExB;IAAC,mBAAmB,EAAE;;iDACO;AAE7B;IAAC,mBAAmB,EAAE;;mDACS;AAE/B;IAAC,mBAAmB,EAAE;8BACV,IAAI;8CAAC;AAEjB;IAAC,mBAAmB,EAAE;8BACM,IAAI;8DAAC;AAEjC;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACY;AAE3B,MAAM,OAAO,oBAAoB;IAE7B,OAAO,CAAoB;CAC9B;AAFC;IAAC,mBAAmB,EAAE;;qDACO","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ISociety } from '../../models/ISociety';\n\nexport class UpdateSociety {\n @ApiPropertyOptional()\n idTypeCompta?: number;\n\n @ApiPropertyOptional()\n idUser?: number | null;\n\n @ApiPropertyOptional()\n name?: string | null;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n idActivity?: number | null;\n\n @ApiPropertyOptional()\n idVatRegime?: number | null;\n\n @ApiPropertyOptional()\n idLegalForm?: number | null;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number | null;\n\n @ApiPropertyOptional()\n profitsType?: number | null;\n\n @ApiPropertyOptional()\n idTaxSystem?: number | null;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n confirmedAt?: string | null;\n\n @ApiPropertyOptional()\n socialCapital?: string | null;\n\n @ApiPropertyOptional()\n siret?: string | null;\n\n @ApiPropertyOptional()\n oldNafCode?: string | null;\n\n @ApiPropertyOptional()\n vatUploadDay?: number | null;\n\n @ApiPropertyOptional()\n startAt?: Date;\n\n @ApiPropertyOptional()\n canceledFirstStepTourAt?: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n autoAnnotate?: boolean;\n}\nexport class UpdateSocietyPayload {\n @ApiPropertyOptional()\n society: Partial<ISociety>;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyConfig.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC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AAG,IAAI,CAAC;IAC1B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,OAAO,CAAC,EAAE,QAAQ,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyConfig.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyConfig.ts"],"names":[],"mappings":"","sourcesContent":["// societyConfig\nimport { ISociety } from './ISociety';\n\nexport interface ISocietyConfig {\n id?: number;\n disableExport: boolean;\n noVat: boolean;\n dateActiveVat?: Date | null;\n logo?: string | null;\n adjournment: boolean;\n acceptCgv: boolean;\n showWelcomeModal: boolean;\n modalNews: boolean;\n typeMicroentreprise?: number | null;\n showTipSchedule: boolean;\n defaultBa?: number | null;\n salesType?: number | null;\n noShowModalAnnotation: boolean;\n emailAgreement: boolean;\n clicPaiement: boolean;\n mailIdepotStatus: boolean;\n mobileRegister: boolean;\n registeredFromWebsite: boolean;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n society?: ISociety\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ISocietyConfig.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyConfig.ts"],"names":[],"mappings":"","sourcesContent":["// societyConfig\nimport { ISociety } from './ISociety';\n\nexport interface ISocietyConfig {\n id?: number;\n disableExport: boolean;\n noVat: boolean;\n dateActiveVat?: Date | null;\n logo?: string | null;\n adjournment: boolean;\n acceptCgv: boolean;\n showWelcomeModal: boolean;\n modalNews: boolean;\n typeMicroentreprise?: number | null;\n showTipSchedule: boolean;\n defaultBa?: number | null;\n salesType?: number | null;\n noShowModalAnnotation: boolean;\n emailAgreement: boolean;\n clicPaiement: boolean;\n mailIdepotStatus: boolean;\n mobileRegister: boolean;\n registeredFromWebsite: boolean;\n idQontoRegistration?: string | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n society?: ISociety\n}\n"]}
|