@silexpert/core 2.0.116 → 2.0.117

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 (116) hide show
  1. package/dist/api/resources/Acd.d.ts +1 -2
  2. package/dist/api/resources/Acd.d.ts.map +1 -1
  3. package/dist/api/resources/Acd.js +0 -3
  4. package/dist/api/resources/Acd.js.map +1 -1
  5. package/dist/api/resources/Appointment.d.ts +18 -0
  6. package/dist/api/resources/Appointment.d.ts.map +1 -0
  7. package/dist/api/resources/Appointment.js +34 -0
  8. package/dist/api/resources/Appointment.js.map +1 -0
  9. package/dist/api/resources/Authenticate.d.ts +4 -5
  10. package/dist/api/resources/Authenticate.d.ts.map +1 -1
  11. package/dist/api/resources/Authenticate.js +3 -4
  12. package/dist/api/resources/Authenticate.js.map +1 -1
  13. package/dist/api/resources/BalanceSheetSupervision.d.ts +1 -1
  14. package/dist/api/resources/Checklist.d.ts +1 -1
  15. package/dist/api/resources/Fusion.d.ts +4 -1
  16. package/dist/api/resources/Fusion.d.ts.map +1 -1
  17. package/dist/api/resources/Revenue.d.ts +27 -12
  18. package/dist/api/resources/Revenue.d.ts.map +1 -1
  19. package/dist/api/resources/Society.d.ts +1 -3
  20. package/dist/api/resources/Society.d.ts.map +1 -1
  21. package/dist/api/resources/Society.js +0 -6
  22. package/dist/api/resources/Society.js.map +1 -1
  23. package/dist/api/resources.d.ts +2 -2
  24. package/dist/api/resources.d.ts.map +1 -1
  25. package/dist/api/resources.js +2 -2
  26. package/dist/api/resources.js.map +1 -1
  27. package/dist/types/Enum/AIPrompt.d.ts +11 -1
  28. package/dist/types/Enum/AIPrompt.d.ts.map +1 -1
  29. package/dist/types/Enum/AIPrompt.js +62 -0
  30. package/dist/types/Enum/AIPrompt.js.map +1 -1
  31. package/dist/types/Enum/Aspone.d.ts +87 -87
  32. package/dist/types/Enum/Aspone.d.ts.map +1 -1
  33. package/dist/types/Enum/Aspone.js.map +1 -1
  34. package/dist/types/Enum/BalanceSheetQuestionWording.d.ts +7 -7
  35. package/dist/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  36. package/dist/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  37. package/dist/types/Enum/Log.d.ts +12 -1
  38. package/dist/types/Enum/Log.d.ts.map +1 -1
  39. package/dist/types/Enum/Log.js +11 -0
  40. package/dist/types/Enum/Log.js.map +1 -1
  41. package/dist/types/Enum/PrestationType.d.ts +2 -1
  42. package/dist/types/Enum/PrestationType.d.ts.map +1 -1
  43. package/dist/types/Enum/PrestationType.js +20 -0
  44. package/dist/types/Enum/PrestationType.js.map +1 -1
  45. package/dist/types/Interface/api/acd/Vat.d.ts +1 -0
  46. package/dist/types/Interface/api/acd/Vat.d.ts.map +1 -1
  47. package/dist/types/Interface/api/acd/Vat.js +1 -0
  48. package/dist/types/Interface/api/acd/Vat.js.map +1 -1
  49. package/dist/types/Interface/api/appointment/Appointment.d.ts +36 -0
  50. package/dist/types/Interface/api/appointment/Appointment.d.ts.map +1 -0
  51. package/dist/types/Interface/api/appointment/Appointment.js +70 -0
  52. package/dist/types/Interface/api/appointment/Appointment.js.map +1 -0
  53. package/dist/types/Interface/api/authentification/ForgotPassword.d.ts +0 -1
  54. package/dist/types/Interface/api/authentification/ForgotPassword.d.ts.map +1 -1
  55. package/dist/types/Interface/api/authentification/ForgotPassword.js +1 -8
  56. package/dist/types/Interface/api/authentification/ForgotPassword.js.map +1 -1
  57. package/dist/types/Interface/api/docoon/Create.d.ts +3 -0
  58. package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
  59. package/dist/types/Interface/api/docoon/Create.js +9 -1
  60. package/dist/types/Interface/api/docoon/Create.js.map +1 -1
  61. package/dist/types/Interface/api/inpi/inpi.d.ts +7 -0
  62. package/dist/types/Interface/api/inpi/inpi.d.ts.map +1 -1
  63. package/dist/types/Interface/api/inpi/inpi.js.map +1 -1
  64. package/dist/types/Interface/api/payment/Params.d.ts +9 -0
  65. package/dist/types/Interface/api/payment/Params.d.ts.map +1 -1
  66. package/dist/types/Interface/api/payment/Params.js +51 -1
  67. package/dist/types/Interface/api/payment/Params.js.map +1 -1
  68. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.d.ts +4 -0
  69. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.d.ts.map +1 -1
  70. package/dist/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.js.map +1 -1
  71. package/dist/types/Interface/api/user/RegisterProspect.d.ts +3 -1
  72. package/dist/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  73. package/dist/types/Interface/api/user/RegisterProspect.js.map +1 -1
  74. package/dist/types/index.d.ts +1 -2
  75. package/dist/types/index.d.ts.map +1 -1
  76. package/dist/types/index.js +1 -2
  77. package/dist/types/index.js.map +1 -1
  78. package/dist/utils/email.d.ts.map +1 -1
  79. package/dist/utils/email.js +3 -19
  80. package/dist/utils/email.js.map +1 -1
  81. package/package.json +15 -20
  82. package/ts/api/resources/Acd.ts +1 -5
  83. package/ts/api/resources/Appointment.ts +52 -0
  84. package/ts/api/resources/Authenticate.ts +5 -7
  85. package/ts/api/resources/Society.ts +0 -11
  86. package/ts/api/resources.ts +2 -2
  87. package/ts/types/Enum/AIPrompt.ts +76 -2
  88. package/ts/types/Enum/Aspone.ts +87 -87
  89. package/ts/types/Enum/BalanceSheetQuestionWording.ts +7 -7
  90. package/ts/types/Enum/Log.ts +12 -0
  91. package/ts/types/Enum/PrestationType.ts +20 -0
  92. package/ts/types/Interface/api/acd/Vat.ts +1 -0
  93. package/ts/types/Interface/api/appointment/Appointment.ts +63 -0
  94. package/ts/types/Interface/api/authentification/ForgotPassword.ts +1 -6
  95. package/ts/types/Interface/api/docoon/Create.ts +7 -0
  96. package/ts/types/Interface/api/inpi/inpi.ts +8 -0
  97. package/ts/types/Interface/api/payment/Params.ts +41 -1
  98. package/ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts +4 -0
  99. package/ts/types/Interface/api/user/RegisterProspect.ts +3 -1
  100. package/ts/types/index.ts +1 -2
  101. package/ts/utils/email.ts +3 -20
  102. package/dist/api/resources/Step.d.ts +0 -7
  103. package/dist/api/resources/Step.d.ts.map +0 -1
  104. package/dist/api/resources/Step.js +0 -8
  105. package/dist/api/resources/Step.js.map +0 -1
  106. package/dist/types/Interface/api/pappers/CreatePappers.d.ts +0 -34
  107. package/dist/types/Interface/api/pappers/CreatePappers.d.ts.map +0 -1
  108. package/dist/types/Interface/api/pappers/CreatePappers.js +0 -2
  109. package/dist/types/Interface/api/pappers/CreatePappers.js.map +0 -1
  110. package/dist/types/Interface/api/society/CreateSociety.d.ts +0 -36
  111. package/dist/types/Interface/api/society/CreateSociety.d.ts.map +0 -1
  112. package/dist/types/Interface/api/society/CreateSociety.js +0 -130
  113. package/dist/types/Interface/api/society/CreateSociety.js.map +0 -1
  114. package/ts/api/resources/Step.ts +0 -8
  115. package/ts/types/Interface/api/pappers/CreatePappers.ts +0 -37
  116. package/ts/types/Interface/api/society/CreateSociety.ts +0 -80
