@emilgroup/accounting-sdk-node 1.19.0 → 1.20.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.
Files changed (259) hide show
  1. package/.openapi-generator/FILES +29 -52
  2. package/README.md +2 -2
  3. package/api/{zip-codes-api.ts → booking-entries-api.ts} +195 -162
  4. package/api/financial-accounts-api.ts +577 -0
  5. package/api/financial-transactions-api.ts +369 -0
  6. package/api/health-api.ts +7 -7
  7. package/api/number-ranges-api.ts +577 -0
  8. package/api/personal-accounts-api.ts +577 -0
  9. package/api.ts +12 -14
  10. package/base.ts +2 -2
  11. package/common.ts +4 -4
  12. package/configuration.ts +2 -2
  13. package/dist/api/{zip-codes-api.d.ts → booking-entries-api.d.ts} +130 -111
  14. package/dist/api/{zip-codes-api.js → booking-entries-api.js} +144 -130
  15. package/dist/api/financial-accounts-api.d.ts +327 -0
  16. package/dist/api/{users-api.js → financial-accounts-api.js} +171 -134
  17. package/dist/api/financial-transactions-api.d.ts +215 -0
  18. package/dist/api/financial-transactions-api.js +364 -0
  19. package/dist/api/health-api.d.ts +6 -6
  20. package/dist/api/health-api.js +7 -7
  21. package/dist/api/number-ranges-api.d.ts +327 -0
  22. package/dist/api/{vbas-api.js → number-ranges-api.js} +156 -161
  23. package/dist/api/personal-accounts-api.d.ts +327 -0
  24. package/dist/api/{vbus-api.js → personal-accounts-api.js} +136 -234
  25. package/dist/api.d.ts +7 -8
  26. package/dist/api.js +7 -8
  27. package/dist/base.d.ts +2 -2
  28. package/dist/base.js +2 -2
  29. package/dist/common.d.ts +4 -4
  30. package/dist/common.js +2 -2
  31. package/dist/configuration.d.ts +2 -2
  32. package/dist/configuration.js +2 -2
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.js +2 -2
  35. package/dist/models/booking-entry-class.d.ts +123 -0
  36. package/dist/models/{create-vbuv-request-dto.js → booking-entry-class.js} +15 -6
  37. package/dist/models/create-booking-entry-request-dto.d.ts +61 -0
  38. package/dist/models/{address-class.js → create-booking-entry-request-dto.js} +2 -2
  39. package/dist/models/create-booking-entry-response-class.d.ts +25 -0
  40. package/dist/models/{create-user-response-class.js → create-booking-entry-response-class.js} +2 -2
  41. package/dist/models/create-financial-account-request-dto.d.ts +75 -0
  42. package/dist/models/create-financial-account-request-dto.js +24 -0
  43. package/dist/models/create-financial-account-response-class.d.ts +25 -0
  44. package/dist/models/{create-mailbox-request-dto.js → create-financial-account-response-class.js} +2 -2
  45. package/dist/models/create-number-range-request-dto.d.ts +53 -0
  46. package/dist/models/create-number-range-request-dto.js +26 -0
  47. package/dist/models/create-number-range-response-class.d.ts +25 -0
  48. package/dist/models/{create-vba-response-class.js → create-number-range-response-class.js} +2 -2
  49. package/dist/models/create-personal-account-request-dto.d.ts +60 -0
  50. package/dist/models/{create-vba-request-dto.js → create-personal-account-request-dto.js} +7 -6
  51. package/dist/models/create-personal-account-response-class.d.ts +25 -0
  52. package/dist/models/create-personal-account-response-class.js +15 -0
  53. package/dist/models/financial-account-class.d.ts +111 -0
  54. package/dist/models/{create-vbu-request-dto.js → financial-account-class.js} +10 -6
  55. package/dist/models/financial-transaction-class.d.ts +114 -0
  56. package/dist/models/financial-transaction-class.js +15 -0
  57. package/dist/models/financial-transaction-data-dto.d.ts +71 -0
  58. package/dist/models/financial-transaction-data-dto.js +25 -0
  59. package/dist/models/get-booking-entry-response-class.d.ts +25 -0
  60. package/dist/models/get-booking-entry-response-class.js +15 -0
  61. package/dist/models/get-financial-account-response-class.d.ts +25 -0
  62. package/dist/models/get-financial-account-response-class.js +15 -0
  63. package/dist/models/get-financial-transaction-response-class.d.ts +25 -0
  64. package/dist/models/get-financial-transaction-response-class.js +15 -0
  65. package/dist/models/get-number-range-response-class.d.ts +25 -0
  66. package/dist/models/get-number-range-response-class.js +15 -0
  67. package/dist/models/get-personal-account-response-class.d.ts +25 -0
  68. package/dist/models/get-personal-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +24 -46
  70. package/dist/models/index.js +24 -46
  71. package/dist/models/inline-response200.d.ts +2 -2
  72. package/dist/models/inline-response200.js +2 -2
  73. package/dist/models/inline-response503.d.ts +2 -2
  74. package/dist/models/inline-response503.js +2 -2
  75. package/dist/models/list-booking-entries-response-class.d.ts +31 -0
  76. package/dist/models/list-booking-entries-response-class.js +15 -0
  77. package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
  78. package/dist/models/list-financial-accounts-response-class.js +15 -0
  79. package/dist/models/list-financial-transactions-response-class.d.ts +31 -0
  80. package/dist/models/list-financial-transactions-response-class.js +15 -0
  81. package/dist/models/list-number-range-response-class.d.ts +31 -0
  82. package/dist/models/list-number-range-response-class.js +15 -0
  83. package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
  84. package/dist/models/list-personal-accounts-response-class.js +15 -0
  85. package/dist/models/number-range-class.d.ts +84 -0
  86. package/dist/models/number-range-class.js +15 -0
  87. package/dist/models/personal-account-class.d.ts +105 -0
  88. package/dist/models/{create-user-request-dto.js → personal-account-class.js} +10 -10
  89. package/index.ts +2 -2
  90. package/models/booking-entry-class.ts +132 -0
  91. package/models/create-booking-entry-request-dto.ts +67 -0
  92. package/models/create-booking-entry-response-class.ts +31 -0
  93. package/models/create-financial-account-request-dto.ts +84 -0
  94. package/models/create-financial-account-response-class.ts +31 -0
  95. package/models/create-number-range-request-dto.ts +62 -0
  96. package/models/create-number-range-response-class.ts +31 -0
  97. package/models/create-personal-account-request-dto.ts +69 -0
  98. package/models/create-personal-account-response-class.ts +31 -0
  99. package/models/financial-account-class.ts +120 -0
  100. package/models/financial-transaction-class.ts +120 -0
  101. package/models/financial-transaction-data-dto.ts +81 -0
  102. package/models/get-booking-entry-response-class.ts +31 -0
  103. package/models/get-financial-account-response-class.ts +31 -0
  104. package/models/get-financial-transaction-response-class.ts +31 -0
  105. package/models/get-number-range-response-class.ts +31 -0
  106. package/models/get-personal-account-response-class.ts +31 -0
  107. package/models/index.ts +24 -46
  108. package/models/inline-response200.ts +2 -2
  109. package/models/inline-response503.ts +2 -2
  110. package/models/list-booking-entries-response-class.ts +37 -0
  111. package/models/list-financial-accounts-response-class.ts +37 -0
  112. package/models/list-financial-transactions-response-class.ts +37 -0
  113. package/models/list-number-range-response-class.ts +37 -0
  114. package/models/list-personal-accounts-response-class.ts +37 -0
  115. package/models/number-range-class.ts +90 -0
  116. package/models/personal-account-class.ts +114 -0
  117. package/package.json +1 -1
  118. package/api/mailbox-api.ts +0 -255
  119. package/api/messages-api.ts +0 -1100
  120. package/api/users-api.ts +0 -496
  121. package/api/vbas-api.ts +0 -592
  122. package/api/vbus-api.ts +0 -701
  123. package/dist/api/mailbox-api.d.ts +0 -142
  124. package/dist/api/mailbox-api.js +0 -315
  125. package/dist/api/messages-api.d.ts +0 -632
  126. package/dist/api/messages-api.js +0 -916
  127. package/dist/api/users-api.d.ts +0 -275
  128. package/dist/api/vbas-api.d.ts +0 -337
  129. package/dist/api/vbus-api.d.ts +0 -395
  130. package/dist/models/address-class.d.ts +0 -48
  131. package/dist/models/create-mailbox-request-dto.d.ts +0 -36
  132. package/dist/models/create-user-request-dto.d.ts +0 -76
  133. package/dist/models/create-user-response-class.d.ts +0 -25
  134. package/dist/models/create-vba-request-dto.d.ts +0 -41
  135. package/dist/models/create-vba-response-class.d.ts +0 -24
  136. package/dist/models/create-vbu-request-dto.d.ts +0 -41
  137. package/dist/models/create-vbu-response-class.d.ts +0 -24
  138. package/dist/models/create-vbu-response-class.js +0 -15
  139. package/dist/models/create-vbuv-request-dto.d.ts +0 -41
  140. package/dist/models/create-vbuv-response-class.d.ts +0 -24
  141. package/dist/models/create-vbuv-response-class.js +0 -15
  142. package/dist/models/get-request-message-response-class.d.ts +0 -25
  143. package/dist/models/get-request-message-response-class.js +0 -15
  144. package/dist/models/get-response-message-response-class.d.ts +0 -25
  145. package/dist/models/get-response-message-response-class.js +0 -15
  146. package/dist/models/get-user-response-class.d.ts +0 -25
  147. package/dist/models/get-user-response-class.js +0 -15
  148. package/dist/models/get-vba-response-class.d.ts +0 -25
  149. package/dist/models/get-vba-response-class.js +0 -15
  150. package/dist/models/get-vbu-response-class.d.ts +0 -25
  151. package/dist/models/get-vbu-response-class.js +0 -15
  152. package/dist/models/get-zip-code-response-class.d.ts +0 -25
  153. package/dist/models/get-zip-code-response-class.js +0 -15
  154. package/dist/models/list-all-messages-response-class.d.ts +0 -31
  155. package/dist/models/list-all-messages-response-class.js +0 -15
  156. package/dist/models/list-requests-messages-response-class.d.ts +0 -31
  157. package/dist/models/list-requests-messages-response-class.js +0 -15
  158. package/dist/models/list-responses-messages-response-class.d.ts +0 -31
  159. package/dist/models/list-responses-messages-response-class.js +0 -15
  160. package/dist/models/list-users-response-class.d.ts +0 -31
  161. package/dist/models/list-users-response-class.js +0 -15
  162. package/dist/models/list-vbas-response-class.d.ts +0 -31
  163. package/dist/models/list-vbas-response-class.js +0 -15
  164. package/dist/models/list-vbus-response-class.d.ts +0 -31
  165. package/dist/models/list-vbus-response-class.js +0 -15
  166. package/dist/models/list-zip-codes-response-class.d.ts +0 -31
  167. package/dist/models/list-zip-codes-response-class.js +0 -15
  168. package/dist/models/message-class.d.ts +0 -90
  169. package/dist/models/message-class.js +0 -15
  170. package/dist/models/request-details-class.d.ts +0 -48
  171. package/dist/models/request-details-class.js +0 -15
  172. package/dist/models/request-message-class.d.ts +0 -127
  173. package/dist/models/request-message-class.js +0 -15
  174. package/dist/models/response-details-class.d.ts +0 -42
  175. package/dist/models/response-details-class.js +0 -15
  176. package/dist/models/response-message-class.d.ts +0 -139
  177. package/dist/models/response-message-class.js +0 -15
  178. package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
  179. package/dist/models/store-zip-codes-request-dto.js +0 -15
  180. package/dist/models/store-zip-codes-response-class.d.ts +0 -25
  181. package/dist/models/store-zip-codes-response-class.js +0 -15
  182. package/dist/models/update-request-message-request-dto.d.ts +0 -36
  183. package/dist/models/update-request-message-request-dto.js +0 -15
  184. package/dist/models/update-request-message-response-class.d.ts +0 -25
  185. package/dist/models/update-request-message-response-class.js +0 -15
  186. package/dist/models/update-response-message-request-dto.d.ts +0 -36
  187. package/dist/models/update-response-message-request-dto.js +0 -15
  188. package/dist/models/update-response-message-response-class.d.ts +0 -25
  189. package/dist/models/update-response-message-response-class.js +0 -15
  190. package/dist/models/update-user-request-dto.d.ts +0 -82
  191. package/dist/models/update-user-request-dto.js +0 -24
  192. package/dist/models/update-user-response-class.d.ts +0 -25
  193. package/dist/models/update-user-response-class.js +0 -15
  194. package/dist/models/update-vba-request-dto.d.ts +0 -30
  195. package/dist/models/update-vba-request-dto.js +0 -15
  196. package/dist/models/update-vbu-request-dto.d.ts +0 -30
  197. package/dist/models/update-vbu-request-dto.js +0 -15
  198. package/dist/models/update-vbu-response-class.d.ts +0 -25
  199. package/dist/models/update-vbu-response-class.js +0 -15
  200. package/dist/models/user-class.d.ts +0 -107
  201. package/dist/models/user-class.js +0 -20
  202. package/dist/models/vba-class.d.ts +0 -116
  203. package/dist/models/vba-class.js +0 -15
  204. package/dist/models/vba-response-class.d.ts +0 -48
  205. package/dist/models/vba-response-class.js +0 -15
  206. package/dist/models/vbu-class.d.ts +0 -115
  207. package/dist/models/vbu-class.js +0 -15
  208. package/dist/models/vbu-response-class.d.ts +0 -48
  209. package/dist/models/vbu-response-class.js +0 -15
  210. package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
  211. package/dist/models/xlsx-zip-code-dto.js +0 -15
  212. package/dist/models/zip-code-class.d.ts +0 -60
  213. package/dist/models/zip-code-class.js +0 -15
  214. package/models/address-class.ts +0 -54
  215. package/models/create-mailbox-request-dto.ts +0 -42
  216. package/models/create-user-request-dto.ts +0 -86
  217. package/models/create-user-response-class.ts +0 -31
  218. package/models/create-vba-request-dto.ts +0 -50
  219. package/models/create-vba-response-class.ts +0 -30
  220. package/models/create-vbu-request-dto.ts +0 -50
  221. package/models/create-vbu-response-class.ts +0 -30
  222. package/models/create-vbuv-request-dto.ts +0 -50
  223. package/models/create-vbuv-response-class.ts +0 -30
  224. package/models/get-request-message-response-class.ts +0 -31
  225. package/models/get-response-message-response-class.ts +0 -31
  226. package/models/get-user-response-class.ts +0 -31
  227. package/models/get-vba-response-class.ts +0 -31
  228. package/models/get-vbu-response-class.ts +0 -31
  229. package/models/get-zip-code-response-class.ts +0 -31
  230. package/models/list-all-messages-response-class.ts +0 -37
  231. package/models/list-requests-messages-response-class.ts +0 -37
  232. package/models/list-responses-messages-response-class.ts +0 -37
  233. package/models/list-users-response-class.ts +0 -37
  234. package/models/list-vbas-response-class.ts +0 -37
  235. package/models/list-vbus-response-class.ts +0 -37
  236. package/models/list-zip-codes-response-class.ts +0 -37
  237. package/models/message-class.ts +0 -96
  238. package/models/request-details-class.ts +0 -54
  239. package/models/request-message-class.ts +0 -133
  240. package/models/response-details-class.ts +0 -48
  241. package/models/response-message-class.ts +0 -145
  242. package/models/store-zip-codes-request-dto.ts +0 -31
  243. package/models/store-zip-codes-response-class.ts +0 -31
  244. package/models/update-request-message-request-dto.ts +0 -42
  245. package/models/update-request-message-response-class.ts +0 -31
  246. package/models/update-response-message-request-dto.ts +0 -42
  247. package/models/update-response-message-response-class.ts +0 -31
  248. package/models/update-user-request-dto.ts +0 -92
  249. package/models/update-user-response-class.ts +0 -31
  250. package/models/update-vba-request-dto.ts +0 -36
  251. package/models/update-vbu-request-dto.ts +0 -36
  252. package/models/update-vbu-response-class.ts +0 -31
  253. package/models/user-class.ts +0 -116
  254. package/models/vba-class.ts +0 -122
  255. package/models/vba-response-class.ts +0 -54
  256. package/models/vbu-class.ts +0 -121
  257. package/models/vbu-response-class.ts +0 -54
  258. package/models/xlsx-zip-code-dto.ts +0 -36
  259. package/models/zip-code-class.ts +0 -66
