@onkernel/sdk 0.107.0 → 0.109.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/lib/config-registry-wait.d.mts +12 -0
  3. package/lib/config-registry-wait.d.mts.map +1 -0
  4. package/lib/config-registry-wait.d.ts +12 -0
  5. package/lib/config-registry-wait.d.ts.map +1 -0
  6. package/lib/config-registry-wait.js +99 -0
  7. package/lib/config-registry-wait.js.map +1 -0
  8. package/lib/config-registry-wait.mjs +96 -0
  9. package/lib/config-registry-wait.mjs.map +1 -0
  10. package/package.json +1 -1
  11. package/resources/config-registry/analyses.d.mts +11 -2
  12. package/resources/config-registry/analyses.d.mts.map +1 -1
  13. package/resources/config-registry/analyses.d.ts +11 -2
  14. package/resources/config-registry/analyses.d.ts.map +1 -1
  15. package/resources/config-registry/analyses.js +11 -0
  16. package/resources/config-registry/analyses.js.map +1 -1
  17. package/resources/config-registry/analyses.mjs +11 -0
  18. package/resources/config-registry/analyses.mjs.map +1 -1
  19. package/resources/config-registry/index.d.mts +1 -1
  20. package/resources/config-registry/index.d.mts.map +1 -1
  21. package/resources/config-registry/index.d.ts +1 -1
  22. package/resources/config-registry/index.d.ts.map +1 -1
  23. package/resources/config-registry/index.js.map +1 -1
  24. package/resources/config-registry/index.mjs.map +1 -1
  25. package/resources/organization/limits.d.mts +13 -1
  26. package/resources/organization/limits.d.mts.map +1 -1
  27. package/resources/organization/limits.d.ts +13 -1
  28. package/resources/organization/limits.d.ts.map +1 -1
  29. package/resources/organization/limits.js +2 -1
  30. package/resources/organization/limits.js.map +1 -1
  31. package/resources/organization/limits.mjs +2 -1
  32. package/resources/organization/limits.mjs.map +1 -1
  33. package/resources/vaults/items.d.mts +29 -11
  34. package/resources/vaults/items.d.mts.map +1 -1
  35. package/resources/vaults/items.d.ts +29 -11
  36. package/resources/vaults/items.d.ts.map +1 -1
  37. package/src/lib/config-registry-wait.ts +133 -0
  38. package/src/resources/config-registry/analyses.ts +23 -2
  39. package/src/resources/config-registry/index.ts +1 -1
  40. package/src/resources/organization/limits.ts +15 -1
  41. package/src/resources/vaults/items.ts +31 -7
  42. package/src/version.ts +1 -1
  43. package/version.d.mts +1 -1
  44. package/version.d.ts +1 -1
  45. package/version.js +1 -1
  46. package/version.mjs +1 -1
@@ -429,8 +429,9 @@ export namespace CardVaultItemSpec {
429
429
  wallet: string;
430
430
 
431
431
  /**
432
- * AgentCard vaulted card to pay with. Omitted, the cardholder picks on the
433
- * approval screen.
432
+ * Opaque card ID returned by AgentCard for a card in the connected wallet. Pass it
433
+ * through unchanged without assuming a prefix or format. Omitted, the cardholder
434
+ * picks on the approval screen.
434
435
  */
435
436
  card_id?: string;
436
437
  }
@@ -601,6 +602,11 @@ export interface CredentialCollectionAction {
601
602
  }
602
603
 
603
604
  export interface CredentialVaultFieldDefinition {
605
+ /**
606
+ * Stable field name used to key values, updates, and browser fills.
607
+ */
608
+ name: string;
609
+
604
610
  /**
605
611
  * Whether a nonempty value is required for readiness and form submission.
606
612
  */
@@ -627,6 +633,11 @@ export interface CredentialVaultFieldDefinition {
627
633
  }
628
634
 
629
635
  export interface CredentialVaultFieldInput {
636
+ /**
637
+ * Unique stable field name used to key values, updates, and browser fills.
638
+ */
639
+ name: string;
640
+
630
641
  /**
631
642
  * Text, email, and password have form inputs; totp does not and is omitted from
632
643
  * both Kernel-hosted and customer React forms. Password and totp must be
@@ -795,7 +806,9 @@ export interface CredentialVaultItemRequest {
795
806
  /**
796
807
  * Credential fields are for login and other non-payment credentials. Do not store,
797
808
  * collect, or fill credit card data in credential items. Use wallet and card item
798
- * types for credit cards and payment checkout instead.
809
+ * types for credit cards and payment checkout instead. Field order is preserved in
810
+ * the user-facing collection form, so list fields in the same top-to-bottom order
811
+ * as the website.
799
812
  */
800
813
  spec: CredentialVaultItemSpecInput;
801
814
 
@@ -803,7 +816,10 @@ export interface CredentialVaultItemRequest {
803
816
  }
804
817
 
805
818
  export interface CredentialVaultItemSpec {
806
- fields: { [key: string]: CredentialVaultFieldDefinition };
819
+ /**
820
+ * Ordered field definitions rendered in this order by credential collection forms.
821
+ */
822
+ fields: Array<CredentialVaultFieldDefinition>;
807
823
 
808
824
  /**
809
825
  * Recognizable site or service name displayed verbatim as the form title, without
@@ -816,10 +832,16 @@ export interface CredentialVaultItemSpec {
816
832
  /**
817
833
  * Credential fields are for login and other non-payment credentials. Do not store,
818
834
  * collect, or fill credit card data in credential items. Use wallet and card item
819
- * types for credit cards and payment checkout instead.
835
+ * types for credit cards and payment checkout instead. Field order is preserved in
836
+ * the user-facing collection form, so list fields in the same top-to-bottom order
837
+ * as the website.
820
838
  */
821
839
  export interface CredentialVaultItemSpecInput {
822
- fields: { [key: string]: CredentialVaultFieldInput };
840
+ /**
841
+ * Ordered field definitions. Use the website's top-to-bottom field order; the
842
+ * collection form renders this order unchanged.
843
+ */
844
+ fields: Array<CredentialVaultFieldInput>;
823
845
 
824
846
  /**
825
847
  * The site's recognizable display name, used verbatim as the user-facing form
@@ -2005,7 +2027,9 @@ export declare namespace ItemUpsertParams {
2005
2027
  /**
2006
2028
  * Body param: Credential fields are for login and other non-payment credentials.
2007
2029
  * Do not store, collect, or fill credit card data in credential items. Use wallet
2008
- * and card item types for credit cards and payment checkout instead.
2030
+ * and card item types for credit cards and payment checkout instead. Field order
2031
+ * is preserved in the user-facing collection form, so list fields in the same
2032
+ * top-to-bottom order as the website.
2009
2033
  */
2010
2034
  spec: CredentialVaultItemSpecInput;
2011
2035
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.107.0'; // x-release-please-version
1
+ export const VERSION = '0.109.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.107.0";
1
+ export declare const VERSION = "0.109.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.107.0";
1
+ export declare const VERSION = "0.109.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.107.0'; // x-release-please-version
4
+ exports.VERSION = '0.109.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.107.0'; // x-release-please-version
1
+ export const VERSION = '0.109.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map