@gofynd/fdk-client-javascript 3.26.0 → 3.28.0

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +4 -2
  4. package/sdk/application/Configuration/ConfigurationApplicationClient.js +5 -0
  5. package/sdk/application/Payment/PaymentApplicationClient.d.ts +11 -1
  6. package/sdk/application/Payment/PaymentApplicationClient.js +50 -0
  7. package/sdk/platform/Cart/CartPlatformModel.d.ts +61 -1
  8. package/sdk/platform/Cart/CartPlatformModel.js +40 -0
  9. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -0
  10. package/sdk/platform/Catalog/CatalogPlatformClient.js +75 -0
  11. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +203 -1
  12. package/sdk/platform/Catalog/CatalogPlatformModel.js +103 -0
  13. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +5 -1
  14. package/sdk/platform/Catalog/CatalogPlatformValidator.js +7 -0
  15. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -0
  16. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +52 -0
  17. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +20 -0
  18. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -0
  19. package/sdk/platform/Lead/LeadPlatformModel.d.ts +30 -1
  20. package/sdk/platform/Lead/LeadPlatformModel.js +19 -0
  21. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -0
  22. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +163 -0
  23. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +27 -1
  24. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +26 -0
  25. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +106 -1
  26. package/sdk/platform/Payment/PaymentPlatformModel.js +79 -0
  27. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  28. package/sdk/platform/PlatformApplicationClient.js +0 -4
  29. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +14 -0
  30. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +83 -0
  31. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +10 -1
  32. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -0
  33. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +121 -1
  34. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +112 -0
  35. package/sdk/platform/index.d.ts +0 -1
  36. package/sdk/platform/index.js +0 -2
  37. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +0 -44
  38. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +0 -263
  39. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +0 -42
  40. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +0 -45
  41. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +0 -136
  42. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +0 -95
@@ -251,6 +251,81 @@ class Catalog {
251
251
  return response;
252
252
  }
253
253
 
254
+ /**
255
+ * @param {CatalogPlatformValidator.CbsOnboardGetParam} arg - Arg object
256
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
257
+ * @param {import("../PlatformAPIClient").Options} - Options
258
+ * @returns {Promise<CatalogPlatformModel.GetCompanySchema>} - Success response
259
+ * @name cbsOnboardGet
260
+ * @summary: Get company profile
261
+ * @description: Retrieves the seller-facing company profile for the specified company. The response includes onboarding metadata, contact and address details, legal documents, and deployment region metadata for the company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/cbsOnboardGet/).
262
+ */
263
+ async cbsOnboardGet(
264
+ { requestHeaders } = { requestHeaders: {} },
265
+ { responseHeaders } = { responseHeaders: false }
266
+ ) {
267
+ const { error } = CatalogPlatformValidator.cbsOnboardGet().validate(
268
+ {},
269
+ { abortEarly: false, allowUnknown: true }
270
+ );
271
+ if (error) {
272
+ return Promise.reject(new FDKClientValidationError(error));
273
+ }
274
+
275
+ // Showing warrnings if extra unknown parameters are found
276
+ const {
277
+ error: warrning,
278
+ } = CatalogPlatformValidator.cbsOnboardGet().validate(
279
+ {},
280
+ { abortEarly: false, allowUnknown: false }
281
+ );
282
+ if (warrning) {
283
+ Logger({
284
+ level: "WARN",
285
+ message: `Parameter Validation warrnings for platform > Catalog > cbsOnboardGet \n ${warrning}`,
286
+ });
287
+ }
288
+
289
+ const query_params = {};
290
+
291
+ const xHeaders = {};
292
+
293
+ const response = await PlatformAPIClient.execute(
294
+ this.config,
295
+ "get",
296
+ `/service/platform/catalog/v2.0/company/${this.config.companyId}/`,
297
+ query_params,
298
+ undefined,
299
+ { ...xHeaders, ...requestHeaders },
300
+ { responseHeaders }
301
+ );
302
+
303
+ let responseData = response;
304
+ if (responseHeaders) {
305
+ responseData = response[0];
306
+ }
307
+
308
+ const {
309
+ error: res_error,
310
+ } = CatalogPlatformModel.GetCompanySchema().validate(responseData, {
311
+ abortEarly: false,
312
+ allowUnknown: true,
313
+ });
314
+
315
+ if (res_error) {
316
+ if (this.config.options.strictResponseCheck === true) {
317
+ return Promise.reject(new FDKResponseValidationError(res_error));
318
+ } else {
319
+ Logger({
320
+ level: "WARN",
321
+ message: `Response Validation Warnings for platform > Catalog > cbsOnboardGet \n ${res_error}`,
322
+ });
323
+ }
324
+ }
325
+
326
+ return response;
327
+ }
328
+
254
329
  /**
255
330
  * @param {CatalogPlatformValidator.CreateBulkInventoryParam} arg - Arg object
256
331
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1,4 +1,13 @@
1
1
  export = CatalogPlatformModel;
2
+ /**
3
+ * @typedef InventoryTransaction
4
+ * @property {string} [type] - Reason category for the inventory change.
5
+ * @property {string} [reference_id] - External transaction reference id (e.g.
6
+ * inbound / PO / transfer id).
7
+ * @property {string} [reason] - Free-text reason for the inventory change.
8
+ * @property {string} [source] - Origin system of the change.
9
+ * @property {string} [user_ref] - Reference to the user who initiated the change.
10
+ */
2
11
  /**
3
12
  * @typedef Action
4
13
  * @property {string} [type] - Type of action to be taken e.g, page.
@@ -1574,6 +1583,11 @@ export = CatalogPlatformModel;
1574
1583
  * @property {string} [pincode] - The postal code or ZIP code associated with the address.
1575
1584
  * @property {string} [state] - The state or region where the address is located.
1576
1585
  */
