@gbg/go-core 0.0.1-alpha.17 → 0.0.1-alpha.19
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/LICENSE.md +21 -0
- package/README.md +4 -14
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +20 -5
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/lib/files.d.ts +13 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -1
- package/dist/commonjs/lib/files.js +19 -0
- package/dist/commonjs/lib/files.js.map +1 -1
- package/dist/commonjs/lib/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +8 -4
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +1 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/lib/url.d.ts.map +1 -1
- package/dist/commonjs/lib/url.js +4 -2
- package/dist/commonjs/lib/url.js.map +1 -1
- package/dist/commonjs/models/operations/fetch-interaction.d.ts +70 -10
- package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/fetch-interaction.js +45 -15
- package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/get-journey-state.d.ts +55 -9
- package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-journey-state.js +30 -12
- package/dist/commonjs/models/operations/get-journey-state.js.map +1 -1
- package/dist/commonjs/models/operations/start-journey.d.ts +104 -20
- package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -1
- package/dist/commonjs/models/operations/start-journey.js +49 -13
- package/dist/commonjs/models/operations/start-journey.js.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.d.ts +76 -16
- package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/commonjs/models/operations/submit-interaction.js +29 -11
- package/dist/commonjs/models/operations/submit-interaction.js.map +1 -1
- package/dist/commonjs/models/operations/update-task.d.ts +76 -16
- package/dist/commonjs/models/operations/update-task.d.ts.map +1 -1
- package/dist/commonjs/models/operations/update-task.js +29 -11
- package/dist/commonjs/models/operations/update-task.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +20 -5
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/lib/files.d.ts +13 -0
- package/dist/esm/lib/files.d.ts.map +1 -1
- package/dist/esm/lib/files.js +18 -0
- package/dist/esm/lib/files.js.map +1 -1
- package/dist/esm/lib/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +8 -4
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +1 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/lib/url.d.ts.map +1 -1
- package/dist/esm/lib/url.js +4 -2
- package/dist/esm/lib/url.js.map +1 -1
- package/dist/esm/models/operations/fetch-interaction.d.ts +70 -10
- package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/fetch-interaction.js +41 -12
- package/dist/esm/models/operations/fetch-interaction.js.map +1 -1
- package/dist/esm/models/operations/get-journey-state.d.ts +55 -9
- package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -1
- package/dist/esm/models/operations/get-journey-state.js +28 -11
- package/dist/esm/models/operations/get-journey-state.js.map +1 -1
- package/dist/esm/models/operations/start-journey.d.ts +104 -20
- package/dist/esm/models/operations/start-journey.d.ts.map +1 -1
- package/dist/esm/models/operations/start-journey.js +45 -11
- package/dist/esm/models/operations/start-journey.js.map +1 -1
- package/dist/esm/models/operations/submit-interaction.d.ts +76 -16
- package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -1
- package/dist/esm/models/operations/submit-interaction.js +27 -10
- package/dist/esm/models/operations/submit-interaction.js.map +1 -1
- package/dist/esm/models/operations/update-task.d.ts +76 -16
- package/dist/esm/models/operations/update-task.d.ts.map +1 -1
- package/dist/esm/models/operations/update-task.js +27 -10
- package/dist/esm/models/operations/update-task.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +23 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/matchers.ts +3 -2
- package/src/lib/sdks.ts +7 -5
- package/src/lib/security.ts +1 -2
- package/src/lib/url.ts +16 -14
- package/src/models/operations/fetch-interaction.ts +124 -26
- package/src/models/operations/get-journey-state.ts +98 -24
- package/src/models/operations/start-journey.ts +162 -38
- package/src/models/operations/submit-interaction.ts +120 -33
- package/src/models/operations/update-task.ts +118 -33
- package/.devcontainer/devcontainer.json +0 -45
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -611
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -40
|
@@ -1083,34 +1083,34 @@ export type UpdateTaskBiometric4 = {
|
|
|
1083
1083
|
id?: string | undefined;
|
|
1084
1084
|
type?: string | undefined;
|
|
1085
1085
|
selfieImage: string;
|
|
1086
|
-
|
|
1086
|
+
selfieImageEncryption?: boolean | undefined;
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
1089
1089
|
export type UpdateTaskBiometric3 = {
|
|
1090
1090
|
id?: string | undefined;
|
|
1091
1091
|
type?: string | undefined;
|
|
1092
|
-
|
|
1093
|
-
selfieImageEncryption?: boolean | undefined;
|
|
1092
|
+
faceImage: string;
|
|
1094
1093
|
};
|
|
1095
1094
|
|
|
1096
1095
|
export type UpdateTaskBiometric2 = {
|
|
1097
1096
|
id?: string | undefined;
|
|
1098
1097
|
type?: string | undefined;
|
|
1099
|
-
|
|
1100
|
-
|
|
1098
|
+
selfieImage: string;
|
|
1099
|
+
anchorImage: string;
|
|
1101
1100
|
};
|
|
1102
1101
|
|
|
1103
1102
|
export type UpdateTaskBiometric1 = {
|
|
1104
1103
|
id?: string | undefined;
|
|
1105
1104
|
type?: string | undefined;
|
|
1106
|
-
|
|
1105
|
+
face1Image: string;
|
|
1106
|
+
face2Image: string;
|
|
1107
1107
|
};
|
|
1108
1108
|
|
|
1109
1109
|
export type UpdateTaskBiometricUnion =
|
|
1110
|
-
| UpdateTaskBiometric2
|
|
1111
|
-
| UpdateTaskBiometric4
|
|
1112
1110
|
| UpdateTaskBiometric1
|
|
1113
|
-
|
|
|
1111
|
+
| UpdateTaskBiometric2
|
|
1112
|
+
| UpdateTaskBiometric3
|
|
1113
|
+
| UpdateTaskBiometric4;
|
|
1114
1114
|
|
|
1115
1115
|
export type UpdateTaskUser = {
|
|
1116
1116
|
id: string;
|
|
@@ -1191,19 +1191,63 @@ export type UpdateTaskConsent = {
|
|
|
1191
1191
|
signatory?: string | undefined;
|
|
1192
1192
|
};
|
|
1193
1193
|
|
|
1194
|
+
export type UpdateTaskAccount = {
|
|
1195
|
+
/**
|
|
1196
|
+
* The type of account, e.g. Bank Account, Building Society
|
|
1197
|
+
*/
|
|
1198
|
+
type: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* Account number
|
|
1201
|
+
*/
|
|
1202
|
+
accountNumber: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* UK sort code
|
|
1205
|
+
*/
|
|
1206
|
+
sortCode?: string | undefined;
|
|
1207
|
+
/**
|
|
1208
|
+
* US ABA routing number
|
|
1209
|
+
*/
|
|
1210
|
+
routingNumber?: string | undefined;
|
|
1211
|
+
/**
|
|
1212
|
+
* International Bank Account Number
|
|
1213
|
+
*/
|
|
1214
|
+
iban?: string | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* BIC/SWIFT code
|
|
1217
|
+
*/
|
|
1218
|
+
bic?: string | undefined;
|
|
1219
|
+
/**
|
|
1220
|
+
* Name on the account
|
|
1221
|
+
*/
|
|
1222
|
+
accountHolderName?: string | undefined;
|
|
1223
|
+
/**
|
|
1224
|
+
* Name of the financial institution
|
|
1225
|
+
*/
|
|
1226
|
+
bankName?: string | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* Country the address is in. It must be a valid ISO2 or ISO3 country code
|
|
1229
|
+
*/
|
|
1230
|
+
country?: string | undefined;
|
|
1231
|
+
/**
|
|
1232
|
+
* Account classification, e.g. current, savings
|
|
1233
|
+
*/
|
|
1234
|
+
accountType?: string | undefined;
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1194
1237
|
export type UpdateTaskSubject = {
|
|
1195
1238
|
identity?: UpdateTaskIdentity | undefined;
|
|
1196
1239
|
documents?: Array<UpdateTaskDocument> | undefined;
|
|
1197
1240
|
biometrics?:
|
|
1198
1241
|
| Array<
|
|
1199
|
-
| UpdateTaskBiometric2
|
|
1200
|
-
| UpdateTaskBiometric4
|
|
1201
1242
|
| UpdateTaskBiometric1
|
|
1243
|
+
| UpdateTaskBiometric2
|
|
1202
1244
|
| UpdateTaskBiometric3
|
|
1245
|
+
| UpdateTaskBiometric4
|
|
1203
1246
|
>
|
|
1204
1247
|
| undefined;
|
|
1205
1248
|
sessions?: Array<UpdateTaskSession> | undefined;
|
|
1206
1249
|
consent?: Array<UpdateTaskConsent> | undefined;
|
|
1250
|
+
accounts?: Array<UpdateTaskAccount> | undefined;
|
|
1207
1251
|
uid?: string | undefined;
|
|
1208
1252
|
};
|
|
1209
1253
|
|
|
@@ -3220,7 +3264,7 @@ export type UpdateTaskBiometric4$Outbound = {
|
|
|
3220
3264
|
id?: string | undefined;
|
|
3221
3265
|
type?: string | undefined;
|
|
3222
3266
|
selfieImage: string;
|
|
3223
|
-
|
|
3267
|
+
selfieImageEncryption?: boolean | undefined;
|
|
3224
3268
|
};
|
|
3225
3269
|
|
|
3226
3270
|
/** @internal */
|
|
@@ -3231,7 +3275,7 @@ export const UpdateTaskBiometric4$outboundSchema: z.ZodMiniType<
|
|
|
3231
3275
|
id: z.optional(z.string()),
|
|
3232
3276
|
type: z.optional(z.string()),
|
|
3233
3277
|
selfieImage: z.string(),
|
|
3234
|
-
|
|
3278
|
+
selfieImageEncryption: z.optional(z.boolean()),
|
|
3235
3279
|
});
|
|
3236
3280
|
|
|
3237
3281
|
export function updateTaskBiometric4ToJSON(
|
|
@@ -3246,8 +3290,7 @@ export function updateTaskBiometric4ToJSON(
|
|
|
3246
3290
|
export type UpdateTaskBiometric3$Outbound = {
|
|
3247
3291
|
id?: string | undefined;
|
|
3248
3292
|
type?: string | undefined;
|
|
3249
|
-
|
|
3250
|
-
selfieImageEncryption?: boolean | undefined;
|
|
3293
|
+
faceImage: string;
|
|
3251
3294
|
};
|
|
3252
3295
|
|
|
3253
3296
|
/** @internal */
|
|
@@ -3257,8 +3300,7 @@ export const UpdateTaskBiometric3$outboundSchema: z.ZodMiniType<
|
|
|
3257
3300
|
> = z.object({
|
|
3258
3301
|
id: z.optional(z.string()),
|
|
3259
3302
|
type: z.optional(z.string()),
|
|
3260
|
-
|
|
3261
|
-
selfieImageEncryption: z.optional(z.boolean()),
|
|
3303
|
+
faceImage: z.string(),
|
|
3262
3304
|
});
|
|
3263
3305
|
|
|
3264
3306
|
export function updateTaskBiometric3ToJSON(
|
|
@@ -3273,8 +3315,8 @@ export function updateTaskBiometric3ToJSON(
|
|
|
3273
3315
|
export type UpdateTaskBiometric2$Outbound = {
|
|
3274
3316
|
id?: string | undefined;
|
|
3275
3317
|
type?: string | undefined;
|
|
3276
|
-
|
|
3277
|
-
|
|
3318
|
+
selfieImage: string;
|
|
3319
|
+
anchorImage: string;
|
|
3278
3320
|
};
|
|
3279
3321
|
|
|
3280
3322
|
/** @internal */
|
|
@@ -3284,8 +3326,8 @@ export const UpdateTaskBiometric2$outboundSchema: z.ZodMiniType<
|
|
|
3284
3326
|
> = z.object({
|
|
3285
3327
|
id: z.optional(z.string()),
|
|
3286
3328
|
type: z.optional(z.string()),
|
|
3287
|
-
|
|
3288
|
-
|
|
3329
|
+
selfieImage: z.string(),
|
|
3330
|
+
anchorImage: z.string(),
|
|
3289
3331
|
});
|
|
3290
3332
|
|
|
3291
3333
|
export function updateTaskBiometric2ToJSON(
|
|
@@ -3300,7 +3342,8 @@ export function updateTaskBiometric2ToJSON(
|
|
|
3300
3342
|
export type UpdateTaskBiometric1$Outbound = {
|
|
3301
3343
|
id?: string | undefined;
|
|
3302
3344
|
type?: string | undefined;
|
|
3303
|
-
|
|
3345
|
+
face1Image: string;
|
|
3346
|
+
face2Image: string;
|
|
3304
3347
|
};
|
|
3305
3348
|
|
|
3306
3349
|
/** @internal */
|
|
@@ -3310,7 +3353,8 @@ export const UpdateTaskBiometric1$outboundSchema: z.ZodMiniType<
|
|
|
3310
3353
|
> = z.object({
|
|
3311
3354
|
id: z.optional(z.string()),
|
|
3312
3355
|
type: z.optional(z.string()),
|
|
3313
|
-
|
|
3356
|
+
face1Image: z.string(),
|
|
3357
|
+
face2Image: z.string(),
|
|
3314
3358
|
});
|
|
3315
3359
|
|
|
3316
3360
|
export function updateTaskBiometric1ToJSON(
|
|
@@ -3323,20 +3367,20 @@ export function updateTaskBiometric1ToJSON(
|
|
|
3323
3367
|
|
|
3324
3368
|
/** @internal */
|
|
3325
3369
|
export type UpdateTaskBiometricUnion$Outbound =
|
|
3326
|
-
| UpdateTaskBiometric2$Outbound
|
|
3327
|
-
| UpdateTaskBiometric4$Outbound
|
|
3328
3370
|
| UpdateTaskBiometric1$Outbound
|
|
3329
|
-
|
|
|
3371
|
+
| UpdateTaskBiometric2$Outbound
|
|
3372
|
+
| UpdateTaskBiometric3$Outbound
|
|
3373
|
+
| UpdateTaskBiometric4$Outbound;
|
|
3330
3374
|
|
|
3331
3375
|
/** @internal */
|
|
3332
3376
|
export const UpdateTaskBiometricUnion$outboundSchema: z.ZodMiniType<
|
|
3333
3377
|
UpdateTaskBiometricUnion$Outbound,
|
|
3334
3378
|
UpdateTaskBiometricUnion
|
|
3335
3379
|
> = smartUnion([
|
|
3336
|
-
z.lazy(() => UpdateTaskBiometric2$outboundSchema),
|
|
3337
|
-
z.lazy(() => UpdateTaskBiometric4$outboundSchema),
|
|
3338
3380
|
z.lazy(() => UpdateTaskBiometric1$outboundSchema),
|
|
3381
|
+
z.lazy(() => UpdateTaskBiometric2$outboundSchema),
|
|
3339
3382
|
z.lazy(() => UpdateTaskBiometric3$outboundSchema),
|
|
3383
|
+
z.lazy(() => UpdateTaskBiometric4$outboundSchema),
|
|
3340
3384
|
]);
|
|
3341
3385
|
|
|
3342
3386
|
export function updateTaskBiometricUnionToJSON(
|
|
@@ -3614,20 +3658,60 @@ export function updateTaskConsentToJSON(
|
|
|
3614
3658
|
);
|
|
3615
3659
|
}
|
|
3616
3660
|
|
|
3661
|
+
/** @internal */
|
|
3662
|
+
export type UpdateTaskAccount$Outbound = {
|
|
3663
|
+
type: string;
|
|
3664
|
+
accountNumber: string;
|
|
3665
|
+
sortCode?: string | undefined;
|
|
3666
|
+
routingNumber?: string | undefined;
|
|
3667
|
+
iban?: string | undefined;
|
|
3668
|
+
bic?: string | undefined;
|
|
3669
|
+
accountHolderName?: string | undefined;
|
|
3670
|
+
bankName?: string | undefined;
|
|
3671
|
+
country?: string | undefined;
|
|
3672
|
+
accountType?: string | undefined;
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
/** @internal */
|
|
3676
|
+
export const UpdateTaskAccount$outboundSchema: z.ZodMiniType<
|
|
3677
|
+
UpdateTaskAccount$Outbound,
|
|
3678
|
+
UpdateTaskAccount
|
|
3679
|
+
> = z.object({
|
|
3680
|
+
type: z.string(),
|
|
3681
|
+
accountNumber: z.string(),
|
|
3682
|
+
sortCode: z.optional(z.string()),
|
|
3683
|
+
routingNumber: z.optional(z.string()),
|
|
3684
|
+
iban: z.optional(z.string()),
|
|
3685
|
+
bic: z.optional(z.string()),
|
|
3686
|
+
accountHolderName: z.optional(z.string()),
|
|
3687
|
+
bankName: z.optional(z.string()),
|
|
3688
|
+
country: z.optional(z.string()),
|
|
3689
|
+
accountType: z.optional(z.string()),
|
|
3690
|
+
});
|
|
3691
|
+
|
|
3692
|
+
export function updateTaskAccountToJSON(
|
|
3693
|
+
updateTaskAccount: UpdateTaskAccount,
|
|
3694
|
+
): string {
|
|
3695
|
+
return JSON.stringify(
|
|
3696
|
+
UpdateTaskAccount$outboundSchema.parse(updateTaskAccount),
|
|
3697
|
+
);
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3617
3700
|
/** @internal */
|
|
3618
3701
|
export type UpdateTaskSubject$Outbound = {
|
|
3619
3702
|
identity?: UpdateTaskIdentity$Outbound | undefined;
|
|
3620
3703
|
documents?: Array<UpdateTaskDocument$Outbound> | undefined;
|
|
3621
3704
|
biometrics?:
|
|
3622
3705
|
| Array<
|
|
3623
|
-
| UpdateTaskBiometric2$Outbound
|
|
3624
|
-
| UpdateTaskBiometric4$Outbound
|
|
3625
3706
|
| UpdateTaskBiometric1$Outbound
|
|
3707
|
+
| UpdateTaskBiometric2$Outbound
|
|
3626
3708
|
| UpdateTaskBiometric3$Outbound
|
|
3709
|
+
| UpdateTaskBiometric4$Outbound
|
|
3627
3710
|
>
|
|
3628
3711
|
| undefined;
|
|
3629
3712
|
sessions?: Array<UpdateTaskSession$Outbound> | undefined;
|
|
3630
3713
|
consent?: Array<UpdateTaskConsent$Outbound> | undefined;
|
|
3714
|
+
accounts?: Array<UpdateTaskAccount$Outbound> | undefined;
|
|
3631
3715
|
uid?: string | undefined;
|
|
3632
3716
|
};
|
|
3633
3717
|
|
|
@@ -3642,16 +3726,17 @@ export const UpdateTaskSubject$outboundSchema: z.ZodMiniType<
|
|
|
3642
3726
|
),
|
|
3643
3727
|
biometrics: z.optional(
|
|
3644
3728
|
z.array(smartUnion([
|
|
3645
|
-
z.lazy(() =>
|
|
3729
|
+
z.lazy(() => UpdateTaskBiometric1$outboundSchema),
|
|
3646
3730
|
z.lazy(() =>
|
|
3647
|
-
|
|
3731
|
+
UpdateTaskBiometric2$outboundSchema
|
|
3648
3732
|
),
|
|
3649
|
-
z.lazy(() => UpdateTaskBiometric1$outboundSchema),
|
|
3650
3733
|
z.lazy(() => UpdateTaskBiometric3$outboundSchema),
|
|
3734
|
+
z.lazy(() => UpdateTaskBiometric4$outboundSchema),
|
|
3651
3735
|
])),
|
|
3652
3736
|
),
|
|
3653
3737
|
sessions: z.optional(z.array(z.lazy(() => UpdateTaskSession$outboundSchema))),
|
|
3654
3738
|
consent: z.optional(z.array(z.lazy(() => UpdateTaskConsent$outboundSchema))),
|
|
3739
|
+
accounts: z.optional(z.array(z.lazy(() => UpdateTaskAccount$outboundSchema))),
|
|
3655
3740
|
uid: z.optional(z.string()),
|
|
3656
3741
|
});
|
|
3657
3742
|
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
-
// README at: https://github.com/devcontainers/images/tree/main/src/typescript-node
|
|
3
|
-
{
|
|
4
|
-
"name": "TypeScript",
|
|
5
|
-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
|
|
6
|
-
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
7
|
-
// "features": {},
|
|
8
|
-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
9
|
-
// "forwardPorts": [],
|
|
10
|
-
// Use 'postCreateCommand' to run commands after the container is created.
|
|
11
|
-
"postCreateCommand": "sudo chmod +x ./.devcontainer/setup.sh && ./.devcontainer/setup.sh",
|
|
12
|
-
"customizations": {
|
|
13
|
-
"vscode": {
|
|
14
|
-
"extensions": [
|
|
15
|
-
"ms-vscode.vscode-typescript-tslint-plugin",
|
|
16
|
-
"esbenp.prettier-vscode",
|
|
17
|
-
"github.vscode-pull-request-github"
|
|
18
|
-
],
|
|
19
|
-
"settings": {
|
|
20
|
-
"files.eol": "\n",
|
|
21
|
-
"editor.formatOnSave": true,
|
|
22
|
-
"typescript.tsc.autoDetect": "on",
|
|
23
|
-
"typescript.updateImportsOnFileMove.enabled": "always",
|
|
24
|
-
"typescript.preferences.importModuleSpecifier": "relative",
|
|
25
|
-
"[typescript]": {
|
|
26
|
-
"editor.codeActionsOnSave": {
|
|
27
|
-
"source.organizeImports": true
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"[typescriptreact]": {
|
|
31
|
-
"editor.codeActionsOnSave": {
|
|
32
|
-
"source.organizeImports": true
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"codespaces": {
|
|
38
|
-
"openFiles": [
|
|
39
|
-
".devcontainer/README.md"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
44
|
-
// "remoteUser": "root"
|
|
45
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "mode",
|
|
4
|
-
"validation_regex": "/^(direct|pr)$/.source",
|
|
5
|
-
"validation_message": "Must be `direct` or `pr`"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"name": "speakeasy_version",
|
|
9
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
10
|
-
"validation_message": "Letters, numbers, or .-_ only"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "openapi_doc_location",
|
|
14
|
-
"validation_regex": "/^((https?):\\/\\/([\\w\\-]+\\.)+\\w+(\\/.*)?|[\\w.\\-\\/]+)$/i.source",
|
|
15
|
-
"validation_message": "Must be a valid server URL or file path containing letters, numbers, or .-_/ only"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "openapi_doc_auth_header",
|
|
19
|
-
"validation_regex": "/^[A-Za-z\\-]+$/.source",
|
|
20
|
-
"validation_message": "Letters or - only"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "create_release"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "publish_python",
|
|
27
|
-
"language": "python"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "publish_typescript",
|
|
31
|
-
"language": "typescript"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "publish_java",
|
|
35
|
-
"language": "java"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "publish_php",
|
|
39
|
-
"language": "php"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "publish_ruby",
|
|
43
|
-
"language": "ruby"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "publish_csharp",
|
|
47
|
-
"language": "csharp"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "publish_terraform",
|
|
51
|
-
"language": "terraform"
|
|
52
|
-
}
|
|
53
|
-
]
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "pypi_token",
|
|
4
|
-
"secret_name": "PYPI_TOKEN",
|
|
5
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
6
|
-
"validation_message": "Letters, numbers, or .-_ only",
|
|
7
|
-
"language": "python"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"name": "npm_token",
|
|
11
|
-
"secret_name": "NPM_TOKEN",
|
|
12
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
13
|
-
"validation_message": "Letters, numbers, or .-_ only",
|
|
14
|
-
"language": "typescript"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "packagist_username",
|
|
18
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
19
|
-
"validation_message": "Letters, numbers, or .-_ only",
|
|
20
|
-
"language": "php"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "packagist_token",
|
|
24
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
25
|
-
"validation_message": "Letters, numbers, or .-_ only",
|
|
26
|
-
"language": "php"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "openapi_doc_auth_token",
|
|
30
|
-
"secret_name": "SPEC_TOKEN",
|
|
31
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
32
|
-
"validation_message": "Letters, numbers, or .-_ only"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "speakeasy_api_key",
|
|
36
|
-
"secret_name": "SPEAKEASY_API_KEY",
|
|
37
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
38
|
-
"validation_message": "Letters, numbers, or .-_ only"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "ossrh_username",
|
|
42
|
-
"secret_name": "MAVEN_USERNAME",
|
|
43
|
-
"validation_regex": "/^[\\w.\\-]+$/.source",
|
|
44
|
-
"validation_message": "Letters, numbers, or .-_ only",
|
|
45
|
-
"language": "java"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "ossrh_password",
|
|
49
|
-
"secret_name": "MAVEN_PASSWORD",
|
|
50
|
-
"language": "java"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "java_gpg_secret_key",
|
|
54
|
-
"validation_regex": "/^[\\w.\\-\\t \\r\\n]+$/.source",
|
|
55
|
-
"validation_message": "Letters, numbers, tabs, spaces, newlines, or .-_ only",
|
|
56
|
-
"language": "java"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "java_gpg_passphrase",
|
|
60
|
-
"language": "java"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "terraform_gpg_secret_key",
|
|
64
|
-
"secret_name": "TERRAFORM_GPG_SECRET_KEY",
|
|
65
|
-
"validation_regex": "/^[\\w.\\-\\t \\r\\n]+$/.source",
|
|
66
|
-
"validation_message": "Letters, numbers, tabs, spaces, newlines, or .-_ only",
|
|
67
|
-
"language": "terraform"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "terraform_gpg_passphrase",
|
|
71
|
-
"secret_name": "TERRAFORM_GPG_PASSPHRASE",
|
|
72
|
-
"language": "terraform"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "rubygems_auth_token",
|
|
76
|
-
"secret_name": "RUBYGEMS_AUTH_TOKEN",
|
|
77
|
-
"language": "ruby"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "nuget_api_key",
|
|
81
|
-
"secret_name": "NUGET_API_KEY",
|
|
82
|
-
"language": "csharp"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "slack_webhook_url",
|
|
86
|
-
"secret_name": "SLACK_WEBHOOK_URL"
|
|
87
|
-
}
|
|
88
|
-
]
|