Skip to content

Commit 647236a

Browse files
author
xendit-devx-bot
committed
Generated Xendit node SDK
1 parent 1743c13 commit 647236a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The official Xendit Node SDK provides a simple and convenient way to call Xendit's REST API
66
in applications written in Node.
77

8-
* Package version: 6.4.0
8+
* Package version: 7.0.0
99

1010
# Getting Started
1111

docs/invoice/CreateInvoiceRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ An object representing for an invoice creation request.
1010
| **amount** |number | ☑️ | The invoice amount. | | |
1111
| **payerEmail** |string | | The email address of the payer. | | |
1212
| **description** |string | | A description of the payment. | | |
13-
| **invoiceDuration** |string | | The duration of the invoice. | | |
13+
| **invoiceDuration** |number | | The duration of the invoice in seconds. | | |
1414
| **callbackVirtualAccountId** |string | | The ID of the callback virtual account. | | |
1515
| **shouldSendEmail** |boolean | | Indicates whether email notifications should be sent. | | |
1616
| **customer** |[CustomerObject](CustomerObject.md) | | | | |

invoice/models/CreateInvoiceRequest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ export interface CreateInvoiceRequest {
6969
*/
7070
description?: string;
7171
/**
72-
* The duration of the invoice.
73-
* @type {string}
72+
* The duration of the invoice in seconds.
73+
* @type {number}
7474
* @memberof CreateInvoiceRequest
7575
*/
76-
invoiceDuration?: string;
76+
invoiceDuration?: number;
7777
/**
7878
* The ID of the callback virtual account.
7979
* @type {string}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xendit-node",
3-
"version": "6.4.0",
3+
"version": "7.0.0",
44
"description": "OpenAPI client for xendit-node",
55
"author": "OpenAPI-Generator",
66
"repository": {

runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class BaseAPI {
136136
const headers = Object.assign({}, this.configuration.headers, context.headers);
137137
Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
138138
headers['xendit-lib'] = 'node';
139-
headers['xendit-lib-ver'] = '6.4.0';
139+
headers['xendit-lib-ver'] = '7.0.0';
140140

141141
const initParams = {
142142
method: context.method,

0 commit comments

Comments
 (0)