@teemill/website 0.18.0 → 0.19.0
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 +2 -2
- package/api.ts +569 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +388 -1
- package/dist/api.js +289 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +388 -1
- package/dist/esm/api.js +283 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your PodOS Website
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -550,6 +550,19 @@ export interface MetaImage {
|
|
|
550
550
|
*/
|
|
551
551
|
'alt'?: string;
|
|
552
552
|
}
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @export
|
|
556
|
+
* @interface ModerateReviewRequest
|
|
557
|
+
*/
|
|
558
|
+
export interface ModerateReviewRequest {
|
|
559
|
+
/**
|
|
560
|
+
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
561
|
+
* @type {boolean}
|
|
562
|
+
* @memberof ModerateReviewRequest
|
|
563
|
+
*/
|
|
564
|
+
'enabled'?: boolean;
|
|
565
|
+
}
|
|
553
566
|
/**
|
|
554
567
|
*
|
|
555
568
|
* @export
|
|
@@ -912,6 +925,168 @@ export interface ProductWarehouseProduct {
|
|
|
912
925
|
*/
|
|
913
926
|
'gfnProductRef'?: string;
|
|
914
927
|
}
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @export
|
|
931
|
+
* @interface Review
|
|
932
|
+
*/
|
|
933
|
+
export interface Review {
|
|
934
|
+
/**
|
|
935
|
+
* Unique object identifier
|
|
936
|
+
* @type {string}
|
|
937
|
+
* @memberof Review
|
|
938
|
+
*/
|
|
939
|
+
'id': string;
|
|
940
|
+
/**
|
|
941
|
+
* Text content of the review
|
|
942
|
+
* @type {string}
|
|
943
|
+
* @memberof Review
|
|
944
|
+
*/
|
|
945
|
+
'text': string;
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @type {ReviewAuthor}
|
|
949
|
+
* @memberof Review
|
|
950
|
+
*/
|
|
951
|
+
'author'?: ReviewAuthor;
|
|
952
|
+
/**
|
|
953
|
+
* Rating of the review
|
|
954
|
+
* @type {number}
|
|
955
|
+
* @memberof Review
|
|
956
|
+
*/
|
|
957
|
+
'rating'?: number;
|
|
958
|
+
/**
|
|
959
|
+
* Google\'s sentiment analysis score
|
|
960
|
+
* @type {number}
|
|
961
|
+
* @memberof Review
|
|
962
|
+
*/
|
|
963
|
+
'sentiment'?: number;
|
|
964
|
+
/**
|
|
965
|
+
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
966
|
+
* @type {boolean}
|
|
967
|
+
* @memberof Review
|
|
968
|
+
*/
|
|
969
|
+
'enabled': boolean;
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @type {string}
|
|
973
|
+
* @memberof Review
|
|
974
|
+
*/
|
|
975
|
+
'createdAt'?: string;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {Array<ReviewImagesInner>}
|
|
979
|
+
* @memberof Review
|
|
980
|
+
*/
|
|
981
|
+
'images'?: Array<ReviewImagesInner>;
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @type {Array<ReviewReply>}
|
|
985
|
+
* @memberof Review
|
|
986
|
+
*/
|
|
987
|
+
'replies'?: Array<ReviewReply>;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @export
|
|
992
|
+
* @interface ReviewAuthor
|
|
993
|
+
*/
|
|
994
|
+
export interface ReviewAuthor {
|
|
995
|
+
/**
|
|
996
|
+
* Name of the review\'s author
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof ReviewAuthor
|
|
999
|
+
*/
|
|
1000
|
+
'name'?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Email of the review\'s author
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof ReviewAuthor
|
|
1005
|
+
*/
|
|
1006
|
+
'email'?: string;
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
*
|
|
1010
|
+
* @export
|
|
1011
|
+
* @interface ReviewImagesInner
|
|
1012
|
+
*/
|
|
1013
|
+
export interface ReviewImagesInner {
|
|
1014
|
+
/**
|
|
1015
|
+
* URL of the image
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof ReviewImagesInner
|
|
1018
|
+
*/
|
|
1019
|
+
'src'?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Alternative text for the image
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof ReviewImagesInner
|
|
1024
|
+
*/
|
|
1025
|
+
'alt'?: string;
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @export
|
|
1030
|
+
* @interface ReviewReply
|
|
1031
|
+
*/
|
|
1032
|
+
export interface ReviewReply {
|
|
1033
|
+
/**
|
|
1034
|
+
* Unique object identifier
|
|
1035
|
+
* @type {string}
|
|
1036
|
+
* @memberof ReviewReply
|
|
1037
|
+
*/
|
|
1038
|
+
'id': string;
|
|
1039
|
+
/**
|
|
1040
|
+
* Text content of the reply
|
|
1041
|
+
* @type {string}
|
|
1042
|
+
* @memberof ReviewReply
|
|
1043
|
+
*/
|
|
1044
|
+
'text': string;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {ReviewReplyAuthor}
|
|
1048
|
+
* @memberof ReviewReply
|
|
1049
|
+
*/
|
|
1050
|
+
'author'?: ReviewReplyAuthor;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {string}
|
|
1054
|
+
* @memberof ReviewReply
|
|
1055
|
+
*/
|
|
1056
|
+
'createdAt'?: string;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @export
|
|
1061
|
+
* @interface ReviewReplyAuthor
|
|
1062
|
+
*/
|
|
1063
|
+
export interface ReviewReplyAuthor {
|
|
1064
|
+
/**
|
|
1065
|
+
* Name of the reply\'s author
|
|
1066
|
+
* @type {string}
|
|
1067
|
+
* @memberof ReviewReplyAuthor
|
|
1068
|
+
*/
|
|
1069
|
+
'name'?: string;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @export
|
|
1074
|
+
* @interface ReviewsResponse
|
|
1075
|
+
*/
|
|
1076
|
+
export interface ReviewsResponse {
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @type {Array<Review>}
|
|
1080
|
+
* @memberof ReviewsResponse
|
|
1081
|
+
*/
|
|
1082
|
+
'reviews'?: Array<Review>;
|
|
1083
|
+
/**
|
|
1084
|
+
* The token referencing the next page number
|
|
1085
|
+
* @type {number}
|
|
1086
|
+
* @memberof ReviewsResponse
|
|
1087
|
+
*/
|
|
1088
|
+
'nextPageToken'?: number | null;
|
|
1089
|
+
}
|
|
915
1090
|
/**
|
|
916
1091
|
*
|
|
917
1092
|
* @export
|
|
@@ -3751,6 +3926,218 @@ export declare class PaymentApi extends BaseAPI {
|
|
|
3751
3926
|
*/
|
|
3752
3927
|
getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
|
|
3753
3928
|
}
|
|
3929
|
+
/**
|
|
3930
|
+
* ReviewsApi - axios parameter creator
|
|
3931
|
+
* @export
|
|
3932
|
+
*/
|
|
3933
|
+
export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3934
|
+
/**
|
|
3935
|
+
*
|
|
3936
|
+
* @summary Get review
|
|
3937
|
+
* @param {string} project What project it is
|
|
3938
|
+
* @param {string} reviewId Review\'s unique identifier
|
|
3939
|
+
* @param {*} [options] Override http request option.
|
|
3940
|
+
* @throws {RequiredError}
|
|
3941
|
+
*/
|
|
3942
|
+
getReview: (project: string, reviewId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3943
|
+
/**
|
|
3944
|
+
*
|
|
3945
|
+
* @summary List Reviews
|
|
3946
|
+
* @param {string} project What project it is
|
|
3947
|
+
* @param {number} [pageToken] Page reference token
|
|
3948
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3949
|
+
* @param {string} [search] Search term to filter results
|
|
3950
|
+
* @param {*} [options] Override http request option.
|
|
3951
|
+
* @throws {RequiredError}
|
|
3952
|
+
*/
|
|
3953
|
+
listReviews: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3954
|
+
/**
|
|
3955
|
+
*
|
|
3956
|
+
* @summary Moderate review
|
|
3957
|
+
* @param {string} project What project it is
|
|
3958
|
+
* @param {string} reviewId Review\'s unique identifier
|
|
3959
|
+
* @param {ModerateReviewRequest} [moderateReviewRequest]
|
|
3960
|
+
* @param {*} [options] Override http request option.
|
|
3961
|
+
* @throws {RequiredError}
|
|
3962
|
+
*/
|
|
3963
|
+
moderateReview: (project: string, reviewId: string, moderateReviewRequest?: ModerateReviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3964
|
+
};
|
|
3965
|
+
/**
|
|
3966
|
+
* ReviewsApi - functional programming interface
|
|
3967
|
+
* @export
|
|
3968
|
+
*/
|
|
3969
|
+
export declare const ReviewsApiFp: (configuration?: Configuration) => {
|
|
3970
|
+
/**
|
|
3971
|
+
*
|
|
3972
|
+
* @summary Get review
|
|
3973
|
+
* @param {string} project What project it is
|
|
3974
|
+
* @param {string} reviewId Review\'s unique identifier
|
|
3975
|
+
* @param {*} [options] Override http request option.
|
|
3976
|
+
* @throws {RequiredError}
|
|
3977
|
+
*/
|
|
3978
|
+
getReview(project: string, reviewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Review>>;
|
|
3979
|
+
/**
|
|
3980
|
+
*
|
|
3981
|
+
* @summary List Reviews
|
|
3982
|
+
* @param {string} project What project it is
|
|
3983
|
+
* @param {number} [pageToken] Page reference token
|
|
3984
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3985
|
+
* @param {string} [search] Search term to filter results
|
|
3986
|
+
* @param {*} [options] Override http request option.
|
|
3987
|
+
* @throws {RequiredError}
|
|
3988
|
+
*/
|
|
3989
|
+
listReviews(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
|
|
3990
|
+
/**
|
|
3991
|
+
*
|
|
3992
|
+
* @summary Moderate review
|
|
3993
|
+
* @param {string} project What project it is
|
|
3994
|
+
* @param {string} reviewId Review\'s unique identifier
|
|
3995
|
+
* @param {ModerateReviewRequest} [moderateReviewRequest]
|
|
3996
|
+
* @param {*} [options] Override http request option.
|
|
3997
|
+
* @throws {RequiredError}
|
|
3998
|
+
*/
|
|
3999
|
+
moderateReview(project: string, reviewId: string, moderateReviewRequest?: ModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Review>>;
|
|
4000
|
+
};
|
|
4001
|
+
/**
|
|
4002
|
+
* ReviewsApi - factory interface
|
|
4003
|
+
* @export
|
|
4004
|
+
*/
|
|
4005
|
+
export declare const ReviewsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4006
|
+
/**
|
|
4007
|
+
*
|
|
4008
|
+
* @summary Get review
|
|
4009
|
+
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
4010
|
+
* @param {*} [options] Override http request option.
|
|
4011
|
+
* @throws {RequiredError}
|
|
4012
|
+
*/
|
|
4013
|
+
getReview(requestParameters: ReviewsApiGetReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
|
|
4014
|
+
/**
|
|
4015
|
+
*
|
|
4016
|
+
* @summary List Reviews
|
|
4017
|
+
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
4018
|
+
* @param {*} [options] Override http request option.
|
|
4019
|
+
* @throws {RequiredError}
|
|
4020
|
+
*/
|
|
4021
|
+
listReviews(requestParameters: ReviewsApiListReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReviewsResponse>;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @summary Moderate review
|
|
4025
|
+
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
*/
|
|
4029
|
+
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
|
|
4030
|
+
};
|
|
4031
|
+
/**
|
|
4032
|
+
* Request parameters for getReview operation in ReviewsApi.
|
|
4033
|
+
* @export
|
|
4034
|
+
* @interface ReviewsApiGetReviewRequest
|
|
4035
|
+
*/
|
|
4036
|
+
export interface ReviewsApiGetReviewRequest {
|
|
4037
|
+
/**
|
|
4038
|
+
* What project it is
|
|
4039
|
+
* @type {string}
|
|
4040
|
+
* @memberof ReviewsApiGetReview
|
|
4041
|
+
*/
|
|
4042
|
+
readonly project: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* Review\'s unique identifier
|
|
4045
|
+
* @type {string}
|
|
4046
|
+
* @memberof ReviewsApiGetReview
|
|
4047
|
+
*/
|
|
4048
|
+
readonly reviewId: string;
|
|
4049
|
+
}
|
|
4050
|
+
/**
|
|
4051
|
+
* Request parameters for listReviews operation in ReviewsApi.
|
|
4052
|
+
* @export
|
|
4053
|
+
* @interface ReviewsApiListReviewsRequest
|
|
4054
|
+
*/
|
|
4055
|
+
export interface ReviewsApiListReviewsRequest {
|
|
4056
|
+
/**
|
|
4057
|
+
* What project it is
|
|
4058
|
+
* @type {string}
|
|
4059
|
+
* @memberof ReviewsApiListReviews
|
|
4060
|
+
*/
|
|
4061
|
+
readonly project: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* Page reference token
|
|
4064
|
+
* @type {number}
|
|
4065
|
+
* @memberof ReviewsApiListReviews
|
|
4066
|
+
*/
|
|
4067
|
+
readonly pageToken?: number;
|
|
4068
|
+
/**
|
|
4069
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4070
|
+
* @type {number}
|
|
4071
|
+
* @memberof ReviewsApiListReviews
|
|
4072
|
+
*/
|
|
4073
|
+
readonly pageSize?: number;
|
|
4074
|
+
/**
|
|
4075
|
+
* Search term to filter results
|
|
4076
|
+
* @type {string}
|
|
4077
|
+
* @memberof ReviewsApiListReviews
|
|
4078
|
+
*/
|
|
4079
|
+
readonly search?: string;
|
|
4080
|
+
}
|
|
4081
|
+
/**
|
|
4082
|
+
* Request parameters for moderateReview operation in ReviewsApi.
|
|
4083
|
+
* @export
|
|
4084
|
+
* @interface ReviewsApiModerateReviewRequest
|
|
4085
|
+
*/
|
|
4086
|
+
export interface ReviewsApiModerateReviewRequest {
|
|
4087
|
+
/**
|
|
4088
|
+
* What project it is
|
|
4089
|
+
* @type {string}
|
|
4090
|
+
* @memberof ReviewsApiModerateReview
|
|
4091
|
+
*/
|
|
4092
|
+
readonly project: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* Review\'s unique identifier
|
|
4095
|
+
* @type {string}
|
|
4096
|
+
* @memberof ReviewsApiModerateReview
|
|
4097
|
+
*/
|
|
4098
|
+
readonly reviewId: string;
|
|
4099
|
+
/**
|
|
4100
|
+
*
|
|
4101
|
+
* @type {ModerateReviewRequest}
|
|
4102
|
+
* @memberof ReviewsApiModerateReview
|
|
4103
|
+
*/
|
|
4104
|
+
readonly moderateReviewRequest?: ModerateReviewRequest;
|
|
4105
|
+
}
|
|
4106
|
+
/**
|
|
4107
|
+
* ReviewsApi - object-oriented interface
|
|
4108
|
+
* @export
|
|
4109
|
+
* @class ReviewsApi
|
|
4110
|
+
* @extends {BaseAPI}
|
|
4111
|
+
*/
|
|
4112
|
+
export declare class ReviewsApi extends BaseAPI {
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @summary Get review
|
|
4116
|
+
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
4117
|
+
* @param {*} [options] Override http request option.
|
|
4118
|
+
* @throws {RequiredError}
|
|
4119
|
+
* @memberof ReviewsApi
|
|
4120
|
+
*/
|
|
4121
|
+
getReview(requestParameters: ReviewsApiGetReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
|
|
4122
|
+
/**
|
|
4123
|
+
*
|
|
4124
|
+
* @summary List Reviews
|
|
4125
|
+
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
4126
|
+
* @param {*} [options] Override http request option.
|
|
4127
|
+
* @throws {RequiredError}
|
|
4128
|
+
* @memberof ReviewsApi
|
|
4129
|
+
*/
|
|
4130
|
+
listReviews(requestParameters: ReviewsApiListReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReviewsResponse, any>>;
|
|
4131
|
+
/**
|
|
4132
|
+
*
|
|
4133
|
+
* @summary Moderate review
|
|
4134
|
+
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
4135
|
+
* @param {*} [options] Override http request option.
|
|
4136
|
+
* @throws {RequiredError}
|
|
4137
|
+
* @memberof ReviewsApi
|
|
4138
|
+
*/
|
|
4139
|
+
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
|
|
4140
|
+
}
|
|
3754
4141
|
/**
|
|
3755
4142
|
* RoutesApi - axios parameter creator
|
|
3756
4143
|
* @export
|