@juhuu/sdk-ts 1.3.54 → 1.3.56
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3245,6 +3245,7 @@ declare namespace JUHUU {
|
|
|
3245
3245
|
managementUserId?: string;
|
|
3246
3246
|
createdByPropertyId?: string;
|
|
3247
3247
|
customerOfPropertyId?: string;
|
|
3248
|
+
search?: string;
|
|
3248
3249
|
};
|
|
3249
3250
|
type Options = {
|
|
3250
3251
|
limit?: number;
|
|
@@ -3314,6 +3315,7 @@ declare namespace JUHUU {
|
|
|
3314
3315
|
type Params = {
|
|
3315
3316
|
password: string;
|
|
3316
3317
|
email: string;
|
|
3318
|
+
propertyId?: string;
|
|
3317
3319
|
};
|
|
3318
3320
|
type Options = JUHUU.RequestOptions;
|
|
3319
3321
|
type Response = {
|
|
@@ -3392,6 +3394,7 @@ declare namespace JUHUU {
|
|
|
3392
3394
|
countryCode: PhoneCountryCode;
|
|
3393
3395
|
nationalNumber: string;
|
|
3394
3396
|
purpose: "login" | "register" | "verify";
|
|
3397
|
+
propertyId?: string;
|
|
3395
3398
|
};
|
|
3396
3399
|
type Options = JUHUU.RequestOptions;
|
|
3397
3400
|
type Response = {
|
|
@@ -3487,6 +3490,7 @@ declare namespace JUHUU {
|
|
|
3487
3490
|
export namespace ChangeEmailRequest {
|
|
3488
3491
|
type Params = {
|
|
3489
3492
|
email: string;
|
|
3493
|
+
propertyId?: string;
|
|
3490
3494
|
};
|
|
3491
3495
|
type Options = JUHUU.RequestOptions;
|
|
3492
3496
|
type Response = {
|
package/dist/index.d.ts
CHANGED
|
@@ -3245,6 +3245,7 @@ declare namespace JUHUU {
|
|
|
3245
3245
|
managementUserId?: string;
|
|
3246
3246
|
createdByPropertyId?: string;
|
|
3247
3247
|
customerOfPropertyId?: string;
|
|
3248
|
+
search?: string;
|
|
3248
3249
|
};
|
|
3249
3250
|
type Options = {
|
|
3250
3251
|
limit?: number;
|
|
@@ -3314,6 +3315,7 @@ declare namespace JUHUU {
|
|
|
3314
3315
|
type Params = {
|
|
3315
3316
|
password: string;
|
|
3316
3317
|
email: string;
|
|
3318
|
+
propertyId?: string;
|
|
3317
3319
|
};
|
|
3318
3320
|
type Options = JUHUU.RequestOptions;
|
|
3319
3321
|
type Response = {
|
|
@@ -3392,6 +3394,7 @@ declare namespace JUHUU {
|
|
|
3392
3394
|
countryCode: PhoneCountryCode;
|
|
3393
3395
|
nationalNumber: string;
|
|
3394
3396
|
purpose: "login" | "register" | "verify";
|
|
3397
|
+
propertyId?: string;
|
|
3395
3398
|
};
|
|
3396
3399
|
type Options = JUHUU.RequestOptions;
|
|
3397
3400
|
type Response = {
|
|
@@ -3487,6 +3490,7 @@ declare namespace JUHUU {
|
|
|
3487
3490
|
export namespace ChangeEmailRequest {
|
|
3488
3491
|
type Params = {
|
|
3489
3492
|
email: string;
|
|
3493
|
+
propertyId?: string;
|
|
3490
3494
|
};
|
|
3491
3495
|
type Options = JUHUU.RequestOptions;
|
|
3492
3496
|
type Response = {
|
package/dist/index.js
CHANGED
|
@@ -554,7 +554,8 @@ var AuthService = class extends Service {
|
|
|
554
554
|
url: "auth/emailPassword/register",
|
|
555
555
|
body: {
|
|
556
556
|
email: AuthRegisterEmailPasswordParams.email,
|
|
557
|
-
password: AuthRegisterEmailPasswordParams.password
|
|
557
|
+
password: AuthRegisterEmailPasswordParams.password,
|
|
558
|
+
propertyId: AuthRegisterEmailPasswordParams.propertyId
|
|
558
559
|
},
|
|
559
560
|
authenticationNotOptional: false
|
|
560
561
|
},
|
|
@@ -611,7 +612,8 @@ var AuthService = class extends Service {
|
|
|
611
612
|
destination: AuthOtpRequestParams.destination,
|
|
612
613
|
countryCode: AuthOtpRequestParams.countryCode,
|
|
613
614
|
nationalNumber: AuthOtpRequestParams.nationalNumber,
|
|
614
|
-
purpose: AuthOtpRequestParams.purpose
|
|
615
|
+
purpose: AuthOtpRequestParams.purpose,
|
|
616
|
+
propertyId: AuthOtpRequestParams.propertyId
|
|
615
617
|
},
|
|
616
618
|
authenticationNotOptional: false
|
|
617
619
|
},
|
|
@@ -731,7 +733,8 @@ var AuthService = class extends Service {
|
|
|
731
733
|
method: "POST",
|
|
732
734
|
url: "auth/email/change",
|
|
733
735
|
body: {
|
|
734
|
-
email: AuthChangeEmailRequestParams.email
|
|
736
|
+
email: AuthChangeEmailRequestParams.email,
|
|
737
|
+
propertyId: AuthChangeEmailRequestParams.propertyId
|
|
735
738
|
},
|
|
736
739
|
authenticationNotOptional: true
|
|
737
740
|
},
|
|
@@ -1202,6 +1205,9 @@ var UsersService = class extends Service {
|
|
|
1202
1205
|
"customerOfPropertyId=" + UserListParams.customerOfPropertyId
|
|
1203
1206
|
);
|
|
1204
1207
|
}
|
|
1208
|
+
if (UserListParams.search !== void 0) {
|
|
1209
|
+
queryArray.push("search=" + encodeURIComponent(UserListParams.search));
|
|
1210
|
+
}
|
|
1205
1211
|
if (UserListOptions?.cursor !== void 0) {
|
|
1206
1212
|
queryArray.push("cursor=" + UserListOptions.cursor);
|
|
1207
1213
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -510,7 +510,8 @@ var AuthService = class extends Service {
|
|
|
510
510
|
url: "auth/emailPassword/register",
|
|
511
511
|
body: {
|
|
512
512
|
email: AuthRegisterEmailPasswordParams.email,
|
|
513
|
-
password: AuthRegisterEmailPasswordParams.password
|
|
513
|
+
password: AuthRegisterEmailPasswordParams.password,
|
|
514
|
+
propertyId: AuthRegisterEmailPasswordParams.propertyId
|
|
514
515
|
},
|
|
515
516
|
authenticationNotOptional: false
|
|
516
517
|
},
|
|
@@ -567,7 +568,8 @@ var AuthService = class extends Service {
|
|
|
567
568
|
destination: AuthOtpRequestParams.destination,
|
|
568
569
|
countryCode: AuthOtpRequestParams.countryCode,
|
|
569
570
|
nationalNumber: AuthOtpRequestParams.nationalNumber,
|
|
570
|
-
purpose: AuthOtpRequestParams.purpose
|
|
571
|
+
purpose: AuthOtpRequestParams.purpose,
|
|
572
|
+
propertyId: AuthOtpRequestParams.propertyId
|
|
571
573
|
},
|
|
572
574
|
authenticationNotOptional: false
|
|
573
575
|
},
|
|
@@ -687,7 +689,8 @@ var AuthService = class extends Service {
|
|
|
687
689
|
method: "POST",
|
|
688
690
|
url: "auth/email/change",
|
|
689
691
|
body: {
|
|
690
|
-
email: AuthChangeEmailRequestParams.email
|
|
692
|
+
email: AuthChangeEmailRequestParams.email,
|
|
693
|
+
propertyId: AuthChangeEmailRequestParams.propertyId
|
|
691
694
|
},
|
|
692
695
|
authenticationNotOptional: true
|
|
693
696
|
},
|
|
@@ -1158,6 +1161,9 @@ var UsersService = class extends Service {
|
|
|
1158
1161
|
"customerOfPropertyId=" + UserListParams.customerOfPropertyId
|
|
1159
1162
|
);
|
|
1160
1163
|
}
|
|
1164
|
+
if (UserListParams.search !== void 0) {
|
|
1165
|
+
queryArray.push("search=" + encodeURIComponent(UserListParams.search));
|
|
1166
|
+
}
|
|
1161
1167
|
if (UserListOptions?.cursor !== void 0) {
|
|
1162
1168
|
queryArray.push("cursor=" + UserListOptions.cursor);
|
|
1163
1169
|
}
|