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