@lana-commerce/core 14.0.0-alpha.26 → 14.0.0-alpha.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lana-commerce/core",
3
- "version": "14.0.0-alpha.26",
3
+ "version": "14.0.0-alpha.27",
4
4
  "description": "Lana JS Core",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -90,4 +90,4 @@
90
90
  "style": "renke"
91
91
  }
92
92
  }
93
- }
93
+ }
@@ -4270,7 +4270,7 @@ export interface Organization {
4270
4270
  id: string;
4271
4271
  } | PaymentMethod | null;
4272
4272
  /** Reason, why shop was deleted */
4273
- delete_reason: ShopDeleteReason;
4273
+ delete_reason: ShopDeleteReason | null;
4274
4274
  /** The date and time when the organization was deleted, RFC 3339 format */
4275
4275
  deleted_at: string | null;
4276
4276
  /** Unique organization identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
@@ -4282,6 +4282,8 @@ export interface Organization {
4282
4282
  id: string;
4283
4283
  } | User | null;
4284
4284
  subscription: ShopSettingsSubscription;
4285
+ /** Whether organization is in test mode or not */
4286
+ test: boolean;
4285
4287
  /** The date and time when the organization was last updated, RFC 3339 format */
4286
4288
  updated_at: string;
4287
4289
  }
@@ -4292,6 +4294,8 @@ export interface OrganizationCreate {
4292
4294
  name: string;
4293
4295
  /** Unique identifier for the subscription plan a shop is on */
4294
4296
  plan_id?: string | null;
4297
+ /** Whether organization is in test mode or not */
4298
+ test?: boolean | null;
4295
4299
  }
