@automate.ax/catalog 0.78.0 → 0.79.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/catalog.d.ts CHANGED
@@ -24,6 +24,7 @@ export declare const anthropicService: {
24
24
  readonly id: "api-key";
25
25
  readonly name: "API key";
26
26
  readonly type: "form";
27
+ readonly credentialUrl?: string | undefined;
27
28
  }];
28
29
  readonly description: string;
29
30
  };
@@ -74,6 +75,7 @@ export declare const brevoService: {
74
75
  readonly id: "api-key";
75
76
  readonly name: "API key";
76
77
  readonly type: "form";
78
+ readonly credentialUrl?: string | undefined;
77
79
  }];
78
80
  readonly description: string;
79
81
  };
@@ -92,6 +94,7 @@ export declare const cerebrasService: {
92
94
  readonly id: "api-key";
93
95
  readonly name: "API key";
94
96
  readonly type: "form";
97
+ readonly credentialUrl?: string | undefined;
95
98
  }];
96
99
  readonly description: string;
97
100
  };
@@ -168,6 +171,7 @@ export declare const cohereService: {
168
171
  readonly id: "api-key";
169
172
  readonly name: "API key";
170
173
  readonly type: "form";
174
+ readonly credentialUrl?: string | undefined;
171
175
  }];
172
176
  readonly description: string;
173
177
  };
@@ -186,6 +190,7 @@ export declare const deepinfraService: {
186
190
  readonly id: "api-key";
187
191
  readonly name: "API key";
188
192
  readonly type: "form";
193
+ readonly credentialUrl?: string | undefined;
189
194
  }];
190
195
  readonly description: string;
191
196
  };
@@ -204,6 +209,7 @@ export declare const deepseekService: {
204
209
  readonly id: "api-key";
205
210
  readonly name: "API key";
206
211
  readonly type: "form";
212
+ readonly credentialUrl?: string | undefined;
207
213
  }];
208
214
  readonly description: string;
209
215
  };
@@ -222,6 +228,7 @@ export declare const firecrawlService: {
222
228
  readonly id: "api-key";
223
229
  readonly name: "API key";
224
230
  readonly type: "form";
231
+ readonly credentialUrl?: string | undefined;
225
232
  }];
226
233
  readonly description: string;
227
234
  };
@@ -240,6 +247,7 @@ export declare const fireworksService: {
240
247
  readonly id: "api-key";
241
248
  readonly name: "API key";
242
249
  readonly type: "form";
250
+ readonly credentialUrl?: string | undefined;
243
251
  }];
244
252
  readonly description: string;
245
253
  };
@@ -286,6 +294,7 @@ export declare const googleGenaiService: {
286
294
  readonly id: "api-key";
287
295
  readonly name: "API key";
288
296
  readonly type: "form";
297
+ readonly credentialUrl?: string | undefined;
289
298
  }];
290
299
  readonly description: string;
291
300
  };
@@ -304,6 +313,7 @@ export declare const groqService: {
304
313
  readonly id: "api-key";
305
314
  readonly name: "API key";
306
315
  readonly type: "form";
316
+ readonly credentialUrl?: string | undefined;
307
317
  }];
308
318
  readonly description: string;
309
319
  };
@@ -359,6 +369,7 @@ export declare const millionverifierService: {
359
369
  readonly id: "api-key";
360
370
  readonly name: "API key";
361
371
  readonly type: "form";
372
+ readonly credentialUrl?: string | undefined;
362
373
  }];
363
374
  readonly description: string;
364
375
  };
@@ -377,6 +388,7 @@ export declare const mistralService: {
377
388
  readonly id: "api-key";
378
389
  readonly name: "API key";
379
390
  readonly type: "form";
391
+ readonly credentialUrl?: string | undefined;
380
392
  }];
381
393
  readonly description: string;
382
394
  };
@@ -395,6 +407,7 @@ export declare const openaiService: {
395
407
  readonly id: "api-key";
396
408
  readonly name: "API key";
397
409
  readonly type: "form";
410
+ readonly credentialUrl?: string | undefined;
398
411
  }];
399
412
  readonly description: string;
400
413
  };
@@ -413,6 +426,7 @@ export declare const openrouterService: {
413
426
  readonly id: "api-key";
414
427
  readonly name: "API key";
415
428
  readonly type: "form";
429
+ readonly credentialUrl?: string | undefined;
416
430
  }];
417
431
  readonly description: string;
418
432
  };
@@ -431,6 +445,7 @@ export declare const perplexityService: {
431
445
  readonly id: "api-key";
432
446
  readonly name: "API key";
433
447
  readonly type: "form";
448
+ readonly credentialUrl?: string | undefined;
434
449
  }];
435
450
  readonly description: string;
436
451
  };
@@ -489,6 +504,7 @@ export declare const scrapflyService: {
489
504
  readonly id: "api-key";
490
505
  readonly name: "API key";
491
506
  readonly type: "form";
507
+ readonly credentialUrl?: string | undefined;
492
508
  }];
493
509
  readonly description: string;
494
510
  };
