@factpulse/sdk 1.0.15 → 2.0.3

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 (118) hide show
  1. package/.openapi-generator/FILES +10 -18
  2. package/CHANGELOG.md +3 -3
  3. package/api/afnorpdppaapi.ts +1 -1
  4. package/api/afnorpdppadirectory-service-api.ts +1147 -87
  5. package/api/afnorpdppaflow-service-api.ts +4 -4
  6. package/api/chorus-pro-api.ts +16 -32
  7. package/api/sant-api.ts +1 -1
  8. package/api/traitement-facture-api.ts +39 -49
  9. package/api/utilisateur-api.ts +1 -1
  10. package/dist/api/afnorpdppaapi.js +1 -0
  11. package/dist/api/afnorpdppadirectory-service-api.d.ts +520 -24
  12. package/dist/api/afnorpdppadirectory-service-api.js +1137 -106
  13. package/dist/api/afnorpdppaflow-service-api.js +4 -0
  14. package/dist/api/chorus-pro-api.js +16 -0
  15. package/dist/api/sant-api.js +1 -0
  16. package/dist/api/traitement-facture-api.js +11 -0
  17. package/dist/api/utilisateur-api.js +1 -0
  18. package/dist/esm/api/afnorpdppaapi.js +1 -0
  19. package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +520 -24
  20. package/dist/esm/api/afnorpdppadirectory-service-api.js +1134 -103
  21. package/dist/esm/api/afnorpdppaflow-service-api.js +4 -0
  22. package/dist/esm/api/chorus-pro-api.js +16 -0
  23. package/dist/esm/api/sant-api.js +1 -0
  24. package/dist/esm/api/traitement-facture-api.js +11 -0
  25. package/dist/esm/api/utilisateur-api.js +1 -0
  26. package/dist/esm/models/index.d.ts +5 -9
  27. package/dist/esm/models/index.js +5 -9
  28. package/dist/esm/models/ligne-de-poste.d.ts +4 -4
  29. package/dist/esm/models/ligne-de-tva.d.ts +4 -4
  30. package/dist/esm/models/{montantapayer.d.ts → montant-apayer.d.ts} +1 -1
  31. package/dist/{models/montantbaseht.d.ts → esm/models/montant-base-ht.d.ts} +1 -1
  32. package/dist/esm/models/montant-ht-total.d.ts +3 -0
  33. package/dist/{models/montant-total-montant-remise-globale-ttc.d.ts → esm/models/montant-remise-globale-ttc.d.ts} +1 -1
  34. package/dist/esm/models/{ligne-de-poste-montant-total-ligne-ht.d.ts → montant-total-ligne-ht.d.ts} +1 -1
  35. package/dist/esm/models/montant-total.d.ts +10 -10
  36. package/dist/esm/models/montant-ttc-total.d.ts +3 -0
  37. package/dist/esm/models/montant-tva.d.ts +3 -0
  38. package/dist/esm/models/montant-tva1.d.ts +1 -1
  39. package/dist/esm/models/{montantunitaireht.d.ts → montant-unitaire-ht.d.ts} +1 -1
  40. package/dist/esm/models/pdpcredentials.d.ts +1 -0
  41. package/dist/models/index.d.ts +5 -9
  42. package/dist/models/index.js +5 -9
  43. package/dist/models/ligne-de-poste.d.ts +4 -4
  44. package/dist/models/ligne-de-tva.d.ts +4 -4
  45. package/dist/models/{montantapayer.d.ts → montant-apayer.d.ts} +1 -1
  46. package/dist/{esm/models/montantbaseht.d.ts → models/montant-base-ht.d.ts} +1 -1
  47. package/dist/models/montant-ht-total.d.ts +3 -0
  48. package/dist/{esm/models/montant-total-montant-remise-globale-ttc.d.ts → models/montant-remise-globale-ttc.d.ts} +1 -1
  49. package/dist/models/{ligne-de-poste-montant-total-ligne-ht.d.ts → montant-total-ligne-ht.d.ts} +1 -1
  50. package/dist/models/montant-total.d.ts +10 -10
  51. package/dist/models/montant-ttc-total.d.ts +3 -0
  52. package/dist/models/montant-tva.d.ts +3 -0
  53. package/dist/models/montant-tva1.d.ts +1 -1
  54. package/dist/models/{montantunitaireht.d.ts → montant-unitaire-ht.d.ts} +1 -1
  55. package/dist/models/pdpcredentials.d.ts +1 -0
  56. package/docs/AFNORPDPPADirectoryServiceApi.md +860 -17
  57. package/docs/LigneDePoste.md +2 -2
  58. package/docs/LigneDeTVA.md +2 -2
  59. package/docs/{Montantapayer.md → MontantAPayer.md} +3 -3
  60. package/docs/{Montantbaseht.md → MontantBaseHt.md} +3 -3
  61. package/docs/MontantHtTotal.md +1 -0
  62. package/docs/{MontantTotalMontantRemiseGlobaleTtc.md → MontantRemiseGlobaleTtc.md} +3 -3
  63. package/docs/MontantTotal.md +5 -5
  64. package/docs/{LigneDePosteMontantTotalLigneHt.md → MontantTotalLigneHt.md} +3 -3
  65. package/docs/MontantTtcTotal.md +1 -0
  66. package/docs/MontantTva.md +1 -0
  67. package/docs/MontantTva1.md +1 -1
  68. package/docs/{Montantunitaireht.md → MontantUnitaireHt.md} +3 -3
  69. package/docs/PDPCredentials.md +2 -0
  70. package/models/index.ts +5 -9
  71. package/models/ligne-de-poste.ts +5 -5
  72. package/models/ligne-de-tva.ts +4 -4
  73. package/models/{montantapayer.ts → montant-apayer.ts} +1 -1
  74. package/models/{montantbaseht.ts → montant-base-ht.ts} +1 -1
  75. package/models/montant-ht-total.ts +3 -0
  76. package/models/{montant-total-montant-remise-globale-ttc.ts → montant-remise-globale-ttc.ts} +1 -1
  77. package/models/{ligne-de-poste-montant-total-ligne-ht.ts → montant-total-ligne-ht.ts} +1 -1
  78. package/models/montant-total.ts +11 -11
  79. package/models/montant-ttc-total.ts +3 -0
  80. package/models/montant-tva.ts +3 -0
  81. package/models/montant-tva1.ts +1 -1
  82. package/models/{montantunitaireht.ts → montant-unitaire-ht.ts} +1 -1
  83. package/models/pdpcredentials.ts +1 -0
  84. package/package.json +1 -1
  85. package/dist/esm/models/montanthttotal.d.ts +0 -16
  86. package/dist/esm/models/montantttctotal.d.ts +0 -16
  87. package/dist/esm/models/montantttctotal.js +0 -14
  88. package/dist/esm/models/montanttva.d.ts +0 -16
  89. package/dist/esm/models/montanttva.js +0 -14
  90. package/dist/esm/models/montanttva1.d.ts +0 -16
  91. package/dist/esm/models/montanttva1.js +0 -14
  92. package/dist/esm/models/montantunitaireht.js +0 -14
  93. package/dist/models/montanthttotal.d.ts +0 -16
  94. package/dist/models/montantttctotal.d.ts +0 -16
  95. package/dist/models/montantttctotal.js +0 -15
  96. package/dist/models/montanttva.d.ts +0 -16
  97. package/dist/models/montanttva.js +0 -15
  98. package/dist/models/montanttva1.d.ts +0 -16
  99. package/dist/models/montanttva1.js +0 -15
  100. package/dist/models/montantunitaireht.js +0 -15
  101. package/docs/Montanthttotal.md +0 -19
  102. package/docs/Montantttctotal.md +0 -19
  103. package/docs/Montanttva.md +0 -19
  104. package/docs/Montanttva1.md +0 -19
  105. package/models/montanthttotal.ts +0 -22
  106. package/models/montantttctotal.ts +0 -22
  107. package/models/montanttva.ts +0 -22
  108. package/models/montanttva1.ts +0 -22
  109. /package/dist/esm/models/{ligne-de-poste-montant-total-ligne-ht.js → montant-apayer.js} +0 -0
  110. /package/dist/esm/models/{montant-total-montant-remise-globale-ttc.js → montant-base-ht.js} +0 -0
  111. /package/dist/esm/models/{montantapayer.js → montant-remise-globale-ttc.js} +0 -0
  112. /package/dist/esm/models/{montantbaseht.js → montant-total-ligne-ht.js} +0 -0
  113. /package/dist/esm/models/{montanthttotal.js → montant-unitaire-ht.js} +0 -0
  114. /package/dist/models/{ligne-de-poste-montant-total-ligne-ht.js → montant-apayer.js} +0 -0
  115. /package/dist/models/{montant-total-montant-remise-globale-ttc.js → montant-base-ht.js} +0 -0
  116. /package/dist/models/{montantapayer.js → montant-remise-globale-ttc.js} +0 -0
  117. /package/dist/models/{montantbaseht.js → montant-total-ligne-ht.js} +0 -0
  118. /package/dist/models/{montanthttotal.js → montant-unitaire-ht.js} +0 -0
