@bzbs/react-api-client 1.0.3 → 1.0.5
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -696,6 +696,7 @@ interface ProfileResponse {
|
|
|
696
696
|
LineMarketing?: number;
|
|
697
697
|
updated_points?: UpdatedPoints;
|
|
698
698
|
Token?: string;
|
|
699
|
+
Jwt?: string;
|
|
699
700
|
Info1?: string;
|
|
700
701
|
Info2?: string;
|
|
701
702
|
Info3?: string;
|
|
@@ -2379,6 +2380,7 @@ declare class AddressApi extends BaseService {
|
|
|
2379
2380
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2380
2381
|
*/
|
|
2381
2382
|
updateAddress(params: {
|
|
2383
|
+
name?: string;
|
|
2382
2384
|
addressName?: string;
|
|
2383
2385
|
firstName?: string;
|
|
2384
2386
|
lastName?: string;
|
|
@@ -2437,6 +2439,7 @@ declare class AddressApi extends BaseService {
|
|
|
2437
2439
|
isDefault?: boolean;
|
|
2438
2440
|
personType?: string;
|
|
2439
2441
|
title?: string;
|
|
2442
|
+
name?: string;
|
|
2440
2443
|
firstName?: string;
|
|
2441
2444
|
lastName?: string;
|
|
2442
2445
|
email?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -696,6 +696,7 @@ interface ProfileResponse {
|
|
|
696
696
|
LineMarketing?: number;
|
|
697
697
|
updated_points?: UpdatedPoints;
|
|
698
698
|
Token?: string;
|
|
699
|
+
Jwt?: string;
|
|
699
700
|
Info1?: string;
|
|
700
701
|
Info2?: string;
|
|
701
702
|
Info3?: string;
|
|
@@ -2379,6 +2380,7 @@ declare class AddressApi extends BaseService {
|
|
|
2379
2380
|
* @returns A promise that resolves to a service response containing the updated Address object
|
|
2380
2381
|
*/
|
|
2381
2382
|
updateAddress(params: {
|
|
2383
|
+
name?: string;
|
|
2382
2384
|
addressName?: string;
|
|
2383
2385
|
firstName?: string;
|
|
2384
2386
|
lastName?: string;
|
|
@@ -2437,6 +2439,7 @@ declare class AddressApi extends BaseService {
|
|
|
2437
2439
|
isDefault?: boolean;
|
|
2438
2440
|
personType?: string;
|
|
2439
2441
|
title?: string;
|
|
2442
|
+
name?: string;
|
|
2440
2443
|
firstName?: string;
|
|
2441
2444
|
lastName?: string;
|
|
2442
2445
|
email?: string;
|
package/dist/index.js
CHANGED
|
@@ -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,
|