@teemill/platform 0.19.0 → 0.21.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/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.19.0
5
+ * The version of the OpenAPI document: 0.21.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -100,6 +100,31 @@ export interface AuthorizeStripe200Response {
100
100
  */
101
101
  'redirect_url': string;
102
102
  }
103
+ /**
104
+ *
105
+ * @export
106
+ * @interface Client
107
+ */
108
+ export interface Client {
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof Client
113
+ */
114
+ 'id'?: string;
115
+ /**
116
+ * API reference for the client
117
+ * @type {string}
118
+ * @memberof Client
119
+ */
120
+ 'ref'?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof Client
125
+ */
126
+ 'name'?: string;
127
+ }
103
128
  /**
104
129
  * Order recipient contact information, used only for courier tracking/updates.
105
130
  * @export
@@ -225,6 +250,121 @@ export interface DeliveryEstimates {
225
250
  */
226
251
  'max'?: string;
227
252
  }
253
+ /**
254
+ *
255
+ * @export
256
+ * @interface Enquiry
257
+ */
258
+ export interface Enquiry {
259
+ /**
260
+ *
261
+ * @type {string}
262
+ * @memberof Enquiry
263
+ */
264
+ 'id': string;
265
+ /**
266
+ * API reference for the enquiry
267
+ * @type {string}
268
+ * @memberof Enquiry
269
+ */
270
+ 'ref': string;
271
+ /**
272
+ *
273
+ * @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
274
+ * @memberof Enquiry
275
+ */
276
+ 'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
277
+ /**
278
+ *
279
+ * @type {Client}
280
+ * @memberof Enquiry
281
+ */
282
+ 'client': Client;
283
+ /**
284
+ *
285
+ * @type {string}
286
+ * @memberof Enquiry
287
+ */
288
+ 'subject': string;
289
+ /**
290
+ *
291
+ * @type {string}
292
+ * @memberof Enquiry
293
+ */
294
+ 'body': string;
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof Enquiry
299
+ */
300
+ 'createdAt': string;
301
+ /**
302
+ *
303
+ * @type {string}
304
+ * @memberof Enquiry
305
+ */
306
+ 'updatedAt': string;
307
+ /**
308
+ *
309
+ * @type {Array<string>}
310
+ * @memberof Enquiry
311
+ */
312
+ 'tags': Array<string>;
313
+ /**
314
+ *
315
+ * @type {string}
316
+ * @memberof Enquiry
317
+ */
318
+ 'status': EnquiryStatusEnum;
319
+ /**
320
+ *
321
+ * @type {boolean}
322
+ * @memberof Enquiry
323
+ */
324
+ 'read': boolean;
325
+ /**
326
+ *
327
+ * @type {Array<EnquiryExtraInputsInner>}
328
+ * @memberof Enquiry
329
+ */
330
+ 'extraInputs': Array<EnquiryExtraInputsInner> | null;
331
+ }
332
+ export declare const EnquiryStatusEnum: {
333
+ readonly New: "New";
334
+ readonly Archived: "Archived";
335
+ readonly Priority: "Priority";
336
+ };
337
+ export type EnquiryStatusEnum = typeof EnquiryStatusEnum[keyof typeof EnquiryStatusEnum];
338
+ /**
339
+ *
340
+ * @export
341
+ * @interface EnquiryExtraInputsInner
342
+ */
343
+ export interface EnquiryExtraInputsInner {
344
+ /**
345
+ *
346
+ * @type {string}
347
+ * @memberof EnquiryExtraInputsInner
348
+ */
349
+ 'name': string;
350
+ /**
351
+ *
352
+ * @type {string}
353
+ * @memberof EnquiryExtraInputsInner
354
+ */
355
+ 'type': string;
356
+ /**
357
+ *
358
+ * @type {EnquiryExtraInputsInnerValue}
359
+ * @memberof EnquiryExtraInputsInner
360
+ */
361
+ 'value': EnquiryExtraInputsInnerValue;
362
+ }
363
+ /**
364
+ * @type EnquiryExtraInputsInnerValue
365
+ * @export
366
+ */
367
+ export type EnquiryExtraInputsInnerValue = Array<string | null> | string;
228
368
  /**
229
369
  *
230
370
  * @export
@@ -406,6 +546,94 @@ export interface Image {
406
546
  */