@@ -31,6 +31,88 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
+ /**
35
+ * Créer une ligne dans l\'annuaire
36
+ * @summary Creating a directory line
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line`;
42
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
+ let baseOptions;
45
+ if (configuration) {
46
+ baseOptions = configuration.baseOptions;
47
+ }
48
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
49
+ const localVarHeaderParameter = {};
50
+ const localVarQueryParameter = {};
51
+ localVarHeaderParameter['Accept'] = 'application/json';
52
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
55
+ return {
56
+ url: toPathString(localVarUrlObj),
57
+ options: localVarRequestOptions,
58
+ };
59
+ }),
60
+ /**
61
+ * Créer un code de routage dans l\'annuaire
62
+ * @summary Create a routing code
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
67
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code`;
68
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
+ let baseOptions;
71
+ if (configuration) {
72
+ baseOptions = configuration.baseOptions;
73
+ }
74
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
75
+ const localVarHeaderParameter = {};
76
+ const localVarQueryParameter = {};
77
+ localVarHeaderParameter['Accept'] = 'application/json';
78
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
79
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
81
+ return {
82
+ url: toPathString(localVarUrlObj),
83
+ options: localVarRequestOptions,
84
+ };
85
+ }),
86
+ /**
87
+ * Supprimer une ligne d\'annuaire
88
+ * @summary Delete a directory line
89
+ * @param {string} idInstance
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
94
+ // verify required parameter 'idInstance' is not null or undefined
95
+ assertParamExists('deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete', 'idInstance', idInstance);
96
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}`
97
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
98
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100
+ let baseOptions;
101
+ if (configuration) {
102
+ baseOptions = configuration.baseOptions;
103
+ }
104
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
105
+ const localVarHeaderParameter = {};
106
+ const localVarQueryParameter = {};
107
+ localVarHeaderParameter['Accept'] = 'application/json';
108
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
110
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
111
+ return {
112
+ url: toPathString(localVarUrlObj),
113
+ options: localVarRequestOptions,
114
+ };
115
+ }),
34
116
  /**
35
117
  * Vérifier la disponibilité du Directory Service
36
118
  * @summary Healthcheck Directory Service
@@ -48,6 +130,7 @@ export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configur
48
130
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
131
  const localVarHeaderParameter = {};
50
132
  const localVarQueryParameter = {};
133
+ localVarHeaderParameter['Accept'] = 'application/json';
51
134
  setSearchParams(localVarUrlObj, localVarQueryParameter);
52
135
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53
136
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -57,17 +140,17 @@ export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configur
57
140
  };
58
141
  }),
59
142
  /**
60
- * Récupérer les informations d\'une entreprise par son SIREN
61
- * @summary Récupérer une entreprise
62
- * @param {string} siren
143
+ * Obtenir une ligne d\'annuaire identifiée par un identifiant d\'adressage
144
+ * @summary Get a directory line
145
+ * @param {string} addressingIdentifier
63
146
  * @param {*} [options] Override http request option.
64
147
  * @throws {RequiredError}
65
148
  */
