@silexpert/core 2.0.69 → 2.0.70

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 (118) hide show
  1. package/dist/api/resources/Account.d.ts +1 -0
  2. package/dist/api/resources/Account.d.ts.map +1 -1
  3. package/dist/api/resources/Account.js +3 -0
  4. package/dist/api/resources/Account.js.map +1 -1
  5. package/dist/api/resources/Acd.d.ts +2 -1
  6. package/dist/api/resources/Acd.d.ts.map +1 -1
  7. package/dist/api/resources/Acd.js +3 -0
  8. package/dist/api/resources/Acd.js.map +1 -1
  9. package/dist/api/resources/Library.d.ts +1 -0
  10. package/dist/api/resources/Library.d.ts.map +1 -1
  11. package/dist/api/resources/Library.js +8 -0
  12. package/dist/api/resources/Library.js.map +1 -1
  13. package/dist/api/resources/Notification.d.ts +2 -1
  14. package/dist/api/resources/Notification.d.ts.map +1 -1
  15. package/dist/api/resources/Notification.js +3 -0
  16. package/dist/api/resources/Notification.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/types/Enum/Ged.d.ts +2 -1
  22. package/dist/types/Enum/Ged.d.ts.map +1 -1
  23. package/dist/types/Enum/Ged.js +1 -0
  24. package/dist/types/Enum/Ged.js.map +1 -1
  25. package/dist/types/Interface/api/account/Create.d.ts +5 -1
  26. package/dist/types/Interface/api/account/Create.d.ts.map +1 -1
  27. package/dist/types/Interface/api/account/Create.js +38 -4
  28. package/dist/types/Interface/api/account/Create.js.map +1 -1
  29. package/dist/types/Interface/api/acd/Vat.d.ts +52 -0
  30. package/dist/types/Interface/api/acd/Vat.d.ts.map +1 -0
  31. package/dist/types/Interface/api/acd/Vat.js +14 -0
  32. package/dist/types/Interface/api/acd/Vat.js.map +1 -0
  33. package/dist/types/Interface/api/docoon/Create.d.ts +9 -0
  34. package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
  35. package/dist/types/Interface/api/docoon/Create.js.map +1 -1
  36. package/dist/types/Interface/api/docoon/Read.d.ts +106 -0
  37. package/dist/types/Interface/api/docoon/Read.d.ts.map +1 -1
  38. package/dist/types/Interface/api/docoon/Read.js.map +1 -1
  39. package/dist/types/Interface/api/einvoicing/SyncFlowStatusResult.d.ts +12 -0
  40. package/dist/types/Interface/api/einvoicing/SyncFlowStatusResult.d.ts.map +1 -0
  41. package/dist/types/Interface/api/einvoicing/SyncFlowStatusResult.js +2 -0
  42. package/dist/types/Interface/api/einvoicing/SyncFlowStatusResult.js.map +1 -0
  43. package/dist/types/Interface/api/notification/CreateInternalNotification.d.ts +17 -0
  44. package/dist/types/Interface/api/notification/CreateInternalNotification.d.ts.map +1 -0
  45. package/dist/types/Interface/api/notification/CreateInternalNotification.js +98 -0
  46. package/dist/types/Interface/api/notification/CreateInternalNotification.js.map +1 -0
  47. package/dist/types/Interface/api/product/CreateProduct.d.ts +1 -0
  48. package/dist/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  49. package/dist/types/Interface/api/product/CreateProduct.js +8 -1
  50. package/dist/types/Interface/api/product/CreateProduct.js.map +1 -1
  51. package/dist/types/Interface/models/IAccount.d.ts +1 -0
  52. package/dist/types/Interface/models/IAccount.d.ts.map +1 -1
  53. package/dist/types/Interface/models/IAccount.js +1 -0
  54. package/dist/types/Interface/models/IAccount.js.map +1 -1
  55. package/dist/types/Interface/models/IAccountingFile.d.ts +0 -1
  56. package/dist/types/Interface/models/IAccountingFile.d.ts.map +1 -1
  57. package/dist/types/Interface/models/IAccountingFile.js +0 -1
  58. package/dist/types/Interface/models/IAccountingFile.js.map +1 -1
  59. package/dist/types/Interface/models/IEInvoicing.d.ts +1 -1
  60. package/dist/types/Interface/models/IEInvoicing.d.ts.map +1 -1
  61. package/dist/types/Interface/models/IEInvoicing.js.map +1 -1
  62. package/dist/types/Interface/models/IProduct.d.ts +3 -0
  63. package/dist/types/Interface/models/IProduct.d.ts.map +1 -1
  64. package/dist/types/Interface/models/IProduct.js +2 -0
  65. package/dist/types/Interface/models/IProduct.js.map +1 -1
  66. package/dist/types/Interface/models/IProductInvoice.d.ts +3 -0
  67. package/dist/types/Interface/models/IProductInvoice.d.ts.map +1 -1
  68. package/dist/types/Interface/models/IProductInvoice.js +2 -0
  69. package/dist/types/Interface/models/IProductInvoice.js.map +1 -1
  70. package/dist/types/Interface/models/ISocietyGescom.d.ts +1 -0
  71. package/dist/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  72. package/dist/types/Interface/models/ISocietyGescom.js +2 -0
  73. package/dist/types/Interface/models/ISocietyGescom.js.map +1 -1
  74. package/dist/types/index.d.ts +3 -0
  75. package/dist/types/index.d.ts.map +1 -1
  76. package/dist/types/index.js +3 -0
  77. package/dist/types/index.js.map +1 -1
  78. package/dist/utils/acdVat.d.ts +4 -0
  79. package/dist/utils/acdVat.d.ts.map +1 -0
  80. package/dist/utils/acdVat.js +57 -0
  81. package/dist/utils/acdVat.js.map +1 -0
  82. package/dist/utils/index.d.ts +1 -0
  83. package/dist/utils/index.d.ts.map +1 -1
  84. package/dist/utils/index.js +1 -0
  85. package/dist/utils/index.js.map +1 -1
  86. package/dist/utils/tests/acdVat.spec.d.ts +2 -0
  87. package/dist/utils/tests/acdVat.spec.d.ts.map +1 -0
  88. package/dist/utils/tests/acdVat.spec.js +25 -0
  89. package/dist/utils/tests/acdVat.spec.js.map +1 -0
  90. package/dist/utils/tests/brands.spec.d.ts +2 -0
  91. package/dist/utils/tests/brands.spec.d.ts.map +1 -0
  92. package/dist/utils/tests/brands.spec.js +25 -0
  93. package/dist/utils/tests/brands.spec.js.map +1 -0
  94. package/package.json +1 -1
  95. package/ts/api/resources/Account.ts +4 -0
  96. package/ts/api/resources/Acd.ts +5 -1
  97. package/ts/api/resources/Library.ts +9 -0
  98. package/ts/api/resources/Notification.ts +5 -1
  99. package/ts/index.ts +1 -0
  100. package/ts/types/Enum/Ged.ts +1 -0
  101. package/ts/types/Interface/api/account/Create.ts +29 -3
  102. package/ts/types/Interface/api/acd/Vat.ts +52 -0
  103. package/ts/types/Interface/api/docoon/Create.ts +10 -0
  104. package/ts/types/Interface/api/docoon/Read.ts +114 -0
  105. package/ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts +12 -0
  106. package/ts/types/Interface/api/notification/CreateInternalNotification.ts +64 -0
  107. package/ts/types/Interface/api/product/CreateProduct.ts +6 -1
  108. package/ts/types/Interface/models/IAccount.ts +1 -0
  109. package/ts/types/Interface/models/IAccountingFile.ts +0 -1
  110. package/ts/types/Interface/models/IEInvoicing.ts +1 -1
  111. package/ts/types/Interface/models/IProduct.ts +3 -0
  112. package/ts/types/Interface/models/IProductInvoice.ts +3 -0
  113. package/ts/types/Interface/models/ISocietyGescom.ts +2 -0
  114. package/ts/types/index.ts +3 -0
  115. package/ts/utils/acdVat.ts +63 -0
  116. package/ts/utils/index.ts +1 -0
  117. package/ts/utils/tests/acdVat.spec.ts +26 -0
  118. package/ts/utils/tests/brands.spec.ts +31 -0
