Skip to content

Commit 4366dba

Browse files
author
Api (Codebuild)
committed
Look for details in API documentation's changelog
1 parent 7ce2ae2 commit 4366dba

File tree

257 files changed

+6294
-617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+6294
-617
lines changed

.openapi-generator/FILES

+156-18
Large diffs are not rendered by default.

.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.11.0
1+
7.12.0

EzmaxApi/Api/ObjectCreditcardmerchantApi.h

-46
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
#import <Foundation/Foundation.h>
22
#import "CommonResponseError.h"
3-
#import "CreditcardmerchantCreateObjectV1Request.h"
4-
#import "CreditcardmerchantCreateObjectV1Response.h"
5-
#import "CreditcardmerchantDeleteObjectV1Response.h"
6-
#import "CreditcardmerchantEditObjectV1Request.h"
7-
#import "CreditcardmerchantEditObjectV1Response.h"
83
#import "CreditcardmerchantGetAutocompleteV2Response.h"
94
#import "CreditcardmerchantGetListV1Response.h"
105
#import "CreditcardmerchantGetObjectV2Response.h"
@@ -32,47 +27,6 @@ extern NSInteger kObjectCreditcardmerchantApiMissingParamErrorCode;
3227

3328
-(instancetype) initWithApiClient:(ApiClient *)apiClient NS_DESIGNATED_INITIALIZER;
3429

35-
/// Create a new Creditcardmerchant
36-
/// The endpoint allows to create one or many elements at once.
37-
///
38-
/// @param creditcardmerchantCreateObjectV1Request
39-
///
40-
/// code:201 message:"Successful response"
41-
///
42-
/// @return CreditcardmerchantCreateObjectV1Response*
43-
-(NSURLSessionTask*) creditcardmerchantCreateObjectV1WithCreditcardmerchantCreateObjectV1Request: (CreditcardmerchantCreateObjectV1Request*) creditcardmerchantCreateObjectV1Request
44-
completionHandler: (void (^)(CreditcardmerchantCreateObjectV1Response* output, NSError* error)) handler;
45-
46-
47-
/// Delete an existing Creditcardmerchant
48-
///
49-
///
50-
/// @param pkiCreditcardmerchantID The unique ID of the Creditcardmerchant
51-
///
52-
/// code:200 message:"Successful response",
53-
/// code:404 message:"The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body"
54-
///
55-
/// @return CreditcardmerchantDeleteObjectV1Response*
56-
-(NSURLSessionTask*) creditcardmerchantDeleteObjectV1WithPkiCreditcardmerchantID: (NSNumber*) pkiCreditcardmerchantID
57-
completionHandler: (void (^)(CreditcardmerchantDeleteObjectV1Response* output, NSError* error)) handler;
58-
59-
60-
/// Edit an existing Creditcardmerchant
61-
///
62-
///
63-
/// @param pkiCreditcardmerchantID The unique ID of the Creditcardmerchant
64-
/// @param creditcardmerchantEditObjectV1Request
65-
///
66-
/// code:200 message:"Successful response",
67-
/// code:404 message:"The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body",
68-
/// code:422 message:"The request was syntactically valid but failed because of an interdependance condition. Look for detail about the error in the body"
69-
///
70-
/// @return CreditcardmerchantEditObjectV1Response*
71-
-(NSURLSessionTask*) creditcardmerchantEditObjectV1WithPkiCreditcardmerchantID: (NSNumber*) pkiCreditcardmerchantID
72-
creditcardmerchantEditObjectV1Request: (CreditcardmerchantEditObjectV1Request*) creditcardmerchantEditObjectV1Request
73-
completionHandler: (void (^)(CreditcardmerchantEditObjectV1Response* output, NSError* error)) handler;
74-
75-
7630
/// Retrieve Creditcardmerchants and IDs
7731
/// Get the list of Creditcardmerchant to be used in a dropdown or autocomplete control.
7832
///

