@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.
- package/dist/plugin-server/ui/zeus/const.ts +106 -1
- package/dist/plugin-server/ui/zeus/index.ts +482 -10
- package/dist/plugin-server/zeus/const.js +104 -1
- package/dist/plugin-server/zeus/index.d.ts +492 -6
- package/dist/plugin-ui/graphql/mutations.d.ts +4 -4
- package/dist/plugin-ui/graphql/queries.d.ts +2 -2
- package/dist/plugin-ui/zeus/const.js +104 -1
- package/dist/plugin-ui/zeus/index.d.ts +492 -6
- package/package.json +7 -7
|
@@ -942,6 +942,10 @@ zones?: [{ options?: ValueTypes["ZoneListOptions"] | undefined | null | Variable
|
|
|
942
942
|
zone?: [{ id: string | Variable<any, string>},ValueTypes["Zone"]],
|
|
943
943
|
getMerchantPlatformSettings?: [{ platform: string | Variable<any, string>},ValueTypes["MerchantPlatformSettingsEntity"]],
|
|
944
944
|
getMerchantPlatformInfo?: [{ platform: string | Variable<any, string>},ValueTypes["MerchantPlatformInfo"]],
|
|
945
|
+
getMerchantSyncHistory?: [{ platform: string | Variable<any, string>, take?: number | undefined | null | Variable<any, string>},ValueTypes["MerchantSyncRun"]],
|
|
946
|
+
additionalOrderStates?:ValueTypes["AdditionalOrderState"],
|
|
947
|
+
chartMetric?: [{ input: ValueTypes["ChartMetricInput"] | Variable<any, string>},ValueTypes["ChartMetrics"]],
|
|
948
|
+
orderSummaryMetric?: [{ input: ValueTypes["OrderSummaryMetricInput"] | Variable<any, string>},ValueTypes["OrderSummaryMetrics"]],
|
|
945
949
|
getInpostConfig?:ValueTypes["InpostConfig"],
|
|
946
950
|
getInpostOrganizations?: [{ input?: ValueTypes["GetInpostOrganizationsInput"] | undefined | null | Variable<any, string>},ValueTypes["InpostOrganizationResponse"]],
|
|
947
951
|
metricSummary?: [{ input?: ValueTypes["MetricSummaryInput"] | undefined | null | Variable<any, string>},ValueTypes["MetricSummary"]],
|
|
@@ -2454,6 +2458,7 @@ stockMovements?: [{ options?: ValueTypes["StockMovementListOptions"] | undefined
|
|
|
2454
2458
|
take?: number | undefined | null | Variable<any, string>
|
|
2455
2459
|
};
|
|
2456
2460
|
["ProductListOptions"]: {
|
|
2461
|
+
searchTerm?: string | undefined | null | Variable<any, string>,
|
|
2457
2462
|
/** Skips the first n results, for use in pagination */
|
|
2458
2463
|
skip?: number | undefined | null | Variable<any, string>,
|
|
2459
2464
|
/** Takes n results, for use in pagination */
|
|
@@ -2480,6 +2485,7 @@ stockMovements?: [{ options?: ValueTypes["StockMovementListOptions"] | undefined
|
|
|
2480
2485
|
_or?: Array<ValueTypes["ProductFilterParameter"]> | undefined | null | Variable<any, string>
|
|
2481
2486
|
};
|
|
2482
2487
|
["ProductVariantListOptions"]: {
|
|
2488
|
+
searchTerm?: string | undefined | null | Variable<any, string>,
|
|
2483
2489
|
/** Skips the first n results, for use in pagination */
|
|
2484
2490
|
skip?: number | undefined | null | Variable<any, string>,
|
|
2485
2491
|
/** Takes n results, for use in pagination */
|
|
@@ -4521,6 +4527,53 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
4521
4527
|
["MerchantPlatformInfo"]: AliasType<{
|
|
4522
4528
|
isValidConnection?:boolean | `@${string}`,
|
|
4523
4529
|
productsCount?:boolean | `@${string}`,
|
|
4530
|
+
connectionStatus?:boolean | `@${string}`,
|
|
4531
|
+
dataSourceVerified?:boolean | `@${string}`,
|
|
4532
|
+
checkedAt?:boolean | `@${string}`,
|
|
4533
|
+
latencyMs?:boolean | `@${string}`,
|
|
4534
|
+
disapprovedProductsCount?:boolean | `@${string}`,
|
|
4535
|
+
issuesCount?:boolean | `@${string}`,
|
|
4536
|
+
lastError?:ValueTypes["MerchantPlatformError"],
|
|
4537
|
+
issues?:ValueTypes["MerchantProductIssue"],
|
|
4538
|
+
__typename?: boolean | `@${string}`
|
|
4539
|
+
}>;
|
|
4540
|
+
["MerchantPlatformError"]: AliasType<{
|
|
4541
|
+
code?:boolean | `@${string}`,
|
|
4542
|
+
message?:boolean | `@${string}`,
|
|
4543
|
+
retryable?:boolean | `@${string}`,
|
|
4544
|
+
__typename?: boolean | `@${string}`
|
|
4545
|
+
}>;
|
|
4546
|
+
["MerchantProductIssue"]: AliasType<{
|
|
4547
|
+
offerId?:boolean | `@${string}`,
|
|
4548
|
+
code?:boolean | `@${string}`,
|
|
4549
|
+
description?:boolean | `@${string}`,
|
|
4550
|
+
severity?:boolean | `@${string}`,
|
|
4551
|
+
__typename?: boolean | `@${string}`
|
|
4552
|
+
}>;
|
|
4553
|
+
["MerchantSyncItem"]: AliasType<{
|
|
4554
|
+
id?:boolean | `@${string}`,
|
|
4555
|
+
offerId?:boolean | `@${string}`,
|
|
4556
|
+
operation?:boolean | `@${string}`,
|
|
4557
|
+
status?:boolean | `@${string}`,
|
|
4558
|
+
errorCode?:boolean | `@${string}`,
|
|
4559
|
+
errorMessage?:boolean | `@${string}`,
|
|
4560
|
+
attempts?:boolean | `@${string}`,
|
|
4561
|
+
__typename?: boolean | `@${string}`
|
|
4562
|
+
}>;
|
|
4563
|
+
["MerchantSyncRun"]: AliasType<{
|
|
4564
|
+
id?:boolean | `@${string}`,
|
|
4565
|
+
createdAt?:boolean | `@${string}`,
|
|
4566
|
+
platform?:boolean | `@${string}`,
|
|
4567
|
+
trigger?:boolean | `@${string}`,
|
|
4568
|
+
status?:boolean | `@${string}`,
|
|
4569
|
+
jobId?:boolean | `@${string}`,
|
|
4570
|
+
total?:boolean | `@${string}`,
|
|
4571
|
+
succeeded?:boolean | `@${string}`,
|
|
4572
|
+
failed?:boolean | `@${string}`,
|
|
4573
|
+
errorSummary?:boolean | `@${string}`,
|
|
4574
|
+
startedAt?:boolean | `@${string}`,
|
|
4575
|
+
finishedAt?:boolean | `@${string}`,
|
|
4576
|
+
items?:ValueTypes["MerchantSyncItem"],
|
|
4524
4577
|
__typename?: boolean | `@${string}`
|
|
4525
4578
|
}>;
|
|
4526
4579
|
["MerchantPlatformSettingInput"]: {
|
|
@@ -4529,7 +4582,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
4529
4582
|
};
|
|
4530
4583
|
["SaveMerchantPlatformSettingInput"]: {
|
|
4531
4584
|
platform: string | Variable<any, string>,
|
|
4532
|
-
entries
|
|
4585
|
+
entries: Array<ValueTypes["MerchantPlatformSettingInput"]> | Variable<any, string>
|
|
4586
|
+
};
|
|
4587
|
+
["AdditionalOrderState"]: AliasType<{
|
|
4588
|
+
state?:boolean | `@${string}`,
|
|
4589
|
+
selectedByDefault?:boolean | `@${string}`,
|
|
4590
|
+
__typename?: boolean | `@${string}`
|
|
4591
|
+
}>;
|
|
4592
|
+
["ChartDataType"]: AliasType<{
|
|
4593
|
+
type?:boolean | `@${string}`,
|
|
4594
|
+
title?:boolean | `@${string}`,
|
|
4595
|
+
entries?:ValueTypes["ChartEntry"],
|
|
4596
|
+
__typename?: boolean | `@${string}`
|
|
4597
|
+
}>;
|
|
4598
|
+
["ChartMetrics"]: AliasType<{
|
|
4599
|
+
data?:ValueTypes["ChartDataType"],
|
|
4600
|
+
__typename?: boolean | `@${string}`
|
|
4601
|
+
}>;
|
|
4602
|
+
["OrderSummaryMetrics"]: AliasType<{
|
|
4603
|
+
data?:ValueTypes["OrderSummaryDataMetric"],
|
|
4604
|
+
__typename?: boolean | `@${string}`
|
|
4605
|
+
}>;
|
|
4606
|
+
["OrderSummaryDataMetric"]: AliasType<{
|
|
4607
|
+
currencyCode?:boolean | `@${string}`,
|
|
4608
|
+
total?:boolean | `@${string}`,
|
|
4609
|
+
totalWithTax?:boolean | `@${string}`,
|
|
4610
|
+
orderCount?:boolean | `@${string}`,
|
|
4611
|
+
averageOrderValue?:boolean | `@${string}`,
|
|
4612
|
+
averageOrderValueWithTax?:boolean | `@${string}`,
|
|
4613
|
+
productCount?:boolean | `@${string}`,
|
|
4614
|
+
__typename?: boolean | `@${string}`
|
|
4615
|
+
}>;
|
|
4616
|
+
["MetricRangeType"]:MetricRangeType;
|
|
4617
|
+
["MetricIntervalType"]:MetricIntervalType;
|
|
4618
|
+
["ChartMetricType"]:ChartMetricType;
|
|
4619
|
+
["ChartEntryAdditionalData"]: AliasType<{
|
|
4620
|
+
id?:boolean | `@${string}`,
|
|
4621
|
+
name?:boolean | `@${string}`,
|
|
4622
|
+
quantity?:boolean | `@${string}`,
|
|
4623
|
+
__typename?: boolean | `@${string}`
|
|
4624
|
+
}>;
|
|
4625
|
+
["ChartEntry"]: AliasType<{
|
|
4626
|
+
intervalTick?:boolean | `@${string}`,
|
|
4627
|
+
value?:boolean | `@${string}`,
|
|
4628
|
+
additionalData?:ValueTypes["ChartEntryAdditionalData"],
|
|
4629
|
+
__typename?: boolean | `@${string}`
|
|
4630
|
+
}>;
|
|
4631
|
+
["BetterMetricRangeInput"]: {
|
|
4632
|
+
start: ValueTypes["DateTime"] | Variable<any, string>,
|
|
4633
|
+
end?: ValueTypes["DateTime"] | undefined | null | Variable<any, string>
|
|
4634
|
+
};
|
|
4635
|
+
["OrderSummaryMetricInput"]: {
|
|
4636
|
+
range: ValueTypes["BetterMetricRangeInput"] | Variable<any, string>,
|
|
4637
|
+
orderStates: Array<string> | Variable<any, string>
|
|
4638
|
+
};
|
|
4639
|
+
["ChartMetricInput"]: {
|
|
4640
|
+
range: ValueTypes["BetterMetricRangeInput"] | Variable<any, string>,
|
|
4641
|
+
interval: ValueTypes["MetricIntervalType"] | Variable<any, string>,
|
|
4642
|
+
types: Array<ValueTypes["ChartMetricType"]> | Variable<any, string>,
|
|
4643
|
+
orderStates: Array<string> | Variable<any, string>,
|
|
4644
|
+
productIDs?: Array<string> | undefined | null | Variable<any, string>,
|
|
4645
|
+
net?: boolean | undefined | null | Variable<any, string>
|
|
4533
4646
|
};
|
|
4534
4647
|
["SetInpostShippingMethodConfigInput"]: {
|
|
4535
4648
|
shippingMethodId: string | Variable<any, string>,
|
|
@@ -5150,6 +5263,10 @@ zones?: [{ options?: ResolverInputTypes["ZoneListOptions"] | undefined | null},R
|
|
|
5150
5263
|
zone?: [{ id: string},ResolverInputTypes["Zone"]],
|
|
5151
5264
|
getMerchantPlatformSettings?: [{ platform: string},ResolverInputTypes["MerchantPlatformSettingsEntity"]],
|
|
5152
5265
|
getMerchantPlatformInfo?: [{ platform: string},ResolverInputTypes["MerchantPlatformInfo"]],
|
|
5266
|
+
getMerchantSyncHistory?: [{ platform: string, take?: number | undefined | null},ResolverInputTypes["MerchantSyncRun"]],
|
|
5267
|
+
additionalOrderStates?:ResolverInputTypes["AdditionalOrderState"],
|
|
5268
|
+
chartMetric?: [{ input: ResolverInputTypes["ChartMetricInput"]},ResolverInputTypes["ChartMetrics"]],
|
|
5269
|
+
orderSummaryMetric?: [{ input: ResolverInputTypes["OrderSummaryMetricInput"]},ResolverInputTypes["OrderSummaryMetrics"]],
|
|
5153
5270
|
getInpostConfig?:ResolverInputTypes["InpostConfig"],
|
|
5154
5271
|
getInpostOrganizations?: [{ input?: ResolverInputTypes["GetInpostOrganizationsInput"] | undefined | null},ResolverInputTypes["InpostOrganizationResponse"]],
|
|
5155
5272
|
metricSummary?: [{ input?: ResolverInputTypes["MetricSummaryInput"] | undefined | null},ResolverInputTypes["MetricSummary"]],
|
|
@@ -6684,6 +6801,7 @@ stockMovements?: [{ options?: ResolverInputTypes["StockMovementListOptions"] | u
|
|
|
6684
6801
|
take?: number | undefined | null
|
|
6685
6802
|
};
|
|
6686
6803
|
["ProductListOptions"]: {
|
|
6804
|
+
searchTerm?: string | undefined | null,
|
|
6687
6805
|
/** Skips the first n results, for use in pagination */
|
|
6688
6806
|
skip?: number | undefined | null,
|
|
6689
6807
|
/** Takes n results, for use in pagination */
|
|
@@ -6710,6 +6828,7 @@ stockMovements?: [{ options?: ResolverInputTypes["StockMovementListOptions"] | u
|
|
|
6710
6828
|
_or?: Array<ResolverInputTypes["ProductFilterParameter"]> | undefined | null
|
|
6711
6829
|
};
|
|
6712
6830
|
["ProductVariantListOptions"]: {
|
|
6831
|
+
searchTerm?: string | undefined | null,
|
|
6713
6832
|
/** Skips the first n results, for use in pagination */
|
|
6714
6833
|
skip?: number | undefined | null,
|
|
6715
6834
|
/** Takes n results, for use in pagination */
|
|
@@ -8761,6 +8880,53 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
8761
8880
|
["MerchantPlatformInfo"]: AliasType<{
|
|
8762
8881
|
isValidConnection?:boolean | `@${string}`,
|
|
8763
8882
|
productsCount?:boolean | `@${string}`,
|
|
8883
|
+
connectionStatus?:boolean | `@${string}`,
|
|
8884
|
+
dataSourceVerified?:boolean | `@${string}`,
|
|
8885
|
+
checkedAt?:boolean | `@${string}`,
|
|
8886
|
+
latencyMs?:boolean | `@${string}`,
|
|
8887
|
+
disapprovedProductsCount?:boolean | `@${string}`,
|
|
8888
|
+
issuesCount?:boolean | `@${string}`,
|
|
8889
|
+
lastError?:ResolverInputTypes["MerchantPlatformError"],
|
|
8890
|
+
issues?:ResolverInputTypes["MerchantProductIssue"],
|
|
8891
|
+
__typename?: boolean | `@${string}`
|
|
8892
|
+
}>;
|
|
8893
|
+
["MerchantPlatformError"]: AliasType<{
|
|
8894
|
+
code?:boolean | `@${string}`,
|
|
8895
|
+
message?:boolean | `@${string}`,
|
|
8896
|
+
retryable?:boolean | `@${string}`,
|
|
8897
|
+
__typename?: boolean | `@${string}`
|
|
8898
|
+
}>;
|
|
8899
|
+
["MerchantProductIssue"]: AliasType<{
|
|
8900
|
+
offerId?:boolean | `@${string}`,
|
|
8901
|
+
code?:boolean | `@${string}`,
|
|
8902
|
+
description?:boolean | `@${string}`,
|
|
8903
|
+
severity?:boolean | `@${string}`,
|
|
8904
|
+
__typename?: boolean | `@${string}`
|
|
8905
|
+
}>;
|
|
8906
|
+
["MerchantSyncItem"]: AliasType<{
|
|
8907
|
+
id?:boolean | `@${string}`,
|
|
8908
|
+
offerId?:boolean | `@${string}`,
|
|
8909
|
+
operation?:boolean | `@${string}`,
|
|
8910
|
+
status?:boolean | `@${string}`,
|
|
8911
|
+
errorCode?:boolean | `@${string}`,
|
|
8912
|
+
errorMessage?:boolean | `@${string}`,
|
|
8913
|
+
attempts?:boolean | `@${string}`,
|
|
8914
|
+
__typename?: boolean | `@${string}`
|
|
8915
|
+
}>;
|
|
8916
|
+
["MerchantSyncRun"]: AliasType<{
|
|
8917
|
+
id?:boolean | `@${string}`,
|
|
8918
|
+
createdAt?:boolean | `@${string}`,
|
|
8919
|
+
platform?:boolean | `@${string}`,
|
|
8920
|
+
trigger?:boolean | `@${string}`,
|
|
8921
|
+
status?:boolean | `@${string}`,
|
|
8922
|
+
jobId?:boolean | `@${string}`,
|
|
8923
|
+
total?:boolean | `@${string}`,
|
|
8924
|
+
succeeded?:boolean | `@${string}`,
|
|
8925
|
+
failed?:boolean | `@${string}`,
|
|
8926
|
+
errorSummary?:boolean | `@${string}`,
|
|
8927
|
+
startedAt?:boolean | `@${string}`,
|
|
8928
|
+
finishedAt?:boolean | `@${string}`,
|
|
8929
|
+
items?:ResolverInputTypes["MerchantSyncItem"],
|
|
8764
8930
|
__typename?: boolean | `@${string}`
|
|
8765
8931
|
}>;
|
|
8766
8932
|
["MerchantPlatformSettingInput"]: {
|
|
@@ -8769,7 +8935,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
8769
8935
|
};
|
|
8770
8936
|
["SaveMerchantPlatformSettingInput"]: {
|
|
8771
8937
|
platform: string,
|
|
8772
|
-
entries
|
|
8938
|
+
entries: Array<ResolverInputTypes["MerchantPlatformSettingInput"]>
|
|
8939
|
+
};
|
|
8940
|
+
["AdditionalOrderState"]: AliasType<{
|
|
8941
|
+
state?:boolean | `@${string}`,
|
|
8942
|
+
selectedByDefault?:boolean | `@${string}`,
|
|
8943
|
+
__typename?: boolean | `@${string}`
|
|
8944
|
+
}>;
|
|
8945
|
+
["ChartDataType"]: AliasType<{
|
|
8946
|
+
type?:boolean | `@${string}`,
|
|
8947
|
+
title?:boolean | `@${string}`,
|
|
8948
|
+
entries?:ResolverInputTypes["ChartEntry"],
|
|
8949
|
+
__typename?: boolean | `@${string}`
|
|
8950
|
+
}>;
|
|
8951
|
+
["ChartMetrics"]: AliasType<{
|
|
8952
|
+
data?:ResolverInputTypes["ChartDataType"],
|
|
8953
|
+
__typename?: boolean | `@${string}`
|
|
8954
|
+
}>;
|
|
8955
|
+
["OrderSummaryMetrics"]: AliasType<{
|
|
8956
|
+
data?:ResolverInputTypes["OrderSummaryDataMetric"],
|
|
8957
|
+
__typename?: boolean | `@${string}`
|
|
8958
|
+
}>;
|
|
8959
|
+
["OrderSummaryDataMetric"]: AliasType<{
|
|
8960
|
+
currencyCode?:boolean | `@${string}`,
|
|
8961
|
+
total?:boolean | `@${string}`,
|
|
8962
|
+
totalWithTax?:boolean | `@${string}`,
|
|
8963
|
+
orderCount?:boolean | `@${string}`,
|
|
8964
|
+
averageOrderValue?:boolean | `@${string}`,
|
|
8965
|
+
averageOrderValueWithTax?:boolean | `@${string}`,
|
|
8966
|
+
productCount?:boolean | `@${string}`,
|
|
8967
|
+
__typename?: boolean | `@${string}`
|
|
8968
|
+
}>;
|
|
8969
|
+
["MetricRangeType"]:MetricRangeType;
|
|
8970
|
+
["MetricIntervalType"]:MetricIntervalType;
|
|
8971
|
+
["ChartMetricType"]:ChartMetricType;
|
|
8972
|
+
["ChartEntryAdditionalData"]: AliasType<{
|
|
8973
|
+
id?:boolean | `@${string}`,
|
|
8974
|
+
name?:boolean | `@${string}`,
|
|
8975
|
+
quantity?:boolean | `@${string}`,
|
|
8976
|
+
__typename?: boolean | `@${string}`
|
|
8977
|
+
}>;
|
|
8978
|
+
["ChartEntry"]: AliasType<{
|
|
8979
|
+
intervalTick?:boolean | `@${string}`,
|
|
8980
|
+
value?:boolean | `@${string}`,
|
|
8981
|
+
additionalData?:ResolverInputTypes["ChartEntryAdditionalData"],
|
|
8982
|
+
__typename?: boolean | `@${string}`
|
|
8983
|
+
}>;
|
|
8984
|
+
["BetterMetricRangeInput"]: {
|
|
8985
|
+
start: ResolverInputTypes["DateTime"],
|
|
8986
|
+
end?: ResolverInputTypes["DateTime"] | undefined | null
|
|
8987
|
+
};
|
|
8988
|
+
["OrderSummaryMetricInput"]: {
|
|
8989
|
+
range: ResolverInputTypes["BetterMetricRangeInput"],
|
|
8990
|
+
orderStates: Array<string>
|
|
8991
|
+
};
|
|
8992
|
+
["ChartMetricInput"]: {
|
|
8993
|
+
range: ResolverInputTypes["BetterMetricRangeInput"],
|
|
8994
|
+
interval: ResolverInputTypes["MetricIntervalType"],
|
|
8995
|
+
types: Array<ResolverInputTypes["ChartMetricType"]>,
|
|
8996
|
+
orderStates: Array<string>,
|
|
8997
|
+
productIDs?: Array<string> | undefined | null,
|
|
8998
|
+
net?: boolean | undefined | null
|
|
8773
8999
|
};
|
|
8774
9000
|
["SetInpostShippingMethodConfigInput"]: {
|
|
8775
9001
|
shippingMethodId: string,
|
|
@@ -9404,6 +9630,10 @@ export type ModelTypes = {
|
|
|
9404
9630
|
zone?: ModelTypes["Zone"] | undefined,
|
|
9405
9631
|
getMerchantPlatformSettings?: ModelTypes["MerchantPlatformSettingsEntity"] | undefined,
|
|
9406
9632
|
getMerchantPlatformInfo?: Array<ModelTypes["MerchantPlatformInfo"]> | undefined,
|
|
9633
|
+
getMerchantSyncHistory: Array<ModelTypes["MerchantSyncRun"]>,
|
|
9634
|
+
additionalOrderStates: Array<ModelTypes["AdditionalOrderState"]>,
|
|
9635
|
+
chartMetric: ModelTypes["ChartMetrics"],
|
|
9636
|
+
orderSummaryMetric: ModelTypes["OrderSummaryMetrics"],
|
|
9407
9637
|
getInpostConfig?: ModelTypes["InpostConfig"] | undefined,
|
|
9408
9638
|
getInpostOrganizations: ModelTypes["InpostOrganizationResponse"],
|
|
9409
9639
|
/** Get metrics for the given interval and metric types. */
|
|
@@ -10903,6 +11133,7 @@ is not in the required state. */
|
|
|
10903
11133
|
take?: number | undefined
|
|
10904
11134
|
};
|
|
10905
11135
|
["ProductListOptions"]: {
|
|
11136
|
+
searchTerm?: string | undefined,
|
|
10906
11137
|
/** Skips the first n results, for use in pagination */
|
|
10907
11138
|
skip?: number | undefined,
|
|
10908
11139
|
/** Takes n results, for use in pagination */
|
|
@@ -10929,6 +11160,7 @@ is not in the required state. */
|
|
|
10929
11160
|
_or?: Array<ModelTypes["ProductFilterParameter"]> | undefined
|
|
10930
11161
|
};
|
|
10931
11162
|
["ProductVariantListOptions"]: {
|
|
11163
|
+
searchTerm?: string | undefined,
|
|
10932
11164
|
/** Skips the first n results, for use in pagination */
|
|
10933
11165
|
skip?: number | undefined,
|
|
10934
11166
|
/** Takes n results, for use in pagination */
|
|
@@ -12575,11 +12807,54 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
12575
12807
|
["MerchantPlatformSettingsEntity"]: {
|
|
12576
12808
|
id: string,
|
|
12577
12809
|
platform: string,
|
|
12578
|
-
entries
|
|
12810
|
+
entries: Array<ModelTypes["MerchantPlatformSetting"]>
|
|
12579
12811
|
};
|
|
12580
12812
|
["MerchantPlatformInfo"]: {
|
|
12581
12813
|
isValidConnection: boolean,
|
|
12582
|
-
productsCount: number
|
|
12814
|
+
productsCount: number,
|
|
12815
|
+
connectionStatus?: string | undefined,
|
|
12816
|
+
dataSourceVerified?: boolean | undefined,
|
|
12817
|
+
checkedAt?: ModelTypes["DateTime"] | undefined,
|
|
12818
|
+
latencyMs?: number | undefined,
|
|
12819
|
+
disapprovedProductsCount?: number | undefined,
|
|
12820
|
+
issuesCount?: number | undefined,
|
|
12821
|
+
lastError?: ModelTypes["MerchantPlatformError"] | undefined,
|
|
12822
|
+
issues?: Array<ModelTypes["MerchantProductIssue"]> | undefined
|
|
12823
|
+
};
|
|
12824
|
+
["MerchantPlatformError"]: {
|
|
12825
|
+
code: string,
|
|
12826
|
+
message: string,
|
|
12827
|
+
retryable: boolean
|
|
12828
|
+
};
|
|
12829
|
+
["MerchantProductIssue"]: {
|
|
12830
|
+
offerId: string,
|
|
12831
|
+
code: string,
|
|
12832
|
+
description: string,
|
|
12833
|
+
severity: string
|
|
12834
|
+
};
|
|
12835
|
+
["MerchantSyncItem"]: {
|
|
12836
|
+
id: string,
|
|
12837
|
+
offerId: string,
|
|
12838
|
+
operation: string,
|
|
12839
|
+
status: string,
|
|
12840
|
+
errorCode?: string | undefined,
|
|
12841
|
+
errorMessage?: string | undefined,
|
|
12842
|
+
attempts: number
|
|
12843
|
+
};
|
|
12844
|
+
["MerchantSyncRun"]: {
|
|
12845
|
+
id: string,
|
|
12846
|
+
createdAt: ModelTypes["DateTime"],
|
|
12847
|
+
platform: string,
|
|
12848
|
+
trigger: string,
|
|
12849
|
+
status: string,
|
|
12850
|
+
jobId?: string | undefined,
|
|
12851
|
+
total: number,
|
|
12852
|
+
succeeded: number,
|
|
12853
|
+
failed: number,
|
|
12854
|
+
errorSummary?: string | undefined,
|
|
12855
|
+
startedAt?: ModelTypes["DateTime"] | undefined,
|
|
12856
|
+
finishedAt?: ModelTypes["DateTime"] | undefined,
|
|
12857
|
+
items: Array<ModelTypes["MerchantSyncItem"]>
|
|
12583
12858
|
};
|
|
12584
12859
|
["MerchantPlatformSettingInput"]: {
|
|
12585
12860
|
key: string,
|
|
@@ -12587,7 +12862,60 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
12587
12862
|
};
|
|
12588
12863
|
["SaveMerchantPlatformSettingInput"]: {
|
|
12589
12864
|
platform: string,
|
|
12590
|
-
entries
|
|
12865
|
+
entries: Array<ModelTypes["MerchantPlatformSettingInput"]>
|
|
12866
|
+
};
|
|
12867
|
+
["AdditionalOrderState"]: {
|
|
12868
|
+
state: string,
|
|
12869
|
+
selectedByDefault: boolean
|
|
12870
|
+
};
|
|
12871
|
+
["ChartDataType"]: {
|
|
12872
|
+
type: ModelTypes["ChartMetricType"],
|
|
12873
|
+
title: string,
|
|
12874
|
+
entries: Array<ModelTypes["ChartEntry"]>
|
|
12875
|
+
};
|
|
12876
|
+
["ChartMetrics"]: {
|
|
12877
|
+
data: Array<ModelTypes["ChartDataType"]>
|
|
12878
|
+
};
|
|
12879
|
+
["OrderSummaryMetrics"]: {
|
|
12880
|
+
data: ModelTypes["OrderSummaryDataMetric"]
|
|
12881
|
+
};
|
|
12882
|
+
["OrderSummaryDataMetric"]: {
|
|
12883
|
+
currencyCode: ModelTypes["CurrencyCode"],
|
|
12884
|
+
total: number,
|
|
12885
|
+
totalWithTax: number,
|
|
12886
|
+
orderCount: number,
|
|
12887
|
+
averageOrderValue: number,
|
|
12888
|
+
averageOrderValueWithTax: number,
|
|
12889
|
+
productCount: number
|
|
12890
|
+
};
|
|
12891
|
+
["MetricRangeType"]:MetricRangeType;
|
|
12892
|
+
["MetricIntervalType"]:MetricIntervalType;
|
|
12893
|
+
["ChartMetricType"]:ChartMetricType;
|
|
12894
|
+
["ChartEntryAdditionalData"]: {
|
|
12895
|
+
id: string,
|
|
12896
|
+
name: string,
|
|
12897
|
+
quantity: number
|
|
12898
|
+
};
|
|
12899
|
+
["ChartEntry"]: {
|
|
12900
|
+
intervalTick: number,
|
|
12901
|
+
value: number,
|
|
12902
|
+
additionalData?: Array<ModelTypes["ChartEntryAdditionalData"]> | undefined
|
|
12903
|
+
};
|
|
12904
|
+
["BetterMetricRangeInput"]: {
|
|
12905
|
+
start: ModelTypes["DateTime"],
|
|
12906
|
+
end?: ModelTypes["DateTime"] | undefined
|
|
12907
|
+
};
|
|
12908
|
+
["OrderSummaryMetricInput"]: {
|
|
12909
|
+
range: ModelTypes["BetterMetricRangeInput"],
|
|
12910
|
+
orderStates: Array<string>
|
|
12911
|
+
};
|
|
12912
|
+
["ChartMetricInput"]: {
|
|
12913
|
+
range: ModelTypes["BetterMetricRangeInput"],
|
|
12914
|
+
interval: ModelTypes["MetricIntervalType"],
|
|
12915
|
+
types: Array<ModelTypes["ChartMetricType"]>,
|
|
12916
|
+
orderStates: Array<string>,
|
|
12917
|
+
productIDs?: Array<string> | undefined,
|
|
12918
|
+
net?: boolean | undefined
|
|
12591
12919
|
};
|
|
12592
12920
|
["SetInpostShippingMethodConfigInput"]: {
|
|
12593
12921
|
shippingMethodId: string,
|
|
@@ -13212,6 +13540,10 @@ export type GraphQLTypes = {
|
|
|
13212
13540
|
zone?: GraphQLTypes["Zone"] | undefined,
|
|
13213
13541
|
getMerchantPlatformSettings?: GraphQLTypes["MerchantPlatformSettingsEntity"] | undefined,
|
|
13214
13542
|
getMerchantPlatformInfo?: Array<GraphQLTypes["MerchantPlatformInfo"]> | undefined,
|
|
13543
|
+
getMerchantSyncHistory: Array<GraphQLTypes["MerchantSyncRun"]>,
|
|
13544
|
+
additionalOrderStates: Array<GraphQLTypes["AdditionalOrderState"]>,
|
|
13545
|
+
chartMetric: GraphQLTypes["ChartMetrics"],
|
|
13546
|
+
orderSummaryMetric: GraphQLTypes["OrderSummaryMetrics"],
|
|
13215
13547
|
getInpostConfig?: GraphQLTypes["InpostConfig"] | undefined,
|
|
13216
13548
|
getInpostOrganizations: GraphQLTypes["InpostOrganizationResponse"],
|
|
13217
13549
|
/** Get metrics for the given interval and metric types. */
|
|
@@ -14892,7 +15224,8 @@ is not in the required state. */
|
|
|
14892
15224
|
take?: number | undefined
|
|
14893
15225
|
};
|
|
14894
15226
|
["ProductListOptions"]: {
|
|
14895
|
-
|
|
15227
|
+
searchTerm?: string | undefined,
|
|
15228
|
+
/** Skips the first n results, for use in pagination */
|
|
14896
15229
|
skip?: number | undefined,
|
|
14897
15230
|
/** Takes n results, for use in pagination */
|
|
14898
15231
|
take?: number | undefined,
|
|
@@ -14918,7 +15251,8 @@ is not in the required state. */
|
|
|
14918
15251
|
_or?: Array<GraphQLTypes["ProductFilterParameter"]> | undefined
|
|
14919
15252
|
};
|
|
14920
15253
|
["ProductVariantListOptions"]: {
|
|
14921
|
-
|
|
15254
|
+
searchTerm?: string | undefined,
|
|
15255
|
+
/** Skips the first n results, for use in pagination */
|
|
14922
15256
|
skip?: number | undefined,
|
|
14923
15257
|
/** Takes n results, for use in pagination */
|
|
14924
15258
|
take?: number | undefined,
|
|
@@ -16964,12 +17298,59 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
16964
17298
|
__typename: "MerchantPlatformSettingsEntity",
|
|
16965
17299
|
id: string,
|
|
16966
17300
|
platform: string,
|
|
16967
|
-
entries
|
|
17301
|
+
entries: Array<GraphQLTypes["MerchantPlatformSetting"]>
|
|
16968
17302
|
};
|
|
16969
17303
|
["MerchantPlatformInfo"]: {
|
|
16970
17304
|
__typename: "MerchantPlatformInfo",
|
|
16971
17305
|
isValidConnection: boolean,
|
|
16972
|
-
productsCount: number
|
|
17306
|
+
productsCount: number,
|
|
17307
|
+
connectionStatus?: string | undefined,
|
|
17308
|
+
dataSourceVerified?: boolean | undefined,
|
|
17309
|
+
checkedAt?: GraphQLTypes["DateTime"] | undefined,
|
|
17310
|
+
latencyMs?: number | undefined,
|
|
17311
|
+
disapprovedProductsCount?: number | undefined,
|
|
17312
|
+
issuesCount?: number | undefined,
|
|
17313
|
+
lastError?: GraphQLTypes["MerchantPlatformError"] | undefined,
|
|
17314
|
+
issues?: Array<GraphQLTypes["MerchantProductIssue"]> | undefined
|
|
17315
|
+
};
|
|
17316
|
+
["MerchantPlatformError"]: {
|
|
17317
|
+
__typename: "MerchantPlatformError",
|
|
17318
|
+
code: string,
|
|
17319
|
+
message: string,
|
|
17320
|
+
retryable: boolean
|
|
17321
|
+
};
|
|
17322
|
+
["MerchantProductIssue"]: {
|
|
17323
|
+
__typename: "MerchantProductIssue",
|
|
17324
|
+
offerId: string,
|
|
17325
|
+
code: string,
|
|
17326
|
+
description: string,
|
|
17327
|
+
severity: string
|
|
17328
|
+
};
|
|
17329
|
+
["MerchantSyncItem"]: {
|
|
17330
|
+
__typename: "MerchantSyncItem",
|
|
17331
|
+
id: string,
|
|
17332
|
+
offerId: string,
|
|
17333
|
+
operation: string,
|
|
17334
|
+
status: string,
|
|
17335
|
+
errorCode?: string | undefined,
|
|
17336
|
+
errorMessage?: string | undefined,
|
|
17337
|
+
attempts: number
|
|
17338
|
+
};
|
|
17339
|
+
["MerchantSyncRun"]: {
|
|
17340
|
+
__typename: "MerchantSyncRun",
|
|
17341
|
+
id: string,
|
|
17342
|
+
createdAt: GraphQLTypes["DateTime"],
|
|
17343
|
+
platform: string,
|
|
17344
|
+
trigger: string,
|
|
17345
|
+
status: string,
|
|
17346
|
+
jobId?: string | undefined,
|
|
17347
|
+
total: number,
|
|
17348
|
+
succeeded: number,
|
|
17349
|
+
failed: number,
|
|
17350
|
+
errorSummary?: string | undefined,
|
|
17351
|
+
startedAt?: GraphQLTypes["DateTime"] | undefined,
|
|
17352
|
+
finishedAt?: GraphQLTypes["DateTime"] | undefined,
|
|
17353
|
+
items: Array<GraphQLTypes["MerchantSyncItem"]>
|
|
16973
17354
|
};
|
|
16974
17355
|
["MerchantPlatformSettingInput"]: {
|
|
16975
17356
|
key: string,
|
|
@@ -16977,7 +17358,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
|
|
|
16977
17358
|
};
|
|
16978
17359
|
["SaveMerchantPlatformSettingInput"]: {
|
|
16979
17360
|
platform: string,
|
|
16980
|
-
entries
|
|
17361
|
+
entries: Array<GraphQLTypes["MerchantPlatformSettingInput"]>
|
|
17362
|
+
};
|
|
17363
|
+
["AdditionalOrderState"]: {
|
|
17364
|
+
__typename: "AdditionalOrderState",
|
|
17365
|
+
state: string,
|
|
17366
|
+
selectedByDefault: boolean
|
|
17367
|
+
};
|
|
17368
|
+
["ChartDataType"]: {
|
|
17369
|
+
__typename: "ChartDataType",
|
|
17370
|
+
type: GraphQLTypes["ChartMetricType"],
|
|
17371
|
+
title: string,
|
|
17372
|
+
entries: Array<GraphQLTypes["ChartEntry"]>
|
|
17373
|
+
};
|
|
17374
|
+
["ChartMetrics"]: {
|
|
17375
|
+
__typename: "ChartMetrics",
|
|
17376
|
+
data: Array<GraphQLTypes["ChartDataType"]>
|
|
17377
|
+
};
|
|
17378
|
+
["OrderSummaryMetrics"]: {
|
|
17379
|
+
__typename: "OrderSummaryMetrics",
|
|
17380
|
+
data: GraphQLTypes["OrderSummaryDataMetric"]
|
|
17381
|
+
};
|
|
17382
|
+
["OrderSummaryDataMetric"]: {
|
|
17383
|
+
__typename: "OrderSummaryDataMetric",
|
|
17384
|
+
currencyCode: GraphQLTypes["CurrencyCode"],
|
|
17385
|
+
total: number,
|
|
17386
|
+
totalWithTax: number,
|
|
17387
|
+
orderCount: number,
|
|
17388
|
+
averageOrderValue: number,
|
|
17389
|
+
averageOrderValueWithTax: number,
|
|
17390
|
+
productCount: number
|
|
17391
|
+
};
|
|
17392
|
+
["MetricRangeType"]: MetricRangeType;
|
|
17393
|
+
["MetricIntervalType"]: MetricIntervalType;
|
|
17394
|
+
["ChartMetricType"]: ChartMetricType;
|
|
17395
|
+
["ChartEntryAdditionalData"]: {
|
|
17396
|
+
__typename: "ChartEntryAdditionalData",
|
|
17397
|
+
id: string,
|
|
17398
|
+
name: string,
|
|
17399
|
+
quantity: number
|
|
17400
|
+
};
|
|
17401
|
+
["ChartEntry"]: {
|
|
17402
|
+
__typename: "ChartEntry",
|
|
17403
|
+
intervalTick: number,
|
|
17404
|
+
value: number,
|
|
17405
|
+
additionalData?: Array<GraphQLTypes["ChartEntryAdditionalData"]> | undefined
|
|
17406
|
+
};
|
|
17407
|
+
["BetterMetricRangeInput"]: {
|
|
17408
|
+
start: GraphQLTypes["DateTime"],
|
|
17409
|
+
end?: GraphQLTypes["DateTime"] | undefined
|
|
17410
|
+
};
|
|
17411
|
+
["OrderSummaryMetricInput"]: {
|
|
17412
|
+
range: GraphQLTypes["BetterMetricRangeInput"],
|
|
17413
|
+
orderStates: Array<string>
|
|
17414
|
+
};
|
|
17415
|
+
["ChartMetricInput"]: {
|
|
17416
|
+
range: GraphQLTypes["BetterMetricRangeInput"],
|
|
17417
|
+
interval: GraphQLTypes["MetricIntervalType"],
|
|
17418
|
+
types: Array<GraphQLTypes["ChartMetricType"]>,
|
|
17419
|
+
orderStates: Array<string>,
|
|
17420
|
+
productIDs?: Array<string> | undefined,
|
|
17421
|
+
net?: boolean | undefined
|
|
16981
17422
|
};
|
|
16982
17423
|
["SetInpostShippingMethodConfigInput"]: {
|
|
16983
17424
|
shippingMethodId: string,
|
|
@@ -18102,6 +18543,31 @@ export const enum OrderType {
|
|
|
18102
18543
|
Seller = "Seller",
|
|
18103
18544
|
Aggregate = "Aggregate"
|
|
18104
18545
|
}
|
|
18546
|
+
export const enum MetricRangeType {
|
|
18547
|
+
Today = "Today",
|
|
18548
|
+
Yesterday = "Yesterday",
|
|
18549
|
+
ThisWeek = "ThisWeek",
|
|
18550
|
+
LastWeek = "LastWeek",
|
|
18551
|
+
ThisMonth = "ThisMonth",
|
|
18552
|
+
LastMonth = "LastMonth",
|
|
18553
|
+
ThisYear = "ThisYear",
|
|
18554
|
+
LastYear = "LastYear",
|
|
18555
|
+
FirstQuarter = "FirstQuarter",
|
|
18556
|
+
SecondQuarter = "SecondQuarter",
|
|
18557
|
+
ThirdQuarter = "ThirdQuarter",
|
|
18558
|
+
FourthQuarter = "FourthQuarter",
|
|
18559
|
+
Custom = "Custom"
|
|
18560
|
+
}
|
|
18561
|
+
export const enum MetricIntervalType {
|
|
18562
|
+
Day = "Day",
|
|
18563
|
+
Hour = "Hour"
|
|
18564
|
+
}
|
|
18565
|
+
export const enum ChartMetricType {
|
|
18566
|
+
OrderCount = "OrderCount",
|
|
18567
|
+
OrderTotal = "OrderTotal",
|
|
18568
|
+
AverageOrderValue = "AverageOrderValue",
|
|
18569
|
+
OrderTotalProductsCount = "OrderTotalProductsCount"
|
|
18570
|
+
}
|
|
18105
18571
|
export const enum MetricInterval {
|
|
18106
18572
|
Daily = "Daily"
|
|
18107
18573
|
}
|
|
@@ -18299,6 +18765,12 @@ type ZEUS_VARIABLES = {
|
|
|
18299
18765
|
["OrderType"]: ValueTypes["OrderType"];
|
|
18300
18766
|
["MerchantPlatformSettingInput"]: ValueTypes["MerchantPlatformSettingInput"];
|
|
18301
18767
|
["SaveMerchantPlatformSettingInput"]: ValueTypes["SaveMerchantPlatformSettingInput"];
|
|
18768
|
+
["MetricRangeType"]: ValueTypes["MetricRangeType"];
|
|
18769
|
+
["MetricIntervalType"]: ValueTypes["MetricIntervalType"];
|
|
18770
|
+
["ChartMetricType"]: ValueTypes["ChartMetricType"];
|
|
18771
|
+
["BetterMetricRangeInput"]: ValueTypes["BetterMetricRangeInput"];
|
|
18772
|
+
["OrderSummaryMetricInput"]: ValueTypes["OrderSummaryMetricInput"];
|
|
18773
|
+
["ChartMetricInput"]: ValueTypes["ChartMetricInput"];
|
|
18302
18774
|
["SetInpostShippingMethodConfigInput"]: ValueTypes["SetInpostShippingMethodConfigInput"];
|
|
18303
18775
|
["GetInpostOrganizationsInput"]: ValueTypes["GetInpostOrganizationsInput"];
|
|
18304
18776
|
["MetricInterval"]: ValueTypes["MetricInterval"];
|