@@ -7,30 +7,64 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsArray, IsDateString, IsNumber, IsOptional, IsString } from 'class-validator';
10
+ import { IsArray, IsDateString, IsNumber, IsOptional, IsString, IsBoolean, IsObject, IsInt } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
12
12
  export class CreateAccountSociety {
13
13
  number;
14
14
  name;
15
- idParentAccount;
15
+ idNature;
16
+ idAccountType;
16
17
  idVat;
18
+ idParentAccount;
19
+ isGeneric;
20
+ metadata;
17
21
  }
18
22
  __decorate([
19
23
  ApiProperty(),
24
+ IsInt(),
20
25
  __metadata("design:type", Number)
21
26
  ], CreateAccountSociety.prototype, "number", void 0);
22
27
  __decorate([
23
28
  ApiProperty(),
29
+ IsString(),
24
30
  __metadata("design:type", String)
25
31
  ], CreateAccountSociety.prototype, "name", void 0);
26
32
  __decorate([
27
- ApiProperty(),
33
+ ApiPropertyOptional(),
34
+ IsInt(),
35
+ IsOptional(),
28
36
  __metadata("design:type", Number)
29
- ], CreateAccountSociety.prototype, "idParentAccount", void 0);
37
+ ], CreateAccountSociety.prototype, "idNature", void 0);
38
+ __decorate([
39
+ ApiPropertyOptional(),
40
+ IsInt(),
41
+ IsOptional(),
42
+ __metadata("design:type", Number)
43
+ ], CreateAccountSociety.prototype, "idAccountType", void 0);
30
44
  __decorate([
31
45
  ApiPropertyOptional(),
46
+ IsInt(),
47
+ IsOptional(),
32
48
  __metadata("design:type", Number)
33
49
  ], CreateAccountSociety.prototype, "idVat", void 0);
