@bzbs/react-api-client 1.0.2 → 1.0.4
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.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2379,6 +2379,7 @@ declare class AddressApi extends BaseService {
|
|
|
2379
2379
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2380
2380
|
*/
|
|
2381
2381
|
updateAddress(params: {
|
|
2382
|
+
name?: string;
|
|
2382
2383
|
addressName?: string;
|
|
2383
2384
|
firstName?: string;
|
|
2384
2385
|
lastName?: string;
|
|
@@ -2437,6 +2438,7 @@ declare class AddressApi extends BaseService {
|
|
|
2437
2438
|
isDefault?: boolean;
|
|
2438
2439
|
personType?: string;
|
|
2439
2440
|
title?: string;
|
|
2441
|
+
name?: string;
|
|
2440
2442
|
firstName?: string;
|
|
2441
2443
|
lastName?: string;
|
|
2442
2444
|
email?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2379,6 +2379,7 @@ declare class AddressApi extends BaseService {
|
|
|
2379
2379
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2380
2380
|
*/
|
|
2381
2381
|
updateAddress(params: {
|
|
2382
|
+
name?: string;
|
|
2382
2383
|
addressName?: string;
|
|
2383
2384
|
firstName?: string;
|
|
2384
2385
|
lastName?: string;
|
|
@@ -2437,6 +2438,7 @@ declare class AddressApi extends BaseService {
|
|
|
2437
2438
|
isDefault?: boolean;
|
|
2438
2439
|
personType?: string;
|
|
2439
2440
|
title?: string;
|
|
2441
|
+
name?: string;
|
|
2440
2442
|
firstName?: string;
|
|
2441
2443
|
lastName?: string;
|
|
2442
2444
|
email?: string;
|
package/dist/index.js
CHANGED
|
@@ -566,7 +566,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
566
566
|
validateOtp(params, requestOptions) {
|
|
567
567
|
return __async(this, null, function* () {
|
|
568
568
|
return yield this.post(
|
|
569
|
-
"auth/
|
|
569
|
+
"auth/validate_otp",
|
|
570
570
|
__spreadValues({
|
|
571
571
|
app_id: params.appId,
|
|
572
572
|
otp: params.otp,
|
|
@@ -1908,6 +1908,7 @@ var AddressApi = class extends BaseService {
|
|
|
1908
1908
|
return yield this.post(
|
|
1909
1909
|
"profile/me/address",
|
|
1910
1910
|
__spreadValues({
|
|
1911
|
+
name: params.name,
|
|
1911
1912
|
addressName: params.addressName,
|
|
1912
1913
|
firstname: params.firstName,
|
|
1913
1914
|
lastname: params.lastName,
|
|
@@ -1987,6 +1988,7 @@ var AddressApi = class extends BaseService {
|
|
|
1987
1988
|
isDefault: params.isDefault,
|
|
1988
1989
|
personType: params.personType,
|
|
1989
1990
|
title: params.title,
|
|
1991
|
+
name: params.name,
|
|
1990
1992
|
firstname: params.firstName,
|
|
1991
1993
|
lastname: params.lastName,
|
|
1992
1994
|
email: params.email,
|