66
- getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet: (siren_1, ...args_1) => __awaiter(this, [siren_1, ...args_1], void 0, function* (siren, options = {}) {
67
- // verify required parameter 'siren' is not null or undefined
68
- assertParamExists('getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet', 'siren', siren);
69
- const localVarPath = `/api/v1/afnor/directory/v1/companies/{siren}`
70
- .replace(`{${"siren"}}`, encodeURIComponent(String(siren)));
149
+ getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet: (addressingIdentifier_1, ...args_1) => __awaiter(this, [addressingIdentifier_1, ...args_1], void 0, function* (addressingIdentifier, options = {}) {
150
+ // verify required parameter 'addressingIdentifier' is not null or undefined
151
+ assertParamExists('getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet', 'addressingIdentifier', addressingIdentifier);
152
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line/code:{addressing_identifier}`
153
+ .replace(`{${"addressing_identifier"}}`, encodeURIComponent(String(addressingIdentifier)));
71
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72
155
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
73
156
  let baseOptions;
@@ -77,6 +160,7 @@ export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configur
77
160
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
78
161
  const localVarHeaderParameter = {};
79
162
  const localVarQueryParameter = {};
163
+ localVarHeaderParameter['Accept'] = 'application/json';
80
164
  setSearchParams(localVarUrlObj, localVarQueryParameter);
81
165
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82
166
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -86,22 +170,27 @@ export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configur
86
170
  };
87
171
  }),
88
172
  /**
89
- * Rechercher des entreprises dans l\'annuaire AFNOR
90
- * @summary Rechercher des entreprises
173
+ * Obtenir une ligne d\'annuaire identifiée par son idInstance
174
+ * @summary Get a directory line
175
+ * @param {string} idInstance
91
176
  * @param {*} [options] Override http request option.
92
177
  * @throws {RequiredError}
93
178
  */
94
- searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
95
- const localVarPath = `/api/v1/afnor/directory/v1/companies/search`;
179
+ getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
180
+ // verify required parameter 'idInstance' is not null or undefined
181
+ assertParamExists('getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet', 'idInstance', idInstance);
182
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}`
183
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
96
184
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
185
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
186
  let baseOptions;
99
187
  if (configuration) {
100
188
  baseOptions = configuration.baseOptions;
101
189
  }
102
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
190
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103
191
  const localVarHeaderParameter = {};
104
192
  const localVarQueryParameter = {};
193
+ localVarHeaderParameter['Accept'] = 'application/json';
105
194
  setSearchParams(localVarUrlObj, localVarQueryParameter);
106
195
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
107
196
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -110,128 +199,1070 @@ export const AFNORPDPPADirectoryServiceApiAxiosParamCreator = function (configur
110
199
  options: localVarRequestOptions,
111
200
  };
112
201
  }),
113
- };
114
- };
115
- /**
116
- * AFNORPDPPADirectoryServiceApi - functional programming interface
117
- */
118
- export const AFNORPDPPADirectoryServiceApiFp = function (configuration) {
119
- const localVarAxiosParamCreator = AFNORPDPPADirectoryServiceApiAxiosParamCreator(configuration);
120
- return {
121
202
  /**
122
- * Vérifier la disponibilité du Directory Service
123
- * @summary Healthcheck Directory Service
203
+ * Obtenir un code de routage identifié par son idInstance
204
+ * @summary Get a routing code by instance-id
205
+ * @param {string} idInstance
124
206
  * @param {*} [options] Override http request option.
125
207
  * @throws {RequiredError}
126
208
  */
127
- directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
128
- return __awaiter(this, void 0, void 0, function* () {
129
- var _a, _b, _c;
130
- const localVarAxiosArgs = yield localVarAxiosParamCreator.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options);
131
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
132
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
133
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
134
- });
135
- },
209
+ getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
210
+ // verify required parameter 'idInstance' is not null or undefined
211
+ assertParamExists('getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet', 'idInstance', idInstance);
212
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}`
213
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
214
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
215
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
216
+ let baseOptions;
217
+ if (configuration) {
218
+ baseOptions = configuration.baseOptions;
219
+ }
220
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
221
+ const localVarHeaderParameter = {};
222
+ const localVarQueryParameter = {};
223
+ localVarHeaderParameter['Accept'] = 'application/json';
224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
226
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
227
+ return {
228
+ url: toPathString(localVarUrlObj),
229
+ options: localVarRequestOptions,
230
+ };
231
+ }),
232
+ /**
233
+ * Consulter un code de routage identifié par SIRET et identifiant de routage
234
+ * @summary Get a routing code by SIRET and routing identifier
235
+ * @param {string} siret
236
+ * @param {string} routingIdentifier
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet: (siret_1, routingIdentifier_1, ...args_1) => __awaiter(this, [siret_1, routingIdentifier_1, ...args_1], void 0, function* (siret, routingIdentifier, options = {}) {
241
+ // verify required parameter 'siret' is not null or undefined
242
+ assertParamExists('getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet', 'siret', siret);
243
+ // verify required parameter 'routingIdentifier' is not null or undefined
244
+ assertParamExists('getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet', 'routingIdentifier', routingIdentifier);
245
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code/siret:{siret}/code:{routing_identifier}`
246
+ .replace(`{${"siret"}}`, encodeURIComponent(String(siret)))
247
+ .replace(`{${"routing_identifier"}}`, encodeURIComponent(String(routingIdentifier)));
248
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
249
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
250
+ let baseOptions;
251
+ if (configuration) {
252
+ baseOptions = configuration.baseOptions;
253
+ }
254
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
255
+ const localVarHeaderParameter = {};
256
+ const localVarQueryParameter = {};
257
+ localVarHeaderParameter['Accept'] = 'application/json';
258
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
261
+ return {
262
+ url: toPathString(localVarUrlObj),
263
+ options: localVarRequestOptions,
264
+ };
265
+ }),
136
266
  /**
137
- * Récupérer les informations d\'une entreprise par son SIREN
138
- * @summary Récupérer une entreprise
267
+ * Retourne les détails d\'une entreprise (unité légale) identifiée par son numéro SIREN
268
+ * @summary Consult a siren (legal unit) by SIREN number
139
269
  * @param {string} siren
140
270
  * @param {*} [options] Override http request option.
141
271
  * @throws {RequiredError}
142
272
  */
143
- getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options) {
144
- return __awaiter(this, void 0, void 0, function* () {
145
- var _a, _b, _c;
146
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options);
147
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
148
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
149
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
150
- });
151
- },
273
+ getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet: (siren_1, ...args_1) => __awaiter(this, [siren_1, ...args_1], void 0, function* (siren, options = {}) {
274
+ // verify required parameter 'siren' is not null or undefined
275
+ assertParamExists('getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet', 'siren', siren);
276
+ const localVarPath = `/api/v1/afnor/directory/v1/siren/code-insee:{siren}`
277
+ .replace(`{${"siren"}}`, encodeURIComponent(String(siren)));
278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
279
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
280
+ let baseOptions;
281
+ if (configuration) {
282
+ baseOptions = configuration.baseOptions;
283
+ }
284
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
285
+ const localVarHeaderParameter = {};
286
+ const localVarQueryParameter = {};
287
+ localVarHeaderParameter['Accept'] = 'application/json';
288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
290
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
291
+ return {
292
+ url: toPathString(localVarUrlObj),
293
+ options: localVarRequestOptions,
294
+ };
295
+ }),
152
296
  /**
153
- * Rechercher des entreprises dans l\'annuaire AFNOR
154
- * @summary Rechercher des entreprises
297
+ * Obtenir une entreprise (unité légale) identifiée par son idInstance
298
+ * @summary Gets a siren (legal unit) by instance ID
299
+ * @param {string} idInstance
155
300
  * @param {*} [options] Override http request option.
156
301
  * @throws {RequiredError}
157
302
  */
