@vitrina/api 17.20.0 → 17.21.0

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.
package/dist/index.d.cts CHANGED
@@ -75892,6 +75892,8 @@ interface paths {
75892
75892
  * "payer": null,
75893
75893
  * "comment_count": 0,
75894
75894
  * "ads_document_id": null,
75895
+ * "card_processor": null,
75896
+ * "generic_label": null,
75895
75897
  * "created_at": "2026-10-28T09:00:00.000Z"
75896
75898
  * }
75897
75899
  * },
@@ -76743,6 +76745,8 @@ interface paths {
76743
76745
  * "payer": null,
76744
76746
  * "comment_count": 1,
76745
76747
  * "ads_document_id": null,
76748
+ * "card_processor": null,
76749
+ * "generic_label": null,
76746
76750
  * "created_at": "2026-10-30T08:00:00.000Z"
76747
76751
  * }
76748
76752
  * ],
@@ -76906,6 +76910,8 @@ interface paths {
76906
76910
  * "payer": null,
76907
76911
  * "comment_count": 1,
76908
76912
  * "ads_document_id": null,
76913
+ * "card_processor": null,
76914
+ * "generic_label": null,
76909
76915
  * "created_at": "2026-10-30T08:00:00.000Z",
76910
76916
  * "comments": [
76911
76917
  * {
@@ -82622,6 +82628,8 @@ interface paths {
82622
82628
  * "payer": null,
82623
82629
  * "comment_count": 0,
82624
82630
  * "ads_document_id": null,
82631
+ * "card_processor": null,
82632
+ * "generic_label": null,
82625
82633
  * "created_at": "2026-10-30T08:00:00.000Z"
82626
82634
  * },
82627
82635
  * "money_mirrored": false,
@@ -82653,6 +82661,7 @@ interface paths {
82653
82661
  * "paired_movement": null,
82654
82662
  * "cash_day": null,
82655
82663
  * "contraparte": null,
82664
+ * "payout": null,
82656
82665
  * "undoable": true
82657
82666
  * }
82658
82667
  * ],
@@ -82936,6 +82945,7 @@ interface paths {
82936
82945
  * "paired_movement": null,
82937
82946
  * "cash_day": null,
82938
82947
  * "contraparte": null,
82948
+ * "payout": null,
82939
82949
  * "undoable": true
82940
82950
  * }
82941
82951
  * ],
@@ -83158,6 +83168,8 @@ interface paths {
83158
83168
  * "payer": null,
83159
83169
  * "comment_count": 0,
83160
83170
  * "ads_document_id": null,
83171
+ * "card_processor": null,
83172
+ * "generic_label": null,
83161
83173
  * "created_at": "2026-10-30T08:00:00.000Z"
83162
83174
  * },
83163
83175
  * "money_mirrored": false,
@@ -83189,6 +83201,7 @@ interface paths {
83189
83201
  * "paired_movement": null,
83190
83202
  * "cash_day": null,
83191
83203
  * "contraparte": null,
83204
+ * "payout": null,
83192
83205
  * "undoable": true
83193
83206
  * }
83194
83207
  * ],
@@ -280619,6 +280632,18 @@ interface components {
280619
280632
  * @description Finanzas 30: the ad document (`GET /finanzas/documents/{id}`, `origin = ads`) of this movement when it is an ad charge or refund; null otherwise.
280620
280633
  */
280621
280634
  ads_document_id: string | null;
280635
+ /** @description Finanzas 36: set when this is a known card processor's payout («Cobro con tarjeta»: PNOL / PAGOS Y SERVICIOS, Transbank, Getnet, Mercado Pago). It settles the month's boleta summary and never adds income. Null for any other movement and for money out. */
280636
+ card_processor: {
280637
+ /** @enum {string} */
280638
+ key: "pagos_y_servicios" | "transbank" | "getnet" | "mercado_pago";
280639
+ name: string;
280640
+ rut_formatted: string | null;
280641
+ } | null;
280642
+ /**
280643
+ * @description Finanzas 36: set when the bank text names nobody and the movement has no Contraparte: show it as the title with the sub-line «Sin contraparte».
280644
+ * @enum {string|null}
280645
+ */
280646
+ generic_label: "Depósito en efectivo" | "Pago recibido" | "Depósito con cheque" | null;
280622
280647
  created_at: string;
280623
280648
  };
280624
280649
  FinanzasDocument: {
@@ -281566,6 +281591,13 @@ interface components {
281566
281591
  id: string;
281567
281592
  name: string;
281568
281593
  } | null;
281594
+ /** @description Finanzas 36: set on a link with reason `payout_deduction`: the commission factura (`document`) was paid by deduction from this card payout (the processor kept it). Show «Pagada con descuento» and «Descontada del abono de {processor_name} del {day}», linking to `movement_id`. Such a link takes nothing from the payout's cash. Null otherwise. */
281595
+ payout: {
281596
+ movement_id: string;
281597
+ day: string;
281598
+ amount_clp: number;
281599
+ processor_name: string | null;
281600
+ } | null;
281569
281601
  own_transfer: components["schemas"]["FinanzasOwnTransfer"];
281570
281602
  undoable: boolean;
281571
281603
  };
