@emilgroup/insurance-sdk-node 1.52.0 → 1.54.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 +38 -1
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +4 -4
- package/api/booking-funnels-api.ts +20 -12
- package/api/commission-agreement-products-api.ts +710 -0
- package/api/commission-agreement-versions-api.ts +592 -0
- package/api/commission-agreements-api.ts +697 -0
- package/api/commission-recipients-api.ts +696 -0
- package/api/emil-functions-api.ts +8 -8
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api/insured-objects-api.ts +5 -2
- package/api/lead-statuses-api.ts +4 -4
- package/api/lead-versions-api.ts +4 -4
- package/api/leads-api.ts +4 -4
- package/api/partner-links-api.ts +4 -4
- package/api/partner-roles-api.ts +4 -4
- package/api/policies-api.ts +192 -237
- package/api/products-api.ts +8 -8
- package/api/status-transition-rules-api.ts +4 -4
- package/api.ts +10 -2
- package/base.ts +15 -7
- package/dist/api/booking-funnel-versions-api.d.ts +4 -4
- package/dist/api/booking-funnel-versions-api.js +4 -4
- package/dist/api/booking-funnels-api.d.ts +20 -16
- package/dist/api/booking-funnels-api.js +4 -4
- package/dist/api/commission-agreement-products-api.d.ts +403 -0
- package/dist/api/commission-agreement-products-api.js +652 -0
- package/dist/api/commission-agreement-versions-api.d.ts +337 -0
- package/dist/api/commission-agreement-versions-api.js +555 -0
- package/dist/api/commission-agreements-api.d.ts +394 -0
- package/dist/api/commission-agreements-api.js +646 -0
- package/dist/api/commission-recipients-api.d.ts +394 -0
- package/dist/api/commission-recipients-api.js +646 -0
- package/dist/api/emil-functions-api.d.ts +8 -8
- package/dist/api/emil-functions-api.js +8 -8
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +30 -26
- package/dist/api/insured-objects-api.js +4 -2
- package/dist/api/lead-statuses-api.d.ts +4 -4
- package/dist/api/lead-statuses-api.js +4 -4
- package/dist/api/lead-versions-api.d.ts +4 -4
- package/dist/api/lead-versions-api.js +4 -4
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +4 -4
- package/dist/api/partner-links-api.d.ts +4 -4
- package/dist/api/partner-links-api.js +3 -3
- package/dist/api/partner-roles-api.d.ts +4 -4
- package/dist/api/partner-roles-api.js +4 -4
- package/dist/api/policies-api.d.ts +150 -177
- package/dist/api/policies-api.js +143 -165
- package/dist/api/products-api.d.ts +8 -8
- package/dist/api/products-api.js +8 -8
- package/dist/api/status-transition-rules-api.d.ts +4 -4
- package/dist/api/status-transition-rules-api.js +4 -4
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- package/dist/base.d.ts +3 -1
- package/dist/base.js +27 -20
- package/dist/models/booking-funnel-class.d.ts +12 -0
- package/dist/models/commission-agreement-class.d.ts +101 -0
- package/dist/models/commission-agreement-class.js +23 -0
- package/dist/models/commission-agreement-item-class.d.ts +78 -0
- package/dist/models/commission-agreement-item-class.js +15 -0
- package/dist/models/commission-agreement-product-class.d.ts +84 -0
- package/dist/models/commission-agreement-product-class.js +15 -0
- package/dist/models/commission-agreement-version-class.d.ts +91 -0
- package/dist/models/commission-agreement-version-class.js +15 -0
- package/dist/models/commission-recipient-class.d.ts +90 -0
- package/dist/models/commission-recipient-class.js +15 -0
- package/dist/models/create-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/create-booking-funnel-response-class.js +15 -0
- package/dist/models/create-commission-agreement-item-dto.d.ts +36 -0
- package/dist/models/create-commission-agreement-item-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-request-dto.d.ts +42 -0
- package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-product-response-class.js +15 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +75 -0
- package/dist/models/create-commission-agreement-request-dto.js +23 -0
- package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +49 -0
- package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-version-response-class.js +15 -0
- package/dist/models/create-commission-recipient-request-dto.d.ts +48 -0
- package/dist/models/create-commission-recipient-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-response-class.js +15 -0
- package/dist/models/create-dummy-policy-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +4 -9
- package/dist/models/emil-function-class.d.ts +12 -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-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-product-response-class.js +15 -0
- package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-response-class.js +15 -0
- package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-version-response-class.js +15 -0
- package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/get-commission-recipient-response-class.js +15 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.js +33 -0
- package/dist/models/insured-object-class.d.ts +12 -0
- package/dist/models/insured-object-type-class.d.ts +12 -0
- package/dist/models/lead-class.d.ts +12 -0
- package/dist/models/lead-status-class.d.ts +12 -0
- package/dist/models/link-lead-partner-request-dto.d.ts +36 -0
- package/dist/models/link-lead-partner-request-dto.js +15 -0
- package/dist/models/list-commission-agreement-products-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreement-products-response-class.js +15 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
- package/dist/models/list-commission-agreements-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreements-response-class.js +15 -0
- package/dist/models/list-commission-recipients-response-class.d.ts +31 -0
- package/dist/models/list-commission-recipients-response-class.js +15 -0
- package/dist/models/list-named-ranges-response-class.d.ts +3 -2
- package/dist/models/named-range-class.d.ts +12 -0
- package/dist/models/partner-link-class.d.ts +12 -0
- package/dist/models/partner-role-class.d.ts +12 -0
- package/dist/models/patch-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/patch-booking-funnel-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +12 -0
- package/dist/models/policy-object-class.d.ts +12 -0
- package/dist/models/policy-premium-class.d.ts +12 -0
- package/dist/models/policy-premium-item-class.d.ts +12 -0
- package/dist/models/policy-version-class.d.ts +12 -0
- package/dist/models/premium-formula-class.d.ts +12 -0
- package/dist/models/product-class.d.ts +12 -0
- package/dist/models/product-factor-class.d.ts +12 -0
- package/dist/models/product-factor-for-version-class.d.ts +12 -0
- package/dist/models/product-factor-value-class.d.ts +12 -0
- package/dist/models/product-field-class.d.ts +12 -0
- package/dist/models/product-field-type-class.d.ts +12 -0
- package/dist/models/product-version-class.d.ts +12 -0
- package/dist/models/shared-product-field-class.d.ts +12 -0
- package/dist/models/status-transition-rule-class.d.ts +12 -0
- package/dist/models/timeslice-class.d.ts +12 -0
- package/dist/models/update-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/update-booking-funnel-response-class.js +15 -0
- package/dist/models/update-commission-agreement-product-request-dto.d.ts +42 -0
- package/dist/models/update-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-product-response-class.js +15 -0
- package/dist/models/update-commission-agreement-request-dto.d.ts +44 -0
- package/dist/models/update-commission-agreement-request-dto.js +23 -0
- package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-response-class.js +15 -0
- package/dist/models/update-commission-recipient-request-dto.d.ts +48 -0
- package/dist/models/update-commission-recipient-request-dto.js +15 -0
- package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/update-commission-recipient-response-class.js +15 -0
- package/models/booking-funnel-class.ts +12 -0
- package/models/commission-agreement-class.ts +110 -0
- package/models/commission-agreement-item-class.ts +84 -0
- package/models/commission-agreement-product-class.ts +90 -0
- package/models/commission-agreement-version-class.ts +97 -0
- package/models/commission-recipient-class.ts +96 -0
- package/models/create-booking-funnel-response-class.ts +31 -0
- package/models/create-commission-agreement-item-dto.ts +42 -0
- package/models/create-commission-agreement-product-request-dto.ts +48 -0
- package/models/create-commission-agreement-product-response-class.ts +31 -0
- package/models/create-commission-agreement-request-dto.ts +84 -0
- package/models/create-commission-agreement-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +55 -0
- package/models/create-commission-agreement-version-response-class.ts +31 -0
- package/models/create-commission-recipient-request-dto.ts +54 -0
- package/models/create-commission-recipient-response-class.ts +31 -0
- package/models/create-dummy-policy-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +4 -9
- package/models/emil-function-class.ts +12 -0
- package/models/get-booking-funnel-response-class.ts +31 -0
- package/models/get-commission-agreement-product-response-class.ts +31 -0
- package/models/get-commission-agreement-response-class.ts +31 -0
- package/models/get-commission-agreement-version-response-class.ts +31 -0
- package/models/get-commission-recipient-response-class.ts +31 -0
- package/models/index.ts +33 -0
- package/models/insured-object-class.ts +12 -0
- package/models/insured-object-type-class.ts +12 -0
- package/models/lead-class.ts +12 -0
- package/models/lead-status-class.ts +12 -0
- package/models/link-lead-partner-request-dto.ts +42 -0
- package/models/list-commission-agreement-products-response-class.ts +37 -0
- package/models/list-commission-agreement-versions-response-class.ts +37 -0
- package/models/list-commission-agreements-response-class.ts +37 -0
- package/models/list-commission-recipients-response-class.ts +37 -0
- package/models/list-named-ranges-response-class.ts +3 -2
- package/models/named-range-class.ts +12 -0
- package/models/partner-link-class.ts +12 -0
- package/models/partner-role-class.ts +12 -0
- package/models/patch-booking-funnel-response-class.ts +31 -0
- package/models/policy-class.ts +12 -0
- package/models/policy-object-class.ts +12 -0
- package/models/policy-premium-class.ts +12 -0
- package/models/policy-premium-item-class.ts +12 -0
- package/models/policy-version-class.ts +12 -0
- package/models/premium-formula-class.ts +12 -0
- package/models/product-class.ts +12 -0
- package/models/product-factor-class.ts +12 -0
- package/models/product-factor-for-version-class.ts +12 -0
- package/models/product-factor-value-class.ts +12 -0
- package/models/product-field-class.ts +12 -0
- package/models/product-field-type-class.ts +12 -0
- package/models/product-version-class.ts +12 -0
- package/models/shared-product-field-class.ts +12 -0
- package/models/status-transition-rule-class.ts +12 -0
- package/models/timeslice-class.ts +12 -0
- package/models/update-booking-funnel-response-class.ts +31 -0
- package/models/update-commission-agreement-product-request-dto.ts +48 -0
- package/models/update-commission-agreement-product-response-class.ts +31 -0
- package/models/update-commission-agreement-request-dto.ts +53 -0
- package/models/update-commission-agreement-response-class.ts +31 -0
- package/models/update-commission-recipient-request-dto.ts +54 -0
- package/models/update-commission-recipient-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { CreateCommissionRecipientRequestDto } from '../models';
|
|
16
|
+
import { CreateCommissionRecipientResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetCommissionRecipientResponseClass } from '../models';
|
|
19
|
+
import { ListCommissionRecipientsResponseClass } from '../models';
|
|
20
|
+
import { UpdateCommissionRecipientRequestDto } from '../models';
|
|
21
|
+
import { UpdateCommissionRecipientResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* CommissionRecipientsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* This will create the commission recipient.
|
|
29
|
+
* @summary Create the Commission recipient
|
|
30
|
+
* @param {string} code
|
|
31
|
+
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
|
|
32
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
createCommissionRecipient: (code: string, createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* Permanently deletes the commission recipient. Supply the unique code that was returned when you created the commission recipient and this will delete it.
|
|
39
|
+
* @summary Delete the commission recipient
|
|
40
|
+
* @param {string} code
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
deleteCommissionRecipient: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves the details of the commission recipient that was previously created. Supply the unique commission recipient code that was returned when you created it and Emil Api will return the corresponding commission recipient information.
|
|
48
|
+
* @summary Retrieve the commission recipient
|
|
49
|
+
* @param {string} code
|
|
50
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
getCommissionRecipient: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
* Returns a list of commission recipients you have previously created. The commission recipients are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
|
+
* @summary List commission recipients
|
|
58
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
|
+
* @param {number} [pageSize] Page size.
|
|
60
|
+
* @param {string} [pageToken] Page token.
|
|
61
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
62
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
|
|
63
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
64
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
65
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
listCommissionRecipients: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* Updates the specified commission recipient by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
72
|
+
* @summary Update the commission recipient
|
|
73
|
+
* @param {string} code
|
|
74
|
+
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
|
|
75
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
updateCommissionRecipient: (code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* CommissionRecipientsApi - functional programming interface
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const CommissionRecipientsApiFp: (configuration?: Configuration) => {
|
|
86
|
+
/**
|
|
87
|
+
* This will create the commission recipient.
|
|
88
|
+
* @summary Create the Commission recipient
|
|
89
|
+
* @param {string} code
|
|
90
|
+
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
|
|
91
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
createCommissionRecipient(code: string, createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>>;
|
|
96
|
+
/**
|
|
97
|
+
* Permanently deletes the commission recipient. Supply the unique code that was returned when you created the commission recipient and this will delete it.
|
|
98
|
+
* @summary Delete the commission recipient
|
|
99
|
+
* @param {string} code
|
|
100
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
deleteCommissionRecipient(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieves the details of the commission recipient that was previously created. Supply the unique commission recipient code that was returned when you created it and Emil Api will return the corresponding commission recipient information.
|
|
107
|
+
* @summary Retrieve the commission recipient
|
|
108
|
+
* @param {string} code
|
|
109
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
getCommissionRecipient(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionRecipientResponseClass>>;
|
|
114
|
+
/**
|
|
115
|
+
* Returns a list of commission recipients you have previously created. The commission recipients are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
116
|
+
* @summary List commission recipients
|
|
117
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
|
+
* @param {number} [pageSize] Page size.
|
|
119
|
+
* @param {string} [pageToken] Page token.
|
|
120
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
121
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
|
|
122
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
123
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
124
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
listCommissionRecipients(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionRecipientsResponseClass>>;
|
|
129
|
+
/**
|
|
130
|
+
* Updates the specified commission recipient by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
131
|
+
* @summary Update the commission recipient
|
|
132
|
+
* @param {string} code
|
|
133
|
+
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
|
|
134
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
updateCommissionRecipient(code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionRecipientResponseClass>>;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* CommissionRecipientsApi - factory interface
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
export declare const CommissionRecipientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
145
|
+
/**
|
|
146
|
+
* This will create the commission recipient.
|
|
147
|
+
* @summary Create the Commission recipient
|
|
148
|
+
* @param {string} code
|
|
149
|
+
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
|
|
150
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
createCommissionRecipient(code: string, createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass>;
|
|
155
|
+
/**
|
|
156
|
+
* Permanently deletes the commission recipient. Supply the unique code that was returned when you created the commission recipient and this will delete it.
|
|
157
|
+
* @summary Delete the commission recipient
|
|
158
|
+
* @param {string} code
|
|
159
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
deleteCommissionRecipient(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
164
|
+
/**
|
|
165
|
+
* Retrieves the details of the commission recipient that was previously created. Supply the unique commission recipient code that was returned when you created it and Emil Api will return the corresponding commission recipient information.
|
|
166
|
+
* @summary Retrieve the commission recipient
|
|
167
|
+
* @param {string} code
|
|
168
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
getCommissionRecipient(code: string, authorization?: string, options?: any): AxiosPromise<GetCommissionRecipientResponseClass>;
|
|
173
|
+
/**
|
|
174
|
+
* Returns a list of commission recipients you have previously created. The commission recipients are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
175
|
+
* @summary List commission recipients
|
|
176
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
177
|
+
* @param {number} [pageSize] Page size.
|
|
178
|
+
* @param {string} [pageToken] Page token.
|
|
179
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
180
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
|
|
181
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
182
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
183
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
listCommissionRecipients(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionRecipientsResponseClass>;
|
|
188
|
+
/**
|
|
189
|
+
* Updates the specified commission recipient by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
190
|
+
* @summary Update the commission recipient
|
|
191
|
+
* @param {string} code
|
|
192
|
+
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
|
|
193
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
updateCommissionRecipient(code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionRecipientResponseClass>;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Request parameters for createCommissionRecipient operation in CommissionRecipientsApi.
|
|
201
|
+
* @export
|
|
202
|
+
* @interface CommissionRecipientsApiCreateCommissionRecipientRequest
|
|
203
|
+
*/
|
|
204
|
+
export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipient
|
|
209
|
+
*/
|
|
210
|
+
readonly code: string;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {CreateCommissionRecipientRequestDto}
|
|
214
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipient
|
|
215
|
+
*/
|
|
216
|
+
readonly createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto;
|
|
217
|
+
/**
|
|
218
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipient
|
|
221
|
+
*/
|
|
222
|
+
readonly authorization?: string;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
|
|
226
|
+
* @export
|
|
227
|
+
* @interface CommissionRecipientsApiDeleteCommissionRecipientRequest
|
|
228
|
+
*/
|
|
229
|
+
export interface CommissionRecipientsApiDeleteCommissionRecipientRequest {
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
|
|
234
|
+
*/
|
|
235
|
+
readonly code: string;
|
|
236
|
+
/**
|
|
237
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
|
|
240
|
+
*/
|
|
241
|
+
readonly authorization?: string;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Request parameters for getCommissionRecipient operation in CommissionRecipientsApi.
|
|
245
|
+
* @export
|
|
246
|
+
* @interface CommissionRecipientsApiGetCommissionRecipientRequest
|
|
247
|
+
*/
|
|
248
|
+
export interface CommissionRecipientsApiGetCommissionRecipientRequest {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof CommissionRecipientsApiGetCommissionRecipient
|
|
253
|
+
*/
|
|
254
|
+
readonly code: string;
|
|
255
|
+
/**
|
|
256
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof CommissionRecipientsApiGetCommissionRecipient
|
|
259
|
+
*/
|
|
260
|
+
readonly authorization?: string;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Request parameters for listCommissionRecipients operation in CommissionRecipientsApi.
|
|
264
|
+
* @export
|
|
265
|
+
* @interface CommissionRecipientsApiListCommissionRecipientsRequest
|
|
266
|
+
*/
|
|
267
|
+
export interface CommissionRecipientsApiListCommissionRecipientsRequest {
|
|
268
|
+
/**
|
|
269
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
|
+
* @type {string}
|
|
271
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
272
|
+
*/
|
|
273
|
+
readonly authorization?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Page size.
|
|
276
|
+
* @type {number}
|
|
277
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
278
|
+
*/
|
|
279
|
+
readonly pageSize?: number;
|
|
280
|
+
/**
|
|
281
|
+
* Page token.
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
284
|
+
*/
|
|
285
|
+
readonly pageToken?: string;
|
|
286
|
+
/**
|
|
287
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
288
|
+
* @type {string}
|
|
289
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
290
|
+
*/
|
|
291
|
+
readonly filter?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: displayName, partnerCode, code</i>
|
|
294
|
+
* @type {string}
|
|
295
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
296
|
+
*/
|
|
297
|
+
readonly search?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
300
|
+
* @type {string}
|
|
301
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
302
|
+
*/
|
|
303
|
+
readonly order?: string;
|
|
304
|
+
/**
|
|
305
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
308
|
+
*/
|
|
309
|
+
readonly expand?: string;
|
|
310
|
+
/**
|
|
311
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, partnerCode, displayName, commissionAgreementId</i>
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof CommissionRecipientsApiListCommissionRecipients
|
|
314
|
+
*/
|
|
315
|
+
readonly filters?: string;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Request parameters for updateCommissionRecipient operation in CommissionRecipientsApi.
|
|
319
|
+
* @export
|
|
320
|
+
* @interface CommissionRecipientsApiUpdateCommissionRecipientRequest
|
|
321
|
+
*/
|
|
322
|
+
export interface CommissionRecipientsApiUpdateCommissionRecipientRequest {
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
|
|
327
|
+
*/
|
|
328
|
+
readonly code: string;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {UpdateCommissionRecipientRequestDto}
|
|
332
|
+
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
|
|
333
|
+
*/
|
|
334
|
+
readonly updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto;
|
|
335
|
+
/**
|
|
336
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
|
|
339
|
+
*/
|
|
340
|
+
readonly authorization?: string;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* CommissionRecipientsApi - object-oriented interface
|
|
344
|
+
* @export
|
|
345
|
+
* @class CommissionRecipientsApi
|
|
346
|
+
* @extends {BaseAPI}
|
|
347
|
+
*/
|
|
348
|
+
export declare class CommissionRecipientsApi extends BaseAPI {
|
|
349
|
+
/**
|
|
350
|
+
* This will create the commission recipient.
|
|
351
|
+
* @summary Create the Commission recipient
|
|
352
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientRequest} requestParameters Request parameters.
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof CommissionRecipientsApi
|
|
356
|
+
*/
|
|
357
|
+
createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientResponseClass, any>>;
|
|
358
|
+
/**
|
|
359
|
+
* Permanently deletes the commission recipient. Supply the unique code that was returned when you created the commission recipient and this will delete it.
|
|
360
|
+
* @summary Delete the commission recipient
|
|
361
|
+
* @param {CommissionRecipientsApiDeleteCommissionRecipientRequest} requestParameters Request parameters.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
* @memberof CommissionRecipientsApi
|
|
365
|
+
*/
|
|
366
|
+
deleteCommissionRecipient(requestParameters: CommissionRecipientsApiDeleteCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
367
|
+
/**
|
|
368
|
+
* Retrieves the details of the commission recipient that was previously created. Supply the unique commission recipient code that was returned when you created it and Emil Api will return the corresponding commission recipient information.
|
|
369
|
+
* @summary Retrieve the commission recipient
|
|
370
|
+
* @param {CommissionRecipientsApiGetCommissionRecipientRequest} requestParameters Request parameters.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof CommissionRecipientsApi
|
|
374
|
+
*/
|
|
375
|
+
getCommissionRecipient(requestParameters: CommissionRecipientsApiGetCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionRecipientResponseClass, any>>;
|
|
376
|
+
/**
|
|
377
|
+
* Returns a list of commission recipients you have previously created. The commission recipients are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
|
+
* @summary List commission recipients
|
|
379
|
+
* @param {CommissionRecipientsApiListCommissionRecipientsRequest} requestParameters Request parameters.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof CommissionRecipientsApi
|
|
383
|
+
*/
|
|
384
|
+
listCommissionRecipients(requestParameters?: CommissionRecipientsApiListCommissionRecipientsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionRecipientsResponseClass, any>>;
|
|
385
|
+
/**
|
|
386
|
+
* Updates the specified commission recipient by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
387
|
+
* @summary Update the commission recipient
|
|
388
|
+
* @param {CommissionRecipientsApiUpdateCommissionRecipientRequest} requestParameters Request parameters.
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof CommissionRecipientsApi
|
|
392
|
+
*/
|
|
393
|
+
updateCommissionRecipient(requestParameters: CommissionRecipientsApiUpdateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionRecipientResponseClass, any>>;
|
|
394
|
+
}
|