pipedrive 25.0.0 → 27.0.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 (213) hide show
  1. package/dist/esm/versions/v1/api/activities-api.d.ts +40 -40
  2. package/dist/esm/versions/v1/api/activities-api.js +47 -47
  3. package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
  5. package/dist/esm/versions/v1/api/billing-api.js +1 -1
  6. package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
  7. package/dist/esm/versions/v1/api/channels-api.js +4 -4
  8. package/dist/esm/versions/v1/api/currencies-api.js +1 -1
  9. package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
  10. package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
  11. package/dist/esm/versions/v1/api/deals-api.js +447 -118
  12. package/dist/esm/versions/v1/api/files-api.js +8 -8
  13. package/dist/esm/versions/v1/api/filters-api.js +7 -7
  14. package/dist/esm/versions/v1/api/goals-api.js +5 -5
  15. package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
  16. package/dist/esm/versions/v1/api/item-search-api.js +10 -10
  17. package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
  18. package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
  19. package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
  20. package/dist/esm/versions/v1/api/leads-api.js +114 -21
  21. package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
  22. package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
  23. package/dist/esm/versions/v1/api/meetings-api.js +2 -2
  24. package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
  25. package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
  26. package/dist/esm/versions/v1/api/notes-api.js +25 -15
  27. package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
  28. package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
  29. package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
  30. package/dist/esm/versions/v1/api/organizations-api.js +88 -88
  31. package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
  32. package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
  33. package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
  34. package/dist/esm/versions/v1/api/persons-api.js +78 -78
  35. package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
  36. package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
  37. package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
  38. package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
  39. package/dist/esm/versions/v1/api/products-api.js +36 -36
  40. package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
  41. package/dist/esm/versions/v1/api/projects-api.js +14 -14
  42. package/dist/esm/versions/v1/api/recents-api.js +1 -1
  43. package/dist/esm/versions/v1/api/roles-api.js +12 -12
  44. package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
  45. package/dist/esm/versions/v1/api/stages-api.js +43 -43
  46. package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
  47. package/dist/esm/versions/v1/api/tasks-api.js +5 -5
  48. package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
  49. package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
  50. package/dist/esm/versions/v1/api/users-api.js +10 -10
  51. package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
  52. package/dist/esm/versions/v1/base.d.ts +2 -3
  53. package/dist/esm/versions/v1/configuration.d.ts +2 -2
  54. package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  55. package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  56. package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
  57. package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  58. package/dist/esm/versions/v1/models/index.d.ts +1 -0
  59. package/dist/esm/versions/v1/models/index.js +1 -0
  60. package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
  61. package/dist/esm/versions/v1/models/note-project.js +14 -0
  62. package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
  63. package/dist/esm/versions/v1/models/note.d.ts +16 -0
  64. package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
  65. package/dist/esm/versions/v2/api/activities-api.js +17 -12
  66. package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
  67. package/dist/esm/versions/v2/api/beta-api.js +290 -4
  68. package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
  69. package/dist/esm/versions/v2/api/deals-api.js +311 -27
  70. package/dist/esm/versions/v2/api/item-search-api.js +2 -2
  71. package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
  72. package/dist/esm/versions/v2/api/leads-api.js +147 -2
  73. package/dist/esm/versions/v2/api/organizations-api.js +10 -10
  74. package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
  75. package/dist/esm/versions/v2/api/persons-api.js +18 -18
  76. package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
  77. package/dist/esm/versions/v2/api/products-api.js +15 -15
  78. package/dist/esm/versions/v2/api/stages-api.js +5 -5
  79. package/dist/esm/versions/v2/api/users-api.js +1 -1
  80. package/dist/esm/versions/v2/base.d.ts +2 -3
  81. package/dist/esm/versions/v2/configuration.d.ts +2 -2
  82. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  83. package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
  84. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  85. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
  86. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  87. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
  88. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  89. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
  90. package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
  91. package/dist/esm/versions/v2/models/add-person-request.js +6 -1
  92. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  93. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
  94. package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
  95. package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
  96. package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
  97. package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
  98. package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  99. package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
  100. package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
  101. package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
  102. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  103. package/dist/esm/versions/v2/models/index.d.ts +7 -0
  104. package/dist/esm/versions/v2/models/index.js +7 -0
  105. package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
  106. package/dist/esm/versions/v2/models/update-person-request.js +6 -1
  107. package/dist/versions/v1/api/activities-api.d.ts +40 -40
  108. package/dist/versions/v1/api/activities-api.js +47 -47
  109. package/dist/versions/v1/api/activity-fields-api.js +1 -1
  110. package/dist/versions/v1/api/activity-types-api.js +5 -5
  111. package/dist/versions/v1/api/billing-api.js +1 -1
  112. package/dist/versions/v1/api/call-logs-api.js +5 -5
  113. package/dist/versions/v1/api/channels-api.js +4 -4
  114. package/dist/versions/v1/api/currencies-api.js +1 -1
  115. package/dist/versions/v1/api/deal-fields-api.js +6 -6
  116. package/dist/versions/v1/api/deals-api.d.ts +410 -88
  117. package/dist/versions/v1/api/deals-api.js +447 -118
  118. package/dist/versions/v1/api/files-api.js +8 -8
  119. package/dist/versions/v1/api/filters-api.js +7 -7
  120. package/dist/versions/v1/api/goals-api.js +5 -5
  121. package/dist/versions/v1/api/item-search-api.d.ts +8 -8
  122. package/dist/versions/v1/api/item-search-api.js +10 -10
  123. package/dist/versions/v1/api/lead-labels-api.js +4 -4
  124. package/dist/versions/v1/api/lead-sources-api.js +1 -1
  125. package/dist/versions/v1/api/leads-api.d.ts +100 -14
  126. package/dist/versions/v1/api/leads-api.js +114 -21
  127. package/dist/versions/v1/api/legacy-teams-api.js +8 -8
  128. package/dist/versions/v1/api/mailbox-api.js +6 -6
  129. package/dist/versions/v1/api/meetings-api.js +2 -2
  130. package/dist/versions/v1/api/note-fields-api.js +1 -1
  131. package/dist/versions/v1/api/notes-api.d.ts +18 -2
  132. package/dist/versions/v1/api/notes-api.js +25 -15
  133. package/dist/versions/v1/api/organization-fields-api.js +6 -6
  134. package/dist/versions/v1/api/organization-relationships-api.js +5 -5
  135. package/dist/versions/v1/api/organizations-api.d.ts +68 -68
  136. package/dist/versions/v1/api/organizations-api.js +88 -88
  137. package/dist/versions/v1/api/permission-sets-api.js +3 -3
  138. package/dist/versions/v1/api/person-fields-api.js +6 -6
  139. package/dist/versions/v1/api/persons-api.d.ts +56 -56
  140. package/dist/versions/v1/api/persons-api.js +78 -78
  141. package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
  142. package/dist/versions/v1/api/pipelines-api.js +36 -36
  143. package/dist/versions/v1/api/product-fields-api.js +6 -6
  144. package/dist/versions/v1/api/products-api.d.ts +24 -24
  145. package/dist/versions/v1/api/products-api.js +36 -36
  146. package/dist/versions/v1/api/project-templates-api.js +4 -4
  147. package/dist/versions/v1/api/projects-api.js +14 -14
  148. package/dist/versions/v1/api/recents-api.js +1 -1
  149. package/dist/versions/v1/api/roles-api.js +12 -12
  150. package/dist/versions/v1/api/stages-api.d.ts +36 -36
  151. package/dist/versions/v1/api/stages-api.js +43 -43
  152. package/dist/versions/v1/api/subscriptions-api.js +9 -9
  153. package/dist/versions/v1/api/tasks-api.js +5 -5
  154. package/dist/versions/v1/api/user-connections-api.js +1 -1
  155. package/dist/versions/v1/api/user-settings-api.js +1 -1
  156. package/dist/versions/v1/api/users-api.js +10 -10
  157. package/dist/versions/v1/api/webhooks-api.js +3 -3
  158. package/dist/versions/v1/base.d.ts +2 -3
  159. package/dist/versions/v1/configuration.d.ts +2 -2
  160. package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  161. package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  162. package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
  163. package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  164. package/dist/versions/v1/models/index.d.ts +1 -0
  165. package/dist/versions/v1/models/index.js +1 -0
  166. package/dist/versions/v1/models/note-project.d.ts +23 -0
  167. package/dist/versions/v1/models/note-project.js +15 -0
  168. package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
  169. package/dist/versions/v1/models/note.d.ts +16 -0
  170. package/dist/versions/v2/api/activities-api.d.ts +15 -7
  171. package/dist/versions/v2/api/activities-api.js +17 -12
  172. package/dist/versions/v2/api/beta-api.d.ts +212 -0
  173. package/dist/versions/v2/api/beta-api.js +290 -4
  174. package/dist/versions/v2/api/deals-api.d.ts +272 -4
  175. package/dist/versions/v2/api/deals-api.js +311 -27
  176. package/dist/versions/v2/api/item-search-api.js +2 -2
  177. package/dist/versions/v2/api/leads-api.d.ts +111 -0
  178. package/dist/versions/v2/api/leads-api.js +146 -1
  179. package/dist/versions/v2/api/organizations-api.js +10 -10
  180. package/dist/versions/v2/api/persons-api.d.ts +8 -8
  181. package/dist/versions/v2/api/persons-api.js +18 -18
  182. package/dist/versions/v2/api/pipelines-api.js +5 -5
  183. package/dist/versions/v2/api/products-api.js +15 -15
  184. package/dist/versions/v2/api/stages-api.js +5 -5
  185. package/dist/versions/v2/api/users-api.js +1 -1
  186. package/dist/versions/v2/base.d.ts +2 -3
  187. package/dist/versions/v2/configuration.d.ts +2 -2
  188. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  189. package/dist/versions/v2/models/activity-item1.d.ts +5 -0
  190. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  191. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
  192. package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  193. package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
  194. package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  195. package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
  196. package/dist/versions/v2/models/add-person-request.d.ts +12 -0
  197. package/dist/versions/v2/models/add-person-request.js +7 -0
  198. package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  199. package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
  200. package/dist/versions/v2/models/deal-item.d.ts +5 -0
  201. package/dist/versions/v2/models/deal-item1.d.ts +5 -0
  202. package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
  203. package/dist/versions/v2/models/get-convert-response.js +15 -0
  204. package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  205. package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
  206. package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
  207. package/dist/versions/v2/models/get-convert-response1.js +15 -0
  208. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  209. package/dist/versions/v2/models/index.d.ts +7 -0
  210. package/dist/versions/v2/models/index.js +7 -0
  211. package/dist/versions/v2/models/update-person-request.d.ts +12 -0
  212. package/dist/versions/v2/models/update-person-request.js +7 -0
  213. package/package.json +1 -1