158
- searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options) {
159
- return __awaiter(this, void 0, void 0, function* () {
160
- var _a, _b, _c;
161
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options);
162
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
163
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
164
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
165
- });
166
- },
167
- };
168
- };
169
- /**
170
- * AFNORPDPPADirectoryServiceApi - factory interface
171
- */
172
- export const AFNORPDPPADirectoryServiceApiFactory = function (configuration, basePath, axios) {
173
- const localVarFp = AFNORPDPPADirectoryServiceApiFp(configuration);
174
- return {
303
+ getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
304
+ // verify required parameter 'idInstance' is not null or undefined
305
+ assertParamExists('getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet', 'idInstance', idInstance);
306
+ const localVarPath = `/api/v1/afnor/directory/v1/siren/id-instance:{id_instance}`
307
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
310
+ let baseOptions;
311
+ if (configuration) {
312
+ baseOptions = configuration.baseOptions;
313
+ }
314
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
315
+ const localVarHeaderParameter = {};
316
+ const localVarQueryParameter = {};
317
+ localVarHeaderParameter['Accept'] = 'application/json';
318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
320
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
321
+ return {
322
+ url: toPathString(localVarUrlObj),
323
+ options: localVarRequestOptions,
324
+ };
325
+ }),
175
326
  /**
176
- * Vérifier la disponibilité du Directory Service
177
- * @summary Healthcheck Directory Service
327
+ * Obtenir un établissement identifié par son numéro SIRET
328
+ * @summary Gets a siret (facility) by SIRET number
329
+ * @param {string} siret
178
330
  * @param {*} [options] Override http request option.
179
331
  * @throws {RequiredError}
180
332
  */
181
- directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
182
- return localVarFp.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options).then((request) => request(axios, basePath));
183
- },
333
+ getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet: (siret_1, ...args_1) => __awaiter(this, [siret_1, ...args_1], void 0, function* (siret, options = {}) {
334
+ // verify required parameter 'siret' is not null or undefined
335
+ assertParamExists('getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet', 'siret', siret);
336
+ const localVarPath = `/api/v1/afnor/directory/v1/siret/code-insee:{siret}`
337
+ .replace(`{${"siret"}}`, encodeURIComponent(String(siret)));
338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
340
+ let baseOptions;
341
+ if (configuration) {
342
+ baseOptions = configuration.baseOptions;
343
+ }
344
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
345
+ const localVarHeaderParameter = {};
346
+ const localVarQueryParameter = {};
347
+ localVarHeaderParameter['Accept'] = 'application/json';
348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
350
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
351
+ return {
352
+ url: toPathString(localVarUrlObj),
353
+ options: localVarRequestOptions,
354
+ };
355
+ }),
184
356
  /**
185
- * Récupérer les informations d\'une entreprise par son SIREN
186
- * @summary Récupérer une entreprise
187
- * @param {string} siren
357
+ * Obtenir un établissement identifié par son idInstance
358
+ * @summary Gets a siret (facility) by id-instance
359
+ * @param {string} idInstance
188
360
  * @param {*} [options] Override http request option.
189
361
  * @throws {RequiredError}
190
362
  */
191
- getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options) {
192
- return localVarFp.getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options).then((request) => request(axios, basePath));
193
- },
363
+ getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
364
+ // verify required parameter 'idInstance' is not null or undefined
365
+ assertParamExists('getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet', 'idInstance', idInstance);
366
+ const localVarPath = `/api/v1/afnor/directory/v1/siret/id-instance:{id_instance}`
367
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
368
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
369
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
370
+ let baseOptions;
371
+ if (configuration) {
372
+ baseOptions = configuration.baseOptions;
373
+ }
374
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
375
+ const localVarHeaderParameter = {};
376
+ const localVarQueryParameter = {};
377
+ localVarHeaderParameter['Accept'] = 'application/json';
378
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
379
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
380
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
381
+ return {
382
+ url: toPathString(localVarUrlObj),
383
+ options: localVarRequestOptions,
384
+ };
385
+ }),
194
386
  /**
195
- * Rechercher des entreprises dans l\'annuaire AFNOR
196
- * @summary Rechercher des entreprises
387
+ * Mettre à jour partiellement une ligne d\'annuaire
388
+ * @summary Partially updates a directory line
389
+ * @param {string} idInstance
197
390
  * @param {*} [options] Override http request option.
198
391
  * @throws {RequiredError}
199
392
  */
