controlresell 2.9.3 → 2.9.5
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/responses/items/ItemsWithFilters.d.ts +49 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +39 -0
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +28 -28
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +49 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +49 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +39 -0
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +49 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +49 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +29 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +29 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +40 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +6 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryPublishedPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryPublishedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryPublishedPayload.js +6 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryPublishedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryPublishedPayload.ts +7 -0
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +59 -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 +49 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +98 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +20 -20
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +20 -20
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.d.ts +24 -24
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js +4 -4
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js.map +1 -1
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.ts +4 -4
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.5",
|
|
4
|
+
"description": "Auto-generated zod project from Kotlin using guimauvedigital/zodable",
|
|
4
5
|
"main": "src/index.js",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -8,7 +9,6 @@
|
|
|
8
9
|
"keywords": [],
|
|
9
10
|
"author": "",
|
|
10
11
|
"license": "ISC",
|
|
11
|
-
"description": "Auto-generated zod project from Kotlin using guimauvedigital/zodable",
|
|
12
12
|
"type": "module",
|
|
13
13
|
"types": "src/index.d.ts",
|
|
14
14
|
"files": [
|
|
@@ -728,6 +728,25 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
728
728
|
accountId: string;
|
|
729
729
|
caseId: string;
|
|
730
730
|
};
|
|
731
|
+
}>, z.ZodObject<{
|
|
732
|
+
data: z.ZodObject<{
|
|
733
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
736
|
+
}, {
|
|
737
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
738
|
+
}>;
|
|
739
|
+
type: z.ZodLiteral<"PUBLISHED">;
|
|
740
|
+
}, "strip", z.ZodTypeAny, {
|
|
741
|
+
type: "PUBLISHED";
|
|
742
|
+
data: {
|
|
743
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
744
|
+
};
|
|
745
|
+
}, {
|
|
746
|
+
type: "PUBLISHED";
|
|
747
|
+
data: {
|
|
748
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
749
|
+
};
|
|
731
750
|
}>, z.ZodObject<{
|
|
732
751
|
data: z.ZodObject<{
|
|
733
752
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
@@ -1127,6 +1146,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1127
1146
|
accountId: string;
|
|
1128
1147
|
caseId: string;
|
|
1129
1148
|
};
|
|
1149
|
+
} | {
|
|
1150
|
+
type: "PUBLISHED";
|
|
1151
|
+
data: {
|
|
1152
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1153
|
+
};
|
|
1130
1154
|
} | {
|
|
1131
1155
|
type: "REPUBLISHING";
|
|
1132
1156
|
data: {
|
|
@@ -1285,6 +1309,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1285
1309
|
accountId: string;
|
|
1286
1310
|
caseId: string;
|
|
1287
1311
|
};
|
|
1312
|
+
} | {
|
|
1313
|
+
type: "PUBLISHED";
|
|
1314
|
+
data: {
|
|
1315
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1316
|
+
};
|
|
1288
1317
|
} | {
|
|
1289
1318
|
type: "REPUBLISHING";
|
|
1290
1319
|
data: {
|
|
@@ -1641,6 +1670,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1641
1670
|
accountId: string;
|
|
1642
1671
|
caseId: string;
|
|
1643
1672
|
};
|
|
1673
|
+
} | {
|
|
1674
|
+
type: "PUBLISHED";
|
|
1675
|
+
data: {
|
|
1676
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1677
|
+
};
|
|
1644
1678
|
} | {
|
|
1645
1679
|
type: "REPUBLISHING";
|
|
1646
1680
|
data: {
|
|
@@ -1902,6 +1936,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1902
1936
|
accountId: string;
|
|
1903
1937
|
caseId: string;
|
|
1904
1938
|
};
|
|
1939
|
+
} | {
|
|
1940
|
+
type: "PUBLISHED";
|
|
1941
|
+
data: {
|
|
1942
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1943
|
+
};
|
|
1905
1944
|
} | {
|
|
1906
1945
|
type: "REPUBLISHING";
|
|
1907
1946
|
data: {
|
|
@@ -2168,6 +2207,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2168
2207
|
accountId: string;
|
|
2169
2208
|
caseId: string;
|
|
2170
2209
|
};
|
|
2210
|
+
} | {
|
|
2211
|
+
type: "PUBLISHED";
|
|
2212
|
+
data: {
|
|
2213
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2214
|
+
};
|
|
2171
2215
|
} | {
|
|
2172
2216
|
type: "REPUBLISHING";
|
|
2173
2217
|
data: {
|
|
@@ -2435,6 +2479,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2435
2479
|
accountId: string;
|
|
2436
2480
|
caseId: string;
|
|
2437
2481
|
};
|
|
2482
|
+
} | {
|
|
2483
|
+
type: "PUBLISHED";
|
|
2484
|
+
data: {
|
|
2485
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2486
|
+
};
|
|
2438
2487
|
} | {
|
|
2439
2488
|
type: "REPUBLISHING";
|
|
2440
2489
|
data: {
|
|
@@ -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"}
|
|
@@ -725,6 +725,25 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
725
725
|
accountId: string;
|
|
726
726
|
caseId: string;
|
|
727
727
|
};
|
|
728
|
+
}>, z.ZodObject<{
|
|
729
|
+
data: z.ZodObject<{
|
|
730
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
733
|
+
}, {
|
|
734
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
735
|
+
}>;
|
|
736
|
+
type: z.ZodLiteral<"PUBLISHED">;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
type: "PUBLISHED";
|
|
739
|
+
data: {
|
|
740
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
741
|
+
};
|
|
742
|
+
}, {
|
|
743
|
+
type: "PUBLISHED";
|
|
744
|
+
data: {
|
|
745
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
746
|
+
};
|
|
728
747
|
}>, z.ZodObject<{
|
|
729
748
|
data: z.ZodObject<{
|
|
730
749
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
@@ -1124,6 +1143,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1124
1143
|
accountId: string;
|
|
1125
1144
|
caseId: string;
|
|
1126
1145
|
};
|
|
1146
|
+
} | {
|
|
1147
|
+
type: "PUBLISHED";
|
|
1148
|
+
data: {
|
|
1149
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1150
|
+
};
|
|
1127
1151
|
} | {
|
|
1128
1152
|
type: "REPUBLISHING";
|
|
1129
1153
|
data: {
|
|
@@ -1282,6 +1306,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1282
1306
|
accountId: string;
|
|
1283
1307
|
caseId: string;
|
|
1284
1308
|
};
|
|
1309
|
+
} | {
|
|
1310
|
+
type: "PUBLISHED";
|
|
1311
|
+
data: {
|
|
1312
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1313
|
+
};
|
|
1285
1314
|
} | {
|
|
1286
1315
|
type: "REPUBLISHING";
|
|
1287
1316
|
data: {
|
|
@@ -1638,6 +1667,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1638
1667
|
accountId: string;
|
|
1639
1668
|
caseId: string;
|
|
1640
1669
|
};
|
|
1670
|
+
} | {
|
|
1671
|
+
type: "PUBLISHED";
|
|
1672
|
+
data: {
|
|
1673
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1674
|
+
};
|
|
1641
1675
|
} | {
|
|
1642
1676
|
type: "REPUBLISHING";
|
|
1643
1677
|
data: {
|
|
@@ -1899,6 +1933,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1899
1933
|
accountId: string;
|
|
1900
1934
|
caseId: string;
|
|
1901
1935
|
};
|
|
1936
|
+
} | {
|
|
1937
|
+
type: "PUBLISHED";
|
|
1938
|
+
data: {
|
|
1939
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1940
|
+
};
|
|
1902
1941
|
} | {
|
|
1903
1942
|
type: "REPUBLISHING";
|
|
1904
1943
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -15,13 +15,13 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
15
15
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
16
16
|
reason: z.ZodEnum<["USER_REQUESTED", "PAYMENT_FAILED", "DOWNGRADED", "SWITCHED_PLAN", "OTHER"]>;
|
|
17
17
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
type: z.ZodLiteral<"
|
|
18
|
+
type: z.ZodLiteral<"CANCELLATION">;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
type: "
|
|
20
|
+
type: "CANCELLATION";
|
|
21
21
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
22
22
|
comment?: string | null | undefined;
|
|
23
23
|
}, {
|
|
24
|
-
type: "
|
|
24
|
+
type: "CANCELLATION";
|
|
25
25
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
26
26
|
comment?: string | null | undefined;
|
|
27
27
|
}>, z.ZodObject<{
|
|
@@ -29,15 +29,15 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
29
29
|
currency: z.ZodString;
|
|
30
30
|
interval: z.ZodString;
|
|
31
31
|
priceId: z.ZodString;
|
|
32
|
-
type: z.ZodLiteral<"
|
|
32
|
+
type: z.ZodLiteral<"PRICE_CHANGE">;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
type: "
|
|
34
|
+
type: "PRICE_CHANGE";
|
|
35
35
|
currency: string;
|
|
36
36
|
amount: number;
|
|
37
37
|
interval: string;
|
|
38
38
|
priceId: string;
|
|
39
39
|
}, {
|
|
40
|
-
type: "
|
|
40
|
+
type: "PRICE_CHANGE";
|
|
41
41
|
currency: string;
|
|
42
42
|
amount: number;
|
|
43
43
|
interval: string;
|
|
@@ -46,14 +46,14 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
46
46
|
eventId: z.ZodString;
|
|
47
47
|
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
invoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
type: z.ZodLiteral<"
|
|
49
|
+
type: z.ZodLiteral<"STRIPE_EVENT">;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
type: "
|
|
51
|
+
type: "STRIPE_EVENT";
|
|
52
52
|
eventId: string;
|
|
53
53
|
subscriptionId?: string | null | undefined;
|
|
54
54
|
invoiceId?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
type: "
|
|
56
|
+
type: "STRIPE_EVENT";
|
|
57
57
|
eventId: string;
|
|
58
58
|
subscriptionId?: string | null | undefined;
|
|
59
59
|
invoiceId?: string | null | undefined;
|
|
@@ -61,14 +61,14 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
61
61
|
startDate: z.ZodDate;
|
|
62
62
|
endDate: z.ZodDate;
|
|
63
63
|
convertedToPaid: z.ZodBoolean;
|
|
64
|
-
type: z.ZodLiteral<"
|
|
64
|
+
type: z.ZodLiteral<"TRIAL">;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
type: "
|
|
66
|
+
type: "TRIAL";
|
|
67
67
|
startDate: Date;
|
|
68
68
|
endDate: Date;
|
|
69
69
|
convertedToPaid: boolean;
|
|
70
70
|
}, {
|
|
71
|
-
type: "
|
|
71
|
+
type: "TRIAL";
|
|
72
72
|
startDate: Date;
|
|
73
73
|
endDate: Date;
|
|
74
74
|
convertedToPaid: boolean;
|
|
@@ -82,22 +82,22 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
82
82
|
createdAt: Date;
|
|
83
83
|
source: "STRIPE_WEBHOOK" | "MANUAL_SYNC" | "USER_ACTION";
|
|
84
84
|
metadata?: {
|
|
85
|
-
type: "
|
|
85
|
+
type: "CANCELLATION";
|
|
86
86
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
87
87
|
comment?: string | null | undefined;
|
|
88
88
|
} | {
|
|
89
|
-
type: "
|
|
89
|
+
type: "PRICE_CHANGE";
|
|
90
90
|
currency: string;
|
|
91
91
|
amount: number;
|
|
92
92
|
interval: string;
|
|
93
93
|
priceId: string;
|
|
94
94
|
} | {
|
|
95
|
-
type: "
|
|
95
|
+
type: "STRIPE_EVENT";
|
|
96
96
|
eventId: string;
|
|
97
97
|
subscriptionId?: string | null | undefined;
|
|
98
98
|
invoiceId?: string | null | undefined;
|
|
99
99
|
} | {
|
|
100
|
-
type: "
|
|
100
|
+
type: "TRIAL";
|
|
101
101
|
startDate: Date;
|
|
102
102
|
endDate: Date;
|
|
103
103
|
convertedToPaid: boolean;
|
|
@@ -114,22 +114,22 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
114
114
|
createdAt: Date;
|
|
115
115
|
source: "STRIPE_WEBHOOK" | "MANUAL_SYNC" | "USER_ACTION";
|
|
116
116
|
metadata?: {
|
|
117
|
-
type: "
|
|
117
|
+
type: "CANCELLATION";
|
|
118
118
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
119
119
|
comment?: string | null | undefined;
|
|
120
120
|
} | {
|
|
121
|
-
type: "
|
|
121
|
+
type: "PRICE_CHANGE";
|
|
122
122
|
currency: string;
|
|
123
123
|
amount: number;
|
|
124
124
|
interval: string;
|
|
125
125
|
priceId: string;
|
|
126
126
|
} | {
|
|
127
|
-
type: "
|
|
127
|
+
type: "STRIPE_EVENT";
|
|
128
128
|
eventId: string;
|
|
129
129
|
subscriptionId?: string | null | undefined;
|
|
130
130
|
invoiceId?: string | null | undefined;
|
|
131
131
|
} | {
|
|
132
|
-
type: "
|
|
132
|
+
type: "TRIAL";
|
|
133
133
|
startDate: Date;
|
|
134
134
|
endDate: Date;
|
|
135
135
|
convertedToPaid: boolean;
|
|
@@ -150,22 +150,22 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
150
150
|
createdAt: Date;
|
|
151
151
|
source: "STRIPE_WEBHOOK" | "MANUAL_SYNC" | "USER_ACTION";
|
|
152
152
|
metadata?: {
|
|
153
|
-
type: "
|
|
153
|
+
type: "CANCELLATION";
|
|
154
154
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
155
155
|
comment?: string | null | undefined;
|
|
156
156
|
} | {
|
|
157
|
-
type: "
|
|
157
|
+
type: "PRICE_CHANGE";
|
|
158
158
|
currency: string;
|
|
159
159
|
amount: number;
|
|
160
160
|
interval: string;
|
|
161
161
|
priceId: string;
|
|
162
162
|
} | {
|
|
163
|
-
type: "
|
|
163
|
+
type: "STRIPE_EVENT";
|
|
164
164
|
eventId: string;
|
|
165
165
|
subscriptionId?: string | null | undefined;
|
|
166
166
|
invoiceId?: string | null | undefined;
|
|
167
167
|
} | {
|
|
168
|
-
type: "
|
|
168
|
+
type: "TRIAL";
|
|
169
169
|
startDate: Date;
|
|
170
170
|
endDate: Date;
|
|
171
171
|
convertedToPaid: boolean;
|
|
@@ -187,22 +187,22 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
187
187
|
createdAt: Date;
|
|
188
188
|
source: "STRIPE_WEBHOOK" | "MANUAL_SYNC" | "USER_ACTION";
|
|
189
189
|
metadata?: {
|
|
190
|
-
type: "
|
|
190
|
+
type: "CANCELLATION";
|
|
191
191
|
reason: "USER_REQUESTED" | "PAYMENT_FAILED" | "DOWNGRADED" | "SWITCHED_PLAN" | "OTHER";
|
|
192
192
|
comment?: string | null | undefined;
|
|
193
193
|
} | {
|
|
194
|
-
type: "
|
|
194
|
+
type: "PRICE_CHANGE";
|
|
195
195
|
currency: string;
|
|
196
196
|
amount: number;
|
|
197
197
|
interval: string;
|
|
198
198
|
priceId: string;
|
|
199
199
|
} | {
|
|
200
|
-
type: "
|
|
200
|
+
type: "STRIPE_EVENT";
|
|
201
201
|
eventId: string;
|
|
202
202
|
subscriptionId?: string | null | undefined;
|
|
203
203
|
invoiceId?: string | null | undefined;
|
|
204
204
|
} | {
|
|
205
|
-
type: "
|
|
205
|
+
type: "TRIAL";
|
|
206
206
|
startDate: Date;
|
|
207
207
|
endDate: Date;
|
|
208
208
|
convertedToPaid: boolean;
|
|
@@ -1054,6 +1054,25 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1054
1054
|
accountId: string;
|
|
1055
1055
|
caseId: string;
|
|
1056
1056
|
};
|
|
1057
|
+
}>, z.ZodObject<{
|
|
1058
|
+
data: z.ZodObject<{
|
|
1059
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1060
|
+
}, "strip", z.ZodTypeAny, {
|
|
1061
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1062
|
+
}, {
|
|
1063
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1064
|
+
}>;
|
|
1065
|
+
type: z.ZodLiteral<"PUBLISHED">;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
type: "PUBLISHED";
|
|
1068
|
+
data: {
|
|
1069
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1070
|
+
};
|
|
1071
|
+
}, {
|
|
1072
|
+
type: "PUBLISHED";
|
|
1073
|
+
data: {
|
|
1074
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1075
|
+
};
|
|
1057
1076
|
}>, z.ZodObject<{
|
|
1058
1077
|
data: z.ZodObject<{
|
|
1059
1078
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
@@ -1453,6 +1472,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1453
1472
|
accountId: string;
|
|
1454
1473
|
caseId: string;
|
|
1455
1474
|
};
|
|
1475
|
+
} | {
|
|
1476
|
+
type: "PUBLISHED";
|
|
1477
|
+
data: {
|
|
1478
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1479
|
+
};
|
|
1456
1480
|
} | {
|
|
1457
1481
|
type: "REPUBLISHING";
|
|
1458
1482
|
data: {
|
|
@@ -1611,6 +1635,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1611
1635
|
accountId: string;
|
|
1612
1636
|
caseId: string;
|
|
1613
1637
|
};
|
|
1638
|
+
} | {
|
|
1639
|
+
type: "PUBLISHED";
|
|
1640
|
+
data: {
|
|
1641
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1642
|
+
};
|
|
1614
1643
|
} | {
|
|
1615
1644
|
type: "REPUBLISHING";
|
|
1616
1645
|
data: {
|
|
@@ -1984,6 +2013,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1984
2013
|
accountId: string;
|
|
1985
2014
|
caseId: string;
|
|
1986
2015
|
};
|
|
2016
|
+
} | {
|
|
2017
|
+
type: "PUBLISHED";
|
|
2018
|
+
data: {
|
|
2019
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2020
|
+
};
|
|
1987
2021
|
} | {
|
|
1988
2022
|
type: "REPUBLISHING";
|
|
1989
2023
|
data: {
|
|
@@ -2263,6 +2297,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2263
2297
|
accountId: string;
|
|
2264
2298
|
caseId: string;
|
|
2265
2299
|
};
|
|
2300
|
+
} | {
|
|
2301
|
+
type: "PUBLISHED";
|
|
2302
|
+
data: {
|
|
2303
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2304
|
+
};
|
|
2266
2305
|
} | {
|
|
2267
2306
|
type: "REPUBLISHING";
|
|
2268
2307
|
data: {
|
|
@@ -2544,6 +2583,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2544
2583
|
accountId: string;
|
|
2545
2584
|
caseId: string;
|
|
2546
2585
|
};
|
|
2586
|
+
} | {
|
|
2587
|
+
type: "PUBLISHED";
|
|
2588
|
+
data: {
|
|
2589
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2590
|
+
};
|
|
2547
2591
|
} | {
|
|
2548
2592
|
type: "REPUBLISHING";
|
|
2549
2593
|
data: {
|
|
@@ -2868,6 +2912,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2868
2912
|
accountId: string;
|
|
2869
2913
|
caseId: string;
|
|
2870
2914
|
};
|
|
2915
|
+
} | {
|
|
2916
|
+
type: "PUBLISHED";
|
|
2917
|
+
data: {
|
|
2918
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2919
|
+
};
|
|
2871
2920
|
} | {
|
|
2872
2921
|
type: "REPUBLISHING";
|
|
2873
2922
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionWithItems.d.ts","sourceRoot":"","sources":["TransactionWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"TransactionWithItems.d.ts","sourceRoot":"","sources":["TransactionWithItems.ts"],"names":[],"mappings":"AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -769,6 +769,25 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
769
769
|
accountId: string;
|
|
770
770
|
caseId: string;
|
|
771
771
|
};
|
|
772
|
+
}>, z.ZodObject<{
|
|
773
|
+
data: z.ZodObject<{
|
|
774
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
775
|
+
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
777
|
+
}, {
|
|
778
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
779
|
+
}>;
|
|
780
|
+
type: z.ZodLiteral<"PUBLISHED">;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
type: "PUBLISHED";
|
|
783
|
+
data: {
|
|
784
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
785
|
+
};
|
|
786
|
+
}, {
|
|
787
|
+
type: "PUBLISHED";
|
|
788
|
+
data: {
|
|
789
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
790
|
+
};
|
|
772
791
|
}>, z.ZodObject<{
|
|
773
792
|
data: z.ZodObject<{
|
|
774
793
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
@@ -1168,6 +1187,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1168
1187
|
accountId: string;
|
|
1169
1188
|
caseId: string;
|
|
1170
1189
|
};
|
|
1190
|
+
} | {
|
|
1191
|
+
type: "PUBLISHED";
|
|
1192
|
+
data: {
|
|
1193
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1194
|
+
};
|
|
1171
1195
|
} | {
|
|
1172
1196
|
type: "REPUBLISHING";
|
|
1173
1197
|
data: {
|
|
@@ -1326,6 +1350,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1326
1350
|
accountId: string;
|
|
1327
1351
|
caseId: string;
|
|
1328
1352
|
};
|
|
1353
|
+
} | {
|
|
1354
|
+
type: "PUBLISHED";
|
|
1355
|
+
data: {
|
|
1356
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1357
|
+
};
|
|
1329
1358
|
} | {
|
|
1330
1359
|
type: "REPUBLISHING";
|
|
1331
1360
|
data: {
|
|
@@ -1699,6 +1728,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1699
1728
|
accountId: string;
|
|
1700
1729
|
caseId: string;
|
|
1701
1730
|
};
|
|
1731
|
+
} | {
|
|
1732
|
+
type: "PUBLISHED";
|
|
1733
|
+
data: {
|
|
1734
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1735
|
+
};
|
|
1702
1736
|
} | {
|
|
1703
1737
|
type: "REPUBLISHING";
|
|
1704
1738
|
data: {
|
|
@@ -1978,6 +2012,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
1978
2012
|
accountId: string;
|
|
1979
2013
|
caseId: string;
|
|
1980
2014
|
};
|
|
2015
|
+
} | {
|
|
2016
|
+
type: "PUBLISHED";
|
|
2017
|
+
data: {
|
|
2018
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2019
|
+
};
|
|
1981
2020
|
} | {
|
|
1982
2021
|
type: "REPUBLISHING";
|
|
1983
2022
|
data: {
|
|
@@ -2284,6 +2323,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2284
2323
|
accountId: string;
|
|
2285
2324
|
caseId: string;
|
|
2286
2325
|
};
|
|
2326
|
+
} | {
|
|
2327
|
+
type: "PUBLISHED";
|
|
2328
|
+
data: {
|
|
2329
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2330
|
+
};
|
|
2287
2331
|
} | {
|
|
2288
2332
|
type: "REPUBLISHING";
|
|
2289
2333
|
data: {
|
|
@@ -2574,6 +2618,11 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
2574
2618
|
accountId: string;
|
|
2575
2619
|
caseId: string;
|
|
2576
2620
|
};
|
|
2621
|
+
} | {
|
|
2622
|
+
type: "PUBLISHED";
|
|
2623
|
+
data: {
|
|
2624
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2625
|
+
};
|
|
2577
2626
|
} | {
|
|
2578
2627
|
type: "REPUBLISHING";
|
|
2579
2628
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatedItems.d.ts","sourceRoot":"","sources":["CreatedItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"CreatedItems.d.ts","sourceRoot":"","sources":["CreatedItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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