@silexpert/core 0.4.36 → 0.4.37

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 (108) hide show
  1. package/es/api/resources/BalanceSheetModule.d.ts +10 -0
  2. package/es/api/resources/BalanceSheetModule.d.ts.map +1 -0
  3. package/es/api/resources/BalanceSheetModule.js +16 -0
  4. package/es/api/resources/BalanceSheetModule.js.map +1 -0
  5. package/es/api/resources/User.d.ts +3 -1
  6. package/es/api/resources/User.d.ts.map +1 -1
  7. package/es/api/resources/User.js +6 -0
  8. package/es/api/resources/User.js.map +1 -1
  9. package/es/types/Enum/{TypeConnector.d.ts → ConnectorType.d.ts} +2 -2
  10. package/es/types/Enum/{TypeConnector.d.ts.map → ConnectorType.d.ts.map} +1 -1
  11. package/es/types/Enum/ConnectorType.js +15 -0
  12. package/es/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
  13. package/es/types/Form/FormConnector.d.ts +3 -3
  14. package/es/types/Form/FormConnector.d.ts.map +1 -1
  15. package/es/types/Form/FormConnector.js.map +1 -1
  16. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +8 -0
  17. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -0
  18. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +33 -0
  19. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
  20. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts +4 -0
  21. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts.map +1 -0
  22. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +17 -0
  23. package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
  24. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +8 -0
  25. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -0
  26. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +33 -0
  27. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
  28. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +44 -0
  29. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +1 -0
  30. package/es/types/Interface/api/pdf/BillingDocumentData.js +2 -0
  31. package/es/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
  32. package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.d.ts +10 -0
  33. package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.d.ts.map +1 -0
  34. package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.js +41 -0
  35. package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.js.map +1 -0
  36. package/es/types/Interface/api/user/Permissions.d.ts +13 -0
  37. package/es/types/Interface/api/user/Permissions.d.ts.map +1 -0
  38. package/es/types/Interface/api/user/Permissions.js +2 -0
  39. package/es/types/Interface/api/user/Permissions.js.map +1 -0
  40. package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.d.ts +10 -0
  41. package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.d.ts.map +1 -0
  42. package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.js +37 -0
  43. package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.js.map +1 -0
  44. package/es/types/Interface/models/IApiError.d.ts +1 -0
  45. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  46. package/es/types/Interface/models/IApiError.js +1 -0
  47. package/es/types/Interface/models/IApiError.js.map +1 -1
  48. package/es/types/Interface/models/IEstimateInvoice.d.ts +13 -13
  49. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  50. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  51. package/es/types/Interface/models/IItemEstimate.d.ts +4 -4
  52. package/es/types/Interface/models/IItemEstimate.d.ts.map +1 -1
  53. package/es/types/Interface/models/IItemEstimate.js.map +1 -1
  54. package/es/types/Interface/models/IPermission.d.ts +2 -0
  55. package/es/types/Interface/models/IPermission.d.ts.map +1 -1
  56. package/es/types/Interface/models/IPermission.js.map +1 -1
  57. package/es/types/Interface/models/IProduct.d.ts +5 -5
  58. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  59. package/es/types/Interface/models/IProduct.js.map +1 -1
  60. package/es/types/index.d.ts +9 -1
  61. package/es/types/index.d.ts.map +1 -1
  62. package/es/types/index.js +9 -1
  63. package/es/types/index.js.map +1 -1
  64. package/js/api/resources/BalanceSheetModule.js +30 -0
  65. package/js/api/resources/BalanceSheetModule.js.map +1 -0
  66. package/js/api/resources/User.js +8 -0
  67. package/js/api/resources/User.js.map +1 -1
  68. package/js/types/Enum/ConnectorType.js +21 -0
  69. package/js/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
  70. package/js/types/Form/FormConnector.js.map +1 -1
  71. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +35 -0
  72. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
  73. package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +27 -0
  74. package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
  75. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +35 -0
  76. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
  77. package/js/types/Interface/api/pdf/BillingDocumentData.js +6 -0
  78. package/js/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
  79. package/js/types/Interface/api/user/CreateUserToSocietyWithPermission.js +39 -0
  80. package/js/types/Interface/api/user/CreateUserToSocietyWithPermission.js.map +1 -0
  81. package/js/types/Interface/api/user/Permissions.js +6 -0
  82. package/js/types/Interface/api/user/Permissions.js.map +1 -0
  83. package/js/types/Interface/api/user/UpdateUserToSocietyWithPermission.js +37 -0
  84. package/js/types/Interface/api/user/UpdateUserToSocietyWithPermission.js.map +1 -0
  85. package/js/types/Interface/models/IApiError.js +1 -0
  86. package/js/types/Interface/models/IApiError.js.map +1 -1
  87. package/js/types/index.js +99 -3
  88. package/js/types/index.js.map +1 -1
  89. package/package.json +1 -1
  90. package/ts/api/resources/BalanceSheetModule.ts +21 -0
  91. package/ts/api/resources/User.ts +7 -1
  92. package/ts/types/Enum/{TypeConnector.ts → ConnectorType.ts} +1 -1
  93. package/ts/types/Form/FormConnector.ts +3 -3
  94. package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +18 -0
  95. package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +6 -0
  96. package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +18 -0
  97. package/ts/types/Interface/api/pdf/BillingDocumentData.ts +44 -0
  98. package/ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts +18 -0
  99. package/ts/types/Interface/api/user/Permissions.ts +12 -0
  100. package/ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts +17 -0
  101. package/ts/types/Interface/models/IApiError.ts +1 -0
  102. package/ts/types/Interface/models/IEstimateInvoice.ts +13 -13
  103. package/ts/types/Interface/models/IItemEstimate.ts +4 -4
  104. package/ts/types/Interface/models/IPermission.ts +2 -0
  105. package/ts/types/Interface/models/IProduct.ts +5 -5
  106. package/ts/types/index.ts +9 -1
  107. package/es/types/Enum/TypeConnector.js +0 -15
  108. package/js/types/Enum/TypeConnector.js +0 -21
