scordi-extension 1.15.3 → 1.15.6
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/sdk/EightGClient.d.ts +97 -39
- package/dist/sdk/EightGClient.d.ts.map +1 -1
- package/dist/sdk/index.cjs +4 -4
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +3225 -1881
- package/dist/sdk/types.d.ts +2641 -0
- package/dist/sdk/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectWorkflowRequest, CollectWorkflowResult } from './types';
|
|
1
|
+
import { CollectWorkflowRequest, CollectWorkflowResult, CurrencyCode } from './types';
|
|
2
2
|
import { ExtensionResponseMessage } from '@/types/external-messages';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export declare const WorkspaceItemSchema: z.ZodObject<{
|
|
@@ -23,26 +23,39 @@ export declare enum BillingCycleTerm {
|
|
|
23
23
|
monthly = "MONTHLY",
|
|
24
24
|
yearly = "YEARLY"
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
/**
|
|
27
|
+
* CurrencyAmount 타입을 위한 Zod 스키마
|
|
28
|
+
* types.ts의 CurrencyAmount와 동일한 구조
|
|
29
|
+
*/
|
|
30
|
+
export declare const CurrencyAmountSchema: z.ZodObject<{
|
|
31
|
+
code: z.ZodNativeEnum<typeof CurrencyCode>;
|
|
29
32
|
symbol: z.ZodString;
|
|
33
|
+
local: z.ZodOptional<z.ZodString>;
|
|
34
|
+
abbreviation: z.ZodOptional<z.ZodString>;
|
|
30
35
|
format: z.ZodString;
|
|
36
|
+
desc: z.ZodString;
|
|
31
37
|
amount: z.ZodNumber;
|
|
38
|
+
text: z.ZodOptional<z.ZodString>;
|
|
32
39
|
}, "strip", z.ZodTypeAny, {
|
|
33
40
|
symbol: string;
|
|
34
|
-
code:
|
|
35
|
-
|
|
41
|
+
code: CurrencyCode;
|
|
42
|
+
desc: string;
|
|
36
43
|
format: string;
|
|
37
44
|
amount: number;
|
|
45
|
+
text?: string | undefined;
|
|
46
|
+
local?: string | undefined;
|
|
47
|
+
abbreviation?: string | undefined;
|
|
38
48
|
}, {
|
|
39
49
|
symbol: string;
|
|
40
|
-
code:
|
|
41
|
-
|
|
50
|
+
code: CurrencyCode;
|
|
51
|
+
desc: string;
|
|
42
52
|
format: string;
|
|
43
53
|
amount: number;
|
|
54
|
+
text?: string | undefined;
|
|
55
|
+
local?: string | undefined;
|
|
56
|
+
abbreviation?: string | undefined;
|
|
44
57
|
}>;
|
|
45
|
-
export type CurrencyDto = z.infer<typeof
|
|
58
|
+
export type CurrencyDto = z.infer<typeof CurrencyAmountSchema>;
|
|
46
59
|
export type CurrencyCodes = ValuesOf<typeof CurrencyValues>['code'];
|
|
47
60
|
export type CurrencySymbols = ValuesOf<typeof CurrencyValues>['symbol'];
|
|
48
61
|
export type CurrencyFormats = '%u%n';
|
|
@@ -64,23 +77,32 @@ export declare const CurrencyValues: {
|
|
|
64
77
|
export declare const WorkspaceBillingSchema: z.ZodObject<{
|
|
65
78
|
planName: z.ZodString;
|
|
66
79
|
currentCycleBillAmount: z.ZodObject<{
|
|
67
|
-
|
|
68
|
-
code: z.ZodString;
|
|
80
|
+
code: z.ZodNativeEnum<typeof CurrencyCode>;
|
|
69
81
|
symbol: z.ZodString;
|
|
82
|
+
local: z.ZodOptional<z.ZodString>;
|
|
83
|
+
abbreviation: z.ZodOptional<z.ZodString>;
|
|
70
84
|
format: z.ZodString;
|
|
85
|
+
desc: z.ZodString;
|
|
71
86
|
amount: z.ZodNumber;
|
|
87
|
+
text: z.ZodOptional<z.ZodString>;
|
|
72
88
|
}, "strip", z.ZodTypeAny, {
|
|
73
89
|
symbol: string;
|
|
74
|
-
code:
|
|
75
|
-
|
|
90
|
+
code: CurrencyCode;
|
|
91
|
+
desc: string;
|
|
76
92
|
format: string;
|
|
77
93
|
amount: number;
|
|
94
|
+
text?: string | undefined;
|
|
95
|
+
local?: string | undefined;
|
|
96
|
+
abbreviation?: string | undefined;
|
|
78
97
|
}, {
|
|
79
98
|
symbol: string;
|
|
80
|
-
code:
|
|
81
|
-
|
|
99
|
+
code: CurrencyCode;
|
|
100
|
+
desc: string;
|
|
82
101
|
format: string;
|
|
83
102
|
amount: number;
|
|
103
|
+
text?: string | undefined;
|
|
104
|
+
local?: string | undefined;
|
|
105
|
+
abbreviation?: string | undefined;
|
|
84
106
|
}>;
|
|
85
107
|
nextPaymentDue: z.ZodString;
|
|
86
108
|
cycleTerm: z.ZodNullable<z.ZodNativeEnum<typeof BillingCycleTerm>>;
|
|
@@ -89,32 +111,44 @@ export declare const WorkspaceBillingSchema: z.ZodObject<{
|
|
|
89
111
|
paidMemberCount: z.ZodNumber;
|
|
90
112
|
usedMemberCount: z.ZodNumber;
|
|
91
113
|
unitPrice: z.ZodNullable<z.ZodObject<{
|
|
92
|
-
|
|
93
|
-
code: z.ZodString;
|
|
114
|
+
code: z.ZodNativeEnum<typeof CurrencyCode>;
|
|
94
115
|
symbol: z.ZodString;
|
|
116
|
+
local: z.ZodOptional<z.ZodString>;
|
|
117
|
+
abbreviation: z.ZodOptional<z.ZodString>;
|
|
95
118
|
format: z.ZodString;
|
|
119
|
+
desc: z.ZodString;
|
|
96
120
|
amount: z.ZodNumber;
|
|
121
|
+
text: z.ZodOptional<z.ZodString>;
|
|
97
122
|
}, "strip", z.ZodTypeAny, {
|
|
98
123
|
symbol: string;
|
|
99
|
-
code:
|
|
100
|
-
|
|
124
|
+
code: CurrencyCode;
|
|
125
|
+
desc: string;
|
|
101
126
|
format: string;
|
|
102
127
|
amount: number;
|
|
128
|
+
text?: string | undefined;
|
|
129
|
+
local?: string | undefined;
|
|
130
|
+
abbreviation?: string | undefined;
|
|
103
131
|
}, {
|
|
104
132
|
symbol: string;
|
|
105
|
-
code:
|
|
106
|
-
|
|
133
|
+
code: CurrencyCode;
|
|
134
|
+
desc: string;
|
|
107
135
|
format: string;
|
|
108
136
|
amount: number;
|
|
137
|
+
text?: string | undefined;
|
|
138
|
+
local?: string | undefined;
|
|
139
|
+
abbreviation?: string | undefined;
|
|
109
140
|
}>>;
|
|
110
141
|
}, "strip", z.ZodTypeAny, {
|
|
111
142
|
planName: string;
|
|
112
143
|
currentCycleBillAmount: {
|
|
113
144
|
symbol: string;
|
|
114
|
-
code:
|
|
115
|
-
|
|
145
|
+
code: CurrencyCode;
|
|
146
|
+
desc: string;
|
|
116
147
|
format: string;
|
|
117
148
|
amount: number;
|
|
149
|
+
text?: string | undefined;
|
|
150
|
+
local?: string | undefined;
|
|
151
|
+
abbreviation?: string | undefined;
|
|
118
152
|
};
|
|
119
153
|
nextPaymentDue: string;
|
|
120
154
|
cycleTerm: BillingCycleTerm | null;
|
|
@@ -124,19 +158,25 @@ export declare const WorkspaceBillingSchema: z.ZodObject<{
|
|
|
124
158
|
usedMemberCount: number;
|
|
125
159
|
unitPrice: {
|
|
126
160
|
symbol: string;
|
|
127
|
-
code:
|
|
128
|
-
|
|
161
|
+
code: CurrencyCode;
|
|
162
|
+
desc: string;
|
|
129
163
|
format: string;
|
|
130
164
|
amount: number;
|
|
165
|
+
text?: string | undefined;
|
|
166
|
+
local?: string | undefined;
|
|
167
|
+
abbreviation?: string | undefined;
|
|
131
168
|
} | null;
|
|
132
169
|
}, {
|
|
133
170
|
planName: string;
|
|
134
171
|
currentCycleBillAmount: {
|
|
135
172
|
symbol: string;
|
|
136
|
-
code:
|
|
137
|
-
|
|
173
|
+
code: CurrencyCode;
|
|
174
|
+
desc: string;
|
|
138
175
|
format: string;
|
|
139
176
|
amount: number;
|
|
177
|
+
text?: string | undefined;
|
|
178
|
+
local?: string | undefined;
|
|
179
|
+
abbreviation?: string | undefined;
|
|
140
180
|
};
|
|
141
181
|
nextPaymentDue: string;
|
|
142
182
|
cycleTerm: BillingCycleTerm | null;
|
|
@@ -146,10 +186,13 @@ export declare const WorkspaceBillingSchema: z.ZodObject<{
|
|
|
146
186
|
usedMemberCount: number;
|
|
147
187
|
unitPrice: {
|
|
148
188
|
symbol: string;
|
|
149
|
-
code:
|
|
150
|
-
|
|
189
|
+
code: CurrencyCode;
|
|
190
|
+
desc: string;
|
|
151
191
|
format: string;
|
|
152
192
|
amount: number;
|
|
193
|
+
text?: string | undefined;
|
|
194
|
+
local?: string | undefined;
|
|
195
|
+
abbreviation?: string | undefined;
|
|
153
196
|
} | null;
|
|
154
197
|
}>;
|
|
155
198
|
export type WorkspaceBillingDto = z.infer<typeof WorkspaceBillingSchema> & {};
|
|
@@ -159,33 +202,45 @@ export declare const WorkspaceBillingHistorySchema: z.ZodObject<{
|
|
|
159
202
|
paidDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
160
203
|
paymentMethod: z.ZodString;
|
|
161
204
|
amount: z.ZodObject<{
|
|
162
|
-
|
|
163
|
-
code: z.ZodString;
|
|
205
|
+
code: z.ZodNativeEnum<typeof CurrencyCode>;
|
|
164
206
|
symbol: z.ZodString;
|
|
207
|
+
local: z.ZodOptional<z.ZodString>;
|
|
208
|
+
abbreviation: z.ZodOptional<z.ZodString>;
|
|
165
209
|
format: z.ZodString;
|
|
210
|
+
desc: z.ZodString;
|
|
166
211
|
amount: z.ZodNumber;
|
|
212
|
+
text: z.ZodOptional<z.ZodString>;
|
|
167
213
|
}, "strip", z.ZodTypeAny, {
|
|
168
214
|
symbol: string;
|
|
169
|
-
code:
|
|
170
|
-
|
|
215
|
+
code: CurrencyCode;
|
|
216
|
+
desc: string;
|
|
171
217
|
format: string;
|
|
172
218
|
amount: number;
|
|
219
|
+
text?: string | undefined;
|
|
220
|
+
local?: string | undefined;
|
|
221
|
+
abbreviation?: string | undefined;
|
|
173
222
|
}, {
|
|
174
223
|
symbol: string;
|
|
175
|
-
code:
|
|
176
|
-
|
|
224
|
+
code: CurrencyCode;
|
|
225
|
+
desc: string;
|
|
177
226
|
format: string;
|
|
178
227
|
amount: number;
|
|
228
|
+
text?: string | undefined;
|
|
229
|
+
local?: string | undefined;
|
|
230
|
+
abbreviation?: string | undefined;
|
|
179
231
|
}>;
|
|
180
232
|
isSuccessfulPaid: z.ZodBoolean;
|
|
181
233
|
receiptUrl: z.ZodString;
|
|
182
234
|
}, "strip", z.ZodTypeAny, {
|
|
183
235
|
amount: {
|
|
184
236
|
symbol: string;
|
|
185
|
-
code:
|
|
186
|
-
|
|
237
|
+
code: CurrencyCode;
|
|
238
|
+
desc: string;
|
|
187
239
|
format: string;
|
|
188
240
|
amount: number;
|
|
241
|
+
text?: string | undefined;
|
|
242
|
+
local?: string | undefined;
|
|
243
|
+
abbreviation?: string | undefined;
|
|
189
244
|
};
|
|
190
245
|
uid: string;
|
|
191
246
|
issuedDate: Date;
|
|
@@ -196,10 +251,13 @@ export declare const WorkspaceBillingHistorySchema: z.ZodObject<{
|
|
|
196
251
|
}, {
|
|
197
252
|
amount: {
|
|
198
253
|
symbol: string;
|
|
199
|
-
code:
|
|
200
|
-
|
|
254
|
+
code: CurrencyCode;
|
|
255
|
+
desc: string;
|
|
201
256
|
format: string;
|
|
202
257
|
amount: number;
|
|
258
|
+
text?: string | undefined;
|
|
259
|
+
local?: string | undefined;
|
|
260
|
+
abbreviation?: string | undefined;
|
|
203
261
|
};
|
|
204
262
|
uid: string;
|
|
205
263
|
issuedDate: Date;
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"EightGClient.d.ts","sourceRoot":"","sources":["../../src/sdk/EightGClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEtF,OAAO,EAAE,wBAAwB,EAA8B,MAAM,2BAA2B,CA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