File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
2- "version" : " 39.1.0 " ,
2+ "version" : " 39.1.1 " ,
33 "license" : " MIT" ,
44 "sideEffects" : false ,
55 "main" : " dist/cjs/index.js" ,
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ import {
6868import { HttpClient } from './clientAdapter' ;
6969
7070/** Current SDK version */
71- export const SDK_VERSION = '39.1.0 ' ;
71+ export const SDK_VERSION = '39.1.1 ' ;
7272export class Client implements ClientInterface {
7373 private _config : Readonly < Configuration > ;
7474 private _timeout : number ;
@@ -140,7 +140,7 @@ export class Client implements ClientInterface {
140140 } ;
141141
142142 this . _userAgent = updateUserAgent (
143- 'Square-TypeScript-SDK/39.1.0 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}' ,
143+ 'Square-TypeScript-SDK/39.1.1 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}' ,
144144 this . _config . squareVersion ,
145145 this . _config . userAgentDetail
146146 ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export interface Refund {
2222 /** The ID of the transaction that the refunded tender is part of. */
2323 transactionId ?: string | null ;
2424 /** The ID of the refunded tender. */
25- tenderId : string ;
25+ tenderId ? : string ;
2626 /** The timestamp for when the refund was created, in RFC 3339 format. */
2727 createdAt ?: string ;
2828 /** The reason for the refund being issued. */
@@ -58,7 +58,7 @@ export const refundSchema: Schema<Refund> = object({
5858 id : [ 'id' , string ( ) ] ,
5959 locationId : [ 'location_id' , string ( ) ] ,
6060 transactionId : [ 'transaction_id' , optional ( nullable ( string ( ) ) ) ] ,
61- tenderId : [ 'tender_id' , string ( ) ] ,
61+ tenderId : [ 'tender_id' , optional ( string ( ) ) ] ,
6262 createdAt : [ 'created_at' , optional ( string ( ) ) ] ,
6363 reason : [ 'reason' , string ( ) ] ,
6464 amountMoney : [ 'amount_money' , lazy ( ( ) => moneySchema ) ] ,
You can’t perform that action at this time.
0 commit comments