@emilgroup/discount-sdk 1.1.1-beta.2

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.
Files changed (148) hide show
  1. package/.openapi-generator/FILES +54 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/campaigns-api.ts +1433 -0
  6. package/api/default-api.ts +124 -0
  7. package/api/policy-vouchers-api.ts +1038 -0
  8. package/api/vouchers-api.ts +691 -0
  9. package/api.ts +33 -0
  10. package/base.ts +278 -0
  11. package/common.ts +198 -0
  12. package/configuration.ts +110 -0
  13. package/dist/api/campaigns-api.d.ts +808 -0
  14. package/dist/api/campaigns-api.js +1304 -0
  15. package/dist/api/default-api.d.ts +70 -0
  16. package/dist/api/default-api.js +213 -0
  17. package/dist/api/policy-vouchers-api.d.ts +582 -0
  18. package/dist/api/policy-vouchers-api.js +974 -0
  19. package/dist/api/vouchers-api.d.ts +393 -0
  20. package/dist/api/vouchers-api.js +671 -0
  21. package/dist/api.d.ts +15 -0
  22. package/dist/api.js +33 -0
  23. package/dist/base.d.ts +77 -0
  24. package/dist/base.js +321 -0
  25. package/dist/common.d.ts +91 -0
  26. package/dist/common.js +276 -0
  27. package/dist/configuration.d.ts +89 -0
  28. package/dist/configuration.js +52 -0
  29. package/dist/index.d.ts +15 -0
  30. package/dist/index.js +36 -0
  31. package/dist/models/campaign-class.d.ts +105 -0
  32. package/dist/models/campaign-class.js +24 -0
  33. package/dist/models/charge-policy-voucher-request-dto.d.ts +48 -0
  34. package/dist/models/charge-policy-voucher-request-dto.js +15 -0
  35. package/dist/models/charge-policy-voucher-response-class.d.ts +90 -0
  36. package/dist/models/charge-policy-voucher-response-class.js +21 -0
  37. package/dist/models/check-account-eligibility-request-dto.d.ts +48 -0
  38. package/dist/models/check-account-eligibility-request-dto.js +15 -0
  39. package/dist/models/check-account-eligibility-response-class.d.ts +57 -0
  40. package/dist/models/check-account-eligibility-response-class.js +24 -0
  41. package/dist/models/create-campaign-request-dto.d.ts +42 -0
  42. package/dist/models/create-campaign-request-dto.js +15 -0
  43. package/dist/models/create-campaign-response-class.d.ts +25 -0
  44. package/dist/models/create-campaign-response-class.js +15 -0
  45. package/dist/models/create-eligible-account-request-dto.d.ts +30 -0
  46. package/dist/models/create-eligible-account-request-dto.js +15 -0
  47. package/dist/models/create-eligible-account-response-class.d.ts +25 -0
  48. package/dist/models/create-eligible-account-response-class.js +15 -0
  49. package/dist/models/create-policy-voucher-request-dto.d.ts +48 -0
  50. package/dist/models/create-policy-voucher-request-dto.js +15 -0
  51. package/dist/models/create-policy-voucher-response-class.d.ts +25 -0
  52. package/dist/models/create-policy-voucher-response-class.js +15 -0
  53. package/dist/models/create-product-discount-dto.d.ts +48 -0
  54. package/dist/models/create-product-discount-dto.js +15 -0
  55. package/dist/models/create-voucher-request-dto.d.ts +66 -0
  56. package/dist/models/create-voucher-request-dto.js +20 -0
  57. package/dist/models/create-voucher-response-class.d.ts +25 -0
  58. package/dist/models/create-voucher-response-class.js +15 -0
  59. package/dist/models/eligible-account-class.d.ts +78 -0
  60. package/dist/models/eligible-account-class.js +15 -0
  61. package/dist/models/get-campaign-response-class.d.ts +25 -0
  62. package/dist/models/get-campaign-response-class.js +15 -0
  63. package/dist/models/get-policy-voucher-response-class.d.ts +25 -0
  64. package/dist/models/get-policy-voucher-response-class.js +15 -0
  65. package/dist/models/get-voucher-response-class.d.ts +25 -0
  66. package/dist/models/get-voucher-response-class.js +15 -0
  67. package/dist/models/index.d.ts +37 -0
  68. package/dist/models/index.js +53 -0
  69. package/dist/models/inline-response200.d.ts +54 -0
  70. package/dist/models/inline-response200.js +15 -0
  71. package/dist/models/inline-response503.d.ts +54 -0
  72. package/dist/models/inline-response503.js +15 -0
  73. package/dist/models/list-campaigns-response-class.d.ts +43 -0
  74. package/dist/models/list-campaigns-response-class.js +15 -0
  75. package/dist/models/list-eligible-accounts-response-class.d.ts +43 -0
  76. package/dist/models/list-eligible-accounts-response-class.js +15 -0
  77. package/dist/models/list-policy-vouchers-response-class.d.ts +43 -0
  78. package/dist/models/list-policy-vouchers-response-class.js +15 -0
  79. package/dist/models/list-vouchers-response-class.d.ts +43 -0
  80. package/dist/models/list-vouchers-response-class.js +15 -0
  81. package/dist/models/policy-voucher-class.d.ts +159 -0
  82. package/dist/models/policy-voucher-class.js +21 -0
  83. package/dist/models/policy-voucher-transaction-class.d.ts +126 -0
  84. package/dist/models/policy-voucher-transaction-class.js +26 -0
  85. package/dist/models/product-discount-class.d.ts +90 -0
  86. package/dist/models/product-discount-class.js +15 -0
  87. package/dist/models/redeem-policy-voucher-request-dto.d.ts +48 -0
  88. package/dist/models/redeem-policy-voucher-request-dto.js +15 -0
  89. package/dist/models/redeem-policy-voucher-response-class.d.ts +84 -0
  90. package/dist/models/redeem-policy-voucher-response-class.js +21 -0
  91. package/dist/models/update-campaign-request-dto.d.ts +42 -0
  92. package/dist/models/update-campaign-request-dto.js +15 -0
  93. package/dist/models/update-campaign-response-class.d.ts +25 -0
  94. package/dist/models/update-campaign-response-class.js +15 -0
  95. package/dist/models/update-campaign-status-request-dto.d.ts +33 -0
  96. package/dist/models/update-campaign-status-request-dto.js +24 -0
  97. package/dist/models/update-voucher-request-dto.d.ts +60 -0
  98. package/dist/models/update-voucher-request-dto.js +20 -0
  99. package/dist/models/update-voucher-response-class.d.ts +25 -0
  100. package/dist/models/update-voucher-response-class.js +15 -0
  101. package/dist/models/voucher-class.d.ts +127 -0
  102. package/dist/models/voucher-class.js +20 -0
  103. package/dist/models/withdraw-policy-voucher-request-dto.d.ts +36 -0
  104. package/dist/models/withdraw-policy-voucher-request-dto.js +15 -0
  105. package/dist/models/withdraw-policy-voucher-response-class.d.ts +78 -0
  106. package/dist/models/withdraw-policy-voucher-response-class.js +21 -0
  107. package/git_push.sh +57 -0
  108. package/index.ts +19 -0
  109. package/models/campaign-class.ts +114 -0
  110. package/models/charge-policy-voucher-request-dto.ts +54 -0
  111. package/models/charge-policy-voucher-response-class.ts +99 -0
  112. package/models/check-account-eligibility-request-dto.ts +54 -0
  113. package/models/check-account-eligibility-response-class.ts +66 -0
  114. package/models/create-campaign-request-dto.ts +48 -0
  115. package/models/create-campaign-response-class.ts +31 -0
  116. package/models/create-eligible-account-request-dto.ts +36 -0
  117. package/models/create-eligible-account-response-class.ts +31 -0
  118. package/models/create-policy-voucher-request-dto.ts +54 -0
  119. package/models/create-policy-voucher-response-class.ts +31 -0
  120. package/models/create-product-discount-dto.ts +54 -0
  121. package/models/create-voucher-request-dto.ts +75 -0
  122. package/models/create-voucher-response-class.ts +31 -0
  123. package/models/eligible-account-class.ts +84 -0
  124. package/models/get-campaign-response-class.ts +31 -0
  125. package/models/get-policy-voucher-response-class.ts +31 -0
  126. package/models/get-voucher-response-class.ts +31 -0
  127. package/models/index.ts +37 -0
  128. package/models/inline-response200.ts +48 -0
  129. package/models/inline-response503.ts +48 -0
  130. package/models/list-campaigns-response-class.ts +49 -0
  131. package/models/list-eligible-accounts-response-class.ts +49 -0
  132. package/models/list-policy-vouchers-response-class.ts +49 -0
  133. package/models/list-vouchers-response-class.ts +49 -0
  134. package/models/policy-voucher-class.ts +168 -0
  135. package/models/policy-voucher-transaction-class.ts +136 -0
  136. package/models/product-discount-class.ts +96 -0
  137. package/models/redeem-policy-voucher-request-dto.ts +54 -0
  138. package/models/redeem-policy-voucher-response-class.ts +93 -0
  139. package/models/update-campaign-request-dto.ts +48 -0
  140. package/models/update-campaign-response-class.ts +31 -0
  141. package/models/update-campaign-status-request-dto.ts +42 -0
  142. package/models/update-voucher-request-dto.ts +69 -0
  143. package/models/update-voucher-response-class.ts +31 -0
  144. package/models/voucher-class.ts +136 -0
  145. package/models/withdraw-policy-voucher-request-dto.ts +42 -0
  146. package/models/withdraw-policy-voucher-response-class.ts +87 -0
  147. package/package.json +26 -0
  148. package/tsconfig.json +23 -0
