@deenruv/merchant-plugin 1.0.17-dev.20 → 1.0.17-dev.24

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.
@@ -176,6 +176,15 @@ export const AllTypesProps: Record<string,any> = {
176
176
  },
177
177
  getMerchantPlatformInfo:{
178
178
 
179
+ },
180
+ getMerchantSyncHistory:{
181
+
182
+ },
183
+ chartMetric:{
184
+ input:"ChartMetricInput"
185
+ },
186
+ orderSummaryMetric:{
187
+ input:"OrderSummaryMetricInput"
179
188
  },
180
189
  getInpostOrganizations:{
181
190
  input:"GetInpostOrganizationsInput"
@@ -1465,6 +1474,21 @@ export const AllTypesProps: Record<string,any> = {
1465
1474
  SaveMerchantPlatformSettingInput:{
1466
1475
  entries:"MerchantPlatformSettingInput"
1467
1476
  },
1477
+ MetricRangeType: "enum" as const,
1478
+ MetricIntervalType: "enum" as const,
1479
+ ChartMetricType: "enum" as const,
1480
+ BetterMetricRangeInput:{
1481
+ start:"DateTime",
1482
+ end:"DateTime"
1483
+ },
1484
+ OrderSummaryMetricInput:{
1485
+ range:"BetterMetricRangeInput"
1486
+ },
1487
+ ChartMetricInput:{
1488
+ range:"BetterMetricRangeInput",
1489
+ interval:"MetricIntervalType",
1490
+ types:"ChartMetricType"
1491
+ },
1468
1492
  SetInpostShippingMethodConfigInput:{
1469
1493
 
1470
1494
  },
@@ -1994,6 +2018,10 @@ export const ReturnTypes: Record<string,any> = {
1994
2018
  zone:"Zone",
1995
2019
  getMerchantPlatformSettings:"MerchantPlatformSettingsEntity",
1996
2020
  getMerchantPlatformInfo:"MerchantPlatformInfo",
2021
+ getMerchantSyncHistory:"MerchantSyncRun",
2022
+ additionalOrderStates:"AdditionalOrderState",
2023
+ chartMetric:"ChartMetrics",
2024
+ orderSummaryMetric:"OrderSummaryMetrics",
1997
2025
  getInpostConfig:"InpostConfig",
1998
2026
  getInpostOrganizations:"InpostOrganizationResponse",
1999
2027
  metricSummary:"MetricSummary"
@@ -3902,7 +3930,84 @@ export const ReturnTypes: Record<string,any> = {
3902
3930
  },
3903
3931
  MerchantPlatformInfo:{
3904
3932
  isValidConnection:"Boolean",
3905
- productsCount:"Int"
3933
+ productsCount:"Int",
3934
+ connectionStatus:"String",
3935
+ dataSourceVerified:"Boolean",
3936
+ checkedAt:"DateTime",
3937
+ latencyMs:"Int",
3938
+ disapprovedProductsCount:"Int",
3939
+ issuesCount:"Int",
3940
+ lastError:"MerchantPlatformError",
3941
+ issues:"MerchantProductIssue"
3942
+ },
3943
+ MerchantPlatformError:{
3944
+ code:"String",
3945
+ message:"String",
3946
+ retryable:"Boolean"
3947
+ },
3948
+ MerchantProductIssue:{
3949
+ offerId:"String",
3950
+ code:"String",
3951
+ description:"String",
3952
+ severity:"String"
3953
+ },
3954
+ MerchantSyncItem:{
3955
+ id:"ID",
3956
+ offerId:"String",
3957
+ operation:"String",
3958
+ status:"String",
3959
+ errorCode:"String",
3960
+ errorMessage:"String",
3961
+ attempts:"Int"
3962
+ },
3963
+ MerchantSyncRun:{
3964
+ id:"ID",
3965
+ createdAt:"DateTime",
3966
+ platform:"String",
3967
+ trigger:"String",
3968
+ status:"String",
3969
+ jobId:"String",
3970
+ total:"Int",
3971
+ succeeded:"Int",
3972
+ failed:"Int",
3973
+ errorSummary:"String",
3974
+ startedAt:"DateTime",
3975
+ finishedAt:"DateTime",
3976
+ items:"MerchantSyncItem"
3977
+ },
3978
+ AdditionalOrderState:{
3979
+ state:"String",
3980
+ selectedByDefault:"Boolean"
3981
+ },
3982
+ ChartDataType:{
3983
+ type:"ChartMetricType",
3984
+ title:"String",
3985
+ entries:"ChartEntry"
3986
+ },
3987
+ ChartMetrics:{
3988
+ data:"ChartDataType"
3989
+ },
3990
+ OrderSummaryMetrics:{
3991
+ data:"OrderSummaryDataMetric"
3992
+ },
3993
+ OrderSummaryDataMetric:{
3994
+ currencyCode:"CurrencyCode",
3995
+ total:"Float",
3996
+ totalWithTax:"Float",
3997
+ orderCount:"Float",
3998
+ averageOrderValue:"Float",
3999
+ averageOrderValueWithTax:"Float",
4000
+ productCount:"Float"
4001
+ },
4002
+ ChartEntryAdditionalData:{
4003
+ id:"String",
4004
+ name:"String",
4005
+ quantity:"Float"
4006
+ },
4007
+ ChartEntry:{
4008
+ intervalTick:"Int",
4009
+ value:"Float",
4010
+ additionalData:"ChartEntryAdditionalData"
3906
4011
  },
3907
4012
  InpostConfig:{
3908
4013
  shippingMethodId:"ID",