@gofynd/fdk-client-javascript 3.17.0 → 3.17.1
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +40 -0
- package/sdk/application/Cart/CartApplicationClient.js +176 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +18 -4
- package/sdk/application/Catalog/CatalogApplicationClient.js +47 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +11 -1
- package/sdk/application/Content/ContentApplicationClient.js +40 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.js +2 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +72 -10
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +634 -33
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +225 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +147 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +951 -1
- package/sdk/platform/Cart/CartPlatformModel.js +597 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +123 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +829 -39
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +205 -7
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +154 -3
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformClient.js +8 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1020 -29
- package/sdk/platform/Catalog/CatalogPlatformModel.js +836 -24
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +7 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +3 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +92 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +54 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +21 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +9 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformClient.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +20 -2
- package/sdk/platform/Order/OrderPlatformModel.js +9 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +14 -3
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +88 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +28 -3
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +22 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +356 -1
- package/sdk/platform/Payment/PaymentPlatformModel.js +229 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +29 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +13 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +29 -0
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -0
|
@@ -365,6 +365,8 @@ export = CatalogPlatformValidator;
|
|
|
365
365
|
* @typedef GetTaxVersionDetailsParam
|
|
366
366
|
* @property {string} ruleId - The ID of the tax rule.
|
|
367
367
|
* @property {string} [versionStatus] - Filter by tax version status.
|
|
368
|
+
* @property {string} [q] - Case-insensitive search by region name (e.g., "raj",
|
|
369
|
+
* "New York") to find matching tax versions.
|
|
368
370
|
* @property {string} [limit] - The number of items to return per page for
|
|
369
371
|
* paginated past versions.
|
|
370
372
|
* @property {string} [page] - The page number for paginated past versions.
|
|
@@ -1395,6 +1397,11 @@ type GetTaxVersionDetailsParam = {
|
|
|
1395
1397
|
* - Filter by tax version status.
|
|
1396
1398
|
*/
|
|
1397
1399
|
versionStatus?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* - Case-insensitive search by region name (e.g., "raj",
|
|
1402
|
+
* "New York") to find matching tax versions.
|
|
1403
|
+
*/
|
|
1404
|
+
q?: string;
|
|
1398
1405
|
/**
|
|
1399
1406
|
* - The number of items to return per page for
|
|
1400
1407
|
* paginated past versions.
|
|
@@ -429,6 +429,8 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
429
429
|
* @typedef GetTaxVersionDetailsParam
|
|
430
430
|
* @property {string} ruleId - The ID of the tax rule.
|
|
431
431
|
* @property {string} [versionStatus] - Filter by tax version status.
|
|
432
|
+
* @property {string} [q] - Case-insensitive search by region name (e.g., "raj",
|
|
433
|
+
* "New York") to find matching tax versions.
|
|
432
434
|
* @property {string} [limit] - The number of items to return per page for
|
|
433
435
|
* paginated past versions.
|
|
434
436
|
* @property {string} [page] - The page number for paginated past versions.
|
|
@@ -1124,6 +1126,7 @@ class CatalogPlatformValidator {
|
|
|
1124
1126
|
return Joi.object({
|
|
1125
1127
|
ruleId: Joi.string().allow("").required(),
|
|
1126
1128
|
versionStatus: Joi.string().allow(""),
|
|
1129
|
+
q: Joi.string().allow(""),
|
|
1127
1130
|
limit: Joi.string().allow(""),
|
|
1128
1131
|
page: Joi.string().allow(""),
|
|
1129
1132
|
}).required();
|
|
@@ -86,6 +86,14 @@ export = ConfigurationPlatformModel;
|
|
|
86
86
|
* @property {InventoryCategory} [category]
|
|
87
87
|
* @property {InventoryPrice} [price]
|
|
88
88
|
* @property {InventoryDiscount} [discount]
|
|
89
|
+
* @property {string} [price_strategy] - Indicates whether price strategy
|
|
90
|
+
* enabled or not in an application.
|
|
91
|
+
* @property {boolean} [international] - Indicates whether internation price
|
|
92
|
+
* factory enabled or not in an application.
|
|
93
|
+
* @property {boolean} [strategy_change_pending] - Indicates whether price
|
|
94
|
+
* strategy change is pending or not in an application.
|
|
95
|
+
* @property {string} [strategy_modified_at] - ISO 8601 timestamp of last known
|
|
96
|
+
* modifications to the sales channel feature configuration
|
|
89
97
|
* @property {boolean} [out_of_stock] - Indicates whether out of stock products
|
|
90
98
|
* are allowed to show up on the website
|
|
91
99
|
* @property {boolean} [only_verified_products] - Show only verified products
|
|
@@ -917,8 +925,17 @@ export = ConfigurationPlatformModel;
|
|
|
917
925
|
* @property {QrFeature} [qr]
|
|
918
926
|
* @property {PcrFeature} [pcr]
|
|
919
927
|
* @property {OrderFeature} [order]
|
|
928
|
+
* @property {SecurityFeature} [security]
|
|
920
929
|
* @property {BuyboxFeature} [buybox]
|
|
921
930
|
* @property {DeliveryStrategy} [delivery_strategy]
|
|
931
|
+
* @property {string} [price_strategy] - Indicates whether price strategy
|
|
932
|
+
* enabled or not in an application.
|
|
933
|
+
* @property {boolean} [international] - Indicates whether internation price
|
|
934
|
+
* factory enabled or not in an application.
|
|
935
|
+
* @property {boolean} [strategy_change_pending] - Indicates whether price
|
|
936
|
+
* strategy change is pending or not in an application.
|
|
937
|
+
* @property {string} [strategy_modified_at] - ISO 8601 timestamp of last known
|
|
938
|
+
* modifications to the sales channel feature configuration
|
|
922
939
|
* @property {FulfillmentOption} [fulfillment_option]
|
|
923
940
|
* @property {string} [_id] - The unique identifier for the sales channel features
|
|
924
941
|
* @property {string} [app] - Application ID of the sales channel
|
|
@@ -1022,6 +1039,17 @@ export = ConfigurationPlatformModel;
|
|
|
1022
1039
|
* @property {boolean} [buy_again] - Allow buy again option for order. Default
|
|
1023
1040
|
* value is false.
|
|
1024
1041
|
*/
|
|
1042
|
+
/**
|
|
1043
|
+
* @typedef SecurityFeature
|
|
1044
|
+
* @property {AllowedDomain[]} [domains] - List of allowed domains for security
|
|
1045
|
+
* restrictions.
|
|
1046
|
+
*/
|
|
1047
|
+
/**
|
|
1048
|
+
* @typedef AllowedDomain
|
|
1049
|
+
* @property {string} host - The host URL for the allowed domain.
|
|
1050
|
+
* @property {string} [url_scheme] - The protocol/scheme to use for the domain.
|
|
1051
|
+
* Default is https.
|
|
1052
|
+
*/
|
|
1025
1053
|
/**
|
|
1026
1054
|
* @typedef AppFeatureRequestSchema
|
|
1027
1055
|
* @property {AppFeature} [feature]
|
|
@@ -1415,7 +1443,7 @@ export = ConfigurationPlatformModel;
|
|
|
1415
1443
|
declare class ConfigurationPlatformModel {
|
|
1416
1444
|
}
|
|
1417
1445
|
declare namespace ConfigurationPlatformModel {
|
|
1418
|
-
export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, SkgIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, BuyboxFeature, DeliveryStrategy, FulfillmentOption, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
|
|
1446
|
+
export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, SkgIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, BuyboxFeature, DeliveryStrategy, FulfillmentOption, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, SecurityFeature, AllowedDomain, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
|
|
1419
1447
|
}
|
|
1420
1448
|
/** @returns {CurrencyExchangeResponseV2} */
|
|
1421
1449
|
declare function CurrencyExchangeResponseV2(): CurrencyExchangeResponseV2;
|
|
@@ -1585,6 +1613,26 @@ type AppInventoryConfig = {
|
|
|
1585
1613
|
category?: InventoryCategory;
|
|
1586
1614
|
price?: InventoryPrice;
|
|
1587
1615
|
discount?: InventoryDiscount;
|
|
1616
|
+
/**
|
|
1617
|
+
* - Indicates whether price strategy
|
|
1618
|
+
* enabled or not in an application.
|
|
1619
|
+
*/
|
|
1620
|
+
price_strategy?: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* - Indicates whether internation price
|
|
1623
|
+
* factory enabled or not in an application.
|
|
1624
|
+
*/
|
|
1625
|
+
international?: boolean;
|
|
1626
|
+
/**
|
|
1627
|
+
* - Indicates whether price
|
|
1628
|
+
* strategy change is pending or not in an application.
|
|
1629
|
+
*/
|
|
1630
|
+
strategy_change_pending?: boolean;
|
|
1631
|
+
/**
|
|
1632
|
+
* - ISO 8601 timestamp of last known
|
|
1633
|
+
* modifications to the sales channel feature configuration
|
|
1634
|
+
*/
|
|
1635
|
+
strategy_modified_at?: string;
|
|
1588
1636
|
/**
|
|
1589
1637
|
* - Indicates whether out of stock products
|
|
1590
1638
|
* are allowed to show up on the website
|
|
@@ -3253,8 +3301,29 @@ type AppFeature = {
|
|
|
3253
3301
|
qr?: QrFeature;
|
|
3254
3302
|
pcr?: PcrFeature;
|
|
3255
3303
|
order?: OrderFeature;
|
|
3304
|
+
security?: SecurityFeature;
|
|
3256
3305
|
buybox?: BuyboxFeature;
|
|
3257
3306
|
delivery_strategy?: DeliveryStrategy;
|
|
3307
|
+
/**
|
|
3308
|
+
* - Indicates whether price strategy
|
|
3309
|
+
* enabled or not in an application.
|
|
3310
|
+
*/
|
|
3311
|
+
price_strategy?: string;
|
|
3312
|
+
/**
|
|
3313
|
+
* - Indicates whether internation price
|
|
3314
|
+
* factory enabled or not in an application.
|
|
3315
|
+
*/
|
|
3316
|
+
international?: boolean;
|
|
3317
|
+
/**
|
|
3318
|
+
* - Indicates whether price
|
|
3319
|
+
* strategy change is pending or not in an application.
|
|
3320
|
+
*/
|
|
3321
|
+
strategy_change_pending?: boolean;
|
|
3322
|
+
/**
|
|
3323
|
+
* - ISO 8601 timestamp of last known
|
|
3324
|
+
* modifications to the sales channel feature configuration
|
|
3325
|
+
*/
|
|
3326
|
+
strategy_modified_at?: string;
|
|
3258
3327
|
fulfillment_option?: FulfillmentOption;
|
|
3259
3328
|
/**
|
|
3260
3329
|
* - The unique identifier for the sales channel features
|
|
@@ -3456,6 +3525,28 @@ type OrderFeature = {
|
|
|
3456
3525
|
*/
|
|
3457
3526
|
buy_again?: boolean;
|
|
3458
3527
|
};
|
|
3528
|
+
/** @returns {SecurityFeature} */
|
|
3529
|
+
declare function SecurityFeature(): SecurityFeature;
|
|
3530
|
+
type SecurityFeature = {
|
|
3531
|
+
/**
|
|
3532
|
+
* - List of allowed domains for security
|
|
3533
|
+
* restrictions.
|
|
3534
|
+
*/
|
|
3535
|
+
domains?: AllowedDomain[];
|
|
3536
|
+
};
|
|
3537
|
+
/** @returns {AllowedDomain} */
|
|
3538
|
+
declare function AllowedDomain(): AllowedDomain;
|
|
3539
|
+
type AllowedDomain = {
|
|
3540
|
+
/**
|
|
3541
|
+
* - The host URL for the allowed domain.
|
|
3542
|
+
*/
|
|
3543
|
+
host: string;
|
|
3544
|
+
/**
|
|
3545
|
+
* - The protocol/scheme to use for the domain.
|
|
3546
|
+
* Default is https.
|
|
3547
|
+
*/
|
|
3548
|
+
url_scheme?: string;
|
|
3549
|
+
};
|
|
3459
3550
|
/** @returns {AppFeatureRequestSchema} */
|
|
3460
3551
|
declare function AppFeatureRequestSchema(): AppFeatureRequestSchema;
|
|
3461
3552
|
type AppFeatureRequestSchema = {
|
|
@@ -95,6 +95,14 @@ const Joi = require("joi");
|
|
|
95
95
|
* @property {InventoryCategory} [category]
|
|
96
96
|
* @property {InventoryPrice} [price]
|
|
97
97
|
* @property {InventoryDiscount} [discount]
|
|
98
|
+
* @property {string} [price_strategy] - Indicates whether price strategy
|
|
99
|
+
* enabled or not in an application.
|
|
100
|
+
* @property {boolean} [international] - Indicates whether internation price
|
|
101
|
+
* factory enabled or not in an application.
|
|
102
|
+
* @property {boolean} [strategy_change_pending] - Indicates whether price
|
|
103
|
+
* strategy change is pending or not in an application.
|
|
104
|
+
* @property {string} [strategy_modified_at] - ISO 8601 timestamp of last known
|
|
105
|
+
* modifications to the sales channel feature configuration
|
|
98
106
|
* @property {boolean} [out_of_stock] - Indicates whether out of stock products
|
|
99
107
|
* are allowed to show up on the website
|
|
100
108
|
* @property {boolean} [only_verified_products] - Show only verified products
|
|
@@ -1040,8 +1048,17 @@ const Joi = require("joi");
|
|
|
1040
1048
|
* @property {QrFeature} [qr]
|
|
1041
1049
|
* @property {PcrFeature} [pcr]
|
|
1042
1050
|
* @property {OrderFeature} [order]
|
|
1051
|
+
* @property {SecurityFeature} [security]
|
|
1043
1052
|
* @property {BuyboxFeature} [buybox]
|
|
1044
1053
|
* @property {DeliveryStrategy} [delivery_strategy]
|
|
1054
|
+
* @property {string} [price_strategy] - Indicates whether price strategy
|
|
1055
|
+
* enabled or not in an application.
|
|
1056
|
+
* @property {boolean} [international] - Indicates whether internation price
|
|
1057
|
+
* factory enabled or not in an application.
|
|
1058
|
+
* @property {boolean} [strategy_change_pending] - Indicates whether price
|
|
1059
|
+
* strategy change is pending or not in an application.
|
|
1060
|
+
* @property {string} [strategy_modified_at] - ISO 8601 timestamp of last known
|
|
1061
|
+
* modifications to the sales channel feature configuration
|
|
1045
1062
|
* @property {FulfillmentOption} [fulfillment_option]
|
|
1046
1063
|
* @property {string} [_id] - The unique identifier for the sales channel features
|
|
1047
1064
|
* @property {string} [app] - Application ID of the sales channel
|
|
@@ -1160,6 +1177,19 @@ const Joi = require("joi");
|
|
|
1160
1177
|
* value is false.
|
|
1161
1178
|
*/
|
|
1162
1179
|
|
|
1180
|
+
/**
|
|
1181
|
+
* @typedef SecurityFeature
|
|
1182
|
+
* @property {AllowedDomain[]} [domains] - List of allowed domains for security
|
|
1183
|
+
* restrictions.
|
|
1184
|
+
*/
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* @typedef AllowedDomain
|
|
1188
|
+
* @property {string} host - The host URL for the allowed domain.
|
|
1189
|
+
* @property {string} [url_scheme] - The protocol/scheme to use for the domain.
|
|
1190
|
+
* Default is https.
|
|
1191
|
+
*/
|
|
1192
|
+
|
|
1163
1193
|
/**
|
|
1164
1194
|
* @typedef AppFeatureRequestSchema
|
|
1165
1195
|
* @property {AppFeature} [feature]
|
|
@@ -1697,6 +1727,10 @@ class ConfigurationPlatformModel {
|
|
|
1697
1727
|
category: ConfigurationPlatformModel.InventoryCategory(),
|
|
1698
1728
|
price: ConfigurationPlatformModel.InventoryPrice(),
|
|
1699
1729
|
discount: ConfigurationPlatformModel.InventoryDiscount(),
|
|
1730
|
+
price_strategy: Joi.string().allow(""),
|
|
1731
|
+
international: Joi.boolean(),
|
|
1732
|
+
strategy_change_pending: Joi.boolean(),
|
|
1733
|
+
strategy_modified_at: Joi.string().allow(""),
|
|
1700
1734
|
out_of_stock: Joi.boolean(),
|
|
1701
1735
|
only_verified_products: Joi.boolean(),
|
|
1702
1736
|
franchise_enabled: Joi.boolean(),
|
|
@@ -2755,8 +2789,13 @@ class ConfigurationPlatformModel {
|
|
|
2755
2789
|
qr: ConfigurationPlatformModel.QrFeature(),
|
|
2756
2790
|
pcr: ConfigurationPlatformModel.PcrFeature(),
|
|
2757
2791
|
order: ConfigurationPlatformModel.OrderFeature(),
|
|
2792
|
+
security: ConfigurationPlatformModel.SecurityFeature(),
|
|
2758
2793
|
buybox: ConfigurationPlatformModel.BuyboxFeature(),
|
|
2759
2794
|
delivery_strategy: ConfigurationPlatformModel.DeliveryStrategy(),
|
|
2795
|
+
price_strategy: Joi.string().allow(""),
|
|
2796
|
+
international: Joi.boolean(),
|
|
2797
|
+
strategy_change_pending: Joi.boolean(),
|
|
2798
|
+
strategy_modified_at: Joi.string().allow(""),
|
|
2760
2799
|
fulfillment_option: ConfigurationPlatformModel.FulfillmentOption(),
|
|
2761
2800
|
_id: Joi.string().allow(""),
|
|
2762
2801
|
app: Joi.string().allow(""),
|
|
@@ -2883,6 +2922,21 @@ class ConfigurationPlatformModel {
|
|
|
2883
2922
|
});
|
|
2884
2923
|
}
|
|
2885
2924
|
|
|
2925
|
+
/** @returns {SecurityFeature} */
|
|
2926
|
+
static SecurityFeature() {
|
|
2927
|
+
return Joi.object({
|
|
2928
|
+
domains: Joi.array().items(ConfigurationPlatformModel.AllowedDomain()),
|
|
2929
|
+
});
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
/** @returns {AllowedDomain} */
|
|
2933
|
+
static AllowedDomain() {
|
|
2934
|
+
return Joi.object({
|
|
2935
|
+
host: Joi.string().allow("").required(),
|
|
2936
|
+
url_scheme: Joi.string().allow(""),
|
|
2937
|
+
});
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2886
2940
|
/** @returns {AppFeatureRequestSchema} */
|
|
2887
2941
|
static AppFeatureRequestSchema() {
|
|
2888
2942
|
return Joi.object({
|
|
@@ -20,6 +20,8 @@ export = DiscountPlatformModel;
|
|
|
20
20
|
* @property {number[]} [brand_ids] - List of brand IDs associated with the discount.
|
|
21
21
|
* @property {number[]} [store_ids] - List of store IDs associated with the discount.
|
|
22
22
|
* @property {string[]} [zone_ids] - List of zone IDs associated with the discount.
|
|
23
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
24
|
+
* associated with the discount.
|
|
23
25
|
* @property {ValidityObject} validity
|
|
24
26
|
* @property {DiscountMeta} [discount_meta]
|
|
25
27
|
*/
|
|
@@ -48,6 +50,8 @@ export = DiscountPlatformModel;
|
|
|
48
50
|
* @property {number[]} [brand_ids] - List of brand IDs associated with the discount job.
|
|
49
51
|
* @property {number[]} [store_ids] - List of store IDs associated with the discount job.
|
|
50
52
|
* @property {string[]} [zone_ids] - List of zone IDs associated with the discount job.
|
|
53
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
54
|
+
* associated with the discount.
|
|
51
55
|
* @property {DiscountMeta} [discount_meta]
|
|
52
56
|
* @property {ValidityObject} validity
|
|
53
57
|
* @property {string} created_on - The date and time when the discount job was created.
|
|
@@ -129,6 +133,8 @@ export = DiscountPlatformModel;
|
|
|
129
133
|
* @property {string} [file_path] - Path to the disocunt file.
|
|
130
134
|
* @property {number[]} [brand_ids] - List of brand identifiers.
|
|
131
135
|
* @property {number[]} [store_ids] - List of store identifiers.
|
|
136
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
137
|
+
* associated with the discount.
|
|
132
138
|
* @property {ValidityObject} validity
|
|
133
139
|
* @property {Object} [meta] - Additional metadata for the disocunt.
|
|
134
140
|
*/
|
|
@@ -244,6 +250,11 @@ type CreateUpdateDiscount = {
|
|
|
244
250
|
* - List of zone IDs associated with the discount.
|
|
245
251
|
*/
|
|
246
252
|
zone_ids?: string[];
|
|
253
|
+
/**
|
|
254
|
+
* - List of price_factory IDs
|
|
255
|
+
* associated with the discount.
|
|
256
|
+
*/
|
|
257
|
+
price_factory_ids?: string[];
|
|
247
258
|
validity: ValidityObject;
|
|
248
259
|
discount_meta?: DiscountMeta;
|
|
249
260
|
};
|
|
@@ -322,6 +333,11 @@ type DiscountJob = {
|
|
|
322
333
|
* - List of zone IDs associated with the discount job.
|
|
323
334
|
*/
|
|
324
335
|
zone_ids?: string[];
|
|
336
|
+
/**
|
|
337
|
+
* - List of price_factory IDs
|
|
338
|
+
* associated with the discount.
|
|
339
|
+
*/
|
|
340
|
+
price_factory_ids?: string[];
|
|
325
341
|
discount_meta?: DiscountMeta;
|
|
326
342
|
validity: ValidityObject;
|
|
327
343
|
/**
|
|
@@ -559,6 +575,11 @@ type FileJobRequestSchema = {
|
|
|
559
575
|
* - List of store identifiers.
|
|
560
576
|
*/
|
|
561
577
|
store_ids?: number[];
|
|
578
|
+
/**
|
|
579
|
+
* - List of price_factory IDs
|
|
580
|
+
* associated with the discount.
|
|
581
|
+
*/
|
|
582
|
+
price_factory_ids?: string[];
|
|
562
583
|
validity: ValidityObject;
|
|
563
584
|
/**
|
|
564
585
|
* - Additional metadata for the disocunt.
|
|
@@ -22,6 +22,8 @@ const Joi = require("joi");
|
|
|
22
22
|
* @property {number[]} [brand_ids] - List of brand IDs associated with the discount.
|
|
23
23
|
* @property {number[]} [store_ids] - List of store IDs associated with the discount.
|
|
24
24
|
* @property {string[]} [zone_ids] - List of zone IDs associated with the discount.
|
|
25
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
26
|
+
* associated with the discount.
|
|
25
27
|
* @property {ValidityObject} validity
|
|
26
28
|
* @property {DiscountMeta} [discount_meta]
|
|
27
29
|
*/
|
|
@@ -52,6 +54,8 @@ const Joi = require("joi");
|
|
|
52
54
|
* @property {number[]} [brand_ids] - List of brand IDs associated with the discount job.
|
|
53
55
|
* @property {number[]} [store_ids] - List of store IDs associated with the discount job.
|
|
54
56
|
* @property {string[]} [zone_ids] - List of zone IDs associated with the discount job.
|
|
57
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
58
|
+
* associated with the discount.
|
|
55
59
|
* @property {DiscountMeta} [discount_meta]
|
|
56
60
|
* @property {ValidityObject} validity
|
|
57
61
|
* @property {string} created_on - The date and time when the discount job was created.
|
|
@@ -139,6 +143,8 @@ const Joi = require("joi");
|
|
|
139
143
|
* @property {string} [file_path] - Path to the disocunt file.
|
|
140
144
|
* @property {number[]} [brand_ids] - List of brand identifiers.
|
|
141
145
|
* @property {number[]} [store_ids] - List of store identifiers.
|
|
146
|
+
* @property {string[]} [price_factory_ids] - List of price_factory IDs
|
|
147
|
+
* associated with the discount.
|
|
142
148
|
* @property {ValidityObject} validity
|
|
143
149
|
* @property {Object} [meta] - Additional metadata for the disocunt.
|
|
144
150
|
*/
|
|
@@ -214,6 +220,7 @@ class DiscountPlatformModel {
|
|
|
214
220
|
brand_ids: Joi.array().items(Joi.number()),
|
|
215
221
|
store_ids: Joi.array().items(Joi.number()),
|
|
216
222
|
zone_ids: Joi.array().items(Joi.string().allow("")),
|
|
223
|
+
price_factory_ids: Joi.array().items(Joi.string().allow("")),
|
|
217
224
|
validity: DiscountPlatformModel.ValidityObject().required(),
|
|
218
225
|
discount_meta: DiscountPlatformModel.DiscountMeta(),
|
|
219
226
|
});
|
|
@@ -244,6 +251,7 @@ class DiscountPlatformModel {
|
|
|
244
251
|
brand_ids: Joi.array().items(Joi.number()),
|
|
245
252
|
store_ids: Joi.array().items(Joi.number()),
|
|
246
253
|
zone_ids: Joi.array().items(Joi.string().allow("")),
|
|
254
|
+
price_factory_ids: Joi.array().items(Joi.string().allow("")),
|
|
247
255
|
discount_meta: DiscountPlatformModel.DiscountMeta(),
|
|
248
256
|
validity: DiscountPlatformModel.ValidityObject().required(),
|
|
249
257
|
created_on: Joi.string().allow("").required(),
|
|
@@ -344,6 +352,7 @@ class DiscountPlatformModel {
|
|
|
344
352
|
file_path: Joi.string().allow(""),
|
|
345
353
|
brand_ids: Joi.array().items(Joi.number()),
|
|
346
354
|
store_ids: Joi.array().items(Joi.number()),
|
|
355
|
+
price_factory_ids: Joi.array().items(Joi.string().allow("")),
|
|
347
356
|
validity: DiscountPlatformModel.ValidityObject().required(),
|
|
348
357
|
meta: Joi.object().pattern(/\S/, Joi.any()),
|
|
349
358
|
});
|
|
@@ -866,7 +866,7 @@ declare class Order {
|
|
|
866
866
|
*
|
|
867
867
|
* @name updateShipmentStatus
|
|
868
868
|
* @summary: Update a shipment's status
|
|
869
|
-
* @description: It is used for updating the shipment in the following scenarios: Full Confirmation, Partial Confirmation, Change the status of a shipment, Full Cancellation, Partial Cancellation, Assign the shipment to DP. Click <a href='/commerce/miscellaneous/updateShipmentStatus'>here</a> to get the
|
|
869
|
+
* @description: It is used for updating the shipment in the following scenarios: Full Confirmation, Partial Confirmation, Change the status of a shipment, Full Cancellation, Partial Cancellation, Assign the shipment to DP. Click <a href='/commerce/miscellaneous/updateShipmentStatus'>here</a> to get the use case details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updateShipmentStatus/).
|
|
870
870
|
*/
|
|
871
871
|
updateShipmentStatus({ body, requestHeaders }?: OrderPlatformValidator.UpdateShipmentStatusParam, { responseHeaders }?: object): Promise<OrderPlatformModel.UpdateShipmentStatusResponseBody>;
|
|
872
872
|
/**
|
|
@@ -5765,7 +5765,7 @@ class Order {
|
|
|
5765
5765
|
*
|
|
5766
5766
|
* @name updateShipmentStatus
|
|
5767
5767
|
* @summary: Update a shipment's status
|
|
5768
|
-
* @description: It is used for updating the shipment in the following scenarios: Full Confirmation, Partial Confirmation, Change the status of a shipment, Full Cancellation, Partial Cancellation, Assign the shipment to DP. Click <a href='/commerce/miscellaneous/updateShipmentStatus'>here</a> to get the
|
|
5768
|
+
* @description: It is used for updating the shipment in the following scenarios: Full Confirmation, Partial Confirmation, Change the status of a shipment, Full Cancellation, Partial Cancellation, Assign the shipment to DP. Click <a href='/commerce/miscellaneous/updateShipmentStatus'>here</a> to get the use case details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/order/updateShipmentStatus/).
|
|
5769
5769
|
*/
|
|
5770
5770
|
async updateShipmentStatus(
|
|
5771
5771
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -382,7 +382,9 @@ export = OrderPlatformModel;
|
|
|
382
382
|
*/
|
|
383
383
|
/**
|
|
384
384
|
* @typedef StatuesRequestSchema
|
|
385
|
-
* @property {string} [status] - The new status to be assigned to
|
|
385
|
+
* @property {string} [status] - The new status to be assigned to a shipment.
|
|
386
|
+
* Also, refer to the <a href='/commerce/getting-started/oms-states/'>OMS
|
|
387
|
+
* States</a> for the complete status list.
|
|
386
388
|
* @property {ShipmentsRequestSchema[]} [shipments] - A list of shipments to
|
|
387
389
|
* which the new status will be applied.
|
|
388
390
|
* @property {string} [exclude_bags_next_state] - Specifies the state to which
|
|
@@ -2852,6 +2854,8 @@ export = OrderPlatformModel;
|
|
|
2852
2854
|
* @property {string} [external_shipment_id] - Unique identifier for the
|
|
2853
2855
|
* shipment as assigned by an external system. Use this to map the external ID
|
|
2854
2856
|
* to Fynd's generated ID.
|
|
2857
|
+
* @property {string} [invoice_id] - Indicates whether the order was created in
|
|
2858
|
+
* offline mode. Used to enable offline-specific processing and sync behavior.
|
|
2855
2859
|
* @property {LineItemSchema[]} [line_items] - A list of items included in the shipment.
|
|
2856
2860
|
* @property {OrderFulfillmentTimelineSchema} [order_fulfillment_timeline]
|
|
2857
2861
|
* @property {number} [location_id] - The location ID from which this shipment
|
|
@@ -3041,6 +3045,8 @@ export = OrderPlatformModel;
|
|
|
3041
3045
|
* placed. Required when the order is placed from one company but fulfilled by another.
|
|
3042
3046
|
* @property {boolean} [is_draft] - Indicates whether the order is a draft.
|
|
3043
3047
|
* Draft orders will be moved to upcoming state instead of placed status.
|
|
3048
|
+
* @property {boolean} [is_offline_order] - Indicates whether the order is an
|
|
3049
|
+
* offline order placed through a physical store or offline channel.
|
|
3044
3050
|
* @property {Object} [meta] - Metadata related to the order may include
|
|
3045
3051
|
* additional, dynamic information that provides further context about the
|
|
3046
3052
|
* order. This information can also be viewed on the Order or Shipment Details page.
|
|
@@ -6433,7 +6439,9 @@ type UpdateAddressRequestBody = {
|
|
|
6433
6439
|
declare function StatuesRequestSchema(): StatuesRequestSchema;
|
|
6434
6440
|
type StatuesRequestSchema = {
|
|
6435
6441
|
/**
|
|
6436
|
-
* - The new status to be assigned to
|
|
6442
|
+
* - The new status to be assigned to a shipment.
|
|
6443
|
+
* Also, refer to the <a href='/commerce/getting-started/oms-states/'>OMS
|
|
6444
|
+
* States</a> for the complete status list.
|
|
6437
6445
|
*/
|
|
6438
6446
|
status?: string;
|
|
6439
6447
|
/**
|
|
@@ -11325,6 +11333,11 @@ type CreateOrderShipmentSchema = {
|
|
|
11325
11333
|
* to Fynd's generated ID.
|
|
11326
11334
|
*/
|
|
11327
11335
|
external_shipment_id?: string;
|
|
11336
|
+
/**
|
|
11337
|
+
* - Indicates whether the order was created in
|
|
11338
|
+
* offline mode. Used to enable offline-specific processing and sync behavior.
|
|
11339
|
+
*/
|
|
11340
|
+
invoice_id?: string;
|
|
11328
11341
|
/**
|
|
11329
11342
|
* - A list of items included in the shipment.
|
|
11330
11343
|
*/
|
|
@@ -11783,6 +11796,11 @@ type CreateOrderRequestSchema = {
|
|
|
11783
11796
|
* Draft orders will be moved to upcoming state instead of placed status.
|
|
11784
11797
|
*/
|
|
11785
11798
|
is_draft?: boolean;
|
|
11799
|
+
/**
|
|
11800
|
+
* - Indicates whether the order is an
|
|
11801
|
+
* offline order placed through a physical store or offline channel.
|
|
11802
|
+
*/
|
|
11803
|
+
is_offline_order?: boolean;
|
|
11786
11804
|
/**
|
|
11787
11805
|
* - Metadata related to the order may include
|
|
11788
11806
|
* additional, dynamic information that provides further context about the
|
|
@@ -420,7 +420,9 @@ const Joi = require("joi");
|
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* @typedef StatuesRequestSchema
|
|
423
|
-
* @property {string} [status] - The new status to be assigned to
|
|
423
|
+
* @property {string} [status] - The new status to be assigned to a shipment.
|
|
424
|
+
* Also, refer to the <a href='/commerce/getting-started/oms-states/'>OMS
|
|
425
|
+
* States</a> for the complete status list.
|
|
424
426
|
* @property {ShipmentsRequestSchema[]} [shipments] - A list of shipments to
|
|
425
427
|
* which the new status will be applied.
|
|
426
428
|
* @property {string} [exclude_bags_next_state] - Specifies the state to which
|
|
@@ -3111,6 +3113,8 @@ const Joi = require("joi");
|
|
|
3111
3113
|
* @property {string} [external_shipment_id] - Unique identifier for the
|
|
3112
3114
|
* shipment as assigned by an external system. Use this to map the external ID
|
|
3113
3115
|
* to Fynd's generated ID.
|
|
3116
|
+
* @property {string} [invoice_id] - Indicates whether the order was created in
|
|
3117
|
+
* offline mode. Used to enable offline-specific processing and sync behavior.
|
|
3114
3118
|
* @property {LineItemSchema[]} [line_items] - A list of items included in the shipment.
|
|
3115
3119
|
* @property {OrderFulfillmentTimelineSchema} [order_fulfillment_timeline]
|
|
3116
3120
|
* @property {number} [location_id] - The location ID from which this shipment
|
|
@@ -3311,6 +3315,8 @@ const Joi = require("joi");
|
|
|
3311
3315
|
* placed. Required when the order is placed from one company but fulfilled by another.
|
|
3312
3316
|
* @property {boolean} [is_draft] - Indicates whether the order is a draft.
|
|
3313
3317
|
* Draft orders will be moved to upcoming state instead of placed status.
|
|
3318
|
+
* @property {boolean} [is_offline_order] - Indicates whether the order is an
|
|
3319
|
+
* offline order placed through a physical store or offline channel.
|
|
3314
3320
|
* @property {Object} [meta] - Metadata related to the order may include
|
|
3315
3321
|
* additional, dynamic information that provides further context about the
|
|
3316
3322
|
* order. This information can also be viewed on the Order or Shipment Details page.
|
|
@@ -8889,6 +8895,7 @@ class OrderPlatformModel {
|
|
|
8889
8895
|
type: Joi.string().allow(""),
|
|
8890
8896
|
fulfillment_option: OrderPlatformModel.FulfillmentOptionSchema(),
|
|
8891
8897
|
external_shipment_id: Joi.string().allow(""),
|
|
8898
|
+
invoice_id: Joi.string().allow(""),
|
|
8892
8899
|
line_items: Joi.array().items(OrderPlatformModel.LineItemSchema()),
|
|
8893
8900
|
order_fulfillment_timeline: OrderPlatformModel.OrderFulfillmentTimelineSchema(),
|
|
8894
8901
|
location_id: Joi.number(),
|
|
@@ -9064,6 +9071,7 @@ class OrderPlatformModel {
|
|
|
9064
9071
|
b2b_gstin_number: Joi.string().allow(""),
|
|
9065
9072
|
channel_company_id: Joi.string().allow(""),
|
|
9066
9073
|
is_draft: Joi.boolean(),
|
|
9074
|
+
is_offline_order: Joi.boolean(),
|
|
9067
9075
|
meta: Joi.object().pattern(/\S/, Joi.any()),
|
|
9068
9076
|
});
|
|
9069
9077
|
}
|
|
@@ -133,13 +133,12 @@ declare class Payment {
|
|
|
133
133
|
*
|
|
134
134
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
135
135
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
136
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
137
|
-
* Success response
|
|
136
|
+
* @returns {Promise<PaymentPlatformModel.PaymentModeConfig>} - Success response
|
|
138
137
|
* @name getMerchantAggregatorPaymentModeDetails
|
|
139
138
|
* @summary: Get merchant aggregator and their payment mode
|
|
140
139
|
* @description: Get available payment gateways and payment mode and it's sub payment mode details like for razorpay their active/inactive payment modes netbanking , wallet, upi are shown. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getMerchantAggregatorPaymentModeDetails/).
|
|
141
140
|
*/
|
|
142
|
-
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
141
|
+
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentModeConfig>;
|
|
143
142
|
/**
|
|
144
143
|
* @param {PaymentPlatformApplicationValidator.GetMerchantPaymentOptionParam} arg
|
|
145
144
|
* - Arg object
|
|
@@ -440,6 +439,18 @@ declare class Payment {
|
|
|
440
439
|
* @description: Store and update configuration settings for brand payment gateways i.e required for payment for a payment gateway like key, secret, merchant salt. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
441
440
|
*/
|
|
442
441
|
saveBrandPaymentGatewayConfig({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>;
|
|
442
|
+
/**
|
|
443
|
+
* @param {PaymentPlatformApplicationValidator.SaveTokenForAggregatorParam} arg
|
|
444
|
+
* - Arg object
|
|
445
|
+
*
|
|
446
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
447
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
448
|
+
* @returns {Promise<PaymentPlatformModel.OperationResponseSchema>} - Success response
|
|
449
|
+
* @name saveTokenForAggregator
|
|
450
|
+
* @summary: Save token details for a payment aggregator
|
|
451
|
+
* @description: Save token and verification status for a specific payment aggregator, such as Apple Pay or others. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/saveTokenForAggregator/).
|
|
452
|
+
*/
|
|
453
|
+
saveTokenForAggregator({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.SaveTokenForAggregatorParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OperationResponseSchema>;
|
|
443
454
|
/**
|
|
444
455
|
* @param {PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam} arg
|
|
445
456
|
* - Arg object
|