@emilgroup/document-sdk-node 1.3.0 → 1.4.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 (186) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +1 -1
  4. package/api/documents-api.ts +1 -1
  5. package/api/layouts-api.ts +1 -1
  6. package/api/product-documents-api.ts +1 -1
  7. package/api/search-keywords-api.ts +1 -1
  8. package/api/searchable-document-owners-api.ts +1 -1
  9. package/api/searchable-documents-api.ts +21 -7
  10. package/api.ts +1 -1
  11. package/base.ts +1 -1
  12. package/common.ts +2 -2
  13. package/configuration.ts +1 -1
  14. package/dist/api/document-templates-api.d.ts +1 -1
  15. package/dist/api/document-templates-api.js +1 -1
  16. package/dist/api/documents-api.d.ts +1 -1
  17. package/dist/api/documents-api.js +1 -1
  18. package/dist/api/layouts-api.d.ts +1 -1
  19. package/dist/api/layouts-api.js +1 -1
  20. package/dist/api/product-documents-api.d.ts +1 -1
  21. package/dist/api/product-documents-api.js +1 -1
  22. package/dist/api/search-keywords-api.d.ts +1 -1
  23. package/dist/api/search-keywords-api.js +1 -1
  24. package/dist/api/searchable-document-owners-api.d.ts +1 -1
  25. package/dist/api/searchable-document-owners-api.js +1 -1
  26. package/dist/api/searchable-documents-api.d.ts +13 -4
  27. package/dist/api/searchable-documents-api.js +13 -7
  28. package/dist/api.d.ts +1 -1
  29. package/dist/api.js +1 -1
  30. package/dist/base.d.ts +1 -1
  31. package/dist/base.js +1 -1
  32. package/dist/common.d.ts +2 -2
  33. package/dist/common.js +1 -1
  34. package/dist/configuration.d.ts +1 -1
  35. package/dist/configuration.js +1 -1
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/models/create-doc-template-request-dto.d.ts +1 -1
  39. package/dist/models/create-doc-template-request-dto.js +1 -1
  40. package/dist/models/create-doc-template-response-class.d.ts +1 -1
  41. package/dist/models/create-doc-template-response-class.js +1 -1
  42. package/dist/models/create-document-request-dto.d.ts +1 -1
  43. package/dist/models/create-document-request-dto.js +1 -1
  44. package/dist/models/create-document-sync-response-class.d.ts +1 -1
  45. package/dist/models/create-document-sync-response-class.js +1 -1
  46. package/dist/models/create-html-template-dto.d.ts +1 -1
  47. package/dist/models/create-html-template-dto.js +1 -1
  48. package/dist/models/create-layout-request-dto.d.ts +1 -1
  49. package/dist/models/create-layout-request-dto.js +1 -1
  50. package/dist/models/create-layout-response-class.d.ts +1 -1
  51. package/dist/models/create-layout-response-class.js +1 -1
  52. package/dist/models/create-presigned-post-request-dto.d.ts +1 -1
  53. package/dist/models/create-presigned-post-request-dto.js +1 -1
  54. package/dist/models/create-presigned-post-response-class.d.ts +1 -1
  55. package/dist/models/create-presigned-post-response-class.js +1 -1
  56. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  57. package/dist/models/delete-layout-request-dto.js +1 -1
  58. package/dist/models/delete-product-document-request-dto.d.ts +1 -1
  59. package/dist/models/delete-product-document-request-dto.js +1 -1
  60. package/dist/models/delete-request-dto.d.ts +1 -1
  61. package/dist/models/delete-request-dto.js +1 -1
  62. package/dist/models/delete-response-class.d.ts +1 -1
  63. package/dist/models/delete-response-class.js +1 -1
  64. package/dist/models/doc-template-class.d.ts +1 -1
  65. package/dist/models/doc-template-class.js +1 -1
  66. package/dist/models/document-class.d.ts +1 -1
  67. package/dist/models/document-class.js +1 -1
  68. package/dist/models/download-document-request-dto.d.ts +1 -1
  69. package/dist/models/download-document-request-dto.js +1 -1
  70. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  71. package/dist/models/get-doc-template-request-dto.js +1 -1
  72. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  73. package/dist/models/get-doc-template-response-class.js +1 -1
  74. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  75. package/dist/models/get-document-download-url-response-class.js +1 -1
  76. package/dist/models/get-layout-request-dto.d.ts +1 -1
  77. package/dist/models/get-layout-request-dto.js +1 -1
  78. package/dist/models/get-layout-response-class.d.ts +1 -1
  79. package/dist/models/get-layout-response-class.js +1 -1
  80. package/dist/models/get-product-document-response-class.d.ts +1 -1
  81. package/dist/models/get-product-document-response-class.js +1 -1
  82. package/dist/models/get-signed-s3-key-url-response-class.d.ts +1 -1
  83. package/dist/models/get-signed-s3-key-url-response-class.js +1 -1
  84. package/dist/models/html-template-class.d.ts +1 -1
  85. package/dist/models/html-template-class.js +1 -1
  86. package/dist/models/index.d.ts +1 -0
  87. package/dist/models/index.js +1 -0
  88. package/dist/models/layout-class.d.ts +1 -1
  89. package/dist/models/layout-class.js +1 -1
  90. package/dist/models/list-doc-template-request-dto.d.ts +1 -1
  91. package/dist/models/list-doc-template-request-dto.js +1 -1
  92. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  93. package/dist/models/list-doc-templates-response-class.js +1 -1
  94. package/dist/models/list-documents-response-class.d.ts +1 -1
  95. package/dist/models/list-documents-response-class.js +1 -1
  96. package/dist/models/list-layouts-response-class.d.ts +1 -1
  97. package/dist/models/list-layouts-response-class.js +1 -1
  98. package/dist/models/list-product-documents-response-class.d.ts +1 -1
  99. package/dist/models/list-product-documents-response-class.js +1 -1
  100. package/dist/models/list-request-dto.d.ts +1 -1
  101. package/dist/models/list-request-dto.js +1 -1
  102. package/dist/models/list-search-keywords-request-dto.d.ts +1 -1
  103. package/dist/models/list-search-keywords-request-dto.js +1 -1
  104. package/dist/models/list-search-keywords-response-class.d.ts +1 -1
  105. package/dist/models/list-search-keywords-response-class.js +1 -1
  106. package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
  107. package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
  108. package/dist/models/list-searchable-document-owners-response-class.d.ts +1 -1
  109. package/dist/models/list-searchable-document-owners-response-class.js +1 -1
  110. package/dist/models/list-searchable-documents-request-dto.d.ts +14 -1
  111. package/dist/models/list-searchable-documents-request-dto.js +8 -1
  112. package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
  113. package/dist/models/list-searchable-documents-response-class.js +1 -1
  114. package/dist/models/product-document-class.d.ts +1 -1
  115. package/dist/models/product-document-class.js +1 -1
  116. package/dist/models/searchable-document-class.d.ts +1 -1
  117. package/dist/models/searchable-document-class.js +1 -1
  118. package/dist/models/searchable-document-owner-class.d.ts +1 -1
  119. package/dist/models/searchable-document-owner-class.js +1 -1
  120. package/dist/models/update-doc-template-request-dto.d.ts +1 -1
  121. package/dist/models/update-doc-template-request-dto.js +1 -1
  122. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  123. package/dist/models/update-doc-template-response-class.js +1 -1
  124. package/dist/models/update-document-request-dto.d.ts +1 -1
  125. package/dist/models/update-document-request-dto.js +1 -1
  126. package/dist/models/update-document-response-class.d.ts +1 -1
  127. package/dist/models/update-document-response-class.js +1 -1
  128. package/dist/models/update-html-template-dto.d.ts +1 -1
  129. package/dist/models/update-html-template-dto.js +1 -1
  130. package/dist/models/update-layout-request-dto.d.ts +1 -1
  131. package/dist/models/update-layout-request-dto.js +1 -1
  132. package/dist/models/update-layout-response-class.d.ts +1 -1
  133. package/dist/models/update-layout-response-class.js +1 -1
  134. package/dist/models/upload-product-document-request-dto.d.ts +1 -1
  135. package/dist/models/upload-product-document-request-dto.js +1 -1
  136. package/index.ts +1 -1
  137. package/models/create-doc-template-request-dto.ts +1 -1
  138. package/models/create-doc-template-response-class.ts +1 -1
  139. package/models/create-document-request-dto.ts +1 -1
  140. package/models/create-document-sync-response-class.ts +1 -1
  141. package/models/create-html-template-dto.ts +1 -1
  142. package/models/create-layout-request-dto.ts +1 -1
  143. package/models/create-layout-response-class.ts +1 -1
  144. package/models/create-presigned-post-request-dto.ts +1 -1
  145. package/models/create-presigned-post-response-class.ts +1 -1
  146. package/models/delete-layout-request-dto.ts +1 -1
  147. package/models/delete-product-document-request-dto.ts +1 -1
  148. package/models/delete-request-dto.ts +1 -1
  149. package/models/delete-response-class.ts +1 -1
  150. package/models/doc-template-class.ts +1 -1
  151. package/models/document-class.ts +1 -1
  152. package/models/download-document-request-dto.ts +1 -1
  153. package/models/get-doc-template-request-dto.ts +1 -1
  154. package/models/get-doc-template-response-class.ts +1 -1
  155. package/models/get-document-download-url-response-class.ts +1 -1
  156. package/models/get-layout-request-dto.ts +1 -1
  157. package/models/get-layout-response-class.ts +1 -1
  158. package/models/get-product-document-response-class.ts +1 -1
  159. package/models/get-signed-s3-key-url-response-class.ts +1 -1
  160. package/models/html-template-class.ts +1 -1
  161. package/models/index.ts +1 -0
  162. package/models/layout-class.ts +1 -1
  163. package/models/list-doc-template-request-dto.ts +1 -1
  164. package/models/list-doc-templates-response-class.ts +1 -1
  165. package/models/list-documents-response-class.ts +1 -1
  166. package/models/list-layouts-response-class.ts +1 -1
  167. package/models/list-product-documents-response-class.ts +1 -1
  168. package/models/list-request-dto.ts +1 -1
  169. package/models/list-search-keywords-request-dto.ts +1 -1
  170. package/models/list-search-keywords-response-class.ts +1 -1
  171. package/models/list-searchable-document-owners-request-dto.ts +40 -0
  172. package/models/list-searchable-document-owners-response-class.ts +1 -1
  173. package/models/list-searchable-documents-request-dto.ts +17 -1
  174. package/models/list-searchable-documents-response-class.ts +1 -1
  175. package/models/product-document-class.ts +1 -1
  176. package/models/searchable-document-class.ts +1 -1
  177. package/models/searchable-document-owner-class.ts +1 -1
  178. package/models/update-doc-template-request-dto.ts +1 -1
  179. package/models/update-doc-template-response-class.ts +1 -1
  180. package/models/update-document-request-dto.ts +1 -1
  181. package/models/update-document-response-class.ts +1 -1
  182. package/models/update-html-template-dto.ts +1 -1
  183. package/models/update-layout-request-dto.ts +1 -1
  184. package/models/update-layout-response-class.ts +1 -1
  185. package/models/upload-product-document-request-dto.ts +1 -1
  186. package/package.json +1 -1
