@juhuu/sdk-ts 1.3.48 → 1.3.50
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 +7 -2
- package/dist/index.mjs +7 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3276,6 +3276,7 @@ declare namespace JUHUU {
|
|
|
3276
3276
|
export namespace PaymentMethodTokens {
|
|
3277
3277
|
type Params = {
|
|
3278
3278
|
userId: string;
|
|
3279
|
+
tariffId?: string;
|
|
3279
3280
|
};
|
|
3280
3281
|
type Options = JUHUU.RequestOptions;
|
|
3281
3282
|
type Response = {
|
|
@@ -3669,6 +3670,7 @@ declare namespace JUHUU {
|
|
|
3669
3670
|
BKTXT: string | null;
|
|
3670
3671
|
SGTXT: string | null;
|
|
3671
3672
|
ZUONR: string | null;
|
|
3673
|
+
additionalDetails: LocaleString | null;
|
|
3672
3674
|
};
|
|
3673
3675
|
namespace Create {
|
|
3674
3676
|
type Params = {
|
|
@@ -3713,6 +3715,7 @@ declare namespace JUHUU {
|
|
|
3713
3715
|
name?: string;
|
|
3714
3716
|
paymentPostingRowDescription?: string;
|
|
3715
3717
|
orderNumber?: string;
|
|
3718
|
+
additionalDetails?: LocaleString | null;
|
|
3716
3719
|
};
|
|
3717
3720
|
type Options = JUHUU.RequestOptions;
|
|
3718
3721
|
type Response = {
|
package/dist/index.d.ts
CHANGED
|
@@ -3276,6 +3276,7 @@ declare namespace JUHUU {
|
|
|
3276
3276
|
export namespace PaymentMethodTokens {
|
|
3277
3277
|
type Params = {
|
|
3278
3278
|
userId: string;
|
|
3279
|
+
tariffId?: string;
|
|
3279
3280
|
};
|
|
3280
3281
|
type Options = JUHUU.RequestOptions;
|
|
3281
3282
|
type Response = {
|
|
@@ -3669,6 +3670,7 @@ declare namespace JUHUU {
|
|
|
3669
3670
|
BKTXT: string | null;
|
|
3670
3671
|
SGTXT: string | null;
|
|
3671
3672
|
ZUONR: string | null;
|
|
3673
|
+
additionalDetails: LocaleString | null;
|
|
3672
3674
|
};
|
|
3673
3675
|
namespace Create {
|
|
3674
3676
|
type Params = {
|
|
@@ -3713,6 +3715,7 @@ declare namespace JUHUU {
|
|
|
3713
3715
|
name?: string;
|
|
3714
3716
|
paymentPostingRowDescription?: string;
|
|
3715
3717
|
orderNumber?: string;
|
|
3718
|
+
additionalDetails?: LocaleString | null;
|
|
3716
3719
|
};
|
|
3717
3720
|
type Options = JUHUU.RequestOptions;
|
|
3718
3721
|
type Response = {
|
package/dist/index.js
CHANGED
|
@@ -1173,10 +1173,14 @@ var UsersService = class extends Service {
|
|
|
1173
1173
|
);
|
|
1174
1174
|
}
|
|
1175
1175
|
async paymentMethodTokens(UserPaymentMethodTokensParams, UserPaymentMethodTokensOptions) {
|
|
1176
|
+
const queryArray = [];
|
|
1177
|
+
if (UserPaymentMethodTokensParams?.tariffId !== void 0) {
|
|
1178
|
+
queryArray.push("tariffId=" + UserPaymentMethodTokensParams.tariffId);
|
|
1179
|
+
}
|
|
1176
1180
|
return await super.sendRequest(
|
|
1177
1181
|
{
|
|
1178
1182
|
method: "GET",
|
|
1179
|
-
url: "users/" + UserPaymentMethodTokensParams.userId + "/paymentMethodTokens",
|
|
1183
|
+
url: "users/" + UserPaymentMethodTokensParams.userId + "/paymentMethodTokens?" + queryArray.join("&"),
|
|
1180
1184
|
body: void 0,
|
|
1181
1185
|
authenticationNotOptional: true
|
|
1182
1186
|
},
|
|
@@ -2811,7 +2815,8 @@ var AccountingAreasService = class extends Service {
|
|
|
2811
2815
|
body: {
|
|
2812
2816
|
name: AccountingAreaUpdateParams.name,
|
|
2813
2817
|
paymentPostingRowDescription: AccountingAreaUpdateParams.paymentPostingRowDescription,
|
|
2814
|
-
orderNumber: AccountingAreaUpdateParams.orderNumber
|
|
2818
|
+
orderNumber: AccountingAreaUpdateParams.orderNumber,
|
|
2819
|
+
additionalDetails: AccountingAreaUpdateParams.additionalDetails
|
|
2815
2820
|
},
|
|
2816
2821
|
authenticationNotOptional: true
|
|
2817
2822
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1129,10 +1129,14 @@ var UsersService = class extends Service {
|
|
|
1129
1129
|
);
|
|
1130
1130
|
}
|
|
1131
1131
|
async paymentMethodTokens(UserPaymentMethodTokensParams, UserPaymentMethodTokensOptions) {
|
|
1132
|
+
const queryArray = [];
|
|
1133
|
+
if (UserPaymentMethodTokensParams?.tariffId !== void 0) {
|
|
1134
|
+
queryArray.push("tariffId=" + UserPaymentMethodTokensParams.tariffId);
|
|
1135
|
+
}
|
|
1132
1136
|
return await super.sendRequest(
|
|
1133
1137
|
{
|
|
1134
1138
|
method: "GET",
|
|
1135
|
-
url: "users/" + UserPaymentMethodTokensParams.userId + "/paymentMethodTokens",
|
|
1139
|
+
url: "users/" + UserPaymentMethodTokensParams.userId + "/paymentMethodTokens?" + queryArray.join("&"),
|
|
1136
1140
|
body: void 0,
|
|
1137
1141
|
authenticationNotOptional: true
|
|
1138
1142
|
},
|
|
@@ -2767,7 +2771,8 @@ var AccountingAreasService = class extends Service {
|
|
|
2767
2771
|
body: {
|
|
2768
2772
|
name: AccountingAreaUpdateParams.name,
|
|
2769
2773
|
paymentPostingRowDescription: AccountingAreaUpdateParams.paymentPostingRowDescription,
|
|
2770
|
-
orderNumber: AccountingAreaUpdateParams.orderNumber
|
|
2774
|
+
orderNumber: AccountingAreaUpdateParams.orderNumber,
|
|
2775
|
+
additionalDetails: AccountingAreaUpdateParams.additionalDetails
|
|
2771
2776
|
},
|
|
2772
2777
|
authenticationNotOptional: true
|
|
2773
2778
|
},
|