factpulse 4.1.2 → 4.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -5
- data/Gemfile.lock +2 -2
- data/docs/AFNORBasicAuthentication.md +20 -0
- data/docs/AFNORCallbackAuthentication.md +49 -0
- data/docs/AFNORCallbackHeader.md +20 -0
- data/docs/AFNORCallbackParameters.md +24 -0
- data/docs/AFNORCallbackSignature.md +20 -0
- data/docs/{AFNORFacilityNature.md → AFNORContainsOrStrictOperator.md} +2 -2
- data/docs/AFNORCoreFlowInfo.md +26 -0
- data/docs/{AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md → AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md} +5 -5
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +34 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
- data/docs/{AFNORDiffusionStatus.md → AFNORDirectoryLineStatus.md} +2 -2
- data/docs/AFNORError.md +4 -4
- data/docs/AFNORFacilityPayloadHistory.md +3 -3
- data/docs/AFNORFacilityPayloadIncluded.md +0 -2
- data/docs/AFNORFlow.md +16 -14
- data/docs/AFNORFlowExtension.md +26 -0
- data/docs/AFNORFlowInfo.md +3 -3
- data/docs/AFNORFlowInfoExtension.md +18 -0
- data/docs/AFNORFullFlowInfo.md +8 -8
- data/docs/AFNORFullFlowInfoExtension.md +20 -0
- data/docs/AFNORLegalUnitPayloadHistory.md +3 -1
- data/docs/AFNOROAuth2Authentication.md +22 -0
- data/docs/AFNORPDPPADirectoryServiceApi.md +4 -648
- data/docs/AFNORPDPPAFlowServiceApi.md +320 -1
- data/docs/AFNORRoutingCodeSearch.md +1 -1
- data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +1 -1
- data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +2 -2
- data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +1 -1
- data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +1 -1
- data/docs/AFNORSearchFlowFilters.md +1 -1
- data/docs/AFNORSearchSiren.md +1 -1
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenFiltersSiren.md +1 -1
- data/docs/AFNORSearchSiret.md +2 -2
- data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +1 -1
- data/docs/AFNORSearchSiretFiltersFacilityType.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretFiltersPostalCode.md +1 -1
- data/docs/AFNORSearchSiretFiltersSiret.md +1 -1
- data/docs/AFNORSirenInstructions.md +18 -0
- data/docs/AFNORSiretInstructions.md +18 -0
- data/docs/{AFNORPlatformStatus.md → AFNORStrictOrStartWithOperator.md} +2 -2
- data/docs/AFNORWebhook.md +22 -0
- data/docs/AFNORWebhookIdParam.md +18 -0
- data/docs/AFNORWebhookMetadata.md +24 -0
- data/docs/AFNORWebhookParams.md +20 -0
- data/docs/AFNORWebhookPatchPayload.md +22 -0
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +26 -0
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/InvoiceInput.md +1 -1
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SimplifiedInvoiceData.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/ValidateCDARResponse.md +2 -2
- data/docs/ValidationErrorResponse.md +2 -8
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +3 -621
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +303 -0
- data/lib/factpulse/models/afnor_algorithm.rb +4 -3
- data/lib/factpulse/models/afnor_basic_authentication.rb +190 -0
- data/lib/factpulse/models/afnor_callback_authentication.rb +105 -0
- data/lib/factpulse/models/afnor_callback_header.rb +190 -0
- data/lib/factpulse/models/afnor_callback_parameters.rb +193 -0
- data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb → afnor_callback_signature.rb} +51 -16
- data/lib/factpulse/models/{afnor_diffusion_status.rb → afnor_contains_or_strict_operator.rb} +6 -6
- data/lib/factpulse/models/{afnor_routing_code_post201_response.rb → afnor_core_flow_info.rb} +103 -61
- data/lib/factpulse/models/afnor_directory_line_field.rb +1 -2
- data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb → afnor_directory_line_payload_legal_unit_facility_routing_code.rb} +36 -14
- data/lib/factpulse/models/{afnor_create_directory_line_body_addressing_information.rb → afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb} +105 -56
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +1 -1
- data/lib/factpulse/models/{afnor_platform_status.rb → afnor_directory_line_status.rb} +5 -4
- data/lib/factpulse/models/afnor_error.rb +30 -39
- data/lib/factpulse/models/afnor_facility_payload_history.rb +11 -11
- data/lib/factpulse/models/afnor_facility_payload_included.rb +1 -10
- data/lib/factpulse/models/afnor_flow.rb +218 -57
- data/lib/factpulse/models/{afnor_update_patch_routing_code_body.rb → afnor_flow_extension.rb} +103 -66
- data/lib/factpulse/models/afnor_flow_info.rb +20 -4
- data/lib/factpulse/models/{afnor_create_directory_line_body_period.rb → afnor_flow_info_extension.rb} +26 -31
- data/lib/factpulse/models/afnor_full_flow_info.rb +79 -46
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +202 -0
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +13 -4
- data/lib/factpulse/models/afnor_processing_rule.rb +4 -1
- data/lib/factpulse/models/afnor_routing_code_field.rb +1 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_filters.rb +1 -0
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
- data/lib/factpulse/models/afnor_siren_field.rb +2 -2
- data/lib/factpulse/models/{afnor_update_patch_directory_line_body.rb → afnor_siren_instructions.rb} +12 -11
- data/lib/factpulse/models/afnor_siret_field.rb +3 -4
- data/lib/factpulse/models/{afnor_create_directory_line_body.rb → afnor_siret_instructions.rb} +12 -19
- data/lib/factpulse/models/{afnor_facility_nature.rb → afnor_strict_or_start_with_operator.rb} +6 -6
- data/lib/factpulse/models/{afnor_directory_line_post201_response.rb → afnor_webhook.rb} +55 -35
- data/lib/factpulse/models/{afnor_webhook_callback_content.rb → afnor_webhook_id_param.rb} +10 -11
- data/lib/factpulse/models/{afnor_legal_unit_payload_included_no_siren.rb → afnor_webhook_metadata.rb} +56 -33
- data/lib/factpulse/models/afnor_webhook_params.rb +190 -0
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → afnor_webhook_patch_payload.rb} +29 -30
- data/lib/factpulse/models/afnoro_auth2_authentication.rb +216 -0
- data/lib/factpulse/models/chorus_pro_credentials.rb +94 -26
- data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +215 -0
- data/lib/factpulse/models/{facture_electronique_models_invoice_type_code.rb → facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb} +9 -20
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +191 -0
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +17 -6
- data/lib/factpulse/models/processing_rule.rb +4 -1
- data/lib/factpulse/models/search_structure_request.rb +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_response.rb +2 -2
- data/lib/factpulse/models/validation_error_response.rb +20 -67
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +25 -22
- metadata +52 -46
- data/docs/AFNORAddressEdit.md +0 -30
- data/docs/AFNORAddressPatch.md +0 -30
- data/docs/AFNORAddressPut.md +0 -30
- data/docs/AFNORCreateDirectoryLineBody.md +0 -20
- data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +0 -24
- data/docs/AFNORCreateDirectoryLineBodyPeriod.md +0 -20
- data/docs/AFNORCreateRoutingCodeBody.md +0 -32
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +0 -20
- data/docs/AFNORDirectoryLinePost201Response.md +0 -22
- data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +0 -22
- data/docs/AFNORRoutingCodePost201Response.md +0 -22
- data/docs/AFNORUpdatePatchDirectoryLineBody.md +0 -18
- data/docs/AFNORUpdatePatchRoutingCodeBody.md +0 -24
- data/docs/AFNORUpdatePutRoutingCodeBody.md +0 -24
- data/docs/AFNORWebhookCallbackContent.md +0 -18
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +0 -26
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
- data/lib/factpulse/models/afnor_address_edit.rb +0 -353
- data/lib/factpulse/models/afnor_address_patch.rb +0 -386
- data/lib/factpulse/models/afnor_address_put.rb +0 -435
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +0 -412
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +0 -289
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +0 -259
|
@@ -19,183 +19,6 @@ module FactPulse
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Creating a directory line
|
|
23
|
-
# Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
24
|
-
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @return [Object]
|
|
26
|
-
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post(opts = {})
|
|
27
|
-
data, _status_code, _headers = create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts)
|
|
28
|
-
data
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
# Creating a directory line
|
|
32
|
-
# Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
33
|
-
# @param [Hash] opts the optional parameters
|
|
34
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
35
|
-
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts = {})
|
|
36
|
-
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post ...'
|
|
38
|
-
end
|
|
39
|
-
# resource path
|
|
40
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line'
|
|
41
|
-
|
|
42
|
-
# query parameters
|
|
43
|
-
query_params = opts[:query_params] || {}
|
|
44
|
-
|
|
45
|
-
# header parameters
|
|
46
|
-
header_params = opts[:header_params] || {}
|
|
47
|
-
# HTTP header 'Accept' (if needed)
|
|
48
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
49
|
-
|
|
50
|
-
# form parameters
|
|
51
|
-
form_params = opts[:form_params] || {}
|
|
52
|
-
|
|
53
|
-
# http body (model)
|
|
54
|
-
post_body = opts[:debug_body]
|
|
55
|
-
|
|
56
|
-
# return_type
|
|
57
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
58
|
-
|
|
59
|
-
# auth_names
|
|
60
|
-
auth_names = opts[:debug_auth_names] || []
|
|
61
|
-
|
|
62
|
-
new_options = opts.merge(
|
|
63
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post",
|
|
64
|
-
:header_params => header_params,
|
|
65
|
-
:query_params => query_params,
|
|
66
|
-
:form_params => form_params,
|
|
67
|
-
:body => post_body,
|
|
68
|
-
:auth_names => auth_names,
|
|
69
|
-
:return_type => return_type
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
73
|
-
if @api_client.config.debugging
|
|
74
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
75
|
-
end
|
|
76
|
-
return data, status_code, headers
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
# Create a routing code
|
|
80
|
-
# Creating a routing code.
|
|
81
|
-
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @return [Object]
|
|
83
|
-
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post(opts = {})
|
|
84
|
-
data, _status_code, _headers = create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts)
|
|
85
|
-
data
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
# Create a routing code
|
|
89
|
-
# Creating a routing code.
|
|
90
|
-
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
92
|
-
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts = {})
|
|
93
|
-
if @api_client.config.debugging
|
|
94
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post ...'
|
|
95
|
-
end
|
|
96
|
-
# resource path
|
|
97
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code'
|
|
98
|
-
|
|
99
|
-
# query parameters
|
|
100
|
-
query_params = opts[:query_params] || {}
|
|
101
|
-
|
|
102
|
-
# header parameters
|
|
103
|
-
header_params = opts[:header_params] || {}
|
|
104
|
-
# HTTP header 'Accept' (if needed)
|
|
105
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
106
|
-
|
|
107
|
-
# form parameters
|
|
108
|
-
form_params = opts[:form_params] || {}
|
|
109
|
-
|
|
110
|
-
# http body (model)
|
|
111
|
-
post_body = opts[:debug_body]
|
|
112
|
-
|
|
113
|
-
# return_type
|
|
114
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
115
|
-
|
|
116
|
-
# auth_names
|
|
117
|
-
auth_names = opts[:debug_auth_names] || []
|
|
118
|
-
|
|
119
|
-
new_options = opts.merge(
|
|
120
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post",
|
|
121
|
-
:header_params => header_params,
|
|
122
|
-
:query_params => query_params,
|
|
123
|
-
:form_params => form_params,
|
|
124
|
-
:body => post_body,
|
|
125
|
-
:auth_names => auth_names,
|
|
126
|
-
:return_type => return_type
|
|
127
|
-
)
|
|
128
|
-
|
|
129
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
130
|
-
if @api_client.config.debugging
|
|
131
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
|
-
end
|
|
133
|
-
return data, status_code, headers
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
# Delete a directory line
|
|
137
|
-
# Delete a directory line.
|
|
138
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
139
|
-
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @return [Object]
|
|
141
|
-
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete(id_instance, opts = {})
|
|
142
|
-
data, _status_code, _headers = delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts)
|
|
143
|
-
data
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
# Delete a directory line
|
|
147
|
-
# Delete a directory line.
|
|
148
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
149
|
-
# @param [Hash] opts the optional parameters
|
|
150
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
151
|
-
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts = {})
|
|
152
|
-
if @api_client.config.debugging
|
|
153
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete ...'
|
|
154
|
-
end
|
|
155
|
-
# verify the required parameter 'id_instance' is set
|
|
156
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
157
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete"
|
|
158
|
-
end
|
|
159
|
-
# resource path
|
|
160
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
161
|
-
|
|
162
|
-
# query parameters
|
|
163
|
-
query_params = opts[:query_params] || {}
|
|
164
|
-
|
|
165
|
-
# header parameters
|
|
166
|
-
header_params = opts[:header_params] || {}
|
|
167
|
-
# HTTP header 'Accept' (if needed)
|
|
168
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
169
|
-
|
|
170
|
-
# form parameters
|
|
171
|
-
form_params = opts[:form_params] || {}
|
|
172
|
-
|
|
173
|
-
# http body (model)
|
|
174
|
-
post_body = opts[:debug_body]
|
|
175
|
-
|
|
176
|
-
# return_type
|
|
177
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
178
|
-
|
|
179
|
-
# auth_names
|
|
180
|
-
auth_names = opts[:debug_auth_names] || []
|
|
181
|
-
|
|
182
|
-
new_options = opts.merge(
|
|
183
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete",
|
|
184
|
-
:header_params => header_params,
|
|
185
|
-
:query_params => query_params,
|
|
186
|
-
:form_params => form_params,
|
|
187
|
-
:body => post_body,
|
|
188
|
-
:auth_names => auth_names,
|
|
189
|
-
:return_type => return_type
|
|
190
|
-
)
|
|
191
|
-
|
|
192
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
193
|
-
if @api_client.config.debugging
|
|
194
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
195
|
-
end
|
|
196
|
-
return data, status_code, headers
|
|
197
|
-
end
|
|
198
|
-
|
|
199
22
|
# Healthcheck Directory Service
|
|
200
23
|
# Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
201
24
|
# @param [Hash] opts the optional parameters
|
|
@@ -257,7 +80,7 @@ module FactPulse
|
|
|
257
80
|
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
258
81
|
# @param addressing_identifier [String] Addressing identifier (SIREN, SIRET or routing code)
|
|
259
82
|
# @param [Hash] opts the optional parameters
|
|
260
|
-
# @return [
|
|
83
|
+
# @return [AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode]
|
|
261
84
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get(addressing_identifier, opts = {})
|
|
262
85
|
data, _status_code, _headers = get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts)
|
|
263
86
|
data
|
|
@@ -267,7 +90,7 @@ module FactPulse
|
|
|
267
90
|
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
268
91
|
# @param addressing_identifier [String] Addressing identifier (SIREN, SIRET or routing code)
|
|
269
92
|
# @param [Hash] opts the optional parameters
|
|
270
|
-
# @return [Array<(
|
|
93
|
+
# @return [Array<(AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode, Integer, Hash)>] AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode data, response status code and response headers
|
|
271
94
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts = {})
|
|
272
95
|
if @api_client.config.debugging
|
|
273
96
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get ...'
|
|
@@ -294,7 +117,7 @@ module FactPulse
|
|
|
294
117
|
post_body = opts[:debug_body]
|
|
295
118
|
|
|
296
119
|
# return_type
|
|
297
|
-
return_type = opts[:debug_return_type] || '
|
|
120
|
+
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode'
|
|
298
121
|
|
|
299
122
|
# auth_names
|
|
300
123
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -316,132 +139,6 @@ module FactPulse
|
|
|
316
139
|
return data, status_code, headers
|
|
317
140
|
end
|
|
318
141
|
|
|
319
|
-
# Get a directory line.
|
|
320
|
-
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
321
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
322
|
-
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @return [AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode]
|
|
324
|
-
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get(id_instance, opts = {})
|
|
325
|
-
data, _status_code, _headers = get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
326
|
-
data
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
# Get a directory line.
|
|
330
|
-
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
331
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
332
|
-
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @return [Array<(AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode, Integer, Hash)>] AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode data, response status code and response headers
|
|
334
|
-
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
335
|
-
if @api_client.config.debugging
|
|
336
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get ...'
|
|
337
|
-
end
|
|
338
|
-
# verify the required parameter 'id_instance' is set
|
|
339
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
340
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get"
|
|
341
|
-
end
|
|
342
|
-
# resource path
|
|
343
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
344
|
-
|
|
345
|
-
# query parameters
|
|
346
|
-
query_params = opts[:query_params] || {}
|
|
347
|
-
|
|
348
|
-
# header parameters
|
|
349
|
-
header_params = opts[:header_params] || {}
|
|
350
|
-
# HTTP header 'Accept' (if needed)
|
|
351
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
352
|
-
|
|
353
|
-
# form parameters
|
|
354
|
-
form_params = opts[:form_params] || {}
|
|
355
|
-
|
|
356
|
-
# http body (model)
|
|
357
|
-
post_body = opts[:debug_body]
|
|
358
|
-
|
|
359
|
-
# return_type
|
|
360
|
-
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode'
|
|
361
|
-
|
|
362
|
-
# auth_names
|
|
363
|
-
auth_names = opts[:debug_auth_names] || []
|
|
364
|
-
|
|
365
|
-
new_options = opts.merge(
|
|
366
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get",
|
|
367
|
-
:header_params => header_params,
|
|
368
|
-
:query_params => query_params,
|
|
369
|
-
:form_params => form_params,
|
|
370
|
-
:body => post_body,
|
|
371
|
-
:auth_names => auth_names,
|
|
372
|
-
:return_type => return_type
|
|
373
|
-
)
|
|
374
|
-
|
|
375
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
376
|
-
if @api_client.config.debugging
|
|
377
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
378
|
-
end
|
|
379
|
-
return data, status_code, headers
|
|
380
|
-
end
|
|
381
|
-
|
|
382
|
-
# Get a routing code by instance-id.
|
|
383
|
-
# Retrieve the Routing Code data corresponding to the Instance ID.
|
|
384
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
385
|
-
# @param [Hash] opts the optional parameters
|
|
386
|
-
# @return [AFNORRoutingCodePayloadHistoryLegalUnitFacility]
|
|
387
|
-
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get(id_instance, opts = {})
|
|
388
|
-
data, _status_code, _headers = get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
389
|
-
data
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
# Get a routing code by instance-id.
|
|
393
|
-
# Retrieve the Routing Code data corresponding to the Instance ID.
|
|
394
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
395
|
-
# @param [Hash] opts the optional parameters
|
|
396
|
-
# @return [Array<(AFNORRoutingCodePayloadHistoryLegalUnitFacility, Integer, Hash)>] AFNORRoutingCodePayloadHistoryLegalUnitFacility data, response status code and response headers
|
|
397
|
-
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
398
|
-
if @api_client.config.debugging
|
|
399
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get ...'
|
|
400
|
-
end
|
|
401
|
-
# verify the required parameter 'id_instance' is set
|
|
402
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
403
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get"
|
|
404
|
-
end
|
|
405
|
-
# resource path
|
|
406
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
407
|
-
|
|
408
|
-
# query parameters
|
|
409
|
-
query_params = opts[:query_params] || {}
|
|
410
|
-
|
|
411
|
-
# header parameters
|
|
412
|
-
header_params = opts[:header_params] || {}
|
|
413
|
-
# HTTP header 'Accept' (if needed)
|
|
414
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
415
|
-
|
|
416
|
-
# form parameters
|
|
417
|
-
form_params = opts[:form_params] || {}
|
|
418
|
-
|
|
419
|
-
# http body (model)
|
|
420
|
-
post_body = opts[:debug_body]
|
|
421
|
-
|
|
422
|
-
# return_type
|
|
423
|
-
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePayloadHistoryLegalUnitFacility'
|
|
424
|
-
|
|
425
|
-
# auth_names
|
|
426
|
-
auth_names = opts[:debug_auth_names] || []
|
|
427
|
-
|
|
428
|
-
new_options = opts.merge(
|
|
429
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get",
|
|
430
|
-
:header_params => header_params,
|
|
431
|
-
:query_params => query_params,
|
|
432
|
-
:form_params => form_params,
|
|
433
|
-
:body => post_body,
|
|
434
|
-
:auth_names => auth_names,
|
|
435
|
-
:return_type => return_type
|
|
436
|
-
)
|
|
437
|
-
|
|
438
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
439
|
-
if @api_client.config.debugging
|
|
440
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
441
|
-
end
|
|
442
|
-
return data, status_code, headers
|
|
443
|
-
end
|
|
444
|
-
|
|
445
142
|
# Get a routing code by SIRET and routing identifier
|
|
446
143
|
# Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
447
144
|
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
@@ -574,69 +271,6 @@ module FactPulse
|
|
|
574
271
|
return data, status_code, headers
|
|
575
272
|
end
|
|
576
273
|
|
|
577
|
-
# Gets a siren (legal unit) by instance ID
|
|
578
|
-
# Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
579
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
580
|
-
# @param [Hash] opts the optional parameters
|
|
581
|
-
# @return [AFNORLegalUnitPayloadHistory]
|
|
582
|
-
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get(id_instance, opts = {})
|
|
583
|
-
data, _status_code, _headers = get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
584
|
-
data
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
# Gets a siren (legal unit) by instance ID
|
|
588
|
-
# Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
589
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
590
|
-
# @param [Hash] opts the optional parameters
|
|
591
|
-
# @return [Array<(AFNORLegalUnitPayloadHistory, Integer, Hash)>] AFNORLegalUnitPayloadHistory data, response status code and response headers
|
|
592
|
-
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
593
|
-
if @api_client.config.debugging
|
|
594
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get ...'
|
|
595
|
-
end
|
|
596
|
-
# verify the required parameter 'id_instance' is set
|
|
597
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
598
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get"
|
|
599
|
-
end
|
|
600
|
-
# resource path
|
|
601
|
-
local_var_path = '/api/v1/afnor/directory/v1/siren/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
602
|
-
|
|
603
|
-
# query parameters
|
|
604
|
-
query_params = opts[:query_params] || {}
|
|
605
|
-
|
|
606
|
-
# header parameters
|
|
607
|
-
header_params = opts[:header_params] || {}
|
|
608
|
-
# HTTP header 'Accept' (if needed)
|
|
609
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
610
|
-
|
|
611
|
-
# form parameters
|
|
612
|
-
form_params = opts[:form_params] || {}
|
|
613
|
-
|
|
614
|
-
# http body (model)
|
|
615
|
-
post_body = opts[:debug_body]
|
|
616
|
-
|
|
617
|
-
# return_type
|
|
618
|
-
return_type = opts[:debug_return_type] || 'AFNORLegalUnitPayloadHistory'
|
|
619
|
-
|
|
620
|
-
# auth_names
|
|
621
|
-
auth_names = opts[:debug_auth_names] || []
|
|
622
|
-
|
|
623
|
-
new_options = opts.merge(
|
|
624
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get",
|
|
625
|
-
:header_params => header_params,
|
|
626
|
-
:query_params => query_params,
|
|
627
|
-
:form_params => form_params,
|
|
628
|
-
:body => post_body,
|
|
629
|
-
:auth_names => auth_names,
|
|
630
|
-
:return_type => return_type
|
|
631
|
-
)
|
|
632
|
-
|
|
633
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
634
|
-
if @api_client.config.debugging
|
|
635
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
636
|
-
end
|
|
637
|
-
return data, status_code, headers
|
|
638
|
-
end
|
|
639
|
-
|
|
640
274
|
# Gets a siret (facility) by SIRET number
|
|
641
275
|
# Returns the details of a facility associated to a SIRET.
|
|
642
276
|
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
@@ -700,258 +334,6 @@ module FactPulse
|
|
|
700
334
|
return data, status_code, headers
|
|
701
335
|
end
|
|
702
336
|
|
|
703
|
-
# Gets a siret (facility) by id-instance
|
|
704
|
-
# Returns the details of a facility according to an instance-id.
|
|
705
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
706
|
-
# @param [Hash] opts the optional parameters
|
|
707
|
-
# @return [AFNORFacilityPayloadHistory]
|
|
708
|
-
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get(id_instance, opts = {})
|
|
709
|
-
data, _status_code, _headers = get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
710
|
-
data
|
|
711
|
-
end
|
|
712
|
-
|
|
713
|
-
# Gets a siret (facility) by id-instance
|
|
714
|
-
# Returns the details of a facility according to an instance-id.
|
|
715
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
716
|
-
# @param [Hash] opts the optional parameters
|
|
717
|
-
# @return [Array<(AFNORFacilityPayloadHistory, Integer, Hash)>] AFNORFacilityPayloadHistory data, response status code and response headers
|
|
718
|
-
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
719
|
-
if @api_client.config.debugging
|
|
720
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get ...'
|
|
721
|
-
end
|
|
722
|
-
# verify the required parameter 'id_instance' is set
|
|
723
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
724
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get"
|
|
725
|
-
end
|
|
726
|
-
# resource path
|
|
727
|
-
local_var_path = '/api/v1/afnor/directory/v1/siret/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
728
|
-
|
|
729
|
-
# query parameters
|
|
730
|
-
query_params = opts[:query_params] || {}
|
|
731
|
-
|
|
732
|
-
# header parameters
|
|
733
|
-
header_params = opts[:header_params] || {}
|
|
734
|
-
# HTTP header 'Accept' (if needed)
|
|
735
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
736
|
-
|
|
737
|
-
# form parameters
|
|
738
|
-
form_params = opts[:form_params] || {}
|
|
739
|
-
|
|
740
|
-
# http body (model)
|
|
741
|
-
post_body = opts[:debug_body]
|
|
742
|
-
|
|
743
|
-
# return_type
|
|
744
|
-
return_type = opts[:debug_return_type] || 'AFNORFacilityPayloadHistory'
|
|
745
|
-
|
|
746
|
-
# auth_names
|
|
747
|
-
auth_names = opts[:debug_auth_names] || []
|
|
748
|
-
|
|
749
|
-
new_options = opts.merge(
|
|
750
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get",
|
|
751
|
-
:header_params => header_params,
|
|
752
|
-
:query_params => query_params,
|
|
753
|
-
:form_params => form_params,
|
|
754
|
-
:body => post_body,
|
|
755
|
-
:auth_names => auth_names,
|
|
756
|
-
:return_type => return_type
|
|
757
|
-
)
|
|
758
|
-
|
|
759
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
760
|
-
if @api_client.config.debugging
|
|
761
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
762
|
-
end
|
|
763
|
-
return data, status_code, headers
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
# Partially updates a directory line..
|
|
767
|
-
# Partially updates a directory line.
|
|
768
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
769
|
-
# @param [Hash] opts the optional parameters
|
|
770
|
-
# @return [AFNORDirectoryLinePost201Response]
|
|
771
|
-
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch(id_instance, opts = {})
|
|
772
|
-
data, _status_code, _headers = patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
773
|
-
data
|
|
774
|
-
end
|
|
775
|
-
|
|
776
|
-
# Partially updates a directory line..
|
|
777
|
-
# Partially updates a directory line.
|
|
778
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
779
|
-
# @param [Hash] opts the optional parameters
|
|
780
|
-
# @return [Array<(AFNORDirectoryLinePost201Response, Integer, Hash)>] AFNORDirectoryLinePost201Response data, response status code and response headers
|
|
781
|
-
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
782
|
-
if @api_client.config.debugging
|
|
783
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch ...'
|
|
784
|
-
end
|
|
785
|
-
# verify the required parameter 'id_instance' is set
|
|
786
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
787
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch"
|
|
788
|
-
end
|
|
789
|
-
# resource path
|
|
790
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
791
|
-
|
|
792
|
-
# query parameters
|
|
793
|
-
query_params = opts[:query_params] || {}
|
|
794
|
-
|
|
795
|
-
# header parameters
|
|
796
|
-
header_params = opts[:header_params] || {}
|
|
797
|
-
# HTTP header 'Accept' (if needed)
|
|
798
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
799
|
-
|
|
800
|
-
# form parameters
|
|
801
|
-
form_params = opts[:form_params] || {}
|
|
802
|
-
|
|
803
|
-
# http body (model)
|
|
804
|
-
post_body = opts[:debug_body]
|
|
805
|
-
|
|
806
|
-
# return_type
|
|
807
|
-
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePost201Response'
|
|
808
|
-
|
|
809
|
-
# auth_names
|
|
810
|
-
auth_names = opts[:debug_auth_names] || []
|
|
811
|
-
|
|
812
|
-
new_options = opts.merge(
|
|
813
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch",
|
|
814
|
-
:header_params => header_params,
|
|
815
|
-
:query_params => query_params,
|
|
816
|
-
:form_params => form_params,
|
|
817
|
-
:body => post_body,
|
|
818
|
-
:auth_names => auth_names,
|
|
819
|
-
:return_type => return_type
|
|
820
|
-
)
|
|
821
|
-
|
|
822
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
823
|
-
if @api_client.config.debugging
|
|
824
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
|
-
end
|
|
826
|
-
return data, status_code, headers
|
|
827
|
-
end
|
|
828
|
-
|
|
829
|
-
# Partially update a private routing code.
|
|
830
|
-
# Partially update a private routing code.
|
|
831
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
832
|
-
# @param [Hash] opts the optional parameters
|
|
833
|
-
# @return [AFNORRoutingCodePost201Response]
|
|
834
|
-
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch(id_instance, opts = {})
|
|
835
|
-
data, _status_code, _headers = patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
836
|
-
data
|
|
837
|
-
end
|
|
838
|
-
|
|
839
|
-
# Partially update a private routing code.
|
|
840
|
-
# Partially update a private routing code.
|
|
841
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
842
|
-
# @param [Hash] opts the optional parameters
|
|
843
|
-
# @return [Array<(AFNORRoutingCodePost201Response, Integer, Hash)>] AFNORRoutingCodePost201Response data, response status code and response headers
|
|
844
|
-
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
845
|
-
if @api_client.config.debugging
|
|
846
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch ...'
|
|
847
|
-
end
|
|
848
|
-
# verify the required parameter 'id_instance' is set
|
|
849
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
850
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch"
|
|
851
|
-
end
|
|
852
|
-
# resource path
|
|
853
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
854
|
-
|
|
855
|
-
# query parameters
|
|
856
|
-
query_params = opts[:query_params] || {}
|
|
857
|
-
|
|
858
|
-
# header parameters
|
|
859
|
-
header_params = opts[:header_params] || {}
|
|
860
|
-
# HTTP header 'Accept' (if needed)
|
|
861
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
862
|
-
|
|
863
|
-
# form parameters
|
|
864
|
-
form_params = opts[:form_params] || {}
|
|
865
|
-
|
|
866
|
-
# http body (model)
|
|
867
|
-
post_body = opts[:debug_body]
|
|
868
|
-
|
|
869
|
-
# return_type
|
|
870
|
-
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePost201Response'
|
|
871
|
-
|
|
872
|
-
# auth_names
|
|
873
|
-
auth_names = opts[:debug_auth_names] || []
|
|
874
|
-
|
|
875
|
-
new_options = opts.merge(
|
|
876
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch",
|
|
877
|
-
:header_params => header_params,
|
|
878
|
-
:query_params => query_params,
|
|
879
|
-
:form_params => form_params,
|
|
880
|
-
:body => post_body,
|
|
881
|
-
:auth_names => auth_names,
|
|
882
|
-
:return_type => return_type
|
|
883
|
-
)
|
|
884
|
-
|
|
885
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
886
|
-
if @api_client.config.debugging
|
|
887
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
888
|
-
end
|
|
889
|
-
return data, status_code, headers
|
|
890
|
-
end
|
|
891
|
-
|
|
892
|
-
# Completely update a private routing code.
|
|
893
|
-
# Completely update a private routing code.
|
|
894
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
895
|
-
# @param [Hash] opts the optional parameters
|
|
896
|
-
# @return [AFNORRoutingCodePost201Response]
|
|
897
|
-
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put(id_instance, opts = {})
|
|
898
|
-
data, _status_code, _headers = put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts)
|
|
899
|
-
data
|
|
900
|
-
end
|
|
901
|
-
|
|
902
|
-
# Completely update a private routing code.
|
|
903
|
-
# Completely update a private routing code.
|
|
904
|
-
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
905
|
-
# @param [Hash] opts the optional parameters
|
|
906
|
-
# @return [Array<(AFNORRoutingCodePost201Response, Integer, Hash)>] AFNORRoutingCodePost201Response data, response status code and response headers
|
|
907
|
-
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts = {})
|
|
908
|
-
if @api_client.config.debugging
|
|
909
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put ...'
|
|
910
|
-
end
|
|
911
|
-
# verify the required parameter 'id_instance' is set
|
|
912
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
913
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put"
|
|
914
|
-
end
|
|
915
|
-
# resource path
|
|
916
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
917
|
-
|
|
918
|
-
# query parameters
|
|
919
|
-
query_params = opts[:query_params] || {}
|
|
920
|
-
|
|
921
|
-
# header parameters
|
|
922
|
-
header_params = opts[:header_params] || {}
|
|
923
|
-
# HTTP header 'Accept' (if needed)
|
|
924
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
925
|
-
|
|
926
|
-
# form parameters
|
|
927
|
-
form_params = opts[:form_params] || {}
|
|
928
|
-
|
|
929
|
-
# http body (model)
|
|
930
|
-
post_body = opts[:debug_body]
|
|
931
|
-
|
|
932
|
-
# return_type
|
|
933
|
-
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePost201Response'
|
|
934
|
-
|
|
935
|
-
# auth_names
|
|
936
|
-
auth_names = opts[:debug_auth_names] || []
|
|
937
|
-
|
|
938
|
-
new_options = opts.merge(
|
|
939
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put",
|
|
940
|
-
:header_params => header_params,
|
|
941
|
-
:query_params => query_params,
|
|
942
|
-
:form_params => form_params,
|
|
943
|
-
:body => post_body,
|
|
944
|
-
:auth_names => auth_names,
|
|
945
|
-
:return_type => return_type
|
|
946
|
-
)
|
|
947
|
-
|
|
948
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
949
|
-
if @api_client.config.debugging
|
|
950
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
951
|
-
end
|
|
952
|
-
return data, status_code, headers
|
|
953
|
-
end
|
|
954
|
-
|
|
955
337
|
# Search for a directory line
|
|
956
338
|
# Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
957
339
|
# @param [Hash] opts the optional parameters
|