@raytio/types 8.1.0 → 8.2.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/README.md +3 -1
- package/dist/raytio.d.ts +4 -0
- package/dist/schema.d.ts +1 -1
- package/package.json +1 -1
- package/src/raytio.ts +5 -0
- package/src/schema.ts +1 -0
package/README.md
CHANGED
|
@@ -632,9 +632,11 @@ ___
|
|
|
632
632
|
| :------ | :------ | :------ |
|
|
633
633
|
| `children?` | [`Lookup`](#lookup)[] | - |
|
|
634
634
|
| `description?` | `string` | - |
|
|
635
|
+
| `display_order?` | `number` | Sort order within a lookup set. NULL = unordered. |
|
|
635
636
|
| `image_src?` | `string` | Icon source in format `icon:{AntDesignIconName}` (e.g., `icon:CameraOutlined`) |
|
|
636
637
|
| `key` | `string` \| `number` | - |
|
|
637
638
|
| `label?` | `string` \| `number` | Used in Antd Cascader |
|
|
639
|
+
| `lookup_group?` | `string` | Group heading for dropdown lists (e.g., "APAC", "EMEA"). NULL = ungrouped. |
|
|
638
640
|
| `requires_2FA?` | `boolean` | used in AkahuDynamicSection only |
|
|
639
641
|
| `value` | `string` \| `number` | - |
|
|
640
642
|
|
|
@@ -1054,7 +1056,7 @@ ___
|
|
|
1054
1056
|
|
|
1055
1057
|
### SchemaFieldTag
|
|
1056
1058
|
|
|
1057
|
-
Ƭ **SchemaFieldTag**: ``"password"`` \| \`group:${string}\` \| \`upload-group:${string}\` \| ``"display:stars"`` \| ``"display:no_autofill"`` \| ``"display:currency"`` \| ``"display:cascade"`` \| ``"display:survey"`` \| ``"display:quoting"`` \| ``"display:customModal"`` \| ``"display:mask"`` \| \`display:replace:('${string}', '${string}')\` \| ``"display:terms_conditions"`` \| \`display:main\_media:${string}\` \| ``"display:content-block"`` \| ``"display:info"`` \| ``"display:warning"`` \| ``"display:error"`` \| ``"date_component:day"`` \| ``"date_component:month"`` \| ``"date_component:year"`` \| ``"action:allow_copy"`` \| ``"action:allow_unreplace"`` \| ``"action:allow_password_compromise_check"`` \| ``"action:client_upload"`` \| ``"action:hash"`` \| ``"action:require_webauthn"`` \| ``"action:generate_pepper:"`` \| \`action:timeout:${number}\` \| ``"verify:show_if_pending"`` \| ``"special:hide_select_behind_button"`` \| ``"type:capture_geolocation"`` \| ``"type:extract_required"``
|
|
1059
|
+
Ƭ **SchemaFieldTag**: ``"password"`` \| \`group:${string}\` \| \`upload-group:${string}\` \| ``"display:stars"`` \| ``"display:no_autofill"`` \| ``"display:currency"`` \| ``"display:cascade"`` \| ``"display:survey"`` \| ``"display:quoting"`` \| ``"display:customModal"`` \| ``"display:mask"`` \| \`display:replace:('${string}', '${string}')\` \| ``"display:terms_conditions"`` \| \`display:main\_media:${string}\` \| ``"display:content-block"`` \| ``"display:info"`` \| ``"display:warning"`` \| ``"display:error"`` \| ``"date_component:day"`` \| ``"date_component:month"`` \| ``"date_component:year"`` \| ``"action:allow_copy"`` \| ``"action:allow_unreplace"`` \| ``"action:allow_password_compromise_check"`` \| ``"action:client_upload"`` \| ``"action:hash"`` \| ``"action:require_webauthn"`` \| ``"action:generate_pepper:"`` \| \`action:timeout:${number}\` \| \`action:server-search:${string}\` \| ``"verify:show_if_pending"`` \| ``"special:hide_select_behind_button"`` \| ``"type:capture_geolocation"`` \| ``"type:extract_required"``
|
|
1058
1060
|
|
|
1059
1061
|
___
|
|
1060
1062
|
|
package/dist/raytio.d.ts
CHANGED
|
@@ -159,6 +159,10 @@ export type Lookup = {
|
|
|
159
159
|
image_src?: string;
|
|
160
160
|
/** used in AkahuDynamicSection only */
|
|
161
161
|
requires_2FA?: boolean;
|
|
162
|
+
/** Sort order within a lookup set. NULL = unordered. */
|
|
163
|
+
display_order?: number;
|
|
164
|
+
/** Group heading for dropdown lists (e.g., "APAC", "EMEA"). NULL = ungrouped. */
|
|
165
|
+
lookup_group?: string;
|
|
162
166
|
};
|
|
163
167
|
export type AATag = "type:client_only" | "type:share_with_new_user" | "Merchant";
|
|
164
168
|
export type AA = {
|
package/dist/schema.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type ConditionalTags = {
|
|
|
14
14
|
[fieldName: string]: (string | number | boolean)[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export type SchemaFieldTag = "password" | `group:${string}` | `upload-group:${string}` | "display:stars" | "display:no_autofill" | "display:currency" | "display:cascade" | "display:survey" | "display:quoting" | "display:customModal" | "display:mask" | `display:replace:('${string}', '${string}')` | "display:terms_conditions" | `display:main_media:${string}` | "display:content-block" | "display:info" | "display:warning" | "display:error" | "date_component:day" | "date_component:month" | "date_component:year" | "action:allow_copy" | "action:allow_unreplace" | "action:allow_password_compromise_check" | "action:client_upload" | "action:hash" | "action:require_webauthn" | `action:generate_pepper:` | `action:timeout:${number}` | "verify:show_if_pending" | "special:hide_select_behind_button" | "type:capture_geolocation" | "type:extract_required";
|
|
17
|
+
export type SchemaFieldTag = "password" | `group:${string}` | `upload-group:${string}` | "display:stars" | "display:no_autofill" | "display:currency" | "display:cascade" | "display:survey" | "display:quoting" | "display:customModal" | "display:mask" | `display:replace:('${string}', '${string}')` | "display:terms_conditions" | `display:main_media:${string}` | "display:content-block" | "display:info" | "display:warning" | "display:error" | "date_component:day" | "date_component:month" | "date_component:year" | "action:allow_copy" | "action:allow_unreplace" | "action:allow_password_compromise_check" | "action:client_upload" | "action:hash" | "action:require_webauthn" | `action:generate_pepper:` | `action:timeout:${number}` | `action:server-search:${string}` | "verify:show_if_pending" | "special:hide_select_behind_button" | "type:capture_geolocation" | "type:extract_required";
|
|
18
18
|
export type SchemaTag = "action:experimental_pass_object_store_id" | "action:verify" | `action:display_qr_code:${string}:${string}` | `action:display_global_idv_app_qr_code:${string}` | "default_camera:rear" | "default_camera:front" | `oauth2_component:name:${string}` | `oauth2_component:redirect_url:${string}` | `time:${string}:${number}` | `link_to:${string}:${string}` | "display:default_view:edit" | "support_challenge" | "type:merchant" | "type:service_offer" | "type:marketplace" | "type:client_only" | "type:globally_unique_field" | "type:application_object";
|
|
19
19
|
export type SchemaField = {
|
|
20
20
|
/** @deprecated don't use, it's inconsistent */
|
package/package.json
CHANGED
package/src/raytio.ts
CHANGED
|
@@ -207,6 +207,11 @@ export type Lookup = {
|
|
|
207
207
|
|
|
208
208
|
/** used in AkahuDynamicSection only */
|
|
209
209
|
requires_2FA?: boolean;
|
|
210
|
+
|
|
211
|
+
/** Sort order within a lookup set. NULL = unordered. */
|
|
212
|
+
display_order?: number;
|
|
213
|
+
/** Group heading for dropdown lists (e.g., "APAC", "EMEA"). NULL = ungrouped. */
|
|
214
|
+
lookup_group?: string;
|
|
210
215
|
};
|
|
211
216
|
|
|
212
217
|
export type AATag =
|
package/src/schema.ts
CHANGED
|
@@ -62,6 +62,7 @@ export type SchemaFieldTag =
|
|
|
62
62
|
| "action:require_webauthn"
|
|
63
63
|
| `action:generate_pepper:` // generates a pepper length 'n'
|
|
64
64
|
| `action:timeout:${number}` // for a lookup field. Signifies it should expire after 'n' seconds
|
|
65
|
+
| `action:server-search:${string}` // for a lookup field. Enables server-side search on the specified column(s)
|
|
65
66
|
| "verify:show_if_pending"
|
|
66
67
|
| "special:hide_select_behind_button"
|
|
67
68
|
| "type:capture_geolocation" // triggers the wizard's GeoLocationInput field
|