@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.
@@ -440,6 +440,17 @@ export type ValueTypes = {
440
440
  getMerchantPlatformInfo?: [{
441
441
  platform: string | Variable<any, string>;
442
442
  }, ValueTypes["MerchantPlatformInfo"]];
443
+ getMerchantSyncHistory?: [{
444
+ platform: string | Variable<any, string>;
445
+ take?: number | undefined | null | Variable<any, string>;
446
+ }, ValueTypes["MerchantSyncRun"]];
447
+ additionalOrderStates?: ValueTypes["AdditionalOrderState"];
448
+ chartMetric?: [{
449
+ input: ValueTypes["ChartMetricInput"] | Variable<any, string>;
450
+ }, ValueTypes["ChartMetrics"]];
451
+ orderSummaryMetric?: [{
452
+ input: ValueTypes["OrderSummaryMetricInput"] | Variable<any, string>;
453
+ }, ValueTypes["OrderSummaryMetrics"]];
443
454
  getInpostConfig?: ValueTypes["InpostConfig"];
444
455
  getInpostOrganizations?: [{
445
456
  input?: ValueTypes["GetInpostOrganizationsInput"] | undefined | null | Variable<any, string>;
@@ -2352,6 +2363,7 @@ is not in the required state. */
2352
2363
  take?: number | undefined | null | Variable<any, string>;
2353
2364
  };
2354
2365
  ["ProductListOptions"]: {
2366
+ searchTerm?: string | undefined | null | Variable<any, string>;
2355
2367
  /** Skips the first n results, for use in pagination */
2356
2368
  skip?: number | undefined | null | Variable<any, string>;
2357
2369
  /** Takes n results, for use in pagination */
@@ -2378,6 +2390,7 @@ is not in the required state. */
2378
2390
  _or?: Array<ValueTypes["ProductFilterParameter"]> | undefined | null | Variable<any, string>;
2379
2391
  };
2380
2392
  ["ProductVariantListOptions"]: {
2393
+ searchTerm?: string | undefined | null | Variable<any, string>;
2381
2394
  /** Skips the first n results, for use in pagination */
2382
2395
  skip?: number | undefined | null | Variable<any, string>;
2383
2396
  /** Takes n results, for use in pagination */
@@ -4431,6 +4444,53 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
4431
4444
  ["MerchantPlatformInfo"]: AliasType<{
4432
4445
  isValidConnection?: boolean | `@${string}`;
4433
4446
  productsCount?: boolean | `@${string}`;
4447
+ connectionStatus?: boolean | `@${string}`;
4448
+ dataSourceVerified?: boolean | `@${string}`;
4449
+ checkedAt?: boolean | `@${string}`;
4450
+ latencyMs?: boolean | `@${string}`;
4451
+ disapprovedProductsCount?: boolean | `@${string}`;
4452
+ issuesCount?: boolean | `@${string}`;
4453
+ lastError?: ValueTypes["MerchantPlatformError"];
4454
+ issues?: ValueTypes["MerchantProductIssue"];
4455
+ __typename?: boolean | `@${string}`;
4456
+ }>;
4457
+ ["MerchantPlatformError"]: AliasType<{
4458
+ code?: boolean | `@${string}`;
4459
+ message?: boolean | `@${string}`;
4460
+ retryable?: boolean | `@${string}`;
4461
+ __typename?: boolean | `@${string}`;
4462
+ }>;
4463
+ ["MerchantProductIssue"]: AliasType<{
4464
+ offerId?: boolean | `@${string}`;
4465
+ code?: boolean | `@${string}`;
4466
+ description?: boolean | `@${string}`;
4467
+ severity?: boolean | `@${string}`;
4468
+ __typename?: boolean | `@${string}`;
4469
+ }>;
4470
+ ["MerchantSyncItem"]: AliasType<{
4471
+ id?: boolean | `@${string}`;
4472
+ offerId?: boolean | `@${string}`;
4473
+ operation?: boolean | `@${string}`;
4474
+ status?: boolean | `@${string}`;
4475
+ errorCode?: boolean | `@${string}`;
4476
+ errorMessage?: boolean | `@${string}`;
4477
+ attempts?: boolean | `@${string}`;
4478
+ __typename?: boolean | `@${string}`;
4479
+ }>;
4480
+ ["MerchantSyncRun"]: AliasType<{
4481
+ id?: boolean | `@${string}`;
4482
+ createdAt?: boolean | `@${string}`;
4483
+ platform?: boolean | `@${string}`;
4484
+ trigger?: boolean | `@${string}`;
4485
+ status?: boolean | `@${string}`;
4486
+ jobId?: boolean | `@${string}`;
4487
+ total?: boolean | `@${string}`;
4488
+ succeeded?: boolean | `@${string}`;
4489
+ failed?: boolean | `@${string}`;
4490
+ errorSummary?: boolean | `@${string}`;
4491
+ startedAt?: boolean | `@${string}`;
4492
+ finishedAt?: boolean | `@${string}`;
4493
+ items?: ValueTypes["MerchantSyncItem"];
4434
4494
  __typename?: boolean | `@${string}`;
4435
4495
  }>;
4436
4496
  ["MerchantPlatformSettingInput"]: {
@@ -4439,7 +4499,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
4439
4499
  };
4440
4500
  ["SaveMerchantPlatformSettingInput"]: {
4441
4501
  platform: string | Variable<any, string>;
4442
- entries?: Array<ValueTypes["MerchantPlatformSettingInput"]> | undefined | null | Variable<any, string>;
4502
+ entries: Array<ValueTypes["MerchantPlatformSettingInput"]> | Variable<any, string>;
4503
+ };
4504
+ ["AdditionalOrderState"]: AliasType<{
4505
+ state?: boolean | `@${string}`;
4506
+ selectedByDefault?: boolean | `@${string}`;
4507
+ __typename?: boolean | `@${string}`;
4508
+ }>;
4509
+ ["ChartDataType"]: AliasType<{
4510
+ type?: boolean | `@${string}`;
4511
+ title?: boolean | `@${string}`;
4512
+ entries?: ValueTypes["ChartEntry"];
4513
+ __typename?: boolean | `@${string}`;
4514
+ }>;
4515
+ ["ChartMetrics"]: AliasType<{
4516
+ data?: ValueTypes["ChartDataType"];
4517
+ __typename?: boolean | `@${string}`;
4518
+ }>;
4519
+ ["OrderSummaryMetrics"]: AliasType<{
4520
+ data?: ValueTypes["OrderSummaryDataMetric"];
4521
+ __typename?: boolean | `@${string}`;
4522
+ }>;
4523
+ ["OrderSummaryDataMetric"]: AliasType<{
4524
+ currencyCode?: boolean | `@${string}`;
4525
+ total?: boolean | `@${string}`;
4526
+ totalWithTax?: boolean | `@${string}`;
4527
+ orderCount?: boolean | `@${string}`;
4528
+ averageOrderValue?: boolean | `@${string}`;
4529
+ averageOrderValueWithTax?: boolean | `@${string}`;
4530
+ productCount?: boolean | `@${string}`;
4531
+ __typename?: boolean | `@${string}`;
4532
+ }>;
4533
+ ["MetricRangeType"]: MetricRangeType;
4534
+ ["MetricIntervalType"]: MetricIntervalType;
4535
+ ["ChartMetricType"]: ChartMetricType;
4536
+ ["ChartEntryAdditionalData"]: AliasType<{
4537
+ id?: boolean | `@${string}`;
4538
+ name?: boolean | `@${string}`;
4539
+ quantity?: boolean | `@${string}`;
4540
+ __typename?: boolean | `@${string}`;
4541
+ }>;
4542
+ ["ChartEntry"]: AliasType<{
4543
+ intervalTick?: boolean | `@${string}`;
4544
+ value?: boolean | `@${string}`;
4545
+ additionalData?: ValueTypes["ChartEntryAdditionalData"];
4546
+ __typename?: boolean | `@${string}`;
4547
+ }>;
4548
+ ["BetterMetricRangeInput"]: {
4549
+ start: ValueTypes["DateTime"] | Variable<any, string>;
4550
+ end?: ValueTypes["DateTime"] | undefined | null | Variable<any, string>;
4551
+ };
4552
+ ["OrderSummaryMetricInput"]: {
4553
+ range: ValueTypes["BetterMetricRangeInput"] | Variable<any, string>;
4554
+ orderStates: Array<string> | Variable<any, string>;
4555
+ };
4556
+ ["ChartMetricInput"]: {
4557
+ range: ValueTypes["BetterMetricRangeInput"] | Variable<any, string>;
4558
+ interval: ValueTypes["MetricIntervalType"] | Variable<any, string>;
4559
+ types: Array<ValueTypes["ChartMetricType"]> | Variable<any, string>;
4560
+ orderStates: Array<string> | Variable<any, string>;
4561
+ productIDs?: Array<string> | undefined | null | Variable<any, string>;
4562
+ net?: boolean | undefined | null | Variable<any, string>;
4443
4563
  };
4444
4564
  ["SetInpostShippingMethodConfigInput"]: {
4445
4565
  shippingMethodId: string | Variable<any, string>;
@@ -5179,6 +5299,17 @@ export type ResolverInputTypes = {
5179
5299
  getMerchantPlatformInfo?: [{
5180
5300
  platform: string;
5181
5301
  }, ResolverInputTypes["MerchantPlatformInfo"]];
5302
+ getMerchantSyncHistory?: [{
5303
+ platform: string;
5304
+ take?: number | undefined | null;
5305
+ }, ResolverInputTypes["MerchantSyncRun"]];
5306
+ additionalOrderStates?: ResolverInputTypes["AdditionalOrderState"];
5307
+ chartMetric?: [{
5308
+ input: ResolverInputTypes["ChartMetricInput"];
5309
+ }, ResolverInputTypes["ChartMetrics"]];
5310
+ orderSummaryMetric?: [{
5311
+ input: ResolverInputTypes["OrderSummaryMetricInput"];
5312
+ }, ResolverInputTypes["OrderSummaryMetrics"]];
5182
5313
  getInpostConfig?: ResolverInputTypes["InpostConfig"];
5183
5314
  getInpostOrganizations?: [{
5184
5315
  input?: ResolverInputTypes["GetInpostOrganizationsInput"] | undefined | null;
@@ -7091,6 +7222,7 @@ is not in the required state. */
7091
7222
  take?: number | undefined | null;
7092
7223
  };
7093
7224
  ["ProductListOptions"]: {
7225
+ searchTerm?: string | undefined | null;
7094
7226
  /** Skips the first n results, for use in pagination */
7095
7227
  skip?: number | undefined | null;
7096
7228
  /** Takes n results, for use in pagination */
@@ -7117,6 +7249,7 @@ is not in the required state. */
7117
7249
  _or?: Array<ResolverInputTypes["ProductFilterParameter"]> | undefined | null;
7118
7250
  };
7119
7251
  ["ProductVariantListOptions"]: {
7252
+ searchTerm?: string | undefined | null;
7120
7253
  /** Skips the first n results, for use in pagination */
7121
7254
  skip?: number | undefined | null;
7122
7255
  /** Takes n results, for use in pagination */
@@ -9170,6 +9303,53 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
9170
9303
  ["MerchantPlatformInfo"]: AliasType<{
9171
9304
  isValidConnection?: boolean | `@${string}`;
9172
9305
  productsCount?: boolean | `@${string}`;
9306
+ connectionStatus?: boolean | `@${string}`;
9307
+ dataSourceVerified?: boolean | `@${string}`;
9308
+ checkedAt?: boolean | `@${string}`;
9309
+ latencyMs?: boolean | `@${string}`;
9310
+ disapprovedProductsCount?: boolean | `@${string}`;
9311
+ issuesCount?: boolean | `@${string}`;
9312
+ lastError?: ResolverInputTypes["MerchantPlatformError"];
9313
+ issues?: ResolverInputTypes["MerchantProductIssue"];
9314
+ __typename?: boolean | `@${string}`;
9315
+ }>;
9316
+ ["MerchantPlatformError"]: AliasType<{
9317
+ code?: boolean | `@${string}`;
9318
+ message?: boolean | `@${string}`;
9319
+ retryable?: boolean | `@${string}`;
9320
+ __typename?: boolean | `@${string}`;
9321
+ }>;
9322
+ ["MerchantProductIssue"]: AliasType<{
9323
+ offerId?: boolean | `@${string}`;
9324
+ code?: boolean | `@${string}`;
9325
+ description?: boolean | `@${string}`;
9326
+ severity?: boolean | `@${string}`;
9327
+ __typename?: boolean | `@${string}`;
9328
+ }>;
9329
+ ["MerchantSyncItem"]: AliasType<{
9330
+ id?: boolean | `@${string}`;
9331
+ offerId?: boolean | `@${string}`;
9332
+ operation?: boolean | `@${string}`;
9333
+ status?: boolean | `@${string}`;
9334
+ errorCode?: boolean | `@${string}`;
9335
+ errorMessage?: boolean | `@${string}`;
9336
+ attempts?: boolean | `@${string}`;
9337
+ __typename?: boolean | `@${string}`;
9338
+ }>;
9339
+ ["MerchantSyncRun"]: AliasType<{
9340
+ id?: boolean | `@${string}`;
9341
+ createdAt?: boolean | `@${string}`;
9342
+ platform?: boolean | `@${string}`;
9343
+ trigger?: boolean | `@${string}`;
9344
+ status?: boolean | `@${string}`;
9345
+ jobId?: boolean | `@${string}`;
9346
+ total?: boolean | `@${string}`;
9347
+ succeeded?: boolean | `@${string}`;
9348
+ failed?: boolean | `@${string}`;
9349
+ errorSummary?: boolean | `@${string}`;
9350
+ startedAt?: boolean | `@${string}`;
9351
+ finishedAt?: boolean | `@${string}`;
9352
+ items?: ResolverInputTypes["MerchantSyncItem"];
9173
9353
  __typename?: boolean | `@${string}`;
9174
9354
  }>;
9175
9355
  ["MerchantPlatformSettingInput"]: {
@@ -9178,7 +9358,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
9178
9358
  };
9179
9359
  ["SaveMerchantPlatformSettingInput"]: {
9180
9360
  platform: string;
9181
- entries?: Array<ResolverInputTypes["MerchantPlatformSettingInput"]> | undefined | null;
9361
+ entries: Array<ResolverInputTypes["MerchantPlatformSettingInput"]>;
9362
+ };
9363
+ ["AdditionalOrderState"]: AliasType<{
9364
+ state?: boolean | `@${string}`;
9365
+ selectedByDefault?: boolean | `@${string}`;
9366
+ __typename?: boolean | `@${string}`;
9367
+ }>;
9368
+ ["ChartDataType"]: AliasType<{
9369
+ type?: boolean | `@${string}`;
9370
+ title?: boolean | `@${string}`;
9371
+ entries?: ResolverInputTypes["ChartEntry"];
9372
+ __typename?: boolean | `@${string}`;
9373
+ }>;
9374
+ ["ChartMetrics"]: AliasType<{
9375
+ data?: ResolverInputTypes["ChartDataType"];
9376
+ __typename?: boolean | `@${string}`;
9377
+ }>;
9378
+ ["OrderSummaryMetrics"]: AliasType<{
9379
+ data?: ResolverInputTypes["OrderSummaryDataMetric"];
9380
+ __typename?: boolean | `@${string}`;
9381
+ }>;
9382
+ ["OrderSummaryDataMetric"]: AliasType<{
9383
+ currencyCode?: boolean | `@${string}`;
9384
+ total?: boolean | `@${string}`;
9385
+ totalWithTax?: boolean | `@${string}`;
9386
+ orderCount?: boolean | `@${string}`;
9387
+ averageOrderValue?: boolean | `@${string}`;
9388
+ averageOrderValueWithTax?: boolean | `@${string}`;
9389
+ productCount?: boolean | `@${string}`;
9390
+ __typename?: boolean | `@${string}`;
9391
+ }>;
9392
+ ["MetricRangeType"]: MetricRangeType;
9393
+ ["MetricIntervalType"]: MetricIntervalType;
9394
+ ["ChartMetricType"]: ChartMetricType;
9395
+ ["ChartEntryAdditionalData"]: AliasType<{
9396
+ id?: boolean | `@${string}`;
9397
+ name?: boolean | `@${string}`;
9398
+ quantity?: boolean | `@${string}`;
9399
+ __typename?: boolean | `@${string}`;
9400
+ }>;
9401
+ ["ChartEntry"]: AliasType<{
9402
+ intervalTick?: boolean | `@${string}`;
9403
+ value?: boolean | `@${string}`;
9404
+ additionalData?: ResolverInputTypes["ChartEntryAdditionalData"];
9405
+ __typename?: boolean | `@${string}`;
9406
+ }>;
9407
+ ["BetterMetricRangeInput"]: {
9408
+ start: ResolverInputTypes["DateTime"];
9409
+ end?: ResolverInputTypes["DateTime"] | undefined | null;
9410
+ };
9411
+ ["OrderSummaryMetricInput"]: {
9412
+ range: ResolverInputTypes["BetterMetricRangeInput"];
9413
+ orderStates: Array<string>;
9414
+ };
9415
+ ["ChartMetricInput"]: {
9416
+ range: ResolverInputTypes["BetterMetricRangeInput"];
9417
+ interval: ResolverInputTypes["MetricIntervalType"];
9418
+ types: Array<ResolverInputTypes["ChartMetricType"]>;
9419
+ orderStates: Array<string>;
9420
+ productIDs?: Array<string> | undefined | null;
9421
+ net?: boolean | undefined | null;
9182
9422
  };
9183
9423
  ["SetInpostShippingMethodConfigInput"]: {
9184
9424
  shippingMethodId: string;
@@ -9812,6 +10052,10 @@ export type ModelTypes = {
9812
10052
  zone?: ModelTypes["Zone"] | undefined;
9813
10053
  getMerchantPlatformSettings?: ModelTypes["MerchantPlatformSettingsEntity"] | undefined;
9814
10054
  getMerchantPlatformInfo?: Array<ModelTypes["MerchantPlatformInfo"]> | undefined;
10055
+ getMerchantSyncHistory: Array<ModelTypes["MerchantSyncRun"]>;
10056
+ additionalOrderStates: Array<ModelTypes["AdditionalOrderState"]>;
10057
+ chartMetric: ModelTypes["ChartMetrics"];
10058
+ orderSummaryMetric: ModelTypes["OrderSummaryMetrics"];
9815
10059
  getInpostConfig?: ModelTypes["InpostConfig"] | undefined;
9816
10060
  getInpostOrganizations: ModelTypes["InpostOrganizationResponse"];
9817
10061
  /** Get metrics for the given interval and metric types. */
@@ -11311,6 +11555,7 @@ is not in the required state. */
11311
11555
  take?: number | undefined;
11312
11556
  };
11313
11557
  ["ProductListOptions"]: {
11558
+ searchTerm?: string | undefined;
11314
11559
  /** Skips the first n results, for use in pagination */
11315
11560
  skip?: number | undefined;
11316
11561
  /** Takes n results, for use in pagination */
@@ -11337,6 +11582,7 @@ is not in the required state. */
11337
11582
  _or?: Array<ModelTypes["ProductFilterParameter"]> | undefined;
11338
11583
  };
11339
11584
  ["ProductVariantListOptions"]: {
11585
+ searchTerm?: string | undefined;
11340
11586
  /** Skips the first n results, for use in pagination */
11341
11587
  skip?: number | undefined;
11342
11588
  /** Takes n results, for use in pagination */
@@ -12983,11 +13229,54 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
12983
13229
  ["MerchantPlatformSettingsEntity"]: {
12984
13230
  id: string;
12985
13231
  platform: string;
12986
- entries?: Array<ModelTypes["MerchantPlatformSetting"]> | undefined;
13232
+ entries: Array<ModelTypes["MerchantPlatformSetting"]>;
12987
13233
  };
12988
13234
  ["MerchantPlatformInfo"]: {
12989
13235
  isValidConnection: boolean;
12990
13236
  productsCount: number;
13237
+ connectionStatus?: string | undefined;
13238
+ dataSourceVerified?: boolean | undefined;
13239
+ checkedAt?: ModelTypes["DateTime"] | undefined;
13240
+ latencyMs?: number | undefined;
13241
+ disapprovedProductsCount?: number | undefined;
13242
+ issuesCount?: number | undefined;
13243
+ lastError?: ModelTypes["MerchantPlatformError"] | undefined;
13244
+ issues?: Array<ModelTypes["MerchantProductIssue"]> | undefined;
13245
+ };
13246
+ ["MerchantPlatformError"]: {
13247
+ code: string;
13248
+ message: string;
13249
+ retryable: boolean;
13250
+ };
13251
+ ["MerchantProductIssue"]: {
13252
+ offerId: string;
13253
+ code: string;
13254
+ description: string;
13255
+ severity: string;
13256
+ };
13257
+ ["MerchantSyncItem"]: {
13258
+ id: string;
13259
+ offerId: string;
13260
+ operation: string;
13261
+ status: string;
13262
+ errorCode?: string | undefined;
13263
+ errorMessage?: string | undefined;
13264
+ attempts: number;
13265
+ };
13266
+ ["MerchantSyncRun"]: {
13267
+ id: string;
13268
+ createdAt: ModelTypes["DateTime"];
13269
+ platform: string;
13270
+ trigger: string;
13271
+ status: string;
13272
+ jobId?: string | undefined;
13273
+ total: number;
13274
+ succeeded: number;
13275
+ failed: number;
13276
+ errorSummary?: string | undefined;
13277
+ startedAt?: ModelTypes["DateTime"] | undefined;
13278
+ finishedAt?: ModelTypes["DateTime"] | undefined;
13279
+ items: Array<ModelTypes["MerchantSyncItem"]>;
12991
13280
  };
12992
13281
  ["MerchantPlatformSettingInput"]: {
12993
13282
  key: string;
@@ -12995,7 +13284,60 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
12995
13284
  };
12996
13285
  ["SaveMerchantPlatformSettingInput"]: {
12997
13286
  platform: string;
12998
- entries?: Array<ModelTypes["MerchantPlatformSettingInput"]> | undefined;
13287
+ entries: Array<ModelTypes["MerchantPlatformSettingInput"]>;
13288
+ };
13289
+ ["AdditionalOrderState"]: {
13290
+ state: string;
13291
+ selectedByDefault: boolean;
13292
+ };
13293
+ ["ChartDataType"]: {
13294
+ type: ModelTypes["ChartMetricType"];
13295
+ title: string;
13296
+ entries: Array<ModelTypes["ChartEntry"]>;
13297
+ };
13298
+ ["ChartMetrics"]: {
13299
+ data: Array<ModelTypes["ChartDataType"]>;
13300
+ };
13301
+ ["OrderSummaryMetrics"]: {
13302
+ data: ModelTypes["OrderSummaryDataMetric"];
13303
+ };
13304
+ ["OrderSummaryDataMetric"]: {
13305
+ currencyCode: ModelTypes["CurrencyCode"];
13306
+ total: number;
13307
+ totalWithTax: number;
13308
+ orderCount: number;
13309
+ averageOrderValue: number;
13310
+ averageOrderValueWithTax: number;
13311
+ productCount: number;
13312
+ };
13313
+ ["MetricRangeType"]: MetricRangeType;
13314
+ ["MetricIntervalType"]: MetricIntervalType;
13315
+ ["ChartMetricType"]: ChartMetricType;
13316
+ ["ChartEntryAdditionalData"]: {
13317
+ id: string;
13318
+ name: string;
13319
+ quantity: number;
13320
+ };
13321
+ ["ChartEntry"]: {
13322
+ intervalTick: number;
13323
+ value: number;
13324
+ additionalData?: Array<ModelTypes["ChartEntryAdditionalData"]> | undefined;
13325
+ };
13326
+ ["BetterMetricRangeInput"]: {
13327
+ start: ModelTypes["DateTime"];
13328
+ end?: ModelTypes["DateTime"] | undefined;
13329
+ };
13330
+ ["OrderSummaryMetricInput"]: {
13331
+ range: ModelTypes["BetterMetricRangeInput"];
13332
+ orderStates: Array<string>;
13333
+ };
13334
+ ["ChartMetricInput"]: {
13335
+ range: ModelTypes["BetterMetricRangeInput"];
13336
+ interval: ModelTypes["MetricIntervalType"];
13337
+ types: Array<ModelTypes["ChartMetricType"]>;
13338
+ orderStates: Array<string>;
13339
+ productIDs?: Array<string> | undefined;
13340
+ net?: boolean | undefined;
12999
13341
  };
13000
13342
  ["SetInpostShippingMethodConfigInput"]: {
13001
13343
  shippingMethodId: string;
@@ -13619,6 +13961,10 @@ export type GraphQLTypes = {
13619
13961
  zone?: GraphQLTypes["Zone"] | undefined;
13620
13962
  getMerchantPlatformSettings?: GraphQLTypes["MerchantPlatformSettingsEntity"] | undefined;
13621
13963
  getMerchantPlatformInfo?: Array<GraphQLTypes["MerchantPlatformInfo"]> | undefined;
13964
+ getMerchantSyncHistory: Array<GraphQLTypes["MerchantSyncRun"]>;
13965
+ additionalOrderStates: Array<GraphQLTypes["AdditionalOrderState"]>;
13966
+ chartMetric: GraphQLTypes["ChartMetrics"];
13967
+ orderSummaryMetric: GraphQLTypes["OrderSummaryMetrics"];
13622
13968
  getInpostConfig?: GraphQLTypes["InpostConfig"] | undefined;
13623
13969
  getInpostOrganizations: GraphQLTypes["InpostOrganizationResponse"];
13624
13970
  /** Get metrics for the given interval and metric types. */
@@ -15299,6 +15645,7 @@ is not in the required state. */
15299
15645
  take?: number | undefined;
15300
15646
  };
15301
15647
  ["ProductListOptions"]: {
15648
+ searchTerm?: string | undefined;
15302
15649
  /** Skips the first n results, for use in pagination */
15303
15650
  skip?: number | undefined;
15304
15651
  /** Takes n results, for use in pagination */
@@ -15325,6 +15672,7 @@ is not in the required state. */
15325
15672
  _or?: Array<GraphQLTypes["ProductFilterParameter"]> | undefined;
15326
15673
  };
15327
15674
  ["ProductVariantListOptions"]: {
15675
+ searchTerm?: string | undefined;
15328
15676
  /** Skips the first n results, for use in pagination */
15329
15677
  skip?: number | undefined;
15330
15678
  /** Takes n results, for use in pagination */
@@ -17379,12 +17727,59 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
17379
17727
  __typename: "MerchantPlatformSettingsEntity";
17380
17728
  id: string;
17381
17729
  platform: string;
17382
- entries?: Array<GraphQLTypes["MerchantPlatformSetting"]> | undefined;
17730
+ entries: Array<GraphQLTypes["MerchantPlatformSetting"]>;
17383
17731
  };
17384
17732
  ["MerchantPlatformInfo"]: {
17385
17733
  __typename: "MerchantPlatformInfo";
17386
17734
  isValidConnection: boolean;
17387
17735
  productsCount: number;
17736
+ connectionStatus?: string | undefined;
17737
+ dataSourceVerified?: boolean | undefined;
17738
+ checkedAt?: GraphQLTypes["DateTime"] | undefined;
17739
+ latencyMs?: number | undefined;
17740
+ disapprovedProductsCount?: number | undefined;
17741
+ issuesCount?: number | undefined;
17742
+ lastError?: GraphQLTypes["MerchantPlatformError"] | undefined;
17743
+ issues?: Array<GraphQLTypes["MerchantProductIssue"]> | undefined;
17744
+ };
17745
+ ["MerchantPlatformError"]: {
17746
+ __typename: "MerchantPlatformError";
17747
+ code: string;
17748
+ message: string;
17749
+ retryable: boolean;
17750
+ };
17751
+ ["MerchantProductIssue"]: {
17752
+ __typename: "MerchantProductIssue";
17753
+ offerId: string;
17754
+ code: string;
17755
+ description: string;
17756
+ severity: string;
17757
+ };
17758
+ ["MerchantSyncItem"]: {
17759
+ __typename: "MerchantSyncItem";
17760
+ id: string;
17761
+ offerId: string;
17762
+ operation: string;
17763
+ status: string;
17764
+ errorCode?: string | undefined;
17765
+ errorMessage?: string | undefined;
17766
+ attempts: number;
17767
+ };
17768
+ ["MerchantSyncRun"]: {
17769
+ __typename: "MerchantSyncRun";
17770
+ id: string;
17771
+ createdAt: GraphQLTypes["DateTime"];
17772
+ platform: string;
17773
+ trigger: string;
17774
+ status: string;
17775
+ jobId?: string | undefined;
17776
+ total: number;
17777
+ succeeded: number;
17778
+ failed: number;
17779
+ errorSummary?: string | undefined;
17780
+ startedAt?: GraphQLTypes["DateTime"] | undefined;
17781
+ finishedAt?: GraphQLTypes["DateTime"] | undefined;
17782
+ items: Array<GraphQLTypes["MerchantSyncItem"]>;
17388
17783
  };
17389
17784
  ["MerchantPlatformSettingInput"]: {
17390
17785
  key: string;
@@ -17392,7 +17787,67 @@ The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" et
17392
17787
  };
17393
17788
  ["SaveMerchantPlatformSettingInput"]: {
17394
17789
  platform: string;
17395
- entries?: Array<GraphQLTypes["MerchantPlatformSettingInput"]> | undefined;
17790
+ entries: Array<GraphQLTypes["MerchantPlatformSettingInput"]>;
17791
+ };
17792
+ ["AdditionalOrderState"]: {
17793
+ __typename: "AdditionalOrderState";
17794
+ state: string;
17795
+ selectedByDefault: boolean;
17796
+ };
17797
+ ["ChartDataType"]: {
17798
+ __typename: "ChartDataType";
17799
+ type: GraphQLTypes["ChartMetricType"];
17800
+ title: string;
17801
+ entries: Array<GraphQLTypes["ChartEntry"]>;
17802
+ };
17803
+ ["ChartMetrics"]: {
17804
+ __typename: "ChartMetrics";
17805
+ data: Array<GraphQLTypes["ChartDataType"]>;
17806
+ };
17807
+ ["OrderSummaryMetrics"]: {
17808
+ __typename: "OrderSummaryMetrics";
17809
+ data: GraphQLTypes["OrderSummaryDataMetric"];
17810
+ };
17811
+ ["OrderSummaryDataMetric"]: {
17812
+ __typename: "OrderSummaryDataMetric";
17813
+ currencyCode: GraphQLTypes["CurrencyCode"];
17814
+ total: number;
17815
+ totalWithTax: number;
17816
+ orderCount: number;
17817
+ averageOrderValue: number;
17818
+ averageOrderValueWithTax: number;
17819
+ productCount: number;
17820
+ };
17821
+ ["MetricRangeType"]: MetricRangeType;
17822
+ ["MetricIntervalType"]: MetricIntervalType;
17823
+ ["ChartMetricType"]: ChartMetricType;
17824
+ ["ChartEntryAdditionalData"]: {
17825
+ __typename: "ChartEntryAdditionalData";
17826
+ id: string;
17827
+ name: string;
17828
+ quantity: number;
17829
+ };
17830
+ ["ChartEntry"]: {
17831
+ __typename: "ChartEntry";
17832
+ intervalTick: number;
17833
+ value: number;
17834
+ additionalData?: Array<GraphQLTypes["ChartEntryAdditionalData"]> | undefined;
17835
+ };
17836
+ ["BetterMetricRangeInput"]: {
17837
+ start: GraphQLTypes["DateTime"];
17838
+ end?: GraphQLTypes["DateTime"] | undefined;
17839
+ };
17840
+ ["OrderSummaryMetricInput"]: {
17841
+ range: GraphQLTypes["BetterMetricRangeInput"];
17842
+ orderStates: Array<string>;
17843
+ };
17844
+ ["ChartMetricInput"]: {
17845
+ range: GraphQLTypes["BetterMetricRangeInput"];
17846
+ interval: GraphQLTypes["MetricIntervalType"];
17847
+ types: Array<GraphQLTypes["ChartMetricType"]>;
17848
+ orderStates: Array<string>;
17849
+ productIDs?: Array<string> | undefined;
17850
+ net?: boolean | undefined;
17396
17851
  };
17397
17852
  ["SetInpostShippingMethodConfigInput"]: {
17398
17853
  shippingMethodId: string;
@@ -18517,6 +18972,31 @@ export declare const enum OrderType {
18517
18972
  Seller = "Seller",
18518
18973
  Aggregate = "Aggregate"
18519
18974
  }
18975
+ export declare const enum MetricRangeType {
18976
+ Today = "Today",
18977
+ Yesterday = "Yesterday",
18978
+ ThisWeek = "ThisWeek",
18979
+ LastWeek = "LastWeek",
18980
+ ThisMonth = "ThisMonth",
18981
+ LastMonth = "LastMonth",
18982
+ ThisYear = "ThisYear",
18983
+ LastYear = "LastYear",
18984
+ FirstQuarter = "FirstQuarter",
18985
+ SecondQuarter = "SecondQuarter",
18986
+ ThirdQuarter = "ThirdQuarter",
18987
+ FourthQuarter = "FourthQuarter",
18988
+ Custom = "Custom"
18989
+ }
18990
+ export declare const enum MetricIntervalType {
18991
+ Day = "Day",
18992
+ Hour = "Hour"
18993
+ }
18994
+ export declare const enum ChartMetricType {
18995
+ OrderCount = "OrderCount",
18996
+ OrderTotal = "OrderTotal",
18997
+ AverageOrderValue = "AverageOrderValue",
18998
+ OrderTotalProductsCount = "OrderTotalProductsCount"
18999
+ }
18520
19000
  export declare const enum MetricInterval {
18521
19001
  Daily = "Daily"
18522
19002
  }
@@ -18713,6 +19193,12 @@ type ZEUS_VARIABLES = {
18713
19193
  ["OrderType"]: ValueTypes["OrderType"];
18714
19194
  ["MerchantPlatformSettingInput"]: ValueTypes["MerchantPlatformSettingInput"];
18715
19195
  ["SaveMerchantPlatformSettingInput"]: ValueTypes["SaveMerchantPlatformSettingInput"];
19196
+ ["MetricRangeType"]: ValueTypes["MetricRangeType"];
19197
+ ["MetricIntervalType"]: ValueTypes["MetricIntervalType"];
19198
+ ["ChartMetricType"]: ValueTypes["ChartMetricType"];
19199
+ ["BetterMetricRangeInput"]: ValueTypes["BetterMetricRangeInput"];
19200
+ ["OrderSummaryMetricInput"]: ValueTypes["OrderSummaryMetricInput"];
19201
+ ["ChartMetricInput"]: ValueTypes["ChartMetricInput"];
18716
19202
  ["SetInpostShippingMethodConfigInput"]: ValueTypes["SetInpostShippingMethodConfigInput"];
18717
19203
  ["GetInpostOrganizationsInput"]: ValueTypes["GetInpostOrganizationsInput"];
18718
19204
  ["MetricInterval"]: ValueTypes["MetricInterval"];
@@ -7,19 +7,19 @@ export declare const merchantPlatformSettingsSelector: {
7
7
  };
8
8
  export declare const saveMerchantPlatformSettings: import("@graphql-typed-document-node/core").TypedDocumentNode<{
9
9
  saveMerchantPlatformSettings: {
10
- entries?: {
10
+ entries: {
11
11
  value: string;
12
12
  key: string;
13
- }[] | undefined;
13
+ }[];
14
14
  platform: string;
15
15
  };
16
16
  }, {} & {
17
17
  input: {
18
18
  platform: string | import("../zeus/index").Variable<any, string>;
19
- entries?: import("../zeus/index").Variable<any, string> | {
19
+ entries: import("../zeus/index").Variable<any, string> | {
20
20
  key: string | import("../zeus/index").Variable<any, string>;
21
21
  value: string | import("../zeus/index").Variable<any, string>;
22
- }[] | null | undefined;
22
+ }[];
23
23
  };
24
24
  }>;
25
25
  export declare const removeOrphanItems: import("@graphql-typed-document-node/core").TypedDocumentNode<{