407
547
  'sortOrder'?: number;
408
548
  }
549
+ /**
550
+ *
551
+ * @export
552
+ * @interface ListCustomerEnquiries200Response
553
+ */
554
+ export interface ListCustomerEnquiries200Response {
555
+ /**
556
+ *
557
+ * @type {Array<Enquiry>}
558
+ * @memberof ListCustomerEnquiries200Response
559
+ */
560
+ 'enquiries'?: Array<Enquiry>;
561
+ /**
562
+ *
563
+ * @type {number}
564
+ * @memberof ListCustomerEnquiries200Response
565
+ */
566
+ 'nextPageToken'?: number | null;
567
+ }
568
+ /**
569
+ *
570
+ * @export
571
+ * @interface ListCustomerEnquiryLogs200Response
572
+ */
573
+ export interface ListCustomerEnquiryLogs200Response {
574
+ /**
575
+ *
576
+ * @type {Array<ListCustomerEnquiryLogs200ResponseLogsInner>}
577
+ * @memberof ListCustomerEnquiryLogs200Response
578
+ */
579
+ 'logs': Array<ListCustomerEnquiryLogs200ResponseLogsInner>;
580
+ }
581
+ /**
582
+ *
583
+ * @export
584
+ * @interface ListCustomerEnquiryLogs200ResponseLogsInner
585
+ */
586
+ export interface ListCustomerEnquiryLogs200ResponseLogsInner {
587
+ /**
588
+ *
589
+ * @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
590
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInner
591
+ */
592
+ 'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInner
597
+ */
598
+ 'createdAt': string;
599
+ }
600
+ /**
601
+ *
602
+ * @export
603
+ * @interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
604
+ */
605
+ export interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer {
606
+ /**
607
+ *
608
+ * @type {string}
609
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
610
+ */
611
+ 'id'?: string;
612
+ /**
613
+ * API reference for the customer
614
+ * @type {string}
615
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
616
+ */
617
+ 'ref'?: string;
618
+ /**
619
+ *
620
+ * @type {string}
621
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
622
+ */
623
+ 'firstName'?: string;
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
628
+ */
629
+ 'lastName'?: string;
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
634
+ */
635
+ 'email'?: string;
636
+ }
409
637
  /**
410
638
  *
411
639
  * @export
@@ -1121,6 +1349,31 @@ export interface ReviewsResponse {
1121
1349
  */
1122
1350
  'nextPageToken'?: number | null;
1123
1351
  }
1352
+ /**
1353
+ *
1354
+ * @export
1355
+ * @interface SaveTermsRequest
1356
+ */
1357
+ export interface SaveTermsRequest {
1358
+ /**
1359
+ *
1360
+ * @type {string}
1361
+ * @memberof SaveTermsRequest
1362
+ */
1363
+ 'title': string;
1364
+ /**
1365
+ *
1366
+ * @type {string}
1367
+ * @memberof SaveTermsRequest
1368
+ */
1369
+ 'content': string;
1370
+ /**
1371
+ *
1372
+ * @type {boolean}
1373
+ * @memberof SaveTermsRequest
1374
+ */
1375
+ 'enabled': boolean;
1376
+ }
1124
1377
  /**
1125
1378
  *
1126
1379
  * @export
@@ -1220,6 +1473,55 @@ export interface StatusHistoryItem {
1220
1473
  */
1221
1474
  'createdAt'?: string;
1222
1475
  }
