@teemill/platform 0.20.0 → 0.22.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.20.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -87,19 +87,6 @@ export interface ApiError {
87
87
  */
88
88
  'message': string;
89
89
  }
90
- /**
91
- *
92
- * @export
93
- * @interface AuthorizeStripe200Response
94
- */
95
- export interface AuthorizeStripe200Response {
96
- /**
97
- * The URL to redirect to
98
- * @type {string}
99
- * @memberof AuthorizeStripe200Response
100
- */
101
- 'redirect_url': string;
102
- }
103
90
  /**
104
91
  *
105
92
  * @export
@@ -163,6 +150,19 @@ export interface Coupon {
163
150
  */
164
151
  'code': string;
165
152
  }
153
+ /**
154
+ *
155
+ * @export
156
+ * @interface CreateDomainRequest
157
+ */
158
+ export interface CreateDomainRequest {
159
+ /**
160
+ *
161
+ * @type {string}
162
+ * @memberof CreateDomainRequest
163
+ */
164
+ 'domain'?: string;
165
+ }
166
166
  /**
167
167
  * The customer that has placed an order on your platform
168
168
  * @export
@@ -250,6 +250,37 @@ export interface DeliveryEstimates {
250
250
  */
251
251
  'max'?: string;
252
252
  }
253
+ /**
254
+ *
255
+ * @export
256
+ * @interface Domain
257
+ */
258
+ export interface Domain {
259
+ /**
260
+ *
261
+ * @type {number}
262
+ * @memberof Domain
263
+ */
264
+ 'id': number;
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof Domain
269
+ */
270
+ 'name': string;
271
+ /**
272
+ *
273
+ * @type {number}
274
+ * @memberof Domain
275
+ */
276
+ 'priority': number;
277
+ /**
278
+ *
279
+ * @type {string}
280
+ * @memberof Domain
281
+ */
282
+ 'enabledAt': string | null;
283
+ }
253
284
  /**
254
285
  *
255
286
  * @export
@@ -546,6 +577,38 @@ export interface Image {
546
577
  */
547
578
  'sortOrder'?: number;
548
579
  }
580
+ /**
581
+ *
582
+ * @export
583
+ * @interface InlineObject
584
+ */
585
+ export interface InlineObject {
586
+ /**
587
+ *
588
+ * @type {Array<Domain>}
589
+ * @memberof InlineObject
590
+ */
591
+ 'domains'?: Array<Domain>;
592
+ /**
593
+ *
594
+ * @type {number}
595
+ * @memberof InlineObject
596
+ */
597
+ 'nextPageToken'?: number;
598
+ }
599
+ /**
600
+ *
601
+ * @export
602
+ * @interface InlineObject1
603
+ */
604
+ export interface InlineObject1 {
605
+ /**
606
+ * The URL to redirect to
607
+ * @type {string}
608
+ * @memberof InlineObject1
609
+ */
610
+ 'redirect_url': string;
611
+ }
549
612
  /**
550
613
  *
551
614
  * @export
@@ -1349,6 +1412,31 @@ export interface ReviewsResponse {
1349
1412
  */
1350
1413
  'nextPageToken'?: number | null;
1351
1414
  }
1415
+ /**
1416
+ *
1417
+ * @export
1418
+ * @interface SaveTermsRequest
1419
+ */
1420
+ export interface SaveTermsRequest {
1421
+ /**
1422
+ *
1423
+ * @type {string}
1424
+ * @memberof SaveTermsRequest
1425
+ */
1426
+ 'title': string;
1427
+ /**
1428
+ *
1429
+ * @type {string}
1430
+ * @memberof SaveTermsRequest
1431
+ */
1432
+ 'content': string;
1433
+ /**
1434
+ *
1435
+ * @type {boolean}
1436
+ * @memberof SaveTermsRequest
1437
+ */
1438
+ 'enabled': boolean;
1439
+ }
1352
1440
  /**
1353
1441
  *
1354
1442
  * @export
@@ -1448,6 +1536,55 @@ export interface StatusHistoryItem {
1448
1536
  */
1449
1537
  'createdAt'?: string;
1450
1538
  }
