@silexpert/core 1.3.198 → 1.3.199-2

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 (185) hide show
  1. package/dist/cjs/api/resources/User.d.ts +7 -1
  2. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/User.js +34 -0
  4. package/dist/cjs/api/resources/User.js.map +1 -1
  5. package/dist/cjs/api/resources/WorkingSchedule.d.ts +2 -1
  6. package/dist/cjs/api/resources/WorkingSchedule.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/WorkingSchedule.js +3 -0
  8. package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
  9. package/dist/cjs/types/Enum/Card.d.ts +2 -2
  10. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/Card.js +2 -2
  12. package/dist/cjs/types/Enum/Card.js.map +1 -1
  13. package/dist/cjs/types/Enum/EquipmentType.d.ts +15 -0
  14. package/dist/cjs/types/Enum/EquipmentType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/EquipmentType.js +15 -0
  16. package/dist/cjs/types/Enum/EquipmentType.js.map +1 -1
  17. package/dist/cjs/types/Enum/Ged.js +1 -1
  18. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  19. package/dist/cjs/types/Enum/PrestationState.d.ts +1 -2
  20. package/dist/cjs/types/Enum/PrestationState.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/PrestationState.js +0 -7
  22. package/dist/cjs/types/Enum/PrestationState.js.map +1 -1
  23. package/dist/cjs/types/Enum/PrestationType.d.ts +0 -1
  24. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/PrestationType.js +3 -24
  26. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  27. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  28. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +4 -19
  29. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -1
  31. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  32. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +0 -6
  33. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  34. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +0 -1
  35. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  36. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +0 -6
  37. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  38. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +0 -2
  39. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  40. package/dist/cjs/types/Interface/api/prestation/Query.js +0 -13
  41. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  42. package/dist/cjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
  43. package/dist/cjs/types/Interface/api/user/CreateCoworker.js +4 -0
  44. package/dist/cjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
  45. package/dist/cjs/types/index.d.ts +0 -5
  46. package/dist/cjs/types/index.d.ts.map +1 -1
  47. package/dist/cjs/types/index.js +0 -5
  48. package/dist/cjs/types/index.js.map +1 -1
  49. package/dist/cjs/utils/documents.js +1 -1
  50. package/dist/cjs/utils/documents.js.map +1 -1
  51. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  52. package/dist/cjs/utils/prestation.js +1 -2
  53. package/dist/cjs/utils/prestation.js.map +1 -1
  54. package/dist/cjs/utils/transforms/number.transform.d.ts +3 -0
  55. package/dist/cjs/utils/transforms/number.transform.d.ts.map +1 -0
  56. package/dist/cjs/utils/transforms/number.transform.js +36 -0
  57. package/dist/cjs/utils/transforms/number.transform.js.map +1 -0
  58. package/dist/mjs/api/resources/User.d.ts +7 -1
  59. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  60. package/dist/mjs/api/resources/User.js +34 -0
  61. package/dist/mjs/api/resources/User.js.map +1 -1
  62. package/dist/mjs/api/resources/WorkingSchedule.d.ts +2 -1
  63. package/dist/mjs/api/resources/WorkingSchedule.d.ts.map +1 -1
  64. package/dist/mjs/api/resources/WorkingSchedule.js +3 -0
  65. package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
  66. package/dist/mjs/types/Enum/Card.d.ts +2 -2
  67. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  68. package/dist/mjs/types/Enum/Card.js +2 -2
  69. package/dist/mjs/types/Enum/Card.js.map +1 -1
  70. package/dist/mjs/types/Enum/EquipmentType.d.ts +15 -0
  71. package/dist/mjs/types/Enum/EquipmentType.d.ts.map +1 -1
  72. package/dist/mjs/types/Enum/EquipmentType.js +15 -0
  73. package/dist/mjs/types/Enum/EquipmentType.js.map +1 -1
  74. package/dist/mjs/types/Enum/Ged.js +1 -1
  75. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  76. package/dist/mjs/types/Enum/PrestationState.d.ts +1 -2
  77. package/dist/mjs/types/Enum/PrestationState.d.ts.map +1 -1
  78. package/dist/mjs/types/Enum/PrestationState.js +0 -7
  79. package/dist/mjs/types/Enum/PrestationState.js.map +1 -1
  80. package/dist/mjs/types/Enum/PrestationType.d.ts +0 -1
  81. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  82. package/dist/mjs/types/Enum/PrestationType.js +2 -23
  83. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  84. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  85. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +5 -20
  86. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  87. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -1
  88. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  89. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +0 -7
  90. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  91. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +0 -1
  92. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  93. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +0 -6
  94. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  95. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +0 -2
  96. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  97. package/dist/mjs/types/Interface/api/prestation/Query.js +0 -15
  98. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  99. package/dist/mjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
  100. package/dist/mjs/types/Interface/api/user/CreateCoworker.js +4 -0
  101. package/dist/mjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
  102. package/dist/mjs/types/index.d.ts +0 -5
  103. package/dist/mjs/types/index.d.ts.map +1 -1
  104. package/dist/mjs/types/index.js +0 -5
  105. package/dist/mjs/types/index.js.map +1 -1
  106. package/dist/mjs/utils/documents.js +1 -1
  107. package/dist/mjs/utils/documents.js.map +1 -1
  108. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  109. package/dist/mjs/utils/prestation.js +1 -2
  110. package/dist/mjs/utils/prestation.js.map +1 -1
  111. package/dist/mjs/utils/transforms/number.transform.d.ts +3 -0
  112. package/dist/mjs/utils/transforms/number.transform.d.ts.map +1 -0
  113. package/dist/mjs/utils/transforms/number.transform.js +33 -0
  114. package/dist/mjs/utils/transforms/number.transform.js.map +1 -0
  115. package/package.json +1 -1
  116. package/ts/api/resources/User.ts +44 -0
  117. package/ts/api/resources/WorkingSchedule.ts +5 -0
  118. package/ts/types/Enum/Card.ts +2 -2
  119. package/ts/types/Enum/EquipmentType.ts +15 -0
  120. package/ts/types/Enum/Ged.ts +1 -1
  121. package/ts/types/Enum/PrestationState.ts +0 -7
  122. package/ts/types/Enum/PrestationType.ts +2 -24
  123. package/ts/types/Enum/SalesContractBrandClementine.ts +4 -20
  124. package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -5
  125. package/ts/types/Interface/api/card/QueryUserCards.ts +0 -5
  126. package/ts/types/Interface/api/prestation/Query.ts +0 -11
  127. package/ts/types/Interface/api/user/CreateCoworker.ts +4 -0
  128. package/ts/types/index.ts +0 -5
  129. package/ts/utils/documents.ts +1 -1
  130. package/ts/utils/prestation.ts +1 -2
  131. package/ts/utils/transforms/number.transform.ts +38 -0
  132. package/dist/cjs/api/resources/Webex.d.ts +0 -8
  133. package/dist/cjs/api/resources/Webex.d.ts.map +0 -1
  134. package/dist/cjs/api/resources/Webex.js +0 -17
  135. package/dist/cjs/api/resources/Webex.js.map +0 -1
  136. package/dist/cjs/types/Enum/EbookIntention.d.ts +0 -8
  137. package/dist/cjs/types/Enum/EbookIntention.d.ts.map +0 -1
  138. package/dist/cjs/types/Enum/EbookIntention.js +0 -18
  139. package/dist/cjs/types/Enum/EbookIntention.js.map +0 -1
  140. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  141. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  142. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js +0 -38
  143. package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  144. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  145. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  146. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +0 -3
  147. package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  148. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  149. package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  150. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js +0 -3
  151. package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  152. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  153. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  154. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  155. package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  156. package/dist/mjs/api/resources/Webex.d.ts +0 -8
  157. package/dist/mjs/api/resources/Webex.d.ts.map +0 -1
  158. package/dist/mjs/api/resources/Webex.js +0 -13
  159. package/dist/mjs/api/resources/Webex.js.map +0 -1
  160. package/dist/mjs/types/Enum/EbookIntention.d.ts +0 -8
  161. package/dist/mjs/types/Enum/EbookIntention.d.ts.map +0 -1
  162. package/dist/mjs/types/Enum/EbookIntention.js +0 -15
  163. package/dist/mjs/types/Enum/EbookIntention.js.map +0 -1
  164. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
  165. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
  166. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js +0 -38
  167. package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
  168. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
  169. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
  170. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +0 -2
  171. package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
  172. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
  173. package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
  174. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +0 -2
  175. package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
  176. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
  177. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
  178. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
  179. package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
  180. package/ts/api/resources/Webex.ts +0 -16
  181. package/ts/types/Enum/EbookIntention.ts +0 -14
  182. package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -20
  183. package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
  184. package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
  185. package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
