Skip to content

Commit

Permalink
[Auto Generated] 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Dec 3, 2024
1 parent a8b3e1a commit 1502a2e
Show file tree
Hide file tree
Showing 17 changed files with 1,220 additions and 31 deletions.
627 changes: 627 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ console.log("Active Theme: ", response.information.name);
The above code will log the curl command in the console

```bash
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.5.1' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.5.2' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
Active Theme: Emerge
```

Expand Down
2 changes: 1 addition & 1 deletion dist/application.js

Large diffs are not rendered by default.

63 changes: 36 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gofynd/fdk-client-javascript",
"version": "1.5.1",
"version": "1.5.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
23 changes: 22 additions & 1 deletion sdk/platform/Payment/PaymentPlatformModel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,12 @@ export = PaymentPlatformModel;
* @property {string} city - City name
* @property {Object[]} [tags] - Optional address tag
*/
/**
* @typedef ReasonDetail
* @property {string} [code] - The code indicating the type of reason.
* @property {string} [description] - A detailed description of the payment
* reason or error.
*/
/**
* @typedef PaymentSessionDetail
* @property {string} payment_id - Unique transaction id generated by payment gateway
Expand Down Expand Up @@ -929,6 +935,7 @@ export = PaymentPlatformModel;
* merchant account) by payment gateway.
* @property {Object} [meta] - Extra meta data specific to extension
* @property {string} status - Status of the payment
* @property {ReasonDetail} [reason]
*/
/**
* @typedef PaymentSessionCreation
Expand Down Expand Up @@ -1221,7 +1228,7 @@ export = PaymentPlatformModel;
declare class PaymentPlatformModel {
}
declare namespace PaymentPlatformModel {
export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, OrderDetail, AddressDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponseSchema, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, OrderDetail, AddressDetail, ReasonDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
}
/** @returns {PaymentGatewayConfigDetails} */
declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
Expand Down Expand Up @@ -3611,6 +3618,19 @@ type AddressDetail = {
*/
tags?: any[];
};
/** @returns {ReasonDetail} */
declare function ReasonDetail(): ReasonDetail;
type ReasonDetail = {
/**
* - The code indicating the type of reason.
*/
code?: string;
/**
* - A detailed description of the payment
* reason or error.
*/
description?: string;
};
/** @returns {PaymentSessionDetail} */
declare function PaymentSessionDetail(): PaymentSessionDetail;
type PaymentSessionDetail = {
Expand Down Expand Up @@ -3714,6 +3734,7 @@ type PaymentSessionDetail = {
* - Status of the payment
*/
status: string;
reason?: ReasonDetail;
};
/** @returns {PaymentSessionCreation} */
declare function PaymentSessionCreation(): PaymentSessionCreation;
Expand Down
17 changes: 17 additions & 0 deletions sdk/platform/Payment/PaymentPlatformModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,13 @@ const Joi = require("joi");
* @property {Object[]} [tags] - Optional address tag
*/

/**
* @typedef ReasonDetail
* @property {string} [code] - The code indicating the type of reason.
* @property {string} [description] - A detailed description of the payment
* reason or error.
*/

/**
* @typedef PaymentSessionDetail
* @property {string} payment_id - Unique transaction id generated by payment gateway
Expand Down Expand Up @@ -1038,6 +1045,7 @@ const Joi = require("joi");
* merchant account) by payment gateway.
* @property {Object} [meta] - Extra meta data specific to extension
* @property {string} status - Status of the payment
* @property {ReasonDetail} [reason]
*/

/**
Expand Down Expand Up @@ -2587,6 +2595,14 @@ class PaymentPlatformModel {
});
}

/** @returns {ReasonDetail} */
static ReasonDetail() {
return Joi.object({
code: Joi.string().allow(""),
description: Joi.string().allow(""),
});
}

/** @returns {PaymentSessionDetail} */
static PaymentSessionDetail() {
return Joi.object({
Expand All @@ -2612,6 +2628,7 @@ class PaymentPlatformModel {
captured: Joi.boolean(),
meta: Joi.object().pattern(/\S/, Joi.any()),
status: Joi.string().allow("").required(),
reason: PaymentPlatformModel.ReasonDetail(),
});
}

Expand Down
22 changes: 22 additions & 0 deletions sdk/public/Catalog/CatalogPublicClient.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export = Catalog;
declare class Catalog {
constructor(_conf: any);
_conf: any;
_relativeUrls: {
getTaxonomyByLevel: string;
};
_urls: {};
updateUrls(urls: any): void;
/**
* @param {CatalogPublicValidator.GetTaxonomyByLevelParam} arg - Arg object.
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
* @param {import("../PublicAPIClient").Options} - Options
* @returns {Promise<CatalogPublicModel.TaxonomyResponseSchema>} - Success response
* @name getTaxonomyByLevel
* @summary: Get Taxonomy Information by Level
* @description: Get Taxonomy Details for a given level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/catalog/getTaxonomyByLevel/).
*/
getTaxonomyByLevel({ level, l0Slug, l1Slug, l2Slug, l3Slug, limit, requestHeaders }?: CatalogPublicValidator.GetTaxonomyByLevelParam, { responseHeaders }?: object): Promise<CatalogPublicModel.TaxonomyResponseSchema>;
}
import CatalogPublicValidator = require("./CatalogPublicValidator");
import CatalogPublicModel = require("./CatalogPublicModel");
Loading

0 comments on commit 1502a2e

Please sign in to comment.