scordi-extension 1.15.0 → 1.15.1
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/dist/manifest.json +1 -1
- package/dist/sdk/EightGClient.d.ts +179 -17
- package/dist/sdk/EightGClient.d.ts.map +1 -1
- package/dist/sdk/index.cjs +4 -8
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +4253 -5756
- package/dist/vendor/vite-client.js +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { CollectWorkflowRequest, CollectWorkflowResult } from './types';
|
|
2
2
|
import { ExtensionResponseMessage } from '@/types/external-messages';
|
|
3
|
-
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
export declare const WorkspaceItemSchema: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
key: z.ZodString;
|
|
7
|
+
image: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
4
9
|
name: string;
|
|
10
|
+
image: string;
|
|
5
11
|
key: string;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
6
14
|
image: string;
|
|
7
|
-
|
|
15
|
+
key: string;
|
|
16
|
+
}>;
|
|
17
|
+
export type WorkspaceItemDto = z.infer<typeof WorkspaceItemSchema>;
|
|
8
18
|
export type ConnectWorkspaceResponseDto = {
|
|
9
19
|
data: WorkspaceItemDto[];
|
|
10
20
|
isSuccess: boolean;
|
|
@@ -13,13 +23,26 @@ export declare enum BillingCycleTerm {
|
|
|
13
23
|
monthly = "MONTHLY",
|
|
14
24
|
yearly = "YEARLY"
|
|
15
25
|
}
|
|
16
|
-
export declare
|
|
26
|
+
export declare const CurrencySchema: z.ZodObject<{
|
|
27
|
+
text: z.ZodString;
|
|
28
|
+
code: z.ZodString;
|
|
29
|
+
symbol: z.ZodString;
|
|
30
|
+
format: z.ZodString;
|
|
31
|
+
amount: z.ZodNumber;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
symbol: string;
|
|
34
|
+
code: string;
|
|
17
35
|
text: string;
|
|
18
|
-
|
|
19
|
-
symbol: CurrencySymbols;
|
|
20
|
-
format: CurrencyFormats;
|
|
36
|
+
format: string;
|
|
21
37
|
amount: number;
|
|
22
|
-
}
|
|
38
|
+
}, {
|
|
39
|
+
symbol: string;
|
|
40
|
+
code: string;
|
|
41
|
+
text: string;
|
|
42
|
+
format: string;
|
|
43
|
+
amount: number;
|
|
44
|
+
}>;
|
|
45
|
+
export type CurrencyDto = z.infer<typeof CurrencySchema>;
|
|
23
46
|
export type CurrencyCodes = ValuesOf<typeof CurrencyValues>['code'];
|
|
24
47
|
export type CurrencySymbols = ValuesOf<typeof CurrencyValues>['symbol'];
|
|
25
48
|
export type CurrencyFormats = '%u%n';
|
|
@@ -38,32 +61,171 @@ export declare const CurrencyValues: {
|
|
|
38
61
|
readonly symbol: "₩";
|
|
39
62
|
};
|
|
40
63
|
};
|
|
41
|
-
export declare
|
|
64
|
+
export declare const WorkspaceBillingSchema: z.ZodObject<{
|
|
65
|
+
planName: z.ZodString;
|
|
66
|
+
currentCycleBillAmount: z.ZodObject<{
|
|
67
|
+
text: z.ZodString;
|
|
68
|
+
code: z.ZodString;
|
|
69
|
+
symbol: z.ZodString;
|
|
70
|
+
format: z.ZodString;
|
|
71
|
+
amount: z.ZodNumber;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
symbol: string;
|
|
74
|
+
code: string;
|
|
75
|
+
text: string;
|
|
76
|
+
format: string;
|
|
77
|
+
amount: number;
|
|
78
|
+
}, {
|
|
79
|
+
symbol: string;
|
|
80
|
+
code: string;
|
|
81
|
+
text: string;
|
|
82
|
+
format: string;
|
|
83
|
+
amount: number;
|
|
84
|
+
}>;
|
|
85
|
+
nextPaymentDue: z.ZodString;
|
|
86
|
+
cycleTerm: z.ZodNullable<z.ZodNativeEnum<typeof BillingCycleTerm>>;
|
|
87
|
+
isFreeTier: z.ZodBoolean;
|
|
88
|
+
isPerUser: z.ZodBoolean;
|
|
89
|
+
paidMemberCount: z.ZodNumber;
|
|
90
|
+
usedMemberCount: z.ZodNumber;
|
|
91
|
+
unitPrice: z.ZodNullable<z.ZodObject<{
|
|
92
|
+
text: z.ZodString;
|
|
93
|
+
code: z.ZodString;
|
|
94
|
+
symbol: z.ZodString;
|
|
95
|
+
format: z.ZodString;
|
|
96
|
+
amount: z.ZodNumber;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
symbol: string;
|
|
99
|
+
code: string;
|
|
100
|
+
text: string;
|
|
101
|
+
format: string;
|
|
102
|
+
amount: number;
|
|
103
|
+
}, {
|
|
104
|
+
symbol: string;
|
|
105
|
+
code: string;
|
|
106
|
+
text: string;
|
|
107
|
+
format: string;
|
|
108
|
+
amount: number;
|
|
109
|
+
}>>;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
111
|
planName: string;
|
|
43
|
-
currentCycleBillAmount:
|
|
112
|
+
currentCycleBillAmount: {
|
|
113
|
+
symbol: string;
|
|
114
|
+
code: string;
|
|
115
|
+
text: string;
|
|
116
|
+
format: string;
|
|
117
|
+
amount: number;
|
|
118
|
+
};
|
|
44
119
|
nextPaymentDue: string;
|
|
45
120
|
cycleTerm: BillingCycleTerm | null;
|
|
46
121
|
isFreeTier: boolean;
|
|
47
122
|
isPerUser: boolean;
|
|
48
123
|
paidMemberCount: number;
|
|
49
124
|
usedMemberCount: number;
|
|
50
|
-
unitPrice:
|
|
51
|
-
|
|
52
|
-
|
|
125
|
+
unitPrice: {
|
|
126
|
+
symbol: string;
|
|
127
|
+
code: string;
|
|
128
|
+
text: string;
|
|
129
|
+
format: string;
|
|
130
|
+
amount: number;
|
|
131
|
+
} | null;
|
|
132
|
+
}, {
|
|
133
|
+
planName: string;
|
|
134
|
+
currentCycleBillAmount: {
|
|
135
|
+
symbol: string;
|
|
136
|
+
code: string;
|
|
137
|
+
text: string;
|
|
138
|
+
format: string;
|
|
139
|
+
amount: number;
|
|
140
|
+
};
|
|
141
|
+
nextPaymentDue: string;
|
|
142
|
+
cycleTerm: BillingCycleTerm | null;
|
|
143
|
+
isFreeTier: boolean;
|
|
144
|
+
isPerUser: boolean;
|
|
145
|
+
paidMemberCount: number;
|
|
146
|
+
usedMemberCount: number;
|
|
147
|
+
unitPrice: {
|
|
148
|
+
symbol: string;
|
|
149
|
+
code: string;
|
|
150
|
+
text: string;
|
|
151
|
+
format: string;
|
|
152
|
+
amount: number;
|
|
153
|
+
} | null;
|
|
154
|
+
}>;
|
|
155
|
+
export type WorkspaceBillingDto = z.infer<typeof WorkspaceBillingSchema> & {};
|
|
156
|
+
export declare const WorkspaceBillingHistorySchema: z.ZodObject<{
|
|
157
|
+
uid: z.ZodString;
|
|
158
|
+
issuedDate: z.ZodDate;
|
|
159
|
+
paidDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
160
|
+
paymentMethod: z.ZodString;
|
|
161
|
+
amount: z.ZodObject<{
|
|
162
|
+
text: z.ZodString;
|
|
163
|
+
code: z.ZodString;
|
|
164
|
+
symbol: z.ZodString;
|
|
165
|
+
format: z.ZodString;
|
|
166
|
+
amount: z.ZodNumber;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
symbol: string;
|
|
169
|
+
code: string;
|
|
170
|
+
text: string;
|
|
171
|
+
format: string;
|
|
172
|
+
amount: number;
|
|
173
|
+
}, {
|
|
174
|
+
symbol: string;
|
|
175
|
+
code: string;
|
|
176
|
+
text: string;
|
|
177
|
+
format: string;
|
|
178
|
+
amount: number;
|
|
179
|
+
}>;
|
|
180
|
+
isSuccessfulPaid: z.ZodBoolean;
|
|
181
|
+
receiptUrl: z.ZodString;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
amount: {
|
|
184
|
+
symbol: string;
|
|
185
|
+
code: string;
|
|
186
|
+
text: string;
|
|
187
|
+
format: string;
|
|
188
|
+
amount: number;
|
|
189
|
+
};
|
|
53
190
|
uid: string;
|
|
54
191
|
issuedDate: Date;
|
|
55
|
-
paidDate?: Date | null;
|
|
56
192
|
paymentMethod: string;
|
|
57
|
-
amount: CurrencyDto;
|
|
58
193
|
isSuccessfulPaid: boolean;
|
|
59
194
|
receiptUrl: string;
|
|
60
|
-
|
|
61
|
-
|
|
195
|
+
paidDate?: Date | null | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
amount: {
|
|
198
|
+
symbol: string;
|
|
199
|
+
code: string;
|
|
200
|
+
text: string;
|
|
201
|
+
format: string;
|
|
202
|
+
amount: number;
|
|
203
|
+
};
|
|
204
|
+
uid: string;
|
|
205
|
+
issuedDate: Date;
|
|
206
|
+
paymentMethod: string;
|
|
207
|
+
isSuccessfulPaid: boolean;
|
|
208
|
+
receiptUrl: string;
|
|
209
|
+
paidDate?: Date | null | undefined;
|
|
210
|
+
}>;
|
|
211
|
+
export type WorkspaceBillingHistoryDto = z.infer<typeof WorkspaceBillingHistorySchema>;
|
|
212
|
+
export declare const WorkspaceMemberSchema: z.ZodObject<{
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
email: z.ZodString;
|
|
215
|
+
profileImageUrl: z.ZodString;
|
|
216
|
+
role: z.ZodString;
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
218
|
name: string;
|
|
219
|
+
role: string;
|
|
63
220
|
email: string;
|
|
64
221
|
profileImageUrl: string;
|
|
222
|
+
}, {
|
|
223
|
+
name: string;
|
|
65
224
|
role: string;
|
|
66
|
-
|
|
225
|
+
email: string;
|
|
226
|
+
profileImageUrl: string;
|
|
227
|
+
}>;
|
|
228
|
+
export type WorkspaceMemberDto = z.infer<typeof WorkspaceMemberSchema>;
|
|
67
229
|
/**
|
|
68
230
|
* 8G Extension SDK Client
|
|
69
231
|
* 웹페이지에서 8G Extension과 통신하기 위한 클라이언트
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EightGClient.d.ts","sourceRoot":"","sources":["../../src/sdk/EightGClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAExE,OAAO,EAAE,wBAAwB,EAA8B,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"EightGClient.d.ts","sourceRoot":"","sources":["../../src/sdk/EightGClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAExE,OAAO,EAAE,wBAAwB,EAA8B,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC;AACxE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC,MAAM,MAAM,QAAQ,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;AAE3C,oBAAY,QAAQ;IAClB,GAAG,Q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