@@ -0,0 +1,10 @@
1
+ import { Resource } from '../Resource';
2
+ import { CreateBalanceSheetModuleForm, IBalanceSheetModule } from '../../types';
3
+ import { UpdateBalanceSheetModuleForm } from '../../types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule';
4
+ export declare class BalanceSheetModule extends Resource {
5
+ getBalanceSheetModule(id: number): Promise<IBalanceSheetModule>;
6
+ getBalanceSheetModules(): Promise<IBalanceSheetModule[]>;
7
+ createBalanceSheetModule(payload: CreateBalanceSheetModuleForm): Promise<IBalanceSheetModule>;
8
+ updateBalanceSheetModule(payload: UpdateBalanceSheetModuleForm): Promise<IBalanceSheetModule>;
9
+ }
10
+ //# sourceMappingURL=BalanceSheetModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,uEAAuE,CAAC;AAErH,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI/D,sBAAsB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIxD,wBAAwB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI7F,wBAAwB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
@@ -0,0 +1,16 @@
1
+ import { Resource } from '../Resource';
2
+ export class BalanceSheetModule extends Resource {
3
+ getBalanceSheetModule(id) {
4
+ return this.axios.$get(`/balancesheetmodule/${id}`);
5
+ }
6
+ getBalanceSheetModules() {
7
+ return this.axios.$get('/balancesheetmodules');
8
+ }
9
+ createBalanceSheetModule(payload) {
10
+ return this.axios.$post('/balancesheetmodule', payload);
11
+ }
12
+ updateBalanceSheetModule(payload) {
13
+ return this.axios.$put('/balancesheetmodule/:idBalanceSheetModule', payload);
14
+ }
15
+ }
16
+ //# sourceMappingURL=BalanceSheetModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceSheetModule.js","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,qBAAqB,CAAC,EAAU;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,sBAAsB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACjD,CAAC;IAED,wBAAwB,CAAC,OAAqC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,wBAAwB,CAAC,OAAqC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateBalanceSheetModuleForm, IBalanceSheetModule } from '../../types';\nimport { UpdateBalanceSheetModuleForm } from '../../types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule';\n\nexport class BalanceSheetModule extends Resource {\n getBalanceSheetModule(id: number): Promise<IBalanceSheetModule> {\n return this.axios.$get(`/balancesheetmodule/${id}`);\n }\n\n getBalanceSheetModules(): Promise<IBalanceSheetModule[]> {\n return this.axios.$get('/balancesheetmodules');\n }\n\n createBalanceSheetModule(payload: CreateBalanceSheetModuleForm): Promise<IBalanceSheetModule> {\n return this.axios.$post('/balancesheetmodule', payload);\n }\n\n updateBalanceSheetModule(payload: UpdateBalanceSheetModuleForm): Promise<IBalanceSheetModule> {\n return this.axios.$put('/balancesheetmodule/:idBalanceSheetModule', payload);\n }\n}\n"]}
@@ -1,9 +1,11 @@
1
1
  import { Resource } from '../Resource';