1476
+ /**
1477
+ *
1478
+ * @export
1479
+ * @interface Terms
1480
+ */
1481
+ export interface Terms {
1482
+ /**
1483
+ *
1484
+ * @type {string}
1485
+ * @memberof Terms
1486
+ */
1487
+ 'id': string;
1488
+ /**
1489
+ *
1490
+ * @type {string}
1491
+ * @memberof Terms
1492
+ */
1493
+ 'title': string;
1494
+ /**
1495
+ *
1496
+ * @type {string}
1497
+ * @memberof Terms
1498
+ */
1499
+ 'content': string;
1500
+ /**
1501
+ *
1502
+ * @type {number}
1503
+ * @memberof Terms
1504
+ */
1505
+ 'version': number;
1506
+ /**
1507
+ *
1508
+ * @type {boolean}
1509
+ * @memberof Terms
1510
+ */
1511
+ 'enabled': boolean;
1512
+ /**
1513
+ *
1514
+ * @type {string}
1515
+ * @memberof Terms
1516
+ */
1517
+ 'createdAt': string;
1518
+ /**
1519
+ *
1520
+ * @type {string}
1521
+ * @memberof Terms
1522
+ */
1523
+ 'updatedAt': string;
1524
+ }
1223
1525
  /**
1224
1526
  *
1225
1527
  * @export
@@ -1644,6 +1946,250 @@ export declare const ListCustomersSortByEnum: {
1644
1946
  readonly LastPurchased2: "-lastPurchased";
1645
1947
  };
1646
1948
  export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
1949
+ /**
1950
+ * EnquiriesApi - axios parameter creator
1951
+ * @export
1952
+ */
1953
+ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configuration) => {
1954
+ /**
1955
+ * Get a customer enquiry
1956
+ * @summary Get customer enquiry
1957
+ * @param {string} project Project unique identifier
1958
+ * @param {string} platformId The platform identifier
1959
+ * @param {string} enquiryId
1960
+ * @param {*} [options] Override http request option.
1961
+ * @throws {RequiredError}
1962
+ */
1963
+ getCustomerEnquiry: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1964
+ /**
1965
+ * List customer enquiries
1966
+ * @summary List customer enquiries
1967
+ * @param {string} project Project unique identifier
1968
+ * @param {string} platformId The platform identifier
1969
+ * @param {number} [pageToken] Page reference token
1970
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1971
+ * @param {string} [search] Search term to filter based on enquiry title, content, customer name and customer email.
1972
+ * @param {string} [start] Start of date range to filter by
1973
+ * @param {string} [end] End of date range to filter by
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ */
1977
+ listCustomerEnquiries: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1978
+ /**
1979
+ * Lists all customer enquiry Logs
1980
+ * @summary List customer enquiry Logs
1981
+ * @param {string} project Project unique identifier
1982
+ * @param {string} platformId The platform identifier
1983
+ * @param {string} enquiryId
1984
+ * @param {*} [options] Override http request option.
1985
+ * @throws {RequiredError}
1986
+ */
1987
+ listCustomerEnquiryLogs: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1988
+ };
1989
+ /**
1990
+ * EnquiriesApi - functional programming interface
1991
+ * @export
1992
+ */
1993
+ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
1994
+ /**
1995
+ * Get a customer enquiry
1996
+ * @summary Get customer enquiry
1997
+ * @param {string} project Project unique identifier
1998
+ * @param {string} platformId The platform identifier
1999
+ * @param {string} enquiryId
2000
+ * @param {*} [options] Override http request option.
2001
+ * @throws {RequiredError}
2002
+ */
2003
+ getCustomerEnquiry(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Enquiry>>;
2004
+ /**
2005
+ * List customer enquiries
2006
+ * @summary List customer enquiries
2007
+ * @param {string} project Project unique identifier
2008
+ * @param {string} platformId The platform identifier
2009
+ * @param {number} [pageToken] Page reference token
2010
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2011
+ * @param {string} [search] Search term to filter based on enquiry title, content, customer name and customer email.
2012
+ * @param {string} [start] Start of date range to filter by
2013
+ * @param {string} [end] End of date range to filter by
2014
+ * @param {*} [options] Override http request option.
2015
+ * @throws {RequiredError}
2016
+ */
2017
+ listCustomerEnquiries(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerEnquiries200Response>>;
2018
+ /**
2019
+ * Lists all customer enquiry Logs
2020
+ * @summary List customer enquiry Logs
2021
+ * @param {string} project Project unique identifier
2022
+ * @param {string} platformId The platform identifier
2023
+ * @param {string} enquiryId
2024
+ * @param {*} [options] Override http request option.
2025
+ * @throws {RequiredError}
2026
+ */
2027
+ listCustomerEnquiryLogs(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerEnquiryLogs200Response>>;
2028
+ };
2029
+ /**
2030
+ * EnquiriesApi - factory interface
2031
+ * @export
2032
+ */
2033
+ export declare const EnquiriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2034
+ /**
2035
+ * Get a customer enquiry
2036
+ * @summary Get customer enquiry
2037
+ * @param {EnquiriesApiGetCustomerEnquiryRequest} requestParameters Request parameters.
2038
+ * @param {*} [options] Override http request option.
2039
+ * @throws {RequiredError}
2040
+ */
2041
+ getCustomerEnquiry(requestParameters: EnquiriesApiGetCustomerEnquiryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Enquiry>;
2042
+ /**
2043
+ * List customer enquiries
2044
+ * @summary List customer enquiries
2045
+ * @param {EnquiriesApiListCustomerEnquiriesRequest} requestParameters Request parameters.
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ */
2049
+ listCustomerEnquiries(requestParameters: EnquiriesApiListCustomerEnquiriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiries200Response>;
2050
+ /**
2051
+ * Lists all customer enquiry Logs
2052
+ * @summary List customer enquiry Logs
2053
+ * @param {EnquiriesApiListCustomerEnquiryLogsRequest} requestParameters Request parameters.
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ */
2057
+ listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiryLogs200Response>;
2058
+ };
2059
+ /**
2060
+ * Request parameters for getCustomerEnquiry operation in EnquiriesApi.
2061
+ * @export
2062
+ * @interface EnquiriesApiGetCustomerEnquiryRequest
2063
+ */
2064
+ export interface EnquiriesApiGetCustomerEnquiryRequest {
2065
+ /**
2066
+ * Project unique identifier
2067
+ * @type {string}
2068
+ * @memberof EnquiriesApiGetCustomerEnquiry
2069
+ */
2070
+ readonly project: string;
2071
+ /**
2072
+ * The platform identifier
2073
+ * @type {string}
2074
+ * @memberof EnquiriesApiGetCustomerEnquiry
2075
+ */
2076
+ readonly platformId: string;
2077
+ /**
2078
+ *
2079
+ * @type {string}
2080
+ * @memberof EnquiriesApiGetCustomerEnquiry
2081
+ */
2082
+ readonly enquiryId: string;
2083
+ }
2084
+ /**
2085
+ * Request parameters for listCustomerEnquiries operation in EnquiriesApi.
2086
+ * @export
2087
+ * @interface EnquiriesApiListCustomerEnquiriesRequest
2088
+ */
2089
+ export interface EnquiriesApiListCustomerEnquiriesRequest {
2090
+ /**
2091
+ * Project unique identifier
2092
+ * @type {string}
2093
+ * @memberof EnquiriesApiListCustomerEnquiries
2094
+ */
2095
+ readonly project: string;
2096
+ /**
2097
+ * The platform identifier
2098
+ * @type {string}
2099
+ * @memberof EnquiriesApiListCustomerEnquiries
2100
+ */
2101
+ readonly platformId: string;
2102
+ /**
2103
+ * Page reference token
2104
+ * @type {number}
2105
+ * @memberof EnquiriesApiListCustomerEnquiries
2106
+ */
2107
+ readonly pageToken?: number;
2108
+ /**
2109
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2110
+ * @type {number}
2111
+ * @memberof EnquiriesApiListCustomerEnquiries
2112
+ */
2113
+ readonly pageSize?: number;
2114
+ /**
2115
+ * Search term to filter based on enquiry title, content, customer name and customer email.
2116
+ * @type {string}
2117
+ * @memberof EnquiriesApiListCustomerEnquiries
2118
+ */
2119
+ readonly search?: string;
2120
+ /**
2121
+ * Start of date range to filter by
2122
+ * @type {string}
2123
+ * @memberof EnquiriesApiListCustomerEnquiries
2124
+ */
2125
+ readonly start?: string;
2126
+ /**
2127
+ * End of date range to filter by
2128
+ * @type {string}
2129
+ * @memberof EnquiriesApiListCustomerEnquiries
2130
+ */
2131
+ readonly end?: string;
2132
+ }
2133
+ /**
2134
+ * Request parameters for listCustomerEnquiryLogs operation in EnquiriesApi.
2135
+ * @export
2136
+ * @interface EnquiriesApiListCustomerEnquiryLogsRequest
2137
+ */
2138
+ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
2139
+ /**
2140
+ * Project unique identifier
2141
+ * @type {string}
2142
+ * @memberof EnquiriesApiListCustomerEnquiryLogs
2143
+ */
2144
+ readonly project: string;
2145
+ /**
2146
+ * The platform identifier
2147
+ * @type {string}
2148
+ * @memberof EnquiriesApiListCustomerEnquiryLogs
2149
+ */
2150
+ readonly platformId: string;
2151
+ /**
2152
+ *
2153
+ * @type {string}
2154
+ * @memberof EnquiriesApiListCustomerEnquiryLogs
2155
+ */
2156
+ readonly enquiryId: string;
2157
+ }
2158
+ /**
2159
+ * EnquiriesApi - object-oriented interface
2160
+ * @export
2161
+ * @class EnquiriesApi
2162
+ * @extends {BaseAPI}
2163
+ */
2164
+ export declare class EnquiriesApi extends BaseAPI {
2165
+ /**
2166
+ * Get a customer enquiry
2167
+ * @summary Get customer enquiry
2168
+ * @param {EnquiriesApiGetCustomerEnquiryRequest} requestParameters Request parameters.
2169
+ * @param {*} [options] Override http request option.
2170
+ * @throws {RequiredError}
2171
+ * @memberof EnquiriesApi
2172
+ */
2173
+ getCustomerEnquiry(requestParameters: EnquiriesApiGetCustomerEnquiryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Enquiry, any>>;
2174
+ /**
2175
+ * List customer enquiries
2176
+ * @summary List customer enquiries
2177
+ * @param {EnquiriesApiListCustomerEnquiriesRequest} requestParameters Request parameters.
2178
+ * @param {*} [options] Override http request option.
2179
+ * @throws {RequiredError}
2180
+ * @memberof EnquiriesApi
2181
+ */
2182
+ listCustomerEnquiries(requestParameters: EnquiriesApiListCustomerEnquiriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerEnquiries200Response, any>>;
2183
+ /**
2184
+ * Lists all customer enquiry Logs
2185
+ * @summary List customer enquiry Logs
2186
+ * @param {EnquiriesApiListCustomerEnquiryLogsRequest} requestParameters Request parameters.
2187
+ * @param {*} [options] Override http request option.
2188
+ * @throws {RequiredError}
2189
+ * @memberof EnquiriesApi
2190
+ */
2191
+ listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerEnquiryLogs200Response, any>>;
2192
+ }
1647
2193
  /**
1648
2194
  * OrdersApi - axios parameter creator
1649
2195
  * @export
@@ -2797,3 +3343,145 @@ export declare class ReviewsApi extends BaseAPI {
2797
3343
  */
2798
3344
  moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
2799
3345
  }
3346
+ /**
3347
+ * TermsApi - axios parameter creator
3348
+ * @export
3349
+ */
3350
+ export declare const TermsApiAxiosParamCreator: (configuration?: Configuration) => {
3351
+ /**
3352
+ *
3353
+ * @summary Get the platform\'s terms
3354
+ * @param {string} project Project unique identifier
3355
+ * @param {string} platformId The platform identifier
3356
+ * @param {*} [options] Override http request option.
3357
+ * @throws {RequiredError}
3358
+ */
3359
+ getTerms: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3360
+ /**
3361
+ *
3362
+ * @summary Save the platform\'s terms
3363
+ * @param {string} project Project unique identifier
3364
+ * @param {string} platformId The platform identifier
3365
+ * @param {SaveTermsRequest} saveTermsRequest Save terms
3366
+ * @param {*} [options] Override http request option.
3367
+ * @throws {RequiredError}
3368
+ */
3369
+ saveTerms: (project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3370
+ };
3371
+ /**
3372
+ * TermsApi - functional programming interface
3373
+ * @export
3374
+ */
3375
+ export declare const TermsApiFp: (configuration?: Configuration) => {
3376
+ /**
3377
+ *
3378
+ * @summary Get the platform\'s terms
3379
+ * @param {string} project Project unique identifier
3380
+ * @param {string} platformId The platform identifier
3381
+ * @param {*} [options] Override http request option.
3382
+ * @throws {RequiredError}
3383
+ */
3384
+ getTerms(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
3385
+ /**
3386
+ *
3387
+ * @summary Save the platform\'s terms
3388
+ * @param {string} project Project unique identifier
3389
+ * @param {string} platformId The platform identifier
3390
+ * @param {SaveTermsRequest} saveTermsRequest Save terms
3391
+ * @param {*} [options] Override http request option.
3392
+ * @throws {RequiredError}
3393
+ */
3394
+ saveTerms(project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
3395
+ };
3396
+ /**
3397
+ * TermsApi - factory interface
3398
+ * @export
3399
+ */
3400
+ export declare const TermsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3401
+ /**
3402
+ *
3403
+ * @summary Get the platform\'s terms
3404
+ * @param {TermsApiGetTermsRequest} requestParameters Request parameters.
3405
+ * @param {*} [options] Override http request option.
3406
+ * @throws {RequiredError}
3407
+ */
3408
+ getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
3409
+ /**
3410
+ *
3411
+ * @summary Save the platform\'s terms
3412
+ * @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
3413
+ * @param {*} [options] Override http request option.
3414
+ * @throws {RequiredError}
3415
+ */
3416
+ saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
3417
+ };
3418
+ /**
3419
+ * Request parameters for getTerms operation in TermsApi.
3420
+ * @export
3421
+ * @interface TermsApiGetTermsRequest
3422
+ */
3423
+ export interface TermsApiGetTermsRequest {
3424
+ /**
3425
+ * Project unique identifier
3426
+ * @type {string}
3427
+ * @memberof TermsApiGetTerms
3428
+ */
3429
+ readonly project: string;
3430
+ /**
3431
+ * The platform identifier
3432
+ * @type {string}
3433
+ * @memberof TermsApiGetTerms
3434
+ */
3435
+ readonly platformId: string;
3436
+ }
3437
+ /**
3438
+ * Request parameters for saveTerms operation in TermsApi.
3439
+ * @export
3440
+ * @interface TermsApiSaveTermsRequest
3441
+ */
3442
+ export interface TermsApiSaveTermsRequest {
3443
+ /**
3444
+ * Project unique identifier
3445
+ * @type {string}
3446
+ * @memberof TermsApiSaveTerms
3447
+ */
3448
+ readonly project: string;
3449
+ /**
3450
+ * The platform identifier
3451
+ * @type {string}
3452
+ * @memberof TermsApiSaveTerms
3453
+ */
3454
+ readonly platformId: string;
3455
+ /**
3456
+ * Save terms
3457
+ * @type {SaveTermsRequest}
3458
+ * @memberof TermsApiSaveTerms
3459
+ */
3460
+ readonly saveTermsRequest: SaveTermsRequest;
3461
+ }
3462
+ /**
3463
+ * TermsApi - object-oriented interface
3464
+ * @export
3465
+ * @class TermsApi
3466
+ * @extends {BaseAPI}
3467
+ */
3468
+ export declare class TermsApi extends BaseAPI {
3469
+ /**
3470
+ *
3471
+ * @summary Get the platform\'s terms
3472
+ * @param {TermsApiGetTermsRequest} requestParameters Request parameters.
3473
+ * @param {*} [options] Override http request option.
3474
+ * @throws {RequiredError}
3475
+ * @memberof TermsApi
3476
+ */
3477
+ getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
3478
+ /**
3479
+ *
3480
+ * @summary Save the platform\'s terms
3481
+ * @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
3482
+ * @param {*} [options] Override http request option.
3483
+ * @throws {RequiredError}
3484
+ * @memberof TermsApi
3485
+ */
3486
+ saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
3487
+ }