1539
+ /**
1540
+ *
1541
+ * @export
1542
+ * @interface Terms
1543
+ */
1544
+ export interface Terms {
1545
+ /**
1546
+ *
1547
+ * @type {string}
1548
+ * @memberof Terms
1549
+ */
1550
+ 'id': string;
1551
+ /**
1552
+ *
1553
+ * @type {string}
1554
+ * @memberof Terms
1555
+ */
1556
+ 'title': string;
1557
+ /**
1558
+ *
1559
+ * @type {string}
1560
+ * @memberof Terms
1561
+ */
1562
+ 'content': string;
1563
+ /**
1564
+ *
1565
+ * @type {number}
1566
+ * @memberof Terms
1567
+ */
1568
+ 'version': number;
1569
+ /**
1570
+ *
1571
+ * @type {boolean}
1572
+ * @memberof Terms
1573
+ */
1574
+ 'enabled': boolean;
1575
+ /**
1576
+ *
1577
+ * @type {string}
1578
+ * @memberof Terms
1579
+ */
1580
+ 'createdAt': string;
1581
+ /**
1582
+ *
1583
+ * @type {string}
1584
+ * @memberof Terms
1585
+ */
1586
+ 'updatedAt': string;
1587
+ }
1451
1588
  /**
1452
1589
  *
1453
1590
  * @export
@@ -2691,7 +2828,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
2691
2828
  * @param {*} [options] Override http request option.
2692
2829
  * @throws {RequiredError}
2693
2830
  */
2694
- authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>>;
2831
+ authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
2695
2832
  /**
2696
2833
  * Deauthorize a Stripe payment account
2697
2834
  * @summary Deauthorize Stripe
@@ -2721,7 +2858,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
2721
2858
  * @param {*} [options] Override http request option.
2722
2859
  * @throws {RequiredError}
2723
2860
  */
2724
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response>;
2861
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
2725
2862
  /**
2726
2863
  * Deauthorize a Stripe payment account
2727
2864
  * @summary Deauthorize Stripe
@@ -2793,7 +2930,7 @@ export declare class PaymentApi extends BaseAPI {
2793
2930
  * @throws {RequiredError}
2794
2931
  * @memberof PaymentApi
2795
2932
  */
2796
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizeStripe200Response, any>>;
2933
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
2797
2934
  /**
2798
2935
  * Deauthorize a Stripe payment account
2799
2936
  * @summary Deauthorize Stripe
@@ -2818,6 +2955,38 @@ export declare class PaymentApi extends BaseAPI {
2818
2955
  * @export
2819
2956
  */
