reach-api-sdk 1.0.221 → 1.0.223
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/reach-sdk.d.ts +692 -1
- package/dist/reach-sdk.js +556 -1
- package/package.json +1 -1
- package/src/apiClient.ts +6 -0
- package/src/definition/swagger.yaml +2538 -739
- package/src/index.ts +6 -0
- package/src/models/TenantFaq.ts +54 -0
- package/src/models/TenantFaqPage.ts +12 -0
- package/src/models/TenantFaqPatch.ts +42 -0
- package/src/models/TenantFaqPost.ts +38 -0
- package/src/services/PublicTenantFaqsService.ts +264 -0
- package/src/services/TenantFaqsService.ts +779 -0
package/dist/reach-sdk.js
CHANGED
|
@@ -31337,6 +31337,135 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31337
31337
|
}
|
|
31338
31338
|
});
|
|
31339
31339
|
}
|
|
31340
|
+
}class PublicTenantFaqsService {
|
|
31341
|
+
constructor(httpRequest) {
|
|
31342
|
+
this.httpRequest = httpRequest;
|
|
31343
|
+
}
|
|
31344
|
+
/**
|
|
31345
|
+
* @returns TenantFaq OK
|
|
31346
|
+
* @throws ApiError
|
|
31347
|
+
*/
|
|
31348
|
+
getObject({
|
|
31349
|
+
id,
|
|
31350
|
+
xTenantSubdomain
|
|
31351
|
+
}) {
|
|
31352
|
+
return this.httpRequest.request({
|
|
31353
|
+
method: "GET",
|
|
31354
|
+
url: "/api/public/tenant-faqs/{id}",
|
|
31355
|
+
path: {
|
|
31356
|
+
id
|
|
31357
|
+
},
|
|
31358
|
+
headers: {
|
|
31359
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
31360
|
+
},
|
|
31361
|
+
errors: {
|
|
31362
|
+
400: `Bad Request`,
|
|
31363
|
+
422: `Unprocessable Content`,
|
|
31364
|
+
500: `Internal Server Error`
|
|
31365
|
+
}
|
|
31366
|
+
});
|
|
31367
|
+
}
|
|
31368
|
+
/**
|
|
31369
|
+
* @returns TenantFaqPage OK
|
|
31370
|
+
* @throws ApiError
|
|
31371
|
+
*/
|
|
31372
|
+
getPage({
|
|
31373
|
+
xTenantSubdomain,
|
|
31374
|
+
ids,
|
|
31375
|
+
showOnStorefront,
|
|
31376
|
+
showOnCustomerPortal,
|
|
31377
|
+
pageNumber,
|
|
31378
|
+
take,
|
|
31379
|
+
skip,
|
|
31380
|
+
limitListRequests,
|
|
31381
|
+
tenantId,
|
|
31382
|
+
modifiedById,
|
|
31383
|
+
modifiedByIds,
|
|
31384
|
+
dateCreatedGte,
|
|
31385
|
+
dateCreatedLte,
|
|
31386
|
+
isLive,
|
|
31387
|
+
sortOrderDirection
|
|
31388
|
+
}) {
|
|
31389
|
+
return this.httpRequest.request({
|
|
31390
|
+
method: "GET",
|
|
31391
|
+
url: "/api/public/tenant-faqs",
|
|
31392
|
+
headers: {
|
|
31393
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
31394
|
+
},
|
|
31395
|
+
query: {
|
|
31396
|
+
Ids: ids,
|
|
31397
|
+
ShowOnStorefront: showOnStorefront,
|
|
31398
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
31399
|
+
PageNumber: pageNumber,
|
|
31400
|
+
Take: take,
|
|
31401
|
+
Skip: skip,
|
|
31402
|
+
LimitListRequests: limitListRequests,
|
|
31403
|
+
TenantId: tenantId,
|
|
31404
|
+
ModifiedById: modifiedById,
|
|
31405
|
+
ModifiedByIds: modifiedByIds,
|
|
31406
|
+
DateCreatedGTE: dateCreatedGte,
|
|
31407
|
+
DateCreatedLTE: dateCreatedLte,
|
|
31408
|
+
IsLive: isLive,
|
|
31409
|
+
SortOrderDirection: sortOrderDirection
|
|
31410
|
+
},
|
|
31411
|
+
errors: {
|
|
31412
|
+
400: `Bad Request`,
|
|
31413
|
+
422: `Unprocessable Content`,
|
|
31414
|
+
500: `Internal Server Error`
|
|
31415
|
+
}
|
|
31416
|
+
});
|
|
31417
|
+
}
|
|
31418
|
+
/**
|
|
31419
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
31420
|
+
* @returns boolean OK
|
|
31421
|
+
* @throws ApiError
|
|
31422
|
+
*/
|
|
31423
|
+
exists({
|
|
31424
|
+
xTenantSubdomain,
|
|
31425
|
+
ids,
|
|
31426
|
+
showOnStorefront,
|
|
31427
|
+
showOnCustomerPortal,
|
|
31428
|
+
pageNumber,
|
|
31429
|
+
take,
|
|
31430
|
+
skip,
|
|
31431
|
+
limitListRequests,
|
|
31432
|
+
tenantId,
|
|
31433
|
+
modifiedById,
|
|
31434
|
+
modifiedByIds,
|
|
31435
|
+
dateCreatedGte,
|
|
31436
|
+
dateCreatedLte,
|
|
31437
|
+
isLive,
|
|
31438
|
+
sortOrderDirection
|
|
31439
|
+
}) {
|
|
31440
|
+
return this.httpRequest.request({
|
|
31441
|
+
method: "GET",
|
|
31442
|
+
url: "/api/public/tenant-faqs/exists",
|
|
31443
|
+
headers: {
|
|
31444
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
31445
|
+
},
|
|
31446
|
+
query: {
|
|
31447
|
+
Ids: ids,
|
|
31448
|
+
ShowOnStorefront: showOnStorefront,
|
|
31449
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
31450
|
+
PageNumber: pageNumber,
|
|
31451
|
+
Take: take,
|
|
31452
|
+
Skip: skip,
|
|
31453
|
+
LimitListRequests: limitListRequests,
|
|
31454
|
+
TenantId: tenantId,
|
|
31455
|
+
ModifiedById: modifiedById,
|
|
31456
|
+
ModifiedByIds: modifiedByIds,
|
|
31457
|
+
DateCreatedGTE: dateCreatedGte,
|
|
31458
|
+
DateCreatedLTE: dateCreatedLte,
|
|
31459
|
+
IsLive: isLive,
|
|
31460
|
+
SortOrderDirection: sortOrderDirection
|
|
31461
|
+
},
|
|
31462
|
+
errors: {
|
|
31463
|
+
400: `Bad Request`,
|
|
31464
|
+
422: `Unprocessable Content`,
|
|
31465
|
+
500: `Internal Server Error`
|
|
31466
|
+
}
|
|
31467
|
+
});
|
|
31468
|
+
}
|
|
31340
31469
|
}class PublicTenantsService {
|
|
31341
31470
|
constructor(httpRequest) {
|
|
31342
31471
|
this.httpRequest = httpRequest;
|
|
@@ -43579,6 +43708,428 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
43579
43708
|
}
|
|
43580
43709
|
});
|
|
43581
43710
|
}
|
|
43711
|
+
}class TenantFaqsService {
|
|
43712
|
+
constructor(httpRequest) {
|
|
43713
|
+
this.httpRequest = httpRequest;
|
|
43714
|
+
}
|
|
43715
|
+
/**
|
|
43716
|
+
* Reorders tenant FAQs.
|
|
43717
|
+
* @returns TenantFaq OK
|
|
43718
|
+
* @throws ApiError
|
|
43719
|
+
*/
|
|
43720
|
+
reorder({
|
|
43721
|
+
requestBody
|
|
43722
|
+
}) {
|
|
43723
|
+
return this.httpRequest.request({
|
|
43724
|
+
method: "POST",
|
|
43725
|
+
url: "/api/tenant-faqs/reorder",
|
|
43726
|
+
body: requestBody,
|
|
43727
|
+
mediaType: "application/json",
|
|
43728
|
+
errors: {
|
|
43729
|
+
400: `Bad Request`,
|
|
43730
|
+
422: `Unprocessable Content`,
|
|
43731
|
+
500: `Internal Server Error`
|
|
43732
|
+
}
|
|
43733
|
+
});
|
|
43734
|
+
}
|
|
43735
|
+
/**
|
|
43736
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
43737
|
+
* @returns TenantFaq OK
|
|
43738
|
+
* @throws ApiError
|
|
43739
|
+
*/
|
|
43740
|
+
post({
|
|
43741
|
+
requestBody
|
|
43742
|
+
}) {
|
|
43743
|
+
return this.httpRequest.request({
|
|
43744
|
+
method: "POST",
|
|
43745
|
+
url: "/api/tenant-faqs/v2-temporary-route",
|
|
43746
|
+
body: requestBody,
|
|
43747
|
+
mediaType: "application/json",
|
|
43748
|
+
errors: {
|
|
43749
|
+
400: `Bad Request`,
|
|
43750
|
+
422: `Unprocessable Content`,
|
|
43751
|
+
500: `Internal Server Error`
|
|
43752
|
+
}
|
|
43753
|
+
});
|
|
43754
|
+
}
|
|
43755
|
+
/**
|
|
43756
|
+
* Patches the resource.
|
|
43757
|
+
* @returns TenantFaq OK
|
|
43758
|
+
* @throws ApiError
|
|
43759
|
+
*/
|
|
43760
|
+
patch({
|
|
43761
|
+
requestBody
|
|
43762
|
+
}) {
|
|
43763
|
+
return this.httpRequest.request({
|
|
43764
|
+
method: "PATCH",
|
|
43765
|
+
url: "/api/tenant-faqs/v2-temporary-route",
|
|
43766
|
+
body: requestBody,
|
|
43767
|
+
mediaType: "application/json",
|
|
43768
|
+
errors: {
|
|
43769
|
+
400: `Bad Request`,
|
|
43770
|
+
422: `Unprocessable Content`,
|
|
43771
|
+
500: `Internal Server Error`
|
|
43772
|
+
}
|
|
43773
|
+
});
|
|
43774
|
+
}
|
|
43775
|
+
/**
|
|
43776
|
+
* Inserts a list of resources.
|
|
43777
|
+
* @returns TenantFaq OK
|
|
43778
|
+
* @throws ApiError
|
|
43779
|
+
*/
|
|
43780
|
+
postList({
|
|
43781
|
+
requestBody
|
|
43782
|
+
}) {
|
|
43783
|
+
return this.httpRequest.request({
|
|
43784
|
+
method: "POST",
|
|
43785
|
+
url: "/api/tenant-faqs/v2-temporary-route/list",
|
|
43786
|
+
body: requestBody,
|
|
43787
|
+
mediaType: "application/json",
|
|
43788
|
+
errors: {
|
|
43789
|
+
400: `Bad Request`,
|
|
43790
|
+
422: `Unprocessable Content`,
|
|
43791
|
+
500: `Internal Server Error`
|
|
43792
|
+
}
|
|
43793
|
+
});
|
|
43794
|
+
}
|
|
43795
|
+
/**
|
|
43796
|
+
* Patches the resource.
|
|
43797
|
+
* @returns TenantFaq OK
|
|
43798
|
+
* @throws ApiError
|
|
43799
|
+
*/
|
|
43800
|
+
patchWithReferences({
|
|
43801
|
+
requestBody
|
|
43802
|
+
}) {
|
|
43803
|
+
return this.httpRequest.request({
|
|
43804
|
+
method: "PATCH",
|
|
43805
|
+
url: "/api/tenant-faqs/v2-temporary-route/with-references",
|
|
43806
|
+
body: requestBody,
|
|
43807
|
+
mediaType: "application/json",
|
|
43808
|
+
errors: {
|
|
43809
|
+
400: `Bad Request`,
|
|
43810
|
+
422: `Unprocessable Content`,
|
|
43811
|
+
500: `Internal Server Error`
|
|
43812
|
+
}
|
|
43813
|
+
});
|
|
43814
|
+
}
|
|
43815
|
+
/**
|
|
43816
|
+
* Deletes the resource.
|
|
43817
|
+
* @returns any OK
|
|
43818
|
+
* @throws ApiError
|
|
43819
|
+
*/
|
|
43820
|
+
deleteByObject({
|
|
43821
|
+
requestBody
|
|
43822
|
+
}) {
|
|
43823
|
+
return this.httpRequest.request({
|
|
43824
|
+
method: "DELETE",
|
|
43825
|
+
url: "/api/tenant-faqs",
|
|
43826
|
+
body: requestBody,
|
|
43827
|
+
mediaType: "application/json",
|
|
43828
|
+
errors: {
|
|
43829
|
+
400: `Bad Request`,
|
|
43830
|
+
422: `Unprocessable Content`,
|
|
43831
|
+
500: `Internal Server Error`
|
|
43832
|
+
}
|
|
43833
|
+
});
|
|
43834
|
+
}
|
|
43835
|
+
/**
|
|
43836
|
+
* Gets a list of resources.
|
|
43837
|
+
* @returns TenantFaqPage OK
|
|
43838
|
+
* @throws ApiError
|
|
43839
|
+
*/
|
|
43840
|
+
getPage({
|
|
43841
|
+
ids,
|
|
43842
|
+
showOnStorefront,
|
|
43843
|
+
showOnCustomerPortal,
|
|
43844
|
+
pageNumber,
|
|
43845
|
+
take,
|
|
43846
|
+
skip,
|
|
43847
|
+
limitListRequests,
|
|
43848
|
+
tenantId,
|
|
43849
|
+
modifiedById,
|
|
43850
|
+
modifiedByIds,
|
|
43851
|
+
dateCreatedGte,
|
|
43852
|
+
dateCreatedLte,
|
|
43853
|
+
isLive,
|
|
43854
|
+
sortOrderDirection
|
|
43855
|
+
}) {
|
|
43856
|
+
return this.httpRequest.request({
|
|
43857
|
+
method: "GET",
|
|
43858
|
+
url: "/api/tenant-faqs",
|
|
43859
|
+
query: {
|
|
43860
|
+
Ids: ids,
|
|
43861
|
+
ShowOnStorefront: showOnStorefront,
|
|
43862
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
43863
|
+
PageNumber: pageNumber,
|
|
43864
|
+
Take: take,
|
|
43865
|
+
Skip: skip,
|
|
43866
|
+
LimitListRequests: limitListRequests,
|
|
43867
|
+
TenantId: tenantId,
|
|
43868
|
+
ModifiedById: modifiedById,
|
|
43869
|
+
ModifiedByIds: modifiedByIds,
|
|
43870
|
+
DateCreatedGTE: dateCreatedGte,
|
|
43871
|
+
DateCreatedLTE: dateCreatedLte,
|
|
43872
|
+
IsLive: isLive,
|
|
43873
|
+
SortOrderDirection: sortOrderDirection
|
|
43874
|
+
},
|
|
43875
|
+
errors: {
|
|
43876
|
+
400: `Bad Request`,
|
|
43877
|
+
422: `Unprocessable Content`,
|
|
43878
|
+
500: `Internal Server Error`
|
|
43879
|
+
}
|
|
43880
|
+
});
|
|
43881
|
+
}
|
|
43882
|
+
/**
|
|
43883
|
+
* Deletes the resource.
|
|
43884
|
+
* @returns any OK
|
|
43885
|
+
* @throws ApiError
|
|
43886
|
+
*/
|
|
43887
|
+
deleteById({
|
|
43888
|
+
id
|
|
43889
|
+
}) {
|
|
43890
|
+
return this.httpRequest.request({
|
|
43891
|
+
method: "DELETE",
|
|
43892
|
+
url: "/api/tenant-faqs/{id}",
|
|
43893
|
+
path: {
|
|
43894
|
+
id
|
|
43895
|
+
},
|
|
43896
|
+
errors: {
|
|
43897
|
+
400: `Bad Request`,
|
|
43898
|
+
422: `Unprocessable Content`,
|
|
43899
|
+
500: `Internal Server Error`
|
|
43900
|
+
}
|
|
43901
|
+
});
|
|
43902
|
+
}
|
|
43903
|
+
/**
|
|
43904
|
+
* Gets the resource by its Id.
|
|
43905
|
+
* @returns TenantFaq OK
|
|
43906
|
+
* @throws ApiError
|
|
43907
|
+
*/
|
|
43908
|
+
getObject({
|
|
43909
|
+
id
|
|
43910
|
+
}) {
|
|
43911
|
+
return this.httpRequest.request({
|
|
43912
|
+
method: "GET",
|
|
43913
|
+
url: "/api/tenant-faqs/{id}",
|
|
43914
|
+
path: {
|
|
43915
|
+
id
|
|
43916
|
+
},
|
|
43917
|
+
errors: {
|
|
43918
|
+
400: `Bad Request`,
|
|
43919
|
+
422: `Unprocessable Content`,
|
|
43920
|
+
500: `Internal Server Error`
|
|
43921
|
+
}
|
|
43922
|
+
});
|
|
43923
|
+
}
|
|
43924
|
+
/**
|
|
43925
|
+
* Returns a value indicating whether the resource is deletable.
|
|
43926
|
+
* @returns boolean OK
|
|
43927
|
+
* @throws ApiError
|
|
43928
|
+
*/
|
|
43929
|
+
canDelete({
|
|
43930
|
+
id
|
|
43931
|
+
}) {
|
|
43932
|
+
return this.httpRequest.request({
|
|
43933
|
+
method: "GET",
|
|
43934
|
+
url: "/api/tenant-faqs/{id}/deletable",
|
|
43935
|
+
path: {
|
|
43936
|
+
id
|
|
43937
|
+
},
|
|
43938
|
+
errors: {
|
|
43939
|
+
400: `Bad Request`,
|
|
43940
|
+
422: `Unprocessable Content`,
|
|
43941
|
+
500: `Internal Server Error`
|
|
43942
|
+
}
|
|
43943
|
+
});
|
|
43944
|
+
}
|
|
43945
|
+
/**
|
|
43946
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
43947
|
+
* @returns boolean OK
|
|
43948
|
+
* @throws ApiError
|
|
43949
|
+
*/
|
|
43950
|
+
exists({
|
|
43951
|
+
ids,
|
|
43952
|
+
showOnStorefront,
|
|
43953
|
+
showOnCustomerPortal,
|
|
43954
|
+
pageNumber,
|
|
43955
|
+
take,
|
|
43956
|
+
skip,
|
|
43957
|
+
limitListRequests,
|
|
43958
|
+
tenantId,
|
|
43959
|
+
modifiedById,
|
|
43960
|
+
modifiedByIds,
|
|
43961
|
+
dateCreatedGte,
|
|
43962
|
+
dateCreatedLte,
|
|
43963
|
+
isLive,
|
|
43964
|
+
sortOrderDirection
|
|
43965
|
+
}) {
|
|
43966
|
+
return this.httpRequest.request({
|
|
43967
|
+
method: "GET",
|
|
43968
|
+
url: "/api/tenant-faqs/exists",
|
|
43969
|
+
query: {
|
|
43970
|
+
Ids: ids,
|
|
43971
|
+
ShowOnStorefront: showOnStorefront,
|
|
43972
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
43973
|
+
PageNumber: pageNumber,
|
|
43974
|
+
Take: take,
|
|
43975
|
+
Skip: skip,
|
|
43976
|
+
LimitListRequests: limitListRequests,
|
|
43977
|
+
TenantId: tenantId,
|
|
43978
|
+
ModifiedById: modifiedById,
|
|
43979
|
+
ModifiedByIds: modifiedByIds,
|
|
43980
|
+
DateCreatedGTE: dateCreatedGte,
|
|
43981
|
+
DateCreatedLTE: dateCreatedLte,
|
|
43982
|
+
IsLive: isLive,
|
|
43983
|
+
SortOrderDirection: sortOrderDirection
|
|
43984
|
+
},
|
|
43985
|
+
errors: {
|
|
43986
|
+
400: `Bad Request`,
|
|
43987
|
+
422: `Unprocessable Content`,
|
|
43988
|
+
500: `Internal Server Error`
|
|
43989
|
+
}
|
|
43990
|
+
});
|
|
43991
|
+
}
|
|
43992
|
+
/**
|
|
43993
|
+
* Returns the number of results in the database given the provided search params.
|
|
43994
|
+
* @returns number OK
|
|
43995
|
+
* @throws ApiError
|
|
43996
|
+
*/
|
|
43997
|
+
count({
|
|
43998
|
+
ids,
|
|
43999
|
+
showOnStorefront,
|
|
44000
|
+
showOnCustomerPortal,
|
|
44001
|
+
pageNumber,
|
|
44002
|
+
take,
|
|
44003
|
+
skip,
|
|
44004
|
+
limitListRequests,
|
|
44005
|
+
tenantId,
|
|
44006
|
+
modifiedById,
|
|
44007
|
+
modifiedByIds,
|
|
44008
|
+
dateCreatedGte,
|
|
44009
|
+
dateCreatedLte,
|
|
44010
|
+
isLive,
|
|
44011
|
+
sortOrderDirection
|
|
44012
|
+
}) {
|
|
44013
|
+
return this.httpRequest.request({
|
|
44014
|
+
method: "GET",
|
|
44015
|
+
url: "/api/tenant-faqs/count",
|
|
44016
|
+
query: {
|
|
44017
|
+
Ids: ids,
|
|
44018
|
+
ShowOnStorefront: showOnStorefront,
|
|
44019
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
44020
|
+
PageNumber: pageNumber,
|
|
44021
|
+
Take: take,
|
|
44022
|
+
Skip: skip,
|
|
44023
|
+
LimitListRequests: limitListRequests,
|
|
44024
|
+
TenantId: tenantId,
|
|
44025
|
+
ModifiedById: modifiedById,
|
|
44026
|
+
ModifiedByIds: modifiedByIds,
|
|
44027
|
+
DateCreatedGTE: dateCreatedGte,
|
|
44028
|
+
DateCreatedLTE: dateCreatedLte,
|
|
44029
|
+
IsLive: isLive,
|
|
44030
|
+
SortOrderDirection: sortOrderDirection
|
|
44031
|
+
},
|
|
44032
|
+
errors: {
|
|
44033
|
+
400: `Bad Request`,
|
|
44034
|
+
422: `Unprocessable Content`,
|
|
44035
|
+
500: `Internal Server Error`
|
|
44036
|
+
}
|
|
44037
|
+
});
|
|
44038
|
+
}
|
|
44039
|
+
/**
|
|
44040
|
+
* Gets a list of resources unpaged and without references.
|
|
44041
|
+
* @returns TenantFaq OK
|
|
44042
|
+
* @throws ApiError
|
|
44043
|
+
*/
|
|
44044
|
+
getListWithoutReferences({
|
|
44045
|
+
ids,
|
|
44046
|
+
showOnStorefront,
|
|
44047
|
+
showOnCustomerPortal,
|
|
44048
|
+
pageNumber,
|
|
44049
|
+
take,
|
|
44050
|
+
skip,
|
|
44051
|
+
limitListRequests,
|
|
44052
|
+
tenantId,
|
|
44053
|
+
modifiedById,
|
|
44054
|
+
modifiedByIds,
|
|
44055
|
+
dateCreatedGte,
|
|
44056
|
+
dateCreatedLte,
|
|
44057
|
+
isLive,
|
|
44058
|
+
sortOrderDirection
|
|
44059
|
+
}) {
|
|
44060
|
+
return this.httpRequest.request({
|
|
44061
|
+
method: "GET",
|
|
44062
|
+
url: "/api/tenant-faqs/without-references",
|
|
44063
|
+
query: {
|
|
44064
|
+
Ids: ids,
|
|
44065
|
+
ShowOnStorefront: showOnStorefront,
|
|
44066
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
44067
|
+
PageNumber: pageNumber,
|
|
44068
|
+
Take: take,
|
|
44069
|
+
Skip: skip,
|
|
44070
|
+
LimitListRequests: limitListRequests,
|
|
44071
|
+
TenantId: tenantId,
|
|
44072
|
+
ModifiedById: modifiedById,
|
|
44073
|
+
ModifiedByIds: modifiedByIds,
|
|
44074
|
+
DateCreatedGTE: dateCreatedGte,
|
|
44075
|
+
DateCreatedLTE: dateCreatedLte,
|
|
44076
|
+
IsLive: isLive,
|
|
44077
|
+
SortOrderDirection: sortOrderDirection
|
|
44078
|
+
},
|
|
44079
|
+
errors: {
|
|
44080
|
+
400: `Bad Request`,
|
|
44081
|
+
422: `Unprocessable Content`,
|
|
44082
|
+
500: `Internal Server Error`
|
|
44083
|
+
}
|
|
44084
|
+
});
|
|
44085
|
+
}
|
|
44086
|
+
/**
|
|
44087
|
+
* Gets a list of resources.
|
|
44088
|
+
* @returns TenantFaq OK
|
|
44089
|
+
* @throws ApiError
|
|
44090
|
+
*/
|
|
44091
|
+
getListIdName({
|
|
44092
|
+
ids,
|
|
44093
|
+
showOnStorefront,
|
|
44094
|
+
showOnCustomerPortal,
|
|
44095
|
+
pageNumber,
|
|
44096
|
+
take,
|
|
44097
|
+
skip,
|
|
44098
|
+
limitListRequests,
|
|
44099
|
+
tenantId,
|
|
44100
|
+
modifiedById,
|
|
44101
|
+
modifiedByIds,
|
|
44102
|
+
dateCreatedGte,
|
|
44103
|
+
dateCreatedLte,
|
|
44104
|
+
isLive,
|
|
44105
|
+
sortOrderDirection
|
|
44106
|
+
}) {
|
|
44107
|
+
return this.httpRequest.request({
|
|
44108
|
+
method: "GET",
|
|
44109
|
+
url: "/api/tenant-faqs/id-name",
|
|
44110
|
+
query: {
|
|
44111
|
+
Ids: ids,
|
|
44112
|
+
ShowOnStorefront: showOnStorefront,
|
|
44113
|
+
ShowOnCustomerPortal: showOnCustomerPortal,
|
|
44114
|
+
PageNumber: pageNumber,
|
|
44115
|
+
Take: take,
|
|
44116
|
+
Skip: skip,
|
|
44117
|
+
LimitListRequests: limitListRequests,
|
|
44118
|
+
TenantId: tenantId,
|
|
44119
|
+
ModifiedById: modifiedById,
|
|
44120
|
+
ModifiedByIds: modifiedByIds,
|
|
44121
|
+
DateCreatedGTE: dateCreatedGte,
|
|
44122
|
+
DateCreatedLTE: dateCreatedLte,
|
|
44123
|
+
IsLive: isLive,
|
|
44124
|
+
SortOrderDirection: sortOrderDirection
|
|
44125
|
+
},
|
|
44126
|
+
errors: {
|
|
44127
|
+
400: `Bad Request`,
|
|
44128
|
+
422: `Unprocessable Content`,
|
|
44129
|
+
500: `Internal Server Error`
|
|
44130
|
+
}
|
|
44131
|
+
});
|
|
44132
|
+
}
|
|
43582
44133
|
}class TenantsService {
|
|
43583
44134
|
constructor(httpRequest) {
|
|
43584
44135
|
this.httpRequest = httpRequest;
|
|
@@ -52624,6 +53175,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
52624
53175
|
publicSurveyCompletionLogs;
|
|
52625
53176
|
publicSurveyQuestions;
|
|
52626
53177
|
publicSurveys;
|
|
53178
|
+
publicTenantFaqs;
|
|
52627
53179
|
publicTenants;
|
|
52628
53180
|
publicVenues;
|
|
52629
53181
|
publicVenueTypes;
|
|
@@ -52652,6 +53204,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
52652
53204
|
templateFieldPermissions;
|
|
52653
53205
|
templateOffers;
|
|
52654
53206
|
templates;
|
|
53207
|
+
tenantFaqs;
|
|
52655
53208
|
tenants;
|
|
52656
53209
|
tenantWebsiteSettings;
|
|
52657
53210
|
timezone;
|
|
@@ -52775,6 +53328,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
52775
53328
|
this.publicSurveyCompletionLogs = new PublicSurveyCompletionLogsService(this.request);
|
|
52776
53329
|
this.publicSurveyQuestions = new PublicSurveyQuestionsService(this.request);
|
|
52777
53330
|
this.publicSurveys = new PublicSurveysService(this.request);
|
|
53331
|
+
this.publicTenantFaqs = new PublicTenantFaqsService(this.request);
|
|
52778
53332
|
this.publicTenants = new PublicTenantsService(this.request);
|
|
52779
53333
|
this.publicVenues = new PublicVenuesService(this.request);
|
|
52780
53334
|
this.publicVenueTypes = new PublicVenueTypesService(this.request);
|
|
@@ -52803,6 +53357,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
52803
53357
|
this.templateFieldPermissions = new TemplateFieldPermissionsService(this.request);
|
|
52804
53358
|
this.templateOffers = new TemplateOffersService(this.request);
|
|
52805
53359
|
this.templates = new TemplatesService(this.request);
|
|
53360
|
+
this.tenantFaqs = new TenantFaqsService(this.request);
|
|
52806
53361
|
this.tenants = new TenantsService(this.request);
|
|
52807
53362
|
this.tenantWebsiteSettings = new TenantWebsiteSettingsService(this.request);
|
|
52808
53363
|
this.timezone = new TimezoneService(this.request);
|
|
@@ -53289,4 +53844,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
53289
53844
|
WebsiteHomepage2["DEFAULT"] = "Default";
|
|
53290
53845
|
WebsiteHomepage2["MAP"] = "Map";
|
|
53291
53846
|
return WebsiteHomepage2;
|
|
53292
|
-
})(WebsiteHomepage || {});export{AccessCredentialsService,ActivityPerformanceService,ActivityService,ActivityType,ActivityTypeCategoryService,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,CodelocksLocksService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,DotdigitalCanonicalField,DotdigitalService,DotdigitalSourceType,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FeatureAnnouncementsService,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,IntegrationCodelocksSettingsService,IntegrationDotDigitalSettingsService,IntegrationDotdigitalFieldMapService,IntegrationDotdigitalLogService,IntegrationDotdigitalLogStatus,IntegrationQueueService,IntegrationType,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSellableItemsService,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SellableItemsService,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StorefrontStaffPreviewService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService,WebsiteHomepage};
|
|
53847
|
+
})(WebsiteHomepage || {});export{AccessCredentialsService,ActivityPerformanceService,ActivityService,ActivityType,ActivityTypeCategoryService,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,CodelocksLocksService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,DotdigitalCanonicalField,DotdigitalService,DotdigitalSourceType,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FeatureAnnouncementsService,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,IntegrationCodelocksSettingsService,IntegrationDotDigitalSettingsService,IntegrationDotdigitalFieldMapService,IntegrationDotdigitalLogService,IntegrationDotdigitalLogStatus,IntegrationQueueService,IntegrationType,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSellableItemsService,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantFaqsService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SellableItemsService,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StorefrontStaffPreviewService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantFaqsService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService,WebsiteHomepage};
|
package/package.json
CHANGED
package/src/apiClient.ts
CHANGED
|
@@ -96,6 +96,7 @@ import { PublicStripeWebhookService } from './services/PublicStripeWebhookServic
|
|
|
96
96
|
import { PublicSurveyCompletionLogsService } from './services/PublicSurveyCompletionLogsService';
|
|
97
97
|
import { PublicSurveyQuestionsService } from './services/PublicSurveyQuestionsService';
|
|
98
98
|
import { PublicSurveysService } from './services/PublicSurveysService';
|
|
99
|
+
import { PublicTenantFaqsService } from './services/PublicTenantFaqsService';
|
|
99
100
|
import { PublicTenantsService } from './services/PublicTenantsService';
|
|
100
101
|
import { PublicVenuesService } from './services/PublicVenuesService';
|
|
101
102
|
import { PublicVenueTypesService } from './services/PublicVenueTypesService';
|
|
@@ -124,6 +125,7 @@ import { TemplateDetailsService } from './services/TemplateDetailsService';
|
|
|
124
125
|
import { TemplateFieldPermissionsService } from './services/TemplateFieldPermissionsService';
|
|
125
126
|
import { TemplateOffersService } from './services/TemplateOffersService';
|
|
126
127
|
import { TemplatesService } from './services/TemplatesService';
|
|
128
|
+
import { TenantFaqsService } from './services/TenantFaqsService';
|
|
127
129
|
import { TenantsService } from './services/TenantsService';
|
|
128
130
|
import { TenantWebsiteSettingsService } from './services/TenantWebsiteSettingsService';
|
|
129
131
|
import { TimezoneService } from './services/TimezoneService';
|
|
@@ -238,6 +240,7 @@ export class ApiClient {
|
|
|
238
240
|
public readonly publicSurveyCompletionLogs: PublicSurveyCompletionLogsService;
|
|
239
241
|
public readonly publicSurveyQuestions: PublicSurveyQuestionsService;
|
|
240
242
|
public readonly publicSurveys: PublicSurveysService;
|
|
243
|
+
public readonly publicTenantFaqs: PublicTenantFaqsService;
|
|
241
244
|
public readonly publicTenants: PublicTenantsService;
|
|
242
245
|
public readonly publicVenues: PublicVenuesService;
|
|
243
246
|
public readonly publicVenueTypes: PublicVenueTypesService;
|
|
@@ -266,6 +269,7 @@ export class ApiClient {
|
|
|
266
269
|
public readonly templateFieldPermissions: TemplateFieldPermissionsService;
|
|
267
270
|
public readonly templateOffers: TemplateOffersService;
|
|
268
271
|
public readonly templates: TemplatesService;
|
|
272
|
+
public readonly tenantFaqs: TenantFaqsService;
|
|
269
273
|
public readonly tenants: TenantsService;
|
|
270
274
|
public readonly tenantWebsiteSettings: TenantWebsiteSettingsService;
|
|
271
275
|
public readonly timezone: TimezoneService;
|
|
@@ -395,6 +399,7 @@ export class ApiClient {
|
|
|
395
399
|
this.publicSurveyCompletionLogs = new PublicSurveyCompletionLogsService(this.request);
|
|
396
400
|
this.publicSurveyQuestions = new PublicSurveyQuestionsService(this.request);
|
|
397
401
|
this.publicSurveys = new PublicSurveysService(this.request);
|
|
402
|
+
this.publicTenantFaqs = new PublicTenantFaqsService(this.request);
|
|
398
403
|
this.publicTenants = new PublicTenantsService(this.request);
|
|
399
404
|
this.publicVenues = new PublicVenuesService(this.request);
|
|
400
405
|
this.publicVenueTypes = new PublicVenueTypesService(this.request);
|
|
@@ -423,6 +428,7 @@ export class ApiClient {
|
|
|
423
428
|
this.templateFieldPermissions = new TemplateFieldPermissionsService(this.request);
|
|
424
429
|
this.templateOffers = new TemplateOffersService(this.request);
|
|
425
430
|
this.templates = new TemplatesService(this.request);
|
|
431
|
+
this.tenantFaqs = new TenantFaqsService(this.request);
|
|
426
432
|
this.tenants = new TenantsService(this.request);
|
|
427
433
|
this.tenantWebsiteSettings = new TenantWebsiteSettingsService(this.request);
|
|
428
434
|
this.timezone = new TimezoneService(this.request);
|