@victoria-company/agora-client 1.0.202503241338 → 1.0.202503241721
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/models/index.d.ts +4 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
@@ -7696,6 +7696,10 @@ export interface VoucherResponse extends Parsable {
|
|
7696
7696
|
* The freeShipping property
|
7697
7697
|
*/
|
7698
7698
|
freeShipping?: boolean | null;
|
7699
|
+
/**
|
7700
|
+
* The isUsable property
|
7701
|
+
*/
|
7702
|
+
isUsable?: boolean | null;
|
7699
7703
|
/**
|
7700
7704
|
* The type property
|
7701
7705
|
*/
|
package/dist/models/index.js
CHANGED
@@ -5140,6 +5140,7 @@ function deserializeIntoVoucherResponse(voucherResponse = {}) {
|
|
5140
5140
|
"code": n => { voucherResponse.code = n.getStringValue(); },
|
5141
5141
|
"expirationDate": n => { voucherResponse.expirationDate = n.getDateValue(); },
|
5142
5142
|
"freeShipping": n => { voucherResponse.freeShipping = n.getBooleanValue(); },
|
5143
|
+
"isUsable": n => { voucherResponse.isUsable = n.getBooleanValue(); },
|
5143
5144
|
"type": n => { voucherResponse.type = n.getEnumValue(exports.VoucherTypeObject); },
|
5144
5145
|
"usedDate": n => { voucherResponse.usedDate = n.getDateValue(); },
|
5145
5146
|
"usedOrderId": n => { voucherResponse.usedOrderId = n.getStringValue(); },
|
@@ -8217,6 +8218,7 @@ function serializeVoucherResponse(writer, voucherResponse = {}) {
|
|
8217
8218
|
writer.writeStringValue("code", voucherResponse.code);
|
8218
8219
|
writer.writeDateValue("expirationDate", voucherResponse.expirationDate);
|
8219
8220
|
writer.writeBooleanValue("freeShipping", voucherResponse.freeShipping);
|
8221
|
+
writer.writeBooleanValue("isUsable", voucherResponse.isUsable);
|
8220
8222
|
writer.writeEnumValue("type", voucherResponse.type);
|
8221
8223
|
writer.writeDateValue("usedDate", voucherResponse.usedDate);
|
8222
8224
|
writer.writeStringValue("usedOrderId", voucherResponse.usedOrderId);
|