1586
+ /**
1587
+ * @typedef RegionDetailsSchema
1588
+ * @property {string} [slug] - Base region slug.
1589
+ * @property {string} [zone] - Zone or cluster slug.
1590
+ */
1577
1591
  /**
1578
1592
  * @typedef GetAllSizes
1579
1593
  * @property {AllSizes[]} [all_sizes]
@@ -1681,6 +1695,10 @@ export = CatalogPlatformModel;
1681
1695
  * @property {string} [modified_on] - The date and time when the company record
1682
1696
  * was last updated.
1683
1697
  * @property {string} [name] - The registered name of the company.
1698
+ * @property {string} [region] - Deployment region slug for the company profile.
1699
+ * When the zone is default, this is the region slug; otherwise it is
1700
+ * formatted as region/zone.
1701
+ * @property {RegionDetailsSchema} [region_details]
1684
1702
  * @property {string} [reject_reason] - If applicable, the reason why the
1685
1703
  * company's application or status was rejected.
1686
1704
  * @property {string} [stage] - Current operational stage of the company, such
@@ -2188,6 +2206,13 @@ export = CatalogPlatformModel;
2188
2206
  * @property {number} company_id
2189
2207
  * @property {InventoryJobPayload[]} sizes
2190
2208
  * @property {Object} [user]
2209
+ * @property {string} [transaction_type] - Reason for the bulk inventory update.
2210
+ * Recorded in the audit-trail event; per-row values on
2211
+ * `sizes[].transaction_type` override this top-level value. Optional;
2212
+ * defaults to "other" when omitted.
2213
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2214
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2215
+ * All fields optional; recorded in the audit-trail event.
2191
2216
  */
2192
2217
  /**
2193
2218
  * @typedef InventoryConfig
@@ -2323,6 +2348,12 @@ export = CatalogPlatformModel;
2323
2348
  * @property {string[]} [tags] - The tags associated with the item.
2324
2349
  * @property {number} [total_quantity] - The total quantity of the item.
2325
2350
  * @property {string} [trace_id] - The trace ID of the inventory job payload.
2351
+ * @property {string} [transaction_type] - Reason for this row's inventory
2352
+ * update. Recorded in the audit-trail event. Overrides the request-level
2353
+ * `transaction_type` when both are present. Optional.
2354
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2355
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2356
+ * All fields optional; recorded in the audit-trail event.
2326
2357
  */
2327
2358
  /**
2328
2359
  * @typedef InventoryPage
@@ -2344,6 +2375,7 @@ export = CatalogPlatformModel;
2344
2375
  * @property {string} [expiration_date] - The expiration date of the inventory item.
2345
2376
  * @property {number} [price_effective] - The effective price of the inventory item.
2346
2377
  * @property {number} [price_marked] - The marked price of the inventory item.
2378
+ * @property {number} [price_cost] - The cost price of the article.
2347
2379
  * @property {string} seller_identifier - The identifier of the seller.
2348
2380
  * @property {number} store_id - The ID of the store.
2349
2381
  * @property {string[]} [tags] - The tags associated with the inventory item.
@@ -2354,18 +2386,37 @@ export = CatalogPlatformModel;
2354
2386
  * the inventory item.
2355
2387
  * @property {string} [trace_id] - The trace ID of the inventory payload.
2356
2388
  * @property {Object} [meta]
2389
+ * @property {string} [transaction_type] - Reason for this row's inventory
2390
+ * update. Recorded in the audit-trail event. Overrides the request-level
2391
+ * `transaction_type` when both are present. Optional.
2392
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2393
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2394
+ * All fields optional; recorded in the audit-trail event.
2357
2395
  */
2358
2396
  /**
2359
2397
  * @typedef InventoryRequestSchema
2360
2398
  * @property {number} company_id
2361
2399
  * @property {ItemQuery} item
2362
2400
  * @property {InvSize[]} sizes
2401
+ * @property {string} [transaction_type] - Reason for the inventory update.
2402
+ * Recorded in the audit-trail event for the resulting article mutation.
2403
+ * Optional; defaults to "other" when omitted.
2404
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2405
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2406
+ * All fields optional; recorded in the audit-trail event.
2363
2407
  */
