From 4100b8e04fbc93aeeaaa2274cce7eb4c21f3a7d7 Mon Sep 17 00:00:00 2001 From: Jigar Dafda Date: Fri, 29 Nov 2024 06:23:17 +0000 Subject: [PATCH] [Auto Generated] 1.5.1 --- CHANGELOG.md | 496 ++++++++++++++++++ FDKClient.podspec | 2 +- .../application/ApplicationAPIClient.swift | 2 +- Sources/code/platform/PlatformAPIClient.swift | 2 +- Sources/code/public/PublicAPIClient.swift | 2 +- 5 files changed, 500 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa414aa1ef..ab90aceb65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,499 @@ +# CHANGE LOG (1.5.1) - 2.0.0 + +## Application Client + + + +### Cart + + + +#### checkoutCart + +- ##### What's New + - [Added] property successCallbackUrl of schema CartCheckoutDetailCreation in request body + - [Added] property failureCallbackUrl of schema CartCheckoutDetailCreation in request body + + +#### checkoutCartV2 + +- ##### What's New + - [Added] property successCallbackUrl of schema CartCheckoutDetailV2Creation in request body + - [Added] property failureCallbackUrl of schema CartCheckoutDetailV2Creation in request body + + +#### updateCartBreakup + +- ##### What's New + - [Added] method updateCartBreakup + + + +### Content + + + +#### getSlideshows + +- ##### What's Deprecated + - [Breaking] [Deleted] method getSlideshows + + + +#### getSlideshow + +- ##### What's Deprecated + - [Breaking] [Deleted] method getSlideshow + + + +### Logistic + + + +#### getAllCountries + +- ##### What's New + - [Added] property results[].parentId[] of schema CountryEntityResult in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property results[].parentId of schema CountryEntityResult in response with status code 200 + + +#### getLocalities + +- ##### What's New + - [Added] query parameter sector (type: string) + + + +### Payment + + + +#### getPaymentModeRoutes + +- ##### What's New + - [Added] property paymentOptions.paymentOption[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + - [Added] property advancePayment[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + + +#### getPosPaymentModeRoutes + +- ##### What's New + - [Added] property paymentOptions.paymentOption[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + - [Added] property advancePayment[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + + +#### getPaymentModeRoutesPaymentLink + +- ##### What's New + - [Added] property paymentOptions.paymentOption[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + - [Added] property advancePayment[].list[].partialPaymentAllowed of schema PaymentModeList in response with status code 200 + + +#### validateCustomerAndCreditSummary + +- ##### What's New + - [Added] method validateCustomerAndCreditSummary + + + +### Share + + + +#### createShortLink + +- ##### What's Changed + - [Changed] title made optional in request body + + +## Platform Client + + + +### Analytics + + + +#### checkJobStatusByNameV2 + +- ##### What's New + - [Added] Possible nullable value true to property endDate of schema JobStatus in response with status code 200 + + +### AuditTrail + + + +#### createAuditLog + +- ##### What's Deprecated + - [Breaking] [Deleted] Response with status 400 + + +### Cart + + + +#### platformCheckoutCart + +- ##### What's New + - [Added] property successCallbackUrl of schema PlatformCartCheckoutDetailCreation in request body + - [Added] property failureCallbackUrl of schema PlatformCartCheckoutDetailCreation in request body + + +#### platformCheckoutCartV2 + +- ##### What's New + - [Added] property successCallbackUrl of schema PlatformCartCheckoutDetailV2Creation in request body + - [Added] property failureCallbackUrl of schema PlatformCartCheckoutDetailV2Creation in request body + + +### Catalog + + + +#### getAllCollections + +- ##### What's New + - [Added] properties items[].seo.breadcrumbs[].action.page, items[].seo.breadcrumbs[].action.type in response with status code 200 + - [Added] items[].seo.breadcrumbs[].action.type made required in response with status code 200 + +- ##### What's Deprecated + - [Breaking] [Deleted] property items[].seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from array to object of property items[].seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + + +#### createCollection + +- ##### What's New + - [Added] properties seo.breadcrumbs[].action.page, seo.breadcrumbs[].action.type in request body + - [Added] seo.breadcrumbs[].action.type made required in request body + - [Added] properties seo.breadcrumbs[].action.page, seo.breadcrumbs[].action.type in response with status code 200 + - [Added] seo.breadcrumbs[].action.type made required in response with status code 200 + +- ##### What's Deprecated + - [Breaking] [Deleted] property seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in request body + - [Breaking] [Deleted] property seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from array to object of property seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in request body + - [Breaking] [Changed] Type from array to object of property seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + + +#### getCollectionItems + +- ##### What's New + - [Added] properties items[].seo.breadcrumbs[].action.page, items[].seo.breadcrumbs[].action.type in response with status code 200 + - [Added] items[].seo.breadcrumbs[].action.type made required in response with status code 200 + +- ##### What's Deprecated + - [Breaking] [Deleted] property items[].seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from array to object of property items[].seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + + +#### getCollectionDetail + +- ##### What's New + - [Added] properties seo.breadcrumbs[].action.page, seo.breadcrumbs[].action.type in response with status code 200 + - [Added] seo.breadcrumbs[].action.type made required in response with status code 200 + +- ##### What's Deprecated + - [Breaking] [Deleted] property seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from array to object of property seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + + +#### getApplicationProducts + +- ##### What's New + - [Added] properties items[].seo.breadcrumbs[].action.page, items[].seo.breadcrumbs[].action.type in response with status code 200 + - [Added] items[].seo.breadcrumbs[].action.type made required in response with status code 200 + +- ##### What's Deprecated + - [Breaking] [Deleted] property items[].seo.breadcrumbs[].action[] of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from array to object of property items[].seo.breadcrumbs[].action of schema ApplicationItemSeoBreadcrumbs in response with status code 200 + + +#### validateProductGlobalTemplate + +- ##### What's New + - [Added] method validateProductGlobalTemplate + + + +#### updateLocationPrice + +- ##### What's New + - [Added] method updateLocationPrice + + + +#### updateLocationQuantity + +- ##### What's New + - [Added] method updateLocationQuantity + + + +### Content + + + +#### getSlideshows + +- ##### What's Deprecated + - [Breaking] [Deleted] method getSlideshows + + + +#### createSlideshow + +- ##### What's Deprecated + - [Breaking] [Deleted] method createSlideshow + + + +#### getSlideshowBySlug + +- ##### What's Deprecated + - [Breaking] [Deleted] method getSlideshowBySlug + + + +#### updateSlideshow + +- ##### What's Deprecated + - [Breaking] [Deleted] method updateSlideshow + + + +#### deleteSlideshow + +- ##### What's Deprecated + - [Breaking] [Deleted] method deleteSlideshow + + + +### Serviceability + + + +#### createCourierPartnerAccount + +- ##### What's New + - [Added] property schemeRules.feature.qcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + - [Added] property schemeRules.feature.nonQcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + + +#### getCourierPartnerAccounts + +- ##### What's New + - [Added] property items[].schemeRules.feature.qcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + - [Added] property items[].schemeRules.feature.nonQcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + + +#### updateCourierPartnerAccount + +- ##### What's New + - [Added] property schemeRules.feature.qcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + - [Added] property schemeRules.feature.nonQcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + + +#### getCourierPartnerAccount + +- ##### What's New + - [Added] property schemeRules.feature.qcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + - [Added] property schemeRules.feature.nonQcShipmentItemQuantity of schema CourierPartnerSchemeFeatures in response with status code 200 + + +#### updateCourierRule + +- ##### What's New + - [Added] property conditions.forward.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.reverse.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.forward.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + - [Added] property conditions.reverse.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.forward.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.reverse.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.forward.includes[].parentId of schema LocationRuleValues in response with status code 200 + - [Breaking] [Changed] Type from string to array of property conditions.reverse.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### getCourierPartnerRule + +- ##### What's New + - [Added] property conditions.forward.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + - [Added] property conditions.reverse.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.forward.includes[].parentId of schema LocationRuleValues in response with status code 200 + - [Breaking] [Changed] Type from string to array of property conditions.reverse.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### createCourierPartnerRule + +- ##### What's New + - [Added] property conditions.forward.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.reverse.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.forward.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + - [Added] property conditions.reverse.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.forward.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.reverse.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.forward.includes[].parentId of schema LocationRuleValues in response with status code 200 + - [Breaking] [Changed] Type from string to array of property conditions.reverse.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### getCourierPartnerRules + +- ##### What's New + - [Added] property items[].conditions.forward.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + - [Added] property items[].conditions.reverse.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property items[].conditions.forward.includes[].parentId of schema LocationRuleValues in response with status code 200 + - [Breaking] [Changed] Type from string to array of property items[].conditions.reverse.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### getStoreRules + +- ##### What's New + - [Added] property items[].conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property items[].conditions.toLocation.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### createStoreRules + +- ##### What's New + - [Added] property conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.toLocation.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.toLocation.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### getStoreRule + +- ##### What's New + - [Added] property conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.toLocation.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### updateStoreRules + +- ##### What's New + - [Added] property conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in request body + - [Added] property conditions.toLocation.includes[].parentId[] of schema LocationRuleValues in response with status code 200 + +- ##### What's Changed + - [Breaking] [Changed] Type from string to array of property conditions.toLocation.includes[].parentId of schema LocationRuleValues in request body + - [Breaking] [Changed] Type from string to array of property conditions.toLocation.includes[].parentId of schema LocationRuleValues in response with status code 200 + + +#### getServiceability + +- ##### What's New + - [Added] property isReversePickup of schema ServiceabilityModel in response with status code 200 + + +#### updateServiceability + +- ##### What's New + - [Added] property isReversePickup of schema ServiceabilityModel in request body + - [Added] property isReversePickup of schema ServiceabilityModel in response with status code 200 + + +#### createCourierPartnerScheme + +- ##### What's New + - [Added] method createCourierPartnerScheme + + + +#### getCourierPartnerSchemes + +- ##### What's New + - [Added] method getCourierPartnerSchemes + + + +#### updateCourierPartnerScheme + +- ##### What's New + - [Added] method updateCourierPartnerScheme + + + +#### getCourierPartnerScheme + +- ##### What's New + - [Added] method getCourierPartnerScheme + + + +#### sampleFileServiceability + +- ##### What's New + - [Added] method sampleFileServiceability + + + +#### getSampleFileServiceabilityStatus + +- ##### What's New + - [Added] method getSampleFileServiceabilityStatus + + + +#### getCountries + +- ##### What's New + - [Added] method getCountries + + + +### Order + + + +#### downloadLanesReport + +- ##### What's New + - [Added] property filters of schema BulkReportsDownloadRequestSchema in request body + + +#### getShipments + +- ##### What's New + - [Added] query parameter fulfillmentType (type: string) + + + +#### getOrders + +- ##### What's New + - [Added] query parameter fulfillmentType (type: string) + + + # CHANGE LOG (1.5.0) - 2.0.0 ## Application Client diff --git a/FDKClient.podspec b/FDKClient.podspec index 8e5cab406e..13d2d2023e 100644 --- a/FDKClient.podspec +++ b/FDKClient.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'FDKClient' - s.version = '1.5.0' + s.version = '1.5.1' 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 82294932ba..34263dcb3b 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.5.0")) + headers.append((key: "x-fp-sdk-version", value: "1.5.1")) headers.append(contentsOf: config.extraHeaders) if let userAgent = config.userAgent { headers.append((key: "User-Agent", value: userAgent)) diff --git a/Sources/code/platform/PlatformAPIClient.swift b/Sources/code/platform/PlatformAPIClient.swift index 18b53f4e7b..2f5904ec3c 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 = [(key: String, value: String)]() finalHeaders.append((key: "Authorization", value: "Bearer " + token.accessToken)) - finalHeaders.append((key: "x-fp-sdk-version", value: "1.5.0")) + finalHeaders.append((key: "x-fp-sdk-version", value: "1.5.1")) 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 297b0aa5af..627ca95afc 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.5.0") + (key: "x-fp-sdk-version", value: "1.5.1") ] headers.append(contentsOf: extraHeaders) headers.append(contentsOf: config.extraHeaders)