controlresell 2.16.1 → 2.16.3
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 +2 -2
- package/src/com/controlresell/api/requests/items/pricedrop/PriceDropRequest.d.ts +5 -0
- package/src/com/controlresell/api/requests/items/pricedrop/PriceDropRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +5 -0
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +26 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +22 -0
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +8 -8
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +1 -1
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +28 -0
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +84 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +60 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +24 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +24 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +24 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +9 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +105 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +20 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +20 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +32 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +20 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/offers/PreferencePriceNegotiationProfile.d.ts +4 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePriceNegotiationProfile.d.ts.map +1 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePriceNegotiationProfile.js +5 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePriceNegotiationProfile.js.map +1 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePriceNegotiationProfile.ts +6 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePricePayload.d.ts +3 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePricePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/offers/PreferencePricePayload.js +2 -0
- package/src/com/controlresell/models/conversations/offers/PreferencePricePayload.js.map +1 -1
- package/src/com/controlresell/models/conversations/offers/PreferencePricePayload.ts +2 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +124 -5
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +2 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +2 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +3 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.js +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.ts +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +0 -3
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.js +0 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.ts +0 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +18 -0
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +7 -0
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +5 -0
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +9 -0
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +7 -0
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceVariant.d.ts +5 -0
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceVariant.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -10
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -10
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/CreatedItems.d.ts +52 -0
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +44 -0
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -6
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.js +0 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.js.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.ts +0 -1
- package/src/com/controlresell/models/items/ItemSort.d.ts +1 -1
- package/src/com/controlresell/models/items/ItemSort.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemSort.js +1 -1
- package/src/com/controlresell/models/items/ItemSort.js.map +1 -1
- package/src/com/controlresell/models/items/ItemSort.ts +1 -1
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +26 -0
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +52 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +18 -0
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +18 -0
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +28 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +5 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +5 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +30 -0
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +26 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +26 -0
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +52 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/index.d.ts +1 -3
- package/src/index.d.ts.map +1 -1
- package/src/index.js +1 -3
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -3
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts +0 -4
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts.map +0 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js +0 -5
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js.map +0 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.ts +0 -6
- package/src/com/controlresell/models/conversations/offers/NegotiationOffer.d.ts +0 -22
- package/src/com/controlresell/models/conversations/offers/NegotiationOffer.d.ts.map +0 -1
- package/src/com/controlresell/models/conversations/offers/NegotiationOffer.js +0 -9
- package/src/com/controlresell/models/conversations/offers/NegotiationOffer.js.map +0 -1
- package/src/com/controlresell/models/conversations/offers/NegotiationOffer.ts +0 -10
- package/src/com/controlresell/models/conversations/offers/NegotiationParameters.d.ts +0 -19
- package/src/com/controlresell/models/conversations/offers/NegotiationParameters.d.ts.map +0 -1
- package/src/com/controlresell/models/conversations/offers/NegotiationParameters.js +0 -9
- package/src/com/controlresell/models/conversations/offers/NegotiationParameters.js.map +0 -1
- package/src/com/controlresell/models/conversations/offers/NegotiationParameters.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.3",
|
|
4
4
|
"description": "Auto-generated zod project from Kotlin using guimauvedigital/zodable",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"typescript": "^5.9.3"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"controlresell-connector": "^1.3.
|
|
21
|
+
"controlresell-connector": "^1.3.1",
|
|
22
22
|
"zod": "^3.25.76",
|
|
23
23
|
"zodable-kotlin-primitives": "^1.0.0"
|
|
24
24
|
}
|
|
@@ -6,18 +6,21 @@ export declare const PriceDropRequestSchema: z.ZodObject<{
|
|
|
6
6
|
value: z.ZodNumber;
|
|
7
7
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
8
8
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
9
10
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
12
|
value: number;
|
|
12
13
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
13
14
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
14
15
|
roundStep?: number | null | undefined;
|
|
16
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
15
17
|
maxRounds?: number | null | undefined;
|
|
16
18
|
}, {
|
|
17
19
|
value: number;
|
|
18
20
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
19
21
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
20
22
|
roundStep?: number | null | undefined;
|
|
23
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
21
24
|
maxRounds?: number | null | undefined;
|
|
22
25
|
}>;
|
|
23
26
|
accountsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -28,6 +31,7 @@ export declare const PriceDropRequestSchema: z.ZodObject<{
|
|
|
28
31
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
29
32
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
30
33
|
roundStep?: number | null | undefined;
|
|
34
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
31
35
|
maxRounds?: number | null | undefined;
|
|
32
36
|
};
|
|
33
37
|
accountsId?: string[] | null | undefined;
|
|
@@ -38,6 +42,7 @@ export declare const PriceDropRequestSchema: z.ZodObject<{
|
|
|
38
42
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
39
43
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
40
44
|
roundStep?: number | null | undefined;
|
|
45
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
41
46
|
maxRounds?: number | null | undefined;
|
|
42
47
|
};
|
|
43
48
|
accountsId?: string[] | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceDropRequest.d.ts","sourceRoot":"","sources":["PriceDropRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"PriceDropRequest.d.ts","sourceRoot":"","sources":["PriceDropRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -58,18 +58,21 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
58
58
|
value: z.ZodNumber;
|
|
59
59
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
60
60
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
61
62
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
63
|
}, "strip", z.ZodTypeAny, {
|
|
63
64
|
value: number;
|
|
64
65
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
65
66
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
66
67
|
roundStep?: number | null | undefined;
|
|
68
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
67
69
|
maxRounds?: number | null | undefined;
|
|
68
70
|
}, {
|
|
69
71
|
value: number;
|
|
70
72
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
71
73
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
72
74
|
roundStep?: number | null | undefined;
|
|
75
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
73
76
|
maxRounds?: number | null | undefined;
|
|
74
77
|
}>>>;
|
|
75
78
|
visionPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -142,6 +145,7 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
142
145
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
143
146
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
144
147
|
roundStep?: number | null | undefined;
|
|
148
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
145
149
|
maxRounds?: number | null | undefined;
|
|
146
150
|
} | null | undefined;
|
|
147
151
|
targetAccountId?: string | null | undefined;
|
|
@@ -186,6 +190,7 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
186
190
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
187
191
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
188
192
|
roundStep?: number | null | undefined;
|
|
193
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
189
194
|
maxRounds?: number | null | undefined;
|
|
190
195
|
} | null | undefined;
|
|
191
196
|
targetAccountId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepublishRequest.d.ts","sourceRoot":"","sources":["RepublishRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"RepublishRequest.d.ts","sourceRoot":"","sources":["RepublishRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -794,18 +794,21 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
794
794
|
value: z.ZodNumber;
|
|
795
795
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
796
796
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
797
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
797
798
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
798
799
|
}, "strip", z.ZodTypeAny, {
|
|
799
800
|
value: number;
|
|
800
801
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
801
802
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
802
803
|
roundStep?: number | null | undefined;
|
|
804
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
803
805
|
maxRounds?: number | null | undefined;
|
|
804
806
|
}, {
|
|
805
807
|
value: number;
|
|
806
808
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
807
809
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
808
810
|
roundStep?: number | null | undefined;
|
|
811
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
809
812
|
maxRounds?: number | null | undefined;
|
|
810
813
|
}>>>;
|
|
811
814
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -819,6 +822,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
819
822
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
820
823
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
821
824
|
roundStep?: number | null | undefined;
|
|
825
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
822
826
|
maxRounds?: number | null | undefined;
|
|
823
827
|
} | null | undefined;
|
|
824
828
|
isTransfer?: boolean | null | undefined;
|
|
@@ -832,6 +836,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
832
836
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
833
837
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
834
838
|
roundStep?: number | null | undefined;
|
|
839
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
835
840
|
maxRounds?: number | null | undefined;
|
|
836
841
|
} | null | undefined;
|
|
837
842
|
isTransfer?: boolean | null | undefined;
|
|
@@ -849,6 +854,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
849
854
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
850
855
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
851
856
|
roundStep?: number | null | undefined;
|
|
857
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
852
858
|
maxRounds?: number | null | undefined;
|
|
853
859
|
} | null | undefined;
|
|
854
860
|
isTransfer?: boolean | null | undefined;
|
|
@@ -865,6 +871,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
865
871
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
866
872
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
867
873
|
roundStep?: number | null | undefined;
|
|
874
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
868
875
|
maxRounds?: number | null | undefined;
|
|
869
876
|
} | null | undefined;
|
|
870
877
|
isTransfer?: boolean | null | undefined;
|
|
@@ -896,18 +903,21 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
896
903
|
value: z.ZodNumber;
|
|
897
904
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
898
905
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
906
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
899
907
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
900
908
|
}, "strip", z.ZodTypeAny, {
|
|
901
909
|
value: number;
|
|
902
910
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
903
911
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
904
912
|
roundStep?: number | null | undefined;
|
|
913
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
905
914
|
maxRounds?: number | null | undefined;
|
|
906
915
|
}, {
|
|
907
916
|
value: number;
|
|
908
917
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
909
918
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
910
919
|
roundStep?: number | null | undefined;
|
|
920
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
911
921
|
maxRounds?: number | null | undefined;
|
|
912
922
|
}>>>;
|
|
913
923
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -926,6 +936,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
926
936
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
927
937
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
928
938
|
roundStep?: number | null | undefined;
|
|
939
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
929
940
|
maxRounds?: number | null | undefined;
|
|
930
941
|
} | null | undefined;
|
|
931
942
|
}, {
|
|
@@ -944,6 +955,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
944
955
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
945
956
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
946
957
|
roundStep?: number | null | undefined;
|
|
958
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
947
959
|
maxRounds?: number | null | undefined;
|
|
948
960
|
} | null | undefined;
|
|
949
961
|
}>;
|
|
@@ -966,6 +978,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
966
978
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
967
979
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
968
980
|
roundStep?: number | null | undefined;
|
|
981
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
969
982
|
maxRounds?: number | null | undefined;
|
|
970
983
|
} | null | undefined;
|
|
971
984
|
};
|
|
@@ -987,6 +1000,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
987
1000
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
988
1001
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
989
1002
|
roundStep?: number | null | undefined;
|
|
1003
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
990
1004
|
maxRounds?: number | null | undefined;
|
|
991
1005
|
} | null | undefined;
|
|
992
1006
|
};
|
|
@@ -1434,6 +1448,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1434
1448
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1435
1449
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1436
1450
|
roundStep?: number | null | undefined;
|
|
1451
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1437
1452
|
maxRounds?: number | null | undefined;
|
|
1438
1453
|
} | null | undefined;
|
|
1439
1454
|
isTransfer?: boolean | null | undefined;
|
|
@@ -1458,6 +1473,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1458
1473
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1459
1474
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1460
1475
|
roundStep?: number | null | undefined;
|
|
1476
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1461
1477
|
maxRounds?: number | null | undefined;
|
|
1462
1478
|
} | null | undefined;
|
|
1463
1479
|
};
|
|
@@ -1642,6 +1658,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1642
1658
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1643
1659
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1644
1660
|
roundStep?: number | null | undefined;
|
|
1661
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1645
1662
|
maxRounds?: number | null | undefined;
|
|
1646
1663
|
} | null | undefined;
|
|
1647
1664
|
isTransfer?: boolean | null | undefined;
|
|
@@ -1666,6 +1683,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1666
1683
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1667
1684
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1668
1685
|
roundStep?: number | null | undefined;
|
|
1686
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1669
1687
|
maxRounds?: number | null | undefined;
|
|
1670
1688
|
} | null | undefined;
|
|
1671
1689
|
};
|
|
@@ -2086,6 +2104,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2086
2104
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2087
2105
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2088
2106
|
roundStep?: number | null | undefined;
|
|
2107
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2089
2108
|
maxRounds?: number | null | undefined;
|
|
2090
2109
|
} | null | undefined;
|
|
2091
2110
|
isTransfer?: boolean | null | undefined;
|
|
@@ -2110,6 +2129,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2110
2129
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2111
2130
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2112
2131
|
roundStep?: number | null | undefined;
|
|
2132
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2113
2133
|
maxRounds?: number | null | undefined;
|
|
2114
2134
|
} | null | undefined;
|
|
2115
2135
|
};
|
|
@@ -2399,6 +2419,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2399
2419
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2400
2420
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2401
2421
|
roundStep?: number | null | undefined;
|
|
2422
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2402
2423
|
maxRounds?: number | null | undefined;
|
|
2403
2424
|
} | null | undefined;
|
|
2404
2425
|
isTransfer?: boolean | null | undefined;
|
|
@@ -2423,6 +2444,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2423
2444
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2424
2445
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2425
2446
|
roundStep?: number | null | undefined;
|
|
2447
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2426
2448
|
maxRounds?: number | null | undefined;
|
|
2427
2449
|
} | null | undefined;
|
|
2428
2450
|
};
|
|
@@ -2717,6 +2739,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2717
2739
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2718
2740
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2719
2741
|
roundStep?: number | null | undefined;
|
|
2742
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2720
2743
|
maxRounds?: number | null | undefined;
|
|
2721
2744
|
} | null | undefined;
|
|
2722
2745
|
isTransfer?: boolean | null | undefined;
|
|
@@ -2741,6 +2764,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2741
2764
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2742
2765
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2743
2766
|
roundStep?: number | null | undefined;
|
|
2767
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2744
2768
|
maxRounds?: number | null | undefined;
|
|
2745
2769
|
} | null | undefined;
|
|
2746
2770
|
};
|
|
@@ -3036,6 +3060,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3036
3060
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3037
3061
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3038
3062
|
roundStep?: number | null | undefined;
|
|
3063
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3039
3064
|
maxRounds?: number | null | undefined;
|
|
3040
3065
|
} | null | undefined;
|
|
3041
3066
|
isTransfer?: boolean | null | undefined;
|
|
@@ -3060,6 +3085,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3060
3085
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3061
3086
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3062
3087
|
roundStep?: number | null | undefined;
|
|
3088
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3063
3089
|
maxRounds?: number | null | undefined;
|
|
3064
3090
|
} | null | undefined;
|
|
3065
3091
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -791,18 +791,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
791
791
|
value: z.ZodNumber;
|
|
792
792
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
793
793
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
794
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
794
795
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
795
796
|
}, "strip", z.ZodTypeAny, {
|
|
796
797
|
value: number;
|
|
797
798
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
798
799
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
799
800
|
roundStep?: number | null | undefined;
|
|
801
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
800
802
|
maxRounds?: number | null | undefined;
|
|
801
803
|
}, {
|
|
802
804
|
value: number;
|
|
803
805
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
804
806
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
805
807
|
roundStep?: number | null | undefined;
|
|
808
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
806
809
|
maxRounds?: number | null | undefined;
|
|
807
810
|
}>>>;
|
|
808
811
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -816,6 +819,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
816
819
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
817
820
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
818
821
|
roundStep?: number | null | undefined;
|
|
822
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
819
823
|
maxRounds?: number | null | undefined;
|
|
820
824
|
} | null | undefined;
|
|
821
825
|
isTransfer?: boolean | null | undefined;
|
|
@@ -829,6 +833,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
829
833
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
830
834
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
831
835
|
roundStep?: number | null | undefined;
|
|
836
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
832
837
|
maxRounds?: number | null | undefined;
|
|
833
838
|
} | null | undefined;
|
|
834
839
|
isTransfer?: boolean | null | undefined;
|
|
@@ -846,6 +851,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
846
851
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
847
852
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
848
853
|
roundStep?: number | null | undefined;
|
|
854
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
849
855
|
maxRounds?: number | null | undefined;
|
|
850
856
|
} | null | undefined;
|
|
851
857
|
isTransfer?: boolean | null | undefined;
|
|
@@ -862,6 +868,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
862
868
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
863
869
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
864
870
|
roundStep?: number | null | undefined;
|
|
871
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
865
872
|
maxRounds?: number | null | undefined;
|
|
866
873
|
} | null | undefined;
|
|
867
874
|
isTransfer?: boolean | null | undefined;
|
|
@@ -893,18 +900,21 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
893
900
|
value: z.ZodNumber;
|
|
894
901
|
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
895
902
|
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
903
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
896
904
|
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
897
905
|
}, "strip", z.ZodTypeAny, {
|
|
898
906
|
value: number;
|
|
899
907
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
900
908
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
901
909
|
roundStep?: number | null | undefined;
|
|
910
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
902
911
|
maxRounds?: number | null | undefined;
|
|
903
912
|
}, {
|
|
904
913
|
value: number;
|
|
905
914
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
906
915
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
907
916
|
roundStep?: number | null | undefined;
|
|
917
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
908
918
|
maxRounds?: number | null | undefined;
|
|
909
919
|
}>>>;
|
|
910
920
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -923,6 +933,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
923
933
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
924
934
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
925
935
|
roundStep?: number | null | undefined;
|
|
936
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
926
937
|
maxRounds?: number | null | undefined;
|
|
927
938
|
} | null | undefined;
|
|
928
939
|
}, {
|
|
@@ -941,6 +952,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
941
952
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
942
953
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
943
954
|
roundStep?: number | null | undefined;
|
|
955
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
944
956
|
maxRounds?: number | null | undefined;
|
|
945
957
|
} | null | undefined;
|
|
946
958
|
}>;
|
|
@@ -963,6 +975,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
963
975
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
964
976
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
965
977
|
roundStep?: number | null | undefined;
|
|
978
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
966
979
|
maxRounds?: number | null | undefined;
|
|
967
980
|
} | null | undefined;
|
|
968
981
|
};
|
|
@@ -984,6 +997,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
984
997
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
985
998
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
986
999
|
roundStep?: number | null | undefined;
|
|
1000
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
987
1001
|
maxRounds?: number | null | undefined;
|
|
988
1002
|
} | null | undefined;
|
|
989
1003
|
};
|
|
@@ -1431,6 +1445,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1431
1445
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1432
1446
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1433
1447
|
roundStep?: number | null | undefined;
|
|
1448
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1434
1449
|
maxRounds?: number | null | undefined;
|
|
1435
1450
|
} | null | undefined;
|
|
1436
1451
|
isTransfer?: boolean | null | undefined;
|
|
@@ -1455,6 +1470,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1455
1470
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1456
1471
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1457
1472
|
roundStep?: number | null | undefined;
|
|
1473
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1458
1474
|
maxRounds?: number | null | undefined;
|
|
1459
1475
|
} | null | undefined;
|
|
1460
1476
|
};
|
|
@@ -1639,6 +1655,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1639
1655
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1640
1656
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1641
1657
|
roundStep?: number | null | undefined;
|
|
1658
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1642
1659
|
maxRounds?: number | null | undefined;
|
|
1643
1660
|
} | null | undefined;
|
|
1644
1661
|
isTransfer?: boolean | null | undefined;
|
|
@@ -1663,6 +1680,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1663
1680
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1664
1681
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1665
1682
|
roundStep?: number | null | undefined;
|
|
1683
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1666
1684
|
maxRounds?: number | null | undefined;
|
|
1667
1685
|
} | null | undefined;
|
|
1668
1686
|
};
|
|
@@ -2083,6 +2101,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2083
2101
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2084
2102
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2085
2103
|
roundStep?: number | null | undefined;
|
|
2104
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2086
2105
|
maxRounds?: number | null | undefined;
|
|
2087
2106
|
} | null | undefined;
|
|
2088
2107
|
isTransfer?: boolean | null | undefined;
|
|
@@ -2107,6 +2126,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2107
2126
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2108
2127
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2109
2128
|
roundStep?: number | null | undefined;
|
|
2129
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2110
2130
|
maxRounds?: number | null | undefined;
|
|
2111
2131
|
} | null | undefined;
|
|
2112
2132
|
};
|
|
@@ -2396,6 +2416,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2396
2416
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2397
2417
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2398
2418
|
roundStep?: number | null | undefined;
|
|
2419
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2399
2420
|
maxRounds?: number | null | undefined;
|
|
2400
2421
|
} | null | undefined;
|
|
2401
2422
|
isTransfer?: boolean | null | undefined;
|
|
@@ -2420,6 +2441,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2420
2441
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2421
2442
|
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2422
2443
|
roundStep?: number | null | undefined;
|
|
2444
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2423
2445
|
maxRounds?: number | null | undefined;
|
|
2424
2446
|
} | null | undefined;
|
|
2425
2447
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListedItem.d.ts","sourceRoot":"","sources":["ListedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AASrB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ListedItem.d.ts","sourceRoot":"","sources":["ListedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AASrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAA"}
|
|
@@ -3,7 +3,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
3
3
|
state: z.ZodEnum<["NONE", "TRIAL", "TRIAL_ENDED", "ACTIVE", "CANCELING", "GRACE_PERIOD", "EXPIRED"]>;
|
|
4
4
|
isEligibleToTrial: z.ZodBoolean;
|
|
5
5
|
trialDaysRemaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
-
history: z.ZodArray<z.ZodObject<{
|
|
6
|
+
history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
userId: z.ZodNumber;
|
|
9
9
|
type: z.ZodEnum<["TRIAL_STARTED", "TRIAL_UPGRADED", "TRIAL_EXPIRED", "LEVEL_ADDED", "LEVEL_REMOVED", "MULTIPLIER_CHANGED", "SUBSCRIPTION_PAUSED", "SUBSCRIPTION_RESUMED", "SUBSCRIPTION_CANCELED", "PAYMENT_SUCCEEDED", "PAYMENT_FAILED"]>;
|
|
@@ -139,10 +139,11 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
139
139
|
endDate: Date;
|
|
140
140
|
convertedToPaid: boolean;
|
|
141
141
|
} | null | undefined;
|
|
142
|
-
}>, "many"
|
|
142
|
+
}>, "many">>>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
state: "NONE" | "ACTIVE" | "TRIAL" | "TRIAL_ENDED" | "CANCELING" | "GRACE_PERIOD" | "EXPIRED";
|
|
145
|
-
|
|
145
|
+
isEligibleToTrial: boolean;
|
|
146
|
+
history?: {
|
|
146
147
|
type: "PAYMENT_FAILED" | "TRIAL_STARTED" | "TRIAL_UPGRADED" | "TRIAL_EXPIRED" | "LEVEL_ADDED" | "LEVEL_REMOVED" | "MULTIPLIER_CHANGED" | "SUBSCRIPTION_PAUSED" | "SUBSCRIPTION_RESUMED" | "SUBSCRIPTION_CANCELED" | "PAYMENT_SUCCEEDED";
|
|
147
148
|
id: string;
|
|
148
149
|
createdAt: Date;
|
|
@@ -174,12 +175,12 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
174
175
|
endDate: Date;
|
|
175
176
|
convertedToPaid: boolean;
|
|
176
177
|
} | null | undefined;
|
|
177
|
-
}[];
|
|
178
|
-
isEligibleToTrial: boolean;
|
|
178
|
+
}[] | null | undefined;
|
|
179
179
|
trialDaysRemaining?: number | null | undefined;
|
|
180
180
|
}, {
|
|
181
181
|
state: "NONE" | "ACTIVE" | "TRIAL" | "TRIAL_ENDED" | "CANCELING" | "GRACE_PERIOD" | "EXPIRED";
|
|
182
|
-
|
|
182
|
+
isEligibleToTrial: boolean;
|
|
183
|
+
history?: {
|
|
183
184
|
type: "PAYMENT_FAILED" | "TRIAL_STARTED" | "TRIAL_UPGRADED" | "TRIAL_EXPIRED" | "LEVEL_ADDED" | "LEVEL_REMOVED" | "MULTIPLIER_CHANGED" | "SUBSCRIPTION_PAUSED" | "SUBSCRIPTION_RESUMED" | "SUBSCRIPTION_CANCELED" | "PAYMENT_SUCCEEDED";
|
|
184
185
|
id: string;
|
|
185
186
|
createdAt: Date;
|
|
@@ -211,8 +212,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
211
212
|
endDate: Date;
|
|
212
213
|
convertedToPaid: boolean;
|
|
213
214
|
} | null | undefined;
|
|
214
|
-
}[];
|
|
215
|
-
isEligibleToTrial: boolean;
|
|
215
|
+
}[] | null | undefined;
|
|
216
216
|
trialDaysRemaining?: number | null | undefined;
|
|
217
217
|
}>;
|
|
218
218
|
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
|
|
@@ -5,6 +5,6 @@ export const SubscriptionStatusSchema = z.object({
|
|
|
5
5
|
state: SubscriptionStateSchema,
|
|
6
6
|
isEligibleToTrial: z.boolean(),
|
|
7
7
|
trialDaysRemaining: z.number().int().nullish(),
|
|
8
|
-
history: z.array(SubscriptionHistorySchema)
|
|
8
|
+
history: z.array(SubscriptionHistorySchema).nullish()
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=SubscriptionStatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAA;AACvF,OAAO,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAA;AAE3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,uBAAuB;IAC9B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;IAC9C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAA;AACvF,OAAO,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAA;AAE3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,uBAAuB;IAC9B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;IAC9C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,OAAO,EAAE;CACxD,CAAC,CAAA"}
|
|
@@ -6,6 +6,6 @@ export const SubscriptionStatusSchema = z.object({
|
|
|
6
6
|
state: SubscriptionStateSchema,
|
|
7
7
|
isEligibleToTrial: z.boolean(),
|
|
8
8
|
trialDaysRemaining: z.number().int().nullish(),
|
|
9
|
-
history: z.array(SubscriptionHistorySchema)
|
|
9
|
+
history: z.array(SubscriptionHistorySchema).nullish()
|
|
10
10
|
})
|
|
11
11
|
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>
|