@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/customer-services
CustomerTermsQueryService
Class CustomerTermsQueryService
Query customer term documents, falling back to defaults/ in S3
Hierarchy (
View Summary
)
CustomerTermsQueryService
CustomerTermsService
Index
Constructors
constructor
Properties
customer
Document
Query
Service
s3
Bucket
s3
Client
Methods
get
get
Stream
Constructors
constructor
new
CustomerTermsQueryService
(
__namedParameters
:
{
customerDocumentQueryService
:
CustomerDocumentQueryService
;
s3Bucket
:
string
;
s3Client
:
S3Client
;
}
,
)
:
CustomerTermsQueryService
Parameters
__namedParameters
:
{
customerDocumentQueryService
:
CustomerDocumentQueryService
;
s3Bucket
:
string
;
s3Client
:
S3Client
;
}
Returns
CustomerTermsQueryService
Properties
Protected
Readonly
customer
Document
Query
Service
customerDocumentQueryService
:
CustomerDocumentQueryService
Protected
Readonly
s3
Bucket
s3Bucket
:
string
Protected
Readonly
s3
Client
s3Client
:
S3Client
Methods
get
get
(
__namedParameters
:
{
customerId
:
string
;
termType
:
|
"MOVEUSD_TERMS_OF_USE"
|
"COOKIES_POLICY"
|
"ESIGN_POLICY"
|
"PRIVACY_POLICY"
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
CustomerTermDocument
|
null
}
>
Parameters
__namedParameters
:
{
customerId
:
string
;
termType
:
|
"MOVEUSD_TERMS_OF_USE"
|
"COOKIES_POLICY"
|
"ESIGN_POLICY"
|
"PRIVACY_POLICY"
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
CustomerTermDocument
|
null
}
>
get
Stream
getStream
(
__namedParameters
:
{
customerId
:
string
;
termType
:
|
"MOVEUSD_TERMS_OF_USE"
|
"COOKIES_POLICY"
|
"ESIGN_POLICY"
|
"PRIVACY_POLICY"
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
CustomerTermDocumentStream
|
null
}
>
Parameters
__namedParameters
:
{
customerId
:
string
;
termType
:
|
"MOVEUSD_TERMS_OF_USE"
|
"COOKIES_POLICY"
|
"ESIGN_POLICY"
|
"PRIVACY_POLICY"
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
CustomerTermDocumentStream
|
null
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
customer
Document
Query
Service
s3
Bucket
s3
Client
Methods
get
get
Stream
@cfxlabsinc/b2b-services
Loading...
Query customer term documents, falling back to defaults/ in S3