@@ -527,6 +543,7 @@ export declare const togetheraiService: {
527
543
  readonly id: "api-key";
528
544
  readonly name: "API key";
529
545
  readonly type: "form";
546
+ readonly credentialUrl?: string | undefined;
530
547
  }];
531
548
  readonly description: string;
532
549
  };
@@ -555,6 +572,7 @@ export declare const vercelAiGatewayService: {
555
572
  readonly id: "api-key";
556
573
  readonly name: "API key";
557
574
  readonly type: "form";
575
+ readonly credentialUrl?: string | undefined;
558
576
  }];
559
577
  readonly description: string;
560
578
  };
@@ -605,6 +623,7 @@ export declare const xaiService: {
605
623
  readonly id: "api-key";
606
624
  readonly name: "API key";
607
625
  readonly type: "form";
626
+ readonly credentialUrl?: string | undefined;
608
627
  }];
609
628
  readonly description: string;
610
629
  };
@@ -632,6 +651,7 @@ export declare const integrationCatalog: readonly [{
632
651
  readonly id: "api-key";
633
652
  readonly name: "API key";
634
653
  readonly type: "form";
654
+ readonly credentialUrl?: string | undefined;
635
655
  }];
636
656
  readonly description: string;
637
657
  }, {
@@ -679,6 +699,7 @@ export declare const integrationCatalog: readonly [{
679
699
  readonly id: "api-key";
680
700
  readonly name: "API key";
681
701
  readonly type: "form";
702
+ readonly credentialUrl?: string | undefined;
682
703
  }];
683
704
  readonly description: string;
684
705
  }, {
@@ -696,6 +717,7 @@ export declare const integrationCatalog: readonly [{
696
717
  readonly id: "api-key";
697
718
  readonly name: "API key";
698
719
  readonly type: "form";
720
+ readonly credentialUrl?: string | undefined;
699
721
  }];
700
722
  readonly description: string;
701
723
  }, {
@@ -768,6 +790,7 @@ export declare const integrationCatalog: readonly [{
768
790
  readonly id: "api-key";
769
791
  readonly name: "API key";
770
792
  readonly type: "form";
793
+ readonly credentialUrl?: string | undefined;
771
794
  }];
772
795
  readonly description: string;
773
796
  }, {
@@ -785,6 +808,7 @@ export declare const integrationCatalog: readonly [{
785
808
  readonly id: "api-key";
786
809
  readonly name: "API key";
787
810
  readonly type: "form";
811
+ readonly credentialUrl?: string | undefined;
788
812
  }];
789
813
  readonly description: string;
790
814
  }, {
@@ -802,6 +826,7 @@ export declare const integrationCatalog: readonly [{
802
826
  readonly id: "api-key";
803
827
  readonly name: "API key";
804
828
  readonly type: "form";
829
+ readonly credentialUrl?: string | undefined;
805
830
  }];
806
831
  readonly description: string;
807
832
  }, {
@@ -819,6 +844,7 @@ export declare const integrationCatalog: readonly [{
819
844
  readonly id: "api-key";
820
845
  readonly name: "API key";
821
846
  readonly type: "form";
847
+ readonly credentialUrl?: string | undefined;
822
848
  }];
823
849
  readonly description: string;
824
850
  }, {
@@ -836,6 +862,7 @@ export declare const integrationCatalog: readonly [{
836
862
  readonly id: "api-key";
837
863
  readonly name: "API key";
838
864
  readonly type: "form";
865
+ readonly credentialUrl?: string | undefined;
839
866
  }];
840
867
  readonly description: string;
841
868
  }, {
@@ -879,6 +906,7 @@ export declare const integrationCatalog: readonly [{
879
906
  readonly id: "api-key";
880
907
  readonly name: "API key";
881
908
  readonly type: "form";
909
+ readonly credentialUrl?: string | undefined;
882
910
  }];
883
911
  readonly description: string;
884
912
  }, {
@@ -896,6 +924,7 @@ export declare const integrationCatalog: readonly [{
896
924
  readonly id: "api-key";
897
925
  readonly name: "API key";
898
926
  readonly type: "form";
927
+ readonly credentialUrl?: string | undefined;
899
928
  }];
900
929
  readonly description: string;
901
930
  }, {
@@ -947,6 +976,7 @@ export declare const integrationCatalog: readonly [{
947
976
  readonly id: "api-key";
948
977
  readonly name: "API key";
949
978
  readonly type: "form";
979
+ readonly credentialUrl?: string | undefined;
950
980
  }];
951
981
  readonly description: string;
952
982
  }, {
@@ -964,6 +994,7 @@ export declare const integrationCatalog: readonly [{
964
994
  readonly id: "api-key";
965
995
  readonly name: "API key";
966
996
  readonly type: "form";
997
+ readonly credentialUrl?: string | undefined;
967
998
  }];
968
999
  readonly description: string;
969
1000
  }, {
@@ -981,6 +1012,7 @@ export declare const integrationCatalog: readonly [{
981
1012
  readonly id: "api-key";
982
1013
  readonly name: "API key";
983
1014
  readonly type: "form";
1015
+ readonly credentialUrl?: string | undefined;
984
1016
  }];
985
1017
  readonly description: string;
986
1018
  }, {
@@ -998,6 +1030,7 @@ export declare const integrationCatalog: readonly [{
998
1030
  readonly id: "api-key";
999
1031
  readonly name: "API key";
1000
1032
  readonly type: "form";
1033
+ readonly credentialUrl?: string | undefined;
1001
1034
  }];
1002
1035
  readonly description: string;
1003
1036
  }, {
@@ -1015,6 +1048,7 @@ export declare const integrationCatalog: readonly [{
1015
1048
  readonly id: "api-key";
1016
1049
  readonly name: "API key";
1017
1050
  readonly type: "form";
1051
+ readonly credentialUrl?: string | undefined;
1018
1052
  }];
1019
1053
  readonly description: string;
1020
1054
  }, {
@@ -1070,6 +1104,7 @@ export declare const integrationCatalog: readonly [{
1070
1104
  readonly id: "api-key";
1071
1105
  readonly name: "API key";
1072
1106
  readonly type: "form";
1107
+ readonly credentialUrl?: string | undefined;
1073
1108
  }];
1074
1109
  readonly description: string;
1075
1110
  }, {
@@ -1105,6 +1140,7 @@ export declare const integrationCatalog: readonly [{
1105
1140
  readonly id: "api-key";
1106
1141
  readonly name: "API key";
1107
1142
  readonly type: "form";
1143
+ readonly credentialUrl?: string | undefined;
1108
1144
  }];
1109
1145
  readonly description: string;
1110
1146
  }, {
@@ -1131,6 +1167,7 @@ export declare const integrationCatalog: readonly [{
1131
1167
  readonly id: "api-key";
1132
1168
  readonly name: "API key";
1133
1169
  readonly type: "form";
1170
+ readonly credentialUrl?: string | undefined;
1134
1171
  }];
1135
1172
  readonly description: string;
1136
1173
  }, {
@@ -1178,6 +1215,7 @@ export declare const integrationCatalog: readonly [{
1178
1215
  readonly id: "api-key";
1179
1216
  readonly name: "API key";
1180
1217
  readonly type: "form";
1218
+ readonly credentialUrl?: string | undefined;
1181
1219
  }];
1182
1220
  readonly description: string;
1183
1221
  }];