2820
2957
  export declare const PlatformApiAxiosParamCreator: (configuration?: Configuration) => {
2958
+ /**
2959
+ * Create a new client platform domain
2960
+ * @summary Create a platform client domain
2961
+ * @param {CreateDomainRequest} [createDomainRequest]
2962
+ * @param {*} [options] Override http request option.
2963
+ * @throws {RequiredError}
2964
+ */
2965
+ createClientDomain: (createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2966
+ /**
2967
+ * Create a new platform domain
2968
+ * @summary Create a platform domain
2969
+ * @param {CreateDomainRequest} [createDomainRequest]
2970
+ * @param {*} [options] Override http request option.
2971
+ * @throws {RequiredError}
2972
+ */
2973
+ createDomain: (createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2974
+ /**
2975
+ * Delete an existing client platform domain
2976
+ * @summary Delete a platform client domain
2977
+ * @param {string} domain The domain identifier
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ */
2981
+ deleteClientDomain: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2982
+ /**
2983
+ * Delete an existing platform domain
2984
+ * @summary Delete a platform domain
2985
+ * @param {string} domain The domain identifier
2986
+ * @param {*} [options] Override http request option.
2987
+ * @throws {RequiredError}
2988
+ */
2989
+ deleteDomain: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2821
2990
  /**
2822
2991
  *
2823
2992
  * @summary Get platform details
@@ -2826,6 +2995,20 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2826
2995
  * @throws {RequiredError}
2827
2996
  */
2828
2997
  getPlatform: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2998
+ /**
2999
+ * List the client domains attached to a platform
3000
+ * @summary List platform client domains
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ listClientDomains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3005
+ /**
3006
+ * List the domains attached to a platform
3007
+ * @summary List platform domains
3008
+ * @param {*} [options] Override http request option.
3009
+ * @throws {RequiredError}
3010
+ */
3011
+ listDomains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2829
3012
  /**
2830
3013
  *
2831
3014
  * @summary Update platform
@@ -2841,6 +3024,38 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2841
3024
  * @export
2842
3025
  */
2843
3026
  export declare const PlatformApiFp: (configuration?: Configuration) => {
3027
+ /**
3028
+ * Create a new client platform domain
3029
+ * @summary Create a platform client domain
3030
+ * @param {CreateDomainRequest} [createDomainRequest]
3031
+ * @param {*} [options] Override http request option.
3032
+ * @throws {RequiredError}
3033
+ */
3034
+ createClientDomain(createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>>;
3035
+ /**
3036
+ * Create a new platform domain
3037
+ * @summary Create a platform domain
3038
+ * @param {CreateDomainRequest} [createDomainRequest]
3039
+ * @param {*} [options] Override http request option.
3040
+ * @throws {RequiredError}
3041
+ */
3042
+ createDomain(createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>>;
3043
+ /**
3044
+ * Delete an existing client platform domain
3045
+ * @summary Delete a platform client domain
3046
+ * @param {string} domain The domain identifier
3047
+ * @param {*} [options] Override http request option.
3048
+ * @throws {RequiredError}
3049
+ */
3050
+ deleteClientDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3051
+ /**
3052
+ * Delete an existing platform domain
3053
+ * @summary Delete a platform domain
3054
+ * @param {string} domain The domain identifier
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ */
3058
+ deleteDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2844
3059
  /**
2845
3060
  *
2846
3061
  * @summary Get platform details
@@ -2849,6 +3064,20 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2849
3064
  * @throws {RequiredError}
2850
3065
  */
2851
3066
  getPlatform(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
3067
+ /**
3068
+ * List the client domains attached to a platform
3069
+ * @summary List platform client domains
3070
+ * @param {*} [options] Override http request option.
3071
+ * @throws {RequiredError}
3072
+ */
3073
+ listClientDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
3074
+ /**
3075
+ * List the domains attached to a platform
3076
+ * @summary List platform domains
3077
+ * @param {*} [options] Override http request option.
3078
+ * @throws {RequiredError}
3079
+ */
3080
+ listDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
2852
3081
  /**
2853
3082
  *
2854
3083
  * @summary Update platform
@@ -2864,6 +3093,38 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2864
3093
  * @export
2865
3094
  */
2866
3095
  export declare const PlatformApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3096
+ /**
3097
+ * Create a new client platform domain
3098
+ * @summary Create a platform client domain
3099
+ * @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ */
3103
+ createClientDomain(requestParameters?: PlatformApiCreateClientDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain>;
3104
+ /**
3105
+ * Create a new platform domain
3106
+ * @summary Create a platform domain
3107
+ * @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
3108
+ * @param {*} [options] Override http request option.
3109
+ * @throws {RequiredError}
3110
+ */
3111
+ createDomain(requestParameters?: PlatformApiCreateDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain>;
3112
+ /**
3113
+ * Delete an existing client platform domain
3114
+ * @summary Delete a platform client domain
3115
+ * @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
3116
+ * @param {*} [options] Override http request option.
3117
+ * @throws {RequiredError}
3118
+ */
3119
+ deleteClientDomain(requestParameters: PlatformApiDeleteClientDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3120
+ /**
3121
+ * Delete an existing platform domain
3122
+ * @summary Delete a platform domain
3123
+ * @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
3124
+ * @param {*} [options] Override http request option.
3125
+ * @throws {RequiredError}
3126
+ */
3127
+ deleteDomain(requestParameters: PlatformApiDeleteDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2867
3128
  /**
2868
3129
  *
2869
3130
  * @summary Get platform details
@@ -2872,6 +3133,20 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
2872
3133
  * @throws {RequiredError}
2873
3134
  */
2874
3135
  getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
3136
+ /**
3137
+ * List the client domains attached to a platform
3138
+ * @summary List platform client domains
3139
+ * @param {*} [options] Override http request option.
3140
+ * @throws {RequiredError}
3141
+ */
3142
+ listClientDomains(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
3143
+ /**
3144
+ * List the domains attached to a platform
3145
+ * @summary List platform domains
3146
+ * @param {*} [options] Override http request option.
3147
+ * @throws {RequiredError}
3148
+ */
3149
+ listDomains(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
2875
3150
  /**
2876
3151
  *
2877
3152
  * @summary Update platform
@@ -2881,6 +3156,58 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
2881
3156
  */
2882
3157
  updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
2883
3158
  };
3159
+ /**
3160
+ * Request parameters for createClientDomain operation in PlatformApi.
3161
+ * @export
3162
+ * @interface PlatformApiCreateClientDomainRequest
3163
+ */
3164
+ export interface PlatformApiCreateClientDomainRequest {
3165
+ /**
3166
+ *
3167
+ * @type {CreateDomainRequest}
3168
+ * @memberof PlatformApiCreateClientDomain
3169
+ */
3170
+ readonly createDomainRequest?: CreateDomainRequest;
3171
+ }
3172
+ /**
3173
+ * Request parameters for createDomain operation in PlatformApi.
3174
+ * @export
3175
+ * @interface PlatformApiCreateDomainRequest
3176
+ */
3177
+ export interface PlatformApiCreateDomainRequest {
3178
+ /**
3179
+ *
3180
+ * @type {CreateDomainRequest}
3181
+ * @memberof PlatformApiCreateDomain
3182
+ */
3183
+ readonly createDomainRequest?: CreateDomainRequest;
3184
+ }
3185
+ /**
3186
+ * Request parameters for deleteClientDomain operation in PlatformApi.
3187
+ * @export
3188
+ * @interface PlatformApiDeleteClientDomainRequest
3189
+ */
3190
+ export interface PlatformApiDeleteClientDomainRequest {
3191
+ /**
3192
+ * The domain identifier
3193
+ * @type {string}
3194
+ * @memberof PlatformApiDeleteClientDomain
3195
+ */
3196
+ readonly domain: string;
3197
+ }
3198
+ /**
3199
+ * Request parameters for deleteDomain operation in PlatformApi.
3200
+ * @export
3201
+ * @interface PlatformApiDeleteDomainRequest
3202
+ */
3203
+ export interface PlatformApiDeleteDomainRequest {
3204
+ /**
3205
+ * The domain identifier
3206
+ * @type {string}
3207
+ * @memberof PlatformApiDeleteDomain
3208
+ */
3209
+ readonly domain: string;
3210
+ }
2884
3211
  /**
2885
3212
  * Request parameters for getPlatform operation in PlatformApi.
2886
3213
  * @export
@@ -2920,6 +3247,42 @@ export interface PlatformApiUpdatePlatformRequest {
2920
3247
  * @extends {BaseAPI}
2921
3248
  */
2922
3249
  export declare class PlatformApi extends BaseAPI {
3250
+ /**
3251
+ * Create a new client platform domain
3252
+ * @summary Create a platform client domain
3253
+ * @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ * @memberof PlatformApi
3257
+ */
3258
+ createClientDomain(requestParameters?: PlatformApiCreateClientDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Domain, any>>;
3259
+ /**
3260
+ * Create a new platform domain
3261
+ * @summary Create a platform domain
3262
+ * @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
3263
+ * @param {*} [options] Override http request option.
3264
+ * @throws {RequiredError}
3265
+ * @memberof PlatformApi
3266
+ */
3267
+ createDomain(requestParameters?: PlatformApiCreateDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Domain, any>>;
3268
+ /**
3269
+ * Delete an existing client platform domain
3270
+ * @summary Delete a platform client domain
3271
+ * @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
3272
+ * @param {*} [options] Override http request option.
3273
+ * @throws {RequiredError}
3274
+ * @memberof PlatformApi
3275
+ */
3276
+ deleteClientDomain(requestParameters: PlatformApiDeleteClientDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3277
+ /**
3278
+ * Delete an existing platform domain
3279
+ * @summary Delete a platform domain
3280
+ * @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
3281
+ * @param {*} [options] Override http request option.
3282
+ * @throws {RequiredError}
3283
+ * @memberof PlatformApi
3284
+ */
3285
+ deleteDomain(requestParameters: PlatformApiDeleteDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2923
3286
  /**
2924
3287
  *
2925
3288
  * @summary Get platform details
@@ -2929,6 +3292,22 @@ export declare class PlatformApi extends BaseAPI {
2929
3292
  * @memberof PlatformApi
2930
3293
  */
2931
3294
  getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
3295
+ /**
3296
+ * List the client domains attached to a platform
3297
+ * @summary List platform client domains
3298
+ * @param {*} [options] Override http request option.
3299
+ * @throws {RequiredError}
3300
+ * @memberof PlatformApi
3301
+ */
3302
+ listClientDomains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
3303
+ /**
3304
+ * List the domains attached to a platform
3305
+ * @summary List platform domains
3306
+ * @param {*} [options] Override http request option.
3307
+ * @throws {RequiredError}
3308
+ * @memberof PlatformApi
3309
+ */
3310
+ listDomains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
2932
3311
  /**
2933
3312
  *
2934
3313
  * @summary Update platform
@@ -3269,3 +3648,145 @@ export declare class ReviewsApi extends BaseAPI {
3269
3648
  */
3270
3649
  moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
3271
3650
  }
3651
+ /**
3652
+ * TermsApi - axios parameter creator
3653
+ * @export
3654
+ */
3655
+ export declare const TermsApiAxiosParamCreator: (configuration?: Configuration) => {
3656
+ /**
3657
+ *
3658
+ * @summary Get the platform\'s terms
3659
+ * @param {string} project Project unique identifier
3660
+ * @param {string} platformId The platform identifier
3661
+ * @param {*} [options] Override http request option.
3662
+ * @throws {RequiredError}
3663
+ */
3664
+ getTerms: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3665
+ /**
3666
+ *
3667
+ * @summary Save the platform\'s terms
3668
+ * @param {string} project Project unique identifier
3669
+ * @param {string} platformId The platform identifier
3670
+ * @param {SaveTermsRequest} saveTermsRequest Save terms
3671
+ * @param {*} [options] Override http request option.
3672
+ * @throws {RequiredError}
3673
+ */
3674
+ saveTerms: (project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3675
+ };
3676
+ /**
3677
+ * TermsApi - functional programming interface
3678
+ * @export
3679
+ */
3680
+ export declare const TermsApiFp: (configuration?: Configuration) => {
3681
+ /**
3682
+ *
3683
+ * @summary Get the platform\'s terms
3684
+ * @param {string} project Project unique identifier
3685
+ * @param {string} platformId The platform identifier
3686
+ * @param {*} [options] Override http request option.
3687
+ * @throws {RequiredError}
3688
+ */
3689
+ getTerms(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
3690
+ /**
3691
+ *
3692
+ * @summary Save the platform\'s terms
3693
+ * @param {string} project Project unique identifier
3694
+ * @param {string} platformId The platform identifier
3695
+ * @param {SaveTermsRequest} saveTermsRequest Save terms
3696
+ * @param {*} [options] Override http request option.
3697
+ * @throws {RequiredError}
3698
+ */
3699
+ saveTerms(project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
3700
+ };
3701
+ /**
3702
+ * TermsApi - factory interface
3703
+ * @export
3704
+ */
3705
+ export declare const TermsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3706
+ /**
3707
+ *
3708
+ * @summary Get the platform\'s terms
3709
+ * @param {TermsApiGetTermsRequest} requestParameters Request parameters.
3710
+ * @param {*} [options] Override http request option.
3711
+ * @throws {RequiredError}
3712
+ */
3713
+ getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
3714
+ /**
3715
+ *
3716
+ * @summary Save the platform\'s terms
3717
+ * @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
3718
+ * @param {*} [options] Override http request option.
3719
+ * @throws {RequiredError}
3720
+ */
3721
+ saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
3722
+ };
3723
+ /**
3724
+ * Request parameters for getTerms operation in TermsApi.
3725
+ * @export
3726
+ * @interface TermsApiGetTermsRequest
3727
+ */
3728
+ export interface TermsApiGetTermsRequest {
3729
+ /**
3730
+ * Project unique identifier
3731
+ * @type {string}
3732
+ * @memberof TermsApiGetTerms
3733
+ */
3734
+ readonly project: string;
3735
+ /**
3736
+ * The platform identifier
3737
+ * @type {string}
3738
+ * @memberof TermsApiGetTerms
3739
+ */
3740
+ readonly platformId: string;
3741
+ }
3742
+ /**
3743
+ * Request parameters for saveTerms operation in TermsApi.
3744
+ * @export
3745
+ * @interface TermsApiSaveTermsRequest
3746
+ */
3747
+ export interface TermsApiSaveTermsRequest {
3748
+ /**
3749
+ * Project unique identifier
3750
+ * @type {string}
3751
+ * @memberof TermsApiSaveTerms
3752
+ */
3753
+ readonly project: string;
3754
+ /**
3755
+ * The platform identifier
3756
+ * @type {string}
3757
+ * @memberof TermsApiSaveTerms
3758
+ */
3759
+ readonly platformId: string;
3760
+ /**
3761
+ * Save terms
3762
+ * @type {SaveTermsRequest}
3763
+ * @memberof TermsApiSaveTerms
3764
+ */
3765
+ readonly saveTermsRequest: SaveTermsRequest;
3766
+ }
3767
+ /**
3768
+ * TermsApi - object-oriented interface
3769
+ * @export
3770
+ * @class TermsApi
3771
+ * @extends {BaseAPI}
3772
+ */
3773
+ export declare class TermsApi extends BaseAPI {
3774
+ /**
3775
+ *
3776
+ * @summary Get the platform\'s terms
3777
+ * @param {TermsApiGetTermsRequest} requestParameters Request parameters.
3778
+ * @param {*} [options] Override http request option.
3779
+ * @throws {RequiredError}
3780
+ * @memberof TermsApi
3781
+ */
3782
+ getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
3783
+ /**
3784
+ *
3785
+ * @summary Save the platform\'s terms
3786
+ * @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
3787
+ * @param {*} [options] Override http request option.
3788
+ * @throws {RequiredError}
3789
+ * @memberof TermsApi
3790
+ */
3791
+ saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
3792
+ }