@tec.pet/tecpet-sdk 0.0.211 → 0.0.213

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.
@@ -5,6 +5,7 @@ export interface PaStopAiInteractionInput {
5
5
  outputTokens?: number;
6
6
  inputValue?: number;
7
7
  outputValue?: number;
8
+ model?: string;
8
9
  summary?: string;
9
10
  }
10
11
  export interface PaStopAiInteractionResponse {
@@ -56,6 +56,15 @@ export interface IntegrationInvoiceSourceItemResponse {
56
56
  unitPrice?: number;
57
57
  totalPrice?: number;
58
58
  }
59
+ /** Transação ativa e confirmada da fatura: a forma de pagamento real (TP-4828). */
60
+ export interface IntegrationInvoiceSourceTransactionResponse {
61
+ id: string;
62
+ /** `PaymentMethodType` do tecpet-server (ex.: MONEY, PIX, CREDIT_CARD, DEBIT_CARD). */
63
+ paymentMethodType?: string;
64
+ installments?: number;
65
+ value?: number;
66
+ createdAt?: string;
67
+ }
59
68
  export interface IntegrationInvoiceSourceInvoiceResponse {
60
69
  id: string;
61
70
  reference?: number;
@@ -74,6 +83,7 @@ export interface IntegrationInvoiceSourceInvoiceResponse {
74
83
  petPlan?: {
75
84
  id: number;
76
85
  } | null;
86
+ transactions?: IntegrationInvoiceSourceTransactionResponse[];
77
87
  }
78
88
  export interface IntegrationInvoiceItemResponse {
79
89
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.211",
3
+ "version": "0.0.213",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",