2
- import { IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation } from '../../types';
2
+ import { IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission } from '../../types';
3
3
  export declare class User extends Resource {
4
4
  confirm(params: QueryConfirm): Promise<IUser>;
5
5
  resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean>;
6
6
  create(data: CreateUser): Promise<IUser>;
7
+ createUserToSocietyWithPermission(data: CreateUserToSocietyWithPermission): Promise<IUser>;
8
+ updateUserToSocietyWithPermission(id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser>;
7
9
  sendNewCode(id: number): Promise<IUser>;
8
10
  verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser>;
9
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,UAAU,EAAE,wBAAwB,EACvF,MAAM,aAAa,CAAC;AAErB,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7C,2BAA2B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;IAGlF,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAGxC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAGvC,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC;CAGxF"}
1
+ {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,UAAU,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,iCAAiC,EAC7J,MAAM,aAAa,CAAC;AAErB,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7C,2BAA2B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;IAGlF,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAGxC,iCAAiC,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAG1F,iCAAiC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAGtG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAGvC,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC;CAGxF"}
@@ -9,6 +9,12 @@ export class User extends Resource {
9
9
  create(data) {
10
10
  return this.axios.$post('user/create', data);
11
11
  }
12
+ createUserToSocietyWithPermission(data) {
13
+ return this.axios.$post('user/createUserToSocietyWithPermission', data);
14
+ }
15
+ updateUserToSocietyWithPermission(id, data) {
16
+ return this.axios.$put(`user/updateUserToSocietyWithPermission/${id}`, data);
17
+ }
12
18
  sendNewCode(id) {
13
19
  return this.axios.$put(`user/${id}/sendNewSmsCode`);
14
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,IAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,WAAW,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACtD,CAAC;IACD,yBAAyB,CAAC,EAAU,EAAE,MAAgC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n}\n"]}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,IAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,iCAAiC,CAAC,IAAuC;QACvE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IACD,iCAAiC,CAAC,EAAU,EAAE,IAAuC;QACnF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IACD,WAAW,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACtD,CAAC;IACD,yBAAyB,CAAC,EAAU,EAAE,MAAgC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n createUserToSocietyWithPermission(data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post('user/createUserToSocietyWithPermission', data);\n }\n updateUserToSocietyWithPermission(id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`user/updateUserToSocietyWithPermission/${id}`, data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- export declare enum TypeConnector {
1
+ export declare enum ConnectorType {
2
2
  SEELSY = 1,
3
3
  PRESTASHOP = 2,
4
4
  ZOHO = 3,
@@ -11,4 +11,4 @@ export declare enum TypeConnector {
11
11
  WOOCOMMERCE = 10,
12
12
  ACTIVATION = 11
13
13
  }
14
- //# sourceMappingURL=TypeConnector.d.ts.map
14
+ //# sourceMappingURL=ConnectorType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TypeConnector.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TypeConnector.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,MAAM,IAAI;IACV,EAAE,IAAI;IACN,SAAS,IAAI;IACb,OAAO,IAAI;IACX,WAAW,KAAK;IAChB,UAAU,KAAK;CAChB"}
1
+ {"version":3,"file":"ConnectorType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ConnectorType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,MAAM,IAAI;IACV,EAAE,IAAI;IACN,SAAS,IAAI;IACb,OAAO,IAAI;IACX,WAAW,KAAK;IAChB,UAAU,KAAK;CAChB"}
@@ -0,0 +1,15 @@
1
+ export var ConnectorType;
2
+ (function (ConnectorType) {
3
+ ConnectorType[ConnectorType["SEELSY"] = 1] = "SEELSY";
4
+ ConnectorType[ConnectorType["PRESTASHOP"] = 2] = "PRESTASHOP";
5
+ ConnectorType[ConnectorType["ZOHO"] = 3] = "ZOHO";
6
+ ConnectorType[ConnectorType["DOLIBARR"] = 4] = "DOLIBARR";
7
+ ConnectorType[ConnectorType["STRIPE_CONNECT"] = 5] = "STRIPE_CONNECT";
8
+ ConnectorType[ConnectorType["STRIPE"] = 6] = "STRIPE";
9
+ ConnectorType[ConnectorType["JS"] = 7] = "JS";
10
+ ConnectorType[ConnectorType["AUTOLOGIN"] = 8] = "AUTOLOGIN";
11
+ ConnectorType[ConnectorType["SHOPIFY"] = 9] = "SHOPIFY";
12
+ ConnectorType[ConnectorType["WOOCOMMERCE"] = 10] = "WOOCOMMERCE";
13
+ ConnectorType[ConnectorType["ACTIVATION"] = 11] = "ACTIVATION";
14
+ })(ConnectorType || (ConnectorType = {}));
15
+ //# sourceMappingURL=ConnectorType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TypeConnector.js","sourceRoot":"","sources":["../../../ts/types/Enum/TypeConnector.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,6DAAc,CAAA;IACd,iDAAQ,CAAA;IACR,yDAAY,CAAA;IACZ,qEAAkB,CAAA;IAClB,qDAAU,CAAA;IACV,6CAAM,CAAA;IACN,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,gEAAgB,CAAA;IAChB,8DAAe,CAAA;AACjB,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB","sourcesContent":["export enum TypeConnector {\n SEELSY = 1,\n PRESTASHOP = 2,\n ZOHO = 3,\n DOLIBARR = 4,\n STRIPE_CONNECT = 5,\n STRIPE = 6,\n JS = 7,\n AUTOLOGIN = 8,\n SHOPIFY = 9,\n WOOCOMMERCE = 10,\n ACTIVATION = 11,\n}"]}
1
+ {"version":3,"file":"ConnectorType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ConnectorType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,6DAAc,CAAA;IACd,iDAAQ,CAAA;IACR,yDAAY,CAAA;IACZ,qEAAkB,CAAA;IAClB,qDAAU,CAAA;IACV,6CAAM,CAAA;IACN,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,gEAAgB,CAAA;IAChB,8DAAe,CAAA;AACjB,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB","sourcesContent":["export enum ConnectorType {\n SEELSY = 1,\n PRESTASHOP = 2,\n ZOHO = 3,\n DOLIBARR = 4,\n STRIPE_CONNECT = 5,\n STRIPE = 6,\n JS = 7,\n AUTOLOGIN = 8,\n SHOPIFY = 9,\n WOOCOMMERCE = 10,\n ACTIVATION = 11,\n}"]}
@@ -1,4 +1,4 @@
1
- import { TypeConnector } from '../Enum/TypeConnector';
1
+ import { ConnectorType } from '../Enum/ConnectorType';
2
2
  export declare class FormConnector {
3
3
  username?: string;
4
4
  pass?: string;
@@ -8,7 +8,7 @@ export declare class FormConnector {
8
8
  token3?: string;
9
9
  token4?: string;
10
10
  date?: Date;
11
- idTypeConnector: TypeConnector;
12
- idSociety: number;
11
+ idTypeConnector: ConnectorType;
12
+ idSociety?: number;
13
13
  }
14
14
  //# sourceMappingURL=FormConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;CA8BzB","sourcesContent":["import { TypeConnector } from '../Enum/TypeConnector';\n\nexport class FormConnector {\n // @ApiProperty()\n username?: string;\n\n // @ApiProperty()\n pass?: string;\n\n // @ApiProperty()\n url?: string;\n\n // @ApiProperty()\n token?: string;\n\n // @ApiProperty()\n token2?: string;\n\n // @ApiProperty()\n token3?: string;\n\n // @ApiProperty()\n token4?: string;\n\n // @ApiProperty()\n date?: Date;\n\n // @ApiProperty()\n idTypeConnector: TypeConnector;\n\n // @ApiProperty()\n idSociety: number;\n}\n"]}
1
+ {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;CA8BzB","sourcesContent":["import { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiProperty()\n username?: string;\n\n // @ApiProperty()\n pass?: string;\n\n // @ApiProperty()\n url?: string;\n\n // @ApiProperty()\n token?: string;\n\n // @ApiProperty()\n token2?: string;\n\n // @ApiProperty()\n token3?: string;\n\n // @ApiProperty()\n token4?: string;\n\n // @ApiProperty()\n date?: Date;\n\n // @ApiProperty()\n idTypeConnector: ConnectorType;\n\n // @ApiProperty()\n idSociety?: number;\n}\n"]}
@@ -0,0 +1,8 @@
1
+ export declare class CreateBalanceSheetModuleForm {
2
+ inventory: boolean;
3
+ loanToDeclare: boolean;
4
+ deadlinerecoveryImmobilization: boolean;
5
+ salariesFile: boolean;
6
+ idExercice: number;
7
+ }
8
+ //# sourceMappingURL=CreateBalanceSheetModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,4BAA4B;IAEvC,SAAS,EAAE,OAAO,CAAC;IAGnB,aAAa,EAAE,OAAO,CAAC;IAGvB,8BAA8B,EAAE,OAAO,CAAC;IAGxC,YAAY,EAAE,OAAO,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,33 @@
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 '../../../../utils';
11
+ export class CreateBalanceSheetModuleForm {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", Boolean)
16
+ ], CreateBalanceSheetModuleForm.prototype, "inventory", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", Boolean)
20
+ ], CreateBalanceSheetModuleForm.prototype, "loanToDeclare", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", Boolean)
24
+ ], CreateBalanceSheetModuleForm.prototype, "deadlinerecoveryImmobilization", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ __metadata("design:type", Boolean)
28
+ ], CreateBalanceSheetModuleForm.prototype, "salariesFile", void 0);
29
+ __decorate([
30
+ ApiProperty(),
31
+ __metadata("design:type", Number)
32
+ ], CreateBalanceSheetModuleForm.prototype, "idExercice", void 0);
33
+ //# sourceMappingURL=CreateBalanceSheetModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,4BAA4B;CAexC;AAbC;IADC,mBAAmB,EAAE;;+DACH;AAGnB;IADC,mBAAmB,EAAE;;mEACC;AAGvB;IADC,mBAAmB,EAAE;;oFACkB;AAGxC;IADC,mBAAmB,EAAE;;kEACA;AAGtB;IADC,WAAW,EAAE;;gEACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare: boolean;\n\n @ApiPropertyOptional()\n deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile: boolean;\n\n @ApiProperty()\n idExercice: number;\n}"]}
@@ -0,0 +1,4 @@
1
+ export declare class GetBalanceSheetModule {
2
+ idExercice: number;
3
+ }
4
+ //# sourceMappingURL=GetBalanceSheetModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAEhC,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,17 @@
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 { ApiPropertyOptional } from '../../../../utils';
11
+ export class GetBalanceSheetModule {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", Number)
16
+ ], GetBalanceSheetModule.prototype, "idExercice", void 0);
17
+ //# sourceMappingURL=GetBalanceSheetModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,qBAAqB;CAGjC;AADC;IADC,mBAAmB,EAAE;;yDACH","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class GetBalanceSheetModule {\n @ApiPropertyOptional()\n idExercice: number;\n}"]}
@@ -0,0 +1,8 @@
1
+ export declare class UpdateBalanceSheetModuleForm {
2
+ inventory: boolean;
3
+ loanToDeclare: boolean;
4
+ deadlinerecoveryImmobilization: boolean;
5
+ salariesFile: boolean;
6
+ idExercice: number;
7
+ }
8
+ //# sourceMappingURL=UpdateBalanceSheetModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,4BAA4B;IAEvC,SAAS,EAAE,OAAO,CAAC;IAGnB,aAAa,EAAE,OAAO,CAAC;IAGvB,8BAA8B,EAAE,OAAO,CAAC;IAGxC,YAAY,EAAE,OAAO,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,33 @@
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 { ApiPropertyOptional } from '../../../../utils';
11
+ export class UpdateBalanceSheetModuleForm {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", Boolean)
16
+ ], UpdateBalanceSheetModuleForm.prototype, "inventory", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", Boolean)
20
+ ], UpdateBalanceSheetModuleForm.prototype, "loanToDeclare", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", Boolean)
24
+ ], UpdateBalanceSheetModuleForm.prototype, "deadlinerecoveryImmobilization", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ __metadata("design:type", Boolean)
28
+ ], UpdateBalanceSheetModuleForm.prototype, "salariesFile", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ __metadata("design:type", Number)
32
+ ], UpdateBalanceSheetModuleForm.prototype, "idExercice", void 0);
33
+ //# sourceMappingURL=UpdateBalanceSheetModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,4BAA4B;CAexC;AAbC;IADC,mBAAmB,EAAE;;+DACH;AAGnB;IADC,mBAAmB,EAAE;;mEACC;AAGvB;IADC,mBAAmB,EAAE;;oFACkB;AAGxC;IADC,mBAAmB,EAAE;;kEACA;AAGtB;IADC,mBAAmB,EAAE;;gEACH","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare: boolean;\n\n @ApiPropertyOptional()\n deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile: boolean;\n\n @ApiPropertyOptional()\n idExercice: number;\n}"]}
@@ -0,0 +1,44 @@
1
+ import { ISociety } from '../../models/ISociety';
2
+ interface BillingDocumentItemVat {
3
+ computeMethod: 'percentage';
4
+ vatPercentageValue: number;
5
+ }
6
+ interface BillingDocumentItem {
7
+ name: string;
8
+ comment: string;
9
+ quantity: number;
10
+ discount: number;
11
+ code: string;
12
+ price: number;
13
+ unit: string;
14
+ vat: BillingDocumentItemVat;
15
+ }
16
+ export declare type BillingDocumentData = {
17
+ society: Partial<ISociety>;
18
+ deposit: number;
19
+ template: number | null;
20
+ generalComment: string | null;
21
+ generalDiscount: number | null;
22
+ recipient: {
23
+ id?: number;
24
+ fullname: string | null;
25
+ company: string;
26
+ address?: string | null;
27
+ zipCode?: string | null;
28
+ city?: string | null;
29
+ phone?: string | null;
30
+ nTva?: string | null;
31
+ thirdPartyCountry: {
32
+ name: string;
33
+ };
34
+ };
35
+ references: {
36
+ createdDate: Date | null;
37
+ ref: string | null;
38
+ paymentPlan: string | null;
39
+ dueDate: Date | null;
40
+ };
41
+ items: BillingDocumentItem[];
42
+ };
43
+ export {};
44
+ //# sourceMappingURL=BillingDocumentData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,sBAAsB,CAAC;CAC7B;AAED,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,iBAAiB,EAAE;YACjB,IAAI,EAAE,MAAM,CAAC;SACd,CAAA;KACF,CAAC;IACF,UAAU,EAAE;QACV,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;QACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;KACtB,CAAC;IACF,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BillingDocumentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\ninterface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n };\n references: {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n },\n items: BillingDocumentItem[]\n};"]}
@@ -0,0 +1,10 @@
1
+ export declare class CreateUserToSocietyWithPermission {
2
+ email: string;
3
+ phone: string;
4
+ password: string;
5
+ firstname: string;
6
+ lastname: string;
7
+ acceptCgv?: boolean;
8
+ acceptNewsletter?: boolean;
9
+ }
10
+ //# sourceMappingURL=CreateUserToSocietyWithPermission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateUserToSocietyWithPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts"],"names":[],"mappings":"AAEA,qBAAa,iCAAiC;IAE5C,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
@@ -0,0 +1,41 @@
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 '../../../../utils';
11
+ export class CreateUserToSocietyWithPermission {
12
+ }
13
+ __decorate([
14
+ ApiProperty(),
15
+ __metadata("design:type", String)
16
+ ], CreateUserToSocietyWithPermission.prototype, "email", void 0);
17
+ __decorate([
18
+ ApiProperty(),
19
+ __metadata("design:type", String)
20
+ ], CreateUserToSocietyWithPermission.prototype, "phone", void 0);
21
+ __decorate([
22
+ ApiProperty(),
23
+ __metadata("design:type", String)
24
+ ], CreateUserToSocietyWithPermission.prototype, "password", void 0);
25
+ __decorate([
26
+ ApiProperty(),
27
+ __metadata("design:type", String)
28
+ ], CreateUserToSocietyWithPermission.prototype, "firstname", void 0);
29
+ __decorate([
30
+ ApiProperty(),
31
+ __metadata("design:type", String)
32
+ ], CreateUserToSocietyWithPermission.prototype, "lastname", void 0);
33
+ __decorate([
34
+ ApiProperty(),
35
+ __metadata("design:type", Boolean)
36
+ ], CreateUserToSocietyWithPermission.prototype, "acceptCgv", void 0);
37
+ __decorate([
38
+ ApiPropertyOptional(),
39
+ __metadata("design:type", Boolean)
40
+ ], CreateUserToSocietyWithPermission.prototype, "acceptNewsletter", void 0);
41
+ //# sourceMappingURL=CreateUserToSocietyWithPermission.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateUserToSocietyWithPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,iCAAiC;CAe7C;AAbC;IADC,WAAW,EAAE;;gEACA;AAEd;IADC,WAAW,EAAE;;gEACA;AAEd;IADC,WAAW,EAAE;;mEACG;AAEjB;IADC,WAAW,EAAE;;oEACI;AAElB;IADC,WAAW,EAAE;;mEACG;AAEjB;IADC,WAAW,EAAE;;oEACM;AAEpB;IADC,mBAAmB,EAAE;;2EACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateUserToSocietyWithPermission {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n}"]}
@@ -0,0 +1,13 @@
1
+ export interface Permissions {
2
+ gescom: boolean;
3
+ compta: boolean;
4
+ stats: boolean;
5
+ docTreso: boolean;
6
+ services: boolean;
7
+ social: boolean;
8
+ tva: boolean;
9
+ simulation: boolean;
10
+ simulationMultiple: boolean;
11
+ balanceSheet: boolean;
12
+ }
13
+ //# sourceMappingURL=Permissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Permissions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/Permissions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Permissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Permissions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/Permissions.ts"],"names":[],"mappings":"","sourcesContent":["export interface Permissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n}"]}
@@ -0,0 +1,10 @@
1
+ import { Permissions } from './Permissions';
2
+ export declare class UpdateUserToSocietyWithPermission {
3
+ email: string;
4
+ phone: string;
5
+ password: string;
6
+ firstname: string;
7
+ lastname: string;
8
+ permissions: Partial<Permissions>;
9
+ }
10
+ //# sourceMappingURL=UpdateUserToSocietyWithPermission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateUserToSocietyWithPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iCAAiC;IAE5C,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACnC"}
@@ -0,0 +1,37 @@
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 { ApiPropertyOptional } from '../../../../utils';
11
+ export class UpdateUserToSocietyWithPermission {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", String)
16
+ ], UpdateUserToSocietyWithPermission.prototype, "email", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", String)
20
+ ], UpdateUserToSocietyWithPermission.prototype, "phone", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", String)
24
+ ], UpdateUserToSocietyWithPermission.prototype, "password", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ __metadata("design:type", String)
28
+ ], UpdateUserToSocietyWithPermission.prototype, "firstname", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ __metadata("design:type", String)
32
+ ], UpdateUserToSocietyWithPermission.prototype, "lastname", void 0);
33
+ __decorate([
34
+ ApiPropertyOptional(),
35
+ __metadata("design:type", Object)
36
+ ], UpdateUserToSocietyWithPermission.prototype, "permissions", void 0);
37
+ //# sourceMappingURL=UpdateUserToSocietyWithPermission.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateUserToSocietyWithPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,OAAO,iCAAiC;CAa7C;AAXC;IADC,mBAAmB,EAAE;;gEACR;AAEd;IADC,mBAAmB,EAAE;;gEACR;AAEd;IADC,mBAAmB,EAAE;;mEACL;AAEjB;IADC,mBAAmB,EAAE;;oEACJ;AAElB;IADC,mBAAmB,EAAE;;mEACL;AAEjB;IADC,mBAAmB,EAAE;;sEACY","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\nimport { Permissions } from './Permissions';\n\nexport class UpdateUserToSocietyWithPermission {\n @ApiPropertyOptional()\n email: string;\n @ApiPropertyOptional()\n phone: string;\n @ApiPropertyOptional()\n password: string;\n @ApiPropertyOptional()\n firstname: string;\n @ApiPropertyOptional()\n lastname: string;\n @ApiPropertyOptional()\n permissions: Partial<Permissions>;\n}"]}
@@ -41,6 +41,7 @@ export declare enum Code {
41
41
  generationError = "generation_error",
42
42
  parseError = "parse_error",
43
43
  emailAlreadyExist = "email_already_exist",
44
+ phoneAlreadyExist = "phone_already_exist",
44
45
  societyCustomEmailAlreadyExist = "society_custom_email_already_exist",
45
46
  societyCustomEmailNotFound = "society_custom_email_not_found",
46
47
  emailNotFound = "email_not_found",
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IACxC,kBAAkB,wBAAwB;IAG1C,kBAAkB,yBAAyB;IAC3C,+BAA+B,2CAA2C;IAC1E,6BAA6B,yCAAyC;IACtE,uDAAuD,yEAAyE;IAChI,iBAAiB,wBAAwB;IACzC,mCAAmC,6CAA6C;IAChF,+BAA+B,0CAA0C;IACzE,+BAA+B,2CAA2C;IAC1E,6BAA6B,wCAAwC;IACrE,8BAA8B,wCAAwC;IACtE,4BAA4B,oCAAoC;IAChE,oBAAoB,6BAA6B;IACjD,iBAAiB,yBAAyB;IAC1C,uCAAuC,kDAAkD;IACzF,kCAA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9D,cAAc,qBAAqB;IACnC,mBAAmB,4BAA4B;IAC/C,YAAY,mBAAmB;IAG/B,gBAAgB,uBAAuB;IACvC,WAAW,gBAAgB;IAG3B,8BAA8B,uCAAuC;IACrE,kCAAkC,2CAA2C;IAC7E,0BAA0B,kCAAkC;IAC5D,0BAA0B,kCAAkC;IAE5D,cAAc,qBAAqB;IAGnC,cAAc,qBAAqB;CAEpC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -47,6 +47,7 @@ export var Code;
47
47
  Code["parseError"] = "parse_error";
48
48
  // Email error
49
49
  Code["emailAlreadyExist"] = "email_already_exist";
50
+ Code["phoneAlreadyExist"] = "phone_already_exist";
50
51
  Code["societyCustomEmailAlreadyExist"] = "society_custom_email_already_exist";
51
52
  Code["societyCustomEmailNotFound"] = "society_custom_email_not_found";
52
53
  Code["emailNotFound"] = "email_not_found";
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAoHX;AApHD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IACxC,kDAA0C,CAAA;IAE1C,mBAAmB;IACnB,mDAA2C,C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,CAAA;IAC3E,2HAAmH,CAAA;IACnH,mFAA2E,CAAA;IAC3E,+EAAuE,CAAA;IACvE,mDAA2C,CAAA;IAC3C,iDAAyC,CAAA;IACzC,iDAAyC,CAAA;IAEzC,gBAAgB;IAChB,8DAAsD,CAAA;IAEtD,UAAU;IACV,kFAA0E,CAAA;IAE1E,gBAAgB;IAChB,2DAAmD,CAAA;IACnD,iDAAyC,CAAA;IACzC,sEAA8D,CAAA;IAC9D,2CAAmC,CAAA;IACnC,uDAA+C,CAAA;IAC/C,uCAA+B,CAAA;IAE/B,QAAQ;IACR,+CAAuC,CAAA;IACvC,mCAA2B,CAAA;IAE3B,cAAc;IACd,6EAAqE,CAAA;IACrE,qFAA6E,CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAE5D,2CAAmC,CAAA;IAEnC,YAAY;IACZ,2CAAmC,CAAA;AAErC,CAAC,EApHW,IAAI,KAAJ,IAAI,QAoHf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAqHX;AArHD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IACxC,kDAA0C,CAAA;IAE1C,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,2DAAmD,CAAA;IACnD,8DAAsD,CAAA;IACtD,sDAA8C,CAAA;IAC9C,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IAC5G,oIAA4H,CAAA;IAC5H,2DAAmD,CAAA;IAEnD,YAAY;IACZ,oCAA4B,CAAA;IAC5B,4CAAoC,CAAA;IACpC,kCAA0B,CAAA;IAE1B,cAAc;IACd,iDAAyC,CAAA;IACzC,iDAAyC,CAAA;IACzC,6EAA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enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}