@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +14 -14
- package/sdk/application/Cart/CartApplicationClient.js +14 -14
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationClient.js +53 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +136 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +46 -33
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +41 -25
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +417 -3811
- package/sdk/platform/Billing/BillingPlatformModel.js +292 -2544
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -34
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +34 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +363 -29
- package/sdk/platform/Cart/CartPlatformModel.js +203 -31
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +220 -200
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +121 -91
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +58 -46
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -51
- package/sdk/platform/Catalog/CatalogPlatformClient.js +79 -400
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +22 -228
- package/sdk/platform/Catalog/CatalogPlatformModel.js +12 -163
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +15 -61
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -65
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +4 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +10 -14
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +94 -30
- package/sdk/platform/Communication/CommunicationPlatformModel.js +110 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +33 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +62 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +11 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +5 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +12 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +12 -10
- package/sdk/platform/Content/ContentPlatformModel.d.ts +42 -12
- package/sdk/platform/Content/ContentPlatformModel.js +43 -13
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Order/OrderPlatformClient.d.ts +21 -21
- package/sdk/platform/Order/OrderPlatformClient.js +21 -21
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1010 -80
- package/sdk/platform/Order/OrderPlatformModel.js +665 -70
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +31 -4
- package/sdk/platform/Payment/PaymentPlatformModel.js +11 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +24 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +194 -23
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +116 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +23 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +16 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +10 -12
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +45 -49
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +12 -12
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
- package/sdk/public/Billing/BillingPublicClient.js +0 -397
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
- package/sdk/public/Billing/BillingPublicModel.js +0 -560
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
- package/sdk/public/Billing/BillingPublicValidator.js +0 -50
|
@@ -331,7 +331,15 @@ export = ServiceabilityPlatformModel;
|
|
|
331
331
|
* @property {string} [type]
|
|
332
332
|
* @property {PincodeLatLongData} [lat_long]
|
|
333
333
|
* @property {string} [parent_uid]
|
|
334
|
+
* @property {string} [code]
|
|
334
335
|
* @property {LocalityParent[]} [localities]
|
|
336
|
+
* @property {string} [iso2] - ISO 3166-1 alpha-2 code for the country.
|
|
337
|
+
* @property {string} [iso3] - ISO 3166-1 alpha-3 code for the country.
|
|
338
|
+
* @property {Object} [currency] - Currency information for the country.
|
|
339
|
+
* @property {string} [phone_code] - Country's international phone dialing code.
|
|
340
|
+
* @property {Object} [hierarchy] - Hierarchical data of the country's location.
|
|
341
|
+
* @property {string} [latitude] - Latitude of the country's geographic center.
|
|
342
|
+
* @property {string} [longitude] - Longitude of the country's geographic center.
|
|
335
343
|
*/
|
|
336
344
|
/**
|
|
337
345
|
* @typedef GetLocalities
|
|
@@ -347,7 +355,15 @@ export = ServiceabilityPlatformModel;
|
|
|
347
355
|
* @property {string[]} [parent_ids]
|
|
348
356
|
* @property {string} [type]
|
|
349
357
|
* @property {Object} [serviceability]
|
|
358
|
+
* @property {string} [code]
|
|
350
359
|
* @property {string} [parent_uid]
|
|
360
|
+
* @property {string} [iso2] - ISO 3166-1 alpha-2 code for the country.
|
|
361
|
+
* @property {string} [iso3] - ISO 3166-1 alpha-3 code for the country.
|
|
362
|
+
* @property {Object} [currency] - Currency information for the country.
|
|
363
|
+
* @property {string} [phone_code] - Country's international phone dialing code.
|
|
364
|
+
* @property {Object} [hierarchy] - Hierarchical data of the country's location.
|
|
365
|
+
* @property {string} [latitude] - Latitude of the country's geographic center.
|
|
366
|
+
* @property {string} [longitude] - Longitude of the country's geographic center.
|
|
351
367
|
*/
|
|
352
368
|
/**
|
|
353
369
|
* @typedef GetLocality
|
|
@@ -358,6 +374,7 @@ export = ServiceabilityPlatformModel;
|
|
|
358
374
|
* @property {string[]} [parent_ids]
|
|
359
375
|
* @property {string} [parent_uid]
|
|
360
376
|
* @property {string} [type]
|
|
377
|
+
* @property {string} [code]
|
|
361
378
|
* @property {LocalityParent[]} [localities]
|
|
362
379
|
*/
|
|
363
380
|
/**
|
|
@@ -576,11 +593,15 @@ export = ServiceabilityPlatformModel;
|
|
|
576
593
|
* @property {string} zone_id
|
|
577
594
|
* @property {string} name
|
|
578
595
|
* @property {string} type
|
|
596
|
+
* @property {string} access_level - Access level of the zone (public or private).
|
|
579
597
|
* @property {GeoArea[]} geo_areas
|
|
580
598
|
* @property {string} slug
|
|
581
|
-
* @property {ListViewProductV2} stores
|
|
599
|
+
* @property {ListViewProductV2} [stores]
|
|
582
600
|
* @property {boolean} is_active
|
|
583
|
-
* @property {
|
|
601
|
+
* @property {boolean} is_opted - Indicates whether the zone is opted or not.
|
|
602
|
+
* @property {boolean} [is_public_opted] - Indicates whether the public zone is
|
|
603
|
+
* opted by any seller or not
|
|
604
|
+
* @property {ListViewProductV2} [product]
|
|
584
605
|
* @property {number} company_id
|
|
585
606
|
* @property {string} application_id
|
|
586
607
|
* @property {string} created_by
|
|
@@ -590,6 +611,10 @@ export = ServiceabilityPlatformModel;
|
|
|
590
611
|
* @property {string} [stage]
|
|
591
612
|
* @property {Summary} [summary]
|
|
592
613
|
*/
|
|
614
|
+
/**
|
|
615
|
+
* @typedef SummaryRegions
|
|
616
|
+
* @property {RegionSchema[]} [regions]
|
|
617
|
+
*/
|
|
593
618
|
/**
|
|
594
619
|
* @typedef Summary
|
|
595
620
|
* @property {number} [stores_count]
|
|
@@ -675,11 +700,13 @@ export = ServiceabilityPlatformModel;
|
|
|
675
700
|
* @property {string} [zone_id]
|
|
676
701
|
* @property {string} [name]
|
|
677
702
|
* @property {string} [type]
|
|
703
|
+
* @property {string} [access_level] - Access level of the zone (public or private).
|
|
678
704
|
* @property {string} [slug]
|
|
679
705
|
* @property {string[]} [geo_areas]
|
|
680
706
|
* @property {number} [company_id]
|
|
681
707
|
* @property {string} [application_id]
|
|
682
708
|
* @property {boolean} [is_active]
|
|
709
|
+
* @property {boolean} [is_opted] - Indicates whether the zone is opted or not.
|
|
683
710
|
* @property {ProductSchema} [product]
|
|
684
711
|
* @property {StoresSchema} [stores]
|
|
685
712
|
*/
|
|
@@ -689,8 +716,10 @@ export = ServiceabilityPlatformModel;
|
|
|
689
716
|
* @property {string} slug
|
|
690
717
|
* @property {number} company_id
|
|
691
718
|
* @property {string} type
|
|
719
|
+
* @property {string} access_level - Access level of the zone (public or private).
|
|
692
720
|
* @property {string} application_id
|
|
693
721
|
* @property {boolean} is_active
|
|
722
|
+
* @property {boolean} is_opted - Indicates whether the zone is opted or not.
|
|
694
723
|
* @property {string[]} geo_areas
|
|
695
724
|
* @property {ProductSchema} product
|
|
696
725
|
* @property {StoresSchema} stores
|
|
@@ -699,6 +728,8 @@ export = ServiceabilityPlatformModel;
|
|
|
699
728
|
* @property {string} created_on
|
|
700
729
|
* @property {string} modified_by
|
|
701
730
|
* @property {string} modified_on
|
|
731
|
+
* @property {string} [stage]
|
|
732
|
+
* @property {Summary} [summary]
|
|
702
733
|
*/
|
|
703
734
|
/**
|
|
704
735
|
* @typedef ZoneDeleteSuccessResponse
|
|
@@ -753,8 +784,9 @@ export = ServiceabilityPlatformModel;
|
|
|
753
784
|
* @property {string} name
|
|
754
785
|
* @property {string} slug
|
|
755
786
|
* @property {boolean} is_active
|
|
756
|
-
* @property {
|
|
757
|
-
* @property {
|
|
787
|
+
* @property {boolean} [is_opted]
|
|
788
|
+
* @property {ProductSchema} [product]
|
|
789
|
+
* @property {StoresSchema} [stores]
|
|
758
790
|
* @property {string} [created_by]
|
|
759
791
|
* @property {string} [created_on]
|
|
760
792
|
* @property {string} [modified_by]
|
|
@@ -771,13 +803,15 @@ export = ServiceabilityPlatformModel;
|
|
|
771
803
|
* @property {string} name - Name of the zone.
|
|
772
804
|
* @property {string} slug - URL-friendly version of the zone name.
|
|
773
805
|
* @property {boolean} is_active - Indicates whether the zone is active.
|
|
774
|
-
* @property {
|
|
775
|
-
* @property {
|
|
806
|
+
* @property {boolean} [is_opted] - Indicates whether the zone is opted or not.
|
|
807
|
+
* @property {ProductDetailsSchema} [product]
|
|
808
|
+
* @property {StoresDetailsSchema} [stores]
|
|
776
809
|
* @property {string} [stage] - Current stage of the zone in its lifecycle.
|
|
777
810
|
* @property {string} [overlapping_file_url] - URL of the file containing
|
|
778
811
|
* overlapping zone information.
|
|
779
812
|
* @property {GeoAreaDetailsSchema[]} geo_areas
|
|
780
813
|
* @property {string} type - Type of the zone (custom or default).
|
|
814
|
+
* @property {string} [access_level] - Access level of the zone (public or private).
|
|
781
815
|
* @property {string[]} [overlapping_zone_names] - List of names of overlapping zones.
|
|
782
816
|
*/
|
|
783
817
|
/**
|
|
@@ -790,12 +824,13 @@ export = ServiceabilityPlatformModel;
|
|
|
790
824
|
* @property {boolean} is_active
|
|
791
825
|
* @property {string} slug
|
|
792
826
|
* @property {string} type
|
|
827
|
+
* @property {string} access_level - Access level of zone
|
|
793
828
|
* @property {string} name
|
|
794
829
|
* @property {number} company_id
|
|
795
830
|
* @property {string} application_id
|
|
796
831
|
* @property {string[]} geo_areas
|
|
797
|
-
* @property {ZoneStores} stores
|
|
798
|
-
* @property {ZoneProduct} product
|
|
832
|
+
* @property {ZoneStores} [stores]
|
|
833
|
+
* @property {ZoneProduct} [product]
|
|
799
834
|
*/
|
|
800
835
|
/**
|
|
801
836
|
* @typedef ZoneBulkExport
|
|
@@ -839,17 +874,22 @@ export = ServiceabilityPlatformModel;
|
|
|
839
874
|
* @property {string} slug
|
|
840
875
|
* @property {number} company_id
|
|
841
876
|
* @property {string} type
|
|
877
|
+
* @property {string} access_level - Access level of the zone (public or private).
|
|
842
878
|
* @property {string} application_id
|
|
843
879
|
* @property {boolean} is_active
|
|
880
|
+
* @property {boolean} [is_public_opted] - Indicates whether the public zone is
|
|
881
|
+
* opted by any seller or not
|
|
882
|
+
* @property {boolean} [is_opted] - Indicates whether the zone is opted or not.
|
|
844
883
|
* @property {string[]} geo_areas
|
|
845
|
-
* @property {ListViewProductV2} stores
|
|
846
|
-
* @property {ListViewProductV2} product
|
|
884
|
+
* @property {ListViewProductV2} [stores]
|
|
885
|
+
* @property {ListViewProductV2} [product]
|
|
847
886
|
* @property {string} created_by
|
|
848
887
|
* @property {string} created_on
|
|
849
888
|
* @property {string} modified_by
|
|
850
889
|
* @property {string} modified_on
|
|
851
|
-
* @property {string} stage
|
|
890
|
+
* @property {string} [stage]
|
|
852
891
|
* @property {string} zone_id
|
|
892
|
+
* @property {SummaryRegions} [summary]
|
|
853
893
|
*/
|
|
854
894
|
/**
|
|
855
895
|
* @typedef CreateBulkZoneResponse
|
|
@@ -1084,6 +1124,10 @@ export = ServiceabilityPlatformModel;
|
|
|
1084
1124
|
* @typedef ServiceabilityZoneErrorResult
|
|
1085
1125
|
* @property {ServiceabilityErrorResponse[]} error
|
|
1086
1126
|
*/
|
|
1127
|
+
/**
|
|
1128
|
+
* @typedef ServiceabilityZoneNonMarketplaceErrorResult
|
|
1129
|
+
* @property {string} error
|
|
1130
|
+
*/
|
|
1087
1131
|
/**
|
|
1088
1132
|
* @typedef ReAssignStoreResponse
|
|
1089
1133
|
* @property {string} to_pincode
|
|
@@ -2051,7 +2095,7 @@ export = ServiceabilityPlatformModel;
|
|
|
2051
2095
|
declare class ServiceabilityPlatformModel {
|
|
2052
2096
|
}
|
|
2053
2097
|
declare namespace ServiceabilityPlatformModel {
|
|
2054
|
-
export { RuleConditionIntegerDetail, RuleConditionStringDetail, RuleResponseIntegerDetail, RuleResponseStringDetail, CourierPartnerRuleResponseDetailConditions, CourierPartnerRuleResponseDetailSchema, StoreLocationDetail, StoreRuleLocationDetailSchema, StoreRuleConditionDetailSchema, StoreRuleDataDetailsSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse, ArticleAssignment, OptimalLocationsArticles, ServiceabilityLocation, LocationDetailsServiceability, OptimlLocationsRequestSchema, ErrorResponseV3, ErrorObject, ValidateAddressRequest, CountryObject, GetCountries, CurrencyObject, CountryHierarchy, GetCountry, GetCountryFields, GetCountryFieldsAddressTemplate, FieldValidation, FieldValidationRegex, LengthValidation, GetOneOrAllQuery, GetOneOrAllPath, GetOneOrAllParams, GetOneOrAll, GetCountryFieldsAddressValues, GetCountryFieldsAddress, PincodeLatLongData, Localities, GetLocalities, LocalityParent, GetLocality, ApplicationConfigPutResponse, PromiseType, BuyboxRuleConfig, CourierPartnerConfig, ZoneConfig, ApplicationConfigGetResponse, ApplicationConfigPutRequest, InstallCourierPartnerItemsSchema, InstallCourierPartnerResponseSchema, UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ProductSchema, ProductDetailsSchema, StoresSchema, StoresDetailsSchema, DetailsSchema, StoreValueDetailsSchema, SummarySchema, RegionSchema, ServiceabilityDeleteErrorResponse, ListViewResponseV2, ListViewItemsV2, Summary, GeoArea, ListViewProductV2, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneDataV2, ZoneUpdateSuccessResponse, ZoneDeleteSuccessResponse, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, GetZoneByIdDetailsSchema, GeoAreaDetailsSchema, CreateZoneV2Data, ZoneBulkExport, GetZoneBulkExport, ZoneBulkItem, CreateBulkZoneData, ZoneStores, ZoneProduct, ZoneResponseV2, CreateBulkZoneResponse, GetBulkZoneHistory, BulkZoneItems, PageV2, BulkCreateZoneExport, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, ReAssignStoreRequest, ServiceabilityZoneErrorResult, ReAssignStoreResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, MoPCommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodDataSchema, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResponse, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, ErrorResponseItem, ConflictingArea, GeoAreaResponseDetail, ErrorResponseDetail, GeoAreaResponseBody, GeoAreaPutResponseBody, Area, Region, RegionV2, Country, AreaExpanded, AreaExpandedV2, GeoAreaResponse, GeoAreaGetResponseBody, GeoAreaItemResponse, ErrorResponseV2, ErrorResponse, PackageMaterialNotFound, PackageMaterialsErrorResponse, CourierPartnerAccountFailureResponse, Page, Page2, CourierPartnerList, LocationRuleValues, LocationRuleValuesV2, LocationRule, LocationRuleV2, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRuleResponseConditions, CourierPartnerRule, CourierPartnerRuleResponse, CourierPartnerRuleResponseSchema, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, PromiseConfig, ApplicationConfig, ApplicationConfigPatchRequest, ApplicationConfigPatchResponse, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierAccountSchemeResponse, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageMpStores, PackageRuleRequest, PackageRule, PackageRuleResult, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageRuleProductAttributes, PackageRuleDepartmentId, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, CompanySelfShip, ArithmeticOperationsV2, CompanyConfigurationShema, ValidationError };
|
|
2098
|
+
export { RuleConditionIntegerDetail, RuleConditionStringDetail, RuleResponseIntegerDetail, RuleResponseStringDetail, CourierPartnerRuleResponseDetailConditions, CourierPartnerRuleResponseDetailSchema, StoreLocationDetail, StoreRuleLocationDetailSchema, StoreRuleConditionDetailSchema, StoreRuleDataDetailsSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse, ArticleAssignment, OptimalLocationsArticles, ServiceabilityLocation, LocationDetailsServiceability, OptimlLocationsRequestSchema, ErrorResponseV3, ErrorObject, ValidateAddressRequest, CountryObject, GetCountries, CurrencyObject, CountryHierarchy, GetCountry, GetCountryFields, GetCountryFieldsAddressTemplate, FieldValidation, FieldValidationRegex, LengthValidation, GetOneOrAllQuery, GetOneOrAllPath, GetOneOrAllParams, GetOneOrAll, GetCountryFieldsAddressValues, GetCountryFieldsAddress, PincodeLatLongData, Localities, GetLocalities, LocalityParent, GetLocality, ApplicationConfigPutResponse, PromiseType, BuyboxRuleConfig, CourierPartnerConfig, ZoneConfig, ApplicationConfigGetResponse, ApplicationConfigPutRequest, InstallCourierPartnerItemsSchema, InstallCourierPartnerResponseSchema, UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ProductSchema, ProductDetailsSchema, StoresSchema, StoresDetailsSchema, DetailsSchema, StoreValueDetailsSchema, SummarySchema, RegionSchema, ServiceabilityDeleteErrorResponse, ListViewResponseV2, ListViewItemsV2, SummaryRegions, Summary, GeoArea, ListViewProductV2, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneDataV2, ZoneUpdateSuccessResponse, ZoneDeleteSuccessResponse, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, GetZoneByIdDetailsSchema, GeoAreaDetailsSchema, CreateZoneV2Data, ZoneBulkExport, GetZoneBulkExport, ZoneBulkItem, CreateBulkZoneData, ZoneStores, ZoneProduct, ZoneResponseV2, CreateBulkZoneResponse, GetBulkZoneHistory, BulkZoneItems, PageV2, BulkCreateZoneExport, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, ReAssignStoreRequest, ServiceabilityZoneErrorResult, ServiceabilityZoneNonMarketplaceErrorResult, ReAssignStoreResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, MoPCommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodDataSchema, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResponse, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, ErrorResponseItem, ConflictingArea, GeoAreaResponseDetail, ErrorResponseDetail, GeoAreaResponseBody, GeoAreaPutResponseBody, Area, Region, RegionV2, Country, AreaExpanded, AreaExpandedV2, GeoAreaResponse, GeoAreaGetResponseBody, GeoAreaItemResponse, ErrorResponseV2, ErrorResponse, PackageMaterialNotFound, PackageMaterialsErrorResponse, CourierPartnerAccountFailureResponse, Page, Page2, CourierPartnerList, LocationRuleValues, LocationRuleValuesV2, LocationRule, LocationRuleV2, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRuleResponseConditions, CourierPartnerRule, CourierPartnerRuleResponse, CourierPartnerRuleResponseSchema, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, PromiseConfig, ApplicationConfig, ApplicationConfigPatchRequest, ApplicationConfigPatchResponse, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierAccountSchemeResponse, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageMpStores, PackageRuleRequest, PackageRule, PackageRuleResult, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageRuleProductAttributes, PackageRuleDepartmentId, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, CompanySelfShip, ArithmeticOperationsV2, CompanyConfigurationShema, ValidationError };
|
|
2055
2099
|
}
|
|
2056
2100
|
/** @returns {RuleConditionIntegerDetail} */
|
|
2057
2101
|
declare function RuleConditionIntegerDetail(): RuleConditionIntegerDetail;
|
|
@@ -2490,7 +2534,36 @@ type Localities = {
|
|
|
2490
2534
|
type?: string;
|
|
2491
2535
|
lat_long?: PincodeLatLongData;
|
|
2492
2536
|
parent_uid?: string;
|
|
2537
|
+
code?: string;
|
|
2493
2538
|
localities?: LocalityParent[];
|
|
2539
|
+
/**
|
|
2540
|
+
* - ISO 3166-1 alpha-2 code for the country.
|
|
2541
|
+
*/
|
|
2542
|
+
iso2?: string;
|
|
2543
|
+
/**
|
|
2544
|
+
* - ISO 3166-1 alpha-3 code for the country.
|
|
2545
|
+
*/
|
|
2546
|
+
iso3?: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* - Currency information for the country.
|
|
2549
|
+
*/
|
|
2550
|
+
currency?: any;
|
|
2551
|
+
/**
|
|
2552
|
+
* - Country's international phone dialing code.
|
|
2553
|
+
*/
|
|
2554
|
+
phone_code?: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* - Hierarchical data of the country's location.
|
|
2557
|
+
*/
|
|
2558
|
+
hierarchy?: any;
|
|
2559
|
+
/**
|
|
2560
|
+
* - Latitude of the country's geographic center.
|
|
2561
|
+
*/
|
|
2562
|
+
latitude?: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* - Longitude of the country's geographic center.
|
|
2565
|
+
*/
|
|
2566
|
+
longitude?: string;
|
|
2494
2567
|
};
|
|
2495
2568
|
/** @returns {GetLocalities} */
|
|
2496
2569
|
declare function GetLocalities(): GetLocalities;
|
|
@@ -2508,7 +2581,36 @@ type LocalityParent = {
|
|
|
2508
2581
|
parent_ids?: string[];
|
|
2509
2582
|
type?: string;
|
|
2510
2583
|
serviceability?: any;
|
|
2584
|
+
code?: string;
|
|
2511
2585
|
parent_uid?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* - ISO 3166-1 alpha-2 code for the country.
|
|
2588
|
+
*/
|
|
2589
|
+
iso2?: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* - ISO 3166-1 alpha-3 code for the country.
|
|
2592
|
+
*/
|
|
2593
|
+
iso3?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* - Currency information for the country.
|
|
2596
|
+
*/
|
|
2597
|
+
currency?: any;
|
|
2598
|
+
/**
|
|
2599
|
+
* - Country's international phone dialing code.
|
|
2600
|
+
*/
|
|
2601
|
+
phone_code?: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* - Hierarchical data of the country's location.
|
|
2604
|
+
*/
|
|
2605
|
+
hierarchy?: any;
|
|
2606
|
+
/**
|
|
2607
|
+
* - Latitude of the country's geographic center.
|
|
2608
|
+
*/
|
|
2609
|
+
latitude?: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* - Longitude of the country's geographic center.
|
|
2612
|
+
*/
|
|
2613
|
+
longitude?: string;
|
|
2512
2614
|
};
|
|
2513
2615
|
/** @returns {GetLocality} */
|
|
2514
2616
|
declare function GetLocality(): GetLocality;
|
|
@@ -2520,6 +2622,7 @@ type GetLocality = {
|
|
|
2520
2622
|
parent_ids?: string[];
|
|
2521
2623
|
parent_uid?: string;
|
|
2522
2624
|
type?: string;
|
|
2625
|
+
code?: string;
|
|
2523
2626
|
localities?: LocalityParent[];
|
|
2524
2627
|
};
|
|
2525
2628
|
/** @returns {ApplicationConfigPutResponse} */
|
|
@@ -2812,11 +2915,24 @@ type ListViewItemsV2 = {
|
|
|
2812
2915
|
zone_id: string;
|
|
2813
2916
|
name: string;
|
|
2814
2917
|
type: string;
|
|
2918
|
+
/**
|
|
2919
|
+
* - Access level of the zone (public or private).
|
|
2920
|
+
*/
|
|
2921
|
+
access_level: string;
|
|
2815
2922
|
geo_areas: GeoArea[];
|
|
2816
2923
|
slug: string;
|
|
2817
|
-
stores
|
|
2924
|
+
stores?: ListViewProductV2;
|
|
2818
2925
|
is_active: boolean;
|
|
2819
|
-
|
|
2926
|
+
/**
|
|
2927
|
+
* - Indicates whether the zone is opted or not.
|
|
2928
|
+
*/
|
|
2929
|
+
is_opted: boolean;
|
|
2930
|
+
/**
|
|
2931
|
+
* - Indicates whether the public zone is
|
|
2932
|
+
* opted by any seller or not
|
|
2933
|
+
*/
|
|
2934
|
+
is_public_opted?: boolean;
|
|
2935
|
+
product?: ListViewProductV2;
|
|
2820
2936
|
company_id: number;
|
|
2821
2937
|
application_id: string;
|
|
2822
2938
|
created_by: string;
|
|
@@ -2826,6 +2942,11 @@ type ListViewItemsV2 = {
|
|
|
2826
2942
|
stage?: string;
|
|
2827
2943
|
summary?: Summary;
|
|
2828
2944
|
};
|
|
2945
|
+
/** @returns {SummaryRegions} */
|
|
2946
|
+
declare function SummaryRegions(): SummaryRegions;
|
|
2947
|
+
type SummaryRegions = {
|
|
2948
|
+
regions?: RegionSchema[];
|
|
2949
|
+
};
|
|
2829
2950
|
/** @returns {Summary} */
|
|
2830
2951
|
declare function Summary(): Summary;
|
|
2831
2952
|
type Summary = {
|
|
@@ -2925,11 +3046,19 @@ type UpdateZoneDataV2 = {
|
|
|
2925
3046
|
zone_id?: string;
|
|
2926
3047
|
name?: string;
|
|
2927
3048
|
type?: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* - Access level of the zone (public or private).
|
|
3051
|
+
*/
|
|
3052
|
+
access_level?: string;
|
|
2928
3053
|
slug?: string;
|
|
2929
3054
|
geo_areas?: string[];
|
|
2930
3055
|
company_id?: number;
|
|
2931
3056
|
application_id?: string;
|
|
2932
3057
|
is_active?: boolean;
|
|
3058
|
+
/**
|
|
3059
|
+
* - Indicates whether the zone is opted or not.
|
|
3060
|
+
*/
|
|
3061
|
+
is_opted?: boolean;
|
|
2933
3062
|
product?: ProductSchema;
|
|
2934
3063
|
stores?: StoresSchema;
|
|
2935
3064
|
};
|
|
@@ -2940,8 +3069,16 @@ type ZoneUpdateSuccessResponse = {
|
|
|
2940
3069
|
slug: string;
|
|
2941
3070
|
company_id: number;
|
|
2942
3071
|
type: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* - Access level of the zone (public or private).
|
|
3074
|
+
*/
|
|
3075
|
+
access_level: string;
|
|
2943
3076
|
application_id: string;
|
|
2944
3077
|
is_active: boolean;
|
|
3078
|
+
/**
|
|
3079
|
+
* - Indicates whether the zone is opted or not.
|
|
3080
|
+
*/
|
|
3081
|
+
is_opted: boolean;
|
|
2945
3082
|
geo_areas: string[];
|
|
2946
3083
|
product: ProductSchema;
|
|
2947
3084
|
stores: StoresSchema;
|
|
@@ -2950,6 +3087,8 @@ type ZoneUpdateSuccessResponse = {
|
|
|
2950
3087
|
created_on: string;
|
|
2951
3088
|
modified_by: string;
|
|
2952
3089
|
modified_on: string;
|
|
3090
|
+
stage?: string;
|
|
3091
|
+
summary?: Summary;
|
|
2953
3092
|
};
|
|
2954
3093
|
/** @returns {ZoneDeleteSuccessResponse} */
|
|
2955
3094
|
declare function ZoneDeleteSuccessResponse(): ZoneDeleteSuccessResponse;
|
|
@@ -3011,8 +3150,9 @@ type GetZoneByIdSchema = {
|
|
|
3011
3150
|
name: string;
|
|
3012
3151
|
slug: string;
|
|
3013
3152
|
is_active: boolean;
|
|
3014
|
-
|
|
3015
|
-
|
|
3153
|
+
is_opted?: boolean;
|
|
3154
|
+
product?: ProductSchema;
|
|
3155
|
+
stores?: StoresSchema;
|
|
3016
3156
|
created_by?: string;
|
|
3017
3157
|
created_on?: string;
|
|
3018
3158
|
modified_by?: string;
|
|
@@ -3042,8 +3182,12 @@ type GetZoneByIdDetailsSchema = {
|
|
|
3042
3182
|
* - Indicates whether the zone is active.
|
|
3043
3183
|
*/
|
|
3044
3184
|
is_active: boolean;
|
|
3045
|
-
|
|
3046
|
-
|
|
3185
|
+
/**
|
|
3186
|
+
* - Indicates whether the zone is opted or not.
|
|
3187
|
+
*/
|
|
3188
|
+
is_opted?: boolean;
|
|
3189
|
+
product?: ProductDetailsSchema;
|
|
3190
|
+
stores?: StoresDetailsSchema;
|
|
3047
3191
|
/**
|
|
3048
3192
|
* - Current stage of the zone in its lifecycle.
|
|
3049
3193
|
*/
|
|
@@ -3058,6 +3202,10 @@ type GetZoneByIdDetailsSchema = {
|
|
|
3058
3202
|
* - Type of the zone (custom or default).
|
|
3059
3203
|
*/
|
|
3060
3204
|
type: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* - Access level of the zone (public or private).
|
|
3207
|
+
*/
|
|
3208
|
+
access_level?: string;
|
|
3061
3209
|
/**
|
|
3062
3210
|
* - List of names of overlapping zones.
|
|
3063
3211
|
*/
|
|
@@ -3081,12 +3229,16 @@ type CreateZoneV2Data = {
|
|
|
3081
3229
|
is_active: boolean;
|
|
3082
3230
|
slug: string;
|
|
3083
3231
|
type: string;
|
|
3232
|
+
/**
|
|
3233
|
+
* - Access level of zone
|
|
3234
|
+
*/
|
|
3235
|
+
access_level: string;
|
|
3084
3236
|
name: string;
|
|
3085
3237
|
company_id: number;
|
|
3086
3238
|
application_id: string;
|
|
3087
3239
|
geo_areas: string[];
|
|
3088
|
-
stores
|
|
3089
|
-
product
|
|
3240
|
+
stores?: ZoneStores;
|
|
3241
|
+
product?: ZoneProduct;
|
|
3090
3242
|
};
|
|
3091
3243
|
/** @returns {ZoneBulkExport} */
|
|
3092
3244
|
declare function ZoneBulkExport(): ZoneBulkExport;
|
|
@@ -3137,17 +3289,31 @@ type ZoneResponseV2 = {
|
|
|
3137
3289
|
slug: string;
|
|
3138
3290
|
company_id: number;
|
|
3139
3291
|
type: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* - Access level of the zone (public or private).
|
|
3294
|
+
*/
|
|
3295
|
+
access_level: string;
|
|
3140
3296
|
application_id: string;
|
|
3141
3297
|
is_active: boolean;
|
|
3298
|
+
/**
|
|
3299
|
+
* - Indicates whether the public zone is
|
|
3300
|
+
* opted by any seller or not
|
|
3301
|
+
*/
|
|
3302
|
+
is_public_opted?: boolean;
|
|
3303
|
+
/**
|
|
3304
|
+
* - Indicates whether the zone is opted or not.
|
|
3305
|
+
*/
|
|
3306
|
+
is_opted?: boolean;
|
|
3142
3307
|
geo_areas: string[];
|
|
3143
|
-
stores
|
|
3144
|
-
product
|
|
3308
|
+
stores?: ListViewProductV2;
|
|
3309
|
+
product?: ListViewProductV2;
|
|
3145
3310
|
created_by: string;
|
|
3146
3311
|
created_on: string;
|
|
3147
3312
|
modified_by: string;
|
|
3148
3313
|
modified_on: string;
|
|
3149
|
-
stage
|
|
3314
|
+
stage?: string;
|
|
3150
3315
|
zone_id: string;
|
|
3316
|
+
summary?: SummaryRegions;
|
|
3151
3317
|
};
|
|
3152
3318
|
/** @returns {CreateBulkZoneResponse} */
|
|
3153
3319
|
declare function CreateBulkZoneResponse(): CreateBulkZoneResponse;
|
|
@@ -3415,6 +3581,11 @@ declare function ServiceabilityZoneErrorResult(): ServiceabilityZoneErrorResult;
|
|
|
3415
3581
|
type ServiceabilityZoneErrorResult = {
|
|
3416
3582
|
error: ServiceabilityErrorResponse[];
|
|
3417
3583
|
};
|
|
3584
|
+
/** @returns {ServiceabilityZoneNonMarketplaceErrorResult} */
|
|
3585
|
+
declare function ServiceabilityZoneNonMarketplaceErrorResult(): ServiceabilityZoneNonMarketplaceErrorResult;
|
|
3586
|
+
type ServiceabilityZoneNonMarketplaceErrorResult = {
|
|
3587
|
+
error: string;
|
|
3588
|
+
};
|
|
3418
3589
|
/** @returns {ReAssignStoreResponse} */
|
|
3419
3590
|
declare function ReAssignStoreResponse(): ReAssignStoreResponse;
|
|
3420
3591
|
type ReAssignStoreResponse = {
|