2364
2408
  /**
2365
2409
  * @typedef InventoryRequestSchemaV2
2366
2410
  * @property {number} company_id - The ID of the company.
2367
2411
  * @property {Object} [meta] - Additional metadata for the inventory request.
2368
2412
  * @property {InventoryPayload[]} [payload] - The list of inventory payloads.
2413
+ * @property {string} [transaction_type] - Reason for the inventory update.
2414
+ * Recorded in the audit-trail event for the resulting article mutation;
2415
+ * per-row values on `payload[].transaction_type` override this top-level
2416
+ * value. Optional; defaults to "other" when omitted.
2417
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2418
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2419
+ * All fields optional; recorded in the audit-trail event.
2369
2420
  */
2370
2421
  /**
2371
2422
  * @typedef InventoryResponseSchema
@@ -2777,7 +2828,14 @@ export = CatalogPlatformModel;
2777
2828
  * @typedef LocationPriceRequestSchema
2778
2829
  * @property {number} price_effective - The effective price of the inventory item.
2779
2830
  * @property {number} price_marked - The marked price of the inventory item.
2831
+ * @property {number} [price_cost] - The cost price of the article.
2780
2832
  * @property {string[]} [tags] - Tags associated with inventory item.
2833
+ * @property {string} [transaction_type] - Reason for the price update. Recorded
2834
+ * in the audit-trail event for the resulting article mutation. Optional;
2835
+ * defaults to "other" when omitted.
2836
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2837
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2838
+ * All fields optional; recorded in the audit-trail event.
2781
2839
  */
2782
2840
  /**
2783
2841
  * @typedef LocationQuantityRequestSchema
@@ -2792,6 +2850,12 @@ export = CatalogPlatformModel;
2792
2850
  * the inventory item. Any one of total_quantity, damaged_quantity,
2793
2851
  * not_available_quantity should be provided.
2794
2852
  * @property {string} [mode] - Indicates whether delta or replace operation for inventory
2853
+ * @property {string} [transaction_type] - Reason for the quantity update.
2854
+ * Recorded in the audit-trail event for the resulting article mutation.
2855
+ * Optional; defaults to "other" when omitted.
2856
+ * @property {InventoryTransaction} [transaction] - Audit transaction context;
2857
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
2858
+ * All fields optional; recorded in the audit-trail event.
2795
2859
  */
