@channel.io/app-sdk-core 0.25.0 → 0.26.0
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/extensions/apikey.d.ts +2 -2
- package/dist/extensions/commerce.d.ts +8 -0
- package/dist/extensions/commerce.d.ts.map +1 -1
- package/dist/extensions/commerce.js +14 -3
- package/dist/extensions/commerce.js.map +1 -1
- package/dist/extensions/config.d.ts +53 -1
- package/dist/extensions/config.d.ts.map +1 -1
- package/dist/extensions/config.js +14 -0
- package/dist/extensions/config.js.map +1 -1
- package/dist/extensions/datasource.d.ts +22 -22
- package/dist/extensions/hook.d.ts +295 -4
- package/dist/extensions/hook.d.ts.map +1 -1
- package/dist/extensions/hook.js +48 -1
- package/dist/extensions/hook.js.map +1 -1
- package/dist/extensions/index.d.ts +2 -2
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +2 -2
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/oauth.d.ts +2 -2
- package/dist/extensions/proto-contracts.d.ts +3 -1
- package/dist/extensions/proto-contracts.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +6 -6
- package/dist/gen/channel/app/sdk/v1/context.d.ts +12 -0
- package/dist/gen/channel/app/sdk/v1/context.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +67 -6
- package/dist/gen/channel/app/sdk/v1/context.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/context.zod.js +9 -0
- package/dist/gen/channel/app/sdk/v1/context.zod.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +64 -2
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +119 -22
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +22 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +66 -12
- package/dist/gen/channel/app/sdk/v1/function.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/native.d.ts +25 -0
- package/dist/gen/channel/app/sdk/v1/native.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +167 -12
- package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/native.zod.js +22 -0
- package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -1
- package/dist/schemas/context.d.ts +25 -0
- package/dist/schemas/context.d.ts.map +1 -0
- package/dist/schemas/context.js +13 -0
- package/dist/schemas/context.js.map +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/native.d.ts +153 -0
- package/dist/schemas/native.d.ts.map +1 -1
- package/dist/schemas/native.js +42 -0
- package/dist/schemas/native.js.map +1 -1
- package/dist/schemas/redirect.d.ts +4 -0
- package/dist/schemas/redirect.d.ts.map +1 -0
- package/dist/schemas/redirect.js +18 -0
- package/dist/schemas/redirect.js.map +1 -0
- package/dist/types/context.d.ts +11 -2
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/native.d.ts +34 -0
- package/dist/types/native.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -70,6 +70,28 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
70
70
|
}, {
|
|
71
71
|
url?: string | undefined;
|
|
72
72
|
}>>>>;
|
|
73
|
+
oauthFlow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
74
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
75
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
managerId: z.ZodOptional<z.ZodString>;
|
|
77
|
+
authScope: z.ZodOptional<z.ZodString>;
|
|
78
|
+
key: z.ZodOptional<z.ZodString>;
|
|
79
|
+
targetManagerId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
channelId?: string | undefined;
|
|
82
|
+
key?: string | undefined;
|
|
83
|
+
appId?: string | undefined;
|
|
84
|
+
managerId?: string | undefined;
|
|
85
|
+
authScope?: string | undefined;
|
|
86
|
+
targetManagerId?: string | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
channelId?: string | undefined;
|
|
89
|
+
key?: string | undefined;
|
|
90
|
+
appId?: string | undefined;
|
|
91
|
+
managerId?: string | undefined;
|
|
92
|
+
authScope?: string | undefined;
|
|
93
|
+
targetManagerId?: string | undefined;
|
|
94
|
+
}>>>;
|
|
73
95
|
}, "strip", z.ZodTypeAny, {
|
|
74
96
|
user?: {
|
|
75
97
|
type?: string | undefined;
|
|
@@ -79,11 +101,11 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
79
101
|
profile?: Record<string, any> | undefined;
|
|
80
102
|
member?: boolean | undefined;
|
|
81
103
|
} | undefined;
|
|
82
|
-
|
|
83
|
-
type?: string | undefined;
|
|
104
|
+
channel?: {
|
|
84
105
|
id?: string | undefined;
|
|
85
106
|
} | undefined;
|
|
86
|
-
|
|
107
|
+
caller?: {
|
|
108
|
+
type?: string | undefined;
|
|
87
109
|
id?: string | undefined;
|
|
88
110
|
} | undefined;
|
|
89
111
|
userChat?: {
|
|
@@ -91,6 +113,14 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
91
113
|
state?: string | undefined;
|
|
92
114
|
profile?: Record<string, any> | undefined;
|
|
93
115
|
} | undefined;
|
|
116
|
+
oauthFlow?: {
|
|
117
|
+
channelId?: string | undefined;
|
|
118
|
+
key?: string | undefined;
|
|
119
|
+
appId?: string | undefined;
|
|
120
|
+
managerId?: string | undefined;
|
|
121
|
+
authScope?: string | undefined;
|
|
122
|
+
targetManagerId?: string | undefined;
|
|
123
|
+
} | undefined;
|
|
94
124
|
authToken?: string | undefined;
|
|
95
125
|
legacyAuthToken?: string | undefined;
|
|
96
126
|
apiCredentials?: Record<string, string> | undefined;
|
|
@@ -111,11 +141,11 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
111
141
|
profile?: Record<string, any> | undefined;
|
|
112
142
|
member?: boolean | undefined;
|
|
113
143
|
} | undefined;
|
|
114
|
-
|
|
115
|
-
type?: string | undefined;
|
|
144
|
+
channel?: {
|
|
116
145
|
id?: string | undefined;
|
|
117
146
|
} | undefined;
|
|
118
|
-
|
|
147
|
+
caller?: {
|
|
148
|
+
type?: string | undefined;
|
|
119
149
|
id?: string | undefined;
|
|
120
150
|
} | undefined;
|
|
121
151
|
userChat?: {
|
|
@@ -123,6 +153,14 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
123
153
|
state?: string | undefined;
|
|
124
154
|
profile?: Record<string, any> | undefined;
|
|
125
155
|
} | undefined;
|
|
156
|
+
oauthFlow?: {
|
|
157
|
+
channelId?: string | undefined;
|
|
158
|
+
key?: string | undefined;
|
|
159
|
+
appId?: string | undefined;
|
|
160
|
+
managerId?: string | undefined;
|
|
161
|
+
authScope?: string | undefined;
|
|
162
|
+
targetManagerId?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
126
164
|
authToken?: string | undefined;
|
|
127
165
|
legacyAuthToken?: string | undefined;
|
|
128
166
|
apiCredentials?: Record<string, string> | undefined;
|
|
@@ -146,11 +184,11 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
146
184
|
profile?: Record<string, any> | undefined;
|
|
147
185
|
member?: boolean | undefined;
|
|
148
186
|
} | undefined;
|
|
149
|
-
|
|
150
|
-
type?: string | undefined;
|
|
187
|
+
channel?: {
|
|
151
188
|
id?: string | undefined;
|
|
152
189
|
} | undefined;
|
|
153
|
-
|
|
190
|
+
caller?: {
|
|
191
|
+
type?: string | undefined;
|
|
154
192
|
id?: string | undefined;
|
|
155
193
|
} | undefined;
|
|
156
194
|
userChat?: {
|
|
@@ -158,6 +196,14 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
158
196
|
state?: string | undefined;
|
|
159
197
|
profile?: Record<string, any> | undefined;
|
|
160
198
|
} | undefined;
|
|
199
|
+
oauthFlow?: {
|
|
200
|
+
channelId?: string | undefined;
|
|
201
|
+
key?: string | undefined;
|
|
202
|
+
appId?: string | undefined;
|
|
203
|
+
managerId?: string | undefined;
|
|
204
|
+
authScope?: string | undefined;
|
|
205
|
+
targetManagerId?: string | undefined;
|
|
206
|
+
} | undefined;
|
|
161
207
|
authToken?: string | undefined;
|
|
162
208
|
legacyAuthToken?: string | undefined;
|
|
163
209
|
apiCredentials?: Record<string, string> | undefined;
|
|
@@ -183,11 +229,11 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
183
229
|
profile?: Record<string, any> | undefined;
|
|
184
230
|
member?: boolean | undefined;
|
|
185
231
|
} | undefined;
|
|
186
|
-
|
|
187
|
-
type?: string | undefined;
|
|
232
|
+
channel?: {
|
|
188
233
|
id?: string | undefined;
|
|
189
234
|
} | undefined;
|
|
190
|
-
|
|
235
|
+
caller?: {
|
|
236
|
+
type?: string | undefined;
|
|
191
237
|
id?: string | undefined;
|
|
192
238
|
} | undefined;
|
|
193
239
|
userChat?: {
|
|
@@ -195,6 +241,14 @@ export declare const NativeFunctionRequestProtoSchema: z.ZodObject<{
|
|
|
195
241
|
state?: string | undefined;
|
|
196
242
|
profile?: Record<string, any> | undefined;
|
|
197
243
|
} | undefined;
|
|
244
|
+
oauthFlow?: {
|
|
245
|
+
channelId?: string | undefined;
|
|
246
|
+
key?: string | undefined;
|
|
247
|
+
appId?: string | undefined;
|
|
248
|
+
managerId?: string | undefined;
|
|
249
|
+
authScope?: string | undefined;
|
|
250
|
+
targetManagerId?: string | undefined;
|
|
251
|
+
} | undefined;
|
|
198
252
|
authToken?: string | undefined;
|
|
199
253
|
legacyAuthToken?: string | undefined;
|
|
200
254
|
apiCredentials?: Record<string, string> | undefined;
|
|
@@ -457,4 +511,105 @@ export declare const GetAppNotebookVersionsResultProtoSchema: z.ZodObject<{
|
|
|
457
511
|
}[] | undefined;
|
|
458
512
|
}>;
|
|
459
513
|
export type GetAppNotebookVersionsResultProto = z.infer<typeof GetAppNotebookVersionsResultProtoSchema>;
|
|
514
|
+
export declare const OAuthFlowProtoSchema: z.ZodObject<{
|
|
515
|
+
id: z.ZodOptional<z.ZodString>;
|
|
516
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
517
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
518
|
+
key: z.ZodOptional<z.ZodString>;
|
|
519
|
+
targetAuthScope: z.ZodOptional<z.ZodString>;
|
|
520
|
+
authorizationURL: z.ZodOptional<z.ZodString>;
|
|
521
|
+
canResume: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
+
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
id?: string | undefined;
|
|
524
|
+
key?: string | undefined;
|
|
525
|
+
phase?: string | undefined;
|
|
526
|
+
expiresAt?: string | undefined;
|
|
527
|
+
targetAuthScope?: string | undefined;
|
|
528
|
+
authorizationURL?: string | undefined;
|
|
529
|
+
canResume?: boolean | undefined;
|
|
530
|
+
}, {
|
|
531
|
+
id?: string | undefined;
|
|
532
|
+
key?: string | undefined;
|
|
533
|
+
phase?: string | undefined;
|
|
534
|
+
expiresAt?: string | undefined;
|
|
535
|
+
targetAuthScope?: string | undefined;
|
|
536
|
+
authorizationURL?: string | undefined;
|
|
537
|
+
canResume?: boolean | undefined;
|
|
538
|
+
}>;
|
|
539
|
+
export type OAuthFlowProto = z.infer<typeof OAuthFlowProtoSchema>;
|
|
540
|
+
export declare const GetOAuthFlowParamsProtoSchema: z.ZodObject<{
|
|
541
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
flowId?: string | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
flowId?: string | undefined;
|
|
546
|
+
}>;
|
|
547
|
+
export type GetOAuthFlowParamsProto = z.infer<typeof GetOAuthFlowParamsProtoSchema>;
|
|
548
|
+
export declare const ResumeOAuthFlowParamsProtoSchema: z.ZodObject<{
|
|
549
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
550
|
+
resumeNonce: z.ZodOptional<z.ZodString>;
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
flowId?: string | undefined;
|
|
553
|
+
resumeNonce?: string | undefined;
|
|
554
|
+
}, {
|
|
555
|
+
flowId?: string | undefined;
|
|
556
|
+
resumeNonce?: string | undefined;
|
|
557
|
+
}>;
|
|
558
|
+
export type ResumeOAuthFlowParamsProto = z.infer<typeof ResumeOAuthFlowParamsProtoSchema>;
|
|
559
|
+
export declare const CancelOAuthFlowParamsProtoSchema: z.ZodObject<{
|
|
560
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
561
|
+
}, "strip", z.ZodTypeAny, {
|
|
562
|
+
flowId?: string | undefined;
|
|
563
|
+
}, {
|
|
564
|
+
flowId?: string | undefined;
|
|
565
|
+
}>;
|
|
566
|
+
export type CancelOAuthFlowParamsProto = z.infer<typeof CancelOAuthFlowParamsProtoSchema>;
|
|
567
|
+
export declare const OAuthFlowResultProtoSchema: z.ZodObject<{
|
|
568
|
+
flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
569
|
+
id: z.ZodOptional<z.ZodString>;
|
|
570
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
571
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
572
|
+
key: z.ZodOptional<z.ZodString>;
|
|
573
|
+
targetAuthScope: z.ZodOptional<z.ZodString>;
|
|
574
|
+
authorizationURL: z.ZodOptional<z.ZodString>;
|
|
575
|
+
canResume: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
+
}, "strip", z.ZodTypeAny, {
|
|
577
|
+
id?: string | undefined;
|
|
578
|
+
key?: string | undefined;
|
|
579
|
+
phase?: string | undefined;
|
|
580
|
+
expiresAt?: string | undefined;
|
|
581
|
+
targetAuthScope?: string | undefined;
|
|
582
|
+
authorizationURL?: string | undefined;
|
|
583
|
+
canResume?: boolean | undefined;
|
|
584
|
+
}, {
|
|
585
|
+
id?: string | undefined;
|
|
586
|
+
key?: string | undefined;
|
|
587
|
+
phase?: string | undefined;
|
|
588
|
+
expiresAt?: string | undefined;
|
|
589
|
+
targetAuthScope?: string | undefined;
|
|
590
|
+
authorizationURL?: string | undefined;
|
|
591
|
+
canResume?: boolean | undefined;
|
|
592
|
+
}>>>;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
flow?: {
|
|
595
|
+
id?: string | undefined;
|
|
596
|
+
key?: string | undefined;
|
|
597
|
+
phase?: string | undefined;
|
|
598
|
+
expiresAt?: string | undefined;
|
|
599
|
+
targetAuthScope?: string | undefined;
|
|
600
|
+
authorizationURL?: string | undefined;
|
|
601
|
+
canResume?: boolean | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
}, {
|
|
604
|
+
flow?: {
|
|
605
|
+
id?: string | undefined;
|
|
606
|
+
key?: string | undefined;
|
|
607
|
+
phase?: string | undefined;
|
|
608
|
+
expiresAt?: string | undefined;
|
|
609
|
+
targetAuthScope?: string | undefined;
|
|
610
|
+
authorizationURL?: string | undefined;
|
|
611
|
+
canResume?: boolean | undefined;
|
|
612
|
+
} | undefined;
|
|
613
|
+
}>;
|
|
614
|
+
export type OAuthFlowResultProto = z.infer<typeof OAuthFlowResultProtoSchema>;
|
|
460
615
|
//# sourceMappingURL=native.zod.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.zod.d.ts","sourceRoot":"","sources":["../../../../../../src/gen/channel/app/sdk/v1/native.zod.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gCAAgC
|
|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,CAAC;AAEpF,eAAO,MAAM,gCAAgC;;;;;;;;;EAGG,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,gCAAgC;;;;;;EAEG,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEG,CAAC;AAC3C,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -70,4 +70,26 @@ export const GetAppNotebookVersionsResultProtoSchema = z.object({
|
|
|
70
70
|
errorMessage: z.string().optional(),
|
|
71
71
|
notebooks: z.array(z.lazy(() => AppNotebookVersionProtoSchema)).optional(),
|
|
72
72
|
});
|
|
73
|
+
export const OAuthFlowProtoSchema = z.object({
|
|
74
|
+
id: z.string().optional(),
|
|
75
|
+
phase: z.string().optional(),
|
|
76
|
+
expiresAt: z.string().optional(),
|
|
77
|
+
key: z.string().optional(),
|
|
78
|
+
targetAuthScope: z.string().optional(),
|
|
79
|
+
authorizationURL: z.string().optional(),
|
|
80
|
+
canResume: z.boolean().optional(),
|
|
81
|
+
});
|
|
82
|
+
export const GetOAuthFlowParamsProtoSchema = z.object({
|
|
83
|
+
flowId: z.string().optional(),
|
|
84
|
+
});
|
|
85
|
+
export const ResumeOAuthFlowParamsProtoSchema = z.object({
|
|
86
|
+
flowId: z.string().optional(),
|
|
87
|
+
resumeNonce: z.string().optional(),
|
|
88
|
+
});
|
|
89
|
+
export const CancelOAuthFlowParamsProtoSchema = z.object({
|
|
90
|
+
flowId: z.string().optional(),
|
|
91
|
+
});
|
|
92
|
+
export const OAuthFlowResultProtoSchema = z.object({
|
|
93
|
+
flow: z.lazy(() => OAuthFlowProtoSchema).optional(),
|
|
94
|
+
});
|
|
73
95
|
//# sourceMappingURL=native.zod.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.zod.js","sourceRoot":"","sources":["../../../../../../src/gen/channel/app/sdk/v1/native.zod.ts"],"names":[],"mappings":"AAAA,iEAAiE;AAEjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1B,OAAO,EAAE,0BAA0B,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAA+C,CAAC;AAGjD,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1B,KAAK,EAAE,wBAAwB,CAAC,QAAQ,EAAE;CAC3C,CAAgD,CAAC;AAGlD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAA0C,CAAC;AAG5C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,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AC,QAAQ,EAAE;CACpD,CAAyC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** The platform supplies this signed target to system-invoked OAuth flow hooks. */
|
|
3
|
+
export declare const OAuthFlowContextSchema: z.ZodObject<{
|
|
4
|
+
appId: z.ZodString;
|
|
5
|
+
channelId: z.ZodString;
|
|
6
|
+
managerId: z.ZodString;
|
|
7
|
+
authScope: z.ZodEnum<["channel", "manager"]>;
|
|
8
|
+
key: z.ZodOptional<z.ZodString>;
|
|
9
|
+
targetManagerId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, "strict", z.ZodTypeAny, {
|
|
11
|
+
channelId: string;
|
|
12
|
+
appId: string;
|
|
13
|
+
managerId: string;
|
|
14
|
+
authScope: "manager" | "channel";
|
|
15
|
+
key?: string | undefined;
|
|
16
|
+
targetManagerId?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
channelId: string;
|
|
19
|
+
appId: string;
|
|
20
|
+
managerId: string;
|
|
21
|
+
authScope: "manager" | "channel";
|
|
22
|
+
key?: string | undefined;
|
|
23
|
+
targetManagerId?: string | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/schemas/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,mFAAmF;AACnF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** The platform supplies this signed target to system-invoked OAuth flow hooks. */
|
|
3
|
+
export const OAuthFlowContextSchema = z
|
|
4
|
+
.object({
|
|
5
|
+
appId: z.string().min(1),
|
|
6
|
+
channelId: z.string().min(1),
|
|
7
|
+
managerId: z.string().min(1),
|
|
8
|
+
authScope: z.enum(["channel", "manager"]),
|
|
9
|
+
key: z.string().optional(),
|
|
10
|
+
targetManagerId: z.string().optional(),
|
|
11
|
+
})
|
|
12
|
+
.strict();
|
|
13
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/schemas/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,mFAAmF;AACnF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,aAAa,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,cAAc,aAAa,CAAC"}
|
package/dist/schemas/native.d.ts
CHANGED
|
@@ -477,7 +477,160 @@ export declare const NativeListActiveOAuthManagerTargetsResultSchema: z.ZodObjec
|
|
|
477
477
|
}[];
|
|
478
478
|
nextCursor?: string | undefined;
|
|
479
479
|
}>;
|
|
480
|
+
export declare const NativeOAuthFlowSchema: z.ZodObject<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
phase: z.ZodEnum<["before", "oauth", "after", "completed", "canceled"]>;
|
|
483
|
+
expiresAt: z.ZodString;
|
|
484
|
+
key: z.ZodOptional<z.ZodString>;
|
|
485
|
+
targetAuthScope: z.ZodOptional<z.ZodString>;
|
|
486
|
+
authorizationURL: z.ZodOptional<z.ZodString>;
|
|
487
|
+
canResume: z.ZodOptional<z.ZodBoolean>;
|
|
488
|
+
}, "strict", z.ZodTypeAny, {
|
|
489
|
+
id: string;
|
|
490
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
491
|
+
expiresAt: string;
|
|
492
|
+
key?: string | undefined;
|
|
493
|
+
targetAuthScope?: string | undefined;
|
|
494
|
+
authorizationURL?: string | undefined;
|
|
495
|
+
canResume?: boolean | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
id: string;
|
|
498
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
499
|
+
expiresAt: string;
|
|
500
|
+
key?: string | undefined;
|
|
501
|
+
targetAuthScope?: string | undefined;
|
|
502
|
+
authorizationURL?: string | undefined;
|
|
503
|
+
canResume?: boolean | undefined;
|
|
504
|
+
}>;
|
|
505
|
+
export declare const NativeGetOAuthFlowParamsSchema: z.ZodObject<{
|
|
506
|
+
flowId: z.ZodString;
|
|
507
|
+
}, "strict", z.ZodTypeAny, {
|
|
508
|
+
flowId: string;
|
|
509
|
+
}, {
|
|
510
|
+
flowId: string;
|
|
511
|
+
}>;
|
|
512
|
+
export declare const NativeResumeOAuthFlowParamsSchema: z.ZodObject<{
|
|
513
|
+
flowId: z.ZodString;
|
|
514
|
+
resumeNonce: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, "strict", z.ZodTypeAny, {
|
|
516
|
+
flowId: string;
|
|
517
|
+
resumeNonce?: string | undefined;
|
|
518
|
+
}, {
|
|
519
|
+
flowId: string;
|
|
520
|
+
resumeNonce?: string | undefined;
|
|
521
|
+
}>;
|
|
522
|
+
export declare const NativeCancelOAuthFlowParamsSchema: z.ZodObject<{
|
|
523
|
+
flowId: z.ZodString;
|
|
524
|
+
}, "strict", z.ZodTypeAny, {
|
|
525
|
+
flowId: string;
|
|
526
|
+
}, {
|
|
527
|
+
flowId: string;
|
|
528
|
+
}>;
|
|
529
|
+
export declare const NativeOAuthFlowResultSchema: z.ZodObject<{
|
|
530
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
phase: z.ZodEnum<["before", "oauth", "after", "completed", "canceled"]>;
|
|
533
|
+
expiresAt: z.ZodString;
|
|
534
|
+
key: z.ZodOptional<z.ZodString>;
|
|
535
|
+
targetAuthScope: z.ZodOptional<z.ZodString>;
|
|
536
|
+
authorizationURL: z.ZodOptional<z.ZodString>;
|
|
537
|
+
canResume: z.ZodOptional<z.ZodBoolean>;
|
|
538
|
+
}, "strict", z.ZodTypeAny, {
|
|
539
|
+
id: string;
|
|
540
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
541
|
+
expiresAt: string;
|
|
542
|
+
key?: string | undefined;
|
|
543
|
+
targetAuthScope?: string | undefined;
|
|
544
|
+
authorizationURL?: string | undefined;
|
|
545
|
+
canResume?: boolean | undefined;
|
|
546
|
+
}, {
|
|
547
|
+
id: string;
|
|
548
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
549
|
+
expiresAt: string;
|
|
550
|
+
key?: string | undefined;
|
|
551
|
+
targetAuthScope?: string | undefined;
|
|
552
|
+
authorizationURL?: string | undefined;
|
|
553
|
+
canResume?: boolean | undefined;
|
|
554
|
+
}>>;
|
|
555
|
+
}, "strict", z.ZodTypeAny, {
|
|
556
|
+
flow?: {
|
|
557
|
+
id: string;
|
|
558
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
559
|
+
expiresAt: string;
|
|
560
|
+
key?: string | undefined;
|
|
561
|
+
targetAuthScope?: string | undefined;
|
|
562
|
+
authorizationURL?: string | undefined;
|
|
563
|
+
canResume?: boolean | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
}, {
|
|
566
|
+
flow?: {
|
|
567
|
+
id: string;
|
|
568
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
569
|
+
expiresAt: string;
|
|
570
|
+
key?: string | undefined;
|
|
571
|
+
targetAuthScope?: string | undefined;
|
|
572
|
+
authorizationURL?: string | undefined;
|
|
573
|
+
canResume?: boolean | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
}>;
|
|
480
576
|
export declare const nativeFunctionSchemaDefinitions: ({
|
|
577
|
+
name: string;
|
|
578
|
+
description: string;
|
|
579
|
+
input: z.ZodObject<{
|
|
580
|
+
flowId: z.ZodString;
|
|
581
|
+
}, "strict", z.ZodTypeAny, {
|
|
582
|
+
flowId: string;
|
|
583
|
+
}, {
|
|
584
|
+
flowId: string;
|
|
585
|
+
}>;
|
|
586
|
+
output: z.ZodObject<{
|
|
587
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
588
|
+
id: z.ZodString;
|
|
589
|
+
phase: z.ZodEnum<["before", "oauth", "after", "completed", "canceled"]>;
|
|
590
|
+
expiresAt: z.ZodString;
|
|
591
|
+
key: z.ZodOptional<z.ZodString>;
|
|
592
|
+
targetAuthScope: z.ZodOptional<z.ZodString>;
|
|
593
|
+
authorizationURL: z.ZodOptional<z.ZodString>;
|
|
594
|
+
canResume: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
}, "strict", z.ZodTypeAny, {
|
|
596
|
+
id: string;
|
|
597
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
598
|
+
expiresAt: string;
|
|
599
|
+
key?: string | undefined;
|
|
600
|
+
targetAuthScope?: string | undefined;
|
|
601
|
+
authorizationURL?: string | undefined;
|
|
602
|
+
canResume?: boolean | undefined;
|
|
603
|
+
}, {
|
|
604
|
+
id: string;
|
|
605
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
606
|
+
expiresAt: string;
|
|
607
|
+
key?: string | undefined;
|
|
608
|
+
targetAuthScope?: string | undefined;
|
|
609
|
+
authorizationURL?: string | undefined;
|
|
610
|
+
canResume?: boolean | undefined;
|
|
611
|
+
}>>;
|
|
612
|
+
}, "strict", z.ZodTypeAny, {
|
|
613
|
+
flow?: {
|
|
614
|
+
id: string;
|
|
615
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
616
|
+
expiresAt: string;
|
|
617
|
+
key?: string | undefined;
|
|
618
|
+
targetAuthScope?: string | undefined;
|
|
619
|
+
authorizationURL?: string | undefined;
|
|
620
|
+
canResume?: boolean | undefined;
|
|
621
|
+
} | undefined;
|
|
622
|
+
}, {
|
|
623
|
+
flow?: {
|
|
624
|
+
id: string;
|
|
625
|
+
phase: "oauth" | "before" | "after" | "completed" | "canceled";
|
|
626
|
+
expiresAt: string;
|
|
627
|
+
key?: string | undefined;
|
|
628
|
+
targetAuthScope?: string | undefined;
|
|
629
|
+
authorizationURL?: string | undefined;
|
|
630
|
+
canResume?: boolean | undefined;
|
|
631
|
+
} | undefined;
|
|
632
|
+
}>;
|
|
633
|
+
} | {
|
|
481
634
|
name: string;
|
|
482
635
|
description: string;
|
|
483
636
|
input: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.d.ts","sourceRoot":"","sources":["../../src/schemas/native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAK3D,eAAO,MAAM,wBAAwB,mQAUnC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;EAMzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK/C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;EAE/C,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrD,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;EAIlD,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElD,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyDA,CAAC;AAE7C,wBAAgB,wBAAwB,IAAI,cAAc,EAAE,CAO3D"}
|
package/dist/schemas/native.js
CHANGED
|
@@ -96,7 +96,49 @@ export const NativeListActiveOAuthManagerTargetsResultSchema = z
|
|
|
96
96
|
nextCursor: NativeNonEmptyStringSchema.optional(),
|
|
97
97
|
})
|
|
98
98
|
.strict();
|
|
99
|
+
export const NativeOAuthFlowSchema = z
|
|
100
|
+
.object({
|
|
101
|
+
id: NativeNonEmptyStringSchema,
|
|
102
|
+
phase: z.enum(["before", "oauth", "after", "completed", "canceled"]),
|
|
103
|
+
expiresAt: z.string().datetime({ offset: true }),
|
|
104
|
+
key: z.string().optional(),
|
|
105
|
+
targetAuthScope: z.string().optional(),
|
|
106
|
+
authorizationURL: z.string().url().optional(),
|
|
107
|
+
canResume: z.boolean().optional(),
|
|
108
|
+
})
|
|
109
|
+
.strict();
|
|
110
|
+
export const NativeGetOAuthFlowParamsSchema = z
|
|
111
|
+
.object({ flowId: NativeNonEmptyStringSchema })
|
|
112
|
+
.strict();
|
|
113
|
+
export const NativeResumeOAuthFlowParamsSchema = z
|
|
114
|
+
.object({
|
|
115
|
+
flowId: NativeNonEmptyStringSchema,
|
|
116
|
+
resumeNonce: NativeNonEmptyStringSchema.optional(),
|
|
117
|
+
})
|
|
118
|
+
.strict();
|
|
119
|
+
export const NativeCancelOAuthFlowParamsSchema = NativeGetOAuthFlowParamsSchema;
|
|
120
|
+
export const NativeOAuthFlowResultSchema = z
|
|
121
|
+
.object({ flow: NativeOAuthFlowSchema.optional() })
|
|
122
|
+
.strict();
|
|
99
123
|
export const nativeFunctionSchemaDefinitions = [
|
|
124
|
+
{
|
|
125
|
+
name: "getOAuthFlow",
|
|
126
|
+
description: "Read an OAuth flow as its initiating manager through the authenticated WAM session.",
|
|
127
|
+
input: NativeGetOAuthFlowParamsSchema,
|
|
128
|
+
output: NativeOAuthFlowResultSchema,
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "resumeOAuthFlow",
|
|
132
|
+
description: "Resume an OAuth flow as its initiating manager and recheck the current app hook.",
|
|
133
|
+
input: NativeResumeOAuthFlowParamsSchema,
|
|
134
|
+
output: NativeOAuthFlowResultSchema,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "cancelOAuthFlow",
|
|
138
|
+
description: "Cancel an OAuth flow as its initiating manager without revoking a saved credential.",
|
|
139
|
+
input: NativeCancelOAuthFlowParamsSchema,
|
|
140
|
+
output: NativeOAuthFlowResultSchema,
|
|
141
|
+
},
|
|
100
142
|
{
|
|
101
143
|
name: "createAppDataTable",
|
|
102
144
|
description: "Create an app-owned logical data table.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.js","sourceRoot":"","sources":["../../src/schemas/native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAErD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,2BAA2B;IAC3B,uBAAuB;IACvB,oBAAoB;IACpB,wBAAwB;IACxB,8BAA8B;IAC9B,8BAA8B;IAC9B,sBAAsB;IACtB,sBAAsB;IACtB,8BAA8B;CAC/B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,GAAG,EAAE,0BAA0B;IAC/B,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE,wBAAwB;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE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