@@ -35,7 +35,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
35
35
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
36
36
  * @summary Add a product
37
37
  * @param {AddProductRequest} [AddProductRequest]
38
-
38
+ * @deprecated
39
39
  * @throws {RequiredError}
40
40
  */
41
41
  addProduct: (AddProductRequest?: AddProductRequest) => Promise<RequestArgs>;
@@ -52,7 +52,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
52
52
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
53
53
  * @summary Delete a product
54
54
  * @param {number} id The ID of the product
55
-
55
+ * @deprecated
56
56
  * @throws {RequiredError}
57
57
  */
58
58
  deleteProduct: (id: number) => Promise<RequestArgs>;
@@ -69,7 +69,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
69
69
  * Returns data about a specific product.
70
70
  * @summary Get one product
71
71
  * @param {number} id The ID of the product
72
-
72
+ * @deprecated
73
73
  * @throws {RequiredError}
74
74
  */
75
75
  getProduct: (id: number) => Promise<RequestArgs>;
@@ -123,7 +123,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
123
123
  * @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the &#x60;additional_data.summary.total_count&#x60; property
124
124
  * @param {number} [start] Pagination start
125
125
  * @param {number} [limit] Items shown per page
126
-
126
+ * @deprecated
127
127
  * @throws {RequiredError}