2796
2860
  /**
2797
2861
  * @typedef LocationPriceQuantitySuccessResponseSchema
@@ -4997,8 +5061,33 @@ export = CatalogPlatformModel;
4997
5061
  declare class CatalogPlatformModel {
4998
5062
  }
4999
5063
  declare namespace CatalogPlatformModel {
5000
- export { Action, ValidationErrors, StandardError, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, SortWeights, CohortWeights, HighSpenderRepeatCustomerWeights, HyperactiveRepeatCustomerWeights, HighSpenderOccasionalCustomerWeights, StandardOccasionalCustomerWeights, DormantPremiumCustomerWeights, BudgetRegularCustomerWeights, HighSpenderRegularCustomerWeights, StandardCustomerAboutToChurnWeights, PremiumCustomerAboutToChurnWeights, HighSpenderCustomerAboutToChurnWeights, StandardDormantCustomerWeights, HighSpenderDormantCustomerWeights, PotentialCustomerWeights, NewCustomerWeights, BudgetRepeatCustomerWeights, AverageSpenderRepeatCustomerWeights, CohortSortingConfiguration, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema, ArticleStoreResponseSchema, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSchema, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponseSchema, Brand, BrandItem, BrandListingResponseSchema, ApplicationBrandListingItemSchema, ApplicationBrandListingSchema, ApplicationCategoryListingSchema, ApplicationCategoryListingItemSchema, BrandMeta, InventoryBrandMeta, BulkAssetResponseSchema, BulkHsnResponseSchema, BulkHsnUpsert, BulkInventoryGet, InventoryRecord, FailedRecord, BulkInventoryGetItems, BulkMeta, BulkProductJob, BulkJob, BulkProductRequestSchema, BulkResponseSchema, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponseSchema, CategoriesResponseSchema, Category, CategoryItems, CategoryListingResponseSchema, CategoryMapping, CategoryMappingValues, CategoryResponseSchema, Child, CollectionBadge, CollectionBanner, CollectionCreateResponseSchema, CollectionDetailResponseSchema, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, InventoryCompanyMeta, CompanyOptIn, ConfigErrorResponseSchema, ConfigSuccessResponseSchema, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponseSchema, CreateCollection, CreateSearchConfigurationRequestSchema, CreateSearchConfigurationResponseSchema, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponseSchema, CustomOrder, DateMeta, DefaultKeyRequestSchema, DeleteAppCategoryReturnConfig, DeleteResponseSchema, DeleteSearchConfigurationResponseSchema, Department, DepartmentCategoryTree, DepartmentErrorResponseSchema, DepartmentIdentifier, DepartmentResponseSchema, DepartmentsResponseSchema, DimensionResponseSchema, InventoryDimensionResponseSchema, Document, EntityConfiguration, ErrorResponseSchema, FilerList, RawProduct, RawProductListingResponseSchema, GTIN, AttributeDetail, LatLong, ApplicationLocationAddressSchema, GetAddressSchema, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponseSchema, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, CollectionItemV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponseSchema, GetSearchWordsData, GetSearchWordsDetailResponseSchema, GetSearchWordsResponseSchema, GlobalValidation, Guide, HSNCodesResponseSchema, HSNData, CreatedBySchema, ModifiedBySchema, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequestSchema, InventoryConfig, InventoryCreateRequestSchema, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponseSchema, InventoryExportQuantityFilter, InventoryExportRequestSchema, InventoryExportResponseSchema, InventoryFailedReason, InventoryJobDetailResponseSchema, InventoryJobFilters, InventoryJobPayload, InventoryPage, AddInventoryRequestPayload, InventoryPayload, InventoryRequestSchema, InventoryRequestSchemaV2, InventoryResponseSchema, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, ApplicationInventorySellerIdentifierResponsePaginated, InventorySellerResponseSchema, ApplicationInventorySellerResponseSchema, InventorySet, InventoryStockResponseSchema, InventoryUpdateResponseSchema, InventoryValidationResponseSchema, InvoiceCredSchema, InvoiceDetailsSchema, ItemQuery, Items, LimitedProductData, SizeGuideItem, ListSizeGuide, LocationDayWiseSchema, LocationIntegrationType, LocationListSchema, LocationManagerSchema, LocationTimingSchema, Logo, MOQData, ManufacturerResponseSchema, InventoryManufacturerResponseSchema, Media, Media1, DepartmentMedia, BrandMedia, BundleDetails, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, LocationPriceRequestSchema, LocationQuantityRequestSchema, LocationPriceQuantitySuccessResponseSchema, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, PriceStrategySchema, PriceFactoryResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductConfigurationDownloads, ProductCreateSchemaV3, ProductUpdateSchemaV3, ProductPatchSchemaV3, ProductSizePatch, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponseSchema, CollectionProductFilters, ProductFilters, GetQueryFiltersValuesResponseSchema, ProductFiltersKeysOnly, ProductFiltersKey, ProductQueryFiltersValue, CollectionProductFiltersValue, ProductFiltersValue, CollectionProductListingDetail, ProductCategory, ApplicationCategoryAction, ApplicationCategoryItem, ApplicationProductMedia, ApplicationProductCategoryItem, CategoryPageAction, CategoryQuery, CategoryImage, ProductListingDetail, ActionObject, PageAction, ProductListingPrice, ProductListingResponseSchema, ProductListingResponseV2, ProductPublish, ProductPublished, ProductReturnConfigSchema, ProductReturnConfigBaseSchema, Identifier, SizeDetails, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponseSchema, ProductSizeDeleteResponseSchema, CollectionProductSortOn, ProductSortOn, ProductTagsViewResponseSchema, CreatedBy, ModifiedBy, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequestSchema, ProductTemplateExportResponseSchema, ProductVariants, ProductVariantsResponseSchema, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, InventoryReturnConfig, ReturnConfig2, ReturnConfigResponseSchema, Sitemap, PageQuery, ApplicationCollectionItemSeoPage, ApplicationCollectionItemSeoAction, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationCollectionItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, CollectionSeoDetail, SeoDetail, SetSize, SingleCategoryResponseSchema, SingleProductResponseSchema, Size, SizeDistribution, SizeGuideResponseSchema, StoreDetail, StoreMeta, SuccessResponseSchema, SuccessResponseObject, TaxIdentifier, TaxIdentifierV3, TaxSlab, TeaserTag, TemplateDetails, TemplateGlobalValidationData, TemplateValidationData, TemplatesResponseSchema, TemplatesGlobalValidationResponseSchema, TemplatesValidationResponseSchema, ThirdLevelChild, Trader, Trader1, TraderResponseSchema, UpdateCollection, UpdateSearchConfigurationRequestSchema, UpdateSearchConfigurationResponseSchema, CreateMarketplaceOptinResponseSchema, UserCommon, UserDetail, UserDetail1, UserInfo, UserSchema, RequestUserSchema, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponseSchema, InventoryWeightResponseSchema, BulkInventoryJob, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, FollowedProducts, FollowProduct, TaxReqBodyRule, TaxThreshold, TaxComponent, TaxComponentResponseSchema, TaxComponentName, CreateTaxComponentNameRequestSchema, TaxReqBodyVersion, TaxGeoArea, AreaDetails, Country, Area, RegionReference, CreateTaxRequestBody, TaxVersion, UpdateTaxVersionRequestBody, CreateTaxVersionRequestBody, TaxRule, TaxVersionDetail, CreateTax, UpdateTaxRequestBody, TaxRuleItem, TaxRules, TaxVersionPastData, TaxRuleVersion, HSCodeItem, HSCodes, GetTaxComponents, PriceFactoryListItemsSchema, PriceFactoryListResponseSchema, CreatePriceFactoryConfigSchema, UpdatePriceFactoryConfigSchema, PriceFactoryConfigSchema, CurrencyPriceSchema, UpsertPriceFactorySizesSchema, UpsertPriceFactoryProductSchema, PriceFactoryCurrencyPriceSchema, PriceFactorySizesSchema, PriceFactoryProductResponseSchema, PriceFactoryProductListResponseSchema, PriceRange, CurrencyPrice, ProductPrice, AppProductPricesSchema, ActionPage, ValidationError, Price1, MultiCategoriesSchema, NetQuantitySchema, CustomMeta, TaxStatusEnum, TaxVersionScopeEnum, HsTypeEnum, PageType };
5064
+ export { InventoryTransaction, Action, ValidationErrors, StandardError, AllSizes, AllowSingleRequestSchema, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponseSchema, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, SortWeights, CohortWeights, HighSpenderRepeatCustomerWeights, HyperactiveRepeatCustomerWeights, HighSpenderOccasionalCustomerWeights, StandardOccasionalCustomerWeights, DormantPremiumCustomerWeights, BudgetRegularCustomerWeights, HighSpenderRegularCustomerWeights, StandardCustomerAboutToChurnWeights, PremiumCustomerAboutToChurnWeights, HighSpenderCustomerAboutToChurnWeights, StandardDormantCustomerWeights, HighSpenderDormantCustomerWeights, PotentialCustomerWeights, NewCustomerWeights, BudgetRepeatCustomerWeights, AverageSpenderRepeatCustomerWeights, CohortSortingConfiguration, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponseSchema, ApplicationItemMOQ, Scores, ApplicationItemMeta, ApplicationItemSeoSitemap, ApplicationItemSEO, ApplicationProductsSchema, ApplicationProductListingResponseSchema, ApplicationStoreJson, AppReturnConfigResponseSchema, ArticleStoreResponseSchema, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSchema, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponseSchema, Brand, BrandItem, BrandListingResponseSchema, ApplicationBrandListingItemSchema, ApplicationBrandListingSchema, ApplicationCategoryListingSchema, ApplicationCategoryListingItemSchema, BrandMeta, InventoryBrandMeta, BulkAssetResponseSchema, BulkHsnResponseSchema, BulkHsnUpsert, BulkInventoryGet, InventoryRecord, FailedRecord, BulkInventoryGetItems, BulkMeta, BulkProductJob, BulkJob, BulkProductRequestSchema, BulkResponseSchema, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponseSchema, CategoriesResponseSchema, Category, CategoryItems, CategoryListingResponseSchema, CategoryMapping, CategoryMappingValues, CategoryResponseSchema, Child, CollectionBadge, CollectionBanner, CollectionCreateResponseSchema, CollectionDetailResponseSchema, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, InventoryCompanyMeta, CompanyOptIn, ConfigErrorResponseSchema, ConfigSuccessResponseSchema, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponseSchema, CreateCollection, CreateSearchConfigurationRequestSchema, CreateSearchConfigurationResponseSchema, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponseSchema, CustomOrder, DateMeta, DefaultKeyRequestSchema, DeleteAppCategoryReturnConfig, DeleteResponseSchema, DeleteSearchConfigurationResponseSchema, Department, DepartmentCategoryTree, DepartmentErrorResponseSchema, DepartmentIdentifier, DepartmentResponseSchema, DepartmentsResponseSchema, DimensionResponseSchema, InventoryDimensionResponseSchema, Document, EntityConfiguration, ErrorResponseSchema, FilerList, RawProduct, RawProductListingResponseSchema, GTIN, AttributeDetail, LatLong, ApplicationLocationAddressSchema, GetAddressSchema, RegionDetailsSchema, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponseSchema, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionListingResponseSchema, GetCollectionQueryOptionResponseSchema, GetCompanySchema, ConditionItem, DataItem, ValueTypeItem, SortTypeItem, GetConfigMetadataResponseSchema, GetConfigMetadataValues, GetConfigResponseSchema, ConfigItem, AttributeConfig, GetDepartment, GetInventories, GetInventoriesResponseSchema, GetLocationSchema, GetOptInPlatform, GetProducts, ProductDetails, GetCollectionDetailResponseSchema, CommonResponseSchemaCollection, GetQueryFiltersKeysResponseSchema, GetQueryFiltersResponseSchema, GetCollectionItemsResponseSchemaV2, CollectionItemV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchema, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponseSchema, GetSearchWordsData, GetSearchWordsDetailResponseSchema, GetSearchWordsResponseSchema, GlobalValidation, Guide, HSNCodesResponseSchema, HSNData, CreatedBySchema, ModifiedBySchema, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, InventoryBulkRequestSchema, InventoryConfig, InventoryCreateRequestSchema, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponseSchema, InventoryExportQuantityFilter, InventoryExportRequestSchema, InventoryExportResponseSchema, InventoryFailedReason, InventoryJobDetailResponseSchema, InventoryJobFilters, InventoryJobPayload, InventoryPage, AddInventoryRequestPayload, InventoryPayload, InventoryRequestSchema, InventoryRequestSchemaV2, InventoryResponseSchema, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, ApplicationInventorySellerIdentifierResponsePaginated, InventorySellerResponseSchema, ApplicationInventorySellerResponseSchema, InventorySet, InventoryStockResponseSchema, InventoryUpdateResponseSchema, InventoryValidationResponseSchema, InvoiceCredSchema, InvoiceDetailsSchema, ItemQuery, Items, LimitedProductData, SizeGuideItem, ListSizeGuide, LocationDayWiseSchema, LocationIntegrationType, LocationListSchema, LocationManagerSchema, LocationTimingSchema, Logo, MOQData, ManufacturerResponseSchema, InventoryManufacturerResponseSchema, Media, Media1, DepartmentMedia, BrandMedia, BundleDetails, Meta, MetaDataListingFilterMetaResponseSchema, MetaDataListingFilterResponseSchema, MetaDataListingResponseSchema, MetaDataListingSortMetaResponseSchema, MetaDataListingSortResponseSchema, MetaFields, NetQuantity, NetQuantityResponseSchema, NextSchedule, LocationPriceRequestSchema, LocationQuantityRequestSchema, LocationPriceQuantitySuccessResponseSchema, OptInPostRequestSchema, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponseSchema, PTErrorResponseSchema, Page, PageResponseSchema, PageResponseType, Price, ProductListingDetailPrice, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponseSchema, PriceStrategySchema, PriceFactoryResponseSchema, Product, ProductAttributesResponseSchema, ProductBrand, ProductBulkAssets, ProductBulkRequestSchema, ProductBulkRequestList, ProductConfigurationDownloads, ProductCreateSchemaV3, ProductUpdateSchemaV3, ProductPatchSchemaV3, ProductSizePatch, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponseSchema, CollectionProductFilters, ProductFilters, GetQueryFiltersValuesResponseSchema, ProductFiltersKeysOnly, ProductFiltersKey, ProductQueryFiltersValue, CollectionProductFiltersValue, ProductFiltersValue, CollectionProductListingDetail, ProductCategory, ApplicationCategoryAction, ApplicationCategoryItem, ApplicationProductMedia, ApplicationProductCategoryItem, CategoryPageAction, CategoryQuery, CategoryImage, ProductListingDetail, ActionObject, PageAction, ProductListingPrice, ProductListingResponseSchema, ProductListingResponseV2, ProductPublish, ProductPublished, ProductReturnConfigSchema, ProductReturnConfigBaseSchema, Identifier, SizeDetails, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponseSchema, ProductSizeDeleteResponseSchema, CollectionProductSortOn, ProductSortOn, ProductTagsViewResponseSchema, CreatedBy, ModifiedBy, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequestSchema, ProductTemplateExportResponseSchema, ProductVariants, ProductVariantsResponseSchema, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, InventoryReturnConfig, ReturnConfig2, ReturnConfigResponseSchema, Sitemap, PageQuery, ApplicationCollectionItemSeoPage, ApplicationCollectionItemSeoAction, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationCollectionItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, CollectionSeoDetail, SeoDetail, SetSize, SingleCategoryResponseSchema, SingleProductResponseSchema, Size, SizeDistribution, SizeGuideResponseSchema, StoreDetail, StoreMeta, SuccessResponseSchema, SuccessResponseObject, TaxIdentifier, TaxIdentifierV3, TaxSlab, TeaserTag, TemplateDetails, TemplateGlobalValidationData, TemplateValidationData, TemplatesResponseSchema, TemplatesGlobalValidationResponseSchema, TemplatesValidationResponseSchema, ThirdLevelChild, Trader, Trader1, TraderResponseSchema, UpdateCollection, UpdateSearchConfigurationRequestSchema, UpdateSearchConfigurationResponseSchema, CreateMarketplaceOptinResponseSchema, UserCommon, UserDetail, UserDetail1, UserInfo, UserSchema, RequestUserSchema, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponseSchema, InventoryWeightResponseSchema, BulkInventoryJob, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequestSchema, UpdateMarketplaceOptinResponseSchema, Filters, FollowedProducts, FollowProduct, TaxReqBodyRule, TaxThreshold, TaxComponent, TaxComponentResponseSchema, TaxComponentName, CreateTaxComponentNameRequestSchema, TaxReqBodyVersion, TaxGeoArea, AreaDetails, Country, Area, RegionReference, CreateTaxRequestBody, TaxVersion, UpdateTaxVersionRequestBody, CreateTaxVersionRequestBody, TaxRule, TaxVersionDetail, CreateTax, UpdateTaxRequestBody, TaxRuleItem, TaxRules, TaxVersionPastData, TaxRuleVersion, HSCodeItem, HSCodes, GetTaxComponents, PriceFactoryListItemsSchema, PriceFactoryListResponseSchema, CreatePriceFactoryConfigSchema, UpdatePriceFactoryConfigSchema, PriceFactoryConfigSchema, CurrencyPriceSchema, UpsertPriceFactorySizesSchema, UpsertPriceFactoryProductSchema, PriceFactoryCurrencyPriceSchema, PriceFactorySizesSchema, PriceFactoryProductResponseSchema, PriceFactoryProductListResponseSchema, PriceRange, CurrencyPrice, ProductPrice, AppProductPricesSchema, ActionPage, ValidationError, Price1, MultiCategoriesSchema, NetQuantitySchema, CustomMeta, TaxStatusEnum, TaxVersionScopeEnum, HsTypeEnum, PageType };
5001
5065
  }
5066
+ /** @returns {InventoryTransaction} */
5067
+ declare function InventoryTransaction(): InventoryTransaction;
5068
+ type InventoryTransaction = {
5069
+ /**
5070
+ * - Reason category for the inventory change.
5071
+ */
5072
+ type?: string;
5073
+ /**
5074
+ * - External transaction reference id (e.g.
5075
+ * inbound / PO / transfer id).
5076
+ */
5077
+ reference_id?: string;
5078
+ /**
5079
+ * - Free-text reason for the inventory change.
5080
+ */
5081
+ reason?: string;
5082
+ /**
5083
+ * - Origin system of the change.
5084
+ */
5085
+ source?: string;
5086
+ /**
5087
+ * - Reference to the user who initiated the change.
5088
+ */
5089
+ user_ref?: string;
5090
+ };
5002
5091
  /** @returns {Action} */
