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