128
128
  */
129
129
  getProducts: (user_id?: number, filter_id?: number, ids?: Array<number>, first_char?: string, get_summary?: boolean, start?: number, limit?: number) => Promise<RequestArgs>;
@@ -136,7 +136,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
136
136
  * @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
137
137
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
138
138
  * @param {number} [limit] Items shown per page
139
-
139
+ * @deprecated
140
140
  * @throws {RequiredError}
141
141
  */
142
142
  searchProducts: (term: string, fields?: 'code' | 'custom_fields' | 'name', exact_match?: boolean, include_fields?: 'product.price', start?: number, limit?: number) => Promise<RequestArgs>;
@@ -145,7 +145,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
145
145
  * @summary Update a product
146
146
  * @param {number} id The ID of the product
147
147
  * @param {UpdateProductRequest} [UpdateProductRequest]
148
-
148
+ * @deprecated
149
149
  * @throws {RequiredError}
150
150
  */
151
151
  updateProduct: (id: number, UpdateProductRequest?: UpdateProductRequest) => Promise<RequestArgs>;
@@ -159,7 +159,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
159
159
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
160
160
  * @summary Add a product
161
161
  * @param {AddProductRequest} [AddProductRequest]
162
-
162
+ * @deprecated
163
163
  * @throws {RequiredError}