@@ -4,7 +4,6 @@ import {
4
4
  allPrestationsWithBrochure,
5
5
  PrestationDetail,
6
6
  allPrestations2025WithBrochure,
7
- allPrestations2025WithCGV,
8
7
  } from './PrestationType';
9
8
 
10
9
  export const SalesContractClementine: SaleContract[] = [
@@ -138,14 +137,6 @@ export const SalesContractClementine: SaleContract[] = [
138
137
  versionable: false,
139
138
  keyName: 'prestationOptions', //TODO: pas sûr de la pertinence de cette keyName
140
139
  },
141
- {
142
- label: 'Dissolution / Liquidation 2026',
143
- name: 'bloc_dissolution_liquidation_2026',
144
- needBgImage: false,
145
- idPrestationType: [PrestationType.DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE],
146
- versionable: false,
147
- //keyName: 'prestationOptions', //TODO: pas sûr de la pertinence de cette keyName
148
- },
149
140
  {
150
141
  label: 'Prestations complémentaires 2025',
151
142
  name: 'page_presta_complem_2025',
@@ -362,28 +353,21 @@ export const SalesContractClementine: SaleContract[] = [
362
353
  label: 'Conditions Générales de Vente 2025 (CGV) 1/3',
363
354
  name: 'bloc_cgv_first_2025',
364
355
  needBgImage: false,
365
- idPrestationType: allPrestations2025WithCGV,
356
+ idPrestationType: allPrestations2025WithBrochure,
366
357
  versionable: false,
367
358
  },
368
359
  {
369
360
  label: 'Conditions Générales de Vente 2025 (CGV) 2/3',
370
361
  name: 'bloc_cgv_second_2025',
371
362
  needBgImage: false,
372
- idPrestationType: allPrestations2025WithCGV,
363
+ idPrestationType: allPrestations2025WithBrochure,
373
364
  versionable: false,
374
365
  },
375
366
  {
376
367
  label: 'Conditions Générales de Vente 2025 (CGV) 3/3',
377
368
  name: 'bloc_cgv_third_2025',
378
369
  needBgImage: false,
379
- idPrestationType: allPrestations2025WithCGV,
380
- versionable: false,
381
- },
382
- {
383
- label: 'Conditions Générales de Vente Dissolution / Liquidation 2026 (CGV)',
384
- name: 'bloc_cgv_dissolution_liquidation_2026',
385
- needBgImage: false,
386
- idPrestationType: [PrestationType.DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE],
370
+ idPrestationType: allPrestations2025WithBrochure,
387
371
  versionable: false,
388
372
  },
389
373
  {
@@ -391,7 +375,7 @@ export const SalesContractClementine: SaleContract[] = [
391
375
  name: 'page_detail_ldm_2025',
392
376
  needBgImage: false,
393
377
  versionable: false,
394
- idPrestationType: allPrestations2025WithCGV,
378
+ idPrestationType: allPrestations2025WithBrochure,
395
379
  },
396
380
  {
397
381
  label: 'Devis 2025',
@@ -39,11 +39,6 @@ export class CreateContact {
39
39
  @IsString()
40
40
  @IsOptional()
41
41
  godfatherName?: string;
42
-
43
- @ApiPropertyOptional()
44
- @IsOptional()
45
- @IsString()
46
- ebookTag?: string;
47
42
  }
48
43
 
49
44
  export class GetContact {
@@ -44,11 +44,6 @@ export class QueryUserCards {
44
44
  @IsBoolean()
45
45
  @ToBoolean()
46
46
  declare includePostponed?: boolean;
47
-
48
- @ApiPropertyOptional()
49
- @IsOptional()
50
- @IsArray()
51
- declare idTypeBrand?: number[];
52
47
  }
53
48
 
54
49
  export class QueryUserCardsPaginated extends QueryUserCards {
@@ -34,12 +34,6 @@ export class QueryCreatePrestation {
34
34
  @IsOptional()
35
35
  @IsObject()
36
36
  subPrestationsOffer?: ICommercialOffer;
37
-
38
- @ApiPropertyOptional()
39
- @IsOptional()
40
- @IsBoolean()
41
- @ToBoolean()
42
- allowClientAccess?: boolean;
43
37
  }
44
38
 
45
39
  export interface subPrestationsType {
@@ -116,9 +110,4 @@ export class QueryUpdatePrestation {
116
110
  @IsBoolean()
117
111
  @ToBoolean()
118
112
  signed: boolean;
119
-
120
- @ApiPropertyOptional()
121
- @IsOptional()
122
- @IsInt()
123
- idPrestationList: number;
124
113
  }
@@ -13,6 +13,7 @@ import {
13
13
  } from 'class-validator';
14
14
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
15
15
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
16
+ import { ToNumber } from '../../../../utils/transforms/number.transform';
16
17
  import { EntityType } from '../../../Enum/EntityType';
17
18
 
18
19
  export class CreateCoworker {
@@ -49,6 +50,7 @@ export class CreateCoworker {
49
50
  @ApiPropertyOptional()
50
51
  @IsOptional()
51
52
  @IsNumber()
53
+ @ToNumber()
52
54
  idCivility?: number;
53
55
 
54
56
  @ApiProperty({ default: true })
@@ -101,11 +103,13 @@ export class CreateCoworker {
101
103
  @ApiProperty()
102
104
  @IsDefined()
103
105
  @IsInt()
106
+ @ToNumber()
104
107
  idOffice: number;
105
108
 
106
109
  @ApiProperty()
107
110
  @IsDefined()
108
111
  @IsEnum(EntityType)
112
+ @ToNumber()
109
113
  entity: EntityType;
110
114
 
111
115
  @ApiPropertyOptional()
package/ts/types/index.ts CHANGED
@@ -566,7 +566,6 @@ export * from './Enum/PaymentAttempt';
566
566
  export * from './Enum/InformationRequestType';
567
567
  export * from './Enum/InformationRequestState';
568
568
  export * from './Enum/Revenue';
569
- export * from './Enum/EbookIntention';
570
569
 
571
570
  // Interfaces API
572
571
  export * from './Interface/api/authentification/AuthenticationResponse';
@@ -1198,8 +1197,4 @@ export * from './Interface/api/refund/QueryRefundPaginated';
1198
1197
  export * from './Interface/api/revenue/revenueMovement';
1199
1198
  export * from './Interface/api/revenue/revenueSnapshot';
1200
1199
  export * from './Interface/api/revenue/revenueSnapshotGenerate';
1201
- export * from './Interface/api/webex/GetWebinarsParams';
1202
- export * from './Interface/api/webex/PaginatedWebinars';
1203
- export * from './Interface/api/webex/WebexMeeting';
1204
- export * from './Interface/api/webex/WebexRegistrant';
1205
1200
  export * from './Interface/api/bankAccount/Benchmark';
@@ -31,7 +31,7 @@ const requiredListDocs = (params: RequiredDocsType): GedFileType[] => {
31
31
  return [GedFileType.RIB, GedFileType.PLAQUETTE];
32
32
  }
33
33
 
34
- const generique = [GedFileType.IDENTITY_CARD, GedFileType.RIB, GedFileType.PLAQUETTE, GedFileType.FISCAL_MEMENTO];
34
+ const generique = [GedFileType.IDENTITY_CARD, GedFileType.RIB, GedFileType.PLAQUETTE];
35
35
 
36
36
  // Si le client faisait sa compta lui-même
37
37
  // et que le goToClient est supérieur à la date de reprise + 4 mois
@@ -183,7 +183,7 @@ const calculateScoringOfPrestation = (
183
183
  isSoftwarePrestation([idPrestationType]) &&
184
184
  currentPrestation?.exercices?.length &&
185
185
  //@ts-expect-error
186
- (currentPrestation?.exercices[0].ExercicePrestation?.totalPrestation < 72 ||
186
+ (currentPrestation?.exercices[0].ExercicePrestation?.totalPrestation < 80 ||
187
187
  //@ts-expect-error
188
188
  currentPrestation?.exercices[0].ExercicePrestation?.monthNumber !== 1)
189
189
  ) {
@@ -385,7 +385,6 @@ const calculatePrestationPriceWithPriceGrid = (
385
385
  if (totalMonth > 0) {
386
386
  if (isYearly) {
387
387
  yearlyPrice = (10 - totalMonth) * (yearlyPrice ? yearlyPrice / 10 : 0);
388
- monthNbr = monthNbr - totalMonth;
389
388
  } else {
390
389
  monthNbr = monthNbr - totalMonth;
391
390
  }
@@ -0,0 +1,38 @@
1
+ import { Transform } from 'class-transformer';
2
+
3
+ const valueToNumber = (value: any) => {
4
+ if (value === null || value === undefined || value === '') {
5
+ return undefined;
6
+ }
7
+ if (typeof value === 'number') {
8
+ return value;
9
+ }
10
+ if (typeof value === 'string') {
11
+ const num = Number(value);
12
+ if (isNaN(num)) {
13
+ return undefined;
14
+ }
15
+ return num;
16
+ }
17
+ return undefined;
18
+ };
19
+
20
+ const ToNumber = () => {
21
+ const toPlain = Transform(
22
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
23
+ ({ value }) => value,
24
+ {
25
+ toPlainOnly: true,
26
+ },
27
+ );
28
+ const toClass = (target: any, key: string) =>
29
+ Transform(({ obj }) => valueToNumber(obj[key]), {
30
+ toClassOnly: true,
31
+ })(target, key);
32
+ return (target: any, key: string) => {
33
+ toPlain(target, key);
34
+ toClass(target, key);
35
+ };
36
+ };
37
+
38
+ export { ToNumber };
@@ -1,8 +0,0 @@
1
- import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';
2
- import { Resource } from '../Resource';
3
- export declare class Webex extends Resource {
4
- getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars>;
5
- getWebinarById(meetingId: string): Promise<any>;
6
- addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant>;
7
- }
8
- //# sourceMappingURL=Webex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Webex.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Webex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC5G,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,KAAM,SAAQ,QAAQ;IACjC,WAAW,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAInE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAI/C,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,sBAAsB,GAAG,OAAO,CAAC,eAAe,CAAC;CAG/F"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Webex = void 0;
4
- const Resource_1 = require("../Resource");
5
- class Webex extends Resource_1.Resource {
6
- getWebinars(params) {
7
- return this.axios.$get('/connectors/webex/webinars', { params });
8
- }
9
- getWebinarById(meetingId) {
10
- return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);
11
- }
12
- addRegistrant(meetingId, registrant) {
13
- return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);
14
- }
15
- }
16
- exports.Webex = Webex;
17
- //# sourceMappingURL=Webex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Webex.js","sourceRoot":"","sources":["../../../../ts/api/resources/Webex.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,KAAM,SAAQ,mBAAQ;IACjC,WAAW,CAAC,MAA0B;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,cAAc,CAAC,SAAiB;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,aAAa,CAAC,SAAiB,EAAE,UAAkC;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,SAAS,cAAc,EAAE,UAAU,CAAC,CAAC;IAC7F,CAAC;CACF;AAZD,sBAYC","sourcesContent":["import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Webex extends Resource {\n getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars> {\n return this.axios.$get('/connectors/webex/webinars', { params });\n }\n\n getWebinarById(meetingId: string): Promise<any> {\n return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);\n }\n\n addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant> {\n return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);\n }\n}\n"]}
@@ -1,8 +0,0 @@
1
- export declare enum EbookIntention {
2
- FACTU_ONLY = "Facturation uniquement",
3
- FACTU_COMPTA = "Facturation + comptabilit\u00E9",
4
- INFO_REFORME = "Je cherche juste \u00E0 comprendre la r\u00E9forme",
5
- CHANGE_TOOL = "Je dois changer d'outil rapidement"
6
- }
7
- export declare const BrevoEbookIntentionMapping: Record<EbookIntention, string>;
8
- //# sourceMappingURL=EbookIntention.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EbookIntention.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/EbookIntention.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,UAAU,2BAA2B;IACrC,YAAY,oCAA+B;IAC3C,YAAY,uDAA6C;IAEzD,WAAW,uCAAwC;CACpD;AAED,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAKrE,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BrevoEbookIntentionMapping = exports.EbookIntention = void 0;
4
- var EbookIntention;
5
- (function (EbookIntention) {
6
- EbookIntention["FACTU_ONLY"] = "Facturation uniquement";
7
- EbookIntention["FACTU_COMPTA"] = "Facturation + comptabilit\u00E9";
8
- EbookIntention["INFO_REFORME"] = "Je cherche juste \u00E0 comprendre la r\u00E9forme";
9
- // prettier-ignore
10
- EbookIntention["CHANGE_TOOL"] = "Je dois changer d'outil rapidement";
11
- })(EbookIntention || (exports.EbookIntention = EbookIntention = {}));
12
- exports.BrevoEbookIntentionMapping = {
13
- [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',
14
- [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',
15
- [EbookIntention.INFO_REFORME]: 'INFO_REFORME',
16
- [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',
17
- };
18
- //# sourceMappingURL=EbookIntention.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EbookIntention.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EbookIntention.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,kEAA2C,CAAA;IAC3C,qFAAyD,CAAA;IACzD,kBAAkB;IAClB,oEAAmD,CAAA;AACrD,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAEY,QAAA,0BAA0B,GAAmC;IACxE,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,YAAY;IACzC,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,cAAc;IAC7C,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,cAAc;IAC7C,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,aAAa;CAC5C,CAAC","sourcesContent":["export enum EbookIntention {\n FACTU_ONLY = 'Facturation uniquement',\n FACTU_COMPTA = 'Facturation + comptabilité',\n INFO_REFORME = 'Je cherche juste à comprendre la réforme',\n // prettier-ignore\n CHANGE_TOOL = 'Je dois changer d\\'outil rapidement',\n}\n\nexport const BrevoEbookIntentionMapping: Record<EbookIntention, string> = {\n [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',\n [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',\n [EbookIntention.INFO_REFORME]: 'INFO_REFORME',\n [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',\n};\n"]}
@@ -1,7 +0,0 @@
1
- export declare class GetWebinarsParams {
2
- from?: string;
3
- to?: string;
4
- limit?: number;
5
- skip?: number;
6
- }
7
- //# sourceMappingURL=GetWebinarsParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetWebinarsParams = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class GetWebinarsParams {
16
- }
17
- exports.GetWebinarsParams = GetWebinarsParams;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsString)(),
21
- __metadata("design:type", String)
22
- ], GetWebinarsParams.prototype, "from", void 0);
23
- __decorate([
24
- (0, utils_1.ApiProperty)(),
25
- (0, class_validator_1.IsString)(),
26
- __metadata("design:type", String)
27
- ], GetWebinarsParams.prototype, "to", void 0);
28
- __decorate([
29
- (0, utils_1.ApiProperty)(),
30
- (0, class_validator_1.IsInt)(),
31
- __metadata("design:type", Number)
32
- ], GetWebinarsParams.prototype, "limit", void 0);
33
- __decorate([
34
- (0, utils_1.ApiProperty)(),
35
- (0, class_validator_1.IsInt)(),
36
- __metadata("design:type", Number)
37
- ], GetWebinarsParams.prototype, "skip", void 0);
38
- //# sourceMappingURL=GetWebinarsParams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,6CAAgD;AAEhD,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+CACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACC;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;+CACM","sourcesContent":["import { IsInt, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetWebinarsParams {\n @ApiProperty()\n @IsString()\n from?: string;\n\n @ApiProperty()\n @IsString()\n to?: string;\n\n @ApiProperty()\n @IsInt()\n limit?: number;\n\n @ApiProperty()\n @IsInt()\n skip?: number;\n}\n"]}
@@ -1,7 +0,0 @@
1
- import { WebexMeeting } from './WebexMeeting';
2
- export interface PaginatedWebinars {
3
- skip: number;
4
- limit: number;
5
- items: WebexMeeting[];
6
- }
7
- //# sourceMappingURL=PaginatedWebinars.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedWebinars.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/PaginatedWebinars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=PaginatedWebinars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedWebinars.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/PaginatedWebinars.ts"],"names":[],"mappings":"","sourcesContent":["import { WebexMeeting } from './WebexMeeting';\n\nexport interface PaginatedWebinars {\n skip: number;\n limit: number;\n items: WebexMeeting[];\n}\n"]}
@@ -1,22 +0,0 @@
1
- export interface WebexMeeting {
2
- id: string;
3
- meetingNumber: string;
4
- title: string;
5
- password?: string;
6
- phoneAndVideoSystemPassword?: string;
7
- meetingType: string;
8
- state: string;
9
- timezone: string;
10
- start: string;
11
- end: string;
12
- hostUserId: string;
13
- hostDisplayName: string;
14
- hostEmail: string;
15
- webLink: string;
16
- sipAddress?: string;
17
- dialInIpAddress?: string;
18
- enabledAutoRecordMeeting?: boolean;
19
- allowAnyUserToBeCoHost?: boolean;
20
- telephony?: any;
21
- }
22
- //# sourceMappingURL=WebexMeeting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexMeeting.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexMeeting.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WebexMeeting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexMeeting.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexMeeting.ts"],"names":[],"mappings":"","sourcesContent":["export interface WebexMeeting {\n id: string;\n meetingNumber: string;\n title: string;\n password?: string;\n phoneAndVideoSystemPassword?: string;\n meetingType: string;\n state: string;\n timezone: string;\n start: string;\n end: string;\n hostUserId: string;\n hostDisplayName: string;\n hostEmail: string;\n webLink: string;\n sipAddress?: string;\n dialInIpAddress?: string;\n enabledAutoRecordMeeting?: boolean;\n allowAnyUserToBeCoHost?: boolean;\n telephony?: any;\n}\n"]}
@@ -1,18 +0,0 @@
1
- export interface WebexRegistrant {
2
- registrantId?: string;
3
- id?: string;
4
- meetingId?: string;
5
- email: string;
6
- firstName: string;
7
- lastName: string;
8
- displayName?: string;
9
- company?: string;
10
- jobTitle?: string;
11
- }
12
- export declare class AddWebexRegistrantBody {
13
- email: string;
14
- firstName: string;
15
- lastName: string;
16
- workPhone?: string;
17
- }
18
- //# sourceMappingURL=WebexRegistrant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexRegistrant.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexRegistrant.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAIjC,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AddWebexRegistrantBody = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class AddWebexRegistrantBody {
16
- }
17
- exports.AddWebexRegistrantBody = AddWebexRegistrantBody;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsString)(),
21
- (0, class_validator_1.IsEmail)(),
22
- __metadata("design:type", String)
23
- ], AddWebexRegistrantBody.prototype, "email", void 0);
24
- __decorate([
25
- (0, utils_1.ApiProperty)(),
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], AddWebexRegistrantBody.prototype, "firstName", void 0);
29
- __decorate([
30
- (0, utils_1.ApiProperty)(),
31
- (0, class_validator_1.IsString)(),
32
- __metadata("design:type", String)
33
- ], AddWebexRegistrantBody.prototype, "lastName", void 0);
34
- __decorate([
35
- (0, utils_1.ApiProperty)(),
36
- (0, class_validator_1.IsString)(),
37
- (0, class_validator_1.IsOptional)(),
38
- __metadata("design:type", String)
39
- ], AddWebexRegistrantBody.prototype, "workPhone", void 0);
40
- //# sourceMappingURL=WebexRegistrant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebexRegistrant.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/WebexRegistrant.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,6CAAgD;AAchD,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAdC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,GAAE;;qDACI;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACM","sourcesContent":["import { IsEmail, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport interface WebexRegistrant {\n registrantId?: string;\n id?: string;\n meetingId?: string;\n email: string;\n firstName: string;\n lastName: string;\n displayName?: string;\n company?: string;\n jobTitle?: string;\n}\n\nexport class AddWebexRegistrantBody {\n @ApiProperty()\n @IsString()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsString()\n firstName: string;\n\n @ApiProperty()\n @IsString()\n lastName: string;\n\n @ApiProperty()\n @IsString()\n @IsOptional()\n workPhone?: string;\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';
2
- import { Resource } from '../Resource';
3
- export declare class Webex extends Resource {
4
- getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars>;
5
- getWebinarById(meetingId: string): Promise<any>;
6
- addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant>;
7
- }
8
- //# sourceMappingURL=Webex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Webex.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Webex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC5G,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,KAAM,SAAQ,QAAQ;IACjC,WAAW,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAInE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAI/C,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,sBAAsB,GAAG,OAAO,CAAC,eAAe,CAAC;CAG/F"}
@@ -1,13 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class Webex extends Resource {
3
- getWebinars(params) {
4
- return this.axios.$get('/connectors/webex/webinars', { params });
5
- }
6
- getWebinarById(meetingId) {
7
- return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);
8
- }
9
- addRegistrant(meetingId, registrant) {
10
- return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);
11
- }
12
- }
13
- //# sourceMappingURL=Webex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Webex.js","sourceRoot":"","sources":["../../../../ts/api/resources/Webex.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,WAAW,CAAC,MAA0B;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,cAAc,CAAC,SAAiB;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,aAAa,CAAC,SAAiB,EAAE,UAAkC;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,SAAS,cAAc,EAAE,UAAU,CAAC,CAAC;IAC7F,CAAC;CACF","sourcesContent":["import { AddWebexRegistrantBody, GetWebinarsParams, PaginatedWebinars, WebexRegistrant } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Webex extends Resource {\n getWebinars(params?: GetWebinarsParams): Promise<PaginatedWebinars> {\n return this.axios.$get('/connectors/webex/webinars', { params });\n }\n\n getWebinarById(meetingId: string): Promise<any> {\n return this.axios.$get(`/connectors/webex/webinars/${meetingId}`);\n }\n\n addRegistrant(meetingId: string, registrant: AddWebexRegistrantBody): Promise<WebexRegistrant> {\n return this.axios.$post(`/connectors/webex/webinars/${meetingId}/registrants`, registrant);\n }\n}\n"]}
@@ -1,8 +0,0 @@
1
- export declare enum EbookIntention {
2
- FACTU_ONLY = "Facturation uniquement",
3
- FACTU_COMPTA = "Facturation + comptabilit\u00E9",
4
- INFO_REFORME = "Je cherche juste \u00E0 comprendre la r\u00E9forme",
5
- CHANGE_TOOL = "Je dois changer d'outil rapidement"
6
- }
7
- export declare const BrevoEbookIntentionMapping: Record<EbookIntention, string>;
8
- //# sourceMappingURL=EbookIntention.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EbookIntention.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/EbookIntention.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,UAAU,2BAA2B;IACrC,YAAY,oCAA+B;IAC3C,YAAY,uDAA6C;IAEzD,WAAW,uCAAwC;CACpD;AAED,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAKrE,CAAC"}
@@ -1,15 +0,0 @@
1
- export var EbookIntention;
2
- (function (EbookIntention) {
3
- EbookIntention["FACTU_ONLY"] = "Facturation uniquement";
4
- EbookIntention["FACTU_COMPTA"] = "Facturation + comptabilit\u00E9";
5
- EbookIntention["INFO_REFORME"] = "Je cherche juste \u00E0 comprendre la r\u00E9forme";
6
- // prettier-ignore
7
- EbookIntention["CHANGE_TOOL"] = "Je dois changer d'outil rapidement";
8
- })(EbookIntention || (EbookIntention = {}));
9
- export const BrevoEbookIntentionMapping = {
10
- [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',
11
- [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',
12
- [EbookIntention.INFO_REFORME]: 'INFO_REFORME',
13
- [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',
14
- };
15
- //# sourceMappingURL=EbookIntention.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EbookIntention.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EbookIntention.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,kEAA2C,CAAA;IAC3C,qFAAyD,CAAA;IACzD,kBAAkB;IAClB,oEAAmD,CAAA;AACrD,CAAC,EANW,cAAc,KAAd,cAAc,QAMzB;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAmC;IACxE,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,YAAY;IACzC,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,cAAc;IAC7C,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,cAAc;IAC7C,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,aAAa;CAC5C,CAAC","sourcesContent":["export enum EbookIntention {\n FACTU_ONLY = 'Facturation uniquement',\n FACTU_COMPTA = 'Facturation + comptabilité',\n INFO_REFORME = 'Je cherche juste à comprendre la réforme',\n // prettier-ignore\n CHANGE_TOOL = 'Je dois changer d\\'outil rapidement',\n}\n\nexport const BrevoEbookIntentionMapping: Record<EbookIntention, string> = {\n [EbookIntention.FACTU_ONLY]: 'FACTU_ONLY',\n [EbookIntention.FACTU_COMPTA]: 'FACTU_COMPTA',\n [EbookIntention.INFO_REFORME]: 'INFO_REFORME',\n [EbookIntention.CHANGE_TOOL]: 'CHANGE_TOOL',\n};\n"]}
@@ -1,7 +0,0 @@
1
- export declare class GetWebinarsParams {
2
- from?: string;
3
- to?: string;
4
- limit?: number;
5
- skip?: number;
6
- }
7
- //# sourceMappingURL=GetWebinarsParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1,38 +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 { IsInt, IsString } from 'class-validator';
11
- import { ApiProperty } from '../../../../utils';
12
- export class GetWebinarsParams {
13
- from;
14
- to;
15
- limit;
16
- skip;
17
- }
18
- __decorate([
19
- ApiProperty(),
20
- IsString(),
21
- __metadata("design:type", String)
22
- ], GetWebinarsParams.prototype, "from", void 0);
23
- __decorate([
24
- ApiProperty(),
25
- IsString(),
26
- __metadata("design:type", String)
27
- ], GetWebinarsParams.prototype, "to", void 0);
28
- __decorate([
29
- ApiProperty(),
30
- IsInt(),
31
- __metadata("design:type", Number)
32
- ], GetWebinarsParams.prototype, "limit", void 0);
33
- __decorate([
34
- ApiProperty(),
35
- IsInt(),
36
- __metadata("design:type", Number)
37
- ], GetWebinarsParams.prototype, "skip", void 0);
38
- //# sourceMappingURL=GetWebinarsParams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetWebinarsParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/GetWebinarsParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,iBAAiB;IAG5B,IAAI,CAAU;IAId,EAAE,CAAU;IAIZ,KAAK,CAAU;IAIf,IAAI,CAAU;CACf;AAbC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;+CACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACC;AAIZ;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACO;AAIf;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;+CACM","sourcesContent":["import { IsInt, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetWebinarsParams {\n @ApiProperty()\n @IsString()\n from?: string;\n\n @ApiProperty()\n @IsString()\n to?: string;\n\n @ApiProperty()\n @IsInt()\n limit?: number;\n\n @ApiProperty()\n @IsInt()\n skip?: number;\n}\n"]}
@@ -1,7 +0,0 @@
1
- import { WebexMeeting } from './WebexMeeting';
2
- export interface PaginatedWebinars {
3
- skip: number;
4
- limit: number;
5
- items: WebexMeeting[];
6
- }
7
- //# sourceMappingURL=PaginatedWebinars.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaginatedWebinars.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webex/PaginatedWebinars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB"}