EzmaxApi/Api/ObjectCreditcardmerchantApi.m

-222
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
#import "QueryParamCollection.h"
33
#import "ApiClient.h"
44
#import "CommonResponseError.h"
5-
#import "CreditcardmerchantCreateObjectV1Request.h"
6-
#import "CreditcardmerchantCreateObjectV1Response.h"
7-
#import "CreditcardmerchantDeleteObjectV1Response.h"
8-
#import "CreditcardmerchantEditObjectV1Request.h"
9-
#import "CreditcardmerchantEditObjectV1Response.h"
105
#import "CreditcardmerchantGetAutocompleteV2Response.h"
116
#import "CreditcardmerchantGetListV1Response.h"
127
#import "CreditcardmerchantGetObjectV2Response.h"
@@ -58,223 +53,6 @@ -(NSDictionary *)defaultHeaders {
5853

5954
#pragma mark - Api Methods
6055

61-
///
62-
/// Create a new Creditcardmerchant
63-
/// The endpoint allows to create one or many elements at once.
64-
/// @param creditcardmerchantCreateObjectV1Request
65-
///
66-
/// @returns CreditcardmerchantCreateObjectV1Response*
67-
///
68-
-(NSURLSessionTask*) creditcardmerchantCreateObjectV1WithCreditcardmerchantCreateObjectV1Request: (CreditcardmerchantCreateObjectV1Request*) creditcardmerchantCreateObjectV1Request
69-
completionHandler: (void (^)(CreditcardmerchantCreateObjectV1Response* output, NSError* error)) handler {
70-
// verify the required parameter 'creditcardmerchantCreateObjectV1Request' is set
71-
if (creditcardmerchantCreateObjectV1Request == nil) {
72-
NSParameterAssert(creditcardmerchantCreateObjectV1Request);
73-
if(handler) {
74-
NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"creditcardmerchantCreateObjectV1Request"] };
75-
NSError* error = [NSError errorWithDomain:kObjectCreditcardmerchantApiErrorDomain code:kObjectCreditcardmerchantApiMissingParamErrorCode userInfo:userInfo];
76-
handler(nil, error);
77-
}
78-
return nil;
79-
}
80-
81-
NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/1/object/creditcardmerchant"];
82-
83-
NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init];
84-
85-
NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init];
86-
NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders];
87-
[headerParams addEntriesFromDictionary:self.defaultHeaders];
88-
// HTTP header `Accept`
89-
NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]];
90-
if(acceptHeader.length > 0) {
91-
headerParams[@"Accept"] = acceptHeader;
92-
}
93-
94-
// response content type
95-
NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @"";
96-
97-
// request content type
98-
NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]];
99-
100-
// Authentication setting
101-
NSArray *authSettings = @[@"Authorization"];
102-
103-
id bodyParam = nil;
104-
NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init];
105-
NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init];
106-
bodyParam = creditcardmerchantCreateObjectV1Request;
107-
108-
return [self.apiClient requestWithPath: resourcePath
109-
method: @"POST"
110-
pathParams: pathParams
111-
queryParams: queryParams
112-
formParams: formParams
113-
files: localVarFiles
114-
body: bodyParam
115-
headerParams: headerParams
116-
authSettings: authSettings
117-
requestContentType: requestContentType
118-
responseContentType: responseContentType
119-
responseType: @"CreditcardmerchantCreateObjectV1Response*"
120-
completionBlock: ^(id data, NSError *error) {
121-
if(handler) {
122-
handler((CreditcardmerchantCreateObjectV1Response*)data, error);
123-
}
124-
}];
125-
}
126-
127-
///
128-
/// Delete an existing Creditcardmerchant
129-
///
130-
/// @param pkiCreditcardmerchantID The unique ID of the Creditcardmerchant
131-
///
132-
/// @returns CreditcardmerchantDeleteObjectV1Response*
133-
///
134-
-(NSURLSessionTask*) creditcardmerchantDeleteObjectV1WithPkiCreditcardmerchantID: (NSNumber*) pkiCreditcardmerchantID
135-
completionHandler: (void (^)(CreditcardmerchantDeleteObjectV1Response* output, NSError* error)) handler {
136-
// verify the required parameter 'pkiCreditcardmerchantID' is set
137-
if (pkiCreditcardmerchantID == nil) {
138-
NSParameterAssert(pkiCreditcardmerchantID);
139-
if(handler) {
140-
NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"pkiCreditcardmerchantID"] };
141-
NSError* error = [NSError errorWithDomain:kObjectCreditcardmerchantApiErrorDomain code:kObjectCreditcardmerchantApiMissingParamErrorCode userInfo:userInfo];
142-
handler(nil, error);
143-
}
144-
return nil;
145-
}
146-
147-
NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/1/object/creditcardmerchant/{pkiCreditcardmerchantID}"];
148-
149-
NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init];
150-
if (pkiCreditcardmerchantID != nil) {
151-
pathParams[@"pkiCreditcardmerchantID"] = pkiCreditcardmerchantID;
152-
}
153-
154-
NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init];
155-
NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders];
156-
[headerParams addEntriesFromDictionary:self.defaultHeaders];
157-
// HTTP header `Accept`
158-
NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]];
159-
if(acceptHeader.length > 0) {
160-
headerParams[@"Accept"] = acceptHeader;
161-
}
162-
163-
// response content type
164-
NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @"";
165-
166-
// request content type
167-
NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]];
168-
169-
// Authentication setting
170-
NSArray *authSettings = @[@"Authorization"];
171-
172-
id bodyParam = nil;
173-
NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init];
174-
NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init];
175-
176-
return [self.apiClient requestWithPath: resourcePath
177-
method: @"DELETE"
178-
pathParams: pathParams
179-
queryParams: queryParams
180-
formParams: formParams
181-
files: localVarFiles
182-
body: bodyParam
183-
headerParams: headerParams
184-
authSettings: authSettings
185-
requestContentType: requestContentType
186-
responseContentType: responseContentType
187-
responseType: @"CreditcardmerchantDeleteObjectV1Response*"
188-
completionBlock: ^(id data, NSError *error) {
189-
if(handler) {
190-
handler((CreditcardmerchantDeleteObjectV1Response*)data, error);
191-
}
192-
}];
193-
}
194-
195-
///
196-
/// Edit an existing Creditcardmerchant
197-
///
198-
/// @param pkiCreditcardmerchantID The unique ID of the Creditcardmerchant
199-
///
200-
/// @param creditcardmerchantEditObjectV1Request
201-
///
202-
/// @returns CreditcardmerchantEditObjectV1Response*
203-
///
204-
-(NSURLSessionTask*) creditcardmerchantEditObjectV1WithPkiCreditcardmerchantID: (NSNumber*) pkiCreditcardmerchantID
205-
creditcardmerchantEditObjectV1Request: (CreditcardmerchantEditObjectV1Request*) creditcardmerchantEditObjectV1Request
206-
completionHandler: (void (^)(CreditcardmerchantEditObjectV1Response* output, NSError* error)) handler {
207-
// verify the required parameter 'pkiCreditcardmerchantID' is set
208-
if (pkiCreditcardmerchantID == nil) {
209-
NSParameterAssert(pkiCreditcardmerchantID);
210-
if(handler) {
211-
NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"pkiCreditcardmerchantID"] };
212-
NSError* error = [NSError errorWithDomain:kObjectCreditcardmerchantApiErrorDomain code:kObjectCreditcardmerchantApiMissingParamErrorCode userInfo:userInfo];
213-
handler(nil, error);
214-
}
215-
return nil;
216-
}
217-
218-
// verify the required parameter 'creditcardmerchantEditObjectV1Request' is set
219-
if (creditcardmerchantEditObjectV1Request == nil) {
220-
NSParameterAssert(creditcardmerchantEditObjectV1Request);
221-
if(handler) {
222-
NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"creditcardmerchantEditObjectV1Request"] };
223-
NSError* error = [NSError errorWithDomain:kObjectCreditcardmerchantApiErrorDomain code:kObjectCreditcardmerchantApiMissingParamErrorCode userInfo:userInfo];
224-
handler(nil, error);
225-
}
226-
return nil;
227-
}
228-
229-
NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/1/object/creditcardmerchant/{pkiCreditcardmerchantID}"];
230-
231-
NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init];
232-
if (pkiCreditcardmerchantID != nil) {
233-
pathParams[@"pkiCreditcardmerchantID"] = pkiCreditcardmerchantID;
234-
}
235-
236-
NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init];
237-
NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders];
238-
[headerParams addEntriesFromDictionary:self.defaultHeaders];
239-
// HTTP header `Accept`
240-
NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]];
241-
if(acceptHeader.length > 0) {
242-
headerParams[@"Accept"] = acceptHeader;
243-
}
244-
245-
// response content type
246-
NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @"";
247-
248-
// request content type
249-
NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]];
250-
251-
// Authentication setting
252-
NSArray *authSettings = @[@"Authorization"];
253-
254-
id bodyParam = nil;
255-
NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init];
256-
NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init];
257-
bodyParam = creditcardmerchantEditObjectV1Request;
258-
259-
return [self.apiClient requestWithPath: resourcePath
260-
method: @"PUT"
261-
pathParams: pathParams
262-
queryParams: queryParams
263-
formParams: formParams
264-
files: localVarFiles
265-
body: bodyParam
266-
headerParams: headerParams
267-
authSettings: authSettings
268-
requestContentType: requestContentType
269-
responseContentType: responseContentType
270-
responseType: @"CreditcardmerchantEditObjectV1Response*"
271-
completionBlock: ^(id data, NSError *error) {
272-
if(handler) {
273-
handler((CreditcardmerchantEditObjectV1Response*)data, error);
274-
}
275-
}];
276-
}
277-
27856
///
27957
/// Retrieve Creditcardmerchants and IDs
28058
/// Get the list of Creditcardmerchant to be used in a dropdown or autocomplete control.