200
- searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options) {
201
- return localVarFp.searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options).then((request) => request(axios, basePath));
202
- },
203
- };
204
- };
205
- /**
206
- * AFNORPDPPADirectoryServiceApi - object-oriented interface
207
- */
208
- export class AFNORPDPPADirectoryServiceApi extends BaseAPI {
209
- /**
210
- * Vérifier la disponibilité du Directory Service
211
- * @summary Healthcheck Directory Service
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
216
- return AFNORPDPPADirectoryServiceApiFp(this.configuration).directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options).then((request) => request(this.axios, this.basePath));
217
- }
218
- /**
219
- * Récupérer les informations d\'une entreprise par son SIREN
220
- * @summary Récupérer une entreprise
221
- * @param {string} siren
393
+ patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
394
+ // verify required parameter 'idInstance' is not null or undefined
395
+ assertParamExists('patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch', 'idInstance', idInstance);
396
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}`
397
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
398
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
399
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
400
+ let baseOptions;
401
+ if (configuration) {
402
+ baseOptions = configuration.baseOptions;
403
+ }
404
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
405
+ const localVarHeaderParameter = {};
406
+ const localVarQueryParameter = {};
407
+ localVarHeaderParameter['Accept'] = 'application/json';
408
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
409
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
411
+ return {
412
+ url: toPathString(localVarUrlObj),
413
+ options: localVarRequestOptions,
414
+ };
415
+ }),
416
+ /**
417
+ * Mettre à jour partiellement un code de routage privé
418
+ * @summary Partially update a private routing code
419
+ * @param {string} idInstance
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
424
+ // verify required parameter 'idInstance' is not null or undefined
425
+ assertParamExists('patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch', 'idInstance', idInstance);
426
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}`
427
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
430
+ let baseOptions;
431
+ if (configuration) {
432
+ baseOptions = configuration.baseOptions;
433
+ }
434
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
435
+ const localVarHeaderParameter = {};
436
+ const localVarQueryParameter = {};
437
+ localVarHeaderParameter['Accept'] = 'application/json';
438
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
439
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
440
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
441
+ return {
442
+ url: toPathString(localVarUrlObj),
443
+ options: localVarRequestOptions,
444
+ };
445
+ }),
446
+ /**
447
+ * Mettre à jour complètement un code de routage privé
448
+ * @summary Completely update a private routing code
449
+ * @param {string} idInstance
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut: (idInstance_1, ...args_1) => __awaiter(this, [idInstance_1, ...args_1], void 0, function* (idInstance, options = {}) {
454
+ // verify required parameter 'idInstance' is not null or undefined
455
+ assertParamExists('putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut', 'idInstance', idInstance);
456
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}`
457
+ .replace(`{${"id_instance"}}`, encodeURIComponent(String(idInstance)));
458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
459
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
460
+ let baseOptions;
461
+ if (configuration) {
462
+ baseOptions = configuration.baseOptions;
463
+ }
464
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
465
+ const localVarHeaderParameter = {};
466
+ const localVarQueryParameter = {};
467
+ localVarHeaderParameter['Accept'] = 'application/json';
468
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
470
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
471
+ return {
472
+ url: toPathString(localVarUrlObj),
473
+ options: localVarRequestOptions,
474
+ };
475
+ }),
476
+ /**
477
+ * Rechercher des lignes d\'annuaire selon des critères
478
+ * @summary Search for a directory line
479
+ * @param {*} [options] Override http request option.
480
+ * @throws {RequiredError}
481
+ */
482
+ searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
483
+ const localVarPath = `/api/v1/afnor/directory/v1/directory-line/search`;
484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
486
+ let baseOptions;
487
+ if (configuration) {
488
+ baseOptions = configuration.baseOptions;
489
+ }
490
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
491
+ const localVarHeaderParameter = {};
492
+ const localVarQueryParameter = {};
493
+ localVarHeaderParameter['Accept'] = 'application/json';
494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
496
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
497
+ return {
498
+ url: toPathString(localVarUrlObj),
499
+ options: localVarRequestOptions,
500
+ };
501
+ }),
502
+ /**
503
+ * Rechercher des codes de routage selon des critères
504
+ * @summary Search for a routing code
505
+ * @param {*} [options] Override http request option.
506
+ * @throws {RequiredError}
507
+ */
508
+ searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
509
+ const localVarPath = `/api/v1/afnor/directory/v1/routing-code/search`;
510
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
511
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
512
+ let baseOptions;
513
+ if (configuration) {
514
+ baseOptions = configuration.baseOptions;
515
+ }
516
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
517
+ const localVarHeaderParameter = {};
518
+ const localVarQueryParameter = {};
519
+ localVarHeaderParameter['Accept'] = 'application/json';
520
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
523
+ return {
524
+ url: toPathString(localVarUrlObj),
525
+ options: localVarRequestOptions,
526
+ };
527
+ }),
528
+ /**
529
+ * Recherche multi-critères d\'entreprises (unités légales)
530
+ * @summary SIREN search (or legal unit)
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ */
534
+ searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
535
+ const localVarPath = `/api/v1/afnor/directory/v1/siren/search`;
536
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
537
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
538
+ let baseOptions;
539
+ if (configuration) {
540
+ baseOptions = configuration.baseOptions;
541
+ }
542
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
543
+ const localVarHeaderParameter = {};
544
+ const localVarQueryParameter = {};
545
+ localVarHeaderParameter['Accept'] = 'application/json';
546
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
547
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
548
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
549
+ return {
550
+ url: toPathString(localVarUrlObj),
551
+ options: localVarRequestOptions,
552
+ };
553
+ }),
554
+ /**
555
+ * Recherche multi-critères d\'établissements
556
+ * @summary Search for a SIRET (facility)
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ */
560
+ searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
561
+ const localVarPath = `/api/v1/afnor/directory/v1/siret/search`;
562
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
563
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
564
+ let baseOptions;
565
+ if (configuration) {
566
+ baseOptions = configuration.baseOptions;
567
+ }
568
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
569
+ const localVarHeaderParameter = {};
570
+ const localVarQueryParameter = {};
571
+ localVarHeaderParameter['Accept'] = 'application/json';
572
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
573
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
574
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
575
+ return {
576
+ url: toPathString(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ };
579
+ }),
580
+ };
581
+ };
582
+ /**
583
+ * AFNORPDPPADirectoryServiceApi - functional programming interface
584
+ */
585
+ export const AFNORPDPPADirectoryServiceApiFp = function (configuration) {
586
+ const localVarAxiosParamCreator = AFNORPDPPADirectoryServiceApiAxiosParamCreator(configuration);
587
+ return {
588
+ /**
589
+ * Créer une ligne dans l\'annuaire
590
+ * @summary Creating a directory line
591
+ * @param {*} [options] Override http request option.
592
+ * @throws {RequiredError}
593
+ */
594
+ createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options) {
595
+ return __awaiter(this, void 0, void 0, function* () {
596
+ var _a, _b, _c;
597
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options);
598
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
599
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
600
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
601
+ });
602
+ },
603
+ /**
604
+ * Créer un code de routage dans l\'annuaire
605
+ * @summary Create a routing code
606
+ * @param {*} [options] Override http request option.
607
+ * @throws {RequiredError}
608
+ */
609
+ createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options) {
610
+ return __awaiter(this, void 0, void 0, function* () {
611
+ var _a, _b, _c;
612
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options);
613
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
614
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
615
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
616
+ });
617
+ },
618
+ /**
619
+ * Supprimer une ligne d\'annuaire
620
+ * @summary Delete a directory line
621
+ * @param {string} idInstance
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ */
625
+ deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options) {
626
+ return __awaiter(this, void 0, void 0, function* () {
627
+ var _a, _b, _c;
628
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options);
629
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
630
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
631
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
632
+ });
633
+ },
634
+ /**
635
+ * Vérifier la disponibilité du Directory Service
636
+ * @summary Healthcheck Directory Service
637
+ * @param {*} [options] Override http request option.
638
+ * @throws {RequiredError}
639
+ */
640
+ directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
641
+ return __awaiter(this, void 0, void 0, function* () {
642
+ var _a, _b, _c;
643
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options);
644
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
645
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
646
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
647
+ });
648
+ },
649
+ /**
650
+ * Obtenir une ligne d\'annuaire identifiée par un identifiant d\'adressage
651
+ * @summary Get a directory line
652
+ * @param {string} addressingIdentifier
653
+ * @param {*} [options] Override http request option.
654
+ * @throws {RequiredError}
655
+ */
656
+ getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options) {
657
+ return __awaiter(this, void 0, void 0, function* () {
658
+ var _a, _b, _c;
659
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options);
660
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
661
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
662
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
663
+ });
664
+ },
665
+ /**
666
+ * Obtenir une ligne d\'annuaire identifiée par son idInstance
667
+ * @summary Get a directory line
668
+ * @param {string} idInstance
669
+ * @param {*} [options] Override http request option.
670
+ * @throws {RequiredError}
671
+ */
672
+ getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options) {
673
+ return __awaiter(this, void 0, void 0, function* () {
674
+ var _a, _b, _c;
675
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options);
676
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
677
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
678
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
679
+ });
680
+ },
681
+ /**
682
+ * Obtenir un code de routage identifié par son idInstance
683
+ * @summary Get a routing code by instance-id
684
+ * @param {string} idInstance
685
+ * @param {*} [options] Override http request option.
686
+ * @throws {RequiredError}
687
+ */
688
+ getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options) {
689
+ return __awaiter(this, void 0, void 0, function* () {
690
+ var _a, _b, _c;
691
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options);
692
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
693
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
694
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
695
+ });
696
+ },
697
+ /**
698
+ * Consulter un code de routage identifié par SIRET et identifiant de routage
699
+ * @summary Get a routing code by SIRET and routing identifier
700
+ * @param {string} siret
701
+ * @param {string} routingIdentifier
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ */
705
+ getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options) {
706
+ return __awaiter(this, void 0, void 0, function* () {
707
+ var _a, _b, _c;
708
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options);
709
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
710
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
711
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
712
+ });
713
+ },
714
+ /**
715
+ * Retourne les détails d\'une entreprise (unité légale) identifiée par son numéro SIREN
716
+ * @summary Consult a siren (legal unit) by SIREN number
717
+ * @param {string} siren
718
+ * @param {*} [options] Override http request option.
719
+ * @throws {RequiredError}
720
+ */
721
+ getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options) {
722
+ return __awaiter(this, void 0, void 0, function* () {
723
+ var _a, _b, _c;
724
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options);
725
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
726
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
727
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
728
+ });
729
+ },
730
+ /**
731
+ * Obtenir une entreprise (unité légale) identifiée par son idInstance
732
+ * @summary Gets a siren (legal unit) by instance ID
733
+ * @param {string} idInstance
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ */
737
+ getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options) {
738
+ return __awaiter(this, void 0, void 0, function* () {
739
+ var _a, _b, _c;
740
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options);
741
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
742
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
743
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
744
+ });
745
+ },
746
+ /**
747
+ * Obtenir un établissement identifié par son numéro SIRET
748
+ * @summary Gets a siret (facility) by SIRET number
749
+ * @param {string} siret
750
+ * @param {*} [options] Override http request option.
751
+ * @throws {RequiredError}
752
+ */
753
+ getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options) {
754
+ return __awaiter(this, void 0, void 0, function* () {
755
+ var _a, _b, _c;
756
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options);
757
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
758
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
759
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
760
+ });
761
+ },
762
+ /**
763
+ * Obtenir un établissement identifié par son idInstance
764
+ * @summary Gets a siret (facility) by id-instance
765
+ * @param {string} idInstance
766
+ * @param {*} [options] Override http request option.
767
+ * @throws {RequiredError}
768
+ */
769
+ getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options) {
770
+ return __awaiter(this, void 0, void 0, function* () {
771
+ var _a, _b, _c;
772
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options);
773
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
774
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
775
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
776
+ });
777
+ },
778
+ /**
779
+ * Mettre à jour partiellement une ligne d\'annuaire
780
+ * @summary Partially updates a directory line
781
+ * @param {string} idInstance
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options) {
786
+ return __awaiter(this, void 0, void 0, function* () {
787
+ var _a, _b, _c;
788
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options);
789
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
790
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
791
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
792
+ });
793
+ },
794
+ /**
795
+ * Mettre à jour partiellement un code de routage privé
796
+ * @summary Partially update a private routing code
797
+ * @param {string} idInstance
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ */
801
+ patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options) {
802
+ return __awaiter(this, void 0, void 0, function* () {
803
+ var _a, _b, _c;
804
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options);
805
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
806
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
807
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
808
+ });
809
+ },
810
+ /**
811
+ * Mettre à jour complètement un code de routage privé
812
+ * @summary Completely update a private routing code
813
+ * @param {string} idInstance
814
+ * @param {*} [options] Override http request option.
815
+ * @throws {RequiredError}
816
+ */
817
+ putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options) {
818
+ return __awaiter(this, void 0, void 0, function* () {
819
+ var _a, _b, _c;
820
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options);
821
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
822
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
823
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
824
+ });
825
+ },
826
+ /**
827
+ * Rechercher des lignes d\'annuaire selon des critères
828
+ * @summary Search for a directory line
829
+ * @param {*} [options] Override http request option.
830
+ * @throws {RequiredError}
831
+ */
832
+ searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options) {
833
+ return __awaiter(this, void 0, void 0, function* () {
834
+ var _a, _b, _c;
835
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options);
836
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
837
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
838
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
839
+ });
840
+ },
841
+ /**
842
+ * Rechercher des codes de routage selon des critères
843
+ * @summary Search for a routing code
844
+ * @param {*} [options] Override http request option.
845
+ * @throws {RequiredError}
846
+ */
847
+ searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options) {
848
+ return __awaiter(this, void 0, void 0, function* () {
849
+ var _a, _b, _c;
850
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options);
851
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
852
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
853
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
854
+ });
855
+ },
856
+ /**
857
+ * Recherche multi-critères d\'entreprises (unités légales)
858
+ * @summary SIREN search (or legal unit)
859
+ * @param {*} [options] Override http request option.
860
+ * @throws {RequiredError}
861
+ */
862
+ searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options) {
863
+ return __awaiter(this, void 0, void 0, function* () {
864
+ var _a, _b, _c;
865
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options);
866
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
867
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
868
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
869
+ });
870
+ },
871
+ /**
872
+ * Recherche multi-critères d\'établissements
873
+ * @summary Search for a SIRET (facility)
874
+ * @param {*} [options] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options) {
878
+ return __awaiter(this, void 0, void 0, function* () {
879
+ var _a, _b, _c;
880
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options);
881
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
882
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPADirectoryServiceApi.searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
883
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
884
+ });
885
+ },
886
+ };
887
+ };
888
+ /**
889
+ * AFNORPDPPADirectoryServiceApi - factory interface
890
+ */
891
+ export const AFNORPDPPADirectoryServiceApiFactory = function (configuration, basePath, axios) {
892
+ const localVarFp = AFNORPDPPADirectoryServiceApiFp(configuration);
893
+ return {
894
+ /**
895
+ * Créer une ligne dans l\'annuaire
896
+ * @summary Creating a directory line
897
+ * @param {*} [options] Override http request option.
898
+ * @throws {RequiredError}
899
+ */
900
+ createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options) {
901
+ return localVarFp.createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options).then((request) => request(axios, basePath));
902
+ },
903
+ /**
904
+ * Créer un code de routage dans l\'annuaire
905
+ * @summary Create a routing code
906
+ * @param {*} [options] Override http request option.
907
+ * @throws {RequiredError}
908
+ */
909
+ createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options) {
910
+ return localVarFp.createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options).then((request) => request(axios, basePath));
911
+ },
912
+ /**
913
+ * Supprimer une ligne d\'annuaire
914
+ * @summary Delete a directory line
915
+ * @param {string} idInstance
916
+ * @param {*} [options] Override http request option.
917
+ * @throws {RequiredError}
918
+ */
919
+ deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options) {
920
+ return localVarFp.deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options).then((request) => request(axios, basePath));
921
+ },
922
+ /**
923
+ * Vérifier la disponibilité du Directory Service
924
+ * @summary Healthcheck Directory Service
925
+ * @param {*} [options] Override http request option.
926
+ * @throws {RequiredError}
927
+ */
928
+ directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
929
+ return localVarFp.directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options).then((request) => request(axios, basePath));
930
+ },
931
+ /**
932
+ * Obtenir une ligne d\'annuaire identifiée par un identifiant d\'adressage
933
+ * @summary Get a directory line
934
+ * @param {string} addressingIdentifier
935
+ * @param {*} [options] Override http request option.
936
+ * @throws {RequiredError}
937
+ */
938
+ getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options) {
939
+ return localVarFp.getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options).then((request) => request(axios, basePath));
940
+ },
941
+ /**
942
+ * Obtenir une ligne d\'annuaire identifiée par son idInstance
943
+ * @summary Get a directory line
944
+ * @param {string} idInstance
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ */
948
+ getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options) {
949
+ return localVarFp.getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options).then((request) => request(axios, basePath));
950
+ },
951
+ /**
952
+ * Obtenir un code de routage identifié par son idInstance
953
+ * @summary Get a routing code by instance-id
954
+ * @param {string} idInstance
955
+ * @param {*} [options] Override http request option.
956
+ * @throws {RequiredError}
957
+ */
958
+ getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options) {
959
+ return localVarFp.getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options).then((request) => request(axios, basePath));
960
+ },
961
+ /**
962
+ * Consulter un code de routage identifié par SIRET et identifiant de routage
963
+ * @summary Get a routing code by SIRET and routing identifier
964
+ * @param {string} siret
965
+ * @param {string} routingIdentifier
966
+ * @param {*} [options] Override http request option.
967
+ * @throws {RequiredError}
968
+ */
969
+ getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options) {
970
+ return localVarFp.getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options).then((request) => request(axios, basePath));
971
+ },
972
+ /**
973
+ * Retourne les détails d\'une entreprise (unité légale) identifiée par son numéro SIREN
974
+ * @summary Consult a siren (legal unit) by SIREN number
975
+ * @param {string} siren
976
+ * @param {*} [options] Override http request option.
977
+ * @throws {RequiredError}
978
+ */
979
+ getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options) {
980
+ return localVarFp.getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options).then((request) => request(axios, basePath));
981
+ },
982
+ /**
983
+ * Obtenir une entreprise (unité légale) identifiée par son idInstance
984
+ * @summary Gets a siren (legal unit) by instance ID
985
+ * @param {string} idInstance
986
+ * @param {*} [options] Override http request option.
987
+ * @throws {RequiredError}
988
+ */
989
+ getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options) {
990
+ return localVarFp.getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options).then((request) => request(axios, basePath));
991
+ },
992
+ /**
993
+ * Obtenir un établissement identifié par son numéro SIRET
994
+ * @summary Gets a siret (facility) by SIRET number
995
+ * @param {string} siret
996
+ * @param {*} [options] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options) {
1000
+ return localVarFp.getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options).then((request) => request(axios, basePath));
1001
+ },
1002
+ /**
1003
+ * Obtenir un établissement identifié par son idInstance
1004
+ * @summary Gets a siret (facility) by id-instance
1005
+ * @param {string} idInstance
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options) {
1010
+ return localVarFp.getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options).then((request) => request(axios, basePath));
1011
+ },
1012
+ /**
1013
+ * Mettre à jour partiellement une ligne d\'annuaire
1014
+ * @summary Partially updates a directory line
1015
+ * @param {string} idInstance
1016
+ * @param {*} [options] Override http request option.
1017
+ * @throws {RequiredError}
1018
+ */
1019
+ patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options) {
1020
+ return localVarFp.patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options).then((request) => request(axios, basePath));
1021
+ },
1022
+ /**
1023
+ * Mettre à jour partiellement un code de routage privé
1024
+ * @summary Partially update a private routing code
1025
+ * @param {string} idInstance
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ */
1029
+ patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options) {
1030
+ return localVarFp.patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options).then((request) => request(axios, basePath));
1031
+ },
1032
+ /**
1033
+ * Mettre à jour complètement un code de routage privé
1034
+ * @summary Completely update a private routing code
1035
+ * @param {string} idInstance
1036
+ * @param {*} [options] Override http request option.
1037
+ * @throws {RequiredError}
1038
+ */
1039
+ putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options) {
1040
+ return localVarFp.putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options).then((request) => request(axios, basePath));
1041
+ },
1042
+ /**
1043
+ * Rechercher des lignes d\'annuaire selon des critères
1044
+ * @summary Search for a directory line
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ */
1048
+ searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options) {
1049
+ return localVarFp.searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options).then((request) => request(axios, basePath));
1050
+ },
1051
+ /**
1052
+ * Rechercher des codes de routage selon des critères
1053
+ * @summary Search for a routing code
1054
+ * @param {*} [options] Override http request option.
1055
+ * @throws {RequiredError}
1056
+ */
1057
+ searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options) {
1058
+ return localVarFp.searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options).then((request) => request(axios, basePath));
1059
+ },
1060
+ /**
1061
+ * Recherche multi-critères d\'entreprises (unités légales)
1062
+ * @summary SIREN search (or legal unit)
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ */
1066
+ searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options) {
1067
+ return localVarFp.searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options).then((request) => request(axios, basePath));
1068
+ },
1069
+ /**
1070
+ * Recherche multi-critères d\'établissements
1071
+ * @summary Search for a SIRET (facility)
1072
+ * @param {*} [options] Override http request option.
1073
+ * @throws {RequiredError}
1074
+ */
1075
+ searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options) {
1076
+ return localVarFp.searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options).then((request) => request(axios, basePath));
1077
+ },
1078
+ };
1079
+ };
1080
+ /**
1081
+ * AFNORPDPPADirectoryServiceApi - object-oriented interface
1082
+ */
1083
+ export class AFNORPDPPADirectoryServiceApi extends BaseAPI {
1084
+ /**
1085
+ * Créer une ligne dans l\'annuaire
1086
+ * @summary Creating a directory line
1087
+ * @param {*} [options] Override http request option.
1088
+ * @throws {RequiredError}
1089
+ */
1090
+ createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options) {
1091
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(options).then((request) => request(this.axios, this.basePath));
1092
+ }
1093
+ /**
1094
+ * Créer un code de routage dans l\'annuaire
1095
+ * @summary Create a routing code
1096
+ * @param {*} [options] Override http request option.
1097
+ * @throws {RequiredError}
1098
+ */
1099
+ createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options) {
1100
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(options).then((request) => request(this.axios, this.basePath));
1101
+ }
1102
+ /**
1103
+ * Supprimer une ligne d\'annuaire
1104
+ * @summary Delete a directory line
1105
+ * @param {string} idInstance
1106
+ * @param {*} [options] Override http request option.
1107
+ * @throws {RequiredError}
1108
+ */
1109
+ deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options) {
1110
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(idInstance, options).then((request) => request(this.axios, this.basePath));
1111
+ }
1112
+ /**
1113
+ * Vérifier la disponibilité du Directory Service
1114
+ * @summary Healthcheck Directory Service
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ */
1118
+ directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options) {
1119
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).directoryHealthcheckProxyApiV1AfnorDirectoryV1HealthcheckGet(options).then((request) => request(this.axios, this.basePath));
1120
+ }
1121
+ /**
1122
+ * Obtenir une ligne d\'annuaire identifiée par un identifiant d\'adressage
1123
+ * @summary Get a directory line
1124
+ * @param {string} addressingIdentifier
1125
+ * @param {*} [options] Override http request option.
1126
+ * @throws {RequiredError}
1127
+ */
1128
+ getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options) {
1129
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(addressingIdentifier, options).then((request) => request(this.axios, this.basePath));
1130
+ }
1131
+ /**
1132
+ * Obtenir une ligne d\'annuaire identifiée par son idInstance
1133
+ * @summary Get a directory line
1134
+ * @param {string} idInstance
1135
+ * @param {*} [options] Override http request option.
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options) {
1139
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(idInstance, options).then((request) => request(this.axios, this.basePath));
1140
+ }
1141
+ /**
1142
+ * Obtenir un code de routage identifié par son idInstance
1143
+ * @summary Get a routing code by instance-id
1144
+ * @param {string} idInstance
1145
+ * @param {*} [options] Override http request option.
1146
+ * @throws {RequiredError}
1147
+ */
1148
+ getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options) {
1149
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(idInstance, options).then((request) => request(this.axios, this.basePath));
1150
+ }
1151
+ /**
1152
+ * Consulter un code de routage identifié par SIRET et identifiant de routage
1153
+ * @summary Get a routing code by SIRET and routing identifier
1154
+ * @param {string} siret
1155
+ * @param {string} routingIdentifier
1156
+ * @param {*} [options] Override http request option.
1157
+ * @throws {RequiredError}
1158
+ */
1159
+ getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options) {
1160
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(siret, routingIdentifier, options).then((request) => request(this.axios, this.basePath));
1161
+ }
1162
+ /**
1163
+ * Retourne les détails d\'une entreprise (unité légale) identifiée par son numéro SIREN
1164
+ * @summary Consult a siren (legal unit) by SIREN number
1165
+ * @param {string} siren
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ */
1169
+ getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options) {
1170
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(siren, options).then((request) => request(this.axios, this.basePath));
1171
+ }
1172
+ /**
1173
+ * Obtenir une entreprise (unité légale) identifiée par son idInstance
1174
+ * @summary Gets a siren (legal unit) by instance ID
1175
+ * @param {string} idInstance
1176
+ * @param {*} [options] Override http request option.
1177
+ * @throws {RequiredError}
1178
+ */
1179
+ getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options) {
1180
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(idInstance, options).then((request) => request(this.axios, this.basePath));
1181
+ }
1182
+ /**
1183
+ * Obtenir un établissement identifié par son numéro SIRET
1184
+ * @summary Gets a siret (facility) by SIRET number
1185
+ * @param {string} siret
1186
+ * @param {*} [options] Override http request option.
1187
+ * @throws {RequiredError}
1188
+ */
1189
+ getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options) {
1190
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(siret, options).then((request) => request(this.axios, this.basePath));
1191
+ }
1192
+ /**
1193
+ * Obtenir un établissement identifié par son idInstance
1194
+ * @summary Gets a siret (facility) by id-instance
1195
+ * @param {string} idInstance
1196
+ * @param {*} [options] Override http request option.
1197
+ * @throws {RequiredError}
1198
+ */
1199
+ getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options) {
1200
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(idInstance, options).then((request) => request(this.axios, this.basePath));
1201
+ }
1202
+ /**
1203
+ * Mettre à jour partiellement une ligne d\'annuaire
1204
+ * @summary Partially updates a directory line
1205
+ * @param {string} idInstance
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ */
1209
+ patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options) {
1210
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(idInstance, options).then((request) => request(this.axios, this.basePath));
1211
+ }
1212
+ /**
1213
+ * Mettre à jour partiellement un code de routage privé
1214
+ * @summary Partially update a private routing code
1215
+ * @param {string} idInstance
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options) {
1220
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(idInstance, options).then((request) => request(this.axios, this.basePath));
1221
+ }
1222
+ /**
1223
+ * Mettre à jour complètement un code de routage privé
1224
+ * @summary Completely update a private routing code
1225
+ * @param {string} idInstance
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options) {
1230
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(idInstance, options).then((request) => request(this.axios, this.basePath));
1231
+ }
1232
+ /**
1233
+ * Rechercher des lignes d\'annuaire selon des critères
1234
+ * @summary Search for a directory line
1235
+ * @param {*} [options] Override http request option.
1236
+ * @throws {RequiredError}
1237
+ */
1238
+ searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options) {
1239
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(options).then((request) => request(this.axios, this.basePath));
1240
+ }
1241
+ /**
1242
+ * Rechercher des codes de routage selon des critères
1243
+ * @summary Search for a routing code
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options) {
1248
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(options).then((request) => request(this.axios, this.basePath));
1249
+ }
1250
+ /**
1251
+ * Recherche multi-critères d\'entreprises (unités légales)
1252
+ * @summary SIREN search (or legal unit)
222
1253
  * @param {*} [options] Override http request option.
223
1254
  * @throws {RequiredError}
224
1255
  */
225
- getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options) {
226
- return AFNORPDPPADirectoryServiceApiFp(this.configuration).getCompanyProxyApiV1AfnorDirectoryV1CompaniesSirenGet(siren, options).then((request) => request(this.axios, this.basePath));
1256
+ searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options) {
1257
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(options).then((request) => request(this.axios, this.basePath));
227
1258
  }
228
1259
  /**
229
- * Rechercher des entreprises dans l\'annuaire AFNOR
230
- * @summary Rechercher des entreprises
1260
+ * Recherche multi-critères d\'établissements
1261
+ * @summary Search for a SIRET (facility)
231
1262
  * @param {*} [options] Override http request option.
232
1263
  * @throws {RequiredError}
233
1264
  */
234
- searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options) {
235
- return AFNORPDPPADirectoryServiceApiFp(this.configuration).searchCompaniesProxyApiV1AfnorDirectoryV1CompaniesSearchPost(options).then((request) => request(this.axios, this.basePath));
1265
+ searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options) {
1266
+ return AFNORPDPPADirectoryServiceApiFp(this.configuration).searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(options).then((request) => request(this.axios, this.basePath));
236
1267
  }
237
1268
  }