@teemill/platform 0.15.0 → 0.16.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 +94 -2
- package/api.ts +819 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +540 -4
- package/dist/api.js +418 -4
- 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 +540 -4
- package/dist/esm/api.js +413 -3
- 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/docs/Address.md +35 -0
- package/docs/ApiError.md +22 -0
- package/docs/AuthorizeStripe200Response.md +20 -0
- package/docs/ContactInformation.md +23 -0
- package/docs/Customer.md +33 -0
- package/docs/CustomersApi.md +229 -0
- package/docs/CustomersResponse.md +22 -0
- package/docs/DeliveryEstimates.md +22 -0
- package/docs/ExportOrders202Response.md +20 -0
- package/docs/Fulfiller.md +23 -0
- package/docs/FulfillerLocation.md +22 -0
- package/docs/FulfillersResponse.md +22 -0
- package/docs/Fulfillment.md +34 -0
- package/docs/FulfillmentItem.md +24 -0
- package/docs/Image.md +27 -0
- package/docs/ModerateReviewRequest.md +20 -0
- package/docs/Option.md +22 -0
- package/docs/Order.md +54 -0
- package/docs/OrderItem.md +42 -0
- package/docs/OrderStatus.md +16 -0
- package/docs/OrderTracking.md +24 -0
- package/docs/OrdersApi.md +410 -0
- package/docs/OrdersResponse.md +22 -0
- package/docs/Origin.md +22 -0
- package/docs/PaymentAccount.md +24 -0
- package/docs/PaymentApi.md +178 -0
- package/docs/Platform.md +38 -0
- package/docs/PlatformApi.md +122 -0
- package/docs/PlatformLogo.md +22 -0
- package/docs/Price.md +23 -0
- package/docs/Project.md +22 -0
- package/docs/Review.md +40 -0
- package/docs/ReviewAuthor.md +22 -0
- package/docs/ReviewImagesInner.md +22 -0
- package/docs/ReviewProduct.md +23 -0
- package/docs/ReviewReply.md +26 -0
- package/docs/ReviewReplyAuthor.md +20 -0
- package/docs/ReviewsApi.md +278 -0
- package/docs/ReviewsResponse.md +22 -0
- package/docs/ShippingMethod.md +34 -0
- package/docs/Statistics.md +24 -0
- package/docs/StatusHistoryItem.md +22 -0
- package/docs/UpdateFulfillmentRequest.md +20 -0
- package/docs/UpdatePlatformRequest.md +32 -0
- package/docs/ValidationError.md +20 -0
- package/docs/Variant.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -387,6 +387,19 @@ export interface Image {
|
|
|
387
387
|
*/
|
|
388
388
|
'sortOrder'?: number;
|
|
389
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @export
|
|
393
|
+
* @interface ModerateReviewRequest
|
|
394
|
+
*/
|
|
395
|
+
export interface ModerateReviewRequest {
|
|
396
|
+
/**
|
|
397
|
+
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
398
|
+
* @type {boolean}
|
|
399
|
+
* @memberof ModerateReviewRequest
|
|
400
|
+
*/
|
|
401
|
+
'enabled'?: boolean;
|
|
402
|
+
}
|
|
390
403
|
/**
|
|
391
404
|
*
|
|
392
405
|
* @export
|
|
@@ -834,6 +847,199 @@ export interface Project {
|
|
|
834
847
|
*/
|
|
835
848
|
'name': string;
|
|
836
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
*
|
|
852
|
+
* @export
|
|
853
|
+
* @interface Review
|
|
854
|
+
*/
|
|
855
|
+
export interface Review {
|
|
856
|
+
/**
|
|
857
|
+
* Unique object identifier
|
|
858
|
+
* @type {string}
|
|
859
|
+
* @memberof Review
|
|
860
|
+
*/
|
|
861
|
+
'id': string;
|
|
862
|
+
/**
|
|
863
|
+
* Text content of the review
|
|
864
|
+
* @type {string}
|
|
865
|
+
* @memberof Review
|
|
866
|
+
*/
|
|
867
|
+
'text': string;
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @type {ReviewProduct}
|
|
871
|
+
* @memberof Review
|
|
872
|
+
*/
|
|
873
|
+
'product'?: ReviewProduct;
|
|
874
|
+
/**
|
|
875
|
+
*
|
|
876
|
+
* @type {ReviewAuthor}
|
|
877
|
+
* @memberof Review
|
|
878
|
+
*/
|
|
879
|
+
'author'?: ReviewAuthor;
|
|
880
|
+
/**
|
|
881
|
+
* Rating of the review
|
|
882
|
+
* @type {number}
|
|
883
|
+
* @memberof Review
|
|
884
|
+
*/
|
|
885
|
+
'rating'?: number;
|
|
886
|
+
/**
|
|
887
|
+
* Google\'s sentiment analysis score
|
|
888
|
+
* @type {number}
|
|
889
|
+
* @memberof Review
|
|
890
|
+
*/
|
|
891
|
+
'sentiment'?: number;
|
|
892
|
+
/**
|
|
893
|
+
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
894
|
+
* @type {boolean}
|
|
895
|
+
* @memberof Review
|
|
896
|
+
*/
|
|
897
|
+
'enabled': boolean;
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {string}
|
|
901
|
+
* @memberof Review
|
|
902
|
+
*/
|
|
903
|
+
'createdAt'?: string;
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @type {Project}
|
|
907
|
+
* @memberof Review
|
|
908
|
+
*/
|
|
909
|
+
'project': Project;
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {Array<ReviewImagesInner>}
|
|
913
|
+
* @memberof Review
|
|
914
|
+
*/
|
|
915
|
+
'images'?: Array<ReviewImagesInner>;
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @type {Array<ReviewReply>}
|
|
919
|
+
* @memberof Review
|
|
920
|
+
*/
|
|
921
|
+
'replies'?: Array<ReviewReply>;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @export
|
|
926
|
+
* @interface ReviewAuthor
|
|
927
|
+
*/
|
|
928
|
+
export interface ReviewAuthor {
|
|
929
|
+
/**
|
|
930
|
+
* Name of the review\'s author
|
|
931
|
+
* @type {string}
|
|
932
|
+
* @memberof ReviewAuthor
|
|
933
|
+
*/
|
|
934
|
+
'name'?: string;
|
|
935
|
+
/**
|
|
936
|
+
* Email of the review\'s author
|
|
937
|
+
* @type {string}
|
|
938
|
+
* @memberof ReviewAuthor
|
|
939
|
+
*/
|
|
940
|
+
'email'?: string;
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
*
|
|
944
|
+
* @export
|
|
945
|
+
* @interface ReviewImagesInner
|
|
946
|
+
*/
|
|
947
|
+
export interface ReviewImagesInner {
|
|
948
|
+
/**
|
|
949
|
+
* URL of the image
|
|
950
|
+
* @type {string}
|
|
951
|
+
* @memberof ReviewImagesInner
|
|
952
|
+
*/
|
|
953
|
+
'src'?: string;
|
|
954
|
+
/**
|
|
955
|
+
* Alternative text for the image
|
|
956
|
+
* @type {string}
|
|
957
|
+
* @memberof ReviewImagesInner
|
|
958
|
+
*/
|
|
959
|
+
'alt'?: string;
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* The product that the review is for
|
|
963
|
+
* @export
|
|
964
|
+
* @interface ReviewProduct
|
|
965
|
+
*/
|
|
966
|
+
export interface ReviewProduct {
|
|
967
|
+
/**
|
|
968
|
+
* Unique object identifier
|
|
969
|
+
* @type {string}
|
|
970
|
+
* @memberof ReviewProduct
|
|
971
|
+
*/
|
|
972
|
+
'id'?: string;
|
|
973
|
+
/**
|
|
974
|
+
* The title of the product
|
|
975
|
+
* @type {string}
|
|
976
|
+
* @memberof ReviewProduct
|
|
977
|
+
*/
|
|
978
|
+
'title'?: string;
|
|
979
|
+
}
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @export
|
|
983
|
+
* @interface ReviewReply
|
|
984
|
+
*/
|
|
985
|
+
export interface ReviewReply {
|
|
986
|
+
/**
|
|
987
|
+
* Unique object identifier
|
|
988
|
+
* @type {string}
|
|
989
|
+
* @memberof ReviewReply
|
|
990
|
+
*/
|
|
991
|
+
'id': string;
|
|
992
|
+
/**
|
|
993
|
+
* Text content of the reply
|
|
994
|
+
* @type {string}
|
|
995
|
+
* @memberof ReviewReply
|
|
996
|
+
*/
|
|
997
|
+
'text': string;
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @type {ReviewReplyAuthor}
|
|
1001
|
+
* @memberof ReviewReply
|
|
1002
|
+
*/
|
|
1003
|
+
'author'?: ReviewReplyAuthor;
|
|
1004
|
+
/**
|
|
1005
|
+
*
|
|
1006
|
+
* @type {string}
|
|
1007
|
+
* @memberof ReviewReply
|
|
1008
|
+
*/
|
|
1009
|
+
'createdAt'?: string;
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @export
|
|
1014
|
+
* @interface ReviewReplyAuthor
|
|
1015
|
+
*/
|
|
1016
|
+
export interface ReviewReplyAuthor {
|
|
1017
|
+
/**
|
|
1018
|
+
* Name of the reply\'s author
|
|
1019
|
+
* @type {string}
|
|
1020
|
+
* @memberof ReviewReplyAuthor
|
|
1021
|
+
*/
|
|
1022
|
+
'name'?: string;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @export
|
|
1027
|
+
* @interface ReviewsResponse
|
|
1028
|
+
*/
|
|
1029
|
+
export interface ReviewsResponse {
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {Array<Review>}
|
|
1033
|
+
* @memberof ReviewsResponse
|
|
1034
|
+
*/
|
|
1035
|
+
'reviews'?: Array<Review>;
|
|
1036
|
+
/**
|
|
1037
|
+
* The token referencing the next page number
|
|
1038
|
+
* @type {number}
|
|
1039
|
+
* @memberof ReviewsResponse
|
|
1040
|
+
*/
|
|
1041
|
+
'nextPageToken'?: number | null;
|
|
1042
|
+
}
|
|
837
1043
|
/**
|
|
838
1044
|
*
|
|
839
1045
|
* @export
|
|
@@ -1069,7 +1275,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1069
1275
|
* @param {string} platformId The platform identifier
|
|
1070
1276
|
* @param {number} [pageToken] Page reference token
|
|
1071
1277
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1072
|
-
* @param {string} [search] Search term to filter
|
|
1278
|
+
* @param {string} [search] Search term to filter results
|
|
1073
1279
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1074
1280
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1075
1281
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
@@ -1116,7 +1322,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1116
1322
|
* @param {string} platformId The platform identifier
|
|
1117
1323
|
* @param {number} [pageToken] Page reference token
|
|
1118
1324
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1119
|
-
* @param {string} [search] Search term to filter
|
|
1325
|
+
* @param {string} [search] Search term to filter results
|
|
1120
1326
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1121
1327
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1122
1328
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
@@ -1262,7 +1468,7 @@ export interface CustomersApiListCustomersRequest {
|
|
|
1262
1468
|
*/
|
|
1263
1469
|
readonly pageSize?: number;
|
|
1264
1470
|
/**
|
|
1265
|
-
* Search term to filter
|
|
1471
|
+
* Search term to filter results
|
|
1266
1472
|
* @type {string}
|
|
1267
1473
|
* @memberof CustomersApiListCustomers
|
|
1268
1474
|
*/
|
|
@@ -2118,3 +2324,333 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
2118
2324
|
*/
|
|
2119
2325
|
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
|
|
2120
2326
|
}
|
|
2327
|
+
/**
|
|
2328
|
+
* ReviewsApi - axios parameter creator
|
|
2329
|
+
* @export
|
|
2330
|
+
*/
|
|
2331
|
+
export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2332
|
+
/**
|
|
2333
|
+
* Export reviews as a CSV file.
|
|
2334
|
+
* @summary Export reviews
|
|
2335
|
+
* @param {string} project Project unique identifier
|
|
2336
|
+
* @param {string} platformId The platform identifier
|
|
2337
|
+
* @param {string} start Start of date range to filter by
|
|
2338
|
+
* @param {string} [end] End of date range to filter by
|
|
2339
|
+
* @param {*} [options] Override http request option.
|
|
2340
|
+
* @throws {RequiredError}
|
|
2341
|
+
*/
|
|
2342
|
+
exportReviews: (project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2343
|
+
/**
|
|
2344
|
+
* Get a review left on a platform by a given review ID.
|
|
2345
|
+
* @summary Get review
|
|
2346
|
+
* @param {string} project Project unique identifier
|
|
2347
|
+
* @param {string} platformId The platform identifier
|
|
2348
|
+
* @param {string} reviewId The review identifier
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
*/
|
|
2352
|
+
getReview: (project: string, platformId: string, reviewId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2353
|
+
/**
|
|
2354
|
+
* List reviews left on projects belonging to this platform, paginated into configurable chunks.
|
|
2355
|
+
* @summary List reviews
|
|
2356
|
+
* @param {string} project Project unique identifier
|
|
2357
|
+
* @param {string} platformId The platform identifier
|
|
2358
|
+
* @param {number} [pageToken] Page reference token
|
|
2359
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2360
|
+
* @param {string} [search] Search term to filter results
|
|
2361
|
+
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2362
|
+
* @param {string} [start] Start of date range to filter by
|
|
2363
|
+
* @param {string} [end] End of date range to filter by
|
|
2364
|
+
* @param {*} [options] Override http request option.
|
|
2365
|
+
* @throws {RequiredError}
|
|
2366
|
+
*/
|
|
2367
|
+
listReviews: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2368
|
+
/**
|
|
2369
|
+
* Moderate a review left on a platform.
|
|
2370
|
+
* @summary Moderate review
|
|
2371
|
+
* @param {string} project Project unique identifier
|
|
2372
|
+
* @param {string} platformId The platform identifier
|
|
2373
|
+
* @param {string} reviewId The review identifier
|
|
2374
|
+
* @param {ModerateReviewRequest} [moderateReviewRequest]
|
|
2375
|
+
* @param {*} [options] Override http request option.
|
|
2376
|
+
* @throws {RequiredError}
|
|
2377
|
+
*/
|
|
2378
|
+
moderateReview: (project: string, platformId: string, reviewId: string, moderateReviewRequest?: ModerateReviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2379
|
+
};
|
|
2380
|
+
/**
|
|
2381
|
+
* ReviewsApi - functional programming interface
|
|
2382
|
+
* @export
|
|
2383
|
+
*/
|
|
2384
|
+
export declare const ReviewsApiFp: (configuration?: Configuration) => {
|
|
2385
|
+
/**
|
|
2386
|
+
* Export reviews as a CSV file.
|
|
2387
|
+
* @summary Export reviews
|
|
2388
|
+
* @param {string} project Project unique identifier
|
|
2389
|
+
* @param {string} platformId The platform identifier
|
|
2390
|
+
* @param {string} start Start of date range to filter by
|
|
2391
|
+
* @param {string} [end] End of date range to filter by
|
|
2392
|
+
* @param {*} [options] Override http request option.
|
|
2393
|
+
* @throws {RequiredError}
|
|
2394
|
+
*/
|
|
2395
|
+
exportReviews(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
2396
|
+
/**
|
|
2397
|
+
* Get a review left on a platform by a given review ID.
|
|
2398
|
+
* @summary Get review
|
|
2399
|
+
* @param {string} project Project unique identifier
|
|
2400
|
+
* @param {string} platformId The platform identifier
|
|
2401
|
+
* @param {string} reviewId The review identifier
|
|
2402
|
+
* @param {*} [options] Override http request option.
|
|
2403
|
+
* @throws {RequiredError}
|
|
2404
|
+
*/
|
|
2405
|
+
getReview(project: string, platformId: string, reviewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Review>>;
|
|
2406
|
+
/**
|
|
2407
|
+
* List reviews left on projects belonging to this platform, paginated into configurable chunks.
|
|
2408
|
+
* @summary List reviews
|
|
2409
|
+
* @param {string} project Project unique identifier
|
|
2410
|
+
* @param {string} platformId The platform identifier
|
|
2411
|
+
* @param {number} [pageToken] Page reference token
|
|
2412
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2413
|
+
* @param {string} [search] Search term to filter results
|
|
2414
|
+
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2415
|
+
* @param {string} [start] Start of date range to filter by
|
|
2416
|
+
* @param {string} [end] End of date range to filter by
|
|
2417
|
+
* @param {*} [options] Override http request option.
|
|
2418
|
+
* @throws {RequiredError}
|
|
2419
|
+
*/
|
|
2420
|
+
listReviews(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Moderate a review left on a platform.
|
|
2423
|
+
* @summary Moderate review
|
|
2424
|
+
* @param {string} project Project unique identifier
|
|
2425
|
+
* @param {string} platformId The platform identifier
|
|
2426
|
+
* @param {string} reviewId The review identifier
|
|
2427
|
+
* @param {ModerateReviewRequest} [moderateReviewRequest]
|
|
2428
|
+
* @param {*} [options] Override http request option.
|
|
2429
|
+
* @throws {RequiredError}
|
|
2430
|
+
*/
|
|
2431
|
+
moderateReview(project: string, platformId: string, reviewId: string, moderateReviewRequest?: ModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Review>>;
|
|
2432
|
+
};
|
|
2433
|
+
/**
|
|
2434
|
+
* ReviewsApi - factory interface
|
|
2435
|
+
* @export
|
|
2436
|
+
*/
|
|
2437
|
+
export declare const ReviewsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2438
|
+
/**
|
|
2439
|
+
* Export reviews as a CSV file.
|
|
2440
|
+
* @summary Export reviews
|
|
2441
|
+
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
2442
|
+
* @param {*} [options] Override http request option.
|
|
2443
|
+
* @throws {RequiredError}
|
|
2444
|
+
*/
|
|
2445
|
+
exportReviews(requestParameters: ReviewsApiExportReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2446
|
+
/**
|
|
2447
|
+
* Get a review left on a platform by a given review ID.
|
|
2448
|
+
* @summary Get review
|
|
2449
|
+
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
2450
|
+
* @param {*} [options] Override http request option.
|
|
2451
|
+
* @throws {RequiredError}
|
|
2452
|
+
*/
|
|
2453
|
+
getReview(requestParameters: ReviewsApiGetReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
|
|
2454
|
+
/**
|
|
2455
|
+
* List reviews left on projects belonging to this platform, paginated into configurable chunks.
|
|
2456
|
+
* @summary List reviews
|
|
2457
|
+
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
*/
|
|
2461
|
+
listReviews(requestParameters: ReviewsApiListReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReviewsResponse>;
|
|
2462
|
+
/**
|
|
2463
|
+
* Moderate a review left on a platform.
|
|
2464
|
+
* @summary Moderate review
|
|
2465
|
+
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
2466
|
+
* @param {*} [options] Override http request option.
|
|
2467
|
+
* @throws {RequiredError}
|
|
2468
|
+
*/
|
|
2469
|
+
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
|
|
2470
|
+
};
|
|
2471
|
+
/**
|
|
2472
|
+
* Request parameters for exportReviews operation in ReviewsApi.
|
|
2473
|
+
* @export
|
|
2474
|
+
* @interface ReviewsApiExportReviewsRequest
|
|
2475
|
+
*/
|
|
2476
|
+
export interface ReviewsApiExportReviewsRequest {
|
|
2477
|
+
/**
|
|
2478
|
+
* Project unique identifier
|
|
2479
|
+
* @type {string}
|
|
2480
|
+
* @memberof ReviewsApiExportReviews
|
|
2481
|
+
*/
|
|
2482
|
+
readonly project: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* The platform identifier
|
|
2485
|
+
* @type {string}
|
|
2486
|
+
* @memberof ReviewsApiExportReviews
|
|
2487
|
+
*/
|
|
2488
|
+
readonly platformId: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* Start of date range to filter by
|
|
2491
|
+
* @type {string}
|
|
2492
|
+
* @memberof ReviewsApiExportReviews
|
|
2493
|
+
*/
|
|
2494
|
+
readonly start: string;
|
|
2495
|
+
/**
|
|
2496
|
+
* End of date range to filter by
|
|
2497
|
+
* @type {string}
|
|
2498
|
+
* @memberof ReviewsApiExportReviews
|
|
2499
|
+
*/
|
|
2500
|
+
readonly end?: string;
|
|
2501
|
+
}
|
|
2502
|
+
/**
|
|
2503
|
+
* Request parameters for getReview operation in ReviewsApi.
|
|
2504
|
+
* @export
|
|
2505
|
+
* @interface ReviewsApiGetReviewRequest
|
|
2506
|
+
*/
|
|
2507
|
+
export interface ReviewsApiGetReviewRequest {
|
|
2508
|
+
/**
|
|
2509
|
+
* Project unique identifier
|
|
2510
|
+
* @type {string}
|
|
2511
|
+
* @memberof ReviewsApiGetReview
|
|
2512
|
+
*/
|
|
2513
|
+
readonly project: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* The platform identifier
|
|
2516
|
+
* @type {string}
|
|
2517
|
+
* @memberof ReviewsApiGetReview
|
|
2518
|
+
*/
|
|
2519
|
+
readonly platformId: string;
|
|
2520
|
+
/**
|
|
2521
|
+
* The review identifier
|
|
2522
|
+
* @type {string}
|
|
2523
|
+
* @memberof ReviewsApiGetReview
|
|
2524
|
+
*/
|
|
2525
|
+
readonly reviewId: string;
|
|
2526
|
+
}
|
|
2527
|
+
/**
|
|
2528
|
+
* Request parameters for listReviews operation in ReviewsApi.
|
|
2529
|
+
* @export
|
|
2530
|
+
* @interface ReviewsApiListReviewsRequest
|
|
2531
|
+
*/
|
|
2532
|
+
export interface ReviewsApiListReviewsRequest {
|
|
2533
|
+
/**
|
|
2534
|
+
* Project unique identifier
|
|
2535
|
+
* @type {string}
|
|
2536
|
+
* @memberof ReviewsApiListReviews
|
|
2537
|
+
*/
|
|
2538
|
+
readonly project: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* The platform identifier
|
|
2541
|
+
* @type {string}
|
|
2542
|
+
* @memberof ReviewsApiListReviews
|
|
2543
|
+
*/
|
|
2544
|
+
readonly platformId: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Page reference token
|
|
2547
|
+
* @type {number}
|
|
2548
|
+
* @memberof ReviewsApiListReviews
|
|
2549
|
+
*/
|
|
2550
|
+
readonly pageToken?: number;
|
|
2551
|
+
/**
|
|
2552
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2553
|
+
* @type {number}
|
|
2554
|
+
* @memberof ReviewsApiListReviews
|
|
2555
|
+
*/
|
|
2556
|
+
readonly pageSize?: number;
|
|
2557
|
+
/**
|
|
2558
|
+
* Search term to filter results
|
|
2559
|
+
* @type {string}
|
|
2560
|
+
* @memberof ReviewsApiListReviews
|
|
2561
|
+
*/
|
|
2562
|
+
readonly search?: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2565
|
+
* @type {Array<string>}
|
|
2566
|
+
* @memberof ReviewsApiListReviews
|
|
2567
|
+
*/
|
|
2568
|
+
readonly sortBy?: Array<string>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Start of date range to filter by
|
|
2571
|
+
* @type {string}
|
|
2572
|
+
* @memberof ReviewsApiListReviews
|
|
2573
|
+
*/
|
|
2574
|
+
readonly start?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* End of date range to filter by
|
|
2577
|
+
* @type {string}
|
|
2578
|
+
* @memberof ReviewsApiListReviews
|
|
2579
|
+
*/
|
|
2580
|
+
readonly end?: string;
|
|
2581
|
+
}
|
|
2582
|
+
/**
|
|
2583
|
+
* Request parameters for moderateReview operation in ReviewsApi.
|
|
2584
|
+
* @export
|
|
2585
|
+
* @interface ReviewsApiModerateReviewRequest
|
|
2586
|
+
*/
|
|
2587
|
+
export interface ReviewsApiModerateReviewRequest {
|
|
2588
|
+
/**
|
|
2589
|
+
* Project unique identifier
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof ReviewsApiModerateReview
|
|
2592
|
+
*/
|
|
2593
|
+
readonly project: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* The platform identifier
|
|
2596
|
+
* @type {string}
|
|
2597
|
+
* @memberof ReviewsApiModerateReview
|
|
2598
|
+
*/
|
|
2599
|
+
readonly platformId: string;
|
|
2600
|
+
/**
|
|
2601
|
+
* The review identifier
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof ReviewsApiModerateReview
|
|
2604
|
+
*/
|
|
2605
|
+
readonly reviewId: string;
|
|
2606
|
+
/**
|
|
2607
|
+
*
|
|
2608
|
+
* @type {ModerateReviewRequest}
|
|
2609
|
+
* @memberof ReviewsApiModerateReview
|
|
2610
|
+
*/
|
|
2611
|
+
readonly moderateReviewRequest?: ModerateReviewRequest;
|
|
2612
|
+
}
|
|
2613
|
+
/**
|
|
2614
|
+
* ReviewsApi - object-oriented interface
|
|
2615
|
+
* @export
|
|
2616
|
+
* @class ReviewsApi
|
|
2617
|
+
* @extends {BaseAPI}
|
|
2618
|
+
*/
|
|
2619
|
+
export declare class ReviewsApi extends BaseAPI {
|
|
2620
|
+
/**
|
|
2621
|
+
* Export reviews as a CSV file.
|
|
2622
|
+
* @summary Export reviews
|
|
2623
|
+
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
2624
|
+
* @param {*} [options] Override http request option.
|
|
2625
|
+
* @throws {RequiredError}
|
|
2626
|
+
* @memberof ReviewsApi
|
|
2627
|
+
*/
|
|
2628
|
+
exportReviews(requestParameters: ReviewsApiExportReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Get a review left on a platform by a given review ID.
|
|
2631
|
+
* @summary Get review
|
|
2632
|
+
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
2633
|
+
* @param {*} [options] Override http request option.
|
|
2634
|
+
* @throws {RequiredError}
|
|
2635
|
+
* @memberof ReviewsApi
|
|
2636
|
+
*/
|
|
2637
|
+
getReview(requestParameters: ReviewsApiGetReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
|
|
2638
|
+
/**
|
|
2639
|
+
* List reviews left on projects belonging to this platform, paginated into configurable chunks.
|
|
2640
|
+
* @summary List reviews
|
|
2641
|
+
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
2642
|
+
* @param {*} [options] Override http request option.
|
|
2643
|
+
* @throws {RequiredError}
|
|
2644
|
+
* @memberof ReviewsApi
|
|
2645
|
+
*/
|
|
2646
|
+
listReviews(requestParameters: ReviewsApiListReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReviewsResponse, any>>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Moderate a review left on a platform.
|
|
2649
|
+
* @summary Moderate review
|
|
2650
|
+
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
2651
|
+
* @param {*} [options] Override http request option.
|
|
2652
|
+
* @throws {RequiredError}
|
|
2653
|
+
* @memberof ReviewsApi
|
|
2654
|
+
*/
|
|
2655
|
+
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
|
|
2656
|
+
}
|