@icib.dev/api-client 1.0.5 → 1.1.1

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 (235) hide show
  1. package/README.md +29 -11
  2. package/dist/scripts/generate.js +75 -7
  3. package/dist/scripts/verify.js +0 -0
  4. package/package.json +9 -16
  5. package/dist/api/apiClient.d.ts +0 -6
  6. package/dist/api/apiClient.d.ts.map +0 -1
  7. package/dist/api/apiClient.js +0 -5
  8. package/dist/api/client.d.ts +0 -15
  9. package/dist/api/client.d.ts.map +0 -1
  10. package/dist/api/client.js +0 -37
  11. package/dist/api/contexts/QR_Code.d.ts +0 -41
  12. package/dist/api/contexts/QR_Code.d.ts.map +0 -1
  13. package/dist/api/contexts/QR_Code.js +0 -42
  14. package/dist/api/contexts/allegati.d.ts +0 -58
  15. package/dist/api/contexts/allegati.d.ts.map +0 -1
  16. package/dist/api/contexts/allegati.js +0 -52
  17. package/dist/api/contexts/allegato.d.ts +0 -19
  18. package/dist/api/contexts/allegato.d.ts.map +0 -1
  19. package/dist/api/contexts/allegato.js +0 -22
  20. package/dist/api/contexts/articolo.d.ts +0 -98
  21. package/dist/api/contexts/articolo.d.ts.map +0 -1
  22. package/dist/api/contexts/articolo.js +0 -76
  23. package/dist/api/contexts/aspetto_beni.d.ts +0 -73
  24. package/dist/api/contexts/aspetto_beni.d.ts.map +0 -1
  25. package/dist/api/contexts/aspetto_beni.js +0 -57
  26. package/dist/api/contexts/auth.d.ts +0 -23
  27. package/dist/api/contexts/auth.d.ts.map +0 -1
  28. package/dist/api/contexts/auth.js +0 -29
  29. package/dist/api/contexts/azienda.d.ts +0 -81
  30. package/dist/api/contexts/azienda.d.ts.map +0 -1
  31. package/dist/api/contexts/azienda.js +0 -61
  32. package/dist/api/contexts/banca.d.ts +0 -77
  33. package/dist/api/contexts/banca.d.ts.map +0 -1
  34. package/dist/api/contexts/banca.js +0 -59
  35. package/dist/api/contexts/building-media.d.ts +0 -109
  36. package/dist/api/contexts/building-media.d.ts.map +0 -1
  37. package/dist/api/contexts/building-media.js +0 -93
  38. package/dist/api/contexts/building.d.ts +0 -77
  39. package/dist/api/contexts/building.d.ts.map +0 -1
  40. package/dist/api/contexts/building.js +0 -59
  41. package/dist/api/contexts/catalog.d.ts +0 -77
  42. package/dist/api/contexts/catalog.d.ts.map +0 -1
  43. package/dist/api/contexts/catalog.js +0 -59
  44. package/dist/api/contexts/causale_trasporto.d.ts +0 -77
  45. package/dist/api/contexts/causale_trasporto.d.ts.map +0 -1
  46. package/dist/api/contexts/causale_trasporto.js +0 -59
  47. package/dist/api/contexts/change_password.d.ts +0 -5
  48. package/dist/api/contexts/change_password.d.ts.map +0 -1
  49. package/dist/api/contexts/change_password.js +0 -8
  50. package/dist/api/contexts/client-catalog.d.ts +0 -81
  51. package/dist/api/contexts/client-catalog.d.ts.map +0 -1
  52. package/dist/api/contexts/client-catalog.js +0 -61
  53. package/dist/api/contexts/client-user.d.ts +0 -92
  54. package/dist/api/contexts/client-user.d.ts.map +0 -1
  55. package/dist/api/contexts/client-user.js +0 -63
  56. package/dist/api/contexts/client.d.ts +0 -85
  57. package/dist/api/contexts/client.d.ts.map +0 -1
  58. package/dist/api/contexts/client.js +0 -67
  59. package/dist/api/contexts/cliente_fornitore.d.ts +0 -157
  60. package/dist/api/contexts/cliente_fornitore.d.ts.map +0 -1
  61. package/dist/api/contexts/cliente_fornitore.js +0 -100
  62. package/dist/api/contexts/cliente_fornitore_banca.d.ts +0 -73
  63. package/dist/api/contexts/cliente_fornitore_banca.d.ts.map +0 -1
  64. package/dist/api/contexts/cliente_fornitore_banca.js +0 -57
  65. package/dist/api/contexts/cliente_fornitore_contatto.d.ts +0 -85
  66. package/dist/api/contexts/cliente_fornitore_contatto.d.ts.map +0 -1
  67. package/dist/api/contexts/cliente_fornitore_contatto.js +0 -63
  68. package/dist/api/contexts/cliente_fornitore_sede.d.ts +0 -81
  69. package/dist/api/contexts/cliente_fornitore_sede.d.ts.map +0 -1
  70. package/dist/api/contexts/cliente_fornitore_sede.js +0 -61
  71. package/dist/api/contexts/codice_iva.d.ts +0 -81
  72. package/dist/api/contexts/codice_iva.d.ts.map +0 -1
  73. package/dist/api/contexts/codice_iva.js +0 -61
  74. package/dist/api/contexts/comment.d.ts +0 -73
  75. package/dist/api/contexts/comment.d.ts.map +0 -1
  76. package/dist/api/contexts/comment.js +0 -57
  77. package/dist/api/contexts/contact.d.ts +0 -81
  78. package/dist/api/contexts/contact.d.ts.map +0 -1
  79. package/dist/api/contexts/contact.js +0 -61
  80. package/dist/api/contexts/contract.d.ts +0 -73
  81. package/dist/api/contexts/contract.d.ts.map +0 -1
  82. package/dist/api/contexts/contract.js +0 -57
  83. package/dist/api/contexts/dashboard.d.ts +0 -9
  84. package/dist/api/contexts/dashboard.d.ts.map +0 -1
  85. package/dist/api/contexts/dashboard.js +0 -12
  86. package/dist/api/contexts/documento.d.ts +0 -1036
  87. package/dist/api/contexts/documento.d.ts.map +0 -1
  88. package/dist/api/contexts/documento.js +0 -733
  89. package/dist/api/contexts/equipment.d.ts +0 -85
  90. package/dist/api/contexts/equipment.d.ts.map +0 -1
  91. package/dist/api/contexts/equipment.js +0 -63
  92. package/dist/api/contexts/equipment_document.d.ts +0 -109
  93. package/dist/api/contexts/equipment_document.d.ts.map +0 -1
  94. package/dist/api/contexts/equipment_document.js +0 -93
  95. package/dist/api/contexts/equipment_field.d.ts +0 -77
  96. package/dist/api/contexts/equipment_field.d.ts.map +0 -1
  97. package/dist/api/contexts/equipment_field.js +0 -59
  98. package/dist/api/contexts/equipment_model.d.ts +0 -77
  99. package/dist/api/contexts/equipment_model.d.ts.map +0 -1
  100. package/dist/api/contexts/equipment_model.js +0 -59
  101. package/dist/api/contexts/equipment_model_checklist_item.d.ts +0 -73
  102. package/dist/api/contexts/equipment_model_checklist_item.d.ts.map +0 -1
  103. package/dist/api/contexts/equipment_model_checklist_item.js +0 -57
  104. package/dist/api/contexts/fe-invio.d.ts +0 -110
  105. package/dist/api/contexts/fe-invio.d.ts.map +0 -1
  106. package/dist/api/contexts/fe-invio.js +0 -76
  107. package/dist/api/contexts/fe-ricezione.d.ts +0 -385
  108. package/dist/api/contexts/fe-ricezione.d.ts.map +0 -1
  109. package/dist/api/contexts/fe-ricezione.js +0 -287
  110. package/dist/api/contexts/field.d.ts +0 -85
  111. package/dist/api/contexts/field.d.ts.map +0 -1
  112. package/dist/api/contexts/field.js +0 -63
  113. package/dist/api/contexts/info.d.ts +0 -5
  114. package/dist/api/contexts/info.d.ts.map +0 -1
  115. package/dist/api/contexts/info.js +0 -8
  116. package/dist/api/contexts/items.d.ts +0 -5
  117. package/dist/api/contexts/items.d.ts.map +0 -1
  118. package/dist/api/contexts/items.js +0 -8
  119. package/dist/api/contexts/law.d.ts +0 -89
  120. package/dist/api/contexts/law.d.ts.map +0 -1
  121. package/dist/api/contexts/law.js +0 -73
  122. package/dist/api/contexts/magazzino.d.ts +0 -81
  123. package/dist/api/contexts/magazzino.d.ts.map +0 -1
  124. package/dist/api/contexts/magazzino.js +0 -61
  125. package/dist/api/contexts/me.d.ts +0 -5
  126. package/dist/api/contexts/me.d.ts.map +0 -1
  127. package/dist/api/contexts/me.js +0 -8
  128. package/dist/api/contexts/media.d.ts +0 -57
  129. package/dist/api/contexts/media.d.ts.map +0 -1
  130. package/dist/api/contexts/media.js +0 -44
  131. package/dist/api/contexts/movimento.d.ts +0 -85
  132. package/dist/api/contexts/movimento.d.ts.map +0 -1
  133. package/dist/api/contexts/movimento.js +0 -63
  134. package/dist/api/contexts/movimento_magazzino.d.ts +0 -97
  135. package/dist/api/contexts/movimento_magazzino.d.ts.map +0 -1
  136. package/dist/api/contexts/movimento_magazzino.js +0 -69
  137. package/dist/api/contexts/non-conformity-product.d.ts +0 -81
  138. package/dist/api/contexts/non-conformity-product.d.ts.map +0 -1
  139. package/dist/api/contexts/non-conformity-product.js +0 -61
  140. package/dist/api/contexts/non_conformity.d.ts +0 -113
  141. package/dist/api/contexts/non_conformity.d.ts.map +0 -1
  142. package/dist/api/contexts/non_conformity.js +0 -85
  143. package/dist/api/contexts/non_conformity_equipment.d.ts +0 -85
  144. package/dist/api/contexts/non_conformity_equipment.d.ts.map +0 -1
  145. package/dist/api/contexts/non_conformity_equipment.js +0 -63
  146. package/dist/api/contexts/offer-item-product.d.ts +0 -85
  147. package/dist/api/contexts/offer-item-product.d.ts.map +0 -1
  148. package/dist/api/contexts/offer-item-product.js +0 -63
  149. package/dist/api/contexts/offer-item.d.ts +0 -77
  150. package/dist/api/contexts/offer-item.d.ts.map +0 -1
  151. package/dist/api/contexts/offer-item.js +0 -59
  152. package/dist/api/contexts/offer.d.ts +0 -111
  153. package/dist/api/contexts/offer.d.ts.map +0 -1
  154. package/dist/api/contexts/offer.js +0 -85
  155. package/dist/api/contexts/pagamento.d.ts +0 -97
  156. package/dist/api/contexts/pagamento.d.ts.map +0 -1
  157. package/dist/api/contexts/pagamento.js +0 -79
  158. package/dist/api/contexts/piano_conti.d.ts +0 -77
  159. package/dist/api/contexts/piano_conti.d.ts.map +0 -1
  160. package/dist/api/contexts/piano_conti.js +0 -59
  161. package/dist/api/contexts/price-tag.d.ts +0 -77
  162. package/dist/api/contexts/price-tag.d.ts.map +0 -1
  163. package/dist/api/contexts/price-tag.js +0 -59
  164. package/dist/api/contexts/product-accessory.d.ts +0 -77
  165. package/dist/api/contexts/product-accessory.d.ts.map +0 -1
  166. package/dist/api/contexts/product-accessory.js +0 -59
  167. package/dist/api/contexts/product-family.d.ts +0 -81
  168. package/dist/api/contexts/product-family.d.ts.map +0 -1
  169. package/dist/api/contexts/product-family.js +0 -69
  170. package/dist/api/contexts/product-installation.d.ts +0 -77
  171. package/dist/api/contexts/product-installation.d.ts.map +0 -1
  172. package/dist/api/contexts/product-installation.js +0 -59
  173. package/dist/api/contexts/product-law.d.ts +0 -77
  174. package/dist/api/contexts/product-law.d.ts.map +0 -1
  175. package/dist/api/contexts/product-law.js +0 -59
  176. package/dist/api/contexts/product-media.d.ts +0 -117
  177. package/dist/api/contexts/product-media.d.ts.map +0 -1
  178. package/dist/api/contexts/product-media.js +0 -101
  179. package/dist/api/contexts/product-supplier.d.ts +0 -81
  180. package/dist/api/contexts/product-supplier.d.ts.map +0 -1
  181. package/dist/api/contexts/product-supplier.js +0 -61
  182. package/dist/api/contexts/product.d.ts +0 -161
  183. package/dist/api/contexts/product.d.ts.map +0 -1
  184. package/dist/api/contexts/product.js +0 -123
  185. package/dist/api/contexts/registry.d.ts +0 -89
  186. package/dist/api/contexts/registry.d.ts.map +0 -1
  187. package/dist/api/contexts/registry.js +0 -65
  188. package/dist/api/contexts/registry_model.d.ts +0 -97
  189. package/dist/api/contexts/registry_model.d.ts.map +0 -1
  190. package/dist/api/contexts/registry_model.js +0 -85
  191. package/dist/api/contexts/scadenzario.d.ts +0 -151
  192. package/dist/api/contexts/scadenzario.d.ts.map +0 -1
  193. package/dist/api/contexts/scadenzario.js +0 -106
  194. package/dist/api/contexts/scadenzario_tipologia.d.ts +0 -73
  195. package/dist/api/contexts/scadenzario_tipologia.d.ts.map +0 -1
  196. package/dist/api/contexts/scadenzario_tipologia.js +0 -57
  197. package/dist/api/contexts/sezionale.d.ts +0 -81
  198. package/dist/api/contexts/sezionale.d.ts.map +0 -1
  199. package/dist/api/contexts/sezionale.js +0 -61
  200. package/dist/api/contexts/supplier.d.ts +0 -81
  201. package/dist/api/contexts/supplier.d.ts.map +0 -1
  202. package/dist/api/contexts/supplier.js +0 -69
  203. package/dist/api/contexts/tipo_articolo.d.ts +0 -73
  204. package/dist/api/contexts/tipo_articolo.d.ts.map +0 -1
  205. package/dist/api/contexts/tipo_articolo.js +0 -57
  206. package/dist/api/contexts/unitamisura.d.ts +0 -77
  207. package/dist/api/contexts/unitamisura.d.ts.map +0 -1
  208. package/dist/api/contexts/unitamisura.js +0 -59
  209. package/dist/api/contexts/utente.d.ts +0 -99
  210. package/dist/api/contexts/utente.d.ts.map +0 -1
  211. package/dist/api/contexts/utente.js +0 -77
  212. package/dist/api/contexts/validation.d.ts +0 -81
  213. package/dist/api/contexts/validation.d.ts.map +0 -1
  214. package/dist/api/contexts/validation.js +0 -61
  215. package/dist/api/contexts/visit-equipment-media.d.ts +0 -109
  216. package/dist/api/contexts/visit-equipment-media.d.ts.map +0 -1
  217. package/dist/api/contexts/visit-equipment-media.js +0 -93
  218. package/dist/api/contexts/visit-equipment.d.ts +0 -87
  219. package/dist/api/contexts/visit-equipment.d.ts.map +0 -1
  220. package/dist/api/contexts/visit-equipment.js +0 -69
  221. package/dist/api/contexts/visit-job.d.ts +0 -77
  222. package/dist/api/contexts/visit-job.d.ts.map +0 -1
  223. package/dist/api/contexts/visit-job.js +0 -59
  224. package/dist/api/contexts/visit-technician.d.ts +0 -77
  225. package/dist/api/contexts/visit-technician.d.ts.map +0 -1
  226. package/dist/api/contexts/visit-technician.js +0 -59
  227. package/dist/api/contexts/visit.d.ts +0 -107
  228. package/dist/api/contexts/visit.d.ts.map +0 -1
  229. package/dist/api/contexts/visit.js +0 -83
  230. package/dist/api/index.d.ts +0 -5
  231. package/dist/api/index.d.ts.map +0 -1
  232. package/dist/api/index.js +0 -4
  233. package/dist/api/types/index.d.ts +0 -10
  234. package/dist/api/types/index.d.ts.map +0 -1
  235. package/dist/api/types/index.js +0 -2