package/dist/index.d.ts CHANGED
@@ -75892,6 +75892,8 @@ interface paths {
75892
75892
  * "payer": null,
75893
75893
  * "comment_count": 0,
75894
75894
  * "ads_document_id": null,
75895
+ * "card_processor": null,
75896
+ * "generic_label": null,
75895
75897
  * "created_at": "2026-10-28T09:00:00.000Z"
75896
75898
  * }
75897
75899
  * },
@@ -76743,6 +76745,8 @@ interface paths {
76743
76745
  * "payer": null,
76744
76746
  * "comment_count": 1,
76745
76747
  * "ads_document_id": null,
76748
+ * "card_processor": null,
76749
+ * "generic_label": null,
76746
76750
  * "created_at": "2026-10-30T08:00:00.000Z"
76747
76751
  * }
76748
76752
  * ],
@@ -76906,6 +76910,8 @@ interface paths {
76906
76910
  * "payer": null,
76907
76911
  * "comment_count": 1,
76908
76912
  * "ads_document_id": null,
76913
+ * "card_processor": null,
76914
+ * "generic_label": null,
76909
76915
  * "created_at": "2026-10-30T08:00:00.000Z",
76910
76916
  * "comments": [
76911
76917
  * {
@@ -82622,6 +82628,8 @@ interface paths {
82622
82628
  * "payer": null,
82623
82629
  * "comment_count": 0,
82624
82630
  * "ads_document_id": null,
82631
+ * "card_processor": null,
82632
+ * "generic_label": null,
82625
82633
  * "created_at": "2026-10-30T08:00:00.000Z"
82626
82634
  * },
82627
82635
  * "money_mirrored": false,
@@ -82653,6 +82661,7 @@ interface paths {
82653
82661
  * "paired_movement": null,
82654
82662
  * "cash_day": null,
82655
82663
  * "contraparte": null,
82664
+ * "payout": null,
82656
82665
  * "undoable": true
82657
82666
  * }
82658
82667
  * ],
@@ -82936,6 +82945,7 @@ interface paths {
82936
82945
  * "paired_movement": null,
82937
82946
  * "cash_day": null,
82938
82947
  * "contraparte": null,
82948
+ * "payout": null,
82939
82949
  * "undoable": true
82940
82950
  * }
82941
82951
  * ],
@@ -83158,6 +83168,8 @@ interface paths {
83158
83168
  * "payer": null,
83159
83169
  * "comment_count": 0,
83160
83170
  * "ads_document_id": null,
83171
+ * "card_processor": null,
83172
+ * "generic_label": null,
83161
83173
  * "created_at": "2026-10-30T08:00:00.000Z"
83162
83174
  * },
83163
83175
  * "money_mirrored": false,
@@ -83189,6 +83201,7 @@ interface paths {
83189
83201
  * "paired_movement": null,
83190
83202
  * "cash_day": null,
83191
83203
  * "contraparte": null,
83204
+ * "payout": null,
83192
83205
  * "undoable": true
83193
83206
  * }
83194
83207
  * ],
@@ -280619,6 +280632,18 @@ interface components {
280619
280632
  * @description Finanzas 30: the ad document (`GET /finanzas/documents/{id}`, `origin = ads`) of this movement when it is an ad charge or refund; null otherwise.
280620
280633
  */
280621
280634
  ads_document_id: string | null;
280635
+ /** @description Finanzas 36: set when this is a known card processor's payout («Cobro con tarjeta»: PNOL / PAGOS Y SERVICIOS, Transbank, Getnet, Mercado Pago). It settles the month's boleta summary and never adds income. Null for any other movement and for money out. */
280636
+ card_processor: {
280637
+ /** @enum {string} */
280638
+ key: "pagos_y_servicios" | "transbank" | "getnet" | "mercado_pago";
280639
+ name: string;
280640
+ rut_formatted: string | null;
280641
+ } | null;
280642
+ /**
280643
+ * @description Finanzas 36: set when the bank text names nobody and the movement has no Contraparte: show it as the title with the sub-line «Sin contraparte».
280644
+ * @enum {string|null}
280645
+ */
280646
+ generic_label: "Depósito en efectivo" | "Pago recibido" | "Depósito con cheque" | null;
280622
280647
  created_at: string;
280623
280648
  };
280624
280649
  FinanzasDocument: {
@@ -281566,6 +281591,13 @@ interface components {
281566
281591
  id: string;
281567
281592
  name: string;
281568
281593
  } | null;
281594
+ /** @description Finanzas 36: set on a link with reason `payout_deduction`: the commission factura (`document`) was paid by deduction from this card payout (the processor kept it). Show «Pagada con descuento» and «Descontada del abono de {processor_name} del {day}», linking to `movement_id`. Such a link takes nothing from the payout's cash. Null otherwise. */
281595
+ payout: {
281596
+ movement_id: string;
281597
+ day: string;
281598
+ amount_clp: number;
281599
+ processor_name: string | null;
281600
+ } | null;
281569
281601
  own_transfer: components["schemas"]["FinanzasOwnTransfer"];
281570
281602
  undoable: boolean;
281571
281603
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.20.0",
3
+ "version": "17.21.0",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",