@@ -0,0 +1,582 @@
1
+ /**
2
+ * EMIL DiscountService
3
+ * The EMIL DiscountService 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 { ChargePolicyVoucherRequestDto } from '../models';
16
+ import { ChargePolicyVoucherResponseClass } from '../models';
17
+ import { CheckAccountEligibilityRequestDto } from '../models';
18
+ import { CheckAccountEligibilityResponseClass } from '../models';
19
+ import { CreatePolicyVoucherRequestDto } from '../models';
20
+ import { CreatePolicyVoucherResponseClass } from '../models';
21
+ import { GetPolicyVoucherResponseClass } from '../models';
22
+ import { ListPolicyVouchersResponseClass } from '../models';
23
+ import { RedeemPolicyVoucherRequestDto } from '../models';
24
+ import { RedeemPolicyVoucherResponseClass } from '../models';
25
+ import { WithdrawPolicyVoucherRequestDto } from '../models';
26
+ import { WithdrawPolicyVoucherResponseClass } from '../models';
27
+ /**
28
+ * PolicyVouchersApi - axios parameter creator
29
+ * @export
30
+ */
31
+ export declare const PolicyVouchersApiAxiosParamCreator: (configuration?: Configuration) => {
32
+ /**
33
+ * This will charge the policy voucher.
34
+ * @summary Charges the policy voucher.
35
+ * @param {any} code Unique identifier for the object.
36
+ * @param {ChargePolicyVoucherRequestDto} chargePolicyVoucherRequestDto
37
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ chargePolicyVoucher: (code: any, chargePolicyVoucherRequestDto: ChargePolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ * This will check if the account is eligible for a specific voucher.
44
+ * @summary Checks the account eligibility.
45
+ * @param {CheckAccountEligibilityRequestDto} checkAccountEligibilityRequestDto
46
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ checkAccountEligibility: (checkAccountEligibilityRequestDto: CheckAccountEligibilityRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * This will create an policy voucher.
53
+ * @summary Create the policy voucher
54
+ * @param {CreatePolicyVoucherRequestDto} createPolicyVoucherRequestDto
55
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ createPolicyVoucher: (createPolicyVoucherRequestDto: CreatePolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * This will delete an policy voucher.
62
+ * @summary Delete the policy voucher
63
+ * @param {string} code Unique identifier for the object.
64
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ deletePolicyVoucher: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * This will get an policy voucher.
71
+ * @summary Retrieve the policy voucher
72
+ * @param {string} code Unique identifier for the object.
73
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
74
+ * @param {'transactions' | 'campaign' | 'voucher'} [expand] You can expand policy voucher in this endpoint. By default, campaign and voucher will be expanded fields.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ getPolicyVoucher: (code: string, authorization?: string, expand?: "transactions" | "campaign" | "voucher", options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ /**
80
+ * Returns a list of policy vouchers you have previously created. The policy vouchers are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
81
+ * @summary List policy vouchers
82
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
83
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
84
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
85
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
86
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: voucherCode, productSlug, partnerNumber&lt;/i&gt;
87
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, voucherCode, productSlug, partnerNumber, remainingCredits, remainingMonths, yearlyPremium, redeemedAt, createdAt&lt;/i&gt;
88
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: transactions, campaign, voucher&lt;i&gt;
89
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ listPolicyVouchers: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
94
+ /**
95
+ * This will redeem the policy voucher.
96
+ * @summary Redeems the policy voucher.
97
+ * @param {any} code Unique identifier for the object.
98
+ * @param {RedeemPolicyVoucherRequestDto} redeemPolicyVoucherRequestDto
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ redeemPolicyVoucher: (code: any, redeemPolicyVoucherRequestDto: RedeemPolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
104
+ /**
105
+ * This will withdraw the policy voucher.
106
+ * @summary Withdraws the policy voucher.
107
+ * @param {any} code Unique identifier for the object.
108
+ * @param {WithdrawPolicyVoucherRequestDto} withdrawPolicyVoucherRequestDto
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
+ withdrawPolicyVoucher: (code: any, withdrawPolicyVoucherRequestDto: WithdrawPolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
114
+ };
115
+ /**
116
+ * PolicyVouchersApi - functional programming interface
117
+ * @export
118
+ */
119
+ export declare const PolicyVouchersApiFp: (configuration?: Configuration) => {
120
+ /**
121
+ * This will charge the policy voucher.
122
+ * @summary Charges the policy voucher.
123
+ * @param {any} code Unique identifier for the object.
124
+ * @param {ChargePolicyVoucherRequestDto} chargePolicyVoucherRequestDto
125
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ chargePolicyVoucher(code: any, chargePolicyVoucherRequestDto: ChargePolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChargePolicyVoucherResponseClass>>;
130
+ /**
131
+ * This will check if the account is eligible for a specific voucher.
132
+ * @summary Checks the account eligibility.
133
+ * @param {CheckAccountEligibilityRequestDto} checkAccountEligibilityRequestDto
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
+ checkAccountEligibility(checkAccountEligibilityRequestDto: CheckAccountEligibilityRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckAccountEligibilityResponseClass>>;
139
+ /**
140
+ * This will create an policy voucher.
141
+ * @summary Create the policy voucher
142
+ * @param {CreatePolicyVoucherRequestDto} createPolicyVoucherRequestDto
143
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ createPolicyVoucher(createPolicyVoucherRequestDto: CreatePolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyVoucherResponseClass>>;
148
+ /**
149
+ * This will delete an policy voucher.
150
+ * @summary Delete the policy voucher
151
+ * @param {string} code Unique identifier for the object.
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ deletePolicyVoucher(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
157
+ /**
158
+ * This will get an policy voucher.
159
+ * @summary Retrieve the policy voucher
160
+ * @param {string} code Unique identifier for the object.
161
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
162
+ * @param {'transactions' | 'campaign' | 'voucher'} [expand] You can expand policy voucher in this endpoint. By default, campaign and voucher will be expanded fields.
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ getPolicyVoucher(code: string, authorization?: string, expand?: "transactions" | "campaign" | "voucher", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyVoucherResponseClass>>;
167
+ /**
168
+ * Returns a list of policy vouchers you have previously created. The policy vouchers are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
169
+ * @summary List policy vouchers
170
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
172
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
173
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
174
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: voucherCode, productSlug, partnerNumber&lt;/i&gt;
175
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, voucherCode, productSlug, partnerNumber, remainingCredits, remainingMonths, yearlyPremium, redeemedAt, createdAt&lt;/i&gt;
176
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: transactions, campaign, voucher&lt;i&gt;
177
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ listPolicyVouchers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyVouchersResponseClass>>;
182
+ /**
183
+ * This will redeem the policy voucher.
184
+ * @summary Redeems the policy voucher.
185
+ * @param {any} code Unique identifier for the object.
186
+ * @param {RedeemPolicyVoucherRequestDto} redeemPolicyVoucherRequestDto
187
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ redeemPolicyVoucher(code: any, redeemPolicyVoucherRequestDto: RedeemPolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemPolicyVoucherResponseClass>>;
192
+ /**
193
+ * This will withdraw the policy voucher.
194
+ * @summary Withdraws the policy voucher.
195
+ * @param {any} code Unique identifier for the object.
196
+ * @param {WithdrawPolicyVoucherRequestDto} withdrawPolicyVoucherRequestDto
197
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ withdrawPolicyVoucher(code: any, withdrawPolicyVoucherRequestDto: WithdrawPolicyVoucherRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WithdrawPolicyVoucherResponseClass>>;
202
+ };
203
+ /**
204
+ * PolicyVouchersApi - factory interface
205
+ * @export
206
+ */
207
+ export declare const PolicyVouchersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
208
+ /**
209
+ * This will charge the policy voucher.
210
+ * @summary Charges the policy voucher.
211
+ * @param {any} code Unique identifier for the object.
212
+ * @param {ChargePolicyVoucherRequestDto} chargePolicyVoucherRequestDto
213
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ chargePolicyVoucher(code: any, chargePolicyVoucherRequestDto: ChargePolicyVoucherRequestDto, authorization?: string, options?: any): AxiosPromise<ChargePolicyVoucherResponseClass>;
218
+ /**
219
+ * This will check if the account is eligible for a specific voucher.
220
+ * @summary Checks the account eligibility.
221
+ * @param {CheckAccountEligibilityRequestDto} checkAccountEligibilityRequestDto
222
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ checkAccountEligibility(checkAccountEligibilityRequestDto: CheckAccountEligibilityRequestDto, authorization?: string, options?: any): AxiosPromise<CheckAccountEligibilityResponseClass>;
227
+ /**
228
+ * This will create an policy voucher.
229
+ * @summary Create the policy voucher
230
+ * @param {CreatePolicyVoucherRequestDto} createPolicyVoucherRequestDto
231
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ createPolicyVoucher(createPolicyVoucherRequestDto: CreatePolicyVoucherRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyVoucherResponseClass>;
236
+ /**
237
+ * This will delete an policy voucher.
238
+ * @summary Delete the policy voucher
239
+ * @param {string} code Unique identifier for the object.
240
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ deletePolicyVoucher(code: string, authorization?: string, options?: any): AxiosPromise<void>;
245
+ /**
246
+ * This will get an policy voucher.
247
+ * @summary Retrieve the policy voucher
248
+ * @param {string} code Unique identifier for the object.
249
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
+ * @param {'transactions' | 'campaign' | 'voucher'} [expand] You can expand policy voucher in this endpoint. By default, campaign and voucher will be expanded fields.
251
+ * @param {*} [options] Override http request option.
252
+ * @throws {RequiredError}
253
+ */
254
+ getPolicyVoucher(code: string, authorization?: string, expand?: "transactions" | "campaign" | "voucher", options?: any): AxiosPromise<GetPolicyVoucherResponseClass>;
255
+ /**
256
+ * Returns a list of policy vouchers you have previously created. The policy vouchers are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
257
+ * @summary List policy vouchers
258
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
260
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
261
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
262
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: voucherCode, productSlug, partnerNumber&lt;/i&gt;
263
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, voucherCode, productSlug, partnerNumber, remainingCredits, remainingMonths, yearlyPremium, redeemedAt, createdAt&lt;/i&gt;
264
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: transactions, campaign, voucher&lt;i&gt;
265
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ listPolicyVouchers(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyVouchersResponseClass>;
270
+ /**
271
+ * This will redeem the policy voucher.
272
+ * @summary Redeems the policy voucher.
273
+ * @param {any} code Unique identifier for the object.
274
+ * @param {RedeemPolicyVoucherRequestDto} redeemPolicyVoucherRequestDto
275
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ redeemPolicyVoucher(code: any, redeemPolicyVoucherRequestDto: RedeemPolicyVoucherRequestDto, authorization?: string, options?: any): AxiosPromise<RedeemPolicyVoucherResponseClass>;
280
+ /**
281
+ * This will withdraw the policy voucher.
282
+ * @summary Withdraws the policy voucher.
283
+ * @param {any} code Unique identifier for the object.
284
+ * @param {WithdrawPolicyVoucherRequestDto} withdrawPolicyVoucherRequestDto
285
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ withdrawPolicyVoucher(code: any, withdrawPolicyVoucherRequestDto: WithdrawPolicyVoucherRequestDto, authorization?: string, options?: any): AxiosPromise<WithdrawPolicyVoucherResponseClass>;
290
+ };
291
+ /**
292
+ * Request parameters for chargePolicyVoucher operation in PolicyVouchersApi.
293
+ * @export
294
+ * @interface PolicyVouchersApiChargePolicyVoucherRequest
295
+ */
296
+ export interface PolicyVouchersApiChargePolicyVoucherRequest {
297
+ /**
298
+ * Unique identifier for the object.
299
+ * @type {any}
300
+ * @memberof PolicyVouchersApiChargePolicyVoucher
301
+ */
302
+ readonly code: any;
303
+ /**
304
+ *
305
+ * @type {ChargePolicyVoucherRequestDto}
306
+ * @memberof PolicyVouchersApiChargePolicyVoucher
307
+ */
308
+ readonly chargePolicyVoucherRequestDto: ChargePolicyVoucherRequestDto;
309
+ /**
310
+ * Bearer Token: provided by the login endpoint under the name accessToken.
311
+ * @type {string}
312
+ * @memberof PolicyVouchersApiChargePolicyVoucher
313
+ */
314
+ readonly authorization?: string;
315
+ }
316
+ /**
317
+ * Request parameters for checkAccountEligibility operation in PolicyVouchersApi.
318
+ * @export
319
+ * @interface PolicyVouchersApiCheckAccountEligibilityRequest
320
+ */
321
+ export interface PolicyVouchersApiCheckAccountEligibilityRequest {
322
+ /**
323
+ *
324
+ * @type {CheckAccountEligibilityRequestDto}
325
+ * @memberof PolicyVouchersApiCheckAccountEligibility
326
+ */
327
+ readonly checkAccountEligibilityRequestDto: CheckAccountEligibilityRequestDto;
328
+ /**
329
+ * Bearer Token: provided by the login endpoint under the name accessToken.
330
+ * @type {string}
331
+ * @memberof PolicyVouchersApiCheckAccountEligibility
332
+ */
333
+ readonly authorization?: string;
334
+ }
335
+ /**
336
+ * Request parameters for createPolicyVoucher operation in PolicyVouchersApi.
337
+ * @export
338
+ * @interface PolicyVouchersApiCreatePolicyVoucherRequest
339
+ */
340
+ export interface PolicyVouchersApiCreatePolicyVoucherRequest {
341
+ /**
342
+ *
343
+ * @type {CreatePolicyVoucherRequestDto}
344
+ * @memberof PolicyVouchersApiCreatePolicyVoucher
345
+ */
346
+ readonly createPolicyVoucherRequestDto: CreatePolicyVoucherRequestDto;
347
+ /**
348
+ * Bearer Token: provided by the login endpoint under the name accessToken.
349
+ * @type {string}
350
+ * @memberof PolicyVouchersApiCreatePolicyVoucher
351
+ */
352
+ readonly authorization?: string;
353
+ }
354
+ /**
355
+ * Request parameters for deletePolicyVoucher operation in PolicyVouchersApi.
356
+ * @export
357
+ * @interface PolicyVouchersApiDeletePolicyVoucherRequest
358
+ */
359
+ export interface PolicyVouchersApiDeletePolicyVoucherRequest {
360
+ /**
361
+ * Unique identifier for the object.
362
+ * @type {string}
363
+ * @memberof PolicyVouchersApiDeletePolicyVoucher
364
+ */
365
+ readonly code: string;
366
+ /**
367
+ * Bearer Token: provided by the login endpoint under the name accessToken.
368
+ * @type {string}
369
+ * @memberof PolicyVouchersApiDeletePolicyVoucher
370
+ */
371
+ readonly authorization?: string;
372
+ }
373
+ /**
374
+ * Request parameters for getPolicyVoucher operation in PolicyVouchersApi.
375
+ * @export
376
+ * @interface PolicyVouchersApiGetPolicyVoucherRequest
377
+ */
378
+ export interface PolicyVouchersApiGetPolicyVoucherRequest {
379
+ /**
380
+ * Unique identifier for the object.
381
+ * @type {string}
382
+ * @memberof PolicyVouchersApiGetPolicyVoucher
383
+ */
384
+ readonly code: string;
385
+ /**
386
+ * Bearer Token: provided by the login endpoint under the name accessToken.
387
+ * @type {string}
388
+ * @memberof PolicyVouchersApiGetPolicyVoucher
389
+ */
390
+ readonly authorization?: string;
391
+ /**
392
+ * You can expand policy voucher in this endpoint. By default, campaign and voucher will be expanded fields.
393
+ * @type {'transactions' | 'campaign' | 'voucher'}
394
+ * @memberof PolicyVouchersApiGetPolicyVoucher
395
+ */
396
+ readonly expand?: 'transactions' | 'campaign' | 'voucher';
397
+ }
398
+ /**
399
+ * Request parameters for listPolicyVouchers operation in PolicyVouchersApi.
400
+ * @export
401
+ * @interface PolicyVouchersApiListPolicyVouchersRequest
402
+ */
403
+ export interface PolicyVouchersApiListPolicyVouchersRequest {
404
+ /**
405
+ * Bearer Token: provided by the login endpoint under the name accessToken.
406
+ * @type {string}
407
+ * @memberof PolicyVouchersApiListPolicyVouchers
408
+ */
409
+ readonly authorization?: string;
410
+ /**
411
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
412
+ * @type {number}
413
+ * @memberof PolicyVouchersApiListPolicyVouchers
414
+ */
415
+ readonly pageSize?: number;
416
+ /**
417
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
418
+ * @type {string}
419
+ * @memberof PolicyVouchersApiListPolicyVouchers
420
+ */
421
+ readonly pageToken?: string;
422
+ /**
423
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
424
+ * @type {string}
425
+ * @memberof PolicyVouchersApiListPolicyVouchers
426
+ */
427
+ readonly filter?: string;
428
+ /**
429
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: voucherCode, productSlug, partnerNumber&lt;/i&gt;
430
+ * @type {string}
431
+ * @memberof PolicyVouchersApiListPolicyVouchers
432
+ */
433
+ readonly search?: string;
434
+ /**
435
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, voucherCode, productSlug, partnerNumber, remainingCredits, remainingMonths, yearlyPremium, redeemedAt, createdAt&lt;/i&gt;
436
+ * @type {string}
437
+ * @memberof PolicyVouchersApiListPolicyVouchers
438
+ */
439
+ readonly order?: string;
440
+ /**
441
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: transactions, campaign, voucher&lt;i&gt;
442
+ * @type {string}
443
+ * @memberof PolicyVouchersApiListPolicyVouchers
444
+ */
445
+ readonly expand?: string;
446
+ /**
447
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, voucherCode, partnerNumber, campaignId, voucherId, productSlug, version, remainingMonths, remainingCredits, yearlyPremium, redeemedAt, createdAt, campaignSlug&lt;/i&gt;
448
+ * @type {string}
449
+ * @memberof PolicyVouchersApiListPolicyVouchers
450
+ */
451
+ readonly filters?: string;
452
+ }
453
+ /**
454
+ * Request parameters for redeemPolicyVoucher operation in PolicyVouchersApi.
455
+ * @export
456
+ * @interface PolicyVouchersApiRedeemPolicyVoucherRequest
457
+ */
458
+ export interface PolicyVouchersApiRedeemPolicyVoucherRequest {
459
+ /**
460
+ * Unique identifier for the object.
461
+ * @type {any}
462
+ * @memberof PolicyVouchersApiRedeemPolicyVoucher
463
+ */
464
+ readonly code: any;
465
+ /**
466
+ *
467
+ * @type {RedeemPolicyVoucherRequestDto}
468
+ * @memberof PolicyVouchersApiRedeemPolicyVoucher
469
+ */
470
+ readonly redeemPolicyVoucherRequestDto: RedeemPolicyVoucherRequestDto;
471
+ /**
472
+ * Bearer Token: provided by the login endpoint under the name accessToken.
473
+ * @type {string}
474
+ * @memberof PolicyVouchersApiRedeemPolicyVoucher
475
+ */
476
+ readonly authorization?: string;
477
+ }
478
+ /**
479
+ * Request parameters for withdrawPolicyVoucher operation in PolicyVouchersApi.
480
+ * @export
481
+ * @interface PolicyVouchersApiWithdrawPolicyVoucherRequest
482
+ */
483
+ export interface PolicyVouchersApiWithdrawPolicyVoucherRequest {
484
+ /**
485
+ * Unique identifier for the object.
486
+ * @type {any}
487
+ * @memberof PolicyVouchersApiWithdrawPolicyVoucher
488
+ */
489
+ readonly code: any;
490
+ /**
491
+ *
492
+ * @type {WithdrawPolicyVoucherRequestDto}
493
+ * @memberof PolicyVouchersApiWithdrawPolicyVoucher
494
+ */
495
+ readonly withdrawPolicyVoucherRequestDto: WithdrawPolicyVoucherRequestDto;
496
+ /**
497
+ * Bearer Token: provided by the login endpoint under the name accessToken.
498
+ * @type {string}
499
+ * @memberof PolicyVouchersApiWithdrawPolicyVoucher
500
+ */
501
+ readonly authorization?: string;
502
+ }
503
+ /**
504
+ * PolicyVouchersApi - object-oriented interface
505
+ * @export
506
+ * @class PolicyVouchersApi
507
+ * @extends {BaseAPI}
508
+ */
509
+ export declare class PolicyVouchersApi extends BaseAPI {
510
+ /**
511
+ * This will charge the policy voucher.
512
+ * @summary Charges the policy voucher.
513
+ * @param {PolicyVouchersApiChargePolicyVoucherRequest} requestParameters Request parameters.
514
+ * @param {*} [options] Override http request option.
515
+ * @throws {RequiredError}
516
+ * @memberof PolicyVouchersApi
517
+ */
518
+ chargePolicyVoucher(requestParameters: PolicyVouchersApiChargePolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChargePolicyVoucherResponseClass, any>>;
519
+ /**
520
+ * This will check if the account is eligible for a specific voucher.
521
+ * @summary Checks the account eligibility.
522
+ * @param {PolicyVouchersApiCheckAccountEligibilityRequest} requestParameters Request parameters.
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ * @memberof PolicyVouchersApi
526
+ */
527
+ checkAccountEligibility(requestParameters: PolicyVouchersApiCheckAccountEligibilityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckAccountEligibilityResponseClass, any>>;
528
+ /**
529
+ * This will create an policy voucher.
530
+ * @summary Create the policy voucher
531
+ * @param {PolicyVouchersApiCreatePolicyVoucherRequest} requestParameters Request parameters.
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ * @memberof PolicyVouchersApi
535
+ */
536
+ createPolicyVoucher(requestParameters: PolicyVouchersApiCreatePolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyVoucherResponseClass, any>>;
537
+ /**
538
+ * This will delete an policy voucher.
539
+ * @summary Delete the policy voucher
540
+ * @param {PolicyVouchersApiDeletePolicyVoucherRequest} requestParameters Request parameters.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ * @memberof PolicyVouchersApi
544
+ */
545
+ deletePolicyVoucher(requestParameters: PolicyVouchersApiDeletePolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
546
+ /**
547
+ * This will get an policy voucher.
548
+ * @summary Retrieve the policy voucher
549
+ * @param {PolicyVouchersApiGetPolicyVoucherRequest} requestParameters Request parameters.
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ * @memberof PolicyVouchersApi
553
+ */
554
+ getPolicyVoucher(requestParameters: PolicyVouchersApiGetPolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyVoucherResponseClass, any>>;
555
+ /**
556
+ * Returns a list of policy vouchers you have previously created. The policy vouchers are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
557
+ * @summary List policy vouchers
558
+ * @param {PolicyVouchersApiListPolicyVouchersRequest} requestParameters Request parameters.
559
+ * @param {*} [options] Override http request option.
560
+ * @throws {RequiredError}
561
+ * @memberof PolicyVouchersApi
562
+ */
563
+ listPolicyVouchers(requestParameters?: PolicyVouchersApiListPolicyVouchersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyVouchersResponseClass, any>>;
564
+ /**
565
+ * This will redeem the policy voucher.
566
+ * @summary Redeems the policy voucher.
567
+ * @param {PolicyVouchersApiRedeemPolicyVoucherRequest} requestParameters Request parameters.
568
+ * @param {*} [options] Override http request option.
569
+ * @throws {RequiredError}
570
+ * @memberof PolicyVouchersApi
571
+ */
572
+ redeemPolicyVoucher(requestParameters: PolicyVouchersApiRedeemPolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RedeemPolicyVoucherResponseClass, any>>;
573
+ /**
574
+ * This will withdraw the policy voucher.
575
+ * @summary Withdraws the policy voucher.
576
+ * @param {PolicyVouchersApiWithdrawPolicyVoucherRequest} requestParameters Request parameters.
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ * @memberof PolicyVouchersApi
580
+ */
581
+ withdrawPolicyVoucher(requestParameters: PolicyVouchersApiWithdrawPolicyVoucherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WithdrawPolicyVoucherResponseClass, any>>;
582
+ }