@@ -1,1100 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL GdvService
5
- * The EMIL GdvService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { GetRequestMessageResponseClass } from '../models';
25
- // @ts-ignore
26
- import { GetResponseMessageResponseClass } from '../models';
27
- // @ts-ignore
28
- import { ListAllMessagesResponseClass } from '../models';
29
- // @ts-ignore
30
- import { ListRequestsMessagesResponseClass } from '../models';
31
- // @ts-ignore
32
- import { ListResponsesMessagesResponseClass } from '../models';
33
- // @ts-ignore
34
- import { UpdateRequestMessageRequestDto } from '../models';
35
- // @ts-ignore
36
- import { UpdateRequestMessageResponseClass } from '../models';
37
- // @ts-ignore
38
- import { UpdateResponseMessageRequestDto } from '../models';
39
- // @ts-ignore
40
- import { UpdateResponseMessageResponseClass } from '../models';
41
- // URLSearchParams not necessarily used
42
- // @ts-ignore
43
- import { URL, URLSearchParams } from 'url';
44
- const FormData = require('form-data');
45
- /**
46
- * MessagesApi - axios parameter creator
47
- * @export
48
- */
49
- export const MessagesApiAxiosParamCreator = function (configuration?: Configuration) {
50
- return {
51
- /**
52
- * Retrieves the details of the request message that was previously created. Supply the unique request message code that was returned when you created it and Emil Api will return the corresponding request message information. **Required Permissions** \"gdv-management.operations.view\"
53
- * @summary Retrieve the request message
54
- * @param {string} code Unique identifier for the object.
55
- * @param {string} [authorization] Bearer Token
56
- * @param {string} [expand]
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- getRequestMessage: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
61
- // verify required parameter 'code' is not null or undefined
62
- assertParamExists('getRequestMessage', 'code', code)
63
- const localVarPath = `/gdvservice/v1/messages/requests/{code}`
64
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
65
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
66
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67
- let baseOptions;
68
- let baseAccessToken;
69
- if (configuration) {
70
- baseOptions = configuration.baseOptions;
71
- baseAccessToken = configuration.accessToken;
72
- }
73
-
74
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
75
- const localVarHeaderParameter = {} as any;
76
- const localVarQueryParameter = {} as any;
77
-
78
- // authentication bearer required
79
- // http bearer authentication required
80
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
81
-
82
- if (expand !== undefined) {
83
- localVarQueryParameter['expand'] = expand;
84
- }
85
-
86
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
87
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
88
- }
89
-
90
-
91
-
92
- setSearchParams(localVarUrlObj, localVarQueryParameter);
93
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
95
-
96
- return {
97
- url: toPathString(localVarUrlObj),
98
- options: localVarRequestOptions,
99
- };
100
- },
101
- /**
102
- * Retrieves the details of the response message that was previously created. Supply the unique response message code that was returned when you created it and Emil Api will return the corresponding response message information. **Required Permissions** \"gdv-management.operations.view\"
103
- * @summary Retrieve the response message
104
- * @param {string} code Unique identifier for the object.
105
- * @param {string} [authorization] Bearer Token
106
- * @param {string} [expand]
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- getResponseMessage: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
111
- // verify required parameter 'code' is not null or undefined
112
- assertParamExists('getResponseMessage', 'code', code)
113
- const localVarPath = `/gdvservice/v1/messages/responses/{code}`
114
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
115
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
117
- let baseOptions;
118
- let baseAccessToken;
119
- if (configuration) {
120
- baseOptions = configuration.baseOptions;
121
- baseAccessToken = configuration.accessToken;
122
- }
123
-
124
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
125
- const localVarHeaderParameter = {} as any;
126
- const localVarQueryParameter = {} as any;
127
-
128
- // authentication bearer required
129
- // http bearer authentication required
130
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
131
-
132
- if (expand !== undefined) {
133
- localVarQueryParameter['expand'] = expand;
134
- }
135
-
136
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
137
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
138
- }
139
-
140
-
141
-
142
- setSearchParams(localVarUrlObj, localVarQueryParameter);
143
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
144
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
145
-
146
- return {
147
- url: toPathString(localVarUrlObj),
148
- options: localVarRequestOptions,
149
- };
150
- },
151
- /**
152
- * Returns a list of messages you have previously created. The messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
153
- * @summary List messages
154
- * @param {string} [authorization] Bearer Token
155
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
156
- * @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.
157
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
158
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
159
- * @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.
160
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
161
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
162
- * @param {*} [options] Override http request option.
163
- * @throws {RequiredError}
164
- */
165
- listAllMessages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
166
- const localVarPath = `/gdvservice/v1/messages`;
167
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
168
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
169
- let baseOptions;
170
- let baseAccessToken;
171
- if (configuration) {
172
- baseOptions = configuration.baseOptions;
173
- baseAccessToken = configuration.accessToken;
174
- }
175
-
176
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
177
- const localVarHeaderParameter = {} as any;
178
- const localVarQueryParameter = {} as any;
179
-
180
- // authentication bearer required
181
- // http bearer authentication required
182
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
183
-
184
- if (pageSize !== undefined) {
185
- localVarQueryParameter['pageSize'] = pageSize;
186
- }
187
-
188
- if (pageToken !== undefined) {
189
- localVarQueryParameter['pageToken'] = pageToken;
190
- }
191
-
192
- if (filter !== undefined) {
193
- localVarQueryParameter['filter'] = filter;
194
- }
195
-
196
- if (search !== undefined) {
197
- localVarQueryParameter['search'] = search;
198
- }
199
-
200
- if (order !== undefined) {
201
- localVarQueryParameter['order'] = order;
202
- }
203
-
204
- if (expand !== undefined) {
205
- localVarQueryParameter['expand'] = expand;
206
- }
207
-
208
- if (filters !== undefined) {
209
- localVarQueryParameter['filters'] = filters;
210
- }
211
-
212
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
213
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
214
- }
215
-
216
-
217
-
218
- setSearchParams(localVarUrlObj, localVarQueryParameter);
219
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
220
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
221
-
222
- return {
223
- url: toPathString(localVarUrlObj),
224
- options: localVarRequestOptions,
225
- };
226
- },
227
- /**
228
- * Returns a list of requests messages you have previously created. The requests messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
229
- * @summary List requests messages
230
- * @param {string} [authorization] Bearer Token
231
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
232
- * @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.
233
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
234
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
235
- * @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.
236
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
237
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
238
- * @param {*} [options] Override http request option.
239
- * @throws {RequiredError}
240
- */
241
- listRequestsMessages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
242
- const localVarPath = `/gdvservice/v1/messages/requests`;
243
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
244
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
245
- let baseOptions;
246
- let baseAccessToken;
247
- if (configuration) {
248
- baseOptions = configuration.baseOptions;
249
- baseAccessToken = configuration.accessToken;
250
- }
251
-
252
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
253
- const localVarHeaderParameter = {} as any;
254
- const localVarQueryParameter = {} as any;
255
-
256
- // authentication bearer required
257
- // http bearer authentication required
258
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
259
-
260
- if (pageSize !== undefined) {
261
- localVarQueryParameter['pageSize'] = pageSize;
262
- }
263
-
264
- if (pageToken !== undefined) {
265
- localVarQueryParameter['pageToken'] = pageToken;
266
- }
267
-
268
- if (filter !== undefined) {
269
- localVarQueryParameter['filter'] = filter;
270
- }
271
-
272
- if (search !== undefined) {
273
- localVarQueryParameter['search'] = search;
274
- }
275
-
276
- if (order !== undefined) {
277
- localVarQueryParameter['order'] = order;
278
- }
279
-
280
- if (expand !== undefined) {
281
- localVarQueryParameter['expand'] = expand;
282
- }
283
-
284
- if (filters !== undefined) {
285
- localVarQueryParameter['filters'] = filters;
286
- }
287
-
288
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
289
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
290
- }
291
-
292
-
293
-
294
- setSearchParams(localVarUrlObj, localVarQueryParameter);
295
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
297
-
298
- return {
299
- url: toPathString(localVarUrlObj),
300
- options: localVarRequestOptions,
301
- };
302
- },
303
- /**
304
- * Returns a list of responses messages you have previously created. The responses messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
305
- * @summary List responses messages
306
- * @param {string} [authorization] Bearer Token
307
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
308
- * @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.
309
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
310
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
311
- * @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.
312
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
313
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
314
- * @param {*} [options] Override http request option.
315
- * @throws {RequiredError}
316
- */
317
- listResponsesMessages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
318
- const localVarPath = `/gdvservice/v1/messages/responses`;
319
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
320
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
321
- let baseOptions;
322
- let baseAccessToken;
323
- if (configuration) {
324
- baseOptions = configuration.baseOptions;
325
- baseAccessToken = configuration.accessToken;
326
- }
327
-
328
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
329
- const localVarHeaderParameter = {} as any;
330
- const localVarQueryParameter = {} as any;
331
-
332
- // authentication bearer required
333
- // http bearer authentication required
334
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
335
-
336
- if (pageSize !== undefined) {
337
- localVarQueryParameter['pageSize'] = pageSize;
338
- }
339
-
340
- if (pageToken !== undefined) {
341
- localVarQueryParameter['pageToken'] = pageToken;
342
- }
343
-
344
- if (filter !== undefined) {
345
- localVarQueryParameter['filter'] = filter;
346
- }
347
-
348
- if (search !== undefined) {
349
- localVarQueryParameter['search'] = search;
350
- }
351
-
352
- if (order !== undefined) {
353
- localVarQueryParameter['order'] = order;
354
- }
355
-
356
- if (expand !== undefined) {
357
- localVarQueryParameter['expand'] = expand;
358
- }
359
-
360
- if (filters !== undefined) {
361
- localVarQueryParameter['filters'] = filters;
362
- }
363
-
364
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
365
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
366
- }
367
-
368
-
369
-
370
- setSearchParams(localVarUrlObj, localVarQueryParameter);
371
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
372
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
373
-
374
- return {
375
- url: toPathString(localVarUrlObj),
376
- options: localVarRequestOptions,
377
- };
378
- },
379
- /**
380
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
381
- * @summary Update the request message
382
- * @param {string} code Unique identifier for the object.
383
- * @param {UpdateRequestMessageRequestDto} updateRequestMessageRequestDto
384
- * @param {string} [authorization] Bearer Token
385
- * @param {*} [options] Override http request option.
386
- * @throws {RequiredError}
387
- */
388
- updateRequestMessage: async (code: string, updateRequestMessageRequestDto: UpdateRequestMessageRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
389
- // verify required parameter 'code' is not null or undefined
390
- assertParamExists('updateRequestMessage', 'code', code)
391
- // verify required parameter 'updateRequestMessageRequestDto' is not null or undefined
392
- assertParamExists('updateRequestMessage', 'updateRequestMessageRequestDto', updateRequestMessageRequestDto)
393
- const localVarPath = `/gdvservice/v1/messages/requests/{code}`
394
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
395
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
396
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
397
- let baseOptions;
398
- let baseAccessToken;
399
- if (configuration) {
400
- baseOptions = configuration.baseOptions;
401
- baseAccessToken = configuration.accessToken;
402
- }
403
-
404
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
405
- const localVarHeaderParameter = {} as any;
406
- const localVarQueryParameter = {} as any;
407
-
408
- // authentication bearer required
409
- // http bearer authentication required
410
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
411
-
412
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
413
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
414
- }
415
-
416
-
417
-
418
- localVarHeaderParameter['Content-Type'] = 'application/json';
419
-
420
- setSearchParams(localVarUrlObj, localVarQueryParameter);
421
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
422
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
423
- localVarRequestOptions.data = serializeDataIfNeeded(updateRequestMessageRequestDto, localVarRequestOptions, configuration)
424
-
425
- return {
426
- url: toPathString(localVarUrlObj),
427
- options: localVarRequestOptions,
428
- };
429
- },
430
- /**
431
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
432
- * @summary Update the request message
433
- * @param {string} code Unique identifier for the object.
434
- * @param {UpdateResponseMessageRequestDto} updateResponseMessageRequestDto
435
- * @param {string} [authorization] Bearer Token
436
- * @param {*} [options] Override http request option.
437
- * @throws {RequiredError}
438
- */
439
- updateResponseMessage: async (code: string, updateResponseMessageRequestDto: UpdateResponseMessageRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
440
- // verify required parameter 'code' is not null or undefined
441
- assertParamExists('updateResponseMessage', 'code', code)
442
- // verify required parameter 'updateResponseMessageRequestDto' is not null or undefined
443
- assertParamExists('updateResponseMessage', 'updateResponseMessageRequestDto', updateResponseMessageRequestDto)
444
- const localVarPath = `/gdvservice/v1/messages/responses/{code}`
445
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
446
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
447
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
448
- let baseOptions;
449
- let baseAccessToken;
450
- if (configuration) {
451
- baseOptions = configuration.baseOptions;
452
- baseAccessToken = configuration.accessToken;
453
- }
454
-
455
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
456
- const localVarHeaderParameter = {} as any;
457
- const localVarQueryParameter = {} as any;
458
-
459
- // authentication bearer required
460
- // http bearer authentication required
461
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
462
-
463
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
464
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
465
- }
466
-
467
-
468
-
469
- localVarHeaderParameter['Content-Type'] = 'application/json';
470
-
471
- setSearchParams(localVarUrlObj, localVarQueryParameter);
472
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
473
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
474
- localVarRequestOptions.data = serializeDataIfNeeded(updateResponseMessageRequestDto, localVarRequestOptions, configuration)
475
-
476
- return {
477
- url: toPathString(localVarUrlObj),
478
- options: localVarRequestOptions,
479
- };
480
- },
481
- }
482
- };
483
-
484
- /**
485
- * MessagesApi - functional programming interface
486
- * @export
487
- */
488
- export const MessagesApiFp = function(configuration?: Configuration) {
489
- const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration)
490
- return {
491
- /**
492
- * Retrieves the details of the request message that was previously created. Supply the unique request message code that was returned when you created it and Emil Api will return the corresponding request message information. **Required Permissions** \"gdv-management.operations.view\"
493
- * @summary Retrieve the request message
494
- * @param {string} code Unique identifier for the object.
495
- * @param {string} [authorization] Bearer Token
496
- * @param {string} [expand]
497
- * @param {*} [options] Override http request option.
498
- * @throws {RequiredError}
499
- */
500
- async getRequestMessage(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRequestMessageResponseClass>> {
501
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRequestMessage(code, authorization, expand, options);
502
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
503
- },
504
- /**
505
- * Retrieves the details of the response message that was previously created. Supply the unique response message code that was returned when you created it and Emil Api will return the corresponding response message information. **Required Permissions** \"gdv-management.operations.view\"
506
- * @summary Retrieve the response message
507
- * @param {string} code Unique identifier for the object.
508
- * @param {string} [authorization] Bearer Token
509
- * @param {string} [expand]
510
- * @param {*} [options] Override http request option.
511
- * @throws {RequiredError}
512
- */
513
- async getResponseMessage(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetResponseMessageResponseClass>> {
514
- const localVarAxiosArgs = await localVarAxiosParamCreator.getResponseMessage(code, authorization, expand, options);
515
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
516
- },
517
- /**
518
- * Returns a list of messages you have previously created. The messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
519
- * @summary List messages
520
- * @param {string} [authorization] Bearer Token
521
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
522
- * @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.
523
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
524
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
525
- * @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.
526
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
527
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
528
- * @param {*} [options] Override http request option.
529
- * @throws {RequiredError}
530
- */
531
- async listAllMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAllMessagesResponseClass>> {
532
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAllMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
533
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
534
- },
535
- /**
536
- * Returns a list of requests messages you have previously created. The requests messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
537
- * @summary List requests messages
538
- * @param {string} [authorization] Bearer Token
539
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
540
- * @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.
541
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
542
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
543
- * @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.
544
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
545
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
546
- * @param {*} [options] Override http request option.
547
- * @throws {RequiredError}
548
- */
549
- async listRequestsMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRequestsMessagesResponseClass>> {
550
- const localVarAxiosArgs = await localVarAxiosParamCreator.listRequestsMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
551
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
552
- },
553
- /**
554
- * Returns a list of responses messages you have previously created. The responses messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
555
- * @summary List responses messages
556
- * @param {string} [authorization] Bearer Token
557
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
558
- * @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.
559
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
560
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
561
- * @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.
562
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
563
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
564
- * @param {*} [options] Override http request option.
565
- * @throws {RequiredError}
566
- */
567
- async listResponsesMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponsesMessagesResponseClass>> {
568
- const localVarAxiosArgs = await localVarAxiosParamCreator.listResponsesMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
569
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
570
- },
571
- /**
572
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
573
- * @summary Update the request message
574
- * @param {string} code Unique identifier for the object.
575
- * @param {UpdateRequestMessageRequestDto} updateRequestMessageRequestDto
576
- * @param {string} [authorization] Bearer Token
577
- * @param {*} [options] Override http request option.
578
- * @throws {RequiredError}
579
- */
580
- async updateRequestMessage(code: string, updateRequestMessageRequestDto: UpdateRequestMessageRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRequestMessageResponseClass>> {
581
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateRequestMessage(code, updateRequestMessageRequestDto, authorization, options);
582
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
583
- },
584
- /**
585
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
586
- * @summary Update the request message
587
- * @param {string} code Unique identifier for the object.
588
- * @param {UpdateResponseMessageRequestDto} updateResponseMessageRequestDto
589
- * @param {string} [authorization] Bearer Token
590
- * @param {*} [options] Override http request option.
591
- * @throws {RequiredError}
592
- */
593
- async updateResponseMessage(code: string, updateResponseMessageRequestDto: UpdateResponseMessageRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateResponseMessageResponseClass>> {
594
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateResponseMessage(code, updateResponseMessageRequestDto, authorization, options);
595
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
596
- },
597
- }
598
- };
599
-
600
- /**
601
- * MessagesApi - factory interface
602
- * @export
603
- */
604
- export const MessagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
605
- const localVarFp = MessagesApiFp(configuration)
606
- return {
607
- /**
608
- * Retrieves the details of the request message that was previously created. Supply the unique request message code that was returned when you created it and Emil Api will return the corresponding request message information. **Required Permissions** \"gdv-management.operations.view\"
609
- * @summary Retrieve the request message
610
- * @param {string} code Unique identifier for the object.
611
- * @param {string} [authorization] Bearer Token
612
- * @param {string} [expand]
613
- * @param {*} [options] Override http request option.
614
- * @throws {RequiredError}
615
- */
616
- getRequestMessage(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRequestMessageResponseClass> {
617
- return localVarFp.getRequestMessage(code, authorization, expand, options).then((request) => request(axios, basePath));
618
- },
619
- /**
620
- * Retrieves the details of the response message that was previously created. Supply the unique response message code that was returned when you created it and Emil Api will return the corresponding response message information. **Required Permissions** \"gdv-management.operations.view\"
621
- * @summary Retrieve the response message
622
- * @param {string} code Unique identifier for the object.
623
- * @param {string} [authorization] Bearer Token
624
- * @param {string} [expand]
625
- * @param {*} [options] Override http request option.
626
- * @throws {RequiredError}
627
- */
628
- getResponseMessage(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetResponseMessageResponseClass> {
629
- return localVarFp.getResponseMessage(code, authorization, expand, options).then((request) => request(axios, basePath));
630
- },
631
- /**
632
- * Returns a list of messages you have previously created. The messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
633
- * @summary List messages
634
- * @param {string} [authorization] Bearer Token
635
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
636
- * @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.
637
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
638
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
639
- * @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.
640
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
641
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
642
- * @param {*} [options] Override http request option.
643
- * @throws {RequiredError}
644
- */
645
- listAllMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListAllMessagesResponseClass> {
646
- return localVarFp.listAllMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
647
- },
648
- /**
649
- * Returns a list of requests messages you have previously created. The requests messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
650
- * @summary List requests messages
651
- * @param {string} [authorization] Bearer Token
652
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
653
- * @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.
654
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
655
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
656
- * @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.
657
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
658
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- listRequestsMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRequestsMessagesResponseClass> {
663
- return localVarFp.listRequestsMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
664
- },
665
- /**
666
- * Returns a list of responses messages you have previously created. The responses messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
667
- * @summary List responses messages
668
- * @param {string} [authorization] Bearer Token
669
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
670
- * @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.
671
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
672
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
673
- * @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.
674
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
675
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
676
- * @param {*} [options] Override http request option.
677
- * @throws {RequiredError}
678
- */
679
- listResponsesMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListResponsesMessagesResponseClass> {
680
- return localVarFp.listResponsesMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
681
- },
682
- /**
683
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
684
- * @summary Update the request message
685
- * @param {string} code Unique identifier for the object.
686
- * @param {UpdateRequestMessageRequestDto} updateRequestMessageRequestDto
687
- * @param {string} [authorization] Bearer Token
688
- * @param {*} [options] Override http request option.
689
- * @throws {RequiredError}
690
- */
691
- updateRequestMessage(code: string, updateRequestMessageRequestDto: UpdateRequestMessageRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateRequestMessageResponseClass> {
692
- return localVarFp.updateRequestMessage(code, updateRequestMessageRequestDto, authorization, options).then((request) => request(axios, basePath));
693
- },
694
- /**
695
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
696
- * @summary Update the request message
697
- * @param {string} code Unique identifier for the object.
698
- * @param {UpdateResponseMessageRequestDto} updateResponseMessageRequestDto
699
- * @param {string} [authorization] Bearer Token
700
- * @param {*} [options] Override http request option.
701
- * @throws {RequiredError}
702
- */
703
- updateResponseMessage(code: string, updateResponseMessageRequestDto: UpdateResponseMessageRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateResponseMessageResponseClass> {
704
- return localVarFp.updateResponseMessage(code, updateResponseMessageRequestDto, authorization, options).then((request) => request(axios, basePath));
705
- },
706
- };
707
- };
708
-
709
- /**
710
- * Request parameters for getRequestMessage operation in MessagesApi.
711
- * @export
712
- * @interface MessagesApiGetRequestMessageRequest
713
- */
714
- export interface MessagesApiGetRequestMessageRequest {
715
- /**
716
- * Unique identifier for the object.
717
- * @type {string}
718
- * @memberof MessagesApiGetRequestMessage
719
- */
720
- readonly code: string
721
-
722
- /**
723
- * Bearer Token
724
- * @type {string}
725
- * @memberof MessagesApiGetRequestMessage
726
- */
727
- readonly authorization?: string
728
-
729
- /**
730
- *
731
- * @type {string}
732
- * @memberof MessagesApiGetRequestMessage
733
- */
734
- readonly expand?: string
735
- }
736
-
737
- /**
738
- * Request parameters for getResponseMessage operation in MessagesApi.
739
- * @export
740
- * @interface MessagesApiGetResponseMessageRequest
741
- */
742
- export interface MessagesApiGetResponseMessageRequest {
743
- /**
744
- * Unique identifier for the object.
745
- * @type {string}
746
- * @memberof MessagesApiGetResponseMessage
747
- */
748
- readonly code: string
749
-
750
- /**
751
- * Bearer Token
752
- * @type {string}
753
- * @memberof MessagesApiGetResponseMessage
754
- */
755
- readonly authorization?: string
756
-
757
- /**
758
- *
759
- * @type {string}
760
- * @memberof MessagesApiGetResponseMessage
761
- */
762
- readonly expand?: string
763
- }
764
-
765
- /**
766
- * Request parameters for listAllMessages operation in MessagesApi.
767
- * @export
768
- * @interface MessagesApiListAllMessagesRequest
769
- */
770
- export interface MessagesApiListAllMessagesRequest {
771
- /**
772
- * Bearer Token
773
- * @type {string}
774
- * @memberof MessagesApiListAllMessages
775
- */
776
- readonly authorization?: string
777
-
778
- /**
779
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
780
- * @type {number}
781
- * @memberof MessagesApiListAllMessages
782
- */
783
- readonly pageSize?: number
784
-
785
- /**
786
- * 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.
787
- * @type {string}
788
- * @memberof MessagesApiListAllMessages
789
- */
790
- readonly pageToken?: string
791
-
792
- /**
793
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
794
- * @type {string}
795
- * @memberof MessagesApiListAllMessages
796
- */
797
- readonly filter?: string
798
-
799
- /**
800
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
801
- * @type {string}
802
- * @memberof MessagesApiListAllMessages
803
- */
804
- readonly search?: string
805
-
806
- /**
807
- * 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.
808
- * @type {string}
809
- * @memberof MessagesApiListAllMessages
810
- */
811
- readonly order?: string
812
-
813
- /**
814
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
815
- * @type {string}
816
- * @memberof MessagesApiListAllMessages
817
- */
818
- readonly expand?: string
819
-
820
- /**
821
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
822
- * @type {string}
823
- * @memberof MessagesApiListAllMessages
824
- */
825
- readonly filters?: string
826
- }
827
-
828
- /**
829
- * Request parameters for listRequestsMessages operation in MessagesApi.
830
- * @export
831
- * @interface MessagesApiListRequestsMessagesRequest
832
- */
833
- export interface MessagesApiListRequestsMessagesRequest {
834
- /**
835
- * Bearer Token
836
- * @type {string}
837
- * @memberof MessagesApiListRequestsMessages
838
- */
839
- readonly authorization?: string
840
-
841
- /**
842
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
843
- * @type {number}
844
- * @memberof MessagesApiListRequestsMessages
845
- */
846
- readonly pageSize?: number
847
-
848
- /**
849
- * 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.
850
- * @type {string}
851
- * @memberof MessagesApiListRequestsMessages
852
- */
853
- readonly pageToken?: string
854
-
855
- /**
856
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
857
- * @type {string}
858
- * @memberof MessagesApiListRequestsMessages
859
- */
860
- readonly filter?: string
861
-
862
- /**
863
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
864
- * @type {string}
865
- * @memberof MessagesApiListRequestsMessages
866
- */
867
- readonly search?: string
868
-
869
- /**
870
- * 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.
871
- * @type {string}
872
- * @memberof MessagesApiListRequestsMessages
873
- */
874
- readonly order?: string
875
-
876
- /**
877
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
878
- * @type {string}
879
- * @memberof MessagesApiListRequestsMessages
880
- */
881
- readonly expand?: string
882
-
883
- /**
884
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
885
- * @type {string}
886
- * @memberof MessagesApiListRequestsMessages
887
- */
888
- readonly filters?: string
889
- }
890
-
891
- /**
892
- * Request parameters for listResponsesMessages operation in MessagesApi.
893
- * @export
894
- * @interface MessagesApiListResponsesMessagesRequest
895
- */
896
- export interface MessagesApiListResponsesMessagesRequest {
897
- /**
898
- * Bearer Token
899
- * @type {string}
900
- * @memberof MessagesApiListResponsesMessages
901
- */
902
- readonly authorization?: string
903
-
904
- /**
905
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
906
- * @type {number}
907
- * @memberof MessagesApiListResponsesMessages
908
- */
909
- readonly pageSize?: number
910
-
911
- /**
912
- * 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.
913
- * @type {string}
914
- * @memberof MessagesApiListResponsesMessages
915
- */
916
- readonly pageToken?: string
917
-
918
- /**
919
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
920
- * @type {string}
921
- * @memberof MessagesApiListResponsesMessages
922
- */
923
- readonly filter?: string
924
-
925
- /**
926
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
927
- * @type {string}
928
- * @memberof MessagesApiListResponsesMessages
929
- */
930
- readonly search?: string
931
-
932
- /**
933
- * 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.
934
- * @type {string}
935
- * @memberof MessagesApiListResponsesMessages
936
- */
937
- readonly order?: string
938
-
939
- /**
940
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
941
- * @type {string}
942
- * @memberof MessagesApiListResponsesMessages
943
- */
944
- readonly expand?: string
945
-
946
- /**
947
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
948
- * @type {string}
949
- * @memberof MessagesApiListResponsesMessages
950
- */
951
- readonly filters?: string
952
- }
953
-
954
- /**
955
- * Request parameters for updateRequestMessage operation in MessagesApi.
956
- * @export
957
- * @interface MessagesApiUpdateRequestMessageRequest
958
- */
959
- export interface MessagesApiUpdateRequestMessageRequest {
960
- /**
961
- * Unique identifier for the object.
962
- * @type {string}
963
- * @memberof MessagesApiUpdateRequestMessage
964
- */
965
- readonly code: string
966
-
967
- /**
968
- *
969
- * @type {UpdateRequestMessageRequestDto}
970
- * @memberof MessagesApiUpdateRequestMessage
971
- */
972
- readonly updateRequestMessageRequestDto: UpdateRequestMessageRequestDto
973
-
974
- /**
975
- * Bearer Token
976
- * @type {string}
977
- * @memberof MessagesApiUpdateRequestMessage
978
- */
979
- readonly authorization?: string
980
- }
981
-
982
- /**
983
- * Request parameters for updateResponseMessage operation in MessagesApi.
984
- * @export
985
- * @interface MessagesApiUpdateResponseMessageRequest
986
- */
987
- export interface MessagesApiUpdateResponseMessageRequest {
988
- /**
989
- * Unique identifier for the object.
990
- * @type {string}
991
- * @memberof MessagesApiUpdateResponseMessage
992
- */
993
- readonly code: string
994
-
995
- /**
996
- *
997
- * @type {UpdateResponseMessageRequestDto}
998
- * @memberof MessagesApiUpdateResponseMessage
999
- */
1000
- readonly updateResponseMessageRequestDto: UpdateResponseMessageRequestDto
1001
-
1002
- /**
1003
- * Bearer Token
1004
- * @type {string}
1005
- * @memberof MessagesApiUpdateResponseMessage
1006
- */
1007
- readonly authorization?: string
1008
- }
1009
-
1010
- /**
1011
- * MessagesApi - object-oriented interface
1012
- * @export
1013
- * @class MessagesApi
1014
- * @extends {BaseAPI}
1015
- */
1016
- export class MessagesApi extends BaseAPI {
1017
- /**
1018
- * Retrieves the details of the request message that was previously created. Supply the unique request message code that was returned when you created it and Emil Api will return the corresponding request message information. **Required Permissions** \"gdv-management.operations.view\"
1019
- * @summary Retrieve the request message
1020
- * @param {MessagesApiGetRequestMessageRequest} requestParameters Request parameters.
1021
- * @param {*} [options] Override http request option.
1022
- * @throws {RequiredError}
1023
- * @memberof MessagesApi
1024
- */
1025
- public getRequestMessage(requestParameters: MessagesApiGetRequestMessageRequest, options?: AxiosRequestConfig) {
1026
- return MessagesApiFp(this.configuration).getRequestMessage(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1027
- }
1028
-
1029
- /**
1030
- * Retrieves the details of the response message that was previously created. Supply the unique response message code that was returned when you created it and Emil Api will return the corresponding response message information. **Required Permissions** \"gdv-management.operations.view\"
1031
- * @summary Retrieve the response message
1032
- * @param {MessagesApiGetResponseMessageRequest} requestParameters Request parameters.
1033
- * @param {*} [options] Override http request option.
1034
- * @throws {RequiredError}
1035
- * @memberof MessagesApi
1036
- */
1037
- public getResponseMessage(requestParameters: MessagesApiGetResponseMessageRequest, options?: AxiosRequestConfig) {
1038
- return MessagesApiFp(this.configuration).getResponseMessage(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1039
- }
1040
-
1041
- /**
1042
- * Returns a list of messages you have previously created. The messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
1043
- * @summary List messages
1044
- * @param {MessagesApiListAllMessagesRequest} requestParameters Request parameters.
1045
- * @param {*} [options] Override http request option.
1046
- * @throws {RequiredError}
1047
- * @memberof MessagesApi
1048
- */
1049
- public listAllMessages(requestParameters: MessagesApiListAllMessagesRequest = {}, options?: AxiosRequestConfig) {
1050
- return MessagesApiFp(this.configuration).listAllMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1051
- }
1052
-
1053
- /**
1054
- * Returns a list of requests messages you have previously created. The requests messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
1055
- * @summary List requests messages
1056
- * @param {MessagesApiListRequestsMessagesRequest} requestParameters Request parameters.
1057
- * @param {*} [options] Override http request option.
1058
- * @throws {RequiredError}
1059
- * @memberof MessagesApi
1060
- */
1061
- public listRequestsMessages(requestParameters: MessagesApiListRequestsMessagesRequest = {}, options?: AxiosRequestConfig) {
1062
- return MessagesApiFp(this.configuration).listRequestsMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1063
- }
1064
-
1065
- /**
1066
- * Returns a list of responses messages you have previously created. The responses messages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
1067
- * @summary List responses messages
1068
- * @param {MessagesApiListResponsesMessagesRequest} requestParameters Request parameters.
1069
- * @param {*} [options] Override http request option.
1070
- * @throws {RequiredError}
1071
- * @memberof MessagesApi
1072
- */
1073
- public listResponsesMessages(requestParameters: MessagesApiListResponsesMessagesRequest = {}, options?: AxiosRequestConfig) {
1074
- return MessagesApiFp(this.configuration).listResponsesMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1075
- }
1076
-
1077
- /**
1078
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
1079
- * @summary Update the request message
1080
- * @param {MessagesApiUpdateRequestMessageRequest} requestParameters Request parameters.
1081
- * @param {*} [options] Override http request option.
1082
- * @throws {RequiredError}
1083
- * @memberof MessagesApi
1084
- */
1085
- public updateRequestMessage(requestParameters: MessagesApiUpdateRequestMessageRequest, options?: AxiosRequestConfig) {
1086
- return MessagesApiFp(this.configuration).updateRequestMessage(requestParameters.code, requestParameters.updateRequestMessageRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1087
- }
1088
-
1089
- /**
1090
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
1091
- * @summary Update the request message
1092
- * @param {MessagesApiUpdateResponseMessageRequest} requestParameters Request parameters.
1093
- * @param {*} [options] Override http request option.
1094
- * @throws {RequiredError}
1095
- * @memberof MessagesApi
1096
- */
1097
- public updateResponseMessage(requestParameters: MessagesApiUpdateResponseMessageRequest, options?: AxiosRequestConfig) {
1098
- return MessagesApiFp(this.configuration).updateResponseMessage(requestParameters.code, requestParameters.updateResponseMessageRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1099
- }
1100
- }