@emilgroup/public-api-sdk 1.25.0 → 1.26.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/.openapi-generator/FILES +9 -0
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +161 -0
- package/api/documents-api.ts +36 -22
- package/api/leads-api.ts +4 -4
- package/api/named-ranges-api.ts +250 -0
- package/api/products-api.ts +65 -38
- package/api.ts +4 -0
- package/base.ts +1 -0
- package/dist/api/address-completions-validations-api.d.ts +215 -0
- package/dist/api/address-completions-validations-api.js +369 -0
- package/dist/api/booking-funnels-api.d.ts +96 -0
- package/dist/api/booking-funnels-api.js +223 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/documents-api.d.ts +548 -0
- package/dist/api/documents-api.js +857 -0
- package/dist/api/leads-api.d.ts +441 -0
- package/dist/api/leads-api.js +787 -0
- package/dist/api/named-ranges-api.d.ts +150 -0
- package/dist/api/named-ranges-api.js +263 -0
- package/dist/api/notifications-api.d.ts +211 -0
- package/dist/api/notifications-api.js +410 -0
- package/dist/api/payments-setup-api.d.ts +228 -0
- package/dist/api/payments-setup-api.js +422 -0
- package/dist/api/products-api.d.ts +581 -0
- package/dist/api/products-api.js +933 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +299 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/address-completion-item-class.d.ts +49 -0
- package/dist/models/address-completion-item-class.js +15 -0
- package/dist/models/address-completion-response-class.d.ts +25 -0
- package/dist/models/address-completion-response-class.js +15 -0
- package/dist/models/address-field-score-class.d.ts +48 -0
- package/dist/models/address-field-score-class.js +15 -0
- package/dist/models/booking-funnel-class.d.ts +90 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
- package/dist/models/calculate-product-fields-request-dto.js +15 -0
- package/dist/models/calculate-product-fields-response-class.d.ts +25 -0
- package/dist/models/calculate-product-fields-response-class.js +15 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-email-verification-dto.d.ts +30 -0
- package/dist/models/complete-email-verification-dto.js +15 -0
- package/dist/models/complete-email-verification-response-class.d.ts +24 -0
- package/dist/models/complete-email-verification-response-class.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +132 -0
- package/dist/models/create-account-request-dto.js +31 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-custom-application-request-dto.d.ts +35 -0
- package/dist/models/create-custom-application-request-dto.js +20 -0
- package/dist/models/create-custom-application-response-class.d.ts +24 -0
- package/dist/models/create-custom-application-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +132 -0
- package/dist/models/create-document-request-dto.js +43 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +55 -0
- package/dist/models/create-estimated-invoice-request-dto.js +20 -0
- package/dist/models/create-estimated-invoice-response-class.d.ts +38 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-lead-async-response-class.d.ts +24 -0
- package/dist/models/create-lead-async-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +120 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +36 -0
- package/dist/models/create-payment-method-request-dto.js +20 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
- package/dist/models/create-presigned-post-request-dto.js +52 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/document-class.d.ts +144 -0
- package/dist/models/document-class.js +49 -0
- package/dist/models/filter-named-range-response-class.d.ts +42 -0
- package/dist/models/filter-named-range-response-class.js +15 -0
- package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/get-booking-funnel-response-class.js +15 -0
- package/dist/models/get-custom-css-response-class.d.ts +24 -0
- package/dist/models/get-custom-css-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-product-document-download-url-response-class.js +15 -0
- package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
- package/dist/models/get-public-psp-settings-response-class.js +15 -0
- package/dist/models/index.d.ts +79 -0
- package/dist/models/index.js +95 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-email-verification-dto.d.ts +30 -0
- package/dist/models/initiate-email-verification-dto.js +15 -0
- package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
- package/dist/models/initiate-email-verification-response-class.js +15 -0
- package/dist/models/initiate-lead-response-class.d.ts +24 -0
- package/dist/models/initiate-lead-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/insured-object-class.d.ts +85 -0
- package/dist/models/insured-object-class.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +48 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +134 -0
- package/dist/models/invoice-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +120 -0
- package/dist/models/invoice-item-class.js +15 -0
- package/dist/models/invoice-status-class.d.ts +42 -0
- package/dist/models/invoice-status-class.js +15 -0
- package/dist/models/lead-account-class.d.ts +109 -0
- package/dist/models/lead-account-class.js +22 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +116 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/lead-policy-class.d.ts +43 -0
- package/dist/models/lead-policy-class.js +15 -0
- package/dist/models/lead-policy-object-class.d.ts +36 -0
- package/dist/models/lead-policy-object-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +54 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +60 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/policy-object-request-dto.d.ts +42 -0
- package/dist/models/policy-object-request-dto.js +15 -0
- package/dist/models/policy-object-response-class.d.ts +36 -0
- package/dist/models/policy-object-response-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +80 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-document-class.d.ts +123 -0
- package/dist/models/product-document-class.js +36 -0
- package/dist/models/product-factor-for-version-class.d.ts +61 -0
- package/dist/models/product-factor-for-version-class.js +15 -0
- package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
- package/dist/models/product-factor-value-for-version-class.js +15 -0
- package/dist/models/product-field-class.d.ts +132 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/product-version-class.d.ts +61 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/send-notification-request-dto.d.ts +36 -0
- package/dist/models/send-notification-request-dto.js +15 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/structured-address-class.d.ts +54 -0
- package/dist/models/structured-address-class.js +15 -0
- package/dist/models/suggested-address-details-class.d.ts +90 -0
- package/dist/models/suggested-address-details-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +95 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/dist/models/validate-address-response-class.d.ts +50 -0
- package/dist/models/validate-address-response-class.js +15 -0
- package/models/address-field-score-class.ts +10 -10
- package/models/booking-funnel-class.ts +96 -0
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-document-request-dto.ts +2 -2
- package/models/create-lead-request-dto.ts +13 -1
- package/models/create-presigned-post-request-dto.ts +2 -2
- package/models/document-class.ts +1 -1
- package/models/filter-named-range-response-class.ts +48 -0
- package/models/get-booking-funnel-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/initiate-email-verification-dto.ts +1 -1
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-account-class.ts +1 -1
- package/models/lead-class.ts +7 -0
- package/models/lead-policy-object-class.ts +2 -2
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/partner-role-class.ts +60 -0
- package/models/product-class.ts +1 -1
- package/models/product-document-class.ts +14 -2
- package/models/product-factor-for-version-class.ts +4 -3
- package/models/product-factor-value-for-version-class.ts +48 -0
- package/models/send-notification-request-dto.ts +1 -1
- package/models/update-lead-request-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { FilterNamedRangeResponseClass } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* NamedRangesApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const NamedRangesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
23
|
+
* @summary List named range file records
|
|
24
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
|
+
* @param {string} name Name of Named Range.
|
|
26
|
+
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
28
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
29
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
30
|
+
* @param {string} [search] Search the list by any field.
|
|
31
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
filterNamedRange: (productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* NamedRangesApi - functional programming interface
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const NamedRangesApiFp: (configuration?: Configuration) => {
|
|
42
|
+
/**
|
|
43
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
44
|
+
* @summary List named range file records
|
|
45
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
46
|
+
* @param {string} name Name of Named Range.
|
|
47
|
+
* @param {string} [authorization] Bearer Token
|
|
48
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
49
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
50
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
51
|
+
* @param {string} [search] Search the list by any field.
|
|
52
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterNamedRangeResponseClass>>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* NamedRangesApi - factory interface
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const NamedRangesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
63
|
+
/**
|
|
64
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
65
|
+
* @summary List named range file records
|
|
66
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
67
|
+
* @param {string} name Name of Named Range.
|
|
68
|
+
* @param {string} [authorization] Bearer Token
|
|
69
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
70
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
71
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
72
|
+
* @param {string} [search] Search the list by any field.
|
|
73
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: any): AxiosPromise<FilterNamedRangeResponseClass>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Request parameters for filterNamedRange operation in NamedRangesApi.
|
|
81
|
+
* @export
|
|
82
|
+
* @interface NamedRangesApiFilterNamedRangeRequest
|
|
83
|
+
*/
|
|
84
|
+
export interface NamedRangesApiFilterNamedRangeRequest {
|
|
85
|
+
/**
|
|
86
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
89
|
+
*/
|
|
90
|
+
readonly productSlug: string;
|
|
91
|
+
/**
|
|
92
|
+
* Name of Named Range.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
95
|
+
*/
|
|
96
|
+
readonly name: string;
|
|
97
|
+
/**
|
|
98
|
+
* Bearer Token
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
101
|
+
*/
|
|
102
|
+
readonly authorization?: string;
|
|
103
|
+
/**
|
|
104
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
105
|
+
* @type {number}
|
|
106
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
107
|
+
*/
|
|
108
|
+
readonly pageSize?: number;
|
|
109
|
+
/**
|
|
110
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
113
|
+
*/
|
|
114
|
+
readonly pageToken?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
119
|
+
*/
|
|
120
|
+
readonly filters?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Search the list by any field.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
125
|
+
*/
|
|
126
|
+
readonly search?: string;
|
|
127
|
+
/**
|
|
128
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
131
|
+
*/
|
|
132
|
+
readonly order?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* NamedRangesApi - object-oriented interface
|
|
136
|
+
* @export
|
|
137
|
+
* @class NamedRangesApi
|
|
138
|
+
* @extends {BaseAPI}
|
|
139
|
+
*/
|
|
140
|
+
export declare class NamedRangesApi extends BaseAPI {
|
|
141
|
+
/**
|
|
142
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
143
|
+
* @summary List named range file records
|
|
144
|
+
* @param {NamedRangesApiFilterNamedRangeRequest} requestParameters Request parameters.
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
* @memberof NamedRangesApi
|
|
148
|
+
*/
|
|
149
|
+
filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any>>;
|
|
150
|
+
}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.NamedRangesApi = exports.NamedRangesApiFactory = exports.NamedRangesApiFp = exports.NamedRangesApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
/**
|
|
89
|
+
* NamedRangesApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
97
|
+
* @summary List named range file records
|
|
98
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
99
|
+
* @param {string} name Name of Named Range.
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
102
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
103
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
104
|
+
* @param {string} [search] Search the list by any field.
|
|
105
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
110
|
+
if (options === void 0) { options = {}; }
|
|
111
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0:
|
|
116
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('filterNamedRange', 'productSlug', productSlug);
|
|
118
|
+
// verify required parameter 'name' is not null or undefined
|
|
119
|
+
(0, common_1.assertParamExists)('filterNamedRange', 'name', name);
|
|
120
|
+
localVarPath = "/publicapi/v1/named-ranges/records";
|
|
121
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
baseAccessToken = configuration.accessToken;
|
|
125
|
+
}
|
|
126
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
127
|
+
localVarHeaderParameter = {};
|
|
128
|
+
localVarQueryParameter = {};
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
132
|
+
case 1:
|
|
133
|
+
// authentication bearer required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
_a.sent();
|
|
136
|
+
if (productSlug !== undefined) {
|
|
137
|
+
localVarQueryParameter['productSlug'] = productSlug;
|
|
138
|
+
}
|
|
139
|
+
if (name !== undefined) {
|
|
140
|
+
localVarQueryParameter['name'] = name;
|
|
141
|
+
}
|
|
142
|
+
if (pageSize !== undefined) {
|
|
143
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
144
|
+
}
|
|
145
|
+
if (pageToken !== undefined) {
|
|
146
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
147
|
+
}
|
|
148
|
+
if (filters !== undefined) {
|
|
149
|
+
localVarQueryParameter['filters'] = filters;
|
|
150
|
+
}
|
|
151
|
+
if (search !== undefined) {
|
|
152
|
+
localVarQueryParameter['search'] = search;
|
|
153
|
+
}
|
|
154
|
+
if (order !== undefined) {
|
|
155
|
+
localVarQueryParameter['order'] = order;
|
|
156
|
+
}
|
|
157
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
158
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
159
|
+
}
|
|
160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
161
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
163
|
+
return [2 /*return*/, {
|
|
164
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
}];
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
exports.NamedRangesApiAxiosParamCreator = NamedRangesApiAxiosParamCreator;
|
|
174
|
+
/**
|
|
175
|
+
* NamedRangesApi - functional programming interface
|
|
176
|
+
* @export
|
|
177
|
+
*/
|
|
178
|
+
var NamedRangesApiFp = function (configuration) {
|
|
179
|
+
var localVarAxiosParamCreator = (0, exports.NamedRangesApiAxiosParamCreator)(configuration);
|
|
180
|
+
return {
|
|
181
|
+
/**
|
|
182
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
183
|
+
* @summary List named range file records
|
|
184
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
185
|
+
* @param {string} name Name of Named Range.
|
|
186
|
+
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
189
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
190
|
+
* @param {string} [search] Search the list by any field.
|
|
191
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
197
|
+
var localVarAxiosArgs;
|
|
198
|
+
return __generator(this, function (_a) {
|
|
199
|
+
switch (_a.label) {
|
|
200
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options)];
|
|
201
|
+
case 1:
|
|
202
|
+
localVarAxiosArgs = _a.sent();
|
|
203
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
exports.NamedRangesApiFp = NamedRangesApiFp;
|
|
211
|
+
/**
|
|
212
|
+
* NamedRangesApi - factory interface
|
|
213
|
+
* @export
|
|
214
|
+
*/
|
|
215
|
+
var NamedRangesApiFactory = function (configuration, basePath, axios) {
|
|
216
|
+
var localVarFp = (0, exports.NamedRangesApiFp)(configuration);
|
|
217
|
+
return {
|
|
218
|
+
/**
|
|
219
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
220
|
+
* @summary List named range file records
|
|
221
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
222
|
+
* @param {string} name Name of Named Range.
|
|
223
|
+
* @param {string} [authorization] Bearer Token
|
|
224
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
225
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
226
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
227
|
+
* @param {string} [search] Search the list by any field.
|
|
228
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
233
|
+
return localVarFp.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options).then(function (request) { return request(axios, basePath); });
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
exports.NamedRangesApiFactory = NamedRangesApiFactory;
|
|
238
|
+
/**
|
|
239
|
+
* NamedRangesApi - object-oriented interface
|
|
240
|
+
* @export
|
|
241
|
+
* @class NamedRangesApi
|
|
242
|
+
* @extends {BaseAPI}
|
|
243
|
+
*/
|
|
244
|
+
var NamedRangesApi = /** @class */ (function (_super) {
|
|
245
|
+
__extends(NamedRangesApi, _super);
|
|
246
|
+
function NamedRangesApi() {
|
|
247
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
251
|
+
* @summary List named range file records
|
|
252
|
+
* @param {NamedRangesApiFilterNamedRangeRequest} requestParameters Request parameters.
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
* @memberof NamedRangesApi
|
|
256
|
+
*/
|
|
257
|
+
NamedRangesApi.prototype.filterNamedRange = function (requestParameters, options) {
|
|
258
|
+
var _this = this;
|
|
259
|
+
return (0, exports.NamedRangesApiFp)(this.configuration).filterNamedRange(requestParameters.productSlug, requestParameters.name, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filters, requestParameters.search, requestParameters.order, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
260
|
+
};
|
|
261
|
+
return NamedRangesApi;
|
|
262
|
+
}(base_1.BaseAPI));
|
|
263
|
+
exports.NamedRangesApi = NamedRangesApi;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CompleteEmailVerificationDto } from '../models';
|
|
16
|
+
import { CompleteEmailVerificationResponseClass } from '../models';
|
|
17
|
+
import { InitiateEmailVerificationDto } from '../models';
|
|
18
|
+
import { InitiateEmailVerificationResponseClass } from '../models';
|
|
19
|
+
import { SendNotificationRequestDto } from '../models';
|
|
20
|
+
import { SendNotificationResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* NotificationsApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
* This validates a token provided by customer.
|
|
28
|
+
* @summary Complete Email Verification.
|
|
29
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
completeEmailVerification: (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
37
|
+
* @summary Initiate Email Verification.
|
|
38
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
39
|
+
* @param {string} [authorization] Bearer Token
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
initiateEmailVerification: (initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
46
|
+
* @summary Send an email.
|
|
47
|
+
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
48
|
+
* @param {string} [authorization] Bearer Token
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
sendNotification: (sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* NotificationsApi - functional programming interface
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
59
|
+
/**
|
|
60
|
+
* This validates a token provided by customer.
|
|
61
|
+
* @summary Complete Email Verification.
|
|
62
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
63
|
+
* @param {string} [authorization] Bearer Token
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>>;
|
|
68
|
+
/**
|
|
69
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
70
|
+
* @summary Initiate Email Verification.
|
|
71
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
72
|
+
* @param {string} [authorization] Bearer Token
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateEmailVerificationResponseClass>>;
|
|
77
|
+
/**
|
|
78
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
79
|
+
* @summary Send an email.
|
|
80
|
+
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
81
|
+
* @param {string} [authorization] Bearer Token
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendNotificationResponseClass>>;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* NotificationsApi - factory interface
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
|
+
/**
|
|
93
|
+
* This validates a token provided by customer.
|
|
94
|
+
* @summary Complete Email Verification.
|
|
95
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
96
|
+
* @param {string} [authorization] Bearer Token
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass>;
|
|
101
|
+
/**
|
|
102
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
103
|
+
* @summary Initiate Email Verification.
|
|
104
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
105
|
+
* @param {string} [authorization] Bearer Token
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<InitiateEmailVerificationResponseClass>;
|
|
110
|
+
/**
|
|
111
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
112
|
+
* @summary Send an email.
|
|
113
|
+
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
114
|
+
* @param {string} [authorization] Bearer Token
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: any): AxiosPromise<SendNotificationResponseClass>;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Request parameters for completeEmailVerification operation in NotificationsApi.
|
|
122
|
+
* @export
|
|
123
|
+
* @interface NotificationsApiCompleteEmailVerificationRequest
|
|
124
|
+
*/
|
|
125
|
+
export interface NotificationsApiCompleteEmailVerificationRequest {
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {CompleteEmailVerificationDto}
|
|
129
|
+
* @memberof NotificationsApiCompleteEmailVerification
|
|
130
|
+
*/
|
|
131
|
+
readonly completeEmailVerificationDto: CompleteEmailVerificationDto;
|
|
132
|
+
/**
|
|
133
|
+
* Bearer Token
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof NotificationsApiCompleteEmailVerification
|
|
136
|
+
*/
|
|
137
|
+
readonly authorization?: string;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Request parameters for initiateEmailVerification operation in NotificationsApi.
|
|
141
|
+
* @export
|
|
142
|
+
* @interface NotificationsApiInitiateEmailVerificationRequest
|
|
143
|
+
*/
|
|
144
|
+
export interface NotificationsApiInitiateEmailVerificationRequest {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {InitiateEmailVerificationDto}
|
|
148
|
+
* @memberof NotificationsApiInitiateEmailVerification
|
|
149
|
+
*/
|
|
150
|
+
readonly initiateEmailVerificationDto: InitiateEmailVerificationDto;
|
|
151
|
+
/**
|
|
152
|
+
* Bearer Token
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof NotificationsApiInitiateEmailVerification
|
|
155
|
+
*/
|
|
156
|
+
readonly authorization?: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Request parameters for sendNotification operation in NotificationsApi.
|
|
160
|
+
* @export
|
|
161
|
+
* @interface NotificationsApiSendNotificationRequest
|
|
162
|
+
*/
|
|
163
|
+
export interface NotificationsApiSendNotificationRequest {
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {SendNotificationRequestDto}
|
|
167
|
+
* @memberof NotificationsApiSendNotification
|
|
168
|
+
*/
|
|
169
|
+
readonly sendNotificationRequestDto: SendNotificationRequestDto;
|
|
170
|
+
/**
|
|
171
|
+
* Bearer Token
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof NotificationsApiSendNotification
|
|
174
|
+
*/
|
|
175
|
+
readonly authorization?: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* NotificationsApi - object-oriented interface
|
|
179
|
+
* @export
|
|
180
|
+
* @class NotificationsApi
|
|
181
|
+
* @extends {BaseAPI}
|
|
182
|
+
*/
|
|
183
|
+
export declare class NotificationsApi extends BaseAPI {
|
|
184
|
+
/**
|
|
185
|
+
* This validates a token provided by customer.
|
|
186
|
+
* @summary Complete Email Verification.
|
|
187
|
+
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
* @memberof NotificationsApi
|
|
191
|
+
*/
|
|
192
|
+
completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
|
|
193
|
+
/**
|
|
194
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
195
|
+
* @summary Initiate Email Verification.
|
|
196
|
+
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
* @memberof NotificationsApi
|
|
200
|
+
*/
|
|
201
|
+
initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
|
|
202
|
+
/**
|
|
203
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
204
|
+
* @summary Send an email.
|
|
205
|
+
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
* @memberof NotificationsApi
|
|
209
|
+
*/
|
|
210
|
+
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any>>;
|
|
211
|
+
}
|