@juhuu/sdk-ts 1.2.58 → 1.2.59
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 +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +32 -0
- package/dist/index.mjs +32 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -557,6 +557,7 @@ declare class SessionService extends Service {
|
|
557
557
|
export(SessionExportParams: JUHUU.Session.Export.Params, SessionExportOptions?: JUHUU.Session.Export.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Export.Response>>;
|
558
558
|
retrieve(SessionRetrieveParams: JUHUU.Session.Retrieve.Params, SessionRetrieveOptions?: JUHUU.Session.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Retrieve.Response>>;
|
559
559
|
list(SessionListParams: JUHUU.Session.List.Params, SessionListOptions?: JUHUU.Session.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.List.Response>>;
|
560
|
+
search(SessionSearchParams: JUHUU.Session.Search.Params, SessionSearchOptions?: JUHUU.Session.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Search.Response>>;
|
560
561
|
update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
|
561
562
|
terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
|
562
563
|
attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
@@ -591,6 +592,7 @@ declare class PaymentsService extends Service {
|
|
591
592
|
constructor(config: JUHUU.SetupConfig);
|
592
593
|
list(PaymentListParams: JUHUU.Payment.List.Params, PaymentListOptions?: JUHUU.Payment.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.List.Response>>;
|
593
594
|
retrieve(PaymentRetrieveParams: JUHUU.Payment.Retrieve.Params, PaymentRetrieveOptions?: JUHUU.Payment.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Retrieve.Response>>;
|
595
|
+
search(PaymentSearchParams: JUHUU.Payment.Search.Params, PaymentSearchOptions?: JUHUU.Payment.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Search.Response>>;
|
594
596
|
tokens(PaymentTokensParams: JUHUU.Payment.Tokens.Params, PaymentTokensOptions?: JUHUU.Payment.Tokens.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Tokens.Response>>;
|
595
597
|
retrieveInvoiceUrl(PaymentRetrieveInvoiceUrlParams: JUHUU.Payment.RetrieveInvoiceUrl.Params, PaymentRetrieveInvoiceUrlOptions?: JUHUU.Payment.RetrieveInvoiceUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.RetrieveInvoiceUrl.Response>>;
|
596
598
|
}
|
@@ -950,6 +952,15 @@ declare namespace JUHUU {
|
|
950
952
|
property?: JUHUU.Property.Object;
|
951
953
|
};
|
952
954
|
}
|
955
|
+
export namespace Search {
|
956
|
+
type Params = {
|
957
|
+
paymentId?: string;
|
958
|
+
};
|
959
|
+
type Options = JUHUU.RequestOptions;
|
960
|
+
type Response = {
|
961
|
+
session: JUHUU.Session.Object;
|
962
|
+
};
|
963
|
+
}
|
953
964
|
export namespace List {
|
954
965
|
type Params = {
|
955
966
|
propertyId?: string;
|
@@ -1958,6 +1969,15 @@ declare namespace JUHUU {
|
|
1958
1969
|
property?: JUHUU.Property.Object;
|
1959
1970
|
};
|
1960
1971
|
}
|
1972
|
+
namespace Search {
|
1973
|
+
type Params = {
|
1974
|
+
providerPaymentId?: string;
|
1975
|
+
};
|
1976
|
+
type Options = JUHUU.RequestOptions;
|
1977
|
+
type Response = {
|
1978
|
+
payment: JUHUU.Payment.Object;
|
1979
|
+
};
|
1980
|
+
}
|
1961
1981
|
namespace List {
|
1962
1982
|
type Params = {
|
1963
1983
|
propertyId?: string;
|
package/dist/index.d.ts
CHANGED
@@ -557,6 +557,7 @@ declare class SessionService extends Service {
|
|
557
557
|
export(SessionExportParams: JUHUU.Session.Export.Params, SessionExportOptions?: JUHUU.Session.Export.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Export.Response>>;
|
558
558
|
retrieve(SessionRetrieveParams: JUHUU.Session.Retrieve.Params, SessionRetrieveOptions?: JUHUU.Session.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Retrieve.Response>>;
|
559
559
|
list(SessionListParams: JUHUU.Session.List.Params, SessionListOptions?: JUHUU.Session.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.List.Response>>;
|
560
|
+
search(SessionSearchParams: JUHUU.Session.Search.Params, SessionSearchOptions?: JUHUU.Session.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Search.Response>>;
|
560
561
|
update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
|
561
562
|
terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
|
562
563
|
attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
@@ -591,6 +592,7 @@ declare class PaymentsService extends Service {
|
|
591
592
|
constructor(config: JUHUU.SetupConfig);
|
592
593
|
list(PaymentListParams: JUHUU.Payment.List.Params, PaymentListOptions?: JUHUU.Payment.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.List.Response>>;
|
593
594
|
retrieve(PaymentRetrieveParams: JUHUU.Payment.Retrieve.Params, PaymentRetrieveOptions?: JUHUU.Payment.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Retrieve.Response>>;
|
595
|
+
search(PaymentSearchParams: JUHUU.Payment.Search.Params, PaymentSearchOptions?: JUHUU.Payment.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Search.Response>>;
|
594
596
|
tokens(PaymentTokensParams: JUHUU.Payment.Tokens.Params, PaymentTokensOptions?: JUHUU.Payment.Tokens.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.Tokens.Response>>;
|
595
597
|
retrieveInvoiceUrl(PaymentRetrieveInvoiceUrlParams: JUHUU.Payment.RetrieveInvoiceUrl.Params, PaymentRetrieveInvoiceUrlOptions?: JUHUU.Payment.RetrieveInvoiceUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Payment.RetrieveInvoiceUrl.Response>>;
|
596
598
|
}
|
@@ -950,6 +952,15 @@ declare namespace JUHUU {
|
|
950
952
|
property?: JUHUU.Property.Object;
|
951
953
|
};
|
952
954
|
}
|
955
|
+
export namespace Search {
|
956
|
+
type Params = {
|
957
|
+
paymentId?: string;
|
958
|
+
};
|
959
|
+
type Options = JUHUU.RequestOptions;
|
960
|
+
type Response = {
|
961
|
+
session: JUHUU.Session.Object;
|
962
|
+
};
|
963
|
+
}
|
953
964
|
export namespace List {
|
954
965
|
type Params = {
|
955
966
|
propertyId?: string;
|
@@ -1958,6 +1969,15 @@ declare namespace JUHUU {
|
|
1958
1969
|
property?: JUHUU.Property.Object;
|
1959
1970
|
};
|
1960
1971
|
}
|
1972
|
+
namespace Search {
|
1973
|
+
type Params = {
|
1974
|
+
providerPaymentId?: string;
|
1975
|
+
};
|
1976
|
+
type Options = JUHUU.RequestOptions;
|
1977
|
+
type Response = {
|
1978
|
+
payment: JUHUU.Payment.Object;
|
1979
|
+
};
|
1980
|
+
}
|
1961
1981
|
namespace List {
|
1962
1982
|
type Params = {
|
1963
1983
|
propertyId?: string;
|
package/dist/index.js
CHANGED
@@ -362,6 +362,21 @@ var SessionService = class extends Service {
|
|
362
362
|
SessionListOptions
|
363
363
|
);
|
364
364
|
}
|
365
|
+
async search(SessionSearchParams, SessionSearchOptions) {
|
366
|
+
const queryArray = [];
|
367
|
+
if (SessionSearchParams.paymentId !== void 0) {
|
368
|
+
queryArray.push("paymentId=" + SessionSearchParams.paymentId);
|
369
|
+
}
|
370
|
+
return await super.sendRequest(
|
371
|
+
{
|
372
|
+
method: "GET",
|
373
|
+
url: "sessions/search?" + queryArray.join("&"),
|
374
|
+
body: void 0,
|
375
|
+
authenticationNotOptional: true
|
376
|
+
},
|
377
|
+
SessionSearchOptions
|
378
|
+
);
|
379
|
+
}
|
365
380
|
async update(SessionUpdateParams, SessionUpdateOptions) {
|
366
381
|
return await super.sendRequest(
|
367
382
|
{
|
@@ -697,6 +712,23 @@ var PaymentsService = class extends Service {
|
|
697
712
|
authenticationNotOptional: true
|
698
713
|
});
|
699
714
|
}
|
715
|
+
async search(PaymentSearchParams, PaymentSearchOptions) {
|
716
|
+
const queryArray = [];
|
717
|
+
if (PaymentSearchParams.providerPaymentId !== void 0) {
|
718
|
+
queryArray.push(
|
719
|
+
"providerPaymentId=" + PaymentSearchParams.providerPaymentId
|
720
|
+
);
|
721
|
+
}
|
722
|
+
return await super.sendRequest(
|
723
|
+
{
|
724
|
+
method: "GET",
|
725
|
+
url: "payments/search?" + queryArray.join("&"),
|
726
|
+
body: void 0,
|
727
|
+
authenticationNotOptional: true
|
728
|
+
},
|
729
|
+
PaymentSearchOptions
|
730
|
+
);
|
731
|
+
}
|
700
732
|
async tokens(PaymentTokensParams, PaymentTokensOptions) {
|
701
733
|
return await super.sendRequest(
|
702
734
|
{
|
package/dist/index.mjs
CHANGED
@@ -318,6 +318,21 @@ var SessionService = class extends Service {
|
|
318
318
|
SessionListOptions
|
319
319
|
);
|
320
320
|
}
|
321
|
+
async search(SessionSearchParams, SessionSearchOptions) {
|
322
|
+
const queryArray = [];
|
323
|
+
if (SessionSearchParams.paymentId !== void 0) {
|
324
|
+
queryArray.push("paymentId=" + SessionSearchParams.paymentId);
|
325
|
+
}
|
326
|
+
return await super.sendRequest(
|
327
|
+
{
|
328
|
+
method: "GET",
|
329
|
+
url: "sessions/search?" + queryArray.join("&"),
|
330
|
+
body: void 0,
|
331
|
+
authenticationNotOptional: true
|
332
|
+
},
|
333
|
+
SessionSearchOptions
|
334
|
+
);
|
335
|
+
}
|
321
336
|
async update(SessionUpdateParams, SessionUpdateOptions) {
|
322
337
|
return await super.sendRequest(
|
323
338
|
{
|
@@ -653,6 +668,23 @@ var PaymentsService = class extends Service {
|
|
653
668
|
authenticationNotOptional: true
|
654
669
|
});
|
655
670
|
}
|
671
|
+
async search(PaymentSearchParams, PaymentSearchOptions) {
|
672
|
+
const queryArray = [];
|
673
|
+
if (PaymentSearchParams.providerPaymentId !== void 0) {
|
674
|
+
queryArray.push(
|
675
|
+
"providerPaymentId=" + PaymentSearchParams.providerPaymentId
|
676
|
+
);
|
677
|
+
}
|
678
|
+
return await super.sendRequest(
|
679
|
+
{
|
680
|
+
method: "GET",
|
681
|
+
url: "payments/search?" + queryArray.join("&"),
|
682
|
+
body: void 0,
|
683
|
+
authenticationNotOptional: true
|
684
|
+
},
|
685
|
+
PaymentSearchOptions
|
686
|
+
);
|
687
|
+
}
|
656
688
|
async tokens(PaymentTokensParams, PaymentTokensOptions) {
|
657
689
|
return await super.sendRequest(
|
658
690
|
{
|