@teemill/platform 0.30.5 → 0.32.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 +15 -2
- package/api.ts +787 -85
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +489 -2
- package/dist/api.js +324 -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 +489 -2
- package/dist/esm/api.js +319 -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/docs/AmendmentLog.md +30 -0
- package/docs/BulkCreateReviewPayload.md +20 -0
- package/docs/BulkCreatedReviews.md +20 -0
- package/docs/CreateReview201Response.md +42 -0
- package/docs/CreateReviewPayload.md +34 -0
- package/docs/CreateReviewPayloadAuthor.md +22 -0
- package/docs/CreateReviewRequest.md +36 -0
- package/docs/DashboardApi.md +127 -0
- package/docs/DashboardItem.md +30 -0
- package/docs/GetDashboardResponse.md +20 -0
- package/docs/OrderItem.md +2 -0
- package/docs/ReviewsApi.md +81 -0
- package/docs/SaveDashboardRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/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.32.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -117,6 +117,54 @@ export declare const AmendOrderRequestAmendmentsInnerActionEnum: {
|
|
|
117
117
|
readonly Exchange: "exchange";
|
|
118
118
|
};
|
|
119
119
|
export type AmendOrderRequestAmendmentsInnerActionEnum = typeof AmendOrderRequestAmendmentsInnerActionEnum[keyof typeof AmendOrderRequestAmendmentsInnerActionEnum];
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @export
|
|
123
|
+
* @interface AmendmentLog
|
|
124
|
+
*/
|
|
125
|
+
export interface AmendmentLog {
|
|
126
|
+
/**
|
|
127
|
+
* Unique object identifier
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof AmendmentLog
|
|
130
|
+
*/
|
|
131
|
+
'id': string;
|
|
132
|
+
/**
|
|
133
|
+
* A reference to the order item that was amended.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof AmendmentLog
|
|
136
|
+
*/
|
|
137
|
+
'orderItemId': string;
|
|
138
|
+
/**
|
|
139
|
+
* A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example.
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof AmendmentLog
|
|
142
|
+
*/
|
|
143
|
+
'originalOrderItemId': string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof AmendmentLog
|
|
148
|
+
*/
|
|
149
|
+
'amendmentType': AmendmentLogAmendmentTypeEnum;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {number}
|
|
153
|
+
* @memberof AmendmentLog
|
|
154
|
+
*/
|
|
155
|
+
'quantity': number;
|
|
156
|
+
/**
|
|
157
|
+
* ISO 8601 Timestamp
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof AmendmentLog
|
|
160
|
+
*/
|
|
161
|
+
'createdAt': string;
|
|
162
|
+
}
|
|
163
|
+
export declare const AmendmentLogAmendmentTypeEnum: {
|
|
164
|
+
readonly Refund: "refund";
|
|
165
|
+
readonly Exchange: "exchange";
|
|
166
|
+
};
|
|
167
|
+
export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
|
|
120
168
|
/**
|
|
121
169
|
*
|
|
122
170
|
* @export
|
|
@@ -136,6 +184,32 @@ export interface ApiError {
|
|
|
136
184
|
*/
|
|
137
185
|
'message': string;
|
|
138
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @export
|
|
190
|
+
* @interface BulkCreateReviewPayload
|
|
191
|
+
*/
|
|
192
|
+
export interface BulkCreateReviewPayload {
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {Array<CreateReviewPayload>}
|
|
196
|
+
* @memberof BulkCreateReviewPayload
|
|
197
|
+
*/
|
|
198
|
+
'reviews': Array<CreateReviewPayload>;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @export
|
|
203
|
+
* @interface BulkCreatedReviews
|
|
204
|
+
*/
|
|
205
|
+
export interface BulkCreatedReviews {
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {Array<Review>}
|
|
209
|
+
* @memberof BulkCreatedReviews
|
|
210
|
+
*/
|
|
211
|
+
'reviews': Array<Review>;
|
|
212
|
+
}
|
|
139
213
|
/**
|
|
140
214
|
*
|
|
141
215
|
* @export
|
|
@@ -344,6 +418,90 @@ export interface CreateOrderContactInformation {
|
|
|
344
418
|
*/
|
|
345
419
|
'phone'?: string | null;
|
|
346
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* @type CreateReview201Response
|
|
423
|
+
* @export
|
|
424
|
+
*/
|
|
425
|
+
export type CreateReview201Response = BulkCreatedReviews | Review;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @export
|
|
429
|
+
* @interface CreateReviewPayload
|
|
430
|
+
*/
|
|
431
|
+
export interface CreateReviewPayload {
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {CreateReviewPayloadAuthor}
|
|
435
|
+
* @memberof CreateReviewPayload
|
|
436
|
+
*/
|
|
437
|
+
'author': CreateReviewPayloadAuthor;
|
|
438
|
+
/**
|
|
439
|
+
* The title of the review
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof CreateReviewPayload
|
|
442
|
+
*/
|
|
443
|
+
'title'?: string;
|
|
444
|
+
/**
|
|
445
|
+
* The text of the review
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof CreateReviewPayload
|
|
448
|
+
*/
|
|
449
|
+
'text': string;
|
|
450
|
+
/**
|
|
451
|
+
* A reference to the product being ordered
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof CreateReviewPayload
|
|
454
|
+
*/
|
|
455
|
+
'productRef': string;
|
|
456
|
+
/**
|
|
457
|
+
* The rating of the review
|
|
458
|
+
* @type {number}
|
|
459
|
+
* @memberof CreateReviewPayload
|
|
460
|
+
*/
|
|
461
|
+
'rating': number;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @type {Array<Image>}
|
|
465
|
+
* @memberof CreateReviewPayload
|
|
466
|
+
*/
|
|
467
|
+
'images'?: Array<Image>;
|
|
468
|
+
/**
|
|
469
|
+
* Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public.
|
|
470
|
+
* @type {boolean}
|
|
471
|
+
* @memberof CreateReviewPayload
|
|
472
|
+
*/
|
|
473
|
+
'enabled': boolean;
|
|
474
|
+
/**
|
|
475
|
+
* A reference to the project being ordered
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof CreateReviewPayload
|
|
478
|
+
*/
|
|
479
|
+
'projectRef': string;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @export
|
|
484
|
+
* @interface CreateReviewPayloadAuthor
|
|
485
|
+
*/
|
|
486
|
+
export interface CreateReviewPayloadAuthor {
|
|
487
|
+
/**
|
|
488
|
+
* The name of the author
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof CreateReviewPayloadAuthor
|
|
491
|
+
*/
|
|
492
|
+
'name'?: string;
|
|
493
|
+
/**
|
|
494
|
+
* The email of the author
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof CreateReviewPayloadAuthor
|
|
497
|
+
*/
|
|
498
|
+
'email'?: string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @type CreateReviewRequest
|
|
502
|
+
* @export
|
|
503
|
+
*/
|
|
504
|
+
export type CreateReviewRequest = BulkCreateReviewPayload | CreateReviewPayload;
|
|
347
505
|
/**
|
|
348
506
|
* The customer that has placed an order on your platform
|
|
349
507
|
* @export
|
|
@@ -447,6 +605,51 @@ export declare const CustomsInformationPreRegistrationTypeEnum: {
|
|
|
447
605
|
readonly Ioss: "IOSS";
|
|
448
606
|
};
|
|
449
607
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @export
|
|
611
|
+
* @interface DashboardItem
|
|
612
|
+
*/
|
|
613
|
+
export interface DashboardItem {
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {string}
|
|
617
|
+
* @memberof DashboardItem
|
|
618
|
+
*/
|
|
619
|
+
'id': string;
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof DashboardItem
|
|
624
|
+
*/
|
|
625
|
+
'type': string;
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {{ [key: string]: any; }}
|
|
629
|
+
* @memberof DashboardItem
|
|
630
|
+
*/
|
|
631
|
+
'properties': {
|
|
632
|
+
[key: string]: any;
|
|
633
|
+
} | null;
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @type {boolean}
|
|
637
|
+
* @memberof DashboardItem
|
|
638
|
+
*/
|
|
639
|
+
'published': boolean;
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @type {number}
|
|
643
|
+
* @memberof DashboardItem
|
|
644
|
+
*/
|
|
645
|
+
'sortOrder': number;
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {Array<DashboardItem>}
|
|
649
|
+
* @memberof DashboardItem
|
|
650
|
+
*/
|
|
651
|
+
'items'?: Array<DashboardItem> | null;
|
|
652
|
+
}
|
|
450
653
|
/**
|
|
451
654
|
*
|
|
452
655
|
* @export
|
|
@@ -774,6 +977,19 @@ export interface FulfillmentItem {
|
|
|
774
977
|
*/
|
|
775
978
|
'quantity'?: number;
|
|
776
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @export
|
|
983
|
+
* @interface GetDashboardResponse
|
|
984
|
+
*/
|
|
985
|
+
export interface GetDashboardResponse {
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @type {Array<DashboardItem>}
|
|
989
|
+
* @memberof GetDashboardResponse
|
|
990
|
+
*/
|
|
991
|
+
'items'?: Array<DashboardItem>;
|
|
992
|
+
}
|
|
777
993
|
/**
|
|
778
994
|
* Image description
|
|
779
995
|
* @export
|
|
@@ -1169,6 +1385,12 @@ export interface OrderItem {
|
|
|
1169
1385
|
* @memberof OrderItem
|
|
1170
1386
|
*/
|
|
1171
1387
|
'recipientCost'?: Price;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {Array<AmendmentLog>}
|
|
1391
|
+
* @memberof OrderItem
|
|
1392
|
+
*/
|
|
1393
|
+
'amendmentLogs'?: Array<AmendmentLog>;
|
|
1172
1394
|
}
|
|
1173
1395
|
/**
|
|
1174
1396
|
*
|
|
@@ -1581,7 +1803,7 @@ export interface Review {
|
|
|
1581
1803
|
* @type {Array<ReviewReply>}
|
|
1582
1804
|
* @memberof Review
|
|
1583
1805
|
*/
|
|
1584
|
-
'replies'?: Array<ReviewReply
|
|
1806
|
+
'replies'?: Array<ReviewReply> | null;
|
|
1585
1807
|
}
|
|
1586
1808
|
/**
|
|
1587
1809
|
*
|
|
@@ -1703,6 +1925,19 @@ export interface ReviewsResponse {
|
|
|
1703
1925
|
*/
|
|
1704
1926
|
'nextPageToken'?: number | null;
|
|
1705
1927
|
}
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @export
|
|
1931
|
+
* @interface SaveDashboardRequest
|
|
1932
|
+
*/
|
|
1933
|
+
export interface SaveDashboardRequest {
|
|
1934
|
+
/**
|
|
1935
|
+
*
|
|
1936
|
+
* @type {Array<DashboardItem>}
|
|
1937
|
+
* @memberof SaveDashboardRequest
|
|
1938
|
+
*/
|
|
1939
|
+
'items'?: Array<DashboardItem>;
|
|
1940
|
+
}
|
|
1706
1941
|
/**
|
|
1707
1942
|
*
|
|
1708
1943
|
* @export
|
|
@@ -2505,6 +2740,148 @@ export declare const ListCustomersGenderEnum: {
|
|
|
2505
2740
|
readonly Female: "female";
|
|
2506
2741
|
};
|
|
2507
2742
|
export type ListCustomersGenderEnum = typeof ListCustomersGenderEnum[keyof typeof ListCustomersGenderEnum];
|
|
2743
|
+
/**
|
|
2744
|
+
* DashboardApi - axios parameter creator
|
|
2745
|
+
* @export
|
|
2746
|
+
*/
|
|
2747
|
+
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2748
|
+
/**
|
|
2749
|
+
*
|
|
2750
|
+
* @summary Get the platform\'s dashboard
|
|
2751
|
+
* @param {string} project Project unique identifier
|
|
2752
|
+
* @param {string} platformId The platform identifier
|
|
2753
|
+
* @param {*} [options] Override http request option.
|
|
2754
|
+
* @throws {RequiredError}
|
|
2755
|
+
*/
|
|
2756
|
+
getDashboard: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2757
|
+
/**
|
|
2758
|
+
*
|
|
2759
|
+
* @summary Save the platform\'s dashboard
|
|
2760
|
+
* @param {string} project Project unique identifier
|
|
2761
|
+
* @param {string} platformId The platform identifier
|
|
2762
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
2763
|
+
* @param {*} [options] Override http request option.
|
|
2764
|
+
* @throws {RequiredError}
|
|
2765
|
+
*/
|
|
2766
|
+
saveDashboard: (project: string, platformId: string, saveDashboardRequest: SaveDashboardRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2767
|
+
};
|
|
2768
|
+
/**
|
|
2769
|
+
* DashboardApi - functional programming interface
|
|
2770
|
+
* @export
|
|
2771
|
+
*/
|
|
2772
|
+
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @summary Get the platform\'s dashboard
|
|
2776
|
+
* @param {string} project Project unique identifier
|
|
2777
|
+
* @param {string} platformId The platform identifier
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
*/
|
|
2781
|
+
getDashboard(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponse>>;
|
|
2782
|
+
/**
|
|
2783
|
+
*
|
|
2784
|
+
* @summary Save the platform\'s dashboard
|
|
2785
|
+
* @param {string} project Project unique identifier
|
|
2786
|
+
* @param {string} platformId The platform identifier
|
|
2787
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
2788
|
+
* @param {*} [options] Override http request option.
|
|
2789
|
+
* @throws {RequiredError}
|
|
2790
|
+
*/
|
|
2791
|
+
saveDashboard(project: string, platformId: string, saveDashboardRequest: SaveDashboardRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponse>>;
|
|
2792
|
+
};
|
|
2793
|
+
/**
|
|
2794
|
+
* DashboardApi - factory interface
|
|
2795
|
+
* @export
|
|
2796
|
+
*/
|
|
2797
|
+
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @summary Get the platform\'s dashboard
|
|
2801
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
2802
|
+
* @param {*} [options] Override http request option.
|
|
2803
|
+
* @throws {RequiredError}
|
|
2804
|
+
*/
|
|
2805
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDashboardResponse>;
|
|
2806
|
+
/**
|
|
2807
|
+
*
|
|
2808
|
+
* @summary Save the platform\'s dashboard
|
|
2809
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
2810
|
+
* @param {*} [options] Override http request option.
|
|
2811
|
+
* @throws {RequiredError}
|
|
2812
|
+
*/
|
|
2813
|
+
saveDashboard(requestParameters: DashboardApiSaveDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDashboardResponse>;
|
|
2814
|
+
};
|
|
2815
|
+
/**
|
|
2816
|
+
* Request parameters for getDashboard operation in DashboardApi.
|
|
2817
|
+
* @export
|
|
2818
|
+
* @interface DashboardApiGetDashboardRequest
|
|
2819
|
+
*/
|
|
2820
|
+
export interface DashboardApiGetDashboardRequest {
|
|
2821
|
+
/**
|
|
2822
|
+
* Project unique identifier
|
|
2823
|
+
* @type {string}
|
|
2824
|
+
* @memberof DashboardApiGetDashboard
|
|
2825
|
+
*/
|
|
2826
|
+
readonly project: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* The platform identifier
|
|
2829
|
+
* @type {string}
|
|
2830
|
+
* @memberof DashboardApiGetDashboard
|
|
2831
|
+
*/
|
|
2832
|
+
readonly platformId: string;
|
|
2833
|
+
}
|
|
2834
|
+
/**
|
|
2835
|
+
* Request parameters for saveDashboard operation in DashboardApi.
|
|
2836
|
+
* @export
|
|
2837
|
+
* @interface DashboardApiSaveDashboardRequest
|
|
2838
|
+
*/
|
|
2839
|
+
export interface DashboardApiSaveDashboardRequest {
|
|
2840
|
+
/**
|
|
2841
|
+
* Project unique identifier
|
|
2842
|
+
* @type {string}
|
|
2843
|
+
* @memberof DashboardApiSaveDashboard
|
|
2844
|
+
*/
|
|
2845
|
+
readonly project: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* The platform identifier
|
|
2848
|
+
* @type {string}
|
|
2849
|
+
* @memberof DashboardApiSaveDashboard
|
|
2850
|
+
*/
|
|
2851
|
+
readonly platformId: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* Save dashboard
|
|
2854
|
+
* @type {SaveDashboardRequest}
|
|
2855
|
+
* @memberof DashboardApiSaveDashboard
|
|
2856
|
+
*/
|
|
2857
|
+
readonly saveDashboardRequest: SaveDashboardRequest;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* DashboardApi - object-oriented interface
|
|
2861
|
+
* @export
|
|
2862
|
+
* @class DashboardApi
|
|
2863
|
+
* @extends {BaseAPI}
|
|
2864
|
+
*/
|
|
2865
|
+
export declare class DashboardApi extends BaseAPI {
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @summary Get the platform\'s dashboard
|
|
2869
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
2870
|
+
* @param {*} [options] Override http request option.
|
|
2871
|
+
* @throws {RequiredError}
|
|
2872
|
+
* @memberof DashboardApi
|
|
2873
|
+
*/
|
|
2874
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponse, any>>;
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @summary Save the platform\'s dashboard
|
|
2878
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
2879
|
+
* @param {*} [options] Override http request option.
|
|
2880
|
+
* @throws {RequiredError}
|
|
2881
|
+
* @memberof DashboardApi
|
|
2882
|
+
*/
|
|
2883
|
+
saveDashboard(requestParameters: DashboardApiSaveDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponse, any>>;
|
|
2884
|
+
}
|
|
2508
2885
|
/**
|
|
2509
2886
|
* EnquiriesApi - axios parameter creator
|
|
2510
2887
|
* @export
|
|
@@ -4429,6 +4806,22 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
4429
4806
|
* @export
|
|
4430
4807
|
*/
|
|
4431
4808
|
export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4809
|
+
/**
|
|
4810
|
+
*
|
|
4811
|
+
* @summary Create a review
|
|
4812
|
+
* @param {string} project Project unique identifier
|
|
4813
|
+
* @param {string} platformId The platform identifier
|
|
4814
|
+
* @param {CreateReviewRequest} createReviewRequest
|
|
4815
|
+
* @param {number} [pageToken] Page reference token
|
|
4816
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4817
|
+
* @param {string} [search] Search term to filter results
|
|
4818
|
+
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
4819
|
+
* @param {string} [start] Start of date range to filter by
|
|
4820
|
+
* @param {string} [end] End of date range to filter by
|
|
4821
|
+
* @param {*} [options] Override http request option.
|
|
4822
|
+
* @throws {RequiredError}
|
|
4823
|
+
*/
|
|
4824
|
+
createReview: (project: string, platformId: string, createReviewRequest: CreateReviewRequest, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4432
4825
|
/**
|
|
4433
4826
|
* Export reviews as a CSV file.
|
|
4434
4827
|
* @summary Export reviews
|
|
@@ -4482,6 +4875,22 @@ export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4482
4875
|
* @export
|
|
4483
4876
|
*/
|
|
4484
4877
|
export declare const ReviewsApiFp: (configuration?: Configuration) => {
|
|
4878
|
+
/**
|
|
4879
|
+
*
|
|
4880
|
+
* @summary Create a review
|
|
4881
|
+
* @param {string} project Project unique identifier
|
|
4882
|
+
* @param {string} platformId The platform identifier
|
|
4883
|
+
* @param {CreateReviewRequest} createReviewRequest
|
|
4884
|
+
* @param {number} [pageToken] Page reference token
|
|
4885
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
4886
|
+
* @param {string} [search] Search term to filter results
|
|
4887
|
+
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
4888
|
+
* @param {string} [start] Start of date range to filter by
|
|
4889
|
+
* @param {string} [end] End of date range to filter by
|
|
4890
|
+
* @param {*} [options] Override http request option.
|
|
4891
|
+
* @throws {RequiredError}
|
|
4892
|
+
*/
|
|
4893
|
+
createReview(project: string, platformId: string, createReviewRequest: CreateReviewRequest, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReview201Response>>;
|
|
4485
4894
|
/**
|
|
4486
4895
|
* Export reviews as a CSV file.
|
|
4487
4896
|
* @summary Export reviews
|
|
@@ -4535,6 +4944,14 @@ export declare const ReviewsApiFp: (configuration?: Configuration) => {
|
|
|
4535
4944
|
* @export
|
|
4536
4945
|
*/
|
|
4537
4946
|
export declare const ReviewsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4947
|
+
/**
|
|
4948
|
+
*
|
|
4949
|
+
* @summary Create a review
|
|
4950
|
+
* @param {ReviewsApiCreateReviewRequest} requestParameters Request parameters.
|
|
4951
|
+
* @param {*} [options] Override http request option.
|
|
4952
|
+
* @throws {RequiredError}
|
|
4953
|
+
*/
|
|
4954
|
+
createReview(requestParameters: ReviewsApiCreateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateReview201Response>;
|
|
4538
4955
|
/**
|
|
4539
4956
|
* Export reviews as a CSV file.
|
|
4540
4957
|
* @summary Export reviews
|
|
@@ -4568,6 +4985,67 @@ export declare const ReviewsApiFactory: (configuration?: Configuration, basePath
|
|
|
4568
4985
|
*/
|
|
4569
4986
|
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
|
|
4570
4987
|
};
|
|
4988
|
+
/**
|
|
4989
|
+
* Request parameters for createReview operation in ReviewsApi.
|
|
4990
|
+
* @export
|
|
4991
|
+
* @interface ReviewsApiCreateReviewRequest
|
|
4992
|
+
*/
|
|
4993
|
+
export interface ReviewsApiCreateReviewRequest {
|
|
4994
|
+
/**
|
|
4995
|
+
* Project unique identifier
|
|
4996
|
+
* @type {string}
|
|
4997
|
+
* @memberof ReviewsApiCreateReview
|
|
4998
|
+
*/
|
|
4999
|
+
readonly project: string;
|
|
5000
|
+
/**
|
|
5001
|
+
* The platform identifier
|
|
5002
|
+
* @type {string}
|
|
5003
|
+
* @memberof ReviewsApiCreateReview
|
|
5004
|
+
*/
|
|
5005
|
+
readonly platformId: string;
|
|
5006
|
+
/**
|
|
5007
|
+
*
|
|
5008
|
+
* @type {CreateReviewRequest}
|
|
5009
|
+
* @memberof ReviewsApiCreateReview
|
|
5010
|
+
*/
|
|
5011
|
+
readonly createReviewRequest: CreateReviewRequest;
|
|
5012
|
+
/**
|
|
5013
|
+
* Page reference token
|
|
5014
|
+
* @type {number}
|
|
5015
|
+
* @memberof ReviewsApiCreateReview
|
|
5016
|
+
*/
|
|
5017
|
+
readonly pageToken?: number;
|
|
5018
|
+
/**
|
|
5019
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
5020
|
+
* @type {number}
|
|
5021
|
+
* @memberof ReviewsApiCreateReview
|
|
5022
|
+
*/
|
|
5023
|
+
readonly pageSize?: number;
|
|
5024
|
+
/**
|
|
5025
|
+
* Search term to filter results
|
|
5026
|
+
* @type {string}
|
|
5027
|
+
* @memberof ReviewsApiCreateReview
|
|
5028
|
+
*/
|
|
5029
|
+
readonly search?: string;
|
|
5030
|
+
/**
|
|
5031
|
+
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
5032
|
+
* @type {Array<string>}
|
|
5033
|
+
* @memberof ReviewsApiCreateReview
|
|
5034
|
+
*/
|
|
5035
|
+
readonly sortBy?: Array<string>;
|
|
5036
|
+
/**
|
|
5037
|
+
* Start of date range to filter by
|
|
5038
|
+
* @type {string}
|
|
5039
|
+
* @memberof ReviewsApiCreateReview
|
|
5040
|
+
*/
|
|
5041
|
+
readonly start?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
* End of date range to filter by
|
|
5044
|
+
* @type {string}
|
|
5045
|
+
* @memberof ReviewsApiCreateReview
|
|
5046
|
+
*/
|
|
5047
|
+
readonly end?: string;
|
|
5048
|
+
}
|
|
4571
5049
|
/**
|
|
4572
5050
|
* Request parameters for exportReviews operation in ReviewsApi.
|
|
4573
5051
|
* @export
|
|
@@ -4717,6 +5195,15 @@ export interface ReviewsApiModerateReviewRequest {
|
|
|
4717
5195
|
* @extends {BaseAPI}
|
|
4718
5196
|
*/
|
|
4719
5197
|
export declare class ReviewsApi extends BaseAPI {
|
|
5198
|
+
/**
|
|
5199
|
+
*
|
|
5200
|
+
* @summary Create a review
|
|
5201
|
+
* @param {ReviewsApiCreateReviewRequest} requestParameters Request parameters.
|
|
5202
|
+
* @param {*} [options] Override http request option.
|
|
5203
|
+
* @throws {RequiredError}
|
|
5204
|
+
* @memberof ReviewsApi
|
|
5205
|
+
*/
|
|
5206
|
+
createReview(requestParameters: ReviewsApiCreateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReview201Response, any>>;
|
|
4720
5207
|
/**
|
|
4721
5208
|
* Export reviews as a CSV file.
|
|
4722
5209
|
* @summary Export reviews
|