@ikas/api-client 1.0.64 → 1.0.65

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 +1 @@
1
- {"version":3,"file":"default-gqls.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/default-gqls.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,kBAAkB,EAAE,gKAAgK;IACpL,sBAAsB,EAAE,wJAAwJ;IAChL,mBAAmB,EAAE,6HAA6H;IAClJ,kBAAkB,EAAE,8LAA8L;IAClN,sBAAsB,EAAE,qFAAqF;IAC7G,sBAAsB,EAAE,4EAA4E;IACpG,aAAa,EAAE,8VAA8V;IAC7W,oBAAoB,EAAE,+fAA+f;IACrhB,iBAAiB,EAAE,4JAA4J;IAC/K,kBAAkB,EAAE,6CAA6C;IACjE,mBAAmB,EAAE,mGAAmG;IACxH,wBAAwB,EAAE,46KAA46K;IACt8K,YAAY,EAAE,+nBAA+nB;IAC7oB,cAAc,EAAE,k6CAAk6C;IACl7C,kBAAkB,EAAE,oJAAoJ;IACxK,cAAc,EAAE,0pCAA0pC;IAC1qC,UAAU,EAAE,sVAAsV;IAClW,aAAa,EAAE,+ZAA+Z;IAC9a,YAAY,EAAE,ydAAyd;IACve,cAAc,EAAE,miDAAmiD;IACnjD,uBAAuB,EAAE,qZAAqZ;IAC9a,cAAc,EAAE,yYAAyY;IACzZ,uBAAuB,EAAE,qTAAqT;IAC9U,cAAc,EAAE,oHAAoH;IACpI,wBAAwB,EAAE,mYAAmY;IAC7Z,sBAAsB,EAAE,83BAA83B;IACt5B,WAAW,EAAE,oxQAAoxQ;IACjyQ,cAAc,EAAE,qSAAqS;IACrT,uBAAuB,EAAE,qjBAAqjB;IAC9kB,oBAAoB,EAAE,quBAAquB;IAC3vB,eAAe,EAAE,kUAAkU;IACnV,aAAa,EAAE,smFAAsmF;IACrnF,sBAAsB,EAAE,waAAwa;IAChc,kBAAkB,EAAE,+kB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;IAC/4O,0BAA0B,EAAE,25OAA25O;IACv7O,iCAAiC,EAAE,yMAAyM;IAC5O,0BAA0B,EAAE,qNAAqN;CAClP,CAAA"}
@@ -55,7 +55,9 @@ export declare type AddOrderInvoiceInput = {
55
55
  appId: Scalars['String'];
56
56
  /** It is the content of invoice. Is the entered value must be in base64 format. */
57
57
  base64?: InputMaybe<Scalars['String']>;
58
- /** 'It is data for create invoice. */
58
+ /** It is data for create invoice. */
59
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
60
+ /** It is data for create invoice. */
59
61
  invoiceData?: InputMaybe<Scalars['JSON']>;
60
62
  /** It is the number of the order invoice. */
61
63
  invoiceNumber: Scalars['String'];
@@ -1022,6 +1024,11 @@ export declare type CategoryTranslationInput = {
1022
1024
  /** It is the information in which language the translation is saved. */
1023
1025
  name?: InputMaybe<Scalars['String']>;
1024
1026
  };
1027
+ export declare type ChangeStockLocationInput = {
1028
+ orderId: Scalars['String'];
1029
+ orderLineItemIds: Array<Scalars['String']>;
1030
+ targetStockLocationId: Scalars['String'];
1031
+ };
1025
1032
  export declare type Checkout = {
1026
1033
  __typename?: 'Checkout';
1027
1034
  abandonedCheckoutFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -1564,6 +1571,60 @@ export declare enum CustomerGenderTypeEnum {
1564
1571
  MALE = "MALE",
1565
1572
  OTHER = "OTHER"
1566
1573
  }
1574
+ export declare type CustomerGroup = {
1575
+ __typename?: 'CustomerGroup';
1576
+ conditions?: Maybe<Array<CustomerGroupCondition>>;
1577
+ createdAt?: Maybe<Scalars['Timestamp']>;
1578
+ deleted: Scalars['Boolean'];
1579
+ id: Scalars['ID'];
1580
+ isAutomated?: Maybe<Scalars['Boolean']>;
1581
+ name: Scalars['String'];
1582
+ priceListId?: Maybe<Scalars['String']>;
1583
+ priceListRules?: Maybe<Array<CustomerPriceListRule>>;
1584
+ shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
1585
+ updatedAt?: Maybe<Scalars['Timestamp']>;
1586
+ };
1587
+ export declare type CustomerGroupCondition = {
1588
+ __typename?: 'CustomerGroupCondition';
1589
+ conditionType: CustomerGroupConditionTypeEnum;
1590
+ method?: Maybe<CustomerGroupConditionMethodEnum>;
1591
+ valueList: Array<Scalars['String']>;
1592
+ };
1593
+ export declare type CustomerGroupConditionInput = {
1594
+ conditionType: CustomerGroupConditionTypeEnum;
1595
+ method?: InputMaybe<CustomerGroupConditionMethodEnum>;
1596
+ valueList: Array<Scalars['String']>;
1597
+ };
1598
+ export declare enum CustomerGroupConditionMethodEnum {
1599
+ IN = "IN",
1600
+ NOT_IN = "NOT_IN"
1601
+ }
1602
+ export declare enum CustomerGroupConditionTypeEnum {
1603
+ ACCOUNT_STATUS = "ACCOUNT_STATUS",
1604
+ CREATED_AT = "CREATED_AT",
1605
+ CUSTOMER_ATTRIBUTE = "CUSTOMER_ATTRIBUTE",
1606
+ CUSTOMER_GROUP = "CUSTOMER_GROUP",
1607
+ EMAIL = "EMAIL",
1608
+ LAST_ORDERED_DATE = "LAST_ORDERED_DATE",
1609
+ ORDER_COUNT_RANGE = "ORDER_COUNT_RANGE",
1610
+ PREFERRED_LANGUAGE = "PREFERRED_LANGUAGE",
1611
+ REGISTRATION_SOURCE = "REGISTRATION_SOURCE",
1612
+ SUBSCRIPTION_STATUS = "SUBSCRIPTION_STATUS",
1613
+ TAG = "TAG",
1614
+ TOTAL_ORDER_PRICE_RANGE = "TOTAL_ORDER_PRICE_RANGE"
1615
+ }
1616
+ export declare type CustomerGroupInput = {
1617
+ conditions?: InputMaybe<Array<CustomerGroupConditionInput>>;
1618
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
1619
+ deleted?: InputMaybe<Scalars['Boolean']>;
1620
+ id?: InputMaybe<Scalars['ID']>;
1621
+ isAutomated?: InputMaybe<Scalars['Boolean']>;
1622
+ name: Scalars['String'];
1623
+ priceListId?: InputMaybe<Scalars['String']>;
1624
+ priceListRules?: InputMaybe<Array<CustomerPriceListRuleInput>>;
1625
+ shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
1626
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
1627
+ };
1567
1628
  export declare type CustomerInput = {
1568
1629
  accountStatus?: InputMaybe<CustomerAccountStatusEnum>;
1569
1630
  addresses?: InputMaybe<Array<CustomerAddressInput>>;
@@ -1663,6 +1724,19 @@ export declare enum CustomerRegistrationSourceEnum {
1663
1724
  google = "google",
1664
1725
  twitch = "twitch"
1665
1726
  }
1727
+ /** CustomerSubscriptionPlanOrderPaymentStatusEnum */
1728
+ export declare enum CustomerSubscriptionPlanOrderPaymentStatusEnum {
1729
+ FAILED = "FAILED",
1730
+ PAID = "PAID",
1731
+ UNPAID = "UNPAID"
1732
+ }
1733
+ /** CustomerSubscriptionPlanOrderStatusEnum */
1734
+ export declare enum CustomerSubscriptionPlanOrderStatusEnum {
1735
+ CANCELLED = "CANCELLED",
1736
+ COMPLETED = "COMPLETED",
1737
+ PLANNED = "PLANNED",
1738
+ POSTPONED = "POSTPONED"
1739
+ }
1666
1740
  export declare type DateFilterInput = {
1667
1741
  /** `equal`. The filter used for equality. */
1668
1742
  eq?: InputMaybe<Scalars['Timestamp']>;
@@ -1739,6 +1813,13 @@ export declare type GenerateCouponInput = {
1739
1813
  usageLimit?: InputMaybe<Scalars['Int']>;
1740
1814
  usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1741
1815
  };
1816
+ export declare type GenerateOrderPaymentLinkInput = {
1817
+ orderId: Scalars['String'];
1818
+ salesChannelId?: InputMaybe<Scalars['String']>;
1819
+ storefrontId?: InputMaybe<Scalars['String']>;
1820
+ storefrontRoutingId?: InputMaybe<Scalars['String']>;
1821
+ storefrontThemeId?: InputMaybe<Scalars['String']>;
1822
+ };
1742
1823
  export declare type GetImportJobDataResponse = {
1743
1824
  __typename?: 'GetImportJobDataResponse';
1744
1825
  data?: Maybe<Scalars['String']>;
@@ -1909,11 +1990,11 @@ export declare enum ImportTypeEnum {
1909
1990
  }
1910
1991
  export declare type Invoice = {
1911
1992
  __typename?: 'Invoice';
1912
- /** It is the id of the order invoice. */
1993
+ /** It is the app id where the merchant is registered and creates the order invoice. */
1913
1994
  appId: Scalars['String'];
1914
- /** It is the id of the order invoice. */
1995
+ /** It is the app name that created the order invoice. */
1915
1996
  appName: Scalars['String'];
1916
- /** It is the id of the order invoice. */
1997
+ /** It is the date the order invoice was created. */
1917
1998
  createdAt?: Maybe<Scalars['Timestamp']>;
1918
1999
  /** It is indicates that the invoice has the pdf. */
1919
2000
  hasPdf?: Maybe<Scalars['Boolean']>;
@@ -1921,9 +2002,9 @@ export declare type Invoice = {
1921
2002
  id: Scalars['String'];
1922
2003
  /** It is data of the invoice. */
1923
2004
  invoiceData?: Maybe<Scalars['JSON']>;
1924
- /** It is the id of the order invoice. */
2005
+ /** It is the number of the order invoice. */
1925
2006
  invoiceNumber: Scalars['String'];
1926
- /** It is the id of the order invoice. */
2007
+ /** It is the ikas app id that created the order invoice. */
1927
2008
  storeAppId: Scalars['String'];
1928
2009
  /** It is the type enum of the invoice. */
1929
2010
  type: InvoiceTypeEnum;
@@ -1938,6 +2019,7 @@ export declare type Language = {
1938
2019
  createdAt?: Maybe<Scalars['Timestamp']>;
1939
2020
  deleted: Scalars['Boolean'];
1940
2021
  id: Scalars['ID'];
2022
+ isFree?: Maybe<Scalars['Boolean']>;
1941
2023
  locale: Scalars['String'];
1942
2024
  name: Scalars['String'];
1943
2025
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -2282,6 +2364,7 @@ export declare type Mutation = {
2282
2364
  cancelFulfillment: Order;
2283
2365
  /** Use this mutation to cancel given order lines. */
2284
2366
  cancelOrderLine: Order;
2367
+ changeStockLocation: Order;
2285
2368
  /** Using this api, you can add payment features to a merchant app. */
2286
2369
  createMerchantAppPayment: MerchantAppPayment;
2287
2370
  /** Using this api, you can add payment features to a merchant app with app subscription id. */
@@ -2292,6 +2375,7 @@ export declare type Mutation = {
2292
2375
  /** Using this api, you can delete the categories of products. */
2293
2376
  deleteCategoryList: Scalars['Boolean'];
2294
2377
  deleteCouponList: Scalars['String'];
2378
+ deleteCustomerGroupList: Scalars['Boolean'];
2295
2379
  deleteCustomerList: Scalars['Boolean'];
2296
2380
  deleteGlobalTaxSettingsList: Scalars['Boolean'];
2297
2381
  deleteOrderTagList: Scalars['Boolean'];
@@ -2321,6 +2405,7 @@ export declare type Mutation = {
2321
2405
  deleteWebhook: Scalars['Boolean'];
2322
2406
  /** Use this mutation to fulfill order line items. */
2323
2407
  fulfillOrder: Order;
2408
+ generateOrderPaymentLink?: Maybe<Scalars['String']>;
2324
2409
  /** Using this api, you can collect demo day. */
2325
2410
  getAppDemoDay?: Maybe<Scalars['Float']>;
2326
2411
  getOrderInvoicePdfUrl?: Maybe<Scalars['String']>;
@@ -2332,6 +2417,7 @@ export declare type Mutation = {
2332
2417
  saveCategory: Category;
2333
2418
  /** Use this mutation to save customer by supplying the `CustomerInput` input. */
2334
2419
  saveCustomer: Customer;
2420
+ saveCustomerGroup: CustomerGroup;
2335
2421
  saveGlobalTaxSettings: GlobalTaxSettings;
2336
2422
  saveOrderTag: OrderTag;
2337
2423
  /** Use this mutation to create or update a product with provided input values. */
@@ -2399,6 +2485,9 @@ export declare type MutationcancelFulfillmentArgs = {
2399
2485
  export declare type MutationcancelOrderLineArgs = {
2400
2486
  input: CancelOrderLineInput;
2401
2487
  };
2488
+ export declare type MutationchangeStockLocationArgs = {
2489
+ input: ChangeStockLocationInput;
2490
+ };
2402
2491
  export declare type MutationcreateMerchantAppPaymentArgs = {
2403
2492
  input: MerchantAppPaymentInput;
2404
2493
  };
@@ -2417,6 +2506,9 @@ export declare type MutationdeleteCategoryListArgs = {
2417
2506
  export declare type MutationdeleteCouponListArgs = {
2418
2507
  idList: Array<Scalars['String']>;
2419
2508
  };
2509
+ export declare type MutationdeleteCustomerGroupListArgs = {
2510
+ idList: Array<Scalars['String']>;
2511
+ };
2420
2512
  export declare type MutationdeleteCustomerListArgs = {
2421
2513
  idList: Array<Scalars['String']>;
2422
2514
  };
@@ -2468,6 +2560,9 @@ export declare type MutationdeleteWebhookArgs = {
2468
2560
  export declare type MutationfulfillOrderArgs = {
2469
2561
  input: FulFillOrderInput;
2470
2562
  };
2563
+ export declare type MutationgenerateOrderPaymentLinkArgs = {
2564
+ input: GenerateOrderPaymentLinkInput;
2565
+ };
2471
2566
  export declare type MutationgetAppDemoDayArgs = {
2472
2567
  input: CreateMerchantAppPaymentWithSubscriptionInput;
2473
2568
  };
@@ -2489,6 +2584,9 @@ export declare type MutationsaveCategoryArgs = {
2489
2584
  export declare type MutationsaveCustomerArgs = {
2490
2585
  input: CustomerInput;
2491
2586
  };
2587
+ export declare type MutationsaveCustomerGroupArgs = {
2588
+ input: CustomerGroupInput;
2589
+ };
2492
2590
  export declare type MutationsaveGlobalTaxSettingsArgs = {
2493
2591
  input: GlobalTaxSettingsInput;
2494
2592
  };
@@ -2612,6 +2710,7 @@ export declare type Order = {
2612
2710
  /** It shows the number of orders given by the relevant customer. */
2613
2711
  customerOrderCount?: Maybe<Scalars['Float']>;
2614
2712
  customerSegments?: Maybe<Array<OrderCustomerSegment>>;
2713
+ customerSubscriptionPlans?: Maybe<Array<OrderCustomerSubscriptionPlan>>;
2615
2714
  deleted: Scalars['Boolean'];
2616
2715
  dueDate?: Maybe<Scalars['Timestamp']>;
2617
2716
  edited?: Maybe<Scalars['Boolean']>;
@@ -2665,6 +2764,7 @@ export declare type Order = {
2665
2764
  /** Information about the `salesChannel` where the order was created. */
2666
2765
  salesChannel: OrderSalesChannel;
2667
2766
  salesChannelId?: Maybe<Scalars['String']>;
2767
+ sessionId?: Maybe<Scalars['String']>;
2668
2768
  sessionInfo?: Maybe<OrderSessionInfo>;
2669
2769
  /** It is the shipping address of the order. */
2670
2770
  shippingAddress?: Maybe<OrderAddress>;
@@ -2992,13 +3092,25 @@ export declare type OrderCustomerSegment = {
2992
3092
  /** It is the customer's segment name */
2993
3093
  name: Scalars['String'];
2994
3094
  };
3095
+ export declare type OrderCustomerSubscriptionPlan = {
3096
+ __typename?: 'OrderCustomerSubscriptionPlan';
3097
+ /** It is the id of the customer subscription plan. */
3098
+ id: Scalars['String'];
3099
+ };
2995
3100
  export declare type OrderGiftCardLine = {
2996
3101
  __typename?: 'OrderGiftCardLine';
2997
3102
  amount: Scalars['Float'];
3103
+ appliedTransactions: Array<OrderGiftCardLineAppliedTransaction>;
2998
3104
  code: Scalars['String'];
2999
3105
  giftCardId: Scalars['String'];
3000
3106
  id: Scalars['String'];
3001
3107
  };
3108
+ export declare type OrderGiftCardLineAppliedTransaction = {
3109
+ __typename?: 'OrderGiftCardLineAppliedTransaction';
3110
+ amount: Scalars['Float'];
3111
+ id: Scalars['String'];
3112
+ type: TransactionTypeEnum;
3113
+ };
3002
3114
  export declare type OrderGiftPackageLine = {
3003
3115
  __typename?: 'OrderGiftPackageLine';
3004
3116
  /** Indicates whether the gift cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
@@ -3118,6 +3230,8 @@ export declare type OrderLineItem = {
3118
3230
  statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
3119
3231
  /** It is the stock location id of the variant value in the order line item. */
3120
3232
  stockLocationId?: Maybe<Scalars['String']>;
3233
+ /** Information about the subscription plan of variant. */
3234
+ subscriptionPlan?: Maybe<OrderLineItemSubscriptionPlan>;
3121
3235
  /** It is the tax value of the order line item. */
3122
3236
  taxValue?: Maybe<Scalars['Float']>;
3123
3237
  /** It is the unit price of the order line item. */
@@ -3154,12 +3268,39 @@ export declare enum OrderLineItemStatusEnum {
3154
3268
  CANCEL_REQUESTED = "CANCEL_REQUESTED",
3155
3269
  DELIVERED = "DELIVERED",
3156
3270
  FULFILLED = "FULFILLED",
3271
+ PLANNED = "PLANNED",
3157
3272
  REFUNDED = "REFUNDED",
3158
3273
  REFUND_REJECTED = "REFUND_REJECTED",
3159
3274
  REFUND_REQUESTED = "REFUND_REQUESTED",
3160
3275
  REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
3161
3276
  UNFULFILLED = "UNFULFILLED"
3162
3277
  }
3278
+ export declare type OrderLineItemSubscriptionPlan = {
3279
+ __typename?: 'OrderLineItemSubscriptionPlan';
3280
+ /** It is the id of subscription plan */
3281
+ id: Scalars['String'];
3282
+ /** It is the name of subscription plan. */
3283
+ name: Scalars['String'];
3284
+ /** It is the period of the subscription plan */
3285
+ period: OrderLineItemSubscriptionPlanPeriod;
3286
+ };
3287
+ export declare type OrderLineItemSubscriptionPlanPeriod = {
3288
+ __typename?: 'OrderLineItemSubscriptionPlanPeriod';
3289
+ /** It is the discount of subscription plan period */
3290
+ discount?: Maybe<SubscriptionPlanDiscount>;
3291
+ /** It is the duration unit of subscription plan period. */
3292
+ durationUnit: SubscriptionPlanDurationUnitTypeEnum;
3293
+ /** It is the duration value of subscription plan period. */
3294
+ durationValue: Scalars['Float'];
3295
+ /** It is the id of subscription plan period */
3296
+ id: Scalars['String'];
3297
+ /** It is the mox orders of subscription plan period */
3298
+ maxOrders?: Maybe<Scalars['Float']>;
3299
+ /** It is the payment type of subscription plan */
3300
+ paymentType: SubscriptionPlanPaymentTypeEnum;
3301
+ /** It is the scheduled order day of subscription plan period. */
3302
+ scheduledOrderDay?: Maybe<Scalars['Float']>;
3303
+ };
3163
3304
  export declare type OrderLineOption = {
3164
3305
  __typename?: 'OrderLineOption';
3165
3306
  /** It is the name of order line option in the order line item. */
@@ -3185,6 +3326,7 @@ export declare type OrderLineOptionInput = {
3185
3326
  };
3186
3327
  export declare type OrderLineOptionValue = {
3187
3328
  __typename?: 'OrderLineOptionValue';
3329
+ applyAfterCampaign?: Maybe<Scalars['Boolean']>;
3188
3330
  name?: Maybe<Scalars['String']>;
3189
3331
  price?: Maybe<Scalars['Float']>;
3190
3332
  priceType?: Maybe<ProductOptionPriceTypeEnum>;
@@ -3373,10 +3515,20 @@ export declare type OrderPackage = {
3373
3515
  orderPackageNumber: Scalars['String'];
3374
3516
  sourceId?: Maybe<Scalars['String']>;
3375
3517
  stockLocationId: Scalars['String'];
3518
+ subscriptionPlanOrder?: Maybe<OrderPackageCustomerSubscriptionPlanOrder>;
3376
3519
  /** It is the stock location id information where the package will be shipped. */
3377
3520
  trackingInfo?: Maybe<TrackingInfo>;
3378
3521
  updatedAt?: Maybe<Scalars['Timestamp']>;
3379
3522
  };
3523
+ export declare type OrderPackageCustomerSubscriptionPlanOrder = {
3524
+ __typename?: 'OrderPackageCustomerSubscriptionPlanOrder';
3525
+ customerSubscriptionPlanId: Scalars['String'];
3526
+ customerSubscriptionPlanOrderId: Scalars['String'];
3527
+ paymentDate: Scalars['Timestamp'];
3528
+ paymentStatus: CustomerSubscriptionPlanOrderPaymentStatusEnum;
3529
+ plannedDate: Scalars['Timestamp'];
3530
+ status: CustomerSubscriptionPlanOrderStatusEnum;
3531
+ };
3380
3532
  export declare enum OrderPackageFulfillStatusEnum {
3381
3533
  CANCELLED = "CANCELLED",
3382
3534
  CANCEL_REJECTED = "CANCEL_REJECTED",
@@ -3384,6 +3536,7 @@ export declare enum OrderPackageFulfillStatusEnum {
3384
3536
  DELIVERED = "DELIVERED",
3385
3537
  ERROR = "ERROR",
3386
3538
  FULFILLED = "FULFILLED",
3539
+ PLANNED = "PLANNED",
3387
3540
  READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
3388
3541
  READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
3389
3542
  REFUNDED = "REFUNDED",
@@ -3403,6 +3556,7 @@ export declare enum OrderPackageStatusEnum {
3403
3556
  PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
3404
3557
  PARTIALLY_READY_FOR_SHIPMENT = "PARTIALLY_READY_FOR_SHIPMENT",
3405
3558
  PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
3559
+ PLANNED = "PLANNED",
3406
3560
  READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
3407
3561
  READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
3408
3562
  REFUNDED = "REFUNDED",
@@ -3543,18 +3697,20 @@ export declare type OrderSessionInfo = {
3543
3697
  end?: Maybe<Scalars['Timestamp']>;
3544
3698
  host?: Maybe<Scalars['String']>;
3545
3699
  ip?: Maybe<Scalars['String']>;
3700
+ journeyId?: Maybe<Scalars['String']>;
3546
3701
  referer?: Maybe<Scalars['String']>;
3547
3702
  salesChannelId?: Maybe<Scalars['String']>;
3548
3703
  sessionId?: Maybe<Scalars['String']>;
3549
3704
  start?: Maybe<Scalars['Timestamp']>;
3550
3705
  storefrontId?: Maybe<Scalars['String']>;
3551
- trafficSource?: Maybe<OrderSessionInfoTrafficSource>;
3706
+ /** @deprecated Separated as new OrderSession model */
3707
+ trafficSource?: Maybe<OrderSessionTrafficSource>;
3552
3708
  userAgent?: Maybe<OrderSessionUserAgent>;
3553
3709
  utm?: Maybe<OrderSessionUTM>;
3554
3710
  visitorId?: Maybe<Scalars['String']>;
3555
3711
  };
3556
- export declare type OrderSessionInfoTrafficSource = {
3557
- __typename?: 'OrderSessionInfoTrafficSource';
3712
+ export declare type OrderSessionTrafficSource = {
3713
+ __typename?: 'OrderSessionTrafficSource';
3558
3714
  source?: Maybe<Scalars['String']>;
3559
3715
  type: SFAnalyticsTrafficSourceEnum;
3560
3716
  };
@@ -3942,6 +4098,8 @@ export declare type Product = {
3942
4098
  salesChannels?: Maybe<Array<ProductSalesChannel>>;
3943
4099
  /** Short description of the product. */
3944
4100
  shortDescription?: Maybe<Scalars['String']>;
4101
+ /** Subscription plan id of product */
4102
+ subscriptionPlanId?: Maybe<Scalars['String']>;
3945
4103
  /** List of product tag identifiers. */
3946
4104
  tagIds?: Maybe<Array<Scalars['String']>>;
3947
4105
  /** List of product tags. */
@@ -4210,6 +4368,7 @@ export declare type ProductInput = {
4210
4368
  /** List of sales channels of the product. */
4211
4369
  salesChannels?: InputMaybe<Array<ProductSalesChannelInput>>;
4212
4370
  shortDescription?: InputMaybe<Scalars['String']>;
4371
+ subscriptionPlanId?: InputMaybe<Scalars['String']>;
4213
4372
  tagIds?: InputMaybe<Array<Scalars['String']>>;
4214
4373
  translations?: InputMaybe<Array<ProductTranslationInput>>;
4215
4374
  type: ProductTypeEnum;
@@ -4220,6 +4379,7 @@ export declare type ProductInput = {
4220
4379
  };
4221
4380
  export declare type ProductOption = {
4222
4381
  __typename?: 'ProductOption';
4382
+ applyAfterCampaign?: Maybe<Scalars['Boolean']>;
4223
4383
  createdAt?: Maybe<Scalars['Timestamp']>;
4224
4384
  dateSettings?: Maybe<ProductOptionDateSettings>;
4225
4385
  deleted: Scalars['Boolean'];
@@ -4566,7 +4726,8 @@ export declare enum ProductTypeEnum {
4566
4726
  BUNDLE = "BUNDLE",
4567
4727
  DIGITAL = "DIGITAL",
4568
4728
  MEMBERSHIP = "MEMBERSHIP",
4569
- PHYSICAL = "PHYSICAL"
4729
+ PHYSICAL = "PHYSICAL",
4730
+ SUBSCRIPTION = "SUBSCRIPTION"
4570
4731
  }
4571
4732
  export declare type ProductUnit = {
4572
4733
  __typename?: 'ProductUnit';
@@ -4690,6 +4851,7 @@ export declare type PublicTransaction = {
4690
4851
  error?: Maybe<TransactionError>;
4691
4852
  gatewayReferenceId?: Maybe<Scalars['String']>;
4692
4853
  id: Scalars['ID'];
4854
+ lineItems?: Maybe<Array<TransactionOrderLineItem>>;
4693
4855
  orderId?: Maybe<Scalars['String']>;
4694
4856
  paymentGatewayCode?: Maybe<Scalars['String']>;
4695
4857
  paymentGatewayId: Scalars['String'];
@@ -4742,6 +4904,7 @@ export declare type Query = {
4742
4904
  */
4743
4905
  listCustomer: CustomerPaginationResponse;
4744
4906
  listCustomerAttribute: Array<CustomerAttribute>;
4907
+ listCustomerGroup: Array<CustomerGroup>;
4745
4908
  listDistrict: Array<District>;
4746
4909
  listGlobalTaxSettings: Array<GlobalTaxSettings>;
4747
4910
  listLanguage: Array<Language>;
@@ -4882,6 +5045,12 @@ export declare type QuerylistCustomerArgs = {
4882
5045
  export declare type QuerylistCustomerAttributeArgs = {
4883
5046
  includeDeleted?: InputMaybe<Scalars['Boolean']>;
4884
5047
  };
5048
+ export declare type QuerylistCustomerGroupArgs = {
5049
+ id?: InputMaybe<StringFilterInput>;
5050
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
5051
+ name?: InputMaybe<StringFilterInput>;
5052
+ updatedAt?: InputMaybe<DateFilterInput>;
5053
+ };
4885
5054
  export declare type QuerylistDistrictArgs = {
4886
5055
  cityId: StringFilterInput;
4887
5056
  countryId?: InputMaybe<StringFilterInput>;
@@ -5074,20 +5243,20 @@ export declare type QuerysearchProductsArgs = {
5074
5243
  input: SearchInput;
5075
5244
  };
5076
5245
  export declare enum SFAnalyticsTrafficSourceEnum {
5077
- ADS_OTHER = "ADS_OTHER",
5078
5246
  AFFILIATE = "AFFILIATE",
5079
5247
  BING_ADS = "BING_ADS",
5080
5248
  DIRECT = "DIRECT",
5081
5249
  DISPLAY = "DISPLAY",
5082
5250
  EMAIL = "EMAIL",
5083
5251
  FACEBOOK_ADS = "FACEBOOK_ADS",
5084
- GOOGLE_ADS = "GOOGLE_ADS",
5085
5252
  INSTAGRAM_ADS = "INSTAGRAM_ADS",
5086
5253
  ORGANIC_SEARCH = "ORGANIC_SEARCH",
5254
+ ORGANIC_SOCIAL = "ORGANIC_SOCIAL",
5087
5255
  OTHER = "OTHER",
5088
- PAID_TRAFFIC = "PAID_TRAFFIC",
5089
- REFERRAL = "REFERRAL",
5090
- SOCIAL = "SOCIAL"
5256
+ PAID_OTHER = "PAID_OTHER",
5257
+ PAID_SEARCH = "PAID_SEARCH",
5258
+ PAID_SOCIAL = "PAID_SOCIAL",
5259
+ REFERRAL = "REFERRAL"
5091
5260
  }
5092
5261
  export declare type SalesChannel = {
5093
5262
  __typename?: 'SalesChannel';
@@ -5456,6 +5625,24 @@ export declare type SearchProductStockLocation = {
5456
5625
  stockCount: Scalars['Float'];
5457
5626
  stockLocationId: Scalars['String'];
5458
5627
  };
5628
+ export declare type SearchProductSubscriptionPlan = {
5629
+ __typename?: 'SearchProductSubscriptionPlan';
5630
+ name: Scalars['String'];
5631
+ periods: Array<SearchProductSubscriptionPlanPeriod>;
5632
+ subscriptionPlanId: Scalars['String'];
5633
+ };
5634
+ export declare type SearchProductSubscriptionPlanDiscount = {
5635
+ __typename?: 'SearchProductSubscriptionPlanDiscount';
5636
+ amount: Scalars['Float'];
5637
+ type: OrderAmountTypeEnum;
5638
+ };
5639
+ export declare type SearchProductSubscriptionPlanPeriod = {
5640
+ __typename?: 'SearchProductSubscriptionPlanPeriod';
5641
+ discount?: Maybe<SearchProductSubscriptionPlanDiscount>;
5642
+ id: Scalars['String'];
5643
+ maxOrders?: Maybe<Scalars['Float']>;
5644
+ paymentType: SubscriptionPlanPaymentTypeEnum;
5645
+ };
5459
5646
  export declare type SearchProductTag = {
5460
5647
  __typename?: 'SearchProductTag';
5461
5648
  id: Scalars['String'];
@@ -5482,6 +5669,7 @@ export declare type SearchVariant = {
5482
5669
  sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
5483
5670
  sku?: Maybe<Scalars['String']>;
5484
5671
  stocks?: Maybe<Array<SearchProductStockLocation>>;
5672
+ subscriptionPlan?: Maybe<SearchProductSubscriptionPlan>;
5485
5673
  unit?: Maybe<VariantUnitModel>;
5486
5674
  variantValues?: Maybe<Array<SearchVariationValueRelation>>;
5487
5675
  weight?: Maybe<Scalars['Float']>;
@@ -5517,6 +5705,7 @@ export declare type ShippingSettings = {
5517
5705
  salesChannelId: Scalars['String'];
5518
5706
  shippingZones: Array<ShippingZone>;
5519
5707
  stockLocations?: Maybe<Array<ShippingSettingsStockLocation>>;
5708
+ translations?: Maybe<Array<ShippingSettingsTranslation>>;
5520
5709
  type: ShippingSettingsType;
5521
5710
  updatedAt?: Maybe<Scalars['Timestamp']>;
5522
5711
  zoneName: Scalars['String'];
@@ -5527,11 +5716,21 @@ export declare type ShippingSettingsStockLocation = {
5527
5716
  order: Scalars['Float'];
5528
5717
  stockLocationId: Scalars['String'];
5529
5718
  };
5719
+ export declare type ShippingSettingsTranslation = {
5720
+ __typename?: 'ShippingSettingsTranslation';
5721
+ locale: Scalars['String'];
5722
+ zoneRate?: Maybe<Array<ShippingSettingsZoneRateTranslation>>;
5723
+ };
5530
5724
  /** ShippingSettingsType */
5531
5725
  export declare enum ShippingSettingsType {
5532
5726
  LOCAL_DELIVERY = "LOCAL_DELIVERY",
5533
5727
  SHIPMENT = "SHIPMENT"
5534
5728
  }
5729
+ export declare type ShippingSettingsZoneRateTranslation = {
5730
+ __typename?: 'ShippingSettingsZoneRateTranslation';
5731
+ id: Scalars['String'];
5732
+ rateName: Scalars['String'];
5733
+ };
5535
5734
  export declare type ShippingZone = {
5536
5735
  __typename?: 'ShippingZone';
5537
5736
  countryId: Scalars['String'];
@@ -5902,6 +6101,23 @@ export declare enum SubscriptionPeriodEnum {
5902
6101
  ONE_TIME = "ONE_TIME",
5903
6102
  YEARLY = "YEARLY"
5904
6103
  }
6104
+ export declare type SubscriptionPlanDiscount = {
6105
+ __typename?: 'SubscriptionPlanDiscount';
6106
+ amount: Scalars['Float'];
6107
+ type: OrderAmountTypeEnum;
6108
+ };
6109
+ /** SubscriptionPlanDurationUnitTypeEnum */
6110
+ export declare enum SubscriptionPlanDurationUnitTypeEnum {
6111
+ DAY = "DAY",
6112
+ MONTH = "MONTH",
6113
+ WEEK = "WEEK",
6114
+ YEAR = "YEAR"
6115
+ }
6116
+ /** SubscriptionPlanPaymentTypeEnum */
6117
+ export declare enum SubscriptionPlanPaymentTypeEnum {
6118
+ POST_PAID = "POST_PAID",
6119
+ PRE_PAID = "PRE_PAID"
6120
+ }
5905
6121
  export declare enum SubscriptionPriceCurrencyEnum {
5906
6122
  EUR = "EUR",
5907
6123
  TRY = "TRY",
@@ -6065,6 +6281,25 @@ export declare type TransactionInstallmentPrice = {
6065
6281
  rate?: Maybe<Scalars['Float']>;
6066
6282
  totalPrice?: Maybe<Scalars['Float']>;
6067
6283
  };
6284
+ export declare type TransactionOrderLineItem = {
6285
+ __typename?: 'TransactionOrderLineItem';
6286
+ finalPrice?: Maybe<Scalars['Float']>;
6287
+ id: Scalars['String'];
6288
+ price?: Maybe<Scalars['Float']>;
6289
+ quantity: Scalars['Float'];
6290
+ taxValue?: Maybe<Scalars['Float']>;
6291
+ variant?: Maybe<TransactionOrderLineVariant>;
6292
+ };
6293
+ export declare type TransactionOrderLineVariant = {
6294
+ __typename?: 'TransactionOrderLineVariant';
6295
+ id?: Maybe<Scalars['String']>;
6296
+ mainImageId?: Maybe<Scalars['String']>;
6297
+ name?: Maybe<Scalars['String']>;
6298
+ productId?: Maybe<Scalars['String']>;
6299
+ sku?: Maybe<Scalars['String']>;
6300
+ slug?: Maybe<Scalars['String']>;
6301
+ type?: Maybe<Scalars['String']>;
6302
+ };
6068
6303
  export declare type TransactionPaymentMethodDetail = {
6069
6304
  __typename?: 'TransactionPaymentMethodDetail';
6070
6305
  bankName?: Maybe<Scalars['String']>;
@@ -6184,6 +6419,8 @@ export declare type Variant = {
6184
6419
  /** SKU of the variant. */
6185
6420
  sku?: Maybe<Scalars['String']>;
6186
6421
  stocks?: Maybe<Array<ProductStockLocation>>;
6422
+ /** Subscription plan id of product */
6423
+ subscriptionPlanId?: Maybe<Scalars['String']>;
6187
6424
  /** Translations for the product. */
6188
6425
  unit?: Maybe<VariantUnitModel>;
6189
6426
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -6206,6 +6443,7 @@ export declare type VariantInput = {
6206
6443
  prices: Array<ProductPriceInput>;
6207
6444
  sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
6208
6445
  sku?: InputMaybe<Scalars['String']>;
6446
+ subscriptionPlanId?: InputMaybe<Scalars['String']>;
6209
6447
  unit?: InputMaybe<VariantUnitModelInput>;
6210
6448
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
6211
6449
  variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;