5003
5092
  declare function Action(): Action;
5004
5093
  type Action = {
@@ -8191,6 +8280,18 @@ type GetAddressSchema = {
8191
8280
  */
8192
8281
  state?: string;
8193
8282
  };
8283
+ /** @returns {RegionDetailsSchema} */
8284
+ declare function RegionDetailsSchema(): RegionDetailsSchema;
8285
+ type RegionDetailsSchema = {
8286
+ /**
8287
+ * - Base region slug.
8288
+ */
8289
+ slug?: string;
8290
+ /**
8291
+ * - Zone or cluster slug.
8292
+ */
8293
+ zone?: string;
8294
+ };
8194
8295
  /** @returns {GetAllSizes} */
8195
8296
  declare function GetAllSizes(): GetAllSizes;
8196
8297
  type GetAllSizes = {
@@ -8394,6 +8495,13 @@ type GetCompanySchema = {
8394
8495
  * - The registered name of the company.
8395
8496
  */
8396
8497
  name?: string;
8498
+ /**
8499
+ * - Deployment region slug for the company profile.
8500
+ * When the zone is default, this is the region slug; otherwise it is
8501
+ * formatted as region/zone.
8502
+ */
8503
+ region?: string;
8504
+ region_details?: RegionDetailsSchema;
8397
8505
  /**
8398
8506
  * - If applicable, the reason why the
8399
8507
  * company's application or status was rejected.
@@ -9491,6 +9599,19 @@ type InventoryBulkRequestSchema = {
9491
9599
  company_id: number;
9492
9600
  sizes: InventoryJobPayload[];
9493
9601
  user?: any;
9602
+ /**
9603
+ * - Reason for the bulk inventory update.
9604
+ * Recorded in the audit-trail event; per-row values on
9605
+ * `sizes[].transaction_type` override this top-level value. Optional;
9606
+ * defaults to "other" when omitted.
9607
+ */
9608
+ transaction_type?: string;
9609
+ /**
9610
+ * - Audit transaction context;
9611
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
9612
+ * All fields optional; recorded in the audit-trail event.
9613
+ */
9614
+ transaction?: InventoryTransaction;
9494
9615
  };
9495
9616
  /** @returns {InventoryConfig} */
9496
9617
  declare function InventoryConfig(): InventoryConfig;
@@ -9831,6 +9952,18 @@ type InventoryJobPayload = {
9831
9952
  * - The trace ID of the inventory job payload.
9832
9953
  */
9833
9954
  trace_id?: string;
9955
+ /**
9956
+ * - Reason for this row's inventory
9957
+ * update. Recorded in the audit-trail event. Overrides the request-level
9958
+ * `transaction_type` when both are present. Optional.
9959
+ */
9960
+ transaction_type?: string;
9961
+ /**
9962
+ * - Audit transaction context;
9963
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
9964
+ * All fields optional; recorded in the audit-trail event.
9965
+ */
9966
+ transaction?: InventoryTransaction;
9834
9967
  };
9835
9968
  /** @returns {InventoryPage} */
9836
9969
  declare function InventoryPage(): InventoryPage;
@@ -9879,6 +10012,10 @@ type InventoryPayload = {
9879
10012
  * - The marked price of the inventory item.
9880
10013
  */
9881
10014
  price_marked?: number;
10015
+ /**
10016
+ * - The cost price of the article.
10017
+ */
10018
+ price_cost?: number;
9882
10019
  /**
9883
10020
  * - The identifier of the seller.
9884
10021
  */
@@ -9913,6 +10050,18 @@ type InventoryPayload = {
9913
10050
  */
9914
10051
  trace_id?: string;
9915
10052
  meta?: any;
10053
+ /**
10054
+ * - Reason for this row's inventory
10055
+ * update. Recorded in the audit-trail event. Overrides the request-level
10056
+ * `transaction_type` when both are present. Optional.
10057
+ */
10058
+ transaction_type?: string;
10059
+ /**
10060
+ * - Audit transaction context;
10061
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
10062
+ * All fields optional; recorded in the audit-trail event.
10063
+ */
10064
+ transaction?: InventoryTransaction;
9916
10065
  };
9917
10066
  /** @returns {InventoryRequestSchema} */
9918
10067
  declare function InventoryRequestSchema(): InventoryRequestSchema;
@@ -9920,6 +10069,18 @@ type InventoryRequestSchema = {
9920
10069
  company_id: number;
9921
10070
  item: ItemQuery;
9922
10071
  sizes: InvSize[];
10072
+ /**
10073
+ * - Reason for the inventory update.
10074
+ * Recorded in the audit-trail event for the resulting article mutation.
10075
+ * Optional; defaults to "other" when omitted.
10076
+ */
10077
+ transaction_type?: string;
10078
+ /**
10079
+ * - Audit transaction context;
10080
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
10081
+ * All fields optional; recorded in the audit-trail event.
10082
+ */
10083
+ transaction?: InventoryTransaction;
9923
10084
  };
9924
10085
  /** @returns {InventoryRequestSchemaV2} */
9925
10086
  declare function InventoryRequestSchemaV2(): InventoryRequestSchemaV2;
@@ -9936,6 +10097,19 @@ type InventoryRequestSchemaV2 = {
9936
10097
  * - The list of inventory payloads.
9937
10098
  */
9938
10099
  payload?: InventoryPayload[];
10100
+ /**
10101
+ * - Reason for the inventory update.
10102
+ * Recorded in the audit-trail event for the resulting article mutation;
10103
+ * per-row values on `payload[].transaction_type` override this top-level
10104
+ * value. Optional; defaults to "other" when omitted.
10105
+ */
10106
+ transaction_type?: string;
10107
+ /**
10108
+ * - Audit transaction context;
10109
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
10110
+ * All fields optional; recorded in the audit-trail event.
10111
+ */
10112
+ transaction?: InventoryTransaction;
9939
10113
  };
9940
10114
  /** @returns {InventoryResponseSchema} */
9941
10115
  declare function InventoryResponseSchema(): InventoryResponseSchema;
@@ -10846,10 +11020,26 @@ type LocationPriceRequestSchema = {
10846
11020
  * - The marked price of the inventory item.
10847
11021
  */
10848
11022
  price_marked: number;
11023
+ /**
11024
+ * - The cost price of the article.
11025
+ */
11026
+ price_cost?: number;
10849
11027
  /**
10850
11028
  * - Tags associated with inventory item.
10851
11029
  */
10852
11030
  tags?: string[];
11031
+ /**
11032
+ * - Reason for the price update. Recorded
11033
+ * in the audit-trail event for the resulting article mutation. Optional;
11034
+ * defaults to "other" when omitted.
11035
+ */
11036
+ transaction_type?: string;
11037
+ /**
11038
+ * - Audit transaction context;
11039
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
11040
+ * All fields optional; recorded in the audit-trail event.
11041
+ */
11042
+ transaction?: InventoryTransaction;
10853
11043
  };
10854
11044
  /** @returns {LocationQuantityRequestSchema} */
10855
11045
  declare function LocationQuantityRequestSchema(): LocationQuantityRequestSchema;
@@ -10880,6 +11070,18 @@ type LocationQuantityRequestSchema = {
10880
11070
  * - Indicates whether delta or replace operation for inventory
10881
11071
  */
10882
11072
  mode?: string;
11073
+ /**
11074
+ * - Reason for the quantity update.
11075
+ * Recorded in the audit-trail event for the resulting article mutation.
11076
+ * Optional; defaults to "other" when omitted.
11077
+ */
11078
+ transaction_type?: string;
11079
+ /**
11080
+ * - Audit transaction context;
11081
+ * supersedes the flat `transaction_type` (its `type` carries the same value).
11082
+ * All fields optional; recorded in the audit-trail event.
11083
+ */
11084
+ transaction?: InventoryTransaction;
10883
11085
  };
10884
11086
  /** @returns {LocationPriceQuantitySuccessResponseSchema} */
10885
11087
  declare function LocationPriceQuantitySuccessResponseSchema(): LocationPriceQuantitySuccessResponseSchema;