package/dist/catalog.js CHANGED
@@ -218,6 +218,7 @@ export const mistralService = defineApiKeyService({
218
218
  name: "Mistral AI",
219
219
  });
220
220
  export const openaiService = defineApiKeyService({
221
+ credentialUrl: "https://platform.openai.com/api-keys",
221
222
  description: "Connect an OpenAI API key.",
222
223
  id: "openai",
223
224
  name: "OpenAI",
@@ -399,6 +400,9 @@ function defineApiKeyService(service) {
399
400
  return defineIntegrationService({
400
401
  connectionMethods: [
401
402
  {
403
+ ...(service.credentialUrl
404
+ ? { credentialUrl: service.credentialUrl }
405
+ : {}),
402
406
  fields: [
403
407
  {
404
408
  ...API_KEY_FIELD,
package/dist/types.d.ts CHANGED
@@ -27,6 +27,7 @@ interface IntegrationConnectionDefinitionBase {
27
27
  export type IntegrationConnectionDefinition = (IntegrationConnectionDefinitionBase & {
28
28
  type: "redirect";
29
29
  }) | (IntegrationConnectionDefinitionBase & {
30
+ credentialUrl?: string;
30
31
  fields: readonly IntegrationFormField[];
31
32
  type: "form";
32
33
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/catalog.ts CHANGED
@@ -245,6 +245,7 @@ export const mistralService = defineApiKeyService({
245
245
  })
246
246
 
247
247
  export const openaiService = defineApiKeyService({
248
+ credentialUrl: "https://platform.openai.com/api-keys",
248
249
  description: "Connect an OpenAI API key.",
249
250
  id: "openai",
250
251
  name: "OpenAI",
@@ -439,6 +440,7 @@ export function getIntegrationService(
439
440
  }
440
441
 
441
442
  interface ApiKeyServiceDefinition {
443
+ credentialUrl?: string
442
444
  description: string
443
445
  icon?: string
444
446
  name: string
@@ -456,6 +458,9 @@ function defineApiKeyService<const TId extends string>(
456
458
  return defineIntegrationService({
457
459
  connectionMethods: [
458
460
  {
461
+ ...(service.credentialUrl
462
+ ? { credentialUrl: service.credentialUrl }
463
+ : {}),
459
464
  fields: [
460
465
  {
461
466
  ...API_KEY_FIELD,
package/src/types.ts CHANGED
@@ -36,6 +36,7 @@ export type IntegrationConnectionDefinition =
36
36
  type: "redirect"
37
37
  })
38
38
  | (IntegrationConnectionDefinitionBase & {
39
+ credentialUrl?: string
39
40
  fields: readonly IntegrationFormField[]
40
41
  type: "form"
41
42
  })