@gofynd/fdk-client-javascript 1.4.4 → 1.4.6
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/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +1 -1
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationClient.d.ts +16 -18
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +8 -8
- package/sdk/application/Catalog/CatalogApplicationClient.js +5 -5
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +2 -2
- package/sdk/application/Logistic/LogisticApplicationModel.js +2 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +1 -1
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationValidator.js +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +23 -17
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +2 -2
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +2 -2
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +17 -18
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +2 -2
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +28 -5
- package/sdk/platform/Catalog/CatalogPlatformClient.js +69 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +16 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +60 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +25 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +3 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +2 -2
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformModel.js +65 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +22 -16
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -19
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -24
- package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicModel.js +1 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +0 -323
- package/sdk/application/PosCart/PosCartApplicationClient.js +0 -2364
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +0 -1857
- package/sdk/application/PosCart/PosCartApplicationModel.js +0 -1906
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +0 -483
- package/sdk/application/PosCart/PosCartApplicationValidator.js +0 -492
|
@@ -540,4 +540,4 @@ type WalletLinkInitiateParam = {
|
|
|
540
540
|
type GetActiveRefundTransferModesParam = any;
|
|
541
541
|
type GetEpaylaterBannerDetailsParam = any;
|
|
542
542
|
type GetRupifiBannerDetailsParam = any;
|
|
543
|
-
import PaymentApplicationModel = require("
|
|
543
|
+
import PaymentApplicationModel = require("./PaymentApplicationModel");
|
|
@@ -89,5 +89,5 @@ declare class Rewards {
|
|
|
89
89
|
*/
|
|
90
90
|
redeemReferralCode({ body, requestHeaders }?: RewardsApplicationValidator.RedeemReferralCodeParam, { responseHeaders }?: object): Promise<RewardsApplicationModel.RedeemReferralCodeResponse>;
|
|
91
91
|
}
|
|
92
|
-
import RewardsApplicationValidator = require("
|
|
93
|
-
import RewardsApplicationModel = require("
|
|
92
|
+
import RewardsApplicationValidator = require("./RewardsApplicationValidator");
|
|
93
|
+
import RewardsApplicationModel = require("./RewardsApplicationModel");
|
|
@@ -70,4 +70,4 @@ type RedeemReferralCodeParam = {
|
|
|
70
70
|
};
|
|
71
71
|
type GetUserPointsParam = any;
|
|
72
72
|
type GetUserReferralDetailsParam = any;
|
|
73
|
-
import RewardsApplicationModel = require("
|
|
73
|
+
import RewardsApplicationModel = require("./RewardsApplicationModel");
|
|
@@ -85,5 +85,5 @@ declare class Share {
|
|
|
85
85
|
*/
|
|
86
86
|
getUrlQRCode({ url, requestHeaders }?: ShareApplicationValidator.GetUrlQRCodeParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
|
|
87
87
|
}
|
|
88
|
-
import ShareApplicationValidator = require("
|
|
89
|
-
import ShareApplicationModel = require("
|
|
88
|
+
import ShareApplicationValidator = require("./ShareApplicationValidator");
|
|
89
|
+
import ShareApplicationModel = require("./ShareApplicationModel");
|
|
@@ -55,6 +55,7 @@ export = ShareApplicationModel;
|
|
|
55
55
|
* @typedef UrlInfo
|
|
56
56
|
* @property {string} [original]
|
|
57
57
|
* @property {string} [hash]
|
|
58
|
+
* @property {string} [short_url]
|
|
58
59
|
*/
|
|
59
60
|
/**
|
|
60
61
|
* @typedef ShortLinkRes
|
|
@@ -162,6 +163,7 @@ declare function UrlInfo(): UrlInfo;
|
|
|
162
163
|
type UrlInfo = {
|
|
163
164
|
original?: string;
|
|
164
165
|
hash?: string;
|
|
166
|
+
short_url?: string;
|
|
165
167
|
};
|
|
166
168
|
/** @returns {ShortLinkRes} */
|
|
167
169
|
declare function ShortLinkRes(): ShortLinkRes;
|
|
@@ -64,6 +64,7 @@ const Joi = require("joi");
|
|
|
64
64
|
* @typedef UrlInfo
|
|
65
65
|
* @property {string} [original]
|
|
66
66
|
* @property {string} [hash]
|
|
67
|
+
* @property {string} [short_url]
|
|
67
68
|
*/
|
|
68
69
|
|
|
69
70
|
/**
|
|
@@ -177,6 +178,7 @@ class ShareApplicationModel {
|
|
|
177
178
|
return Joi.object({
|
|
178
179
|
original: Joi.string().allow(""),
|
|
179
180
|
hash: Joi.string().allow(""),
|
|
181
|
+
short_url: Joi.string().allow(""),
|
|
180
182
|
});
|
|
181
183
|
}
|
|
182
184
|
|
|
@@ -85,4 +85,4 @@ type GetUrlQRCodeParam = {
|
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
87
87
|
type GetApplicationQRCodeParam = any;
|
|
88
|
-
import ShareApplicationModel = require("
|
|
88
|
+
import ShareApplicationModel = require("./ShareApplicationModel");
|
|
@@ -51,5 +51,5 @@ declare class Theme {
|
|
|
51
51
|
*/
|
|
52
52
|
getThemeForPreview({ themeId, requestHeaders }?: ThemeApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.ThemesSchema>;
|
|
53
53
|
}
|
|
54
|
-
import ThemeApplicationValidator = require("
|
|
55
|
-
import ThemeApplicationModel = require("
|
|
54
|
+
import ThemeApplicationValidator = require("./ThemeApplicationValidator");
|
|
55
|
+
import ThemeApplicationModel = require("./ThemeApplicationModel");
|
|
@@ -486,5 +486,5 @@ declare class User {
|
|
|
486
486
|
*/
|
|
487
487
|
verifyMobileOTP({ body, platform, requestHeaders }?: UserApplicationValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyOtpSuccess>;
|
|
488
488
|
}
|
|
489
|
-
import UserApplicationValidator = require("
|
|
490
|
-
import UserApplicationModel = require("
|
|
489
|
+
import UserApplicationValidator = require("./UserApplicationValidator");
|
|
490
|
+
import UserApplicationModel = require("./UserApplicationModel");
|
|
@@ -557,4 +557,4 @@ type GetListOfActiveSessionsParam = any;
|
|
|
557
557
|
type GetLoggedInUserParam = any;
|
|
558
558
|
type HasPasswordParam = any;
|
|
559
559
|
type LogoutParam = any;
|
|
560
|
-
import UserApplicationModel = require("
|
|
560
|
+
import UserApplicationModel = require("./UserApplicationModel");
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
export const ApplicationConfig: typeof import("
|
|
2
|
-
export const ApplicationClient: typeof import("
|
|
1
|
+
export const ApplicationConfig: typeof import("./ApplicationConfig");
|
|
2
|
+
export const ApplicationClient: typeof import("./ApplicationClient");
|
|
3
3
|
export namespace ApplicationModel {
|
|
4
|
-
const CartApplicationModel: typeof import("
|
|
5
|
-
const CatalogApplicationModel: typeof import("
|
|
6
|
-
const CommonApplicationModel: typeof import("
|
|
7
|
-
const CommunicationApplicationModel: typeof import("
|
|
8
|
-
const ConfigurationApplicationModel: typeof import("
|
|
9
|
-
const ContentApplicationModel: typeof import("
|
|
10
|
-
const FileStorageApplicationModel: typeof import("
|
|
11
|
-
const LeadApplicationModel: typeof import("
|
|
12
|
-
const LogisticApplicationModel: typeof import("
|
|
13
|
-
const OrderApplicationModel: typeof import("
|
|
14
|
-
const PaymentApplicationModel: typeof import("
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const UserApplicationModel: typeof import("sdk/output/javascript/code/sdk/application/User/UserApplicationModel");
|
|
4
|
+
const CartApplicationModel: typeof import("./Cart/CartApplicationModel");
|
|
5
|
+
const CatalogApplicationModel: typeof import("./Catalog/CatalogApplicationModel");
|
|
6
|
+
const CommonApplicationModel: typeof import("./Common/CommonApplicationModel");
|
|
7
|
+
const CommunicationApplicationModel: typeof import("./Communication/CommunicationApplicationModel");
|
|
8
|
+
const ConfigurationApplicationModel: typeof import("./Configuration/ConfigurationApplicationModel");
|
|
9
|
+
const ContentApplicationModel: typeof import("./Content/ContentApplicationModel");
|
|
10
|
+
const FileStorageApplicationModel: typeof import("./FileStorage/FileStorageApplicationModel");
|
|
11
|
+
const LeadApplicationModel: typeof import("./Lead/LeadApplicationModel");
|
|
12
|
+
const LogisticApplicationModel: typeof import("./Logistic/LogisticApplicationModel");
|
|
13
|
+
const OrderApplicationModel: typeof import("./Order/OrderApplicationModel");
|
|
14
|
+
const PaymentApplicationModel: typeof import("./Payment/PaymentApplicationModel");
|
|
15
|
+
const RewardsApplicationModel: typeof import("./Rewards/RewardsApplicationModel");
|
|
16
|
+
const ShareApplicationModel: typeof import("./Share/ShareApplicationModel");
|
|
17
|
+
const ThemeApplicationModel: typeof import("./Theme/ThemeApplicationModel");
|
|
18
|
+
const UserApplicationModel: typeof import("./User/UserApplicationModel");
|
|
20
19
|
}
|
package/sdk/application/index.js
CHANGED
|
@@ -24,8 +24,6 @@ module.exports = {
|
|
|
24
24
|
|
|
25
25
|
PaymentApplicationModel: require("./Payment/PaymentApplicationModel"),
|
|
26
26
|
|
|
27
|
-
PosCartApplicationModel: require("./PosCart/PosCartApplicationModel"),
|
|
28
|
-
|
|
29
27
|
RewardsApplicationModel: require("./Rewards/RewardsApplicationModel"),
|
|
30
28
|
|
|
31
29
|
ShareApplicationModel: require("./Share/ShareApplicationModel"),
|
|
@@ -69,4 +69,4 @@ declare class FileStorage {
|
|
|
69
69
|
*/
|
|
70
70
|
browse({ namespace, applicationId, companyId, page, limit, requestHeaders }?: FileStoragePartnerValidator.BrowseParam, { responseHeaders }?: object): Promise<any>;
|
|
71
71
|
}
|
|
72
|
-
import FileStoragePartnerModel = require("
|
|
72
|
+
import FileStoragePartnerModel = require("./FileStoragePartnerModel");
|
|
@@ -121,5 +121,5 @@ declare class Lead {
|
|
|
121
121
|
*/
|
|
122
122
|
getGeneralConfig({ requestHeaders }?: LeadPartnerValidator.GetGeneralConfigParam, { responseHeaders }?: object): Promise<LeadPartnerModel.GeneralConfigResponse>;
|
|
123
123
|
}
|
|
124
|
-
import LeadPartnerModel = require("
|
|
125
|
-
import Paginator = require("
|
|
124
|
+
import LeadPartnerModel = require("./LeadPartnerModel");
|
|
125
|
+
import Paginator = require("../../common/Paginator");
|
|
@@ -152,4 +152,4 @@ declare class Logistics {
|
|
|
152
152
|
*/
|
|
153
153
|
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: LogisticsPartnerValidator.GetCountriesParam, { responseHeaders }?: object): Promise<LogisticsPartnerModel.GetCountries>;
|
|
154
154
|
}
|
|
155
|
-
import LogisticsPartnerModel = require("
|
|
155
|
+
import LogisticsPartnerModel = require("./LogisticsPartnerModel");
|
|
@@ -8,8 +8,8 @@ declare class OAuthClient extends BaseOAuthClient {
|
|
|
8
8
|
grant_type: any;
|
|
9
9
|
refresh_token: any;
|
|
10
10
|
code: any;
|
|
11
|
-
}): Promise<import("
|
|
12
|
-
getOfflineAccessToken(scopes: any, code: any): Promise<import("
|
|
13
|
-
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("
|
|
11
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
+
getOfflineAccessToken(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
+
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
14
|
}
|
|
15
|
-
import BaseOAuthClient = require("
|
|
15
|
+
import BaseOAuthClient = require("../common/BaseOAuthClient");
|
|
@@ -13,7 +13,7 @@ declare class APIClient {
|
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
* @param {Options} options
|
|
15
15
|
*/
|
|
16
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("
|
|
16
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
17
|
get(url: any, config: any): Promise<any>;
|
|
18
18
|
}
|
|
19
19
|
declare namespace APIClient {
|
|
@@ -12,7 +12,7 @@ declare class PartnerClient {
|
|
|
12
12
|
* partner client.
|
|
13
13
|
*/
|
|
14
14
|
constructor(config: import("./PartnerConfig"));
|
|
15
|
-
config: import("
|
|
15
|
+
config: import("./PartnerConfig");
|
|
16
16
|
fileStorage: FileStorage;
|
|
17
17
|
lead: Lead;
|
|
18
18
|
logistics: Logistics;
|
|
@@ -26,8 +26,8 @@ declare class PartnerClient {
|
|
|
26
26
|
*/
|
|
27
27
|
setExtraHeaders(header: object): void;
|
|
28
28
|
}
|
|
29
|
-
import FileStorage = require("
|
|
30
|
-
import Lead = require("
|
|
31
|
-
import Logistics = require("
|
|
32
|
-
import Theme = require("
|
|
33
|
-
import Webhook = require("
|
|
29
|
+
import FileStorage = require("./FileStorage/FileStoragePartnerClient");
|
|
30
|
+
import Lead = require("./Lead/LeadPartnerClient");
|
|
31
|
+
import Logistics = require("./Logistics/LogisticsPartnerClient");
|
|
32
|
+
import Theme = require("./Theme/ThemePartnerClient");
|
|
33
|
+
import Webhook = require("./Webhook/WebhookPartnerClient");
|
|
@@ -33,7 +33,7 @@ declare class PartnerConfig {
|
|
|
33
33
|
apiSecret: string;
|
|
34
34
|
scope?: string;
|
|
35
35
|
useAutoRenewTimer?: boolean;
|
|
36
|
-
logLevel?: "
|
|
36
|
+
logLevel?: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR";
|
|
37
37
|
}, options?: {
|
|
38
38
|
strictResponseCheck?: boolean;
|
|
39
39
|
});
|
|
@@ -44,7 +44,7 @@ declare class PartnerConfig {
|
|
|
44
44
|
scope: string;
|
|
45
45
|
useAutoRenewTimer: boolean;
|
|
46
46
|
oauthClient: OauthClient;
|
|
47
|
-
logLevel: "
|
|
47
|
+
logLevel: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR";
|
|
48
48
|
extraHeaders: any[];
|
|
49
49
|
options: {
|
|
50
50
|
strictResponseCheck: boolean;
|
|
@@ -54,7 +54,7 @@ declare class PartnerConfig {
|
|
|
54
54
|
*
|
|
55
55
|
* @param {logLevelEnum} level - The log level to set.
|
|
56
56
|
*/
|
|
57
|
-
setLogLevel(level: "
|
|
57
|
+
setLogLevel(level: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR"): void;
|
|
58
58
|
/**
|
|
59
59
|
* Retrieves the access token from the OAuth client.
|
|
60
60
|
*
|
|
@@ -63,4 +63,4 @@ declare class PartnerConfig {
|
|
|
63
63
|
*/
|
|
64
64
|
getAccessToken(): Promise<string>;
|
|
65
65
|
}
|
|
66
|
-
import OauthClient = require("
|
|
66
|
+
import OauthClient = require("./OAuthClient");
|
|
@@ -203,4 +203,4 @@ declare class Theme {
|
|
|
203
203
|
*/
|
|
204
204
|
createTheme({ companyId, applicationId, body, requestHeaders }?: ThemePartnerValidator.CreateThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
205
205
|
}
|
|
206
|
-
import ThemePartnerModel = require("
|
|
206
|
+
import ThemePartnerModel = require("./ThemePartnerModel");
|
|
@@ -96,4 +96,4 @@ declare class Webhook {
|
|
|
96
96
|
*/
|
|
97
97
|
updateSubscriber({ extensionId, subscriberId, body, requestHeaders }?: WebhookPartnerValidator.UpdateSubscriberParam, { responseHeaders }?: object): Promise<WebhookPartnerModel.UpdateSubscriberResponse>;
|
|
98
98
|
}
|
|
99
|
-
import WebhookPartnerModel = require("
|
|
99
|
+
import WebhookPartnerModel = require("./WebhookPartnerModel");
|
|
@@ -308,7 +308,7 @@ class WebhookPartnerModel {
|
|
|
308
308
|
event_name: Joi.string().allow(""),
|
|
309
309
|
event_type: Joi.string().allow(""),
|
|
310
310
|
event_category: Joi.string().allow(""),
|
|
311
|
-
event_schema: Joi.object().pattern(/\S/, Joi.any()),
|
|
311
|
+
event_schema: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
|
|
312
312
|
version: Joi.string().allow(""),
|
|
313
313
|
display_name: Joi.string().allow(""),
|
|
314
314
|
description: Joi.string().allow("").allow(null),
|
package/sdk/partner/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const PartnerConfig: typeof import("
|
|
2
|
-
export const PartnerClient: typeof import("
|
|
1
|
+
export const PartnerConfig: typeof import("./PartnerConfig");
|
|
2
|
+
export const PartnerClient: typeof import("./PartnerClient");
|
|
3
3
|
export namespace PartnerModel {
|
|
4
|
-
const FileStoragePartnerModel: typeof import("
|
|
5
|
-
const LeadPartnerModel: typeof import("
|
|
6
|
-
const LogisticsPartnerModel: typeof import("
|
|
7
|
-
const ThemePartnerModel: typeof import("
|
|
8
|
-
const WebhookPartnerModel: typeof import("
|
|
4
|
+
const FileStoragePartnerModel: typeof import("./FileStorage/FileStoragePartnerModel");
|
|
5
|
+
const LeadPartnerModel: typeof import("./Lead/LeadPartnerModel");
|
|
6
|
+
const LogisticsPartnerModel: typeof import("./Logistics/LogisticsPartnerModel");
|
|
7
|
+
const ThemePartnerModel: typeof import("./Theme/ThemePartnerModel");
|
|
8
|
+
const WebhookPartnerModel: typeof import("./Webhook/WebhookPartnerModel");
|
|
9
9
|
}
|
|
@@ -43,5 +43,5 @@ declare class AuditTrail {
|
|
|
43
43
|
*/
|
|
44
44
|
getEntityTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<AuditTrailPlatformModel.EntityTypesResponse>;
|
|
45
45
|
}
|
|
46
|
-
import AuditTrailPlatformValidator = require("
|
|
47
|
-
import AuditTrailPlatformModel = require("
|
|
46
|
+
import AuditTrailPlatformValidator = require("./AuditTrailPlatformValidator");
|
|
47
|
+
import AuditTrailPlatformModel = require("./AuditTrailPlatformModel");
|
|
@@ -51,4 +51,4 @@ type GetAuditLogsParam = {
|
|
|
51
51
|
sort?: any;
|
|
52
52
|
};
|
|
53
53
|
type GetEntityTypesParam = any;
|
|
54
|
-
import AuditTrailPlatformModel = require("
|
|
54
|
+
import AuditTrailPlatformModel = require("./AuditTrailPlatformModel");
|
|
@@ -185,5 +185,5 @@ declare class Billing {
|
|
|
185
185
|
*/
|
|
186
186
|
upsertCustomerDetail({ body, requestHeaders }?: BillingPlatformValidator.UpsertCustomerDetailParam, { responseHeaders }?: object): Promise<BillingPlatformModel.SubscriptionCustomer>;
|
|
187
187
|
}
|
|
188
|
-
import BillingPlatformValidator = require("
|
|
189
|
-
import BillingPlatformModel = require("
|
|
188
|
+
import BillingPlatformValidator = require("./BillingPlatformValidator");
|
|
189
|
+
import BillingPlatformModel = require("./BillingPlatformModel");
|
|
@@ -216,4 +216,4 @@ type GetCustomerDetailParam = any;
|
|
|
216
216
|
type GetEnterprisePlansParam = any;
|
|
217
217
|
type GetInvoicesParam = any;
|
|
218
218
|
type GetSubscriptionParam = any;
|
|
219
|
-
import BillingPlatformModel = require("
|
|
219
|
+
import BillingPlatformModel = require("./BillingPlatformModel");
|
|
@@ -615,5 +615,5 @@ declare class Cart {
|
|
|
615
615
|
*/
|
|
616
616
|
validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, requestHeaders, }?: CartPlatformApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PaymentCouponValidate>;
|
|
617
617
|
}
|
|
618
|
-
import CartPlatformApplicationValidator = require("
|
|
619
|
-
import CartPlatformModel = require("
|
|
618
|
+
import CartPlatformApplicationValidator = require("./CartPlatformApplicationValidator");
|
|
619
|
+
import CartPlatformModel = require("./CartPlatformModel");
|
|
@@ -907,4 +907,4 @@ type ValidateCouponForPaymentParam = {
|
|
|
907
907
|
};
|
|
908
908
|
type FetchCartMetaConfigParam = any;
|
|
909
909
|
type GetCouponOptionValuesParam = any;
|
|
910
|
-
import CartPlatformModel = require("
|
|
910
|
+
import CartPlatformModel = require("./CartPlatformModel");
|
|
@@ -1063,6 +1063,6 @@ declare class Catalog {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
updateSearchKeywords({ id, body, requestHeaders }?: CatalogPlatformApplicationValidator.UpdateSearchKeywordsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetSearchWordsData>;
|
|
1065
1065
|
}
|
|
1066
|
-
import CatalogPlatformApplicationValidator = require("
|
|
1067
|
-
import CatalogPlatformModel = require("
|
|
1068
|
-
import Paginator = require("
|
|
1066
|
+
import CatalogPlatformApplicationValidator = require("./CatalogPlatformApplicationValidator");
|
|
1067
|
+
import CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
1068
|
+
import Paginator = require("../../common/Paginator");
|
|
@@ -1260,4 +1260,4 @@ type GetConfigurationsParam = any;
|
|
|
1260
1260
|
type GetDepartmentsParam = any;
|
|
1261
1261
|
type GetQueryFiltersParam = any;
|
|
1262
1262
|
type GetSearchConfigurationParam = any;
|
|
1263
|
-
import CatalogPlatformModel = require("
|
|
1263
|
+
import CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
@@ -363,7 +363,7 @@ declare class Catalog {
|
|
|
363
363
|
* @summary: List Inventory
|
|
364
364
|
* @description: Allows to get Inventories data for particular company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getInventories/).
|
|
365
365
|
*/
|
|
366
|
-
getInventories({ itemId, size, pageNo, pageSize, q, sellable, storeIds, sizeIdentifier, requestHeaders, }?: CatalogPlatformValidator.GetInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetInventoriesResponse>;
|
|
366
|
+
getInventories({ itemId, size, pageNo, pageSize, pageId, pageType, q, sellable, storeIds, brandIds, sellerIdentifiers, qtyGt, qtyLt, qtyType, fromDate, toDate, sizeIdentifier, requestHeaders, }?: CatalogPlatformValidator.GetInventoriesParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetInventoriesResponse>;
|
|
367
367
|
/**
|
|
368
368
|
* @param {Object} arg - Arg object.
|
|
369
369
|
* @param {string} [arg.itemId] - Item code of the product of which size is to be get.
|
|
@@ -373,19 +373,42 @@ declare class Catalog {
|
|
|
373
373
|
* @param {string} [arg.q] - Search with help of store code.
|
|
374
374
|
* @param {boolean} [arg.sellable] - Filter on whether product is in stock or not.
|
|
375
375
|
* @param {number[]} [arg.storeIds] - The Store Id of products to fetch inventory.
|
|
376
|
+
* @param {number[]} [arg.brandIds] - The Brand Id of products to fetch inventory.
|
|
377
|
+
* @param {string[]} [arg.sellerIdentifiers] - The Seller Identifier or
|
|
378
|
+
* Primary Identifier of the inventory.
|
|
379
|
+
* @param {number} [arg.qtyGt] - This field allows you to filter for
|
|
380
|
+
* inventories that have quantity greater than to the specified value
|
|
381
|
+
* based on qty_type filter.
|
|
382
|
+
* @param {number} [arg.qtyLt] - This field allows you to filter for
|
|
383
|
+
* inventories that have a quantity less than to the specified value based
|
|
384
|
+
* on qty_type filter.
|
|
385
|
+
* @param {string} [arg.qtyType] - This field provides flexibility in
|
|
386
|
+
* selecting filter for inventory quantity counts and date queries. For
|
|
387
|
+
* example, you might use this field to specify "total" or "sellable" quantity.
|
|
388
|
+
* @param {string} [arg.fromDate] - Inventory updated on filter to get
|
|
389
|
+
* inventories greater then or equal to provided date based on qty_type value.
|
|
390
|
+
* @param {string} [arg.toDate] - Inventory updated on filter to get
|
|
391
|
+
* inventories less then or equal to provided date based on qty_type value.
|
|
376
392
|
* @param {string} [arg.sizeIdentifier] - Size Identifier (Seller Identifier
|
|
377
393
|
* or Primary Identifier) of which inventory is to get.
|
|
378
394
|
* @returns {Paginator<CatalogPlatformModel.GetInventoriesResponse>}
|
|
379
395
|
* @summary: List Inventory
|
|
380
396
|
* @description: Allows to get Inventories data for particular company.
|
|
381
397
|
*/
|
|
382
|
-
getInventoriesPaginator({ itemId, size, pageSize, q, sellable, storeIds, sizeIdentifier, }?: {
|
|
398
|
+
getInventoriesPaginator({ itemId, size, pageSize, q, sellable, storeIds, brandIds, sellerIdentifiers, qtyGt, qtyLt, qtyType, fromDate, toDate, sizeIdentifier, }?: {
|
|
383
399
|
itemId?: string;
|
|
384
400
|
size?: string;
|
|
385
401
|
pageSize?: number;
|
|
386
402
|
q?: string;
|
|
387
403
|
sellable?: boolean;
|
|
388
404
|
storeIds?: number[];
|
|
405
|
+
brandIds?: number[];
|
|
406
|
+
sellerIdentifiers?: string[];
|
|
407
|
+
qtyGt?: number;
|
|
408
|
+
qtyLt?: number;
|
|
409
|
+
qtyType?: string;
|
|
410
|
+
fromDate?: string;
|
|
411
|
+
toDate?: string;
|
|
389
412
|
sizeIdentifier?: string;
|
|
390
413
|
}): Paginator<CatalogPlatformModel.GetInventoriesResponse>;
|
|
391
414
|
/**
|
|
@@ -1024,6 +1047,6 @@ declare class Catalog {
|
|
|
1024
1047
|
*/
|
|
1025
1048
|
validateProductTemplateSchema({ itemType, requestHeaders }?: CatalogPlatformValidator.ValidateProductTemplateSchemaParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryValidationResponse>;
|
|
1026
1049
|
}
|
|
1027
|
-
import CatalogPlatformValidator = require("
|
|
1028
|
-
import CatalogPlatformModel = require("
|
|
1029
|
-
import Paginator = require("
|
|
1050
|
+
import CatalogPlatformValidator = require("./CatalogPlatformValidator");
|
|
1051
|
+
import CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
1052
|
+
import Paginator = require("../../common/Paginator");
|
|
@@ -2774,9 +2774,18 @@ class Catalog {
|
|
|
2774
2774
|
size,
|
|
2775
2775
|
pageNo,
|
|
2776
2776
|
pageSize,
|
|
2777
|
+
pageId,
|
|
2778
|
+
pageType,
|
|
2777
2779
|
q,
|
|
2778
2780
|
sellable,
|
|
2779
2781
|
storeIds,
|
|
2782
|
+
brandIds,
|
|
2783
|
+
sellerIdentifiers,
|
|
2784
|
+
qtyGt,
|
|
2785
|
+
qtyLt,
|
|
2786
|
+
qtyType,
|
|
2787
|
+
fromDate,
|
|
2788
|
+
toDate,
|
|
2780
2789
|
sizeIdentifier,
|
|
2781
2790
|
requestHeaders,
|
|
2782
2791
|
} = { requestHeaders: {} },
|
|
@@ -2788,9 +2797,18 @@ class Catalog {
|
|
|
2788
2797
|
size,
|
|
2789
2798
|
pageNo,
|
|
2790
2799
|
pageSize,
|
|
2800
|
+
pageId,
|
|
2801
|
+
pageType,
|
|
2791
2802
|
q,
|
|
2792
2803
|
sellable,
|
|
2793
2804
|
storeIds,
|
|
2805
|
+
brandIds,
|
|
2806
|
+
sellerIdentifiers,
|
|
2807
|
+
qtyGt,
|
|
2808
|
+
qtyLt,
|
|
2809
|
+
qtyType,
|
|
2810
|
+
fromDate,
|
|
2811
|
+
toDate,
|
|
2794
2812
|
sizeIdentifier,
|
|
2795
2813
|
},
|
|
2796
2814
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -2808,9 +2826,18 @@ class Catalog {
|
|
|
2808
2826
|
size,
|
|
2809
2827
|
pageNo,
|
|
2810
2828
|
pageSize,
|
|
2829
|
+
pageId,
|
|
2830
|
+
pageType,
|
|
2811
2831
|
q,
|
|
2812
2832
|
sellable,
|
|
2813
2833
|
storeIds,
|
|
2834
|
+
brandIds,
|
|
2835
|
+
sellerIdentifiers,
|
|
2836
|
+
qtyGt,
|
|
2837
|
+
qtyLt,
|
|
2838
|
+
qtyType,
|
|
2839
|
+
fromDate,
|
|
2840
|
+
toDate,
|
|
2814
2841
|
sizeIdentifier,
|
|
2815
2842
|
},
|
|
2816
2843
|
{ abortEarly: false, allowUnknown: false }
|
|
@@ -2827,9 +2854,18 @@ class Catalog {
|
|
|
2827
2854
|
query_params["size"] = size;
|
|
2828
2855
|
query_params["page_no"] = pageNo;
|
|
2829
2856
|
query_params["page_size"] = pageSize;
|
|
2857
|
+
query_params["page_id"] = pageId;
|
|
2858
|
+
query_params["page_type"] = pageType;
|
|
2830
2859
|
query_params["q"] = q;
|
|
2831
2860
|
query_params["sellable"] = sellable;
|
|
2832
2861
|
query_params["store_ids"] = storeIds;
|
|
2862
|
+
query_params["brand_ids"] = brandIds;
|
|
2863
|
+
query_params["seller_identifiers"] = sellerIdentifiers;
|
|
2864
|
+
query_params["qty_gt"] = qtyGt;
|
|
2865
|
+
query_params["qty_lt"] = qtyLt;
|
|
2866
|
+
query_params["qty_type"] = qtyType;
|
|
2867
|
+
query_params["from_date"] = fromDate;
|
|
2868
|
+
query_params["to_date"] = toDate;
|
|
2833
2869
|
query_params["size_identifier"] = sizeIdentifier;
|
|
2834
2870
|
|
|
2835
2871
|
const xHeaders = {};
|
|
@@ -2879,6 +2915,22 @@ class Catalog {
|
|
|
2879
2915
|
* @param {string} [arg.q] - Search with help of store code.
|
|
2880
2916
|
* @param {boolean} [arg.sellable] - Filter on whether product is in stock or not.
|
|
2881
2917
|
* @param {number[]} [arg.storeIds] - The Store Id of products to fetch inventory.
|
|
2918
|
+
* @param {number[]} [arg.brandIds] - The Brand Id of products to fetch inventory.
|
|
2919
|
+
* @param {string[]} [arg.sellerIdentifiers] - The Seller Identifier or
|
|
2920
|
+
* Primary Identifier of the inventory.
|
|
2921
|
+
* @param {number} [arg.qtyGt] - This field allows you to filter for
|
|
2922
|
+
* inventories that have quantity greater than to the specified value
|
|
2923
|
+
* based on qty_type filter.
|
|
2924
|
+
* @param {number} [arg.qtyLt] - This field allows you to filter for
|
|
2925
|
+
* inventories that have a quantity less than to the specified value based
|
|
2926
|
+
* on qty_type filter.
|
|
2927
|
+
* @param {string} [arg.qtyType] - This field provides flexibility in
|
|
2928
|
+
* selecting filter for inventory quantity counts and date queries. For
|
|
2929
|
+
* example, you might use this field to specify "total" or "sellable" quantity.
|
|
2930
|
+
* @param {string} [arg.fromDate] - Inventory updated on filter to get
|
|
2931
|
+
* inventories greater then or equal to provided date based on qty_type value.
|
|
2932
|
+
* @param {string} [arg.toDate] - Inventory updated on filter to get
|
|
2933
|
+
* inventories less then or equal to provided date based on qty_type value.
|
|
2882
2934
|
* @param {string} [arg.sizeIdentifier] - Size Identifier (Seller Identifier
|
|
2883
2935
|
* or Primary Identifier) of which inventory is to get.
|
|
2884
2936
|
* @returns {Paginator<CatalogPlatformModel.GetInventoriesResponse>}
|
|
@@ -2892,21 +2944,37 @@ class Catalog {
|
|
|
2892
2944
|
q,
|
|
2893
2945
|
sellable,
|
|
2894
2946
|
storeIds,
|
|
2947
|
+
brandIds,
|
|
2948
|
+
sellerIdentifiers,
|
|
2949
|
+
qtyGt,
|
|
2950
|
+
qtyLt,
|
|
2951
|
+
qtyType,
|
|
2952
|
+
fromDate,
|
|
2953
|
+
toDate,
|
|
2895
2954
|
sizeIdentifier,
|
|
2896
2955
|
} = {}) {
|
|
2897
2956
|
const paginator = new Paginator();
|
|
2898
2957
|
const callback = async () => {
|
|
2899
2958
|
const pageId = paginator.nextId;
|
|
2900
2959
|
const pageNo = paginator.pageNo;
|
|
2901
|
-
const pageType = "
|
|
2960
|
+
const pageType = "cursor";
|
|
2902
2961
|
const data = await this.getInventories({
|
|
2903
2962
|
itemId: itemId,
|
|
2904
2963
|
size: size,
|
|
2905
2964
|
pageNo: pageNo,
|
|
2906
2965
|
pageSize: pageSize,
|
|
2966
|
+
pageId: pageId,
|
|
2967
|
+
pageType: pageType,
|
|
2907
2968
|
q: q,
|
|
2908
2969
|
sellable: sellable,
|
|
2909
2970
|
storeIds: storeIds,
|
|
2971
|
+
brandIds: brandIds,
|
|
2972
|
+
sellerIdentifiers: sellerIdentifiers,
|
|
2973
|
+
qtyGt: qtyGt,
|
|
2974
|
+
qtyLt: qtyLt,
|
|
2975
|
+
qtyType: qtyType,
|
|
2976
|
+
fromDate: fromDate,
|
|
2977
|
+
toDate: toDate,
|
|
2910
2978
|
sizeIdentifier: sizeIdentifier,
|
|
2911
2979
|
});
|
|
2912
2980
|
paginator.setPaginator({
|
|
@@ -2752,6 +2752,7 @@ export = CatalogPlatformModel;
|
|
|
2752
2752
|
/**
|
|
2753
2753
|
* @typedef Quantity
|
|
2754
2754
|
* @property {number} [count]
|
|
2755
|
+
* @property {string} [updated_at]
|
|
2755
2756
|
*/
|
|
2756
2757
|
/**
|
|
2757
2758
|
* @typedef QuantityBase
|
|
@@ -7320,6 +7321,7 @@ type QuantitiesArticle = {
|
|
|
7320
7321
|
declare function Quantity(): Quantity;
|
|
7321
7322
|
type Quantity = {
|
|
7322
7323
|
count?: number;
|
|
7324
|
+
updated_at?: string;
|
|
7323
7325
|
};
|
|
7324
7326
|
/** @returns {QuantityBase} */
|
|
7325
7327
|
declare function QuantityBase(): QuantityBase;
|