Skip to content

Commit

Permalink
[Auto Generated] 1.4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 16, 2024
1 parent 275bba6 commit 8b9bf23
Show file tree
Hide file tree
Showing 1,986 changed files with 202,977 additions and 168,985 deletions.
7,647 changes: 7,647 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion FDKClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Pod::Spec.new do |s|
s.name = 'FDKClient'
s.version = '1.4.13'
s.version = '1.4.14'
s.summary = 'FDK Client SDK for Swift language'

s.description = 'FDK Client SDK for Swift language that can be used to make Apps or extensions.'
Expand Down
2 changes: 1 addition & 1 deletion Sources/code/application/ApplicationAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ApplicationAPIClient {
var headers = [
(key: "Authorization", value: "Bearer " + "\(config.applicationId):\(config.applicationToken)".asBase64)
]
headers.append((key: "x-fp-sdk-version", value: "1.4.13"))
headers.append((key: "x-fp-sdk-version", value: "1.4.14"))
headers.append(contentsOf: config.extraHeaders)
if let userAgent = config.userAgent {
headers.append((key: "User-Agent", value: userAgent))
Expand Down
4 changes: 4 additions & 0 deletions Sources/code/application/ApplicationClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class ApplicationClient {

public let fileStorage: FileStorage

public let finance: Finance

public let lead: Lead

public let logistic: Logistic
Expand Down Expand Up @@ -54,6 +56,8 @@ public class ApplicationClient {

fileStorage = FileStorage(config: config)

finance = Finance(config: config)

lead = Lead(config: config)

logistic = Logistic(config: config)
Expand Down
2 changes: 2 additions & 0 deletions Sources/code/application/ApplicationEnums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public extension ApplicationClient.Content {





public extension ApplicationClient.Lead {


Expand Down
2 changes: 2 additions & 0 deletions Sources/code/application/ApplicationModelsExtenstions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ public extension ApplicationClient.Content.ActionPage {





public extension ApplicationClient.Theme.ActionPage {

static func convertURLToAction(urlString: String) -> ApplicationClient.Theme.ActionPage? {
Expand Down
2 changes: 2 additions & 0 deletions Sources/code/application/ApplicationPageType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,8 @@ public extension ApplicationClient.Content {





public extension ApplicationClient.Theme {

enum PageType: String, Codable, CaseIterable {
Expand Down
178 changes: 121 additions & 57 deletions Sources/code/application/Client/CartApplicationClient.swift

Large diffs are not rendered by default.

116 changes: 58 additions & 58 deletions Sources/code/application/Client/CatalogApplicationClient.swift

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Sources/code/application/Client/CommonApplicationClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extension ApplicationClient {
query: String?,

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: ApplicationResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: ApplicationResponseSchema?, _ error: FDKError?) -> Void
) {

var xQuery: [String: Any] = [:]
Expand Down Expand Up @@ -74,7 +74,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(ApplicationResponse.self, from: data)
let response = Utility.decode(ApplicationResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extension ApplicationClient {
public func getOwnerInfo(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: ApplicationAboutResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: ApplicationAboutResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -144,7 +144,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(ApplicationAboutResponse.self, from: data)
let response = Utility.decode(ApplicationAboutResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down Expand Up @@ -217,7 +217,7 @@ extension ApplicationClient {
public func getIntegrationTokens(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: AppTokenResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: AppTokenResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -248,7 +248,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(AppTokenResponse.self, from: data)
let response = Utility.decode(AppTokenResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down Expand Up @@ -391,7 +391,7 @@ extension ApplicationClient {
public func getFeatures(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: AppFeatureResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: AppFeatureResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -422,7 +422,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(AppFeatureResponse.self, from: data)
let response = Utility.decode(AppFeatureResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down Expand Up @@ -495,7 +495,7 @@ extension ApplicationClient {
public func getCurrencies(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: CurrenciesResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: CurrenciesResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -526,7 +526,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(CurrenciesResponse.self, from: data)
let response = Utility.decode(CurrenciesResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down Expand Up @@ -602,7 +602,7 @@ extension ApplicationClient {
public func getAppCurrencies(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: AppCurrencyResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: AppCurrencyResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -633,7 +633,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(AppCurrencyResponse.self, from: data)
let response = Utility.decode(AppCurrencyResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand All @@ -654,7 +654,7 @@ extension ApplicationClient {
public func getLanguages(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: LanguageResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: LanguageResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -685,7 +685,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(LanguageResponse.self, from: data)
let response = Utility.decode(LanguageResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand All @@ -704,9 +704,9 @@ extension ApplicationClient {
* Description: Reset cookie of ordering store.
**/
public func getOrderingStoreCookie(
body: OrderingStoreSelectRequest,
body: OrderingStoreSelectRequestSchema,
headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: SuccessMessageResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: SuccessMessageResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -737,7 +737,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(SuccessMessageResponse.self, from: data)
let response = Utility.decode(SuccessMessageResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand All @@ -758,7 +758,7 @@ extension ApplicationClient {
public func removeOrderingStoreCookie(

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: SuccessMessageResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: SuccessMessageResponseSchema?, _ error: FDKError?) -> Void
) {


Expand Down Expand Up @@ -789,7 +789,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(SuccessMessageResponse.self, from: data)
let response = Utility.decode(SuccessMessageResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand All @@ -816,7 +816,7 @@ extension ApplicationClient {
userName: String?,

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: AppStaffListResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: AppStaffListResponseSchema?, _ error: FDKError?) -> Void
) {

var xQuery: [String: Any] = [:]
Expand Down Expand Up @@ -871,7 +871,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(AppStaffListResponse.self, from: data)
let response = Utility.decode(AppStaffListResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand All @@ -895,7 +895,7 @@ extension ApplicationClient {
user: String?,

headers: [(key: String, value: String)]? = nil,
onResponse: @escaping (_ response: AppStaffResponse?, _ error: FDKError?) -> Void
onResponse: @escaping (_ response: AppStaffResponseSchema?, _ error: FDKError?) -> Void
) {

var xQuery: [String: Any] = [:]
Expand Down Expand Up @@ -938,7 +938,7 @@ extension ApplicationClient {
onResponse(nil, err)
} else if let data = responseData {

let response = Utility.decode(AppStaffResponse.self, from: data)
let response = Utility.decode(AppStaffResponseSchema.self, from: data)

onResponse(response, nil)
} else {
Expand Down
Loading

0 comments on commit 8b9bf23

Please sign in to comment.