50
+ __decorate([
51
+ ApiPropertyOptional(),
52
+ IsInt(),
53
+ IsOptional(),
54
+ __metadata("design:type", Number)
55
+ ], CreateAccountSociety.prototype, "idParentAccount", void 0);
56
+ __decorate([
57
+ ApiPropertyOptional(),
58
+ IsBoolean(),
59
+ IsOptional(),
60
+ __metadata("design:type", Boolean)
61
+ ], CreateAccountSociety.prototype, "isGeneric", void 0);
62
+ __decorate([
63
+ ApiPropertyOptional(),
64
+ IsObject(),
65
+ IsOptional(),
66
+ __metadata("design:type", Object)
67
+ ], CreateAccountSociety.prototype, "metadata", void 0);
34
68
  export class CreateAccount {
35
69
  account;
36
70
  idSociety;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,MAAM,OAAO,oBAAoB;IAE/B,MAAM,CAAS;IAGf,IAAI,CAAS;IAGb,eAAe,CAAS;IAGxB,KAAK,CAAU;CAChB;AAVC;IADC,WAAW,EAAE;;oDACC;AAGf;IADC,WAAW,EAAE;;kDACD;AAGb;IADC,WAAW,EAAE;;6DACU;AAGxB;IADC,mBAAmB,EAAE;;mDACP;AAGjB,MAAM,OAAO,aAAa;IAExB,OAAO,CAAoB;IAK3B,SAAS,CAAU;IAKnB,OAAO,CAAiB;IAKxB,IAAI,CAAY;IAKhB,SAAS,CAAiB;IAK1B,gBAAgB,CAAU;IAK1B,cAAc,CAAU;CACzB;AA/BC;IADC,WAAW,EAAE;;8CACa;AAK3B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;2CACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACE,KAAK;gDAAS;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;uDACW;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;qDACS","sourcesContent":["import { IsArray, IsDateString, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { IAccount } from '../../../index.js';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\n\nexport class CreateAccountSociety {\n @ApiProperty()\n number: number;\n\n @ApiProperty()\n name: string;\n\n @ApiProperty()\n idParentAccount: number;\n\n @ApiPropertyOptional()\n idVat?: number;\n}\n\nexport class CreateAccount {\n @ApiProperty()\n account: Partial<IAccount>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsString({ each: true })\n @IsOptional()\n tags?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idSectors?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n centuryStartDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n centuryEndDate?: string;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,MAAM,OAAO,oBAAoB;IAG/B,MAAM,CAAS;IAIf,IAAI,CAAS;IAKb,QAAQ,CAAU;IAKlB,aAAa,CAAU;IAKvB,KAAK,CAAU;IAKf,eAAe,CAAU;IAKzB,SAAS,CAAW;IAKpB,QAAQ,CAAuB;CAChC;AAnCC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;oDACO;AAIf;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACE;AAKb;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;sDACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;2DACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;6DACY;AAKzB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;uDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACkB;AAGjC,MAAM,OAAO,aAAa;IAExB,OAAO,CAAoB;IAK3B,SAAS,CAAU;IAKnB,OAAO,CAAiB;IAKxB,IAAI,CAAY;IAKhB,SAAS,CAAiB;IAK1B,gBAAgB,CAAU;IAK1B,cAAc,CAAU;CACzB;AA/BC;IADC,WAAW,EAAE;;8CACa;AAK3B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;2CACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACE,KAAK;gDAAS;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;uDACW;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;qDACS","sourcesContent":["import { IsArray, IsDateString, IsNumber, IsOptional, IsString, IsBoolean, IsObject, IsInt } from 'class-validator';\nimport { IAccount } from '../../../index.js';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\n\nexport class CreateAccountSociety {\n @ApiProperty()\n @IsInt()\n number: number;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idNature?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idVat?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idParentAccount?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n metadata?: Record<string, any>;\n}\n\nexport class CreateAccount {\n @ApiProperty()\n account: Partial<IAccount>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsString({ each: true })\n @IsOptional()\n tags?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idSectors?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n centuryStartDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n centuryEndDate?: string;\n}\n"]}
@@ -0,0 +1,52 @@
1
+ export declare enum AcdVatCode {
2
+ AUTOL = "AUTOL",
3
+ INTRACOM = "INTRACOM",
4
+ NON_AFFECTE = "NON_AFFECTE",
5
+ ONI = "ONI",
6
+ SUR_IMMOBILISATION = "TI",
7
+ NORMAL = "TN",
8
+ REDUIT_5_5 = "TR1",
9
+ REDUIT_10 = "TR2",
10
+ REDUIT_2_1 = "TSR",
11
+ SPECIAL = "TS"
12
+ }
13
+ export type AcdCompte = {
14
+ Code: string | null;
15
+ Categ: string | null;
16
+ Lib: string | null;
17
+ Let: string | null;
18
+ RegEc: string | null;
19
+ Qte: string | null;
20
+ Coll: boolean;
21
+ CptCptCol: string | null;
22
+ CodeTVA: string | null;
23
+ CompteHorsTaxe: string | null;
24
+ CptInactif: boolean;
25
+ UniteQte1: Array<string> | null;
26
+ UniteQte2: Array<string> | null;
27
+ ActivationAnalytique: boolean;
28
+ CleRepartition: {
29
+ Code: string | null;
30
+ Lib: string | null;
31
+ Auto: boolean;
32
+ } | null;
33
+ Tiers: {
34
+ Code: number;
35
+ RaisonSociale: string | null;
36
+ Siren: string | null;
37
+ Siret: string | null;
38
+ Telephone: string | null;
39
+ Email: string | null;
40
+ Fax: string | null;
41
+ NumeroIntracom: string | null;
42
+ Adresse?: {
43
+ Numero: string | null;
44
+ Nature: string | null;
45
+ Complement: string | null;
46
+ Hameau: string | null;
47
+ CodePostal: string | null;
48
+ Pays: string | null;
49
+ };
50
+ } | null;
51
+ };
52
+ //# sourceMappingURL=Vat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Vat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/acd/Vat.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,kBAAkB,OAAO;IACzB,MAAM,OAAO;IACb,UAAU,QAAQ;IAClB,SAAS,QAAQ;IACjB,UAAU,QAAQ;IAClB,OAAO,OAAO;CACf;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,cAAc,EAAE;QACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,EAAE,OAAO,CAAC;KACf,GAAG,IAAI,CAAC;IACT,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,OAAO,CAAC,EAAE;YACR,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;SACrB,CAAC;KACH,GAAG,IAAI,CAAC;CACV,CAAC"}
@@ -0,0 +1,14 @@
1
+ export var AcdVatCode;
2
+ (function (AcdVatCode) {
3
+ AcdVatCode["AUTOL"] = "AUTOL";
4
+ AcdVatCode["INTRACOM"] = "INTRACOM";
5
+ AcdVatCode["NON_AFFECTE"] = "NON_AFFECTE";
6
+ AcdVatCode["ONI"] = "ONI";
7
+ AcdVatCode["SUR_IMMOBILISATION"] = "TI";
8
+ AcdVatCode["NORMAL"] = "TN";
9
+ AcdVatCode["REDUIT_5_5"] = "TR1";
10
+ AcdVatCode["REDUIT_10"] = "TR2";
11
+ AcdVatCode["REDUIT_2_1"] = "TSR";
12
+ AcdVatCode["SPECIAL"] = "TS";
13
+ })(AcdVatCode || (AcdVatCode = {}));
14
+ //# sourceMappingURL=Vat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Vat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/acd/Vat.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,yBAAW,CAAA;IACX,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IACb,gCAAkB,CAAA;IAClB,+BAAiB,CAAA;IACjB,gCAAkB,CAAA;IAClB,4BAAc,CAAA;AAChB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB","sourcesContent":["export enum AcdVatCode {\n AUTOL = 'AUTOL',\n INTRACOM = 'INTRACOM',\n NON_AFFECTE = 'NON_AFFECTE',\n ONI = 'ONI',\n SUR_IMMOBILISATION = 'TI',\n NORMAL = 'TN',\n REDUIT_5_5 = 'TR1',\n REDUIT_10 = 'TR2',\n REDUIT_2_1 = 'TSR',\n SPECIAL = 'TS',\n}\n\nexport type AcdCompte = {\n Code: string | null;\n Categ: string | null;\n Lib: string | null;\n Let: string | null;\n RegEc: string | null;\n Qte: string | null;\n Coll: boolean;\n CptCptCol: string | null;\n CodeTVA: string | null;\n CompteHorsTaxe: string | null;\n CptInactif: boolean;\n UniteQte1: Array<string> | null;\n UniteQte2: Array<string> | null;\n ActivationAnalytique: boolean;\n CleRepartition: {\n Code: string | null;\n Lib: string | null;\n Auto: boolean;\n } | null;\n Tiers: {\n Code: number;\n RaisonSociale: string | null;\n Siren: string | null;\n Siret: string | null;\n Telephone: string | null;\n Email: string | null;\n Fax: string | null;\n NumeroIntracom: string | null;\n Adresse?: {\n Numero: string | null;\n Nature: string | null;\n Complement: string | null;\n Hameau: string | null;\n CodePostal: string | null;\n Pays: string | null;\n };\n } | null;\n};\n"]}
@@ -16,8 +16,14 @@ export type CreateLegalEntity = {
16
16
  structures?: CreateLegalEntityStructure[];
17
17
  };
18
18
  export type CreateLegalEntityStructure = {
19
+ name: string;
20
+ code?: string;
19
21
  legalIdSchemeId?: string;
22
+ legalId: string;
20
23
  isEnabled?: boolean;
24
+ countryCode?: string;
25
+ startDate?: string | null;
26
+ endDate?: string | null;
21
27
  address?: {
22
28
  name?: string;
23
29
  street?: string;
@@ -32,6 +38,9 @@ export type CreateLegalEntityStructure = {
32
38
  code?: string;
33
39
  };
34
40
  };
41
+ export type CreateStructure = CreateLegalEntityStructure & {
42
+ parentStructureId: string;
43
+ };
35
44
  export type RelaunchDirectoryLine = {
36
45
  directoryLineId: string;
37
46
  directoryLineInfo: {
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OA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AAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;qDACe;AAE9B,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAI7B,UAAU,CAAuB;IAIjC,MAAM,CAAS;CAChB;AATC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAI7B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;kDACI;AAIjC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACI;AAEjB,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAK7B,cAAc,CAAU;IAKxB,eAAe,CAAU;IAKzB,YAAY,CAAU;CACvB;AAhBC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAK7B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACY;AAKzB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACS","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsArray, IsEnum, IsDateString, IsNumber } from 'class-validator';\nimport { DocoonFlowType } from './DocoonInvoice.js';\nimport { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\nimport { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';\n\nexport type CreateLegalEntity = {\n name: string;\n legalId: string;\n isEnabled: boolean;\n legalIdSchemeId?: string;\n code?: string;\n isTaxable?: boolean;\n taxCountryCode?: string;\n personType?: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n taxId?: string;\n legalForm?: string;\n capital?: number;\n structures?: CreateLegalEntityStructure[];\n};\n\nexport type CreateLegalEntityStructure = {\n legalIdSchemeId?: string;\n isEnabled?: boolean;\n address?: {\n name?: string;\n street?: string;\n city?: string;\n zipCode?: string;\n postBox?: string;\n additionalInfo?: string;\n country?: string;\n };\n mainActivity?: {\n name?: string;\n code?: string;\n };\n};\n\nexport type RelaunchDirectoryLine = {\n directoryLineId: string;\n directoryLineInfo: {\n name: string;\n dateFrom: string;\n dateTo?: string | null;\n addressingIdentifier: string;\n };\n};\nexport class ImportDocoonInvoice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n updatedAfter?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsString({ each: true })\n @IsOptional()\n flowType?: DocoonFlowType[];\n}\nexport class RejectEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsEnum(EInvoicingReasonType)\n reasonType: EInvoicingReasonType;\n\n @ApiProperty()\n @IsString()\n reason: string;\n}\nexport class AcceptEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalComment?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAsD3E,MAAM,OAAO,mBAAmB;IAI9B,YAAY,CAAU;IAMtB,QAAQ,CAAoB;CAC7B;AAPC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACS;AAMtB;IAJC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,EAAE;;qDACe;AAE9B,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAI7B,UAAU,CAAuB;IAIjC,MAAM,CAAS;CAChB;AATC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAI7B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;kDACI;AAIjC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;8CACI;AAEjB,MAAM,OAAO,cAAc;IAGzB,MAAM,CAAuB;IAK7B,cAAc,CAAU;IAKxB,eAAe,CAAU;IAKzB,YAAY,CAAU;CACvB;AAhBC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;8CACA;AAK7B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACY;AAKzB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACS","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';\nimport { IsString, IsOptional, IsArray, IsEnum, IsDateString, IsNumber } from 'class-validator';\nimport { DocoonFlowType } from './DocoonInvoice.js';\nimport { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\nimport { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';\n\nexport type CreateLegalEntity = {\n name: string;\n legalId: string;\n isEnabled: boolean;\n legalIdSchemeId?: string;\n code?: string;\n isTaxable?: boolean;\n taxCountryCode?: string;\n personType?: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n taxId?: string;\n legalForm?: string;\n capital?: number;\n structures?: CreateLegalEntityStructure[];\n};\n\nexport type CreateLegalEntityStructure = {\n name: string;\n code?: string;\n legalIdSchemeId?: string;\n legalId: string;\n isEnabled?: boolean;\n countryCode?: string;\n startDate?: string | null;\n endDate?: string | null;\n address?: {\n name?: string;\n street?: string;\n city?: string;\n zipCode?: string;\n postBox?: string;\n additionalInfo?: string;\n country?: string;\n };\n mainActivity?: {\n name?: string;\n code?: string;\n };\n};\n\nexport type CreateStructure = CreateLegalEntityStructure & {\n parentStructureId: string;\n};\n\nexport type RelaunchDirectoryLine = {\n directoryLineId: string;\n directoryLineInfo: {\n name: string;\n dateFrom: string;\n dateTo?: string | null;\n addressingIdentifier: string;\n };\n};\nexport class ImportDocoonInvoice {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n updatedAfter?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsString({ each: true })\n @IsOptional()\n flowType?: DocoonFlowType[];\n}\nexport class RejectEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiProperty()\n @IsEnum(EInvoicingReasonType)\n reasonType: EInvoicingReasonType;\n\n @ApiProperty()\n @IsString()\n reason: string;\n}\nexport class AcceptEInvoice {\n @ApiProperty()\n @IsEnum(EInvoicingStatusCode)\n status: EInvoicingStatusCode;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n internalComment?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
@@ -210,6 +210,20 @@ export interface ReadDocoonDirectoryLineAdded {
210
210
  dateTo: string | null;
211
211
  flowError: ReadDocoonDirectoryLineFlowError;
212
212
  }
213
+ export interface ReadDocoonDirectoryLine {
214
+ id: string;
215
+ creationDate: string;
216
+ lastModificationDate: string;
217
+ structureId: string;
218
+ structureName: string;
219
+ name: string;
220
+ addressingIdentifier: string;
221
+ status: string;
222
+ message: string;
223
+ dateFrom: string;
224
+ dateTo?: string | null;
225
+ flowError?: ReadDocoonDirectoryLineFlowError;
226
+ }
213
227
  export interface ReadDocoonDirectoryLineFlowError {
214
228
  details: string[];
215
229
  errorCode: string;
@@ -219,4 +233,96 @@ export interface ReadDocoonTenantDirectoryLines {
219
233
  tenantId: string;
220
234
  directoryLines: ReadDocoonDirectoryLineAdded[];
221
235
  }
236
+ export interface ReadAllDocoonTenantDirectoryLines {
237
+ tenantId: string;
238
+ totalNumberOfResults: number;
239
+ directoryLines: ReadDocoonDirectoryLine[];
240
+ }
241
+ export interface GetFlowOutputCustomDTO {
242
+ submittedAt?: string;
243
+ updatedAt?: string;
244
+ creationUserId?: string;
245
+ creationUserLabel?: string;
246
+ lastModificationUserId?: string;
247
+ lastModificationUserLabel?: string;
248
+ tenantId?: string;
249
+ structureId?: string;
250
+ documentTypeCode?: string;
251
+ docType?: string;
252
+ convertedSyntax?: string;
253
+ documentId?: string;
254
+ flowId?: string;
255
+ sha256?: string;
256
+ trackingId?: string;
257
+ name?: string;
258
+ flowSyntax?: string;
259
+ flowProfile?: string;
260
+ flowStatus?: string;
261
+ flowType?: string;
262
+ flowDirection?: string;
263
+ flowCategory?: string;
264
+ attachmentNumber?: number;
265
+ documentSubTypeCode?: string;
266
+ status?: string;
267
+ documentStatus?: string;
268
+ details?: Record<string, any>;
269
+ gedFields?: Array<{
270
+ key?: string;
271
+ value?: string;
272
+ dataType?: string;
273
+ }>;
274
+ jobIds?: string[];
275
+ attachmentIds?: string[];
276
+ acknowledgment?: {
277
+ status?: string;
278
+ path?: string | null;
279
+ details?: {
280
+ level?: string | null;
281
+ item?: string | null;
282
+ reasonCode?: string | null;
283
+ reasonMessage?: string | null;
284
+ fullMessage?: string | null;
285
+ } | Array<{
286
+ level?: string | null;
287
+ item?: string | null;
288
+ reasonCode?: string | null;
289
+ reasonMessage?: string | null;
290
+ fullMessage?: string | null;
291
+ }>;
292
+ };
293
+ acknowledgement?: {
294
+ status?: string;
295
+ path?: string | null;
296
+ details?: {
297
+ level?: string | null;
298
+ item?: string | null;
299
+ reasonCode?: string | null;
300
+ reasonMessage?: string | null;
301
+ fullMessage?: string | null;
302
+ } | Array<{
303
+ level?: string | null;
304
+ item?: string | null;
305
+ reasonCode?: string | null;
306
+ reasonMessage?: string | null;
307
+ fullMessage?: string | null;
308
+ }>;
309
+ };
310
+ }
311
+ export interface DocoonWebhookPayload {
312
+ activityType: string;
313
+ date: string;
314
+ jobId: string;
315
+ jobMessageId: string;
316
+ documentId: string;
317
+ documentName: string;
318
+ tenantId: string;
319
+ tenantName: string;
320
+ flowId: string;
321
+ senderIdentifier: string;
322
+ receiverIdentifier: string;
323
+ detailMessage: string;
324
+ validationErrors: string;
325
+ chorusStatus: string;
326
+ chorusComment: string;
327
+ }
222
328
  //# sourceMappingURL=Read.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Read.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,8BAA8B,CAAC;IACvC,OAAO,EAAE,+BAA+B,EAAE,CAAC;IAC3C,MAAM,EAAE,8BAA8B,EAAE,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,8BAA8B;IAC7C,oBAAoB,CAAC,EAAE;QACrB,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,0BAA0B,CAAC,EAAE;QAC3B,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE;QACN,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM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AC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,gCAAgC,CAAC;CAC7C;AAED,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,4BAA4B,EAAE,CAAC;CAChD"}
1
+ {"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Read.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,8BAA8B,CAAC;IACvC,OAAO,EAAE,+BAA+B,EAAE,CAAC;IAC3C,MAAM,EAAE,8BAA8B,EAAE,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,8BAA8B;IAC7C,oBAAoB,CAAC,EAAE;QACrB,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,0BAA0B,CAAC,EAAE;QAC3B,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE;QACN,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE;QACN,EAAE,EAAE,UAAU,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,iBAAiB,CAAC,EAAE;QAClB,E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CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Read.ts"],"names":[],"mappings":"","sourcesContent":["export interface QuerySearchDirectoryLine {\n filter: QuerySearchFilterDirectoryLine;\n sorting: QuerySearchSortingDirectoryLine[];\n fields: QuerySearchFieldsDirectoryLine[];\n limit: number;\n ignore?: number;\n}\nexport interface QuerySearchFilterDirectoryLine {\n addressingIdentifier?: {\n op: 'contains';\n value: string;\n };\n platformRegistrationNumber?: {\n op: 'contains';\n value: string;\n };\n siret?: {\n op: 'contains';\n value: string;\n };\n siren?: {\n op: 'contains';\n value: string;\n };\n routingIdentifier?: {\n op: 'contains';\n value: string;\n };\n addressingSuffix?: {\n op: 'contains';\n value: string;\n };\n history: QuerySearchHistoryDirectoryLine;\n}\n\nexport interface QuerySearchHistoryDirectoryLine {\n observationDate?: {\n op: 'strict';\n value: string;\n };\n searchDateStart?: {\n op: 'strict';\n value: string;\n };\n searchDateEnd?: {\n op: 'strict';\n value: string;\n };\n auditMode?: {\n op: 'strict';\n value: boolean;\n };\n}\n\nexport type QuerySearchSortingDirectoryLine = {\n field: QuerySearchFieldsDirectoryLine;\n sortingOrder: 'ascending' | 'descending';\n};\n\nexport type QuerySearchFieldsDirectoryLine =\n | 'addressingIdentifier'\n | 'siren'\n | 'siret'\n | 'addressingSuffix'\n | 'platformRegistrationNumber'\n | 'dateTo'\n | 'effectiveEndDate'\n | 'dateFrom'\n | 'hidden'\n | 'idInstance'\n | 'createdBy';\n\nexport type ReadDirectoryLineResult = {\n addressingIdentifier: string;\n platformType: string;\n directoryLineStatus: string;\n siren: string;\n legalUnit: {\n siren: string;\n businessName: string;\n entityType: string;\n administrativeStatus: string;\n isSalesProspectingForbidden: boolean;\n };\n facility: {\n isSalesProspectingForbidden: boolean;\n };\n};\n\nexport interface ReadDirectoryLine {\n search: QuerySearchDirectoryLine;\n totalNumberOfResults: number;\n results: ReadDirectoryLineResult[];\n identite_etablissement?: string;\n}\n\nexport interface ReadClientDirectoryLine {\n search: QuerySearchDirectoryLine;\n totalNumberOfResults: number;\n results: ReadDirectoryLineResult[];\n}\nexport interface ReadDocoonStructure {\n id: string;\n code: string | null;\n name: string | null;\n tenantId: string;\n legalId: string;\n legalIdSchemeId: string;\n isEnabled: boolean;\n parentStructureId: string;\n countryCode: string | null;\n startDate: string | null;\n endDate: string | null;\n structureType: string | null;\n address: {\n name: string | null;\n street: string | null;\n zipCode: string | null;\n postBox: string | null;\n city: string | null;\n additionalInfo: string | null;\n country: string | null;\n };\n mainActivity: {\n name: string | null;\n code: string | null;\n };\n}\n\nexport interface ReadDocoonAddStructure {\n data: {\n addStructure: ReadDocoonStructure;\n };\n}\n\nexport interface ReadDocoonStructureResponse {\n data: {\n structureItems: ReadDocoonStructure[];\n };\n}\n\nexport interface ReadDocoonLegalEntity {\n id: string;\n code: string;\n name: string;\n tenantId: string;\n legalId: string;\n legalIdSchemeId: string;\n taxCountryCode: string;\n taxId?: string;\n legalForm: string;\n capital: string;\n outsideReform: boolean;\n isEnabled: boolean;\n isTaxable: boolean;\n personType: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n primaryStructureId: string;\n parentStructureId: string | null;\n structures: ReadDocoonStructure[];\n pdpProperties: {\n isVerified: boolean;\n isMandated: boolean;\n verifiedDate: string;\n pdpDirection: {\n outBound: boolean;\n inBound: boolean;\n };\n taxation: {\n isSingleTaxPayer: boolean;\n singleTaxPayerStructureId: string;\n taxSystem: string;\n taxRegime: string;\n };\n pdpMandates: string[];\n };\n}\n\nexport interface ReadDocoonLegalEntityListResponse {\n data: {\n legalEntityList: {\n edges: ReadDocoonLegalEntity[];\n pageInfo: {\n hasNextPage: boolean;\n endCursor: string | null;\n };\n };\n };\n}\n\nexport interface ReadDocoonAddLegalEntityResponse {\n data: {\n addLegalEntity: ReadDocoonLegalEntity;\n };\n}\n\nexport interface ReadDocoonLegalEntityResponse {\n data: {\n legalEntityItems: ReadDocoonLegalEntity[];\n };\n}\n\nexport interface ReadDocoonMandateResponse {\n data: {\n addDocumentJob: ReadDocoonMandate;\n };\n}\n\nexport interface ReadDocoonMandate {\n id: string;\n tenantId: string;\n trackingId: string;\n documents: ReadDocoonMandateDocument[];\n attachments: any[];\n}\n\nexport type ReadDocoonMandateDocument = {\n id: string;\n hash: string;\n};\n\nexport interface ReadDocoonLegalEntityWithMandateResponse {\n data: {\n runActionOnLegalEntity: string;\n };\n}\n\nexport interface ReadDocoonDirectoryLineAdded {\n id: string;\n creationDate: string;\n lastModificationDate: string;\n tenantId: string;\n structureId: string;\n name: string;\n addressingIdentifier: string;\n status: string;\n message: string;\n dateFrom: string;\n dateTo: string | null;\n flowError: ReadDocoonDirectoryLineFlowError;\n}\n\nexport interface ReadDocoonDirectoryLineFlowError {\n details: string[];\n errorCode: string;\n errorMessage: string;\n}\nexport interface ReadDocoonTenantDirectoryLines {\n tenantId: string;\n directoryLines: ReadDocoonDirectoryLineAdded[];\n}\n"]}
1
+ {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/docoon/Read.ts"],"names":[],"mappings":"","sourcesContent":["export interface QuerySearchDirectoryLine {\n filter: QuerySearchFilterDirectoryLine;\n sorting: QuerySearchSortingDirectoryLine[];\n fields: QuerySearchFieldsDirectoryLine[];\n limit: number;\n ignore?: number;\n}\nexport interface QuerySearchFilterDirectoryLine {\n addressingIdentifier?: {\n op: 'contains';\n value: string;\n };\n platformRegistrationNumber?: {\n op: 'contains';\n value: string;\n };\n siret?: {\n op: 'contains';\n value: string;\n };\n siren?: {\n op: 'contains';\n value: string;\n };\n routingIdentifier?: {\n op: 'contains';\n value: string;\n };\n addressingSuffix?: {\n op: 'contains';\n value: string;\n };\n history: QuerySearchHistoryDirectoryLine;\n}\n\nexport interface QuerySearchHistoryDirectoryLine {\n observationDate?: {\n op: 'strict';\n value: string;\n };\n searchDateStart?: {\n op: 'strict';\n value: string;\n };\n searchDateEnd?: {\n op: 'strict';\n value: string;\n };\n auditMode?: {\n op: 'strict';\n value: boolean;\n };\n}\n\nexport type QuerySearchSortingDirectoryLine = {\n field: QuerySearchFieldsDirectoryLine;\n sortingOrder: 'ascending' | 'descending';\n};\n\nexport type QuerySearchFieldsDirectoryLine =\n | 'addressingIdentifier'\n | 'siren'\n | 'siret'\n | 'addressingSuffix'\n | 'platformRegistrationNumber'\n | 'dateTo'\n | 'effectiveEndDate'\n | 'dateFrom'\n | 'hidden'\n | 'idInstance'\n | 'createdBy';\n\nexport type ReadDirectoryLineResult = {\n addressingIdentifier: string;\n platformType: string;\n directoryLineStatus: string;\n siren: string;\n legalUnit: {\n siren: string;\n businessName: string;\n entityType: string;\n administrativeStatus: string;\n isSalesProspectingForbidden: boolean;\n };\n facility: {\n isSalesProspectingForbidden: boolean;\n };\n};\n\nexport interface ReadDirectoryLine {\n search: QuerySearchDirectoryLine;\n totalNumberOfResults: number;\n results: ReadDirectoryLineResult[];\n identite_etablissement?: string;\n}\n\nexport interface ReadClientDirectoryLine {\n search: QuerySearchDirectoryLine;\n totalNumberOfResults: number;\n results: ReadDirectoryLineResult[];\n}\nexport interface ReadDocoonStructure {\n id: string;\n code: string | null;\n name: string | null;\n tenantId: string;\n legalId: string;\n legalIdSchemeId: string;\n isEnabled: boolean;\n parentStructureId: string;\n countryCode: string | null;\n startDate: string | null;\n endDate: string | null;\n structureType: string | null;\n address: {\n name: string | null;\n street: string | null;\n zipCode: string | null;\n postBox: string | null;\n city: string | null;\n additionalInfo: string | null;\n country: string | null;\n };\n mainActivity: {\n name: string | null;\n code: string | null;\n };\n}\n\nexport interface ReadDocoonAddStructure {\n data: {\n addStructure: ReadDocoonStructure;\n };\n}\n\nexport interface ReadDocoonStructureResponse {\n data: {\n structureItems: ReadDocoonStructure[];\n };\n}\n\nexport interface ReadDocoonLegalEntity {\n id: string;\n code: string;\n name: string;\n tenantId: string;\n legalId: string;\n legalIdSchemeId: string;\n taxCountryCode: string;\n taxId?: string;\n legalForm: string;\n capital: string;\n outsideReform: boolean;\n isEnabled: boolean;\n isTaxable: boolean;\n personType: 'PRIVATE_PERSON' | 'MORAL_PERSON_PRIVATE' | 'MORAL_PERSON_PUBLIC';\n primaryStructureId: string;\n parentStructureId: string | null;\n structures: ReadDocoonStructure[];\n pdpProperties: {\n isVerified: boolean;\n isMandated: boolean;\n verifiedDate: string;\n pdpDirection: {\n outBound: boolean;\n inBound: boolean;\n };\n taxation: {\n isSingleTaxPayer: boolean;\n singleTaxPayerStructureId: string;\n taxSystem: string;\n taxRegime: string;\n };\n pdpMandates: string[];\n };\n}\n\nexport interface ReadDocoonLegalEntityListResponse {\n data: {\n legalEntityList: {\n edges: ReadDocoonLegalEntity[];\n pageInfo: {\n hasNextPage: boolean;\n endCursor: string | null;\n };\n };\n };\n}\n\nexport interface ReadDocoonAddLegalEntityResponse {\n data: {\n addLegalEntity: ReadDocoonLegalEntity;\n };\n}\n\nexport interface ReadDocoonLegalEntityResponse {\n data: {\n legalEntityItems: ReadDocoonLegalEntity[];\n };\n}\n\nexport interface ReadDocoonMandateResponse {\n data: {\n addDocumentJob: ReadDocoonMandate;\n };\n}\n\nexport interface ReadDocoonMandate {\n id: string;\n tenantId: string;\n trackingId: string;\n documents: ReadDocoonMandateDocument[];\n attachments: any[];\n}\n\nexport type ReadDocoonMandateDocument = {\n id: string;\n hash: string;\n};\n\nexport interface ReadDocoonLegalEntityWithMandateResponse {\n data: {\n runActionOnLegalEntity: string;\n };\n}\n\nexport interface ReadDocoonDirectoryLineAdded {\n id: string;\n creationDate: string;\n lastModificationDate: string;\n tenantId: string;\n structureId: string;\n name: string;\n addressingIdentifier: string;\n status: string;\n message: string;\n dateFrom: string;\n dateTo: string | null;\n flowError: ReadDocoonDirectoryLineFlowError;\n}\n\nexport interface ReadDocoonDirectoryLine {\n id: string;\n creationDate: string;\n lastModificationDate: string;\n structureId: string;\n structureName: string;\n name: string;\n addressingIdentifier: string;\n status: string;\n message: string;\n dateFrom: string;\n dateTo?: string | null;\n flowError?: ReadDocoonDirectoryLineFlowError;\n}\n\nexport interface ReadDocoonDirectoryLineFlowError {\n details: string[];\n errorCode: string;\n errorMessage: string;\n}\nexport interface ReadDocoonTenantDirectoryLines {\n tenantId: string;\n directoryLines: ReadDocoonDirectoryLineAdded[];\n}\n\nexport interface ReadAllDocoonTenantDirectoryLines {\n tenantId: string;\n totalNumberOfResults: number;\n directoryLines: ReadDocoonDirectoryLine[];\n}\n\nexport interface GetFlowOutputCustomDTO {\n submittedAt?: string;\n updatedAt?: string;\n creationUserId?: string;\n creationUserLabel?: string;\n lastModificationUserId?: string;\n lastModificationUserLabel?: string;\n tenantId?: string;\n structureId?: string;\n documentTypeCode?: string;\n docType?: string;\n convertedSyntax?: string;\n documentId?: string;\n flowId?: string;\n sha256?: string;\n trackingId?: string;\n name?: string;\n flowSyntax?: string;\n flowProfile?: string;\n flowStatus?: string;\n flowType?: string;\n flowDirection?: string;\n flowCategory?: string;\n attachmentNumber?: number;\n documentSubTypeCode?: string;\n status?: string;\n documentStatus?: string;\n details?: Record<string, any>;\n gedFields?: Array<{\n key?: string;\n value?: string;\n dataType?: string;\n }>;\n jobIds?: string[];\n attachmentIds?: string[];\n acknowledgment?: {\n status?: string;\n path?: string | null;\n details?:\n | {\n level?: string | null;\n item?: string | null;\n reasonCode?: string | null;\n reasonMessage?: string | null;\n fullMessage?: string | null;\n }\n | Array<{\n level?: string | null;\n item?: string | null;\n reasonCode?: string | null;\n reasonMessage?: string | null;\n fullMessage?: string | null;\n }>;\n };\n acknowledgement?: {\n status?: string;\n path?: string | null;\n details?:\n | {\n level?: string | null;\n item?: string | null;\n reasonCode?: string | null;\n reasonMessage?: string | null;\n fullMessage?: string | null;\n }\n | Array<{\n level?: string | null;\n item?: string | null;\n reasonCode?: string | null;\n reasonMessage?: string | null;\n fullMessage?: string | null;\n }>;\n };\n}\n\nexport interface DocoonWebhookPayload {\n activityType: string;\n date: string;\n jobId: string;\n jobMessageId: string;\n documentId: string;\n documentName: string;\n tenantId: string;\n tenantName: string;\n flowId: string;\n senderIdentifier: string;\n receiverIdentifier: string;\n detailMessage: string;\n validationErrors: string;\n chorusStatus: string;\n chorusComment: string;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
2
+ export type SyncFlowStatusResult = {
3
+ id: number;
4
+ status: EInvoicingStatusCode;
5
+ message: string | null;
6
+ docoonStatus: string;
7
+ files: {
8
+ xmlId: number | null;
9
+ pdfId: number | null;
10
+ };
11
+ };
12
+ //# sourceMappingURL=SyncFlowStatusResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SyncFlowStatusResult.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;CACH,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SyncFlowStatusResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SyncFlowStatusResult.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/einvoicing/SyncFlowStatusResult.ts"],"names":[],"mappings":"","sourcesContent":["import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';\n\nexport type SyncFlowStatusResult = {\n id: number;\n status: EInvoicingStatusCode;\n message: string | null;\n docoonStatus: string;\n files: {\n xmlId: number | null;\n pdfId: number | null;\n };\n};\n"]}
@@ -0,0 +1,17 @@
1
+ export declare class CreateNotificationDataDto {
2
+ title?: string;
3
+ message?: string;
4
+ link?: string;
5
+ }
6
+ export declare class CreateInternalNotificationDto {
7
+ idTypeNotificationCode: number;
8
+ idTypeNotificationType: number;
9
+ deletion?: boolean;
10
+ markable?: boolean;
11
+ flaggable?: boolean;
12
+ displaysUsersWhoRead?: boolean;
13
+ title?: string;
14
+ message?: string;
15
+ link?: string;
16
+ }
17
+ //# sourceMappingURL=CreateInternalNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInternalNotification.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateInternalNotification.ts"],"names":[],"mappings":"AAGA,qBAAa,yBAAyB;IAIpC,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,6BAA6B;IAGxC,sBAAsB,EAAE,MAAM,CAAC;IAI/B,sBAAsB,EAAE,MAAM,CAAC;IAK/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAK/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,98 @@
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 { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
12
+ export class CreateNotificationDataDto {
13
+ title;
14
+ message;
15
+ link;
16
+ }
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ IsOptional(),
20
+ IsString(),
21
+ __metadata("design:type", String)
22
+ ], CreateNotificationDataDto.prototype, "title", void 0);
23
+ __decorate([
24
+ ApiPropertyOptional(),
25
+ IsOptional(),
26
+ IsString(),
27
+ __metadata("design:type", String)
28
+ ], CreateNotificationDataDto.prototype, "message", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ IsOptional(),
32
+ IsString(),
33
+ __metadata("design:type", String)
34
+ ], CreateNotificationDataDto.prototype, "link", void 0);
35
+ export class CreateInternalNotificationDto {
36
+ idTypeNotificationCode;
37
+ idTypeNotificationType;
38
+ deletion;
39
+ markable;
40
+ flaggable;
41
+ displaysUsersWhoRead;
42
+ title;
43
+ message;
44
+ link;
45
+ }
46
+ __decorate([
47
+ ApiProperty(),
48
+ IsInt(),
49
+ __metadata("design:type", Number)
50
+ ], CreateInternalNotificationDto.prototype, "idTypeNotificationCode", void 0);
51
+ __decorate([
52
+ ApiProperty(),
53
+ IsInt(),
54
+ __metadata("design:type", Number)
55
+ ], CreateInternalNotificationDto.prototype, "idTypeNotificationType", void 0);
56
+ __decorate([
57
+ ApiPropertyOptional(),
58
+ IsOptional(),
59
+ IsBoolean(),
60
+ __metadata("design:type", Boolean)
61
+ ], CreateInternalNotificationDto.prototype, "deletion", void 0);
62
+ __decorate([
63
+ ApiPropertyOptional(),
64
+ IsOptional(),
65
+ IsBoolean(),
66
+ __metadata("design:type", Boolean)
67
+ ], CreateInternalNotificationDto.prototype, "markable", void 0);
68
+ __decorate([
69
+ ApiPropertyOptional(),
70
+ IsOptional(),
71
+ IsBoolean(),
72
+ __metadata("design:type", Boolean)
73
+ ], CreateInternalNotificationDto.prototype, "flaggable", void 0);
74
+ __decorate([
75
+ ApiPropertyOptional(),
76
+ IsOptional(),
77
+ IsBoolean(),
78
+ __metadata("design:type", Boolean)
79
+ ], CreateInternalNotificationDto.prototype, "displaysUsersWhoRead", void 0);
80
+ __decorate([
81
+ ApiPropertyOptional(),
82
+ IsOptional(),
83
+ IsString(),
84
+ __metadata("design:type", String)
85
+ ], CreateInternalNotificationDto.prototype, "title", void 0);
86
+ __decorate([
87
+ ApiPropertyOptional(),
88
+ IsOptional(),
89
+ IsString(),
90
+ __metadata("design:type", String)
91
+ ], CreateInternalNotificationDto.prototype, "message", void 0);
92
+ __decorate([
93
+ ApiPropertyOptional(),
94
+ IsOptional(),
95
+ IsString(),
96
+ __metadata("design:type", String)
97
+ ], CreateInternalNotificationDto.prototype, "link", void 0);
98
+ //# sourceMappingURL=CreateInternalNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInternalNotification.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateInternalNotification.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,KAAK,E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, IsInt, IsOptional, IsString } from 'class-validator';\n\nexport class CreateNotificationDataDto {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n title?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n message?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n link?: string;\n}\n\nexport class CreateInternalNotificationDto {\n @ApiProperty()\n @IsInt()\n idTypeNotificationCode: number;\n\n @ApiProperty()\n @IsInt()\n idTypeNotificationType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n deletion?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n markable?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n flaggable?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n displaysUsersWhoRead?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n title?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n message?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n link?: string;\n}\n"]}
@@ -9,5 +9,6 @@ export declare class CreateProduct {
9
9
  type: number;
10
10
  comment?: string;
11
11
  codeProduct?: string;
12
+ idAccount?: number;
12
13
  }
13
14
  //# sourceMappingURL=CreateProduct.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":"AAMA,qBAAa,aAAa;IAGxB,IAAI,EAAE,MAAM,CAAC;IAMb,gBAAgB,EAAE,MAAM,CAAC;IAIzB,KAAK,EAAE,MAAM,CAAC;IAKd,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"CreateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":"AAMA,qBAAa,aAAa;IAGxB,IAAI,EAAE,MAAM,CAAC;IAMb,gBAAgB,EAAE,MAAM,CAAC;IAIzB,KAAK,EAAE,MAAM,CAAC;IAKd,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsNumber, IsOptional, IsString, Min } from 'class-validator';
10
+ import { IsBoolean, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';
11
11
  import { ProductType, Unit } from '../../../index.js';
12
12
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
13
13
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
@@ -23,6 +23,7 @@ export class CreateProduct {
23
23
  type;
24
24
  comment;
25
25
  codeProduct;
26
+ idAccount;
26
27
  }
27
28
  __decorate([
28
29
  ApiProperty(),
@@ -84,4 +85,10 @@ __decorate([
84
85
  IsOptional(),
85
86
  __metadata("design:type", String)
86
87
  ], CreateProduct.prototype, "codeProduct", void 0);
88
+ __decorate([
89
+ ApiPropertyOptional(),
90
+ IsInt(),
91
+ IsOptional(),
92
+ __metadata("design:type", Number)
93
+ ], CreateProduct.prototype, "idAccount", void 0);
87
94
  //# sourceMappingURL=CreateProduct.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAEhF,MAAM,OAAO,aAAa;IAGxB,IAAI,CAAS;IAMb,gBAAgB,CAAS;IAIzB,KAAK,CAAS;IAKd,aAAa,CAAU;IAKvB,gBAAgB,CAAU;IAM1B,MAAM,CAAW;IAKjB,IAAI,CAAS;IAKb,IAAI,CAAS;IAKb,OAAO,CAAU;IAKjB,WAAW,CAAU;CACtB;AA/CC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACE;AAMb;IAJC,WAAW,EAAE;IACb,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,2BAA2B;KACrC,CAAC;;uDACuB;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACa;AAM1B;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6CACI;AAKjB;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,IAAI,CAAC;;2CACJ;AAKb;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,WAAW,CAAC;;2CACX;AAKb;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACQ","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ProductType, Unit } from '../../../index.js';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator.js';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @Min(0, {\n message: 'Le prix doit être positif',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n idVat: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n marginVatType?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountOfPurchase?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isFree?: boolean;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n}\n"]}
1
+ {"version":3,"file":"CreateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,IAA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ACM","sourcesContent":["import { IsBoolean, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ProductType, Unit } from '../../../index.js';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator.js';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @Min(0, {\n message: 'Le prix doit être positif',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n idVat: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n marginVatType?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountOfPurchase?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isFree?: boolean;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idAccount?: number;\n}\n"]}
@@ -38,6 +38,7 @@ export declare class IAccount {
38
38
  idRegisterCategorie?: number | null;
39
39
  idSector?: number | null;
40
40
  idParentAccount?: number | null;
41
+ metadata?: Record<string, any> | null;
41
42
  createdAt?: Date | null;
42
43
  updatedAt?: Date | null;
43
44
  deletedAt?: Date | null;