164
164
  */
165
165
  addProduct(AddProductRequest?: AddProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
@@ -176,7 +176,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
176
176
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
177
177
  * @summary Delete a product
178
178
  * @param {number} id The ID of the product
179
-
179
+ * @deprecated
180
180
  * @throws {RequiredError}
181
181
  */
182
182
  deleteProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductResponse>>;
@@ -193,7 +193,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
193
193
  * Returns data about a specific product.
194
194
  * @summary Get one product
195
195
  * @param {number} id The ID of the product
196
-
196
+ * @deprecated
197
197
  * @throws {RequiredError}
198
198
  */
199
199
  getProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
@@ -247,7 +247,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
247
247
  * @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the &#x60;additional_data.summary.total_count&#x60; property
248
248
  * @param {number} [start] Pagination start
249
249
  * @param {number} [limit] Items shown per page
250
-
250
+ * @deprecated
251
251
  * @throws {RequiredError}
252
252
  */
253
253
  getProducts(user_id?: number, filter_id?: number, ids?: Array<number>, first_char?: string, get_summary?: boolean, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductsResponse1>>;
@@ -260,7 +260,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
260
260
  * @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
261
261
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
262
262
  * @param {number} [limit] Items shown per page
263
-
263
+ * @deprecated
264
264
  * @throws {RequiredError}
265
265
  */
266
266
  searchProducts(term: string, fields?: 'code' | 'custom_fields' | 'name', exact_match?: boolean, include_fields?: 'product.price', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductSearchResponse>>;
@@ -269,7 +269,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
269
269
  * @summary Update a product
270
270
  * @param {number} id The ID of the product
271
271
  * @param {UpdateProductRequest} [UpdateProductRequest]
272
-
272
+ * @deprecated
273
273
  * @throws {RequiredError}
274
274
  */
275
275
  updateProduct(id: number, UpdateProductRequest?: UpdateProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateProductResponse>>;
@@ -283,7 +283,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
283
283
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
284
284
  * @summary Add a product
285
285
  * @param {ProductsApiAddProductRequest} requestParameters Request parameters.
286
-
286
+ * @deprecated
287
287
  * @throws {RequiredError}
288
288
  */
289
289
  addProduct(requestParameters?: ProductsApiAddProductRequest): Promise<GetProductResponse>;
@@ -299,7 +299,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
299
299
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
300
300
  * @summary Delete a product
301
301
  * @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
302
-
302
+ * @deprecated
303
303
  * @throws {RequiredError}
304
304
  */
305
305
  deleteProduct(requestParameters: ProductsApiDeleteProductRequest): Promise<DeleteProductResponse>;
@@ -315,7 +315,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
315
315
  * Returns data about a specific product.
316
316
  * @summary Get one product
317
317
  * @param {ProductsApiGetProductRequest} requestParameters Request parameters.
318
-
318
+ * @deprecated
319
319
  * @throws {RequiredError}
320
320
  */
321
321
  getProduct(requestParameters: ProductsApiGetProductRequest): Promise<GetProductResponse>;
@@ -355,7 +355,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
355
355
  * Returns data about all products.
356
356
  * @summary Get all products
357
357
  * @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
358
-
358
+ * @deprecated
359
359
  * @throws {RequiredError}
360
360
  */
361
361
  getProducts(requestParameters?: ProductsApiGetProductsRequest): Promise<GetProductsResponse1>;
@@ -363,7 +363,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
363
363
  * Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
364
364
  * @summary Search products
365
365
  * @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
366
-
366
+ * @deprecated
367
367
  * @throws {RequiredError}
368
368
  */
369
369
  searchProducts(requestParameters: ProductsApiSearchProductsRequest): Promise<GetProductSearchResponse>;
@@ -371,7 +371,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
371
371
  * Updates product data.
372
372
  * @summary Update a product
373
373
  * @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
374
-
374
+ * @deprecated
375
375
  * @throws {RequiredError}
376
376
  */
377
377
  updateProduct(requestParameters: ProductsApiUpdateProductRequest): Promise<UpdateProductResponse>;
@@ -675,7 +675,7 @@ export declare class ProductsApi extends BaseAPI {
675
675
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
676
676
  * @summary Add a product
677
677
  * @param {ProductsApiAddProductRequest} requestParameters Request parameters.
678
-
678
+ * @deprecated
679
679
  * @throws {RequiredError}
680
680
  * @memberof ProductsApi
681
681
  */
@@ -693,7 +693,7 @@ export declare class ProductsApi extends BaseAPI {
693
693
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
694
694
  * @summary Delete a product
695
695
  * @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
696
-
696
+ * @deprecated
697
697
  * @throws {RequiredError}
698
698
  * @memberof ProductsApi
699
699
  */
@@ -711,7 +711,7 @@ export declare class ProductsApi extends BaseAPI {
711
711
  * Returns data about a specific product.
712
712
  * @summary Get one product
713
713
  * @param {ProductsApiGetProductRequest} requestParameters Request parameters.
714
-
714
+ * @deprecated
715
715
  * @throws {RequiredError}
716
716
  * @memberof ProductsApi
717
717
  */
@@ -756,7 +756,7 @@ export declare class ProductsApi extends BaseAPI {
756
756
  * Returns data about all products.
757
757
  * @summary Get all products
758
758
  * @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
759
-
759
+ * @deprecated
760
760
  * @throws {RequiredError}
761
761
  * @memberof ProductsApi
762
762
  */
@@ -765,7 +765,7 @@ export declare class ProductsApi extends BaseAPI {
765
765
  * Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
766
766
  * @summary Search products
767
767
  * @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
768
-
768
+ * @deprecated
769
769
  * @throws {RequiredError}
770
770
  * @memberof ProductsApi
771
771
  */
@@ -774,7 +774,7 @@ export declare class ProductsApi extends BaseAPI {
774
774
  * Updates product data.
775
775
  * @summary Update a product
776
776
  * @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
777
-
777
+ * @deprecated
778
778
  * @throws {RequiredError}
779
779
  * @memberof ProductsApi
780
780
  */
@@ -42,7 +42,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
42
42
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
43
43
  * @summary Add a product
44
44
  * @param {AddProductRequest} [AddProductRequest]
45
-
45
+ * @deprecated
46
46
  * @throws {RequiredError}
47
47
  */
48
48
  addProduct: (AddProductRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -57,7 +57,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -94,7 +94,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
94
94
  const localVarHeaderParameter = {};
95
95
  const localVarQueryParameter = {};
96
96
  // authentication api_key required
97
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
97
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
98
98
  // authentication oauth2 required
99
99
  // oauth required
100
100
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -112,7 +112,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
112
112
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
113
113
  * @summary Delete a product
114
114
  * @param {number} id The ID of the product
115
-
115
+ * @deprecated
116
116
  * @throws {RequiredError}
117
117
  */
118
118
  deleteProduct: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -130,7 +130,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
130
130
  const localVarHeaderParameter = {};
131
131
  const localVarQueryParameter = {};
132
132
  // authentication api_key required
133
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
133
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
134
134
  // authentication oauth2 required
135
135
  // oauth required
136
136
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -168,7 +168,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
168
168
  const localVarHeaderParameter = {};
169
169
  const localVarQueryParameter = {};
170
170
  // authentication api_key required
171
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
171
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
172
172
  // authentication oauth2 required
173
173
  // oauth required
174
174
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -184,7 +184,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
184
184
  * Returns data about a specific product.
185
185
  * @summary Get one product
186
186
  * @param {number} id The ID of the product
187
-
187
+ * @deprecated
188
188
  * @throws {RequiredError}
189
189
  */
190
190
  getProduct: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -202,7 +202,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
202
202
  const localVarHeaderParameter = {};
203
203
  const localVarQueryParameter = {};
204
204
  // authentication api_key required
205
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
205
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
206
206
  // authentication oauth2 required
207
207
  // oauth required
208
208
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -239,7 +239,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
239
239
  const localVarHeaderParameter = {};
240
240
  const localVarQueryParameter = {};
241
241
  // authentication api_key required
242
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
242
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
243
243
  // authentication oauth2 required
244
244
  // oauth required
245
245
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
@@ -285,7 +285,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
285
285
  const localVarHeaderParameter = {};
286
286
  const localVarQueryParameter = {};
287
287
  // authentication api_key required
288
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
288
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
289
289
  // authentication oauth2 required
290
290
  // oauth required
291
291
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -330,7 +330,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
330
330
  const localVarHeaderParameter = {};
331
331
  const localVarQueryParameter = {};
332
332
  // authentication api_key required
333
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
333
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
334
334
  // authentication oauth2 required
335
335
  // oauth required
336
336
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -370,7 +370,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
370
370
  const localVarHeaderParameter = {};
371
371
  const localVarQueryParameter = {};
372
372
  // authentication api_key required
373
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
373
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
374
374
  // authentication oauth2 required
375
375
  // oauth required
376
376
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -392,7 +392,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
392
392
  * @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the &#x60;additional_data.summary.total_count&#x60; property
393
393
  * @param {number} [start] Pagination start
394
394
  * @param {number} [limit] Items shown per page
395
-
395
+ * @deprecated
396
396
  * @throws {RequiredError}
397
397
  */
398
398
  getProducts: (user_id, filter_id, ids, first_char, get_summary, start, limit) => __awaiter(this, void 0, void 0, function* () {
@@ -407,7 +407,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
407
407
  const localVarHeaderParameter = {};
408
408
  const localVarQueryParameter = {};
409
409
  // authentication api_key required
410
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
410
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
411
411
  // authentication oauth2 required
412
412
  // oauth required
413
413
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -449,7 +449,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
449
449
  * @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
450
450
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
451
451
  * @param {number} [limit] Items shown per page
452
-
452
+ * @deprecated
453
453
  * @throws {RequiredError}
454
454
  */
455
455
  searchProducts: (term, fields, exact_match, include_fields, start, limit) => __awaiter(this, void 0, void 0, function* () {
@@ -466,7 +466,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
466
466
  const localVarHeaderParameter = {};
467
467
  const localVarQueryParameter = {};
468
468
  // authentication api_key required
469
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
469
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
470
470
  // authentication oauth2 required
471
471
  // oauth required
472
472
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full", "search:read"], configuration);
@@ -501,7 +501,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
501
501
  * @summary Update a product
502
502
  * @param {number} id The ID of the product
503
503
  * @param {UpdateProductRequest} [UpdateProductRequest]
504
-
504
+ * @deprecated
505
505
  * @throws {RequiredError}
506
506
  */
507
507
  updateProduct: (id, UpdateProductRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -519,7 +519,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
519
519
  const localVarHeaderParameter = {};
520
520
  const localVarQueryParameter = {};
521
521
  // authentication api_key required
522
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
522
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
523
523
  // authentication oauth2 required
524
524
  // oauth required
525
525
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -547,7 +547,7 @@ const ProductsApiFp = function (configuration) {
547
547
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
548
548
  * @summary Add a product
549
549
  * @param {AddProductRequest} [AddProductRequest]
550
-
550
+ * @deprecated
551
551
  * @throws {RequiredError}
552
552
  */
553
553
  addProduct(AddProductRequest) {
@@ -574,7 +574,7 @@ const ProductsApiFp = function (configuration) {
574
574
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
575
575
  * @summary Delete a product
576
576
  * @param {number} id The ID of the product
577
-
577
+ * @deprecated
578
578
  * @throws {RequiredError}
579
579
  */
580
580
  deleteProduct(id) {
@@ -601,7 +601,7 @@ const ProductsApiFp = function (configuration) {
601
601
  * Returns data about a specific product.
602
602
  * @summary Get one product
603
603
  * @param {number} id The ID of the product
604
-
604
+ * @deprecated
605
605
  * @throws {RequiredError}
606
606
  */
607
607
  getProduct(id) {
@@ -680,7 +680,7 @@ const ProductsApiFp = function (configuration) {
680
680
  * @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the &#x60;additional_data.summary.total_count&#x60; property
681
681
  * @param {number} [start] Pagination start
682
682
  * @param {number} [limit] Items shown per page
683
-
683
+ * @deprecated
684
684
  * @throws {RequiredError}
685
685
  */
686
686
  getProducts(user_id, filter_id, ids, first_char, get_summary, start, limit) {
@@ -698,7 +698,7 @@ const ProductsApiFp = function (configuration) {
698
698
  * @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
699
699
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
700
700
  * @param {number} [limit] Items shown per page
701
-
701
+ * @deprecated
702
702
  * @throws {RequiredError}
703
703
  */
704
704
  searchProducts(term, fields, exact_match, include_fields, start, limit) {
@@ -712,7 +712,7 @@ const ProductsApiFp = function (configuration) {
712
712
  * @summary Update a product
713
713
  * @param {number} id The ID of the product
714
714
  * @param {UpdateProductRequest} [UpdateProductRequest]
715
-
715
+ * @deprecated
716
716
  * @throws {RequiredError}
717
717
  */
718
718
  updateProduct(id, UpdateProductRequest) {
@@ -735,7 +735,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
735
735
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
736
736
  * @summary Add a product
737
737
  * @param {ProductsApiAddProductRequest} requestParameters Request parameters.
738
-
738
+ * @deprecated
739
739
  * @throws {RequiredError}
740
740
  */
741
741
  addProduct(requestParameters = {}) {
@@ -755,7 +755,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
755
755
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
756
756
  * @summary Delete a product
757
757
  * @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
758
-
758
+ * @deprecated
759
759
  * @throws {RequiredError}
760
760
  */
761
761
  deleteProduct(requestParameters) {
@@ -775,7 +775,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
775
775
  * Returns data about a specific product.
776
776
  * @summary Get one product
777
777
  * @param {ProductsApiGetProductRequest} requestParameters Request parameters.
778
-
778
+ * @deprecated
779
779
  * @throws {RequiredError}
780
780
  */
781
781
  getProduct(requestParameters) {
@@ -825,7 +825,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
825
825
  * Returns data about all products.
826
826
  * @summary Get all products
827
827
  * @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
828
-
828
+ * @deprecated
829
829
  * @throws {RequiredError}
830
830
  */
831
831
  getProducts(requestParameters = {}) {
@@ -835,7 +835,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
835
835
  * Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
836
836
  * @summary Search products
837
837
  * @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
838
-
838
+ * @deprecated
839
839
  * @throws {RequiredError}
840
840
  */
841
841
  searchProducts(requestParameters) {
@@ -845,7 +845,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
845
845
  * Updates product data.
846
846
  * @summary Update a product
847
847
  * @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
848
-
848
+ * @deprecated
849
849
  * @throws {RequiredError}
850
850
  */
851
851
  updateProduct(requestParameters) {
@@ -865,7 +865,7 @@ class ProductsApi extends base_1.BaseAPI {
865
865
  * Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
866
866
  * @summary Add a product
867
867
  * @param {ProductsApiAddProductRequest} requestParameters Request parameters.
868
-
868
+ * @deprecated
869
869
  * @throws {RequiredError}
870
870
  * @memberof ProductsApi
871
871
  */
@@ -887,7 +887,7 @@ class ProductsApi extends base_1.BaseAPI {
887
887
  * Marks a product as deleted. After 30 days, the product will be permanently deleted.
888
888
  * @summary Delete a product
889
889
  * @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
890
-
890
+ * @deprecated
891
891
  * @throws {RequiredError}
892
892
  * @memberof ProductsApi
893
893
  */
@@ -909,7 +909,7 @@ class ProductsApi extends base_1.BaseAPI {
909
909
  * Returns data about a specific product.
910
910
  * @summary Get one product
911
911
  * @param {ProductsApiGetProductRequest} requestParameters Request parameters.
912
-
912
+ * @deprecated
913
913
  * @throws {RequiredError}
914
914
  * @memberof ProductsApi
915
915
  */
@@ -964,7 +964,7 @@ class ProductsApi extends base_1.BaseAPI {
964
964
  * Returns data about all products.
965
965
  * @summary Get all products
966
966
  * @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
967
-
967
+ * @deprecated
968
968
  * @throws {RequiredError}
969
969
  * @memberof ProductsApi
970
970
  */
@@ -975,7 +975,7 @@ class ProductsApi extends base_1.BaseAPI {
975
975
  * Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
976
976
  * @summary Search products
977
977
  * @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
978
-
978
+ * @deprecated
979
979
  * @throws {RequiredError}
980
980
  * @memberof ProductsApi
981
981
  */
@@ -986,7 +986,7 @@ class ProductsApi extends base_1.BaseAPI {
986
986
  * Updates product data.
987
987
  * @summary Update a product
988
988
  * @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
989
-
989
+ * @deprecated
990
990
  * @throws {RequiredError}
991
991
  * @memberof ProductsApi
992
992
  */
@@ -60,7 +60,7 @@ const ProjectTemplatesApiAxiosParamCreator = function (configuration) {
60
60
  const localVarHeaderParameter = {};
61
61
  const localVarQueryParameter = {};
62
62
  // authentication api_key required
63
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
63
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
64
64
  // authentication oauth2 required
65
65
  // oauth required
66
66
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
@@ -92,7 +92,7 @@ const ProjectTemplatesApiAxiosParamCreator = function (configuration) {
92
92
  const localVarHeaderParameter = {};
93
93
  const localVarQueryParameter = {};
94
94
  // authentication api_key required
95
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
95
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
96
96
  // authentication oauth2 required
97
97
  // oauth required
98
98
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
@@ -132,7 +132,7 @@ const ProjectTemplatesApiAxiosParamCreator = function (configuration) {
132
132
  const localVarHeaderParameter = {};
133
133
  const localVarQueryParameter = {};
134
134
  // authentication api_key required
135
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
135
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
136
136
  // authentication oauth2 required
137
137
  // oauth required
138
138
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
@@ -166,7 +166,7 @@ const ProjectTemplatesApiAxiosParamCreator = function (configuration) {
166
166
  const localVarHeaderParameter = {};
167
167
  const localVarQueryParameter = {};
168
168
  // authentication api_key required
169
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
169
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
170
170
  // authentication oauth2 required
171
171
  // oauth required
172
172
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read"], configuration);