@@ -49,6 +49,7 @@ models/list-product-documents-response-class.ts
49
49
  models/list-request-dto.ts
50
50
  models/list-search-keywords-request-dto.ts
51
51
  models/list-search-keywords-response-class.ts
52
+ models/list-searchable-document-owners-request-dto.ts
52
53
  models/list-searchable-document-owners-response-class.ts
53
54
  models/list-searchable-documents-request-dto.ts
54
55
  models/list-searchable-documents-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/document-sdk-node@1.3.0 --save
20
+ npm install @emilgroup/document-sdk-node@1.4.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/document-sdk-node@1.3.0
24
+ yarn add @emilgroup/document-sdk-node@1.4.0
25
25
  ```
26
26
 
27
27
  And then you can import `DocumentsApi`.
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -38,10 +38,11 @@ export const SearchableDocumentsApiAxiosParamCreator = function (configuration?:
38
38
  * @param {string} searchText Text to search in the documents.
39
39
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
40
40
  * @param {string} [authorization] Bearer Token
41
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
41
42
  * @param {*} [options] Override http request option.
42
43
  * @throws {RequiredError}
43
44
  */
44
- listSearchableDocuments: async (searchText: string, ownerIds: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
+ listSearchableDocuments: async (searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
46
  // verify required parameter 'searchText' is not null or undefined
46
47
  assertParamExists('listSearchableDocuments', 'searchText', searchText)
47
48
  // verify required parameter 'ownerIds' is not null or undefined
@@ -72,6 +73,10 @@ export const SearchableDocumentsApiAxiosParamCreator = function (configuration?:
72
73
  localVarQueryParameter['ownerIds'] = ownerIds;
73
74
  }
74
75
 
76
+ if (product !== undefined) {
77
+ localVarQueryParameter['product'] = product;
78
+ }
79
+
75
80
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
76
81
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
77
82
  }
@@ -103,11 +108,12 @@ export const SearchableDocumentsApiFp = function(configuration?: Configuration)
103
108
  * @param {string} searchText Text to search in the documents.
104
109
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
105
110
  * @param {string} [authorization] Bearer Token
111
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
106
112
  * @param {*} [options] Override http request option.
107
113
  * @throws {RequiredError}
108
114
  */
109
- async listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>> {
110
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, options);
115
+ async listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>> {
116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, product, options);
111
117
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
112
118
  },
113
119
  }
@@ -126,11 +132,12 @@ export const SearchableDocumentsApiFactory = function (configuration?: Configura
126
132
  * @param {string} searchText Text to search in the documents.
127
133
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
128
134
  * @param {string} [authorization] Bearer Token
135
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
129
136
  * @param {*} [options] Override http request option.
130
137
  * @throws {RequiredError}
131
138
  */
132
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: any): AxiosPromise<ListSearchableDocumentsResponseClass> {
133
- return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, options).then((request) => request(axios, basePath));
139
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListSearchableDocumentsResponseClass> {
140
+ return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, product, options).then((request) => request(axios, basePath));
134
141
  },
135
142
  };
136
143
  };
@@ -161,6 +168,13 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
161
168
  * @memberof SearchableDocumentsApiListSearchableDocuments
162
169
  */
163
170
  readonly authorization?: string
171
+
172
+ /**
173
+ * PBM product the documents belongs to.
174
+ * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
175
+ * @memberof SearchableDocumentsApiListSearchableDocuments
176
+ */
177
+ readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability'
164
178
  }
165
179
 
166
180
  /**
@@ -179,6 +193,6 @@ export class SearchableDocumentsApi extends BaseAPI {
179
193
  * @memberof SearchableDocumentsApi
180
194
  */
181
195
  public listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig) {
182
- return SearchableDocumentsApiFp(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
196
+ return SearchableDocumentsApiFp(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, requestParameters.product, options).then((request) => request(this.axios, this.basePath));
183
197
  }
184
198
  }
package/api.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/base.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/common.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -144,7 +144,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
144
144
  * The EMIL DocumentService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
- *
147
+ * Contact: kontakt@emil.de
148
148
  *
149
149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
150
150
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -24,10 +24,11 @@ export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: C
24
24
  * @param {string} searchText Text to search in the documents.
25
25
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
26
26
  * @param {string} [authorization] Bearer Token
27
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
27
28
  * @param {*} [options] Override http request option.
28
29
  * @throws {RequiredError}
29
30
  */
30
- listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
+ listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
32
  };
32
33
  /**
33
34
  * SearchableDocumentsApi - functional programming interface
@@ -40,10 +41,11 @@ export declare const SearchableDocumentsApiFp: (configuration?: Configuration) =
40
41
  * @param {string} searchText Text to search in the documents.
41
42
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
42
43
  * @param {string} [authorization] Bearer Token
44
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
43
45
  * @param {*} [options] Override http request option.
44
46
  * @throws {RequiredError}
45
47
  */
46
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
48
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
47
49
  };
48
50
  /**
49
51
  * SearchableDocumentsApi - factory interface
@@ -56,10 +58,11 @@ export declare const SearchableDocumentsApiFactory: (configuration?: Configurati
56
58
  * @param {string} searchText Text to search in the documents.
57
59
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
58
60
  * @param {string} [authorization] Bearer Token
61
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
59
62
  * @param {*} [options] Override http request option.
60
63
  * @throws {RequiredError}
61
64
  */
62
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
65
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
63
66
  };
64
67
  /**
65
68
  * Request parameters for listSearchableDocuments operation in SearchableDocumentsApi.
@@ -85,6 +88,12 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
85
88
  * @memberof SearchableDocumentsApiListSearchableDocuments
86
89
  */
87
90
  readonly authorization?: string;
91
+ /**
92
+ * PBM product the documents belongs to.
93
+ * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
94
+ * @memberof SearchableDocumentsApiListSearchableDocuments
95
+ */
96
+ readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability';
88
97
  }
89
98
  /**
90
99
  * SearchableDocumentsApi - object-oriented interface
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -102,10 +102,11 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
102
102
  * @param {string} searchText Text to search in the documents.
103
103
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
104
104
  * @param {string} [authorization] Bearer Token
105
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
105
106
  * @param {*} [options] Override http request option.
106
107
  * @throws {RequiredError}
107
108
  */
108
- listSearchableDocuments: function (searchText, ownerIds, authorization, options) {
109
+ listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
109
110
  if (options === void 0) { options = {}; }
110
111
  return __awaiter(_this, void 0, void 0, function () {
111
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -138,6 +139,9 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
138
139
  if (ownerIds !== undefined) {
139
140
  localVarQueryParameter['ownerIds'] = ownerIds;
140
141
  }
142
+ if (product !== undefined) {
143
+ localVarQueryParameter['product'] = product;
144
+ }
141
145
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
142
146
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
143
147
  }
@@ -168,15 +172,16 @@ var SearchableDocumentsApiFp = function (configuration) {
168
172
  * @param {string} searchText Text to search in the documents.
169
173
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
170
174
  * @param {string} [authorization] Bearer Token
175
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
171
176
  * @param {*} [options] Override http request option.
172
177
  * @throws {RequiredError}
173
178
  */
174
- listSearchableDocuments: function (searchText, ownerIds, authorization, options) {
179
+ listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
175
180
  return __awaiter(this, void 0, void 0, function () {
176
181
  var localVarAxiosArgs;
177
182
  return __generator(this, function (_a) {
178
183
  switch (_a.label) {
179
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, options)];
184
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, product, options)];
180
185
  case 1:
181
186
  localVarAxiosArgs = _a.sent();
182
187
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -200,11 +205,12 @@ var SearchableDocumentsApiFactory = function (configuration, basePath, axios) {
200
205
  * @param {string} searchText Text to search in the documents.
201
206
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
202
207
  * @param {string} [authorization] Bearer Token
208
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
203
209
  * @param {*} [options] Override http request option.
204
210
  * @throws {RequiredError}
205
211
  */
206
- listSearchableDocuments: function (searchText, ownerIds, authorization, options) {
207
- return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, options).then(function (request) { return request(axios, basePath); });
212
+ listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
213
+ return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, product, options).then(function (request) { return request(axios, basePath); });
208
214
  },
209
215
  };
210
216
  };
@@ -230,7 +236,7 @@ var SearchableDocumentsApi = /** @class */ (function (_super) {
230
236
  */
231
237
  SearchableDocumentsApi.prototype.listSearchableDocuments = function (requestParameters, options) {
232
238
  var _this = this;
233
- return (0, exports.SearchableDocumentsApiFp)(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
239
+ return (0, exports.SearchableDocumentsApiFp)(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, requestParameters.product, options).then(function (request) { return request(_this.axios, _this.basePath); });
234
240
  };
235
241
  return SearchableDocumentsApi;
236
242
  }(base_1.BaseAPI));
package/dist/api.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/api.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/base.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/base.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/common.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -69,7 +69,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
69
69
  * The EMIL DocumentService API description
70
70
  *
71
71
  * The version of the OpenAPI document: 1.0
72
- *
72
+ * Contact: kontakt@emil.de
73
73
  *
74
74
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
75
75
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech