plaza-sdk 1.3.8 → 1.3.10
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,9 +1,13 @@
|
|
|
1
1
|
import { IMultiLang } from '../../../common/interfaces.js';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface PartnerBySlug {
|
|
4
4
|
id: number;
|
|
5
5
|
slug: string;
|
|
6
6
|
}
|
|
7
|
+
interface PartnerByName {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
7
11
|
interface MediaItem {
|
|
8
12
|
order: number;
|
|
9
13
|
sm_path: string;
|
|
@@ -35,4 +39,4 @@ interface ModeratedAttributeItem extends AttributeItem {
|
|
|
35
39
|
names: IMultiLang;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
|
-
export type { AlifBrand, AttributeItem, MediaItem, ModeratedAttributeItem, ModereatedCardGroupItem,
|
|
42
|
+
export type { AlifBrand, AttributeItem, MediaItem, ModeratedAttributeItem, ModereatedCardGroupItem, PartnerByName, PartnerBySlug, TermItem, TitleMedia };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StringNullable, NumberNullable } from '../../../common/types.js';
|
|
2
2
|
import { IMultiLang } from '../../../common/interfaces.js';
|
|
3
|
-
import {
|
|
3
|
+
import { PartnerBySlug, AlifBrand, TitleMedia, ModereatedCardGroupItem, MediaItem, PartnerByName } from '../common/types.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
|
|
6
6
|
declare namespace AlifShopClientApiEntity {
|
|
@@ -69,7 +69,7 @@ declare namespace AlifShopClientApiEntity {
|
|
|
69
69
|
is_active?: boolean;
|
|
70
70
|
event_v2_id?: null;
|
|
71
71
|
}
|
|
72
|
-
interface PartnerInfo extends
|
|
72
|
+
interface PartnerInfo extends PartnerBySlug {
|
|
73
73
|
name: string;
|
|
74
74
|
is_active: boolean;
|
|
75
75
|
has_delivery: boolean;
|
|
@@ -196,7 +196,7 @@ declare namespace AlifShopClientApiEntity {
|
|
|
196
196
|
label_uz: string | null;
|
|
197
197
|
quantity: number;
|
|
198
198
|
condition: ConditionCore;
|
|
199
|
-
partner:
|
|
199
|
+
partner: PartnerBySlug;
|
|
200
200
|
product: {
|
|
201
201
|
name: string;
|
|
202
202
|
title_image: TitleMedia;
|
|
@@ -219,7 +219,7 @@ declare namespace AlifShopClientApiEntity {
|
|
|
219
219
|
has_video_links: boolean;
|
|
220
220
|
label: unknown | null;
|
|
221
221
|
discount: NumberNullable;
|
|
222
|
-
partner:
|
|
222
|
+
partner: PartnerByName;
|
|
223
223
|
condition: Omit<ConditionCore, "event_id">;
|
|
224
224
|
bnpl_details: unknown | null;
|
|
225
225
|
purchase_restrictions: unknown | null;
|