@@ -1,85 +0,0 @@
1
- import type { Field } from "../types/index.js";
2
- /** API client for field endpoints */
3
- export declare const field: {
4
- /**
5
- * @param params.search - A search term.
6
- * @param params.ordering - Which field to use when ordering the results.
7
- * @param params.name - Query parameter
8
- * @param params.format - Query parameter
9
- * @param params.type - Query parameter
10
- * @param params.is_active - Query parameter
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- */
14
- list(params?: {
15
- search?: string;
16
- ordering?: string;
17
- name?: string;
18
- format?: string;
19
- type?: string;
20
- is_active?: string;
21
- page?: number;
22
- size?: number;
23
- }): Promise<import("axios").AxiosResponse<{
24
- count: number;
25
- next?: string | null;
26
- previous?: string | null;
27
- results: Array<Field>;
28
- }, any, {}>>;
29
- /**
30
- * @param data - Request body
31
- */
32
- create(data: Field): Promise<import("axios").AxiosResponse<Field, any, {}>>;
33
- /**
34
- * @param params.search - A search term.
35
- * @param params.ordering - Which field to use when ordering the results.
36
- * @param params.name - Query parameter
37
- * @param params.format - Query parameter
38
- * @param params.type - Query parameter
39
- * @param params.is_active - Query parameter
40
- * @param params.page - A page number within the paginated result set.
41
- * @param params.size - Number of results to return per page.
42
- */
43
- select(params?: {
44
- search?: string;
45
- ordering?: string;
46
- name?: string;
47
- format?: string;
48
- type?: string;
49
- is_active?: string;
50
- page?: number;
51
- size?: number;
52
- }): Promise<import("axios").AxiosResponse<{
53
- count: number;
54
- next?: string | null;
55
- previous?: string | null;
56
- results: Array<Field>;
57
- }, any, {}>>;
58
- /**
59
- * @param params.id - A UUID string identifying this Field.
60
- */
61
- read(params: {
62
- id: string | number;
63
- }): Promise<import("axios").AxiosResponse<Field, any, {}>>;
64
- /**
65
- * @param params.id - A UUID string identifying this Field.
66
- * @param data - Request body
67
- */
68
- update(params: {
69
- id: string | number;
70
- }, data: Field): Promise<import("axios").AxiosResponse<Field, any, {}>>;
71
- /**
72
- * @param params.id - A UUID string identifying this Field.
73
- * @param data - Request body
74
- */
75
- partialUpdate(params: {
76
- id: string | number;
77
- }, data: Field): Promise<import("axios").AxiosResponse<Field, any, {}>>;
78
- /**
79
- * @param params.id - A UUID string identifying this Field.
80
- */
81
- delete(params: {
82
- id: string | number;
83
- }): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
84
- };
85
- //# sourceMappingURL=field.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../api/contexts/field.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,qCAAqC;AACrC,eAAO,MAAM,KAAK;IACd;;;;;;;;;OASG;kBACiB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAEtJ,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,KAAK,CAAC;;IAGnB;;OAEG;iBACgB,KAAK;IAGxB;;;;;;;;;OASG;oBACmB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAExJ,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,KAAK,CAAC;;IAGnB;;OAEG;iBACgB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAG1C;;;OAGG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,KAAK;IAGzD;;;OAGG;0BACyB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,KAAK;IAGhE;;OAEG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CAG/C,CAAC"}
@@ -1,63 +0,0 @@
1
- // Auto-generated API client for context: field
2
- import { client } from "../client.js";
3
- /** API client for field endpoints */
4
- export const field = {
5
- /**
6
- * @param params.search - A search term.
7
- * @param params.ordering - Which field to use when ordering the results.
8
- * @param params.name - Query parameter
9
- * @param params.format - Query parameter
10
- * @param params.type - Query parameter
11
- * @param params.is_active - Query parameter
12
- * @param params.page - A page number within the paginated result set.
13
- * @param params.size - Number of results to return per page.
14
- */
15
- async list(params) {
16
- return client.get("/api/field/", { params });
17
- },
18
- /**
19
- * @param data - Request body
20
- */
21
- async create(data) {
22
- return client.post("/api/field/", data);
23
- },
24
- /**
25
- * @param params.search - A search term.
26
- * @param params.ordering - Which field to use when ordering the results.
27
- * @param params.name - Query parameter
28
- * @param params.format - Query parameter
29
- * @param params.type - Query parameter
30
- * @param params.is_active - Query parameter
31
- * @param params.page - A page number within the paginated result set.
32
- * @param params.size - Number of results to return per page.
33
- */
34
- async select(params) {
35
- return client.get("/api/field/select/", { params });
36
- },
37
- /**
38
- * @param params.id - A UUID string identifying this Field.
39
- */
40
- async read(params) {
41
- return client.get(`/api/field/${String(params.id)}/`);
42
- },
43
- /**
44
- * @param params.id - A UUID string identifying this Field.
45
- * @param data - Request body
46
- */
47
- async update(params, data) {
48
- return client.put(`/api/field/${String(params.id)}/`, data);
49
- },
50
- /**
51
- * @param params.id - A UUID string identifying this Field.
52
- * @param data - Request body
53
- */
54
- async partialUpdate(params, data) {
55
- return client.patch(`/api/field/${String(params.id)}/`, data);
56
- },
57
- /**
58
- * @param params.id - A UUID string identifying this Field.
59
- */
60
- async delete(params) {
61
- return client.delete(`/api/field/${String(params.id)}/`);
62
- }
63
- };
@@ -1,5 +0,0 @@
1
- /** API client for info endpoints */
2
- export declare const info: {
3
- list(): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
4
- };
5
- //# sourceMappingURL=info.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../api/contexts/info.ts"],"names":[],"mappings":"AAIA,oCAAoC;AACpC,eAAO,MAAM,IAAI;;CAIhB,CAAC"}
@@ -1,8 +0,0 @@
1
- // Auto-generated API client for context: info
2
- import { client } from "../client.js";
3
- /** API client for info endpoints */
4
- export const info = {
5
- async list() {
6
- return client.get("/api/info/");
7
- }
8
- };
@@ -1,5 +0,0 @@
1
- /** API client for items endpoints */
2
- export declare const items: {
3
- list(): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
4
- };
5
- //# sourceMappingURL=items.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../api/contexts/items.ts"],"names":[],"mappings":"AAIA,qCAAqC;AACrC,eAAO,MAAM,KAAK;;CAIjB,CAAC"}
@@ -1,8 +0,0 @@
1
- // Auto-generated API client for context: items
2
- import { client } from "../client.js";
3
- /** API client for items endpoints */
4
- export const items = {
5
- async list() {
6
- return client.get("/items/");
7
- }
8
- };
@@ -1,89 +0,0 @@
1
- import { type BlobDownloadOptions } from "../client.js";
2
- import type { Law } from "../types/index.js";
3
- /** API client for law endpoints */
4
- export declare const law: {
5
- /**
6
- * @param params.search - A search term.
7
- * @param params.ordering - Which field to use when ordering the results.
8
- * @param params.name - Query parameter
9
- * @param params.description - Query parameter
10
- * @param params.product - Query parameter
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- */
14
- list(params?: {
15
- search?: string;
16
- ordering?: string;
17
- name?: string;
18
- description?: string;
19
- product?: string;
20
- page?: number;
21
- size?: number;
22
- }): Promise<import("axios").AxiosResponse<{
23
- count: number;
24
- next?: string | null;
25
- previous?: string | null;
26
- results: Array<Law>;
27
- }, any, {}>>;
28
- /**
29
- * @param data - Request body
30
- */
31
- create(data: Law): Promise<import("axios").AxiosResponse<Law, any, {}>>;
32
- /**
33
- * Importa normative da CSV
34
- * Crea in blocco le normative di riferimento da un file CSV. **Colonne CSV:** - `nome` *(obbligatorio)* — nome della normativa - `descrizione` *(opzionale)* — testo libero Le normative già esistenti (per nome) vengono saltate, non aggiornate.
35
- * @param options.download - When true, triggers a file download in the browser
36
- * @param options.filename - Suggested filename for the download
37
- */
38
- importCsv(data?: FormData | Record<string, unknown>, options?: BlobDownloadOptions): Promise<import("axios").AxiosResponse<Blob, any, {}>>;
39
- /**
40
- * @param params.search - A search term.
41
- * @param params.ordering - Which field to use when ordering the results.
42
- * @param params.name - Query parameter
43
- * @param params.description - Query parameter
44
- * @param params.product - Query parameter
45
- * @param params.page - A page number within the paginated result set.
46
- * @param params.size - Number of results to return per page.
47
- */
48
- select(params?: {
49
- search?: string;
50
- ordering?: string;
51
- name?: string;
52
- description?: string;
53
- product?: string;
54
- page?: number;
55
- size?: number;
56
- }): Promise<import("axios").AxiosResponse<{
57
- count: number;
58
- next?: string | null;
59
- previous?: string | null;
60
- results: Array<Law>;
61
- }, any, {}>>;
62
- /**
63
- * @param params.id - A UUID string identifying this Law.
64
- */
65
- read(params: {
66
- id: string | number;
67
- }): Promise<import("axios").AxiosResponse<Law, any, {}>>;
68
- /**
69
- * @param params.id - A UUID string identifying this Law.
70
- * @param data - Request body
71
- */
72
- update(params: {
73
- id: string | number;
74
- }, data: Law): Promise<import("axios").AxiosResponse<Law, any, {}>>;
75
- /**
76
- * @param params.id - A UUID string identifying this Law.
77
- * @param data - Request body
78
- */
79
- partialUpdate(params: {
80
- id: string | number;
81
- }, data: Law): Promise<import("axios").AxiosResponse<Law, any, {}>>;
82
- /**
83
- * @param params.id - A UUID string identifying this Law.
84
- */
85
- delete(params: {
86
- id: string | number;
87
- }): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
88
- };
89
- //# sourceMappingURL=law.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"law.d.ts","sourceRoot":"","sources":["../../../api/contexts/law.ts"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,mBAAmB,EAA4B,MAAM,cAAc,CAAC;AAE/G,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAE7C,mCAAmC;AACnC,eAAO,MAAM,GAAG;IACZ;;;;;;;;OAQG;kBACiB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAE1I,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,GAAG,CAAC;;IAGjB;;OAEG;iBACgB,GAAG;IAGtB;;;;;OAKG;qBACoB,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,mBAAmB;IAKxF;;;;;;;;OAQG;oBACmB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAE5I,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,GAAG,CAAC;;IAGjB;;OAEG;iBACgB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAG1C;;;OAGG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,GAAG;IAGvD;;;OAGG;0BACyB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,GAAG;IAG9D;;OAEG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CAG/C,CAAC"}
@@ -1,73 +0,0 @@
1
- // Auto-generated API client for context: law
2
- import { client, triggerBlobDownload } from "../client.js";
3
- /** API client for law endpoints */
4
- export const law = {
5
- /**
6
- * @param params.search - A search term.
7
- * @param params.ordering - Which field to use when ordering the results.
8
- * @param params.name - Query parameter
9
- * @param params.description - Query parameter
10
- * @param params.product - Query parameter
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- */
14
- async list(params) {
15
- return client.get("/api/law/", { params });
16
- },
17
- /**
18
- * @param data - Request body
19
- */
20
- async create(data) {
21
- return client.post("/api/law/", data);
22
- },
23
- /**
24
- * Importa normative da CSV
25
- * Crea in blocco le normative di riferimento da un file CSV. **Colonne CSV:** - `nome` *(obbligatorio)* — nome della normativa - `descrizione` *(opzionale)* — testo libero Le normative già esistenti (per nome) vengono saltate, non aggiornate.
26
- * @param options.download - When true, triggers a file download in the browser
27
- * @param options.filename - Suggested filename for the download
28
- */
29
- async importCsv(data, options) {
30
- const res = await client.post("/api/law/import_csv/", data, { responseType: "blob" });
31
- if (options?.download)
32
- triggerBlobDownload(res.data, res.headers, options.filename);
33
- return res;
34
- },
35
- /**
36
- * @param params.search - A search term.
37
- * @param params.ordering - Which field to use when ordering the results.
38
- * @param params.name - Query parameter
39
- * @param params.description - Query parameter
40
- * @param params.product - Query parameter
41
- * @param params.page - A page number within the paginated result set.
42
- * @param params.size - Number of results to return per page.
43
- */
44
- async select(params) {
45
- return client.get("/api/law/select/", { params });
46
- },
47
- /**
48
- * @param params.id - A UUID string identifying this Law.
49
- */
50
- async read(params) {
51
- return client.get(`/api/law/${String(params.id)}/`);
52
- },
53
- /**
54
- * @param params.id - A UUID string identifying this Law.
55
- * @param data - Request body
56
- */
57
- async update(params, data) {
58
- return client.put(`/api/law/${String(params.id)}/`, data);
59
- },
60
- /**
61
- * @param params.id - A UUID string identifying this Law.
62
- * @param data - Request body
63
- */
64
- async partialUpdate(params, data) {
65
- return client.patch(`/api/law/${String(params.id)}/`, data);
66
- },
67
- /**
68
- * @param params.id - A UUID string identifying this Law.
69
- */
70
- async delete(params) {
71
- return client.delete(`/api/law/${String(params.id)}/`);
72
- }
73
- };
@@ -1,81 +0,0 @@
1
- import type { Magazzino } from "../types/index.js";
2
- /** API client for magazzino endpoints */
3
- export declare const magazzino: {
4
- /**
5
- * @param params.search - A search term.
6
- * @param params.ordering - Which field to use when ordering the results.
7
- * @param params.codice - Query parameter
8
- * @param params.nome - Query parameter
9
- * @param params.esterno - Query parameter
10
- * @param params.page - A page number within the paginated result set.
11
- * @param params.size - Number of results to return per page.
12
- */
13
- list(params?: {
14
- search?: string;
15
- ordering?: string;
16
- codice?: string;
17
- nome?: string;
18
- esterno?: string;
19
- page?: number;
20
- size?: number;
21
- }): Promise<import("axios").AxiosResponse<{
22
- count: number;
23
- next?: string | null;
24
- previous?: string | null;
25
- results: Array<Magazzino>;
26
- }, any, {}>>;
27
- /**
28
- * @param data - Request body
29
- */
30
- create(data: Magazzino): Promise<import("axios").AxiosResponse<Magazzino, any, {}>>;
31
- /**
32
- * @param params.search - A search term.
33
- * @param params.ordering - Which field to use when ordering the results.
34
- * @param params.codice - Query parameter
35
- * @param params.nome - Query parameter
36
- * @param params.esterno - Query parameter
37
- * @param params.page - A page number within the paginated result set.
38
- * @param params.size - Number of results to return per page.
39
- */
40
- select(params?: {
41
- search?: string;
42
- ordering?: string;
43
- codice?: string;
44
- nome?: string;
45
- esterno?: string;
46
- page?: number;
47
- size?: number;
48
- }): Promise<import("axios").AxiosResponse<{
49
- count: number;
50
- next?: string | null;
51
- previous?: string | null;
52
- results: Array<Magazzino>;
53
- }, any, {}>>;
54
- /**
55
- * @param params.id - A unique integer value identifying this Magazzino.
56
- */
57
- read(params: {
58
- id: string | number;
59
- }): Promise<import("axios").AxiosResponse<Magazzino, any, {}>>;
60
- /**
61
- * @param params.id - A unique integer value identifying this Magazzino.
62
- * @param data - Request body
63
- */
64
- update(params: {
65
- id: string | number;
66
- }, data: Magazzino): Promise<import("axios").AxiosResponse<Magazzino, any, {}>>;
67
- /**
68
- * @param params.id - A unique integer value identifying this Magazzino.
69
- * @param data - Request body
70
- */
71
- partialUpdate(params: {
72
- id: string | number;
73
- }, data: Magazzino): Promise<import("axios").AxiosResponse<Magazzino, any, {}>>;
74
- /**
75
- * @param params.id - A unique integer value identifying this Magazzino.
76
- */
77
- delete(params: {
78
- id: string | number;
79
- }): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
80
- };
81
- //# sourceMappingURL=magazzino.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"magazzino.d.ts","sourceRoot":"","sources":["../../../api/contexts/magazzino.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,yCAAyC;AACzC,eAAO,MAAM,SAAS;IAClB;;;;;;;;OAQG;kBACiB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAErI,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,SAAS,CAAC;;IAGvB;;OAEG;iBACgB,SAAS;IAG5B;;;;;;;;OAQG;oBACmB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;eAEvI,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,SAAS,CAAC;;IAGvB;;OAEG;iBACgB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAG1C;;;OAGG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,SAAS;IAG7D;;;OAGG;0BACyB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,QAAQ,SAAS;IAGpE;;OAEG;mBACkB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CAG/C,CAAC"}
@@ -1,61 +0,0 @@
1
- // Auto-generated API client for context: magazzino
2
- import { client } from "../client.js";
3
- /** API client for magazzino endpoints */
4
- export const magazzino = {
5
- /**
6
- * @param params.search - A search term.
7
- * @param params.ordering - Which field to use when ordering the results.
8
- * @param params.codice - Query parameter
9
- * @param params.nome - Query parameter
10
- * @param params.esterno - Query parameter
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- */
14
- async list(params) {
15
- return client.get("/api/magazzino/", { params });
16
- },
17
- /**
18
- * @param data - Request body
19
- */
20
- async create(data) {
21
- return client.post("/api/magazzino/", data);
22
- },
23
- /**
24
- * @param params.search - A search term.
25
- * @param params.ordering - Which field to use when ordering the results.
26
- * @param params.codice - Query parameter
27
- * @param params.nome - Query parameter
28
- * @param params.esterno - Query parameter
29
- * @param params.page - A page number within the paginated result set.
30
- * @param params.size - Number of results to return per page.
31
- */
32
- async select(params) {
33
- return client.get("/api/magazzino/select/", { params });
34
- },
35
- /**
36
- * @param params.id - A unique integer value identifying this Magazzino.
37
- */
38
- async read(params) {
39
- return client.get(`/api/magazzino/${String(params.id)}/`);
40
- },
41
- /**
42
- * @param params.id - A unique integer value identifying this Magazzino.
43
- * @param data - Request body
44
- */
45
- async update(params, data) {
46
- return client.put(`/api/magazzino/${String(params.id)}/`, data);
47
- },
48
- /**
49
- * @param params.id - A unique integer value identifying this Magazzino.
50
- * @param data - Request body
51
- */
52
- async partialUpdate(params, data) {
53
- return client.patch(`/api/magazzino/${String(params.id)}/`, data);
54
- },
55
- /**
56
- * @param params.id - A unique integer value identifying this Magazzino.
57
- */
58
- async delete(params) {
59
- return client.delete(`/api/magazzino/${String(params.id)}/`);
60
- }
61
- };
@@ -1,5 +0,0 @@
1
- /** API client for me endpoints */
2
- export declare const me: {
3
- list(): Promise<import("axios").AxiosResponse<unknown, any, {}>>;
4
- };
5
- //# sourceMappingURL=me.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../../../api/contexts/me.ts"],"names":[],"mappings":"AAIA,kCAAkC;AAClC,eAAO,MAAM,EAAE;;CAId,CAAC"}
@@ -1,8 +0,0 @@
1
- // Auto-generated API client for context: me
2
- import { client } from "../client.js";
3
- /** API client for me endpoints */
4
- export const me = {
5
- async list() {
6
- return client.get("/api/me");
7
- }
8
- };
@@ -1,57 +0,0 @@
1
- import { type BlobDownloadOptions } from "../client.js";
2
- import type { Media } from "../types/index.js";
3
- /** API client for media endpoints */
4
- export declare const media: {
5
- /**
6
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
7
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
8
- * @param params.search - A search term.
9
- * @param params.ordering - Which field to use when ordering the results.
10
- * @param params.type - Filtra per tipo media (es. IMAGE, PDF).
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- * @param params.building - Filtra per building (UUID). Più filtri entity sono combinati con OR.
14
- * @param params.product - Filtra per product (UUID).
15
- * @param params.equipment - Filtra per equipment (UUID).
16
- * @param params.visit_equipment - Filtra per visit_equipment (UUID).
17
- * @param params.registry_model - Filtra per registry_model (UUID).
18
- * @param params.visit - Filtra per visit (UUID).
19
- */
20
- list(params?: {
21
- search?: string;
22
- ordering?: string;
23
- type?: string;
24
- page?: number;
25
- size?: number;
26
- building?: string;
27
- product?: string;
28
- equipment?: string;
29
- visit_equipment?: string;
30
- registry_model?: string;
31
- visit?: string;
32
- }): Promise<import("axios").AxiosResponse<{
33
- count: number;
34
- next?: string | null;
35
- previous?: string | null;
36
- results: Array<Media>;
37
- }, any, {}>>;
38
- /**
39
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
40
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
41
- * @param params.id - A UUID string identifying this Media.
42
- */
43
- read(params: {
44
- id: string | number;
45
- }): Promise<import("axios").AxiosResponse<Media, any, {}>>;
46
- /**
47
- * Download del file. ?inline=true per visualizzazione inline (es. immagini nel browser).
48
- * Download del file. ?inline=true per visualizzazione inline (es. immagini nel browser).
49
- * @param params.id - A UUID string identifying this Media.
50
- * @param options.download - When true, triggers a file download in the browser
51
- * @param options.filename - Suggested filename for the download
52
- */
53
- download(params: {
54
- id: string | number;
55
- }, options?: BlobDownloadOptions): Promise<import("axios").AxiosResponse<Blob, any, {}>>;
56
- };
57
- //# sourceMappingURL=media.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../api/contexts/media.ts"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,mBAAmB,EAA4B,MAAM,cAAc,CAAC;AAE/G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,qCAAqC;AACrC,eAAO,MAAM,KAAK;IACd;;;;;;;;;;;;;;OAcG;kBACiB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;eAE9N,MAAM;eACN,MAAM,GAAG,IAAI;mBACT,MAAM,GAAG,IAAI;iBACf,KAAK,CAAC,KAAK,CAAC;;IAGnB;;;;OAIG;iBACgB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAG1C;;;;;;OAMG;qBACoB;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,YAAY,mBAAmB;CAKhF,CAAC"}
@@ -1,44 +0,0 @@
1
- // Auto-generated API client for context: media
2
- import { client, triggerBlobDownload } from "../client.js";
3
- /** API client for media endpoints */
4
- export const media = {
5
- /**
6
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
7
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
8
- * @param params.search - A search term.
9
- * @param params.ordering - Which field to use when ordering the results.
10
- * @param params.type - Filtra per tipo media (es. IMAGE, PDF).
11
- * @param params.page - A page number within the paginated result set.
12
- * @param params.size - Number of results to return per page.
13
- * @param params.building - Filtra per building (UUID). Più filtri entity sono combinati con OR.
14
- * @param params.product - Filtra per product (UUID).
15
- * @param params.equipment - Filtra per equipment (UUID).
16
- * @param params.visit_equipment - Filtra per visit_equipment (UUID).
17
- * @param params.registry_model - Filtra per registry_model (UUID).
18
- * @param params.visit - Filtra per visit (UUID).
19
- */
20
- async list(params) {
21
- return client.get("/api/media/", { params });
22
- },
23
- /**
24
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
25
- * Read-only ViewSet per elencare e scaricare i Media centralizzati.
26
- * @param params.id - A UUID string identifying this Media.
27
- */
28
- async read(params) {
29
- return client.get(`/api/media/${String(params.id)}/`);
30
- },
31
- /**
32
- * Download del file. ?inline=true per visualizzazione inline (es. immagini nel browser).
33
- * Download del file. ?inline=true per visualizzazione inline (es. immagini nel browser).
34
- * @param params.id - A UUID string identifying this Media.
35
- * @param options.download - When true, triggers a file download in the browser
36
- * @param options.filename - Suggested filename for the download
37
- */
38
- async download(params, options) {
39
- const res = await client.get(`/api/media/${String(params.id)}/download/`, { responseType: "blob" });
40
- if (options?.download)
41
- triggerBlobDownload(res.data, res.headers, options.filename);
42
- return res;
43
- }
44
- };