From cd6d153c2c55b10ddc2091bda2758473d050af1b Mon Sep 17 00:00:00 2001 From: Jigar Dafda Date: Tue, 17 Oct 2023 13:45:29 +0000 Subject: [PATCH] [Auto Generated] 1.3.5-beta.3 --- CHANGELOG.md | 41 ++++----------- FDKClient.podspec | 2 +- .../application/ApplicationAPIClient.swift | 2 +- ...artCheckoutDetailRequestCartAppModel.swift | 12 ++--- .../Cart/CustomerDetailsCartAppModel.swift | 2 +- .../Lead/UserSchemaLeadPlatformModel.swift | 50 ++++++++++++++++++- .../Order/ShipmentOrderPlatformModel.swift | 50 +------------------ ...ShipmentStatusDataOrderPlatformModel.swift | 50 +------------------ ...teUserRequestSchemaUserPlatformModel.swift | 25 +++++++++- .../User/UserSchemaUserPlatformModel.swift | 25 +++++++++- Sources/code/platform/PlatformAPIClient.swift | 2 +- Sources/code/public/PublicAPIClient.swift | 2 +- documentation/platform/ORDER.md | 2 - documentation/platform/USER.md | 2 + 14 files changed, 124 insertions(+), 143 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e1727f4bc..d357a22538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,24 +1,4 @@ -# CHANGE LOG (1.3.5-beta.2) - v1.8.4-prerelease-v2 - -## Application Client - - - -### Cart - - - -#### checkoutCart - -- ##### What's Deprecated - - [Deleted] Possible nullable value from `true` from property `id` of schema `CartCheckoutDetailRequest` in request body - - [Deleted] Possible nullable value from `true` from property `customerDetails` of schema `CartCheckoutDetailRequest` in request body - - [Breaking] [Deleted] Default value from property `callbackUrl` of schema `CartCheckoutDetailRequest` in request body - - [Deleted] Possible nullable value from `true` from property `callbackUrl` of schema `CartCheckoutDetailRequest` in request body - - [Deleted] Possible nullable value from `true` from property `orderingStore` of schema `CartCheckoutDetailRequest` in request body - - [Deleted] Possible nullable value from `true` from property `paymentIdentifier` of schema `CartCheckoutDetailRequest` in request body - - [Deleted] Possible nullable value from `true` from property `paymentParams` of schema `CartCheckoutDetailRequest` in request body - +# CHANGE LOG (1.3.5-beta.3) - v1.8.4-prerelease-v3 ## Platform Client @@ -40,32 +20,33 @@ - [Breaking] [Changed] Type from `object` to `array` of property `items` of schema `ProductBulkRequest` in response with status code 200 -### Order +### User -#### createOrder +#### getCustomers - ##### What's New - - [Added] property `shipments[].orderType` of schema `Shipment` in request body + - [Added] property `items[].externalId` of schema `UserSchema` in response with status code 200 -#### getShipmentById +#### searchUsers - ##### What's New - - [Added] property `shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200 + - [Added] property `users[].externalId` of schema `UserSchema` in response with status code 200 -#### getOrderById +#### createUser - ##### What's New - - [Added] property `shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200 + - [Added] property `externalId` of schema `CreateUserRequestSchema` in request body + - [Added] property `user.externalId` of schema `UserSchema` in response with status code 200 -#### getOrders +#### updateUser - ##### What's New - - [Added] property `items[].shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200 + - [Added] property `user.externalId` of schema `UserSchema` in response with status code 200 # CHANGE LOG (1.3.4) - fp-v1.8.3 diff --git a/FDKClient.podspec b/FDKClient.podspec index 7ce0eff13b..9721436d15 100644 --- a/FDKClient.podspec +++ b/FDKClient.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'FDKClient' - s.version = '1.3.5-beta.2' + s.version = '1.3.5-beta.3' 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.' diff --git a/Sources/code/application/ApplicationAPIClient.swift b/Sources/code/application/ApplicationAPIClient.swift index fd288f6643..1d65edf95d 100644 --- a/Sources/code/application/ApplicationAPIClient.swift +++ b/Sources/code/application/ApplicationAPIClient.swift @@ -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.3.5-beta.2")) + headers.append((key: "x-fp-sdk-version", value: "1.3.5-beta.3")) headers.append(contentsOf: extraHeaders) headers.append(contentsOf: config.extraHeaders) if let userAgent = config.userAgent { diff --git a/Sources/code/application/Models/Cart/CartCheckoutDetailRequestCartAppModel.swift b/Sources/code/application/Models/Cart/CartCheckoutDetailRequestCartAppModel.swift index b78284e7be..46eacf3c95 100644 --- a/Sources/code/application/Models/Cart/CartCheckoutDetailRequestCartAppModel.swift +++ b/Sources/code/application/Models/Cart/CartCheckoutDetailRequestCartAppModel.swift @@ -385,7 +385,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(customerDetails, forKey: .customerDetails) + try? container.encode(customerDetails, forKey: .customerDetails) @@ -395,7 +395,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(id, forKey: .id) + try? container.encode(id, forKey: .id) @@ -420,7 +420,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(callbackUrl, forKey: .callbackUrl) + try? container.encode(callbackUrl, forKey: .callbackUrl) @@ -440,7 +440,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(orderingStore, forKey: .orderingStore) + try? container.encode(orderingStore, forKey: .orderingStore) @@ -450,7 +450,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(paymentIdentifier, forKey: .paymentIdentifier) + try? container.encode(paymentIdentifier, forKey: .paymentIdentifier) @@ -460,7 +460,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(paymentParams, forKey: .paymentParams) + try? container.encode(paymentParams, forKey: .paymentParams) diff --git a/Sources/code/application/Models/Cart/CustomerDetailsCartAppModel.swift b/Sources/code/application/Models/Cart/CustomerDetailsCartAppModel.swift index ef25e78e1b..777fd520e8 100644 --- a/Sources/code/application/Models/Cart/CustomerDetailsCartAppModel.swift +++ b/Sources/code/application/Models/Cart/CustomerDetailsCartAppModel.swift @@ -74,7 +74,7 @@ public extension ApplicationClient.Cart { - try? container.encodeIfPresent(email, forKey: .email) + try? container.encode(email, forKey: .email) diff --git a/Sources/code/platform/Models/Lead/UserSchemaLeadPlatformModel.swift b/Sources/code/platform/Models/Lead/UserSchemaLeadPlatformModel.swift index eed65bdac4..41bd6fa198 100644 --- a/Sources/code/platform/Models/Lead/UserSchemaLeadPlatformModel.swift +++ b/Sources/code/platform/Models/Lead/UserSchemaLeadPlatformModel.swift @@ -44,6 +44,8 @@ public extension PlatformClient.Lead { public var updatedAt: String? + public var externalId: String? + public enum CodingKeys: String, CodingKey { @@ -79,9 +81,11 @@ public extension PlatformClient.Lead { case updatedAt = "updated_at" + case externalId = "external_id" + } - public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { + public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, externalId: String? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { self.applicationId = applicationId @@ -115,6 +119,8 @@ public extension PlatformClient.Lead { self.updatedAt = updatedAt + self.externalId = externalId + } required public init(from decoder: Decoder) throws { @@ -312,6 +318,18 @@ public extension PlatformClient.Lead { } + + do { + externalId = try container.decode(String.self, forKey: .externalId) + + } catch DecodingError.typeMismatch(let type, let context) { + print("Type '\(type)' mismatch:", context.debugDescription) + print("codingPath:", context.codingPath) + } catch { + + } + + } public func encode(to encoder: Encoder) throws { @@ -397,6 +415,11 @@ public extension PlatformClient.Lead { try? container.encodeIfPresent(updatedAt, forKey: .updatedAt) + + + try? container.encodeIfPresent(externalId, forKey: .externalId) + + } } @@ -445,6 +468,8 @@ public extension PlatformClient.ApplicationClient.Lead { public var updatedAt: String? + public var externalId: String? + public enum CodingKeys: String, CodingKey { @@ -480,9 +505,11 @@ public extension PlatformClient.ApplicationClient.Lead { case updatedAt = "updated_at" + case externalId = "external_id" + } - public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { + public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, externalId: String? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { self.applicationId = applicationId @@ -516,6 +543,8 @@ public extension PlatformClient.ApplicationClient.Lead { self.updatedAt = updatedAt + self.externalId = externalId + } required public init(from decoder: Decoder) throws { @@ -713,6 +742,18 @@ public extension PlatformClient.ApplicationClient.Lead { } + + do { + externalId = try container.decode(String.self, forKey: .externalId) + + } catch DecodingError.typeMismatch(let type, let context) { + print("Type '\(type)' mismatch:", context.debugDescription) + print("codingPath:", context.codingPath) + } catch { + + } + + } public func encode(to encoder: Encoder) throws { @@ -798,6 +839,11 @@ public extension PlatformClient.ApplicationClient.Lead { try? container.encodeIfPresent(updatedAt, forKey: .updatedAt) + + + try? container.encodeIfPresent(externalId, forKey: .externalId) + + } } diff --git a/Sources/code/platform/Models/Order/ShipmentOrderPlatformModel.swift b/Sources/code/platform/Models/Order/ShipmentOrderPlatformModel.swift index 7819a3b0b4..73c595772d 100644 --- a/Sources/code/platform/Models/Order/ShipmentOrderPlatformModel.swift +++ b/Sources/code/platform/Models/Order/ShipmentOrderPlatformModel.swift @@ -24,8 +24,6 @@ public extension PlatformClient.Order { public var locationId: Int - public var orderType: String? - public enum CodingKeys: String, CodingKey { @@ -41,11 +39,9 @@ public extension PlatformClient.Order { case locationId = "location_id" - case orderType = "order_type" - } - public init(externalShipmentId: String? = nil, lineItems: [LineItem], locationId: Int, meta: [String: Any]? = nil, orderType: String? = nil, priority: Int? = nil, processingDates: ProcessingDates? = nil) { + public init(externalShipmentId: String? = nil, lineItems: [LineItem], locationId: Int, meta: [String: Any]? = nil, priority: Int? = nil, processingDates: ProcessingDates? = nil) { self.lineItems = lineItems @@ -59,8 +55,6 @@ public extension PlatformClient.Order { self.locationId = locationId - self.orderType = orderType - } required public init(from decoder: Decoder) throws { @@ -124,18 +118,6 @@ public extension PlatformClient.Order { - - do { - orderType = try container.decode(String.self, forKey: .orderType) - - } catch DecodingError.typeMismatch(let type, let context) { - print("Type '\(type)' mismatch:", context.debugDescription) - print("codingPath:", context.codingPath) - } catch { - - } - - } public func encode(to encoder: Encoder) throws { @@ -171,11 +153,6 @@ public extension PlatformClient.Order { try? container.encodeIfPresent(locationId, forKey: .locationId) - - - try? container.encodeIfPresent(orderType, forKey: .orderType) - - } } @@ -204,8 +181,6 @@ public extension PlatformClient.ApplicationClient.Order { public var locationId: Int - public var orderType: String? - public enum CodingKeys: String, CodingKey { @@ -221,11 +196,9 @@ public extension PlatformClient.ApplicationClient.Order { case locationId = "location_id" - case orderType = "order_type" - } - public init(externalShipmentId: String? = nil, lineItems: [LineItem], locationId: Int, meta: [String: Any]? = nil, orderType: String? = nil, priority: Int? = nil, processingDates: ProcessingDates? = nil) { + public init(externalShipmentId: String? = nil, lineItems: [LineItem], locationId: Int, meta: [String: Any]? = nil, priority: Int? = nil, processingDates: ProcessingDates? = nil) { self.lineItems = lineItems @@ -239,8 +212,6 @@ public extension PlatformClient.ApplicationClient.Order { self.locationId = locationId - self.orderType = orderType - } required public init(from decoder: Decoder) throws { @@ -304,18 +275,6 @@ public extension PlatformClient.ApplicationClient.Order { - - do { - orderType = try container.decode(String.self, forKey: .orderType) - - } catch DecodingError.typeMismatch(let type, let context) { - print("Type '\(type)' mismatch:", context.debugDescription) - print("codingPath:", context.codingPath) - } catch { - - } - - } public func encode(to encoder: Encoder) throws { @@ -351,11 +310,6 @@ public extension PlatformClient.ApplicationClient.Order { try? container.encodeIfPresent(locationId, forKey: .locationId) - - - try? container.encodeIfPresent(orderType, forKey: .orderType) - - } } diff --git a/Sources/code/platform/Models/Order/ShipmentStatusDataOrderPlatformModel.swift b/Sources/code/platform/Models/Order/ShipmentStatusDataOrderPlatformModel.swift index c0639d1a18..2b955b1bf0 100644 --- a/Sources/code/platform/Models/Order/ShipmentStatusDataOrderPlatformModel.swift +++ b/Sources/code/platform/Models/Order/ShipmentStatusDataOrderPlatformModel.swift @@ -26,8 +26,6 @@ public extension PlatformClient.Order { public var displayName: String? - public var currentShipmentStatus: String? - public enum CodingKeys: String, CodingKey { @@ -45,11 +43,9 @@ public extension PlatformClient.Order { case displayName = "display_name" - case currentShipmentStatus = "current_shipment_status" - } - public init(bagList: [String]? = nil, createdAt: String? = nil, currentShipmentStatus: String? = nil, displayName: String? = nil, id: Int? = nil, meta: [String: Any]? = nil, shipmentId: String? = nil, status: String? = nil) { + public init(bagList: [String]? = nil, createdAt: String? = nil, displayName: String? = nil, id: Int? = nil, meta: [String: Any]? = nil, shipmentId: String? = nil, status: String? = nil) { self.meta = meta @@ -65,8 +61,6 @@ public extension PlatformClient.Order { self.displayName = displayName - self.currentShipmentStatus = currentShipmentStatus - } required public init(from decoder: Decoder) throws { @@ -156,18 +150,6 @@ public extension PlatformClient.Order { } - - do { - currentShipmentStatus = try container.decode(String.self, forKey: .currentShipmentStatus) - - } catch DecodingError.typeMismatch(let type, let context) { - print("Type '\(type)' mismatch:", context.debugDescription) - print("codingPath:", context.codingPath) - } catch { - - } - - } public func encode(to encoder: Encoder) throws { @@ -208,11 +190,6 @@ public extension PlatformClient.Order { try? container.encode(displayName, forKey: .displayName) - - - try? container.encode(currentShipmentStatus, forKey: .currentShipmentStatus) - - } } @@ -243,8 +220,6 @@ public extension PlatformClient.ApplicationClient.Order { public var displayName: String? - public var currentShipmentStatus: String? - public enum CodingKeys: String, CodingKey { @@ -262,11 +237,9 @@ public extension PlatformClient.ApplicationClient.Order { case displayName = "display_name" - case currentShipmentStatus = "current_shipment_status" - } - public init(bagList: [String]? = nil, createdAt: String? = nil, currentShipmentStatus: String? = nil, displayName: String? = nil, id: Int? = nil, meta: [String: Any]? = nil, shipmentId: String? = nil, status: String? = nil) { + public init(bagList: [String]? = nil, createdAt: String? = nil, displayName: String? = nil, id: Int? = nil, meta: [String: Any]? = nil, shipmentId: String? = nil, status: String? = nil) { self.meta = meta @@ -282,8 +255,6 @@ public extension PlatformClient.ApplicationClient.Order { self.displayName = displayName - self.currentShipmentStatus = currentShipmentStatus - } required public init(from decoder: Decoder) throws { @@ -373,18 +344,6 @@ public extension PlatformClient.ApplicationClient.Order { } - - do { - currentShipmentStatus = try container.decode(String.self, forKey: .currentShipmentStatus) - - } catch DecodingError.typeMismatch(let type, let context) { - print("Type '\(type)' mismatch:", context.debugDescription) - print("codingPath:", context.codingPath) - } catch { - - } - - } public func encode(to encoder: Encoder) throws { @@ -425,11 +384,6 @@ public extension PlatformClient.ApplicationClient.Order { try? container.encode(displayName, forKey: .displayName) - - - try? container.encode(currentShipmentStatus, forKey: .currentShipmentStatus) - - } } diff --git a/Sources/code/platform/Models/User/CreateUserRequestSchemaUserPlatformModel.swift b/Sources/code/platform/Models/User/CreateUserRequestSchemaUserPlatformModel.swift index 840fa50d3d..740690e76d 100644 --- a/Sources/code/platform/Models/User/CreateUserRequestSchemaUserPlatformModel.swift +++ b/Sources/code/platform/Models/User/CreateUserRequestSchemaUserPlatformModel.swift @@ -28,6 +28,8 @@ public extension PlatformClient.ApplicationClient.User { public var meta: [String: Any]? + public var externalId: String? + public enum CodingKeys: String, CodingKey { @@ -45,9 +47,11 @@ public extension PlatformClient.ApplicationClient.User { case meta = "meta" + case externalId = "external_id" + } - public init(email: String? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumber: String, username: String) { + public init(email: String? = nil, externalId: String? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumber: String, username: String) { self.phoneNumber = phoneNumber @@ -63,6 +67,8 @@ public extension PlatformClient.ApplicationClient.User { self.meta = meta + self.externalId = externalId + } required public init(from decoder: Decoder) throws { @@ -138,6 +144,18 @@ public extension PlatformClient.ApplicationClient.User { } + + do { + externalId = try container.decode(String.self, forKey: .externalId) + + } catch DecodingError.typeMismatch(let type, let context) { + print("Type '\(type)' mismatch:", context.debugDescription) + print("codingPath:", context.codingPath) + } catch { + + } + + } public func encode(to encoder: Encoder) throws { @@ -178,6 +196,11 @@ public extension PlatformClient.ApplicationClient.User { try? container.encodeIfPresent(meta, forKey: .meta) + + + try? container.encodeIfPresent(externalId, forKey: .externalId) + + } } diff --git a/Sources/code/platform/Models/User/UserSchemaUserPlatformModel.swift b/Sources/code/platform/Models/User/UserSchemaUserPlatformModel.swift index 3f2f6b4280..49da187d04 100644 --- a/Sources/code/platform/Models/User/UserSchemaUserPlatformModel.swift +++ b/Sources/code/platform/Models/User/UserSchemaUserPlatformModel.swift @@ -46,6 +46,8 @@ public extension PlatformClient.ApplicationClient.User { public var updatedAt: String? + public var externalId: String? + public enum CodingKeys: String, CodingKey { @@ -81,9 +83,11 @@ public extension PlatformClient.ApplicationClient.User { case updatedAt = "updated_at" + case externalId = "external_id" + } - public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { + public init(accountType: String? = nil, active: Bool? = nil, applicationId: String? = nil, createdAt: String? = nil, dob: String? = nil, emails: [Email]? = nil, externalId: String? = nil, firstName: String? = nil, gender: String? = nil, lastName: String? = nil, meta: [String: Any]? = nil, phoneNumbers: [PhoneNumber]? = nil, profilePicUrl: String? = nil, updatedAt: String? = nil, username: String? = nil, userId: String? = nil, id: String? = nil) { self.applicationId = applicationId @@ -117,6 +121,8 @@ public extension PlatformClient.ApplicationClient.User { self.updatedAt = updatedAt + self.externalId = externalId + } required public init(from decoder: Decoder) throws { @@ -314,6 +320,18 @@ public extension PlatformClient.ApplicationClient.User { } + + do { + externalId = try container.decode(String.self, forKey: .externalId) + + } catch DecodingError.typeMismatch(let type, let context) { + print("Type '\(type)' mismatch:", context.debugDescription) + print("codingPath:", context.codingPath) + } catch { + + } + + } public func encode(to encoder: Encoder) throws { @@ -399,6 +417,11 @@ public extension PlatformClient.ApplicationClient.User { try? container.encodeIfPresent(updatedAt, forKey: .updatedAt) + + + try? container.encodeIfPresent(externalId, forKey: .externalId) + + } } diff --git a/Sources/code/platform/PlatformAPIClient.swift b/Sources/code/platform/PlatformAPIClient.swift index f4cb031f1b..6a416bd093 100644 --- a/Sources/code/platform/PlatformAPIClient.swift +++ b/Sources/code/platform/PlatformAPIClient.swift @@ -13,7 +13,7 @@ public class PlatformAPIClient { if let token = token { var finalHeaders = headers finalHeaders.append((key: "Authorization", value: "Bearer " + token.accessToken)) - finalHeaders.append((key: "x-fp-sdk-version", value: "1.3.5-beta.2")) + finalHeaders.append((key: "x-fp-sdk-version", value: "1.3.5-beta.3")) finalHeaders.append(contentsOf: config.extraHeaders) if let userAgent = config.userAgent { finalHeaders.append((key: "User-Agent", value: userAgent)) diff --git a/Sources/code/public/PublicAPIClient.swift b/Sources/code/public/PublicAPIClient.swift index 6eb8172dbd..0a421af037 100644 --- a/Sources/code/public/PublicAPIClient.swift +++ b/Sources/code/public/PublicAPIClient.swift @@ -9,7 +9,7 @@ class PublicAPIClient { responseType: String = "application/json", onResponse: @escaping OnResponse) { var headers = [ - (key: "x-fp-sdk-version", value: "1.3.5-beta.2") + (key: "x-fp-sdk-version", value: "1.3.5-beta.3") ] headers.append(contentsOf: extraHeaders) headers.append(contentsOf: config.extraHeaders) diff --git a/documentation/platform/ORDER.md b/documentation/platform/ORDER.md index a819b0a881..3f8be9a8cb 100644 --- a/documentation/platform/ORDER.md +++ b/documentation/platform/ORDER.md @@ -5965,7 +5965,6 @@ We are processing the request! | meta | [String: Any]? | yes | | | priority | Int? | yes | | | locationId | Int | no | | - | orderType | String? | yes | | --- @@ -7940,7 +7939,6 @@ We are processing the request! | shipmentId | String? | yes | | | status | String? | yes | | | displayName | String? | yes | | - | currentShipmentStatus | String? | yes | | --- diff --git a/documentation/platform/USER.md b/documentation/platform/USER.md index 66fce08592..1ec6bc4c5b 100644 --- a/documentation/platform/USER.md +++ b/documentation/platform/USER.md @@ -1727,6 +1727,7 @@ Success. returns updated User Group. `UserGroupResponseSchema` for more details. | gender | String? | yes | | | username | String | no | | | meta | [String: Any]? | yes | | + | externalId | String? | yes | | --- @@ -2132,6 +2133,7 @@ Success. returns updated User Group. `UserGroupResponseSchema` for more details. | id | String? | yes | | | createdAt | String? | yes | | | updatedAt | String? | yes | | + | externalId | String? | yes | | ---