EzmaxApi/Api/ObjectCustomerApi.h

+20
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#import "CommonResponseError.h"
33
#import "CustomerCreateObjectV1Request.h"
44
#import "CustomerCreateObjectV1Response.h"
5+
#import "CustomerGetAutocompleteV2Response.h"
56
#import "CustomerGetObjectV2Response.h"
7+
#import "HeaderAcceptLanguage.h"
68
#import "Api.h"
79

810
/**
@@ -38,6 +40,24 @@ extern NSInteger kObjectCustomerApiMissingParamErrorCode;
3840
completionHandler: (void (^)(CustomerCreateObjectV1Response* output, NSError* error)) handler;
3941

4042

43+
/// Retrieve Customers and IDs
44+
/// Get the list of Customer to be used in a dropdown or autocomplete control.
45+
///
46+
/// @param sSelector The type of Customers to return
47+
/// @param eFilterActive Specify which results we want to display. (optional) (default to @"Active")
48+
/// @param sQuery Allow to filter the returned results (optional)
49+
/// @param acceptLanguage (optional)
50+
///
51+
/// code:200 message:"Successful response"
52+
///
53+
/// @return CustomerGetAutocompleteV2Response*
54+
-(NSURLSessionTask*) customerGetAutocompleteV2WithSSelector: (NSString*) sSelector
55+
eFilterActive: (NSString*) eFilterActive
56+
sQuery: (NSString*) sQuery
57+
acceptLanguage: (HeaderAcceptLanguage) acceptLanguage
58+
completionHandler: (void (^)(CustomerGetAutocompleteV2Response* output, NSError* error)) handler;
59+
60+
4161
/// Retrieve an existing Customer
4262
///
4363
///

0 commit comments

Comments
 (0)