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

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.
@@ -1,10 +1,10 @@
1
1
  import type { TypedDocumentNode } from "@graphql-typed-document-node/core";
2
2
  export declare const getMerchantPlatformSettings: TypedDocumentNode<{
3
3
  getMerchantPlatformSettings?: {
4
- entries?: {
4
+ entries: {
5
5
  value: string;
6
6
  key: string;
7
- }[] | undefined;
7
+ }[];
8
8
  platform: string;
9
9
  } | undefined;
10
10
  }, {} & {
@@ -116,6 +116,13 @@ export const AllTypesProps = {
116
116
  zone: {},
117
117
  getMerchantPlatformSettings: {},
118
118
  getMerchantPlatformInfo: {},
119
+ getMerchantSyncHistory: {},
120
+ chartMetric: {
121
+ input: "ChartMetricInput"
122
+ },
123
+ orderSummaryMetric: {
124
+ input: "OrderSummaryMetricInput"
125
+ },
119
126
  getInpostOrganizations: {
120
127
  input: "GetInpostOrganizationsInput"
121
128
  },
@@ -1178,6 +1185,21 @@ export const AllTypesProps = {
1178
1185
  SaveMerchantPlatformSettingInput: {
1179
1186
  entries: "MerchantPlatformSettingInput"
1180
1187
  },
1188
+ MetricRangeType: "enum",
1189
+ MetricIntervalType: "enum",
1190
+ ChartMetricType: "enum",
1191
+ BetterMetricRangeInput: {
1192
+ start: "DateTime",
1193
+ end: "DateTime"
1194
+ },
1195
+ OrderSummaryMetricInput: {
1196
+ range: "BetterMetricRangeInput"
1197
+ },
1198
+ ChartMetricInput: {
1199
+ range: "BetterMetricRangeInput",
1200
+ interval: "MetricIntervalType",
1201
+ types: "ChartMetricType"
1202
+ },
1181
1203
  SetInpostShippingMethodConfigInput: {},
1182
1204
  GetInpostOrganizationsInput: {},
1183
1205
  MetricInterval: "enum",
@@ -1698,6 +1720,10 @@ export const ReturnTypes = {
1698
1720
  zone: "Zone",
1699
1721
  getMerchantPlatformSettings: "MerchantPlatformSettingsEntity",
1700
1722
  getMerchantPlatformInfo: "MerchantPlatformInfo",
1723
+ getMerchantSyncHistory: "MerchantSyncRun",
1724
+ additionalOrderStates: "AdditionalOrderState",
1725
+ chartMetric: "ChartMetrics",
1726
+ orderSummaryMetric: "OrderSummaryMetrics",
1701
1727
  getInpostConfig: "InpostConfig",
1702
1728
  getInpostOrganizations: "InpostOrganizationResponse",
1703
1729
  metricSummary: "MetricSummary"
@@ -3606,7 +3632,84 @@ export const ReturnTypes = {
3606
3632
  },
3607
3633
  MerchantPlatformInfo: {
3608
3634
  isValidConnection: "Boolean",
3609
- productsCount: "Int"
3635
+ productsCount: "Int",
3636
+ connectionStatus: "String",
3637
+ dataSourceVerified: "Boolean",
3638
+ checkedAt: "DateTime",
3639
+ latencyMs: "Int",
3640
+ disapprovedProductsCount: "Int",
3641
+ issuesCount: "Int",
3642
+ lastError: "MerchantPlatformError",
3643
+ issues: "MerchantProductIssue"
3644
+ },
3645
+ MerchantPlatformError: {
3646
+ code: "String",
3647
+ message: "String",
3648
+ retryable: "Boolean"
3649
+ },
3650
+ MerchantProductIssue: {
3651
+ offerId: "String",
3652
+ code: "String",
3653
+ description: "String",
3654
+ severity: "String"
3655
+ },
3656
+ MerchantSyncItem: {
3657
+ id: "ID",
3658
+ offerId: "String",
3659
+ operation: "String",
3660
+ status: "String",
3661
+ errorCode: "String",
3662
+ errorMessage: "String",
3663
+ attempts: "Int"
3664
+ },
3665
+ MerchantSyncRun: {
3666
+ id: "ID",
3667
+ createdAt: "DateTime",
3668
+ platform: "String",
3669
+ trigger: "String",
3670
+ status: "String",
3671
+ jobId: "String",
3672
+ total: "Int",
3673
+ succeeded: "Int",
3674
+ failed: "Int",
3675
+ errorSummary: "String",
3676
+ startedAt: "DateTime",
3677
+ finishedAt: "DateTime",
3678
+ items: "MerchantSyncItem"
3679
+ },
3680
+ AdditionalOrderState: {
3681
+ state: "String",
3682
+ selectedByDefault: "Boolean"
3683
+ },
3684
+ ChartDataType: {
3685
+ type: "ChartMetricType",
3686
+ title: "String",
3687
+ entries: "ChartEntry"
3688
+ },
3689
+ ChartMetrics: {
3690
+ data: "ChartDataType"
3691
+ },
3692
+ OrderSummaryMetrics: {
3693
+ data: "OrderSummaryDataMetric"
3694
+ },
3695
+ OrderSummaryDataMetric: {
3696
+ currencyCode: "CurrencyCode",
3697
+ total: "Float",
3698
+ totalWithTax: "Float",
3699
+ orderCount: "Float",
3700
+ averageOrderValue: "Float",
3701
+ averageOrderValueWithTax: "Float",
3702
+ productCount: "Float"
3703
+ },
3704
+ ChartEntryAdditionalData: {
3705
+ id: "String",
3706
+ name: "String",
3707
+ quantity: "Float"
3708
+ },
3709
+ ChartEntry: {
3710
+ intervalTick: "Int",
3711
+ value: "Float",
3712
+ additionalData: "ChartEntryAdditionalData"
3610
3713
  },
3611
3714
  InpostConfig: {
3612
3715
  shippingMethodId: "ID",