4296
4300
  export interface OrganizationInvitation {
4297
4301
  /** Entity ID the user is invited to */
@@ -7583,14 +7587,16 @@ export interface ShopSettingsNotifications {
7583
7587
  auth_order_notification: boolean;
7584
7588
  /** Whether to send "email_abandoned_checkout" email notifications or not */
7585
7589
  email_abandoned_checkout: boolean;
7586
- /** Whether to send "email_customer_inventory_notification" email notifications or not */
7587
- email_customer_inventory_notification: boolean;
7590
+ /** Whether to send "email_favorite_inventory" email notifications or not */
7591
+ email_favorite_inventory: boolean;
7588
7592
  /** Whether to send "email_order_canceled" email notifications or not */
7589
7593
  email_order_canceled: boolean;
7590
7594
  /** Whether to send "email_order_confirmation" email notifications or not */
7591
7595
  email_order_confirmation: boolean;
7592
7596
  /** Whether to send "email_product_review_reminder" email notifications or not */
7593
7597
  email_product_review_reminder: boolean;
7598
+ /** Whether to send "email_purchase_order" email notifications or not */
7599
+ email_purchase_order: boolean;
7594
7600
  /** Whether to send "email_refund_notification" email notifications or not */
7595
7601
  email_refund_notification: boolean;
7596
7602
  /** Whether to send "email_return_approved" email notifications or not */
@@ -7627,8 +7633,6 @@ export interface ShopSettingsNotifications {
7627
7633
  new_order_notification: boolean;
7628
7634
  /** Whether to send "new_return_notification" email notifications or not */
7629
7635
  new_return_notification: boolean;
7630
- /** Whether to send "purchase_order" email notifications or not */
7631
- purchase_order: boolean;
7632
7636
  /** Whether to send "sms_fulfillment_created" email notifications or not */
7633
7637
  sms_fulfillment_created: boolean;
7634
7638
  /** Whether to send "sms_tracking_attempt_fail" email notifications or not */
@@ -7649,14 +7653,16 @@ export interface ShopSettingsNotificationsCreate {
7649
7653
  auth_order_notification?: boolean | null;
7650
7654
  /** Whether to send "email_abandoned_checkout" email notifications or not */
7651
7655
  email_abandoned_checkout?: boolean | null;
7652
- /** Whether to send "email_customer_inventory_notification" email notifications or not */
7653
- email_customer_inventory_notification?: boolean | null;
7656
+ /** Whether to send "email_favorite_inventory" email notifications or not */
7657
+ email_favorite_inventory?: boolean | null;
7654
7658
  /** Whether to send "email_order_canceled" email notifications or not */
7655
7659
  email_order_canceled?: boolean | null;
7656
7660
  /** Whether to send "email_order_confirmation" email notifications or not */
7657
7661
  email_order_confirmation?: boolean | null;
7658
7662
  /** Whether to send "email_product_review_reminder" email notifications or not */
7659
7663
  email_product_review_reminder?: boolean | null;
7664
+ /** Whether to send "email_purchase_order" email notifications or not */
7665
+ email_purchase_order?: boolean | null;
7660
7666
  /** Whether to send "email_refund_notification" email notifications or not */
7661
7667
  email_refund_notification?: boolean | null;
7662
7668
  /** Whether to send "email_return_approved" email notifications or not */
@@ -7693,8 +7699,6 @@ export interface ShopSettingsNotificationsCreate {
7693
7699
  new_order_notification?: boolean | null;
7694
7700
  /** Whether to send "new_return_notification" email notifications or not */
7695
7701
  new_return_notification?: boolean | null;
7696
- /** Whether to send "purchase_order" email notifications or not */
7697
- purchase_order?: boolean | null;
7698
7702
  /** Whether to send "sms_fulfillment_created" email notifications or not */
7699
7703
  sms_fulfillment_created?: boolean | null;
7700
7704
  /** Whether to send "sms_tracking_attempt_fail" email notifications or not */
@@ -10131,6 +10135,8 @@ export interface EndpointAnalyticsAudit extends Endpoint<EndpointAnalyticsAudit,
10131
10135
  limit(v: number): EndpointAnalyticsAudit;
10132
10136
  /** Skip N entries (pagination). See also: [Pagination](/overview/concepts/pagination) */
10133
10137
  offset(v: number): EndpointAnalyticsAudit;
10138
+ /** Unique organization identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
10139
+ organization_id(v: string): EndpointAnalyticsAudit;
10134
10140
  /** Unique shop identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
10135
10141
  shop_id(v: string): EndpointAnalyticsAudit;
10136
10142
  /** Filter results by a user id */
@@ -12623,6 +12629,11 @@ export interface EndpointPackagingImport extends Endpoint<EndpointPackagingImpor
12623
12629
  expand(v: ForeignShardedTaskExpansionMap): EndpointPackagingImport;
12624
12630
  extract(v: Extractor<ForeignShardedTask>): EndpointPackagingImport;
12625
12631
  }
12632
+ export interface EndpointPlan extends Endpoint<EndpointPlan, Plan> {
12633
+ /** Unique shop identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
12634
+ shop_id(v: string): EndpointPlan;
12635
+ extract(v: Extractor<Plan>): EndpointPlan;
12636
+ }
12626
12637
  export interface EndpointPriceListsDelete extends Endpoint<EndpointPriceListsDelete, void> {
12627
12638
  /** List of price list ids. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
12628
12639
  ids(v: Array<string>): EndpointPriceListsDelete;
@@ -14509,6 +14520,10 @@ export interface EndpointShopsPreferencesCreate extends Endpoint<EndpointShopsPr
14509
14520
  data(v: Array<UIPreferenceCreate>): EndpointShopsPreferencesCreate;
14510
14521
  extract(v: Extractor<Array<UIPreference>>): EndpointShopsPreferencesCreate;
14511
14522
  }
14523
+ export interface EndpointShopsRestore extends Endpoint<EndpointShopsRestore, void> {
14524
+ /** Unique shop identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
14525
+ shop_id(v: string): EndpointShopsRestore;
14526
+ }
14512
14527
  export interface EndpointShopsSettings extends Endpoint<EndpointShopsSettings, ShopSettings> {
14513
14528
  /** Output filtering */
14514
14529
  fields(v: Array<string>): EndpointShopsSettings;
@@ -15842,6 +15857,7 @@ export interface ReqFunction {
15842
15857
  (ctx: Context, v: "POST:packaging.json"): EndpointPackagingCreate;
15843
15858
  (ctx: Context, v: "POST:packaging/export.json"): EndpointPackagingExport;
15844
15859
  (ctx: Context, v: "POST:packaging/import.json"): EndpointPackagingImport;
15860
+ (ctx: Context, v: "GET:plan.json"): EndpointPlan;
15845
15861
  (ctx: Context, v: "DELETE:price_lists.json"): EndpointPriceListsDelete;
15846
15862
  (ctx: Context, v: "GET:price_lists.json"): EndpointPriceLists;
15847
15863
  (ctx: Context, v: "POST:price_lists.json"): EndpointPriceListsCreate;
@@ -15993,6 +16009,7 @@ export interface ReqFunction {
15993
16009
  (ctx: Context, v: "GET:shops/page.json"): EndpointShopsPage;
15994
16010
  (ctx: Context, v: "GET:shops/preferences.json"): EndpointShopsPreferences;
15995
16011
  (ctx: Context, v: "POST:shops/preferences.json"): EndpointShopsPreferencesCreate;
16012
+ (ctx: Context, v: "POST:shops/restore.json"): EndpointShopsRestore;
15996
16013
  (ctx: Context, v: "GET:shops/settings.json"): EndpointShopsSettings;
15997
16014
  (ctx: Context, v: "POST:shops/settings.json"): EndpointShopsSettingsCreate;
15998
16015
  (ctx: Context, v: "GET:shops/synonym_settings.json"): EndpointShopsSynonymSettings;