@rezamirzapour/pod-sdk 1.0.2 → 1.0.3
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/README.md +214 -210
- package/dist/index.d.mts +593 -44
- package/dist/index.d.ts +593 -44
- package/dist/index.js +903 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +903 -69
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RetryConfig, RequestOptions } from '@rezamirzapour/http';
|
|
1
|
+
import { RetryConfig, RequestOptions, NextHttp } from '@rezamirzapour/http';
|
|
2
2
|
import { ILogger } from '@rezamirzapour/logger';
|
|
3
3
|
|
|
4
4
|
interface HandshakeResponse {
|
|
@@ -585,13 +585,14 @@ interface GetContentByEntityIdParams {
|
|
|
585
585
|
interface Business {
|
|
586
586
|
id: number;
|
|
587
587
|
name: string;
|
|
588
|
-
image
|
|
589
|
-
numOfProducts
|
|
590
|
-
rate
|
|
588
|
+
image?: string;
|
|
589
|
+
numOfProducts?: number;
|
|
590
|
+
rate?: {
|
|
591
591
|
rate: number;
|
|
592
592
|
rateCount: number;
|
|
593
593
|
};
|
|
594
|
-
ssoId
|
|
594
|
+
ssoId?: string | number;
|
|
595
|
+
[key: string]: any;
|
|
595
596
|
}
|
|
596
597
|
interface Rate {
|
|
597
598
|
rate: number;
|
|
@@ -606,14 +607,20 @@ interface UserPostInfo {
|
|
|
606
607
|
interface SeoType {
|
|
607
608
|
keyword?: string[];
|
|
608
609
|
description?: string;
|
|
610
|
+
[key: string]: any;
|
|
609
611
|
}
|
|
610
612
|
type MetaContent = {
|
|
611
613
|
code: number | string;
|
|
612
614
|
name: string;
|
|
613
|
-
primary
|
|
614
|
-
order
|
|
615
|
-
uiType
|
|
615
|
+
primary?: boolean;
|
|
616
|
+
order?: number;
|
|
617
|
+
uiType?: string;
|
|
616
618
|
valueTitles?: string;
|
|
619
|
+
icon?: string;
|
|
620
|
+
iconType?: string;
|
|
621
|
+
common?: boolean;
|
|
622
|
+
group?: any;
|
|
623
|
+
templateFieldCode?: string;
|
|
617
624
|
} & ({
|
|
618
625
|
value: string;
|
|
619
626
|
type: 'STRING_VALUE_TYPE';
|
|
@@ -647,11 +654,20 @@ interface TagtreesType {
|
|
|
647
654
|
};
|
|
648
655
|
}
|
|
649
656
|
interface CmsMetadata {
|
|
650
|
-
content_type_id
|
|
651
|
-
|
|
657
|
+
content_type_id?: string;
|
|
658
|
+
content_type_name?: string;
|
|
659
|
+
content_type_description?: string;
|
|
660
|
+
content?: MetaContent[];
|
|
661
|
+
product_type_id?: string;
|
|
662
|
+
product_type_name?: string;
|
|
663
|
+
product_type_description?: string;
|
|
664
|
+
product?: MetaContent[];
|
|
652
665
|
content_related?: any[];
|
|
653
666
|
product_related?: any[];
|
|
667
|
+
contentRelatedQuery?: any[];
|
|
668
|
+
productRelatedQuery?: any[];
|
|
654
669
|
seo?: SeoType;
|
|
670
|
+
businessId?: number;
|
|
655
671
|
created?: {
|
|
656
672
|
at: number;
|
|
657
673
|
user_name: string;
|
|
@@ -662,8 +678,10 @@ interface CmsMetadata {
|
|
|
662
678
|
user_name: string;
|
|
663
679
|
ssoId: number;
|
|
664
680
|
};
|
|
665
|
-
|
|
666
|
-
|
|
681
|
+
editable?: any;
|
|
682
|
+
published?: any;
|
|
683
|
+
publishDate?: string;
|
|
684
|
+
unpublishDate?: string;
|
|
667
685
|
[key: string]: any;
|
|
668
686
|
}
|
|
669
687
|
interface ResultItem {
|
|
@@ -705,7 +723,7 @@ interface FormattedSubject extends Subject {
|
|
|
705
723
|
formatted: Record<string | number, any>;
|
|
706
724
|
__normalized: Record<string | number, any>;
|
|
707
725
|
}
|
|
708
|
-
interface ResultItemWithFormatted<T extends Record<string, any>, P = {}> extends ResultItem {
|
|
726
|
+
interface ResultItemWithFormatted<T extends Record<string, any> = Record<string, any>, P = {}> extends ResultItem {
|
|
709
727
|
formatted: T;
|
|
710
728
|
__normalized: P;
|
|
711
729
|
}
|
|
@@ -745,34 +763,270 @@ interface TimelineSearchBody {
|
|
|
745
763
|
logicalOperator?: string;
|
|
746
764
|
operands?: TimelineSearchBody['advance'][];
|
|
747
765
|
};
|
|
766
|
+
query?: string;
|
|
748
767
|
size?: number;
|
|
749
768
|
offset?: number;
|
|
769
|
+
fromDate?: string;
|
|
770
|
+
toDate?: string;
|
|
771
|
+
sortBy?: string[];
|
|
772
|
+
enable?: boolean;
|
|
773
|
+
dealerIds?: number[];
|
|
774
|
+
language?: string;
|
|
775
|
+
showDetail?: boolean;
|
|
776
|
+
newVersion?: boolean;
|
|
777
|
+
excludedFields?: string[];
|
|
750
778
|
[key: string]: any;
|
|
751
779
|
}
|
|
752
780
|
interface TimelineResponse extends Omit<GetContentResponse, 'result'> {
|
|
753
781
|
result: any[];
|
|
754
782
|
}
|
|
783
|
+
interface ContentBody {
|
|
784
|
+
name: string;
|
|
785
|
+
metaDescription?: string;
|
|
786
|
+
keyword?: string[];
|
|
787
|
+
contentDescription?: string;
|
|
788
|
+
tags?: string[];
|
|
789
|
+
tagTrees?: (number | string)[];
|
|
790
|
+
fieldCode?: string[];
|
|
791
|
+
fieldValue?: any[];
|
|
792
|
+
canRate?: boolean;
|
|
793
|
+
canLike?: boolean;
|
|
794
|
+
canComment?: boolean;
|
|
795
|
+
enable?: boolean;
|
|
796
|
+
isSearchable?: boolean;
|
|
797
|
+
publishDate?: string;
|
|
798
|
+
unpublishDate?: string;
|
|
799
|
+
[key: string]: any;
|
|
800
|
+
}
|
|
755
801
|
interface AddContentParams {
|
|
756
802
|
contentTypeUniqueId: string;
|
|
757
|
-
body:
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
803
|
+
body: ContentBody;
|
|
804
|
+
}
|
|
805
|
+
interface EditContentParams {
|
|
806
|
+
contentTypeUniqueId: string;
|
|
807
|
+
entityId: number | string;
|
|
808
|
+
body: Partial<ContentBody>;
|
|
809
|
+
}
|
|
810
|
+
interface BatchPublishParams {
|
|
811
|
+
entityIds: (number | string)[];
|
|
812
|
+
contentTypeUniqueId?: string;
|
|
813
|
+
}
|
|
814
|
+
interface BatchUnpublishParams {
|
|
815
|
+
entityIds: (number | string)[];
|
|
816
|
+
contentTypeUniqueId?: string;
|
|
817
|
+
}
|
|
818
|
+
interface ArchiveParams {
|
|
819
|
+
entityIds: (number | string)[];
|
|
820
|
+
contentTypeUniqueId?: string;
|
|
821
|
+
}
|
|
822
|
+
interface GetCommentsParams {
|
|
823
|
+
offset?: number;
|
|
824
|
+
size?: number;
|
|
825
|
+
firstId?: number;
|
|
826
|
+
lastId?: number;
|
|
827
|
+
[key: string]: any;
|
|
773
828
|
}
|
|
774
|
-
interface
|
|
775
|
-
|
|
829
|
+
interface GetReactionsParams {
|
|
830
|
+
offset?: number;
|
|
831
|
+
size?: number;
|
|
832
|
+
[key: string]: any;
|
|
833
|
+
}
|
|
834
|
+
interface GetProductParams {
|
|
835
|
+
offset?: number;
|
|
836
|
+
size?: number;
|
|
837
|
+
excludeItems?: (string | number)[];
|
|
838
|
+
productTypeUniqueId?: string;
|
|
839
|
+
productTypeUniqueIds?: string[];
|
|
840
|
+
productUniqueId?: string;
|
|
841
|
+
businessId?: number;
|
|
842
|
+
entityIds?: (string | number)[];
|
|
843
|
+
entityId?: number;
|
|
844
|
+
postIds?: number[];
|
|
845
|
+
notPostIds?: number[];
|
|
846
|
+
fieldCode?: string[];
|
|
847
|
+
fieldValue?: (string | number)[];
|
|
848
|
+
operationFields?: string;
|
|
849
|
+
operationValues?: string;
|
|
850
|
+
operationValuesArray?: string[];
|
|
851
|
+
excludeFieldCode?: string[];
|
|
852
|
+
excludeFieldValue?: string[];
|
|
853
|
+
operationExcludeValues?: string;
|
|
854
|
+
operationExcludeValuesArray?: string;
|
|
855
|
+
relatedContentId?: number[];
|
|
856
|
+
operationRelatedContentId?: string;
|
|
857
|
+
relatedProductId?: number[];
|
|
858
|
+
operationRelatedProductId?: string;
|
|
859
|
+
metaQuery?: string;
|
|
860
|
+
tags?: string[];
|
|
861
|
+
operationTags?: string;
|
|
862
|
+
operationValueTags?: string[];
|
|
863
|
+
excludeTags?: string[];
|
|
864
|
+
operationExcludeTags?: string;
|
|
865
|
+
operationExcludeValueTags?: string;
|
|
866
|
+
orderTagTree?: string;
|
|
867
|
+
tagTrees?: (string | number)[];
|
|
868
|
+
operationValueTagTrees?: string;
|
|
869
|
+
operationTagTrees?: 'and' | 'or';
|
|
870
|
+
orderTagTreeCode?: string;
|
|
871
|
+
tagTreesCode?: string[];
|
|
872
|
+
operationTagTreesCode?: string;
|
|
873
|
+
operationValueTagTreesCode?: string;
|
|
874
|
+
name?: string;
|
|
875
|
+
operationName?: string;
|
|
876
|
+
creatorId?: number;
|
|
877
|
+
updaterId?: number;
|
|
878
|
+
publisherId?: number;
|
|
879
|
+
unpublisherId?: number;
|
|
880
|
+
fromCreateDate?: string;
|
|
881
|
+
toCreateDate?: string;
|
|
882
|
+
fromUpdateDate?: string;
|
|
883
|
+
toUpdateDate?: string;
|
|
884
|
+
fromPublisheDate?: string;
|
|
885
|
+
toPublisheDate?: string;
|
|
886
|
+
fromUnpublishDate?: string;
|
|
887
|
+
toUnpublishDate?: string;
|
|
888
|
+
fromPrice?: number;
|
|
889
|
+
toPrice?: number;
|
|
890
|
+
fromDiscount?: number;
|
|
891
|
+
toDiscount?: number;
|
|
892
|
+
description?: string;
|
|
893
|
+
tagTreesCategory?: string[];
|
|
894
|
+
orderBy?: string[];
|
|
895
|
+
follow?: boolean;
|
|
896
|
+
activityInfo?: boolean;
|
|
897
|
+
showDetail?: boolean;
|
|
898
|
+
changeRelatedContentSchema?: boolean;
|
|
899
|
+
lat?: number;
|
|
900
|
+
lng?: number;
|
|
901
|
+
distance?: number;
|
|
902
|
+
keywords?: string[];
|
|
903
|
+
isSearchable?: boolean;
|
|
904
|
+
uniqueId?: string;
|
|
905
|
+
barcode?: string;
|
|
906
|
+
showProviderDetail?: boolean;
|
|
907
|
+
showTagTreesDetail?: boolean;
|
|
908
|
+
[key: string]: any;
|
|
909
|
+
}
|
|
910
|
+
interface ProductBody {
|
|
911
|
+
name: string;
|
|
912
|
+
enable?: boolean;
|
|
913
|
+
metaDescription?: string;
|
|
914
|
+
keyword?: string[];
|
|
915
|
+
productDescription?: string;
|
|
916
|
+
isSearchable?: boolean;
|
|
917
|
+
tags?: string[];
|
|
918
|
+
tagTrees?: (number | string)[];
|
|
919
|
+
fieldCode?: string[];
|
|
920
|
+
fieldValue?: any[];
|
|
921
|
+
canRate?: boolean;
|
|
922
|
+
canLike?: boolean;
|
|
923
|
+
canComment?: boolean;
|
|
924
|
+
publishDate?: string;
|
|
925
|
+
unpublishDate?: string;
|
|
926
|
+
showFileMetadataDetail?: boolean;
|
|
927
|
+
showProviderDetail?: boolean;
|
|
928
|
+
showTagTreesDetail?: boolean;
|
|
929
|
+
[key: string]: any;
|
|
930
|
+
}
|
|
931
|
+
interface AddProductParams {
|
|
932
|
+
productTypeUniqueId: string;
|
|
933
|
+
body: ProductBody;
|
|
934
|
+
}
|
|
935
|
+
interface EditProductParams {
|
|
936
|
+
productTypeUniqueId: string;
|
|
937
|
+
entityId: number | string;
|
|
938
|
+
body: Partial<ProductBody>;
|
|
939
|
+
}
|
|
940
|
+
interface GetProductByEntityIdParams {
|
|
941
|
+
entityId: number | string;
|
|
942
|
+
productTypeUniqueId?: string;
|
|
943
|
+
}
|
|
944
|
+
interface ProductItem {
|
|
945
|
+
id: number;
|
|
946
|
+
version?: number;
|
|
947
|
+
timelineId?: number;
|
|
948
|
+
entityId: number;
|
|
949
|
+
forwardedId?: number;
|
|
950
|
+
numOfLikes?: number;
|
|
951
|
+
numOfDisLikes?: number;
|
|
952
|
+
numOfShare?: number;
|
|
953
|
+
numOfFavorites?: number;
|
|
954
|
+
numOfComments?: number;
|
|
955
|
+
timestamp?: number;
|
|
956
|
+
enable?: boolean;
|
|
957
|
+
hide?: boolean;
|
|
958
|
+
replyPostConfirmation?: boolean;
|
|
959
|
+
business?: Business;
|
|
960
|
+
userSrv?: any;
|
|
961
|
+
rate?: Rate;
|
|
962
|
+
userPostInfo?: UserPostInfo;
|
|
963
|
+
metadata: CmsMetadata;
|
|
964
|
+
latitude?: number;
|
|
965
|
+
longitude?: number;
|
|
966
|
+
uniqueId?: string;
|
|
967
|
+
canComment?: boolean;
|
|
968
|
+
canLike?: boolean;
|
|
969
|
+
canRate?: boolean;
|
|
970
|
+
tags?: string[];
|
|
971
|
+
tagTrees?: TagtreesType[];
|
|
972
|
+
name?: string;
|
|
973
|
+
description?: string;
|
|
974
|
+
categoryList?: any[];
|
|
975
|
+
preview?: any;
|
|
976
|
+
unlimited?: boolean;
|
|
977
|
+
availableCount?: number;
|
|
978
|
+
price?: number;
|
|
979
|
+
discount?: number;
|
|
980
|
+
saleInfo?: any;
|
|
981
|
+
guild?: any;
|
|
982
|
+
allowUserInvoice?: boolean;
|
|
983
|
+
allowUserPrice?: boolean;
|
|
984
|
+
subProducts?: any[];
|
|
985
|
+
productGroup?: any;
|
|
986
|
+
content?: any;
|
|
987
|
+
currency?: any;
|
|
988
|
+
parentProduct?: any;
|
|
989
|
+
relatedProductsId?: any[];
|
|
990
|
+
preferredTaxRate?: number;
|
|
991
|
+
[key: string]: any;
|
|
992
|
+
}
|
|
993
|
+
interface ProductItemWithFormatted<T extends Record<string, any> = Record<string, any>, P = {}> extends ProductItem {
|
|
994
|
+
formatted: T;
|
|
995
|
+
__normalized: P;
|
|
996
|
+
}
|
|
997
|
+
interface FormattedProductSubject extends ProductItem {
|
|
998
|
+
formatted: Record<string | number, any>;
|
|
999
|
+
__normalized: Record<string | number, any>;
|
|
1000
|
+
}
|
|
1001
|
+
interface GetProductResponse {
|
|
1002
|
+
referenceNumber?: string;
|
|
1003
|
+
hasError: boolean;
|
|
1004
|
+
errorCode?: number;
|
|
1005
|
+
refId?: string;
|
|
1006
|
+
message?: string | any[];
|
|
1007
|
+
count?: number;
|
|
1008
|
+
aggregations?: number;
|
|
1009
|
+
result: ProductItem[];
|
|
1010
|
+
metadata?: any[];
|
|
1011
|
+
[key: string]: any;
|
|
1012
|
+
}
|
|
1013
|
+
interface FormattedGetProductResponse<T extends Record<string, any> = Record<string, any>, P = {}> extends Omit<GetProductResponse, 'result'> {
|
|
1014
|
+
result: ProductItemWithFormatted<T, P>[];
|
|
1015
|
+
}
|
|
1016
|
+
interface BatchPublishProductParams {
|
|
1017
|
+
entityIds: (number | string)[];
|
|
1018
|
+
productTypeUniqueId?: string;
|
|
1019
|
+
}
|
|
1020
|
+
interface BatchUnpublishProductParams {
|
|
1021
|
+
entityIds: (number | string)[];
|
|
1022
|
+
productTypeUniqueId?: string;
|
|
1023
|
+
}
|
|
1024
|
+
interface ArchiveProductParams {
|
|
1025
|
+
entityIds: (number | string)[];
|
|
1026
|
+
productTypeUniqueId?: string;
|
|
1027
|
+
}
|
|
1028
|
+
interface CmsRequestOptions<TSubject = any> {
|
|
1029
|
+
normalizer?: (item: TSubject) => Record<string, any>;
|
|
776
1030
|
revalidate?: number | false;
|
|
777
1031
|
cache?: RequestCache;
|
|
778
1032
|
headers?: HeadersInit;
|
|
@@ -783,8 +1037,147 @@ declare class CmsDataFormatter {
|
|
|
783
1037
|
private podspaceUrl;
|
|
784
1038
|
constructor(podspaceUrl?: string);
|
|
785
1039
|
generateImage(hash?: string, defaultSrc?: string): string;
|
|
1040
|
+
formatItem<TSubject = any>(item: any, normalizer?: (item: TSubject) => Record<string, any>): any;
|
|
786
1041
|
formatContentItem(item: any, normalizer?: (item: FormattedSubject) => Record<string, any>): any;
|
|
1042
|
+
formatProductItem(item: any, normalizer?: (item: FormattedProductSubject) => Record<string, any>): any;
|
|
787
1043
|
formatGetContentResponse<T extends Record<string, any> = Record<string, any>, P = {}>(response: any, normalizer?: (item: FormattedSubject) => Record<string, any>): FormattedGetContentResponse<T, P>;
|
|
1044
|
+
formatGetProductResponse<T extends Record<string, any> = Record<string, any>, P = {}>(response: any, normalizer?: (item: FormattedProductSubject) => Record<string, any>): FormattedGetProductResponse<T, P>;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
interface CmsProductServiceOptions {
|
|
1048
|
+
baseUrl?: string;
|
|
1049
|
+
clientId: string;
|
|
1050
|
+
apiToken?: string;
|
|
1051
|
+
podspaceUrl?: string;
|
|
1052
|
+
revalidate?: number | string;
|
|
1053
|
+
http?: NextHttp;
|
|
1054
|
+
formatter?: CmsDataFormatter;
|
|
1055
|
+
}
|
|
1056
|
+
declare class CmsProductService {
|
|
1057
|
+
private http;
|
|
1058
|
+
private formatter;
|
|
1059
|
+
private clientId;
|
|
1060
|
+
private apiToken;
|
|
1061
|
+
private revalidate;
|
|
1062
|
+
constructor(options: CmsProductServiceOptions);
|
|
1063
|
+
private get commonHeaders();
|
|
1064
|
+
private get managingHeaders();
|
|
1065
|
+
/**
|
|
1066
|
+
* Retrieves enabled published products from CMS, formatted with generic metadata type T and optional normalized type P.
|
|
1067
|
+
* Swagger: GET /api/core/products/enable
|
|
1068
|
+
*/
|
|
1069
|
+
getProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Retrieves all products using Provider credentials (Access-Token).
|
|
1072
|
+
* Swagger: GET /api/core/products
|
|
1073
|
+
*/
|
|
1074
|
+
getAllProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Retrieves products for management view.
|
|
1077
|
+
* Swagger: GET /api/core/products/manage
|
|
1078
|
+
*/
|
|
1079
|
+
getManageProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Retrieves products by ProductType unique identifier.
|
|
1082
|
+
* Swagger: GET /api/core/products/{productTypeUniqueId}
|
|
1083
|
+
*/
|
|
1084
|
+
getProductsByType<T extends Record<string, any> = Record<string, any>, P = {}>(productTypeUniqueId: string, params?: GetProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Retrieves a single published product by entityId.
|
|
1087
|
+
* Swagger: GET /api/core/products/enable/{entityId} OR /api/core/products/{productTypeUniqueId}/enable/{entityId}
|
|
1088
|
+
*/
|
|
1089
|
+
getProductByEntityId<T extends Record<string, any> = Record<string, any>, P = {}>(params: GetProductByEntityIdParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1090
|
+
/**
|
|
1091
|
+
* Retrieves a single product by uniqueId.
|
|
1092
|
+
* Swagger: GET /api/core/products/{productUniqueId}/byProductUniqueId/enable
|
|
1093
|
+
*/
|
|
1094
|
+
getProductByUniqueId<T extends Record<string, any> = Record<string, any>, P = {}>(productUniqueId: string, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Retrieves products matching a barcode.
|
|
1097
|
+
* Swagger: GET /api/core/products/barcode/enable
|
|
1098
|
+
*/
|
|
1099
|
+
getProductByBarcode<T extends Record<string, any> = Record<string, any>, P = {}>(barcode: string, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Searches published products by keyword.
|
|
1102
|
+
* Swagger: GET /api/core/products/enable/search
|
|
1103
|
+
*/
|
|
1104
|
+
searchProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: {
|
|
1105
|
+
query?: string;
|
|
1106
|
+
name?: string;
|
|
1107
|
+
offset?: number;
|
|
1108
|
+
size?: number;
|
|
1109
|
+
[key: string]: any;
|
|
1110
|
+
}, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Creates and publishes a new product.
|
|
1113
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/add-publish
|
|
1114
|
+
*/
|
|
1115
|
+
addProduct<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Creates a draft/unpublished product.
|
|
1118
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}
|
|
1119
|
+
*/
|
|
1120
|
+
createProduct<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Edits and publishes an existing product by entityId.
|
|
1123
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/{entityId}/edit-publish
|
|
1124
|
+
*/
|
|
1125
|
+
editProduct<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Updates an existing product.
|
|
1128
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/{entityId}
|
|
1129
|
+
*/
|
|
1130
|
+
updateProduct<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Partially updates an existing product.
|
|
1133
|
+
* Swagger: PATCH /api/core/products/{productTypeUniqueId}/{entityId}
|
|
1134
|
+
*/
|
|
1135
|
+
patchProduct<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: EditProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Publishes an existing product.
|
|
1138
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/publish/{entityId}
|
|
1139
|
+
*/
|
|
1140
|
+
publishProduct(productTypeUniqueId: string, entityId: number | string): Promise<any>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Unpublishes an existing product.
|
|
1143
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/unpublish/{entityId}
|
|
1144
|
+
*/
|
|
1145
|
+
unpublishProduct(productTypeUniqueId: string, entityId: number | string): Promise<any>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Batch publishes products.
|
|
1148
|
+
* Swagger: PUT /api/core/products/{productTypeUniqueId}/publish OR /api/core/products/publish
|
|
1149
|
+
*/
|
|
1150
|
+
batchPublish(params: BatchPublishProductParams): Promise<any>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Batch unpublishes products.
|
|
1153
|
+
* Swagger: PUT /api/core/products/{productTypeUniqueId}/unpublish OR /api/core/products/unpublish
|
|
1154
|
+
*/
|
|
1155
|
+
batchUnpublish(params: BatchUnpublishProductParams): Promise<any>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Archives products.
|
|
1158
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/archive OR /api/core/products/archive
|
|
1159
|
+
*/
|
|
1160
|
+
archiveProduct(params: ArchiveProductParams): Promise<any>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Unarchives products.
|
|
1163
|
+
* Swagger: POST /api/core/products/{productTypeUniqueId}/unarchive OR /api/core/products/unarchive
|
|
1164
|
+
*/
|
|
1165
|
+
unarchiveProduct(params: ArchiveProductParams): Promise<any>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Gets list of archived products.
|
|
1168
|
+
* Swagger: GET /api/core/products/archive OR /api/core/products/{productTypeUniqueId}/archive
|
|
1169
|
+
*/
|
|
1170
|
+
getArchivedProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: {
|
|
1171
|
+
productTypeUniqueId?: string;
|
|
1172
|
+
offset?: number;
|
|
1173
|
+
size?: number;
|
|
1174
|
+
[key: string]: any;
|
|
1175
|
+
}, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Performs advanced AI timeline search on products.
|
|
1178
|
+
* Swagger: GET /api/core/products/ai/timeline-search/enable
|
|
1179
|
+
*/
|
|
1180
|
+
timelineSearch(query?: TimelineSearchBody): Promise<TimelineResponse>;
|
|
788
1181
|
}
|
|
789
1182
|
|
|
790
1183
|
interface CmsServiceOptions {
|
|
@@ -800,45 +1193,200 @@ declare class CmsService {
|
|
|
800
1193
|
private clientId;
|
|
801
1194
|
private apiToken;
|
|
802
1195
|
private revalidate;
|
|
1196
|
+
/**
|
|
1197
|
+
* Dedicated CMS Product sub-service.
|
|
1198
|
+
* Swagger: tag=product
|
|
1199
|
+
*/
|
|
1200
|
+
readonly products: CmsProductService;
|
|
803
1201
|
constructor(options: CmsServiceOptions);
|
|
804
1202
|
private get commonHeaders();
|
|
805
1203
|
private get managingHeaders();
|
|
806
1204
|
/**
|
|
807
1205
|
* Retrieves enabled published content from CMS, formatted with generic metadata type T and optional normalized type P.
|
|
1206
|
+
* Swagger: GET /api/core/contents/enable
|
|
1207
|
+
*/
|
|
1208
|
+
getContent<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Retrieves all contents using managing credentials (Access-Token).
|
|
1211
|
+
* Swagger: GET /api/core/contents
|
|
1212
|
+
*/
|
|
1213
|
+
getAllContents<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Retrieves current user/client contents.
|
|
1216
|
+
* Swagger: GET /api/core/contents/my
|
|
808
1217
|
*/
|
|
809
|
-
|
|
1218
|
+
getMyContents<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
810
1219
|
/**
|
|
811
|
-
* Retrieves
|
|
1220
|
+
* Retrieves contents by ContentType unique identifier.
|
|
1221
|
+
* Swagger: GET /api/core/contents/{contentTypeUniqueId}
|
|
812
1222
|
*/
|
|
813
|
-
|
|
1223
|
+
getContentsByType<T extends Record<string, any> = Record<string, any>, P = {}>(contentTypeUniqueId: string, params?: GetContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
814
1224
|
/**
|
|
815
|
-
* Retrieves unpublished
|
|
1225
|
+
* Retrieves unpublished content (enable: false).
|
|
816
1226
|
*/
|
|
817
|
-
getUnpublishedContent<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetContentParams, options?: CmsRequestOptions): Promise<FormattedGetContentResponse<T, P>>;
|
|
1227
|
+
getUnpublishedContent<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
818
1228
|
/**
|
|
819
1229
|
* Retrieves single content by entityId and optional contentTypeUniqueId.
|
|
1230
|
+
* Swagger: GET /api/core/contents/enable/{entityId} OR /api/core/contents/{contentTypeUniqueId}/enable/{entityId}
|
|
1231
|
+
*/
|
|
1232
|
+
getContentByEntityId<T extends Record<string, any> = Record<string, any>, P = {}>(params: GetContentByEntityIdParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Retrieves content by unique identifier.
|
|
1235
|
+
* Swagger: GET /api/core/contents/{contentUniqueId}/byContentUniqueId/enable
|
|
1236
|
+
*/
|
|
1237
|
+
getContentByUniqueId<T extends Record<string, any> = Record<string, any>, P = {}>(contentUniqueId: string, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Searches published contents by keyword.
|
|
1240
|
+
* Swagger: GET /api/core/contents/search
|
|
1241
|
+
*/
|
|
1242
|
+
searchContent<T extends Record<string, any> = Record<string, any>, P = {}>(params?: {
|
|
1243
|
+
query?: string;
|
|
1244
|
+
name?: string;
|
|
1245
|
+
offset?: number;
|
|
1246
|
+
size?: number;
|
|
1247
|
+
[key: string]: any;
|
|
1248
|
+
}, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Adds and publishes new content to CMS.
|
|
1251
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/add-publish
|
|
1252
|
+
*/
|
|
1253
|
+
addContent<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Creates a new draft/unpublished content.
|
|
1256
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}
|
|
1257
|
+
*/
|
|
1258
|
+
createContent<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Edits and publishes existing content by entityId.
|
|
1261
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/{entityId}/edit-publish
|
|
1262
|
+
*/
|
|
1263
|
+
editContent<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Updates existing content.
|
|
1266
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/{entityId}
|
|
1267
|
+
*/
|
|
1268
|
+
updateContent<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Partially updates existing content.
|
|
1271
|
+
* Swagger: PATCH /api/core/contents/{contentTypeUniqueId}/{entityId}
|
|
1272
|
+
*/
|
|
1273
|
+
patchContent<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: EditContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Publishes existing content.
|
|
1276
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/publish/{entityId}
|
|
1277
|
+
*/
|
|
1278
|
+
publishContent(contentTypeUniqueId: string, entityId: number | string): Promise<any>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Unpublishes existing content.
|
|
1281
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/unpublish/{entityId}
|
|
1282
|
+
*/
|
|
1283
|
+
unpublishContent(contentTypeUniqueId: string, entityId: number | string): Promise<any>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Batch publishes content items.
|
|
1286
|
+
* Swagger: PUT /api/core/contents/{contentTypeUniqueId}/publish OR /api/core/contents/publish
|
|
1287
|
+
*/
|
|
1288
|
+
batchPublish(params: BatchPublishParams): Promise<any>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Batch unpublishes content items.
|
|
1291
|
+
* Swagger: PUT /api/core/contents/{contentTypeUniqueId}/unpublish OR /api/core/contents/unpublish
|
|
1292
|
+
*/
|
|
1293
|
+
batchUnpublish(params: BatchUnpublishParams): Promise<any>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Archives content items.
|
|
1296
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/archive
|
|
1297
|
+
*/
|
|
1298
|
+
archiveContent(params: ArchiveParams): Promise<any>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Unarchives content items.
|
|
1301
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/unarchive
|
|
1302
|
+
*/
|
|
1303
|
+
unarchiveContent(params: ArchiveParams): Promise<any>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Retrieves list of archived contents.
|
|
1306
|
+
* Swagger: GET /api/core/contents/archive OR /api/core/contents/{contentTypeUniqueId}/archive
|
|
1307
|
+
*/
|
|
1308
|
+
getArchivedContents<T extends Record<string, any> = Record<string, any>, P = {}>(params?: {
|
|
1309
|
+
contentTypeUniqueId?: string;
|
|
1310
|
+
offset?: number;
|
|
1311
|
+
size?: number;
|
|
1312
|
+
[key: string]: any;
|
|
1313
|
+
}, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Retrieves drafts.
|
|
1316
|
+
* Swagger: GET /api/core/contents/draft OR /api/core/contents/{contentTypeUniqueId}/draft
|
|
1317
|
+
*/
|
|
1318
|
+
getDrafts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: {
|
|
1319
|
+
contentTypeUniqueId?: string;
|
|
1320
|
+
offset?: number;
|
|
1321
|
+
size?: number;
|
|
1322
|
+
[key: string]: any;
|
|
1323
|
+
}, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Creates a draft.
|
|
1326
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/draft
|
|
1327
|
+
*/
|
|
1328
|
+
createDraft<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Gets a specific draft by entityId.
|
|
1331
|
+
* Swagger: GET /api/core/contents/{contentTypeUniqueId}/draft/{entityId}
|
|
1332
|
+
*/
|
|
1333
|
+
getDraftById<T extends Record<string, any> = Record<string, any>, P = {}>(contentTypeUniqueId: string, entityId: number | string, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Updates a draft.
|
|
1336
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/draft/{entityId}
|
|
820
1337
|
*/
|
|
821
|
-
|
|
1338
|
+
updateDraft<T extends Record<string, any> = Record<string, any>, P = {}>(contentTypeUniqueId: string, entityId: number | string, params: AddContentParams, options?: CmsRequestOptions<FormattedSubject>): Promise<FormattedGetContentResponse<T, P>>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Undrafts content by entityId.
|
|
1341
|
+
* Swagger: POST /api/core/contents/{contentTypeUniqueId}/undraft/{entityId}
|
|
1342
|
+
*/
|
|
1343
|
+
undraftContent(contentTypeUniqueId: string, entityId: number | string): Promise<any>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Retrieves comments on content.
|
|
1346
|
+
* Swagger: GET /api/core/contents/{contentTypeUniqueId}/comments/{entityId}
|
|
1347
|
+
*/
|
|
1348
|
+
getComments(contentTypeUniqueId: string, entityId: number | string, params?: GetCommentsParams): Promise<any>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Retrieves list of likes for content.
|
|
1351
|
+
* Swagger: GET /api/core/contents/{contentUniqueId}/like/{entityId}
|
|
1352
|
+
*/
|
|
1353
|
+
getLikes(contentUniqueId: string, entityId: number | string, params?: GetReactionsParams): Promise<any>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Retrieves list of dislikes for content.
|
|
1356
|
+
* Swagger: GET /api/core/contents/{contentUniqueId}/dislike/{entityId}
|
|
1357
|
+
*/
|
|
1358
|
+
getDislikes(contentUniqueId: string, entityId: number | string, params?: GetReactionsParams): Promise<any>;
|
|
822
1359
|
/**
|
|
823
1360
|
* Retrieves tag/category tree.
|
|
1361
|
+
* Swagger: GET /api/core/tags/root/tree/enable
|
|
824
1362
|
*/
|
|
825
1363
|
getCategories(params?: GetCategoriesParams, options?: CmsRequestOptions): Promise<GetCategoryResponse>;
|
|
826
1364
|
/**
|
|
827
1365
|
* Retrieves details of a content type structure.
|
|
1366
|
+
* Swagger: GET /api/core/content-types/{contentTypeUniqueId}
|
|
828
1367
|
*/
|
|
829
1368
|
getContentTypeDetail(contentTypeUniqueId: string): Promise<any>;
|
|
830
1369
|
/**
|
|
831
|
-
*
|
|
1370
|
+
* Performs advanced AI timeline search on content.
|
|
1371
|
+
* Swagger: GET /api/core/contents/ai/timeline-search/enable
|
|
832
1372
|
*/
|
|
833
|
-
|
|
1373
|
+
timelineSearch(query?: TimelineSearchBody): Promise<TimelineResponse>;
|
|
834
1374
|
/**
|
|
835
|
-
*
|
|
1375
|
+
* Delegate to `cms.products.getProducts(...)`.
|
|
836
1376
|
*/
|
|
837
|
-
|
|
1377
|
+
getProducts<T extends Record<string, any> = Record<string, any>, P = {}>(params?: GetProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
838
1378
|
/**
|
|
839
|
-
*
|
|
1379
|
+
* Delegate to `cms.products.getProductByEntityId(...)`.
|
|
840
1380
|
*/
|
|
841
|
-
|
|
1381
|
+
getProductByEntityId<T extends Record<string, any> = Record<string, any>, P = {}>(params: GetProductByEntityIdParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Delegate to `cms.products.addProduct(...)`.
|
|
1384
|
+
*/
|
|
1385
|
+
addProduct<T extends Record<string, any> = Record<string, any>, P = {}>(params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Delegate to `cms.products.editProduct(...)`.
|
|
1388
|
+
*/
|
|
1389
|
+
editProduct<T extends Record<string, any> = Record<string, any>, P = {}>(entityId: number | string, params: AddProductParams, options?: CmsRequestOptions<FormattedProductSubject>): Promise<FormattedGetProductResponse<T, P>>;
|
|
842
1390
|
}
|
|
843
1391
|
|
|
844
1392
|
interface GetInfOfGraduatedByGraduateDateResponse {
|
|
@@ -880,6 +1428,7 @@ declare class PodSdk {
|
|
|
880
1428
|
readonly notification: NotificationService;
|
|
881
1429
|
readonly social: SocialService;
|
|
882
1430
|
readonly cms: CmsService;
|
|
1431
|
+
readonly product: CmsProductService;
|
|
883
1432
|
readonly iums: IumsService;
|
|
884
1433
|
constructor(config: PodSdkConfig);
|
|
885
1434
|
/**
|
|
@@ -899,4 +1448,4 @@ declare function createPodSdk(config: PodSdkConfig): PodSdk;
|
|
|
899
1448
|
declare function encodeBase64(str: string): string;
|
|
900
1449
|
declare function generatePodSignatureHeader(keyId: string, privateKeyPem?: string): Promise<string>;
|
|
901
1450
|
|
|
902
|
-
export { type AddCommentParams, type AddContentParams, type AddCustomPostParams, type AddCustomPostResponse, type Business, CmsDataFormatter, type CmsMetadata, type CmsRequestOptions, CmsService, type CmsServiceOptions, type CommentItem, type CustomPostCrudConfig, CustomPostCrudService, type CustomPostItem, CustomPostService, type CustomPostServiceOptions, type FormattedGetContentResponse, type FormattedSubject, type GetCategoriesParams, type GetCategoryResponse, type GetCommentListParams, type GetContentByEntityIdParams, type GetContentParams, type GetContentResponse, type GetCustomPostParams, type GetCustomPostResponse, type GetInfOfGraduatedByGraduateDateResponse, type GetSessionClassInCurrentDayResponse, type HandshakeResponse, type IumsResponse, IumsService, type IumsServiceOptions, type LikeCommentParams, type LikePostParams, type MetaContent, type Metadata, NotificationService, type NotificationServiceOptions, type PodFormItem, type PodFormResponse, PodFormService, type PodFormServiceOptions, type PodResponse, PodSdk, type PodSdkConfig, type PodUrlsConfig, PodspaceService, type PodspaceServiceOptions, type PodspaceUploadResponse, type PodspaceUploadResult, type Rate, type ResultItem, type ResultItemWithFormatted, type SearchTimelineByMetadataParam, type SearchTimelineParamMetaQuery, type SearchTimelineResponse, type SearchTimelineResultItem, type SendOtpOptions, type SendSmsParams, type SendSmsResponse, type SeoType, type SocialResponse, SocialService, type SocialServiceOptions, SsoService, type SsoServiceOptions, type SsoUserProfile, type Subject, type TagtreesType, type TimelineResponse, type TimelineSearchBody, type TokenResponse, type UpdateCustomPostParams, type UserPostInfo, type VerifyResponse, createPodSdk, PodSdk as default, encodeBase64, generatePodSignatureHeader };
|
|
1451
|
+
export { type AddCommentParams, type AddContentParams, type AddCustomPostParams, type AddCustomPostResponse, type AddProductParams, type ArchiveParams, type ArchiveProductParams, type BatchPublishParams, type BatchPublishProductParams, type BatchUnpublishParams, type BatchUnpublishProductParams, type Business, CmsDataFormatter, type CmsMetadata, CmsProductService, type CmsProductServiceOptions, type CmsRequestOptions, CmsService, type CmsServiceOptions, type CommentItem, type ContentBody, type CustomPostCrudConfig, CustomPostCrudService, type CustomPostItem, CustomPostService, type CustomPostServiceOptions, type EditContentParams, type EditProductParams, type FormattedGetContentResponse, type FormattedGetProductResponse, type FormattedProductSubject, type FormattedSubject, type GetCategoriesParams, type GetCategoryResponse, type GetCommentListParams, type GetCommentsParams, type GetContentByEntityIdParams, type GetContentParams, type GetContentResponse, type GetCustomPostParams, type GetCustomPostResponse, type GetInfOfGraduatedByGraduateDateResponse, type GetProductByEntityIdParams, type GetProductParams, type GetProductResponse, type GetReactionsParams, type GetSessionClassInCurrentDayResponse, type HandshakeResponse, type IumsResponse, IumsService, type IumsServiceOptions, type LikeCommentParams, type LikePostParams, type MetaContent, type Metadata, NotificationService, type NotificationServiceOptions, type PodFormItem, type PodFormResponse, PodFormService, type PodFormServiceOptions, type PodResponse, PodSdk, type PodSdkConfig, type PodUrlsConfig, PodspaceService, type PodspaceServiceOptions, type PodspaceUploadResponse, type PodspaceUploadResult, type ProductBody, type ProductItem, type ProductItemWithFormatted, type Rate, type ResultItem, type ResultItemWithFormatted, type SearchTimelineByMetadataParam, type SearchTimelineParamMetaQuery, type SearchTimelineResponse, type SearchTimelineResultItem, type SendOtpOptions, type SendSmsParams, type SendSmsResponse, type SeoType, type SocialResponse, SocialService, type SocialServiceOptions, SsoService, type SsoServiceOptions, type SsoUserProfile, type Subject, type TagtreesType, type TimelineResponse, type TimelineSearchBody, type TokenResponse, type UpdateCustomPostParams, type UserPostInfo, type VerifyResponse, createPodSdk, PodSdk as default, encodeBase64, generatePodSignatureHeader };
|