@@ -1,34 +0,0 @@
1
- import { ReadStatusPappers } from '../../../index.js';
2
- export type CreateSocietyPappers = {
3
- name: string | null;
4
- idLegalForm: number | null;
5
- descriptionActivity: string | null;
6
- capital: number | null;
7
- nafCode: string | null;
8
- address: string | null;
9
- zipCode: string | null;
10
- city: string | null;
11
- immatriculation: Date | null;
12
- };
13
- export type CreatePartnerPappers = {
14
- name: string | null;
15
- firstname: string | null;
16
- lastname: string | null;
17
- idNationality: number | null;
18
- isCorporation: boolean;
19
- sharesHeld: number | null;
20
- birthdate: Date | null;
21
- };
22
- export type CreateSocietyOwner = {
23
- firstname: string | null;
24
- lastname: string | null;
25
- birthdate: Date | null;
26
- };
27
- export type CreateSynchronization = {
28
- society: CreateSocietyPappers;
29
- owner: CreateSocietyOwner;
30
- partners: CreatePartnerPappers[];
31
- status: ReadStatusPappers | null;
32
- registration: string | null;
33
- };
34
- //# sourceMappingURL=CreatePappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePappers.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pappers/CreatePappers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CreatePappers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreatePappers.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pappers/CreatePappers.ts"],"names":[],"mappings":"","sourcesContent":["import { ReadStatusPappers } from '../../../index.js';\n\nexport type CreateSocietyPappers = {\n name: string | null;\n idLegalForm: number | null;\n descriptionActivity: string | null;\n capital: number | null;\n nafCode: string | null;\n address: string | null;\n zipCode: string | null;\n city: string | null;\n immatriculation: Date | null;\n};\n\nexport type CreatePartnerPappers = {\n name: string | null;\n firstname: string | null;\n lastname: string | null;\n idNationality: number | null;\n isCorporation: boolean;\n sharesHeld: number | null;\n birthdate: Date | null;\n};\n\nexport type CreateSocietyOwner = {\n firstname: string | null;\n lastname: string | null;\n birthdate: Date | null;\n};\n\nexport type CreateSynchronization = {\n society: CreateSocietyPappers;\n owner: CreateSocietyOwner;\n partners: CreatePartnerPappers[];\n status: ReadStatusPappers | null;\n registration: string | null;\n};\n"]}
@@ -1,36 +0,0 @@
1
- import { SubscriptionType } from '../../../Enum/SubscriptionType.js';
2
- import { RegistrationSource } from '../../../Enum/RegistrationSource.js';
3
- export type AnalticsUtm = {
4
- utm_source?: string;
5
- utm_campaign?: string;
6
- utm_medium?: string;
7
- };
8
- export declare class CreateSociety {
9
- idUser: number;
10
- idTypeCompta: number;
11
- name?: string;
12
- siret?: string;
13
- address?: string;
14
- addressComplement?: string;
15
- city?: string;
16
- idCountry?: number;
17
- idActivity?: number;
18
- idVatRegime?: number;
19
- idLegalForm?: number;
20
- exercicePeriod?: {
21
- start: string;
22
- end: string;
23
- };
24
- nafCode?: string;
25
- zipCode?: string;
26
- idSource?: RegistrationSource;
27
- analyticsUtm?: AnalticsUtm;
28
- confirmedAt?: string;
29
- idFiscalRegime?: number;
30
- profitsType?: number;
31
- idTaxSystem?: number;
32
- idSector?: number;
33
- leadQuotation?: number;
34
- idSubscriptionType?: SubscriptionType;
35
- }
36
- //# sourceMappingURL=CreateSociety.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,qBAAa,aAAa;IAExB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAGhD,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAG9B,YAAY,CAAC,EAAE,WAAW,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;CACvC"}
@@ -1,130 +0,0 @@
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 { SubscriptionType } from '../../../Enum/SubscriptionType.js';
12
- import { RegistrationSource } from '../../../Enum/RegistrationSource.js';
13
- export class CreateSociety {
14
- idUser;
15
- idTypeCompta;
16
- name;
17
- siret;
18
- address;
19
- addressComplement;
20
- city;
21
- idCountry;
22
- idActivity;
23
- idVatRegime;
24
- idLegalForm;
25
- exercicePeriod;
26
- nafCode;
27
- zipCode;
28
- idSource;
29
- analyticsUtm;
30
- confirmedAt;
31
- idFiscalRegime;
32
- profitsType;
33
- idTaxSystem;
34
- idSector;
35
- leadQuotation;
36
- idSubscriptionType;
37
- }
38
- __decorate([
39
- ApiProperty(),
40
- __metadata("design:type", Number)
41
- ], CreateSociety.prototype, "idUser", void 0);
42
- __decorate([
43
- ApiProperty(),
44
- __metadata("design:type", Number)
45
- ], CreateSociety.prototype, "idTypeCompta", void 0);
46
- __decorate([
47
- ApiPropertyOptional(),
48
- __metadata("design:type", String)
49
- ], CreateSociety.prototype, "name", void 0);
50
- __decorate([
51
- ApiPropertyOptional(),
52
- __metadata("design:type", String)
53
- ], CreateSociety.prototype, "siret", void 0);
54
- __decorate([
55
- ApiPropertyOptional(),
56
- __metadata("design:type", String)
57
- ], CreateSociety.prototype, "address", void 0);
58
- __decorate([
59
- ApiPropertyOptional(),
60
- __metadata("design:type", String)
61
- ], CreateSociety.prototype, "addressComplement", void 0);
62
- __decorate([
63
- ApiPropertyOptional(),
64
- __metadata("design:type", String)
65
- ], CreateSociety.prototype, "city", void 0);
66
- __decorate([
67
- ApiPropertyOptional(),
68
- __metadata("design:type", Number)
69
- ], CreateSociety.prototype, "idCountry", void 0);
70
- __decorate([
71
- ApiPropertyOptional(),
72
- __metadata("design:type", Number)
73
- ], CreateSociety.prototype, "idActivity", void 0);
74
- __decorate([
75
- ApiPropertyOptional(),
76
- __metadata("design:type", Number)
77
- ], CreateSociety.prototype, "idVatRegime", void 0);
78
- __decorate([
79
- ApiPropertyOptional(),
80
- __metadata("design:type", Number)
81
- ], CreateSociety.prototype, "idLegalForm", void 0);
82
- __decorate([
83
- ApiPropertyOptional(),
84
- __metadata("design:type", Object)
85
- ], CreateSociety.prototype, "exercicePeriod", void 0);
86
- __decorate([
87
- ApiPropertyOptional(),
88
- __metadata("design:type", String)
89
- ], CreateSociety.prototype, "nafCode", void 0);
90
- __decorate([
91
- ApiPropertyOptional(),
92
- __metadata("design:type", String)
93
- ], CreateSociety.prototype, "zipCode", void 0);
94
- __decorate([
95
- ApiPropertyOptional({ enum: RegistrationSource }),
96
- __metadata("design:type", Number)
97
- ], CreateSociety.prototype, "idSource", void 0);
98
- __decorate([
99
- ApiPropertyOptional(),
100
- __metadata("design:type", Object)
101
- ], CreateSociety.prototype, "analyticsUtm", void 0);
102
- __decorate([
103
- ApiPropertyOptional(),
104
- __metadata("design:type", String)
105
- ], CreateSociety.prototype, "confirmedAt", void 0);
106
- __decorate([
107
- ApiPropertyOptional(),
108
- __metadata("design:type", Number)
109
- ], CreateSociety.prototype, "idFiscalRegime", void 0);
110
- __decorate([
111
- ApiPropertyOptional(),
112
- __metadata("design:type", Number)
113
- ], CreateSociety.prototype, "profitsType", void 0);
114
- __decorate([
115
- ApiPropertyOptional(),
116
- __metadata("design:type", Number)
117
- ], CreateSociety.prototype, "idTaxSystem", void 0);
118
- __decorate([
119
- ApiPropertyOptional(),
120
- __metadata("design:type", Number)
121
- ], CreateSociety.prototype, "idSector", void 0);
122
- __decorate([
123
- ApiPropertyOptional(),
124
- __metadata("design:type", Number)
125
- ], CreateSociety.prototype, "leadQuotation", void 0);
126
- __decorate([
127
- ApiPropertyOptional({ enum: SubscriptionType }),
128
- __metadata("design:type", Number)
129
- ], CreateSociety.prototype, "idSubscriptionType", void 0);
130
- //# sourceMappingURL=CreateSociety.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAQzE,MAAM,OAAO,aAAa;IAExB,MAAM,CAAS;IAGf,YAAY,CAAS;IAGrB,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,OAAO,CAAU;IAGjB,iBAAiB,CAAU;IAG3B,IAAI,CAAU;IAGd,SAAS,CAAU;IAGnB,UAAU,CAAU;IAGpB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,cAAc,CAAkC;IAGhD,OAAO,CAAU;IAGjB,OAAO,CAAU;IAGjB,QAAQ,CAAsB;IAG9B,YAAY,CAAe;IAG3B,WAAW,CAAU;IAGrB,cAAc,CAAU;IAGxB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,QAAQ,CAAU;IAGlB,aAAa,CAAU;IAGvB,kBAAkB,CAAoB;CACvC;AAnEC;IADC,WAAW,EAAE;;6CACC;AAGf;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;4CACP;AAGf;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;wDACK;AAG3B;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;gDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;;+CACpB;AAG9B;IADC,mBAAmB,EAAE;;mDACK;AAG3B;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;+CACJ;AAGlB;IADC,mBAAmB,EAAE;;oDACC;AAGvB;IADC,mBAAmB,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;;yDACV","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType.js';\nimport { RegistrationSource } from '../../../Enum/RegistrationSource.js';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n siret?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n addressComplement?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string; end: string };\n\n @ApiPropertyOptional()\n nafCode?: string;\n\n @ApiPropertyOptional()\n zipCode?: string;\n\n @ApiPropertyOptional({ enum: RegistrationSource })\n idSource?: RegistrationSource;\n\n @ApiPropertyOptional()\n analyticsUtm?: AnalticsUtm;\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n idSector?: number;\n\n @ApiPropertyOptional()\n leadQuotation?: number;\n\n @ApiPropertyOptional({ enum: SubscriptionType })\n idSubscriptionType?: SubscriptionType;\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { Resource } from '../Resource.js';
2
-
3
- const ROUTE = 'society';
4
- export class Steps extends Resource {
5
- updateSteps(idSociety: number, params: { step: string }): Promise<any> {
6
- return this.axios.$post(`${ROUTE}/subscription/${idSociety}/steps`, params);
7
- }
8
- }
@@ -1,37 +0,0 @@
1
- import { ReadStatusPappers } from '../../../index.js';
2
-
3
- export type CreateSocietyPappers = {
4
- name: string | null;
5
- idLegalForm: number | null;
6
- descriptionActivity: string | null;
7
- capital: number | null;
8
- nafCode: string | null;
9
- address: string | null;
10
- zipCode: string | null;
11
- city: string | null;
12
- immatriculation: Date | null;
13
- };
14
-
15
- export type CreatePartnerPappers = {
16
- name: string | null;
17
- firstname: string | null;
18
- lastname: string | null;
19
- idNationality: number | null;
20
- isCorporation: boolean;
21
- sharesHeld: number | null;
22
- birthdate: Date | null;
23
- };
24
-
25
- export type CreateSocietyOwner = {
26
- firstname: string | null;
27
- lastname: string | null;
28
- birthdate: Date | null;
29
- };
30
-
31
- export type CreateSynchronization = {
32
- society: CreateSocietyPappers;
33
- owner: CreateSocietyOwner;
34
- partners: CreatePartnerPappers[];
35
- status: ReadStatusPappers | null;
36
- registration: string | null;
37
- };
@@ -1,80 +0,0 @@
1
- import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
2
- import { SubscriptionType } from '../../../Enum/SubscriptionType.js';
3
- import { RegistrationSource } from '../../../Enum/RegistrationSource.js';
4
-
5
- export type AnalticsUtm = {
6
- utm_source?: string;
7
- utm_campaign?: string;
8
- utm_medium?: string;
9
- };
10
-
11
- export class CreateSociety {
12
- @ApiProperty()
13
- idUser: number;
14
-
15
- @ApiProperty()
16
- idTypeCompta: number;
17
-
18
- @ApiPropertyOptional()
19
- name?: string;
20
-
21
- @ApiPropertyOptional()
22
- siret?: string;
23
-
24
- @ApiPropertyOptional()
25
- address?: string;
26
-
27
- @ApiPropertyOptional()
28
- addressComplement?: string;
29
-
30
- @ApiPropertyOptional()
31
- city?: string;
32
-
33
- @ApiPropertyOptional()
34
- idCountry?: number;
35
-
36
- @ApiPropertyOptional()
37
- idActivity?: number;
38
-
39
- @ApiPropertyOptional()
40
- idVatRegime?: number;
41
-
42
- @ApiPropertyOptional()
43
- idLegalForm?: number;
44
-
45
- @ApiPropertyOptional()
46
- exercicePeriod?: { start: string; end: string };
47
-
48
- @ApiPropertyOptional()
49
- nafCode?: string;
50
-
51
- @ApiPropertyOptional()
52
- zipCode?: string;
53
-
54
- @ApiPropertyOptional({ enum: RegistrationSource })
55
- idSource?: RegistrationSource;
56
-
57
- @ApiPropertyOptional()
58
- analyticsUtm?: AnalticsUtm;
59
-
60
- @ApiPropertyOptional()
61
- confirmedAt?: string;
62
-
63
- @ApiPropertyOptional()
64
- idFiscalRegime?: number;
65
-
66
- @ApiPropertyOptional()
67
- profitsType?: number;
68
-
69
- @ApiPropertyOptional()
70
- idTaxSystem?: number;
71
-
72
- @ApiPropertyOptional()
73
- idSector?: number;
74
-
75
- @ApiPropertyOptional()
76
- leadQuotation?: number;
77
-
78
- @ApiPropertyOptional({ enum: SubscriptionType })
79
- idSubscriptionType?: SubscriptionType;
80
- }