@teemill/platform 0.21.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/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.21.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
@@ -2765,7 +2828,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
2765
2828
  * @param {*} [options] Override http request option.
2766
2829
  * @throws {RequiredError}
2767
2830
  */
2768
- 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>>;
2769
2832
  /**
2770
2833
  * Deauthorize a Stripe payment account
2771
2834
  * @summary Deauthorize Stripe
@@ -2795,7 +2858,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
2795
2858
  * @param {*} [options] Override http request option.
2796
2859
  * @throws {RequiredError}
2797
2860
  */
2798
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response>;
2861
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
2799
2862
  /**
2800
2863
  * Deauthorize a Stripe payment account
2801
2864
  * @summary Deauthorize Stripe
@@ -2867,7 +2930,7 @@ export declare class PaymentApi extends BaseAPI {
2867
2930
  * @throws {RequiredError}
2868
2931
  * @memberof PaymentApi
2869
2932
  */
2870
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizeStripe200Response, any>>;
2933
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
2871
2934
  /**
2872
2935
  * Deauthorize a Stripe payment account
2873
2936
  * @summary Deauthorize Stripe
@@ -2892,6 +2955,38 @@ export declare class PaymentApi extends BaseAPI {
2892
2955
  * @export
2893
2956
  */
2894
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>;
2895
2990
  /**
2896
2991
  *
2897
2992
  * @summary Get platform details
@@ -2900,6 +2995,20 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2900
2995
  * @throws {RequiredError}
2901
2996
  */
2902
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>;
2903
3012
  /**
2904
3013
  *
2905
3014
  * @summary Update platform
@@ -2915,6 +3024,38 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
2915
3024
  * @export
2916
3025
  */
2917
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>>;
2918
3059
  /**
2919
3060
  *
2920
3061
  * @summary Get platform details
@@ -2923,6 +3064,20 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2923
3064
  * @throws {RequiredError}
2924
3065
  */
2925
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>>;
2926
3081
  /**
2927
3082
  *
2928
3083
  * @summary Update platform
@@ -2938,6 +3093,38 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
2938
3093
  * @export
2939
3094
  */
2940
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>;
2941
3128
  /**
2942
3129
  *
2943
3130
  * @summary Get platform details
@@ -2946,6 +3133,20 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
2946
3133
  * @throws {RequiredError}
2947
3134
  */
2948
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>;
2949
3150
  /**
2950
3151
  *
2951
3152
  * @summary Update platform
@@ -2955,6 +3156,58 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
2955
3156
  */
2956
3157
  updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
2957
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
+ }
2958
3211
  /**
2959
3212
  * Request parameters for getPlatform operation in PlatformApi.
2960
3213
  * @export
@@ -2994,6 +3247,42 @@ export interface PlatformApiUpdatePlatformRequest {
2994
3247
  * @extends {BaseAPI}
2995
3248
  */
2996
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>>;
2997
3286
  /**
2998
3287
  *
2999
3288
  * @summary Get platform details
@@ -3003,6 +3292,22 @@ export declare class PlatformApi extends BaseAPI {
3003
3292
  * @memberof PlatformApi
3004
3293
  */
3005
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>>;
3006
3311
  /**
3007
3312
  *
3008
3313
  * @summary Update platform