@raytio/types 7.3.0 → 8.1.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 +556 -131
- package/dist/authz.d.ts +4 -0
- package/dist/authz.js +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/merchant.d.ts +20 -0
- package/dist/merchant.js +2 -0
- package/dist/orgs.d.ts +85 -31
- package/dist/raytio.d.ts +137 -55
- package/dist/schema.d.ts +251 -36
- package/dist/subscription.d.ts +90 -0
- package/dist/subscription.js +2 -0
- package/dist/tenant.d.ts +6 -0
- package/dist/tenant.js +2 -0
- package/dist/theme.d.ts +4 -0
- package/dist/verification.d.ts +48 -9
- package/dist/wizard.d.ts +37 -2
- package/package.json +2 -2
- package/src/authz.ts +13 -0
- package/src/index.ts +4 -0
- package/src/merchant.ts +22 -0
- package/src/orgs.ts +103 -31
- package/src/raytio.ts +156 -60
- package/src/schema.ts +308 -38
- package/src/subscription.ts +107 -0
- package/src/tenant.ts +7 -0
- package/src/theme.ts +4 -0
- package/src/verification.ts +60 -9
- package/src/wizard.ts +44 -2
package/README.md
CHANGED
|
@@ -35,35 +35,79 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
35
35
|
### Type Aliases
|
|
36
36
|
|
|
37
37
|
- [AA](#aa)
|
|
38
|
+
- [AAObject](#aaobject)
|
|
38
39
|
- [AATag](#aatag)
|
|
40
|
+
- [AINId](#ainid)
|
|
41
|
+
- [AINKId](#ainkid)
|
|
39
42
|
- [AId](#aid)
|
|
43
|
+
- [AOId](#aoid)
|
|
44
|
+
- [AuthzObjectType](#authzobjecttype)
|
|
45
|
+
- [AuthzRelation](#authzrelation)
|
|
46
|
+
- [AuthzSubjectType](#authzsubjecttype)
|
|
47
|
+
- [BId](#bid)
|
|
48
|
+
- [CId](#cid)
|
|
40
49
|
- [Colors](#colors)
|
|
41
50
|
- [CommonFields](#commonfields)
|
|
42
51
|
- [CommonSchemaAttributes](#commonschemaattributes)
|
|
52
|
+
- [ConditionalTags](#conditionaltags)
|
|
43
53
|
- [ConditionallyRequired](#conditionallyrequired)
|
|
44
54
|
- [ContactPoint](#contactpoint)
|
|
55
|
+
- [ContentUrl](#contenturl)
|
|
45
56
|
- [CustomFonts](#customfonts)
|
|
57
|
+
- [Customer](#customer)
|
|
58
|
+
- [CustomerSite](#customersite)
|
|
59
|
+
- [CustomerSiteUse](#customersiteuse)
|
|
60
|
+
- [CustomerUser](#customeruser)
|
|
46
61
|
- [DataTypes](#datatypes)
|
|
47
62
|
- [Encrypted](#encrypted)
|
|
63
|
+
- [FndI18nEntry](#fndi18nentry)
|
|
48
64
|
- [GId](#gid)
|
|
65
|
+
- [GPMId](#gpmid)
|
|
66
|
+
- [GroupName](#groupname)
|
|
49
67
|
- [IId](#iid)
|
|
50
68
|
- [Instance](#instance)
|
|
69
|
+
- [InstanceNode](#instancenode)
|
|
70
|
+
- [InstanceNodeKey](#instancenodekey)
|
|
51
71
|
- [InstanceWithoutData](#instancewithoutdata)
|
|
52
72
|
- [KId](#kid)
|
|
53
73
|
- [LId](#lid)
|
|
74
|
+
- [LOCId](#locid)
|
|
75
|
+
- [Link](#link)
|
|
54
76
|
- [Location](#location)
|
|
55
77
|
- [Lookup](#lookup)
|
|
78
|
+
- [MId](#mid)
|
|
79
|
+
- [Merchant](#merchant)
|
|
80
|
+
- [MerchantApprovalStatusCode](#merchantapprovalstatuscode)
|
|
81
|
+
- [MerchantClassCode](#merchantclasscode)
|
|
82
|
+
- [MerchantStatusCode](#merchantstatuscode)
|
|
83
|
+
- [MerchantTypeCode](#merchanttypecode)
|
|
56
84
|
- [NId](#nid)
|
|
57
85
|
- [NId2](#nid2)
|
|
58
86
|
- [OId](#oid)
|
|
59
87
|
- [Organization](#organization)
|
|
88
|
+
- [PCId](#pcid)
|
|
60
89
|
- [PId](#pid)
|
|
90
|
+
- [PKId](#pkid)
|
|
91
|
+
- [PLId](#plid)
|
|
92
|
+
- [PLLId](#pllid)
|
|
93
|
+
- [PMId](#pmid)
|
|
94
|
+
- [PRCId](#prcid)
|
|
95
|
+
- [PRid](#prid)
|
|
96
|
+
- [PTId](#ptid)
|
|
61
97
|
- [Party](#party)
|
|
62
98
|
- [PartyMetadata](#partymetadata)
|
|
63
99
|
- [PartySite](#partysite)
|
|
100
|
+
- [PaymentMethod](#paymentmethod)
|
|
101
|
+
- [PaymentProcessor](#paymentprocessor)
|
|
102
|
+
- [Permission](#permission)
|
|
103
|
+
- [PermissionType](#permissiontype)
|
|
104
|
+
- [PriceList](#pricelist)
|
|
105
|
+
- [PriceListLine](#pricelistline)
|
|
64
106
|
- [ProfileObject](#profileobject)
|
|
65
107
|
- [RealVer](#realver)
|
|
66
108
|
- [Relationship](#relationship)
|
|
109
|
+
- [SId](#sid)
|
|
110
|
+
- [SLId](#slid)
|
|
67
111
|
- [Schema](#schema)
|
|
68
112
|
- [SchemaField](#schemafield)
|
|
69
113
|
- [SchemaFieldTag](#schemafieldtag)
|
|
@@ -72,6 +116,11 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
72
116
|
- [SchemaType](#schematype)
|
|
73
117
|
- [ServerSchemaField](#serverschemafield)
|
|
74
118
|
- [SubmissionStatus](#submissionstatus)
|
|
119
|
+
- [Subscription](#subscription)
|
|
120
|
+
- [SubscriptionLine](#subscriptionline)
|
|
121
|
+
- [TId](#tid)
|
|
122
|
+
- [TNTId](#tntid)
|
|
123
|
+
- [Tenant](#tenant)
|
|
75
124
|
- [UId](#uid)
|
|
76
125
|
- [Urn](#urn)
|
|
77
126
|
- [UrnNodeType](#urnnodetype)
|
|
@@ -79,7 +128,9 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
79
128
|
- [Verification](#verification)
|
|
80
129
|
- [VerificationPayload](#verificationpayload)
|
|
81
130
|
- [VerificationProvider](#verificationprovider)
|
|
131
|
+
- [VerificationType](#verificationtype)
|
|
82
132
|
- [WId](#wid)
|
|
133
|
+
- [WSId](#wsid)
|
|
83
134
|
- [Webhook](#webhook)
|
|
84
135
|
- [WebhookStatus](#webhookstatus)
|
|
85
136
|
- [WizardConfig](#wizardconfig)
|
|
@@ -103,19 +154,22 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
103
154
|
| `active?` | `boolean` | - |
|
|
104
155
|
| `auth_list_enabled?` | `boolean` | if true, only specific email addresses can submit the form |
|
|
105
156
|
| `callback_uri?` | `string`[] | - |
|
|
157
|
+
| `client_challenge_type?` | ``"turnstile"`` \| ``null`` | Bot protection challenge type. If set, users must complete a challenge before accessing the wizard. |
|
|
158
|
+
| `customer_id` | [`CId`](#cid) | - |
|
|
106
159
|
| `description?` | `string` | - |
|
|
107
160
|
| `end_date?` | `Date` | - |
|
|
108
161
|
| `key?` | `string` | - |
|
|
109
162
|
| `logout_uri?` | `string`[] | - |
|
|
163
|
+
| `merchant_id?` | [`MId`](#mid) | the id of the associated merchant (replaces service_provider_n_id) |
|
|
110
164
|
| `metadata?` | `unknown` | - |
|
|
111
165
|
| `name` | `string` | - |
|
|
112
|
-
| `org_id
|
|
166
|
+
| `org_id?` | [`OId`](#oid) | the id of the associated organization |
|
|
113
167
|
| `picture?` | [`Urn`](#urn) | **`Deprecated`** see !2101 |
|
|
114
168
|
| `picture_url?` | `string` | Easy to use AA logo url for pasting into emails |
|
|
115
169
|
| `ruleset?` | `unknown` | configuration for the submission rules |
|
|
116
170
|
| `scopes?` | `string`[] | - |
|
|
117
171
|
| `secret?` | `unknown` | - |
|
|
118
|
-
| `service_provider_n_id?` | [`NId`](#nid) |
|
|
172
|
+
| `service_provider_n_id?` | [`NId`](#nid) | **`Deprecated`** use merchant_id instead |
|
|
119
173
|
| `start_date?` | `Date` | Currently Unused Attributes |
|
|
120
174
|
| `tags?` | [`AATag`](#aatag)[] | - |
|
|
121
175
|
| `theme?` | { `colors?`: [`Colors`](#colors) ; `font?`: [`CustomFonts`](#customfonts) } | - |
|
|
@@ -124,9 +178,31 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
124
178
|
|
|
125
179
|
___
|
|
126
180
|
|
|
181
|
+
### AAObject
|
|
182
|
+
|
|
183
|
+
Ƭ **AAObject**: [`CommonFields`](#commonfields)<[`AOId`](#aoid)\> & { `aa_id`: [`AId`](#aid) ; `aai_id`: [`IId`](#iid) ; `labels`: `string`[] ; `properties`: `Json` }
|
|
184
|
+
|
|
185
|
+
___
|
|
186
|
+
|
|
127
187
|
### AATag
|
|
128
188
|
|
|
129
|
-
Ƭ **AATag**: ``"type:client_only"`` \| ``"type:share_with_new_user"`` \|
|
|
189
|
+
Ƭ **AATag**: ``"type:client_only"`` \| ``"type:share_with_new_user"`` \| ``"Merchant"``
|
|
190
|
+
|
|
191
|
+
___
|
|
192
|
+
|
|
193
|
+
### AINId
|
|
194
|
+
|
|
195
|
+
Ƭ **AINId**: `StringWithIdentity`<``"AINId"``\>
|
|
196
|
+
|
|
197
|
+
A `aain_id` is the ID of an Instance Node
|
|
198
|
+
|
|
199
|
+
___
|
|
200
|
+
|
|
201
|
+
### AINKId
|
|
202
|
+
|
|
203
|
+
Ƭ **AINKId**: `StringWithIdentity`<``"AINKId"``\>
|
|
204
|
+
|
|
205
|
+
A `aaink_id` is the ID of an Instance Node Key
|
|
130
206
|
|
|
131
207
|
___
|
|
132
208
|
|
|
@@ -138,6 +214,50 @@ An `a_id` is the ID of an [AA](#aa)
|
|
|
138
214
|
|
|
139
215
|
___
|
|
140
216
|
|
|
217
|
+
### AOId
|
|
218
|
+
|
|
219
|
+
Ƭ **AOId**: `StringWithIdentity`<``"AOId"``\>
|
|
220
|
+
|
|
221
|
+
An `ao_id` is the ID of an [AAObject](#aaobject)
|
|
222
|
+
|
|
223
|
+
___
|
|
224
|
+
|
|
225
|
+
### AuthzObjectType
|
|
226
|
+
|
|
227
|
+
Ƭ **AuthzObjectType**: ``"dsm_node"`` \| ``"dsm_access_application"`` \| ``"dsm_access_application_instance"`` \| ``"dsm_link"`` \| ``"dsm_public_profile"`` \| ``"far_customer"`` \| ``"group"``
|
|
228
|
+
|
|
229
|
+
___
|
|
230
|
+
|
|
231
|
+
### AuthzRelation
|
|
232
|
+
|
|
233
|
+
Ƭ **AuthzRelation**: ``"viewer"`` \| ``"editor"`` \| ``"admin"`` \| ``"owner"`` \| ``"member"``
|
|
234
|
+
|
|
235
|
+
Relation types used by the new authz tuple system
|
|
236
|
+
|
|
237
|
+
___
|
|
238
|
+
|
|
239
|
+
### AuthzSubjectType
|
|
240
|
+
|
|
241
|
+
Ƭ **AuthzSubjectType**: ``"user"`` \| ``"group"``
|
|
242
|
+
|
|
243
|
+
___
|
|
244
|
+
|
|
245
|
+
### BId
|
|
246
|
+
|
|
247
|
+
Ƭ **BId**: `StringWithIdentity`<``"BId"``\>
|
|
248
|
+
|
|
249
|
+
A `b_id` is the ID of a badge definition
|
|
250
|
+
|
|
251
|
+
___
|
|
252
|
+
|
|
253
|
+
### CId
|
|
254
|
+
|
|
255
|
+
Ƭ **CId**: `StringWithIdentity`<``"CId"``\>
|
|
256
|
+
|
|
257
|
+
A `c_id` is the ID of a [Customer](#customer), (will eventually replace org_id)
|
|
258
|
+
|
|
259
|
+
___
|
|
260
|
+
|
|
141
261
|
### Colors
|
|
142
262
|
|
|
143
263
|
Ƭ **Colors**: `Object`
|
|
@@ -146,11 +266,15 @@ ___
|
|
|
146
266
|
|
|
147
267
|
| Name | Type | Description |
|
|
148
268
|
| :------ | :------ | :------ |
|
|
269
|
+
| `altColoursBgLight` | `string` | - |
|
|
270
|
+
| `altColoursBgMedium` | `string` | - |
|
|
149
271
|
| `blank` | `string` | - |
|
|
150
272
|
| `climaterolText` | `string` | - |
|
|
151
273
|
| `climaterolUi` | `string` | - |
|
|
274
|
+
| `elevatedSurface` | `string` | - |
|
|
152
275
|
| `errorRed` | `string` | - |
|
|
153
276
|
| `feelingHugged` | `string` | - |
|
|
277
|
+
| `fillNeutral` | `string` | - |
|
|
154
278
|
| `loadingYellow` | `string` | - |
|
|
155
279
|
| `poolblueText` | `string` | - |
|
|
156
280
|
| `poolblueUi` | `string` | - |
|
|
@@ -201,7 +325,12 @@ easier to mix up the different types of IDs.
|
|
|
201
325
|
| `end_date` | `string` | ISO Date |
|
|
202
326
|
| `id` | `IdType` | - |
|
|
203
327
|
| `metadata` | `Metadata` \| `undefined` | - |
|
|
328
|
+
| `resource_group?` | `string` | - |
|
|
329
|
+
| `resource_name?` | `string` | - |
|
|
330
|
+
| `resource_url?` | `string` | - |
|
|
331
|
+
| `row_version?` | `number` | - |
|
|
204
332
|
| `start_date` | `string` | ISO Date |
|
|
333
|
+
| `tenant_id?` | `string` | - |
|
|
205
334
|
|
|
206
335
|
___
|
|
207
336
|
|
|
@@ -216,30 +345,64 @@ not exported. Attributes that are identical in both client schema & server schem
|
|
|
216
345
|
| Name | Type | Description |
|
|
217
346
|
| :------ | :------ | :------ |
|
|
218
347
|
| `description` | `string` | - |
|
|
219
|
-
| `description_decorator?` | ``"md"`` |
|
|
220
|
-
| `display?` | { `expand?`: { `fields`: `string`[] ; `label`: `string` }[] ; `head_main?`: { `fields`: `string`[] ; `format?`: `string` } ; `head_sub?`: { `fields`: `string`[] ; `format?`: `string` } } | - |
|
|
348
|
+
| `description_decorator?` | ``"md"`` | **`Deprecated`** Markdown is now rendered by default for all descriptions. This property is no longer needed. |
|
|
349
|
+
| `display?` | { `compact_table?`: `boolean` ; `expand?`: { `fields`: `string`[] ; `label`: `string` }[] ; `filters?`: { `name`: `string` ; `operation`: ``"and"`` \| ``"or"`` ; `tokens`: { `operator`: `string` ; `propertyKey`: `string` ; `value`: `string` }[] }[] ; `head_main?`: { `fields`: `string`[] ; `format?`: `string` } ; `head_sub?`: { `fields`: `string`[] ; `format?`: `string` } ; `kanban?`: { `card_fields?`: `string`[] ; `column_field?`: `string` ; `title_field?`: `string` } ; `tabular?`: { `fields`: `string`[] } } | - |
|
|
350
|
+
| `display.compact_table?` | `boolean` | determines if profile pages should display using compacted 'MiniPO' view or deafult view |
|
|
221
351
|
| `display.expand?` | { `fields`: `string`[] ; `label`: `string` }[] | list of fields that should not be shown by default, unless you expand a collpase section which has a name from the label property. Array because there could be multiple expand groups |
|
|
352
|
+
| `display.filters?` | { `name`: `string` ; `operation`: ``"and"`` \| ``"or"`` ; `tokens`: { `operator`: `string` ; `propertyKey`: `string` ; `value`: `string` }[] }[] | Pre-defined filter presets provided by the schema author. These appear as "Default filters" in the admin table UI and cannot be deleted by users (unlike user-saved filters). Each token's `propertyKey` must match a key in `properties`. Valid operators: `=`, `!=`, `:`, `!:`, `>`, `<`, `>=`, `<=` |
|
|
222
353
|
| `display.head_main?` | { `fields`: `string`[] ; `format?`: `string` } | list of fields to be considered the header/name of the PO fields joined with a space unless `format` format string is supplied |
|
|
223
354
|
| `display.head_main.fields` | `string`[] | - |
|
|
224
355
|
| `display.head_main.format?` | `string` | - |
|
|
225
356
|
| `display.head_sub?` | { `fields`: `string`[] ; `format?`: `string` } | list of fields to be considered the subheader of the PO fields joined with a space unless `format` format string is supplied |
|
|
226
357
|
| `display.head_sub.fields` | `string`[] | - |
|
|
227
358
|
| `display.head_sub.format?` | `string` | - |
|
|
359
|
+
| `display.kanban?` | { `card_fields?`: `string`[] ; `column_field?`: `string` ; `title_field?`: `string` } | Kanban board configuration for admin dashboard |
|
|
360
|
+
| `display.kanban.card_fields?` | `string`[] | Additional fields displayed on each card |
|
|
361
|
+
| `display.kanban.column_field?` | `string` | Field that determines which column a card belongs to |
|
|
362
|
+
| `display.kanban.title_field?` | `string` | Field displayed as the card title |
|
|
363
|
+
| `display.tabular?` | { `fields`: `string`[] } | By default, the admin dashboard shows columns for all fields in listed in `head_main`. In rare cases you can use this property to specify a different set of fields to show to admins by default. |
|
|
364
|
+
| `display.tabular.fields` | `string`[] | - |
|
|
228
365
|
| `i18n?` | { `[locale: string]`: { `[fieldNameOrGroupName: string]`: [`ServerSchemaField`](#serverschemafield) & { `title_plural?`: `string` }; `$loading_create_sub_obj`: { `title`: `string` } ; `$loading_delete_pending_ver`: { `title`: `string` } ; `$loading_extract`: { `title`: `string` } ; `$loading_link_to_person`: { `title`: `string` } ; `$loading_long_verification_message`: { `description?`: `string` ; `title?`: `string` } ; `$loading_pending_ver_resubmit`: { `title`: `string` } ; `$loading_permission`: { `title`: `string` } ; `$loading_save`: { `title`: `string` } ; `$loading_update`: { `title`: `string` } ; `$loading_upload`: { `title`: `string` } ; `$loading_verify`: { `title`: `string` } ; `$schema`: { `description?`: `string` ; `title`: `string` ; `title_plural?`: `string` } }; } | - |
|
|
229
|
-
| `onboard_properties?` | { `
|
|
230
|
-
| `onboard_properties.
|
|
231
|
-
| `onboard_properties.
|
|
232
|
-
| `onboard_properties.
|
|
366
|
+
| `onboard_properties?` | { `[namespace: string]`: { `[version: string]`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } \| `undefined`; } \| `object` \| `string`[] \| `string` \| `undefined`; `actions?`: { `[key: string]`: `any`; `create_access_application_link?`: { `properties`: `Record`<`string`, `unknown`\> ; `store_as?`: `string` }[] ; `create_organization?`: { `properties`: `Json` ; `store_as?`: `string` }[] } ; `db?`: { `[version: string]`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } \| `undefined`; `v1?`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; `dsm_access_applications?`: `Omit`<[`AA`](#aa), ``"org_id"`` \| ``"a_id"``\> & { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `org_id?`: `string` }[] ; `dsm_node_relationships?`: { `from`: `string` ; `properties?`: `Record`<`string`, `unknown`\> ; `to`: `string` ; `type`: `string` }[] ; `dsm_nodes?`: { `labels?`: `string`[] ; `properties`: `Record`<`string`, `unknown`\> ; `schema_name?`: [`SchemaName`](#schemaname) }[] ; `xrm_merchants?`: `Record`<`string`, `unknown`\>[] } ; `v2?`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } } ; `execution_order?`: `string`[] ; `return_to?`: `string` } | only the schema used for the onboarding wizard have this property |
|
|
367
|
+
| `onboard_properties.actions?` | { `[key: string]`: `any`; `create_access_application_link?`: { `properties`: `Record`<`string`, `unknown`\> ; `store_as?`: `string` }[] ; `create_organization?`: { `properties`: `Json` ; `store_as?`: `string` }[] } | High-level actions for complex workflows. create_organization: Single object for creating one organization create_access_application_link: Array for creating multiple links |
|
|
368
|
+
| `onboard_properties.actions.create_access_application_link?` | { `properties`: `Record`<`string`, `unknown`\> ; `store_as?`: `string` }[] | Creates access application links (can be multiple) |
|
|
369
|
+
| `onboard_properties.actions.create_organization?` | { `properties`: `Json` ; `store_as?`: `string` }[] | Creates a single organization. Use this instead of legacy 'organizations' array. |
|
|
370
|
+
| `onboard_properties.db?` | { `[version: string]`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } \| `undefined`; `v1?`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; `dsm_access_applications?`: `Omit`<[`AA`](#aa), ``"org_id"`` \| ``"a_id"``\> & { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `org_id?`: `string` }[] ; `dsm_node_relationships?`: { `from`: `string` ; `properties?`: `Record`<`string`, `unknown`\> ; `to`: `string` ; `type`: `string` }[] ; `dsm_nodes?`: { `labels?`: `string`[] ; `properties`: `Record`<`string`, `unknown`\> ; `schema_name?`: [`SchemaName`](#schemaname) }[] ; `xrm_merchants?`: `Record`<`string`, `unknown`\>[] } ; `v2?`: { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } } | Generic API endpoints organized by namespace and version. Structure: `{namespace}.{version}.{endpoint_name}` → `POST /{namespace}/{version}/{endpoint_name}` Examples: - `db.v1.xrm_merchants` → `POST /db/v1/xrm_merchants` - `db.v2.something` → `POST /db/v2/something` - `persist.v2.endpoint` → `POST /persist/v2/endpoint` Any namespace can be used. The `db` namespace is shown below as the primary example. |
|
|
371
|
+
| `onboard_properties.db.v1?` | { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; `dsm_access_applications?`: `Omit`<[`AA`](#aa), ``"org_id"`` \| ``"a_id"``\> & { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `org_id?`: `string` }[] ; `dsm_node_relationships?`: { `from`: `string` ; `properties?`: `Record`<`string`, `unknown`\> ; `to`: `string` ; `type`: `string` }[] ; `dsm_nodes?`: { `labels?`: `string`[] ; `properties`: `Record`<`string`, `unknown`\> ; `schema_name?`: [`SchemaName`](#schemaname) }[] ; `xrm_merchants?`: `Record`<`string`, `unknown`\>[] } | - |
|
|
372
|
+
| `onboard_properties.db.v1.dsm_access_applications?` | `Omit`<[`AA`](#aa), ``"org_id"`` \| ``"a_id"``\> & { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `org_id?`: `string` }[] | Access Applications - POST /db/v1/dsm_access_applications |
|
|
373
|
+
| `onboard_properties.db.v1.dsm_node_relationships?` | { `from`: `string` ; `properties?`: `Record`<`string`, `unknown`\> ; `to`: `string` ; `type`: `string` }[] | Relationships - POST /db/v1/dsm_node_relationships |
|
|
374
|
+
| `onboard_properties.db.v1.dsm_nodes?` | { `labels?`: `string`[] ; `properties`: `Record`<`string`, `unknown`\> ; `schema_name?`: [`SchemaName`](#schemaname) }[] | Profile objects - POST /db/v1/dsm_nodes |
|
|
375
|
+
| `onboard_properties.db.v1.xrm_merchants?` | `Record`<`string`, `unknown`\>[] | Merchants - POST /db/v1/xrm_merchants |
|
|
376
|
+
| `onboard_properties.db.v2?` | { `[endpoint: string]`: `Record`<`string`, `unknown`\>[] \| `undefined`; } | - |
|
|
377
|
+
| `onboard_properties.execution_order?` | `string`[] | Execution order for entity creation. If not specified, uses default order. Examples: ["actions.create_organization", "db.v1.xrm_merchants", "db.v1.dsm_nodes"] |
|
|
233
378
|
| `onboard_properties.return_to?` | `string` | The relative path in the client to redirect to once finished. May include variables |
|
|
234
379
|
| `relationships?` | { `anyOf?`: [`SchemaName`](#schemaname)[] ; `direction`: ``"from"`` ; `multiple?`: `boolean` ; `oneOf?`: ([`SchemaName`](#schemaname) \| ``"instance"``)[] ; `properties?`: { `[fieldName: string]`: [`SchemaField`](#schemafield); } ; `relationship_name`: `string` ; `required?`: `string`[] ; `required_relationship?`: `boolean` ; `type`: `string` }[] | - |
|
|
235
|
-
| `
|
|
380
|
+
| `schema_country_codes?` | `string`[] | Array of 2-character country codes that this schema is available for |
|
|
381
|
+
| `schema_group?` | `string` \| `string`[] | the group that a schema belongs to, such as "passports". This is useful for forms that accept different types of similar documents. Can be a single group (string) or multiple groups (string[]) to allow a schema to appear in multiple lists. |
|
|
236
382
|
| `schema_type?` | [`SchemaType`](#schematype) | - |
|
|
383
|
+
| `search_terms?` | `string`[] | Additional search terms to help users find schemas (e.g., ["license", "passport", "drivers license"]) |
|
|
384
|
+
| `suggest_post_create?` | [`SchemaName`](#schemaname) | if specified, suggests this onboarding scenario after creating a PO of this schema type |
|
|
237
385
|
| `tags?` | [`SchemaTag`](#schematag)[] | - |
|
|
238
386
|
| `title` | `string` | these fields will always exist on schema |
|
|
239
387
|
| `title_plural?` | `string` | plural version of the title |
|
|
240
388
|
|
|
241
389
|
___
|
|
242
390
|
|
|
391
|
+
### ConditionalTags
|
|
392
|
+
|
|
393
|
+
Ƭ **ConditionalTags**: `Object`
|
|
394
|
+
|
|
395
|
+
Schema-level conditional tags, evaluated at runtime based on form values
|
|
396
|
+
|
|
397
|
+
#### Type declaration
|
|
398
|
+
|
|
399
|
+
| Name | Type |
|
|
400
|
+
| :------ | :------ |
|
|
401
|
+
| `if` | { `[fieldName: string]`: (`string` \| `number` \| `boolean`)[]; } |
|
|
402
|
+
| `tags` | `string`[] |
|
|
403
|
+
|
|
404
|
+
___
|
|
405
|
+
|
|
243
406
|
### ConditionallyRequired
|
|
244
407
|
|
|
245
408
|
Ƭ **ConditionallyRequired**: `Object`
|
|
@@ -257,30 +420,15 @@ ___
|
|
|
257
420
|
|
|
258
421
|
### ContactPoint
|
|
259
422
|
|
|
260
|
-
Ƭ **ContactPoint**: `
|
|
423
|
+
Ƭ **ContactPoint**: [`CommonFields`](#commonfields)<[`PCId`](#pcid)\> & { `contact_point_purpose`: `string` ; `contact_point_type`: `string` ; `e164`: `string` \| ``null`` ; `e164_suffix`: `string` \| ``null`` ; `e164_type`: `string` \| ``null`` ; `email_address`: `string` ; `email_address_preferred_format`: `string` ; `party_id`: [`PRid`](#prid) ; `url`: `string` \| ``null`` ; `url_type`: `string` \| ``null`` ; `uuid`: `string` \| `undefined` }
|
|
261
424
|
|
|
262
425
|
A Contact Point for an Organization
|
|
263
426
|
|
|
264
|
-
|
|
427
|
+
___
|
|
265
428
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
| `contact_point_purpose` | `string` |
|
|
270
|
-
| `contact_point_type` | `string` |
|
|
271
|
-
| `e164` | `string` \| ``null`` |
|
|
272
|
-
| `e164_suffix` | `string` \| ``null`` |
|
|
273
|
-
| `e164_type` | `string` \| ``null`` |
|
|
274
|
-
| `email_address` | `string` |
|
|
275
|
-
| `email_address_preferred_format` | `string` |
|
|
276
|
-
| `end_date` | `string` |
|
|
277
|
-
| `id` | `string` |
|
|
278
|
-
| `metadata` | `unknown` |
|
|
279
|
-
| `start_date` | `string` |
|
|
280
|
-
| `to_table` | `string` |
|
|
281
|
-
| `url` | `string` \| ``null`` |
|
|
282
|
-
| `url_type` | `string` \| ``null`` |
|
|
283
|
-
| `uuid` | `string` \| `undefined` |
|
|
429
|
+
### ContentUrl
|
|
430
|
+
|
|
431
|
+
Ƭ **ContentUrl**: \`url:${string}\`
|
|
284
432
|
|
|
285
433
|
___
|
|
286
434
|
|
|
@@ -297,6 +445,34 @@ ___
|
|
|
297
445
|
|
|
298
446
|
___
|
|
299
447
|
|
|
448
|
+
### Customer
|
|
449
|
+
|
|
450
|
+
Ƭ **Customer**: [`CommonFields`](#commonfields)<[`CId`](#cid)\> & { `customer_code`: `string` ; `owner_email`: `string` ; `party_description`: [`OId`](#oid) ; `party_id`: [`PRid`](#prid) ; `permission_type`: [`PermissionType`](#permissiontype) \| ``null`` ; `prm_parties?`: [`Party`](#party) ; `user_email`: `string` ; `user_id`: [`UId`](#uid) \| ``null`` }
|
|
451
|
+
|
|
452
|
+
An organization/customer, directly returned by the API
|
|
453
|
+
|
|
454
|
+
___
|
|
455
|
+
|
|
456
|
+
### CustomerSite
|
|
457
|
+
|
|
458
|
+
Ƭ **CustomerSite**: [`CommonFields`](#commonfields)<`never`\> & { `customer_site_code`: `string` ; `customer_site_status_code`: `string` ; `org_id`: [`OId`](#oid) ; `party_site_id`: `string` }
|
|
459
|
+
|
|
460
|
+
___
|
|
461
|
+
|
|
462
|
+
### CustomerSiteUse
|
|
463
|
+
|
|
464
|
+
Ƭ **CustomerSiteUse**: [`CommonFields`](#commonfields)<`never`\> & { `customer_site_id`: `string` ; `customer_site_use_name`: `string` ; `customer_site_use_purpose_code`: `string` ; `freight_term_code`: `string` \| ``null`` ; `org_id`: [`OId`](#oid) ; `payment_term_id`: `string` ; `price_list_version_id`: `string` \| ``null`` }
|
|
465
|
+
|
|
466
|
+
___
|
|
467
|
+
|
|
468
|
+
### CustomerUser
|
|
469
|
+
|
|
470
|
+
Ƭ **CustomerUser**: [`CommonFields`](#commonfields)<[`CId`](#cid)\> & { `customer_code`: `string` ; `group_name`: `string` \| ``null`` ; `owner_email`: `string` ; `owner_id`: [`UId`](#uid) ; `party_description`: [`OId`](#oid) ; `party_id`: [`PRid`](#prid) ; `party_name`: `string` ; `permission_type`: [`PermissionType`](#permissiontype) \| ``null`` ; `user_email`: `string` \| ``null`` ; `user_id`: [`UId`](#uid) \| ``null`` }
|
|
471
|
+
|
|
472
|
+
Organization Customer / User, Returned directly by the API
|
|
473
|
+
|
|
474
|
+
___
|
|
475
|
+
|
|
300
476
|
### DataTypes
|
|
301
477
|
|
|
302
478
|
Ƭ **DataTypes**: ``"string"`` \| ``"number"`` \| ``"boolean"`` \| ``"object"`` \| ``"integer"`` \| ``"array"`` \| ``"null"``
|
|
@@ -326,6 +502,14 @@ ___
|
|
|
326
502
|
|
|
327
503
|
___
|
|
328
504
|
|
|
505
|
+
### FndI18nEntry
|
|
506
|
+
|
|
507
|
+
Ƭ **FndI18nEntry**: [`CommonFields`](#commonfields)<`never`\> & { `category`: `string` ; `i18n_key`: `string` ; `translations`: { `[locale: string]`: { `description?`: `string` ; `title`: `string` ; `title_plural?`: `string` }; } }
|
|
508
|
+
|
|
509
|
+
An i18n entry from the fnd_i18n_entries API endpoint
|
|
510
|
+
|
|
511
|
+
___
|
|
512
|
+
|
|
329
513
|
### GId
|
|
330
514
|
|
|
331
515
|
Ƭ **GId**: `StringWithIdentity`<``"GId"``\>
|
|
@@ -334,6 +518,22 @@ A `g_id` is the ID of a group
|
|
|
334
518
|
|
|
335
519
|
___
|
|
336
520
|
|
|
521
|
+
### GPMId
|
|
522
|
+
|
|
523
|
+
Ƭ **GPMId**: `StringWithIdentity`<``"GPMId"``\>
|
|
524
|
+
|
|
525
|
+
A `gpm_id` is the ID of a Verification Type
|
|
526
|
+
|
|
527
|
+
___
|
|
528
|
+
|
|
529
|
+
### GroupName
|
|
530
|
+
|
|
531
|
+
Ƭ **GroupName**: `StringWithIdentity`<``"GroupName"``\>
|
|
532
|
+
|
|
533
|
+
a `GroupName` is the unique name of a group, often used instead of [GId](#gid)
|
|
534
|
+
|
|
535
|
+
___
|
|
536
|
+
|
|
337
537
|
### IId
|
|
338
538
|
|
|
339
539
|
Ƭ **IId**: `StringWithIdentity`<``"IId"``\>
|
|
@@ -351,9 +551,21 @@ longer does :( so `@raytio/core` reconstructs this object.
|
|
|
351
551
|
|
|
352
552
|
___
|
|
353
553
|
|
|
554
|
+
### InstanceNode
|
|
555
|
+
|
|
556
|
+
Ƭ **InstanceNode**: [`CommonFields`](#commonfields)<[`AINId`](#ainid)\> & { `aa_id`: [`AId`](#aid) ; `field_list`: `string`[] ; `n_id`: [`NId`](#nid) }
|
|
557
|
+
|
|
558
|
+
___
|
|
559
|
+
|
|
560
|
+
### InstanceNodeKey
|
|
561
|
+
|
|
562
|
+
Ƭ **InstanceNodeKey**: [`CommonFields`](#commonfields)<[`AINKId`](#ainkid)\> & { `aa_id`: [`AId`](#aid) ; `aai_id`: [`IId`](#iid) ; `aain_id`: [`AINId`](#ainid) ; `field_name`: `string` ; `key_data`: `string` }
|
|
563
|
+
|
|
564
|
+
___
|
|
565
|
+
|
|
354
566
|
### InstanceWithoutData
|
|
355
567
|
|
|
356
|
-
Ƭ **InstanceWithoutData**: [`CommonFields`](#commonfields)<[`IId`](#iid), { `message?`: `string` }\> & { `aa_id`: [`AId`](#aid) ; `aack_id`: [`KId`](#kid) ; `confirmation_code`: `string` ; `data_provider_email`: `string` ; `device_id?`: `unknown` ; `instance_version?`: `unknown` ; `platform_footer_html?`: `unknown` ; `previous_state?`: [`SubmissionStatus`](#submissionstatus) ; `reference`: `string` ; `related_offers?`: `unknown` ; `related_service_types?`: `unknown` ; `score?`: `unknown` ; `
|
|
568
|
+
Ƭ **InstanceWithoutData**: [`CommonFields`](#commonfields)<[`IId`](#iid), { `message?`: `string` }\> & { `aa_id`: [`AId`](#aid) ; `aack_id`: [`KId`](#kid) ; `confirmation_code`: `string` ; `data_provider_email`: `string` ; `device_id?`: `unknown` ; `instance_version?`: `unknown` ; `merchant_id`: [`MId`](#mid) ; `platform_footer_html?`: `unknown` ; `previous_state?`: [`SubmissionStatus`](#submissionstatus) ; `reference`: `string` ; `related_offers?`: `unknown` ; `related_service_types?`: `unknown` ; `score?`: `unknown` ; `source_ip?`: `unknown` ; `state`: [`SubmissionStatus`](#submissionstatus) ; `sub_merchant_hash`: `string` ; `thread`: `string` }
|
|
357
569
|
|
|
358
570
|
___
|
|
359
571
|
|
|
@@ -373,42 +585,40 @@ An `l_id` is the ID of any data stored in the KV-Store
|
|
|
373
585
|
|
|
374
586
|
___
|
|
375
587
|
|
|
376
|
-
###
|
|
588
|
+
### LOCId
|
|
377
589
|
|
|
378
|
-
Ƭ **
|
|
590
|
+
Ƭ **LOCId**: `StringWithIdentity`<``"LOCId"``\>
|
|
379
591
|
|
|
380
|
-
|
|
592
|
+
A `loc_id` is the ID of a location
|
|
593
|
+
|
|
594
|
+
___
|
|
595
|
+
|
|
596
|
+
### Link
|
|
597
|
+
|
|
598
|
+
Ƭ **Link**: `Object`
|
|
599
|
+
|
|
600
|
+
Link used for an Access Application, including all additional information
|
|
381
601
|
|
|
382
602
|
#### Type declaration
|
|
383
603
|
|
|
384
604
|
| Name | Type |
|
|
385
605
|
| :------ | :------ |
|
|
386
|
-
| `
|
|
387
|
-
| `
|
|
388
|
-
| `
|
|
389
|
-
| `
|
|
390
|
-
| `
|
|
391
|
-
| `
|
|
392
|
-
| `
|
|
393
|
-
| `
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
| `location_name` | `string` |
|
|
403
|
-
| `metadata` | `unknown` |
|
|
404
|
-
| `postal_code` | `string` |
|
|
405
|
-
| `postal_code_suffix` | `string` \| ``null`` |
|
|
406
|
-
| `premise` | `string` \| ``null`` |
|
|
407
|
-
| `region` | `string` \| ``null`` |
|
|
408
|
-
| `route` | `string` \| ``null`` |
|
|
409
|
-
| `start_date` | `string` |
|
|
410
|
-
| `street_number` | `string` \| ``null`` |
|
|
411
|
-
| `subpremise` | `string` \| ``null`` |
|
|
606
|
+
| `a_id` | [`AId`](#aid) |
|
|
607
|
+
| `code` | [`LId`](#lid) |
|
|
608
|
+
| `details?` | [`AA`](#aa) |
|
|
609
|
+
| `id` | [`NId`](#nid) |
|
|
610
|
+
| `isDefault?` | `boolean` |
|
|
611
|
+
| `name` | `string` |
|
|
612
|
+
| `subtitle` | `string` |
|
|
613
|
+
| `url` | `string` |
|
|
614
|
+
|
|
615
|
+
___
|
|
616
|
+
|
|
617
|
+
### Location
|
|
618
|
+
|
|
619
|
+
Ƭ **Location**: [`CommonFields`](#commonfields)<[`LOCId`](#locid)\> & { `address_line_1`: `string` \| ``null`` ; `address_line_2`: `string` \| ``null`` ; `address_line_3`: `string` \| ``null`` ; `address_line_4`: `string` \| ``null`` ; `administrative_area_level_1`: `string` \| ``null`` ; `administrative_area_level_2`: `string` \| ``null`` ; `administrative_area_level_3`: `string` \| ``null`` ; `city`: `string` \| ``null`` ; `country`: `string` \| ``null`` ; `geolocation`: `string` \| ``null`` ; `geolocation_outline`: `string` \| ``null`` ; `locality`: `string` \| ``null`` ; `location_description`: `string` \| ``null`` ; `location_name`: `string` ; `postal_code`: `string` ; `postal_code_suffix`: `string` \| ``null`` ; `premise`: `string` \| ``null`` ; `region`: `string` \| ``null`` ; `route`: `string` \| ``null`` ; `street_number`: `string` \| ``null`` ; `subpremise`: `string` \| ``null`` }
|
|
620
|
+
|
|
621
|
+
An Organization Location
|
|
412
622
|
|
|
413
623
|
___
|
|
414
624
|
|
|
@@ -422,6 +632,7 @@ ___
|
|
|
422
632
|
| :------ | :------ | :------ |
|
|
423
633
|
| `children?` | [`Lookup`](#lookup)[] | - |
|
|
424
634
|
| `description?` | `string` | - |
|
|
635
|
+
| `image_src?` | `string` | Icon source in format `icon:{AntDesignIconName}` (e.g., `icon:CameraOutlined`) |
|
|
425
636
|
| `key` | `string` \| `number` | - |
|
|
426
637
|
| `label?` | `string` \| `number` | Used in Antd Cascader |
|
|
427
638
|
| `requires_2FA?` | `boolean` | used in AkahuDynamicSection only |
|
|
@@ -429,6 +640,44 @@ ___
|
|
|
429
640
|
|
|
430
641
|
___
|
|
431
642
|
|
|
643
|
+
### MId
|
|
644
|
+
|
|
645
|
+
Ƭ **MId**: `StringWithIdentity`<``"MId"``\>
|
|
646
|
+
|
|
647
|
+
A `m_id` is the ID of a Merchant
|
|
648
|
+
|
|
649
|
+
___
|
|
650
|
+
|
|
651
|
+
### Merchant
|
|
652
|
+
|
|
653
|
+
Ƭ **Merchant**: [`CommonFields`](#commonfields)<[`MId`](#mid)\> & { `merchant_approval_status_code`: [`MerchantApprovalStatusCode`](#merchantapprovalstatuscode) \| ``null`` ; `merchant_class_code`: [`MerchantClassCode`](#merchantclasscode) \| ``null`` ; `merchant_common_name`: `string` \| ``null`` ; `merchant_common_name_i18n`: `Json` \| ``null`` ; `merchant_description`: `string` \| ``null`` ; `merchant_description_i18n`: `Json` \| ``null`` ; `merchant_image_url_logo`: `string` \| ``null`` ; `merchant_image_url_thumbnail`: `string` \| ``null`` ; `merchant_name`: `string` \| ``null`` ; `merchant_name_i18n`: `Json` \| ``null`` ; `merchant_status_code`: [`MerchantStatusCode`](#merchantstatuscode) \| ``null`` ; `merchant_type_code`: [`MerchantTypeCode`](#merchanttypecode) \| ``null`` ; `party_id`: [`PRid`](#prid) }
|
|
654
|
+
|
|
655
|
+
___
|
|
656
|
+
|
|
657
|
+
### MerchantApprovalStatusCode
|
|
658
|
+
|
|
659
|
+
Ƭ **MerchantApprovalStatusCode**: ``"PENDING"`` \| ``"APPROVED"``
|
|
660
|
+
|
|
661
|
+
___
|
|
662
|
+
|
|
663
|
+
### MerchantClassCode
|
|
664
|
+
|
|
665
|
+
Ƭ **MerchantClassCode**: ``"CLASS_1"`` \| ``"CLASS_2"``
|
|
666
|
+
|
|
667
|
+
___
|
|
668
|
+
|
|
669
|
+
### MerchantStatusCode
|
|
670
|
+
|
|
671
|
+
Ƭ **MerchantStatusCode**: ``"ACTIVE"`` \| ``"INACTIVE"``
|
|
672
|
+
|
|
673
|
+
___
|
|
674
|
+
|
|
675
|
+
### MerchantTypeCode
|
|
676
|
+
|
|
677
|
+
Ƭ **MerchantTypeCode**: ``"TYPE_1"`` \| ``"TYPE_2"``
|
|
678
|
+
|
|
679
|
+
___
|
|
680
|
+
|
|
432
681
|
### NId
|
|
433
682
|
|
|
434
683
|
Ƭ **NId**: `StringWithIdentity`<``"NId"``\>
|
|
@@ -451,6 +700,8 @@ ___
|
|
|
451
700
|
|
|
452
701
|
An `o_id` is the ID of an [Organization](#organization)
|
|
453
702
|
|
|
703
|
+
NOTE: Will be deprecated soon. Use CId instead.
|
|
704
|
+
|
|
454
705
|
___
|
|
455
706
|
|
|
456
707
|
### Organization
|
|
@@ -464,11 +715,20 @@ NOTE: this is different to how the schema defines an Organization. **The schema
|
|
|
464
715
|
|
|
465
716
|
| Name | Type |
|
|
466
717
|
| :------ | :------ |
|
|
467
|
-
| `address
|
|
468
|
-
| `
|
|
469
|
-
| `
|
|
470
|
-
| `id` | [`
|
|
718
|
+
| `address?` | `unknown` |
|
|
719
|
+
| `contact_point?` | `Pick`<[`ContactPoint`](#contactpoint), ``"email_address"`` \| ``"id"``\> |
|
|
720
|
+
| `customerUsers` | [`CustomerUser`](#customeruser)[] |
|
|
721
|
+
| `id` | [`CId`](#cid) |
|
|
471
722
|
| `name` | `string` |
|
|
723
|
+
| `orgId` | [`OId`](#oid) |
|
|
724
|
+
|
|
725
|
+
___
|
|
726
|
+
|
|
727
|
+
### PCId
|
|
728
|
+
|
|
729
|
+
Ƭ **PCId**: `StringWithIdentity`<``"PCId"``\>
|
|
730
|
+
|
|
731
|
+
A `pc_id` is the ID of a Party Contact Point
|
|
472
732
|
|
|
473
733
|
___
|
|
474
734
|
|
|
@@ -480,25 +740,65 @@ A `p_id` is the ID of a [Relationship](#relationship)
|
|
|
480
740
|
|
|
481
741
|
___
|
|
482
742
|
|
|
483
|
-
###
|
|
743
|
+
### PKId
|
|
484
744
|
|
|
485
|
-
Ƭ **
|
|
745
|
+
Ƭ **PKId**: `StringWithIdentity`<``"PKId"``\>
|
|
486
746
|
|
|
487
|
-
|
|
747
|
+
A `pk_id` is the ID of an AA's private key
|
|
488
748
|
|
|
489
|
-
|
|
749
|
+
___
|
|
490
750
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
751
|
+
### PLId
|
|
752
|
+
|
|
753
|
+
Ƭ **PLId**: `StringWithIdentity`<``"PLId"``\>
|
|
754
|
+
|
|
755
|
+
A `pl_id` is the ID of a PriceList
|
|
756
|
+
|
|
757
|
+
___
|
|
758
|
+
|
|
759
|
+
### PLLId
|
|
760
|
+
|
|
761
|
+
Ƭ **PLLId**: `StringWithIdentity`<``"PLLId"``\>
|
|
762
|
+
|
|
763
|
+
A `pll_id` is the ID of a PriceListLine/Plan
|
|
764
|
+
|
|
765
|
+
___
|
|
766
|
+
|
|
767
|
+
### PMId
|
|
768
|
+
|
|
769
|
+
Ƭ **PMId**: `StringWithIdentity`<``"PMId"``\>
|
|
770
|
+
|
|
771
|
+
A `pm_id` is the ID of a PaymentMethod
|
|
772
|
+
|
|
773
|
+
___
|
|
774
|
+
|
|
775
|
+
### PRCId
|
|
776
|
+
|
|
777
|
+
Ƭ **PRCId**: `StringWithIdentity`<``"PRCId"``\>
|
|
778
|
+
|
|
779
|
+
A `prc_id` is the ID of a Price
|
|
780
|
+
|
|
781
|
+
___
|
|
782
|
+
|
|
783
|
+
### PRid
|
|
784
|
+
|
|
785
|
+
Ƭ **PRid**: `StringWithIdentity`<``"PRid"``\>
|
|
786
|
+
|
|
787
|
+
A `pr_id` is the ID of a [Party](#party)
|
|
788
|
+
|
|
789
|
+
___
|
|
790
|
+
|
|
791
|
+
### PTId
|
|
792
|
+
|
|
793
|
+
Ƭ **PTId**: `StringWithIdentity`<``"PTId"``\>
|
|
794
|
+
|
|
795
|
+
A `pt_id` is the ID of a PaymentProcessor
|
|
796
|
+
|
|
797
|
+
___
|
|
798
|
+
|
|
799
|
+
### Party
|
|
800
|
+
|
|
801
|
+
Ƭ **Party**: [`CommonFields`](#commonfields)<[`PRid`](#prid), [`PartyMetadata`](#partymetadata)\> & { `far_customers`: [`CommonFields`](#commonfields)<[`CId`](#cid)\> & { `customer_approval_status_code`: `string` ; `customer_class_code`: `string` ; `customer_status_code`: `string` ; `customer_type_code`: `string` ; `far_customers_customer_approval_status_lookup`: [`Lookup`](#lookup) ; `far_customers_customer_class_lookup`: [`Lookup`](#lookup) ; `far_customers_customer_status_lookup`: [`Lookup`](#lookup) ; `far_customers_customer_type_lookup`: [`Lookup`](#lookup) ; `far_customers_freight_terms_lookup`: [`Lookup`](#lookup) ; `freight_term_code`: `string` ; `price_list_version_id`: `string` \| ``null`` }[] ; `party_description`: [`OId`](#oid) ; `party_image_url_logo`: `string` \| ``null`` ; `party_name`: `string` ; `party_type`: `string` }
|
|
502
802
|
|
|
503
803
|
___
|
|
504
804
|
|
|
@@ -521,26 +821,97 @@ ___
|
|
|
521
821
|
|
|
522
822
|
### PartySite
|
|
523
823
|
|
|
524
|
-
Ƭ **PartySite**: `
|
|
824
|
+
Ƭ **PartySite**: [`CommonFields`](#commonfields)<`never`\> & { `location_id`: `number` ; `party_id`: [`PRid`](#prid) ; `party_site_description`: `string` \| ``null`` ; `party_site_name`: `string` ; `party_use_primary`: `string` ; `party_uses`: `string`[] }
|
|
525
825
|
|
|
526
826
|
An Organization Site
|
|
527
827
|
|
|
828
|
+
___
|
|
829
|
+
|
|
830
|
+
### PaymentMethod
|
|
831
|
+
|
|
832
|
+
Ƭ **PaymentMethod**: [`CommonFields`](#commonfields)<[`PMId`](#pmid)\> & { `address_line1_check?`: `string` \| ``null`` ; `address_postal_code_check?`: `string` \| ``null`` ; `card_expiry_month`: `number` ; `card_expiry_year`: `number` ; `card_fingerprint?`: `string` \| ``null`` ; `card_funding_method`: `string` ; `card_last_4_digits`: `string` ; `customer_id`: [`CId`](#cid) ; `cvc_check?`: `string` \| ``null`` ; `payer_payment_method_type`: `string` ; `payment_method_available_networks`: `string`[] \| `string` ; `payment_method_country_code`: `string` \| ``null`` ; `payment_method_preferred_network?`: `string` \| ``null`` ; `payment_method_scheme`: `string` ; `payment_processor_id`: `string` ; `payment_processor_payment_method_id`: `string` ; `primary_payment_method`: `boolean` ; `three_d_secure_usage?`: `string` \| ``null`` }
|
|
833
|
+
|
|
834
|
+
___
|
|
835
|
+
|
|
836
|
+
### PaymentProcessor
|
|
837
|
+
|
|
838
|
+
Ƭ **PaymentProcessor**: [`CommonFields`](#commonfields)<[`PTId`](#ptid)\> & { `party_id`: [`PRid`](#prid) ; `payment_processor_name`: `string` ; `payment_processor_system`: `string` }
|
|
839
|
+
|
|
840
|
+
___
|
|
841
|
+
|
|
842
|
+
### Permission
|
|
843
|
+
|
|
844
|
+
Ƭ **Permission**: `Object`
|
|
845
|
+
|
|
846
|
+
#### Type declaration
|
|
847
|
+
|
|
848
|
+
| Name | Type |
|
|
849
|
+
| :------ | :------ |
|
|
850
|
+
| `group_name` | ``"ALL"`` \| ``"Public"`` \| \`sharing\|${UId}\|${UId}\` \| [`GId`](#gid) |
|
|
851
|
+
| `group_permission_type` | ``"VIEWS"`` \| ``"EDITS"`` \| ``null`` |
|
|
852
|
+
| `id` | [`NId`](#nid) |
|
|
853
|
+
| `is_owner` | `boolean` |
|
|
854
|
+
| `labels` | `string`[] |
|
|
855
|
+
| `n_id` | [`NId`](#nid) |
|
|
856
|
+
| `permission_id` | [`PId`](#pid) |
|
|
857
|
+
| `properties` | { `permissions`: `string` ; `provider_name`: `string` } |
|
|
858
|
+
| `properties.permissions` | `string` |
|
|
859
|
+
| `properties.provider_name` | `string` |
|
|
860
|
+
| `user_permission_type` | `string` \| ``null`` |
|
|
861
|
+
|
|
862
|
+
___
|
|
863
|
+
|
|
864
|
+
### PermissionType
|
|
865
|
+
|
|
866
|
+
Ƭ **PermissionType**: ``"ADMINS"`` \| ``"VIEWS"`` \| ``"EDITS"`` \| ``"OWNS"``
|
|
867
|
+
|
|
868
|
+
___
|
|
869
|
+
|
|
870
|
+
### PriceList
|
|
871
|
+
|
|
872
|
+
Ƭ **PriceList**: `Object`
|
|
873
|
+
|
|
528
874
|
#### Type declaration
|
|
529
875
|
|
|
530
876
|
| Name | Type |
|
|
531
877
|
| :------ | :------ |
|
|
532
|
-
| `
|
|
533
|
-
| `
|
|
534
|
-
| `
|
|
535
|
-
| `
|
|
536
|
-
| `
|
|
537
|
-
| `
|
|
538
|
-
| `
|
|
539
|
-
| `
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
878
|
+
| `id` | [`PLId`](#plid) |
|
|
879
|
+
| `pcm_price_list_versions?` | [{ `id`: `string` ; `pcm_price_list_lines`: [`PriceListLine`](#pricelistline)[] ; `price_list_version_name`: `string` }] |
|
|
880
|
+
| `price_list_currency` | `string` |
|
|
881
|
+
| `price_list_description?` | `string` |
|
|
882
|
+
| `price_list_description_i18n?` | `string` |
|
|
883
|
+
| `price_list_name` | `string` |
|
|
884
|
+
| `price_list_name_i18n?` | `string` |
|
|
885
|
+
| `price_list_type` | `string` |
|
|
886
|
+
|
|
887
|
+
___
|
|
888
|
+
|
|
889
|
+
### PriceListLine
|
|
890
|
+
|
|
891
|
+
Ƭ **PriceListLine**: `Object`
|
|
892
|
+
|
|
893
|
+
#### Type declaration
|
|
894
|
+
|
|
895
|
+
| Name | Type |
|
|
896
|
+
| :------ | :------ |
|
|
897
|
+
| `id` | [`PLLId`](#pllid) |
|
|
898
|
+
| `pcm_prices` | { `amount`: `number` ; `billing_recurrence`: `string` ; `gpm_items`: { `id`: `string` ; `item_description`: `string` ; `item_description_i18n`: `string` \| ``null`` ; `item_key`: `string` ; `item_name`: `string` ; `item_name_i18n`: `string` \| ``null`` ; `primary_uom`: `string` } ; `id`: [`PRCId`](#prcid) ; `price_currency`: `string` ; `recurring_billing_interval`: `string` \| ``null`` ; `recurring_billing_interval_count`: `number` ; `recurring_billing_scheme`: `string` ; `recurring_billing_usage_type`: `string` } |
|
|
899
|
+
| `pcm_prices.amount` | `number` |
|
|
900
|
+
| `pcm_prices.billing_recurrence` | `string` |
|
|
901
|
+
| `pcm_prices.gpm_items` | { `id`: `string` ; `item_description`: `string` ; `item_description_i18n`: `string` \| ``null`` ; `item_key`: `string` ; `item_name`: `string` ; `item_name_i18n`: `string` \| ``null`` ; `primary_uom`: `string` } |
|
|
902
|
+
| `pcm_prices.gpm_items.id` | `string` |
|
|
903
|
+
| `pcm_prices.gpm_items.item_description` | `string` |
|
|
904
|
+
| `pcm_prices.gpm_items.item_description_i18n` | `string` \| ``null`` |
|
|
905
|
+
| `pcm_prices.gpm_items.item_key` | `string` |
|
|
906
|
+
| `pcm_prices.gpm_items.item_name` | `string` |
|
|
907
|
+
| `pcm_prices.gpm_items.item_name_i18n` | `string` \| ``null`` |
|
|
908
|
+
| `pcm_prices.gpm_items.primary_uom` | `string` |
|
|
909
|
+
| `pcm_prices.id` | [`PRCId`](#prcid) |
|
|
910
|
+
| `pcm_prices.price_currency` | `string` |
|
|
911
|
+
| `pcm_prices.recurring_billing_interval` | `string` \| ``null`` |
|
|
912
|
+
| `pcm_prices.recurring_billing_interval_count` | `number` |
|
|
913
|
+
| `pcm_prices.recurring_billing_scheme` | `string` |
|
|
914
|
+
| `pcm_prices.recurring_billing_usage_type` | `string` |
|
|
544
915
|
|
|
545
916
|
___
|
|
546
917
|
|
|
@@ -602,9 +973,25 @@ ___
|
|
|
602
973
|
|
|
603
974
|
___
|
|
604
975
|
|
|
976
|
+
### SId
|
|
977
|
+
|
|
978
|
+
Ƭ **SId**: `StringWithIdentity`<``"SId"``\>
|
|
979
|
+
|
|
980
|
+
A `s_id` is the ID of a Subscription
|
|
981
|
+
|
|
982
|
+
___
|
|
983
|
+
|
|
984
|
+
### SLId
|
|
985
|
+
|
|
986
|
+
Ƭ **SLId**: `StringWithIdentity`<``"SLId"``\>
|
|
987
|
+
|
|
988
|
+
A `sl_id` is the ID of a SubscriptionLine
|
|
989
|
+
|
|
990
|
+
___
|
|
991
|
+
|
|
605
992
|
### Schema
|
|
606
993
|
|
|
607
|
-
Ƭ **Schema**: [`CommonSchemaAttributes`](#commonschemaattributes) & { `clientLocale?`: `string` ; `end_date?`: `string` ; `groupNames?`: `Record`<`string`, `string`\> ; `group_title?`: `string` ; `isProfileSchema?`: `boolean` ; `isSpSchema?`: `boolean` ; `name`: [`SchemaName`](#schemaname) ; `properties`: { `[fieldName: string]`: [`SchemaField`](#schemafield); } ; `required?`: (`string` \| [`ConditionallyRequired`](#conditionallyrequired))[] ; `start_date?`: `string` ; `timing?`: `Record`<``"extract"`` \| ``"live_person"`` \| ``"verify_pending_delay"``, `number`\> ; `type?`: [`DataTypes`](#datatypes) ; `verified_fields?`: (`string` \| [`ConditionallyRequired`](#conditionallyrequired))[] ; `version`: `string` ; `wasExpandedByClient?`: `boolean` }
|
|
994
|
+
Ƭ **Schema**: [`CommonSchemaAttributes`](#commonschemaattributes) & { `clientLocale?`: `string` ; `conditionalTags?`: [`ConditionalTags`](#conditionaltags)[] ; `database?`: { `method?`: ``"POST"`` \| ``"PATCH"`` \| ``"DELETE"`` ; `path?`: `string` ; `primary_key`: `string` ; `query_parameters?`: `string` ; `return_to?`: [`SchemaName`](#schemaname) ; `select?`: `string` ; `table?`: `string` } ; `end_date?`: `string` ; `groupNames?`: `Record`<`string`, `string`\> ; `group_title?`: `string` ; `groups?`: { `order?`: `string`[] } ; `isProfileSchema?`: `boolean` ; `isSpSchema?`: `boolean` ; `name`: [`SchemaName`](#schemaname) ; `properties`: { `[fieldName: string]`: [`SchemaField`](#schemafield); } ; `required?`: (`string` \| [`ConditionallyRequired`](#conditionallyrequired))[] ; `start_date?`: `string` ; `timing?`: `Record`<``"extract"`` \| ``"live_person"`` \| ``"verify_pending_delay"``, `number`\> ; `type?`: [`DataTypes`](#datatypes) ; `verified_fields?`: (`string` \| [`ConditionallyRequired`](#conditionallyrequired))[] ; `version`: `string` ; `wasExpandedByClient?`: `boolean` }
|
|
608
995
|
|
|
609
996
|
Raytio's variant of JSON Schema, as used by the client. It is a modified version
|
|
610
997
|
of what the API returns.
|
|
@@ -626,23 +1013,27 @@ ___
|
|
|
626
1013
|
| `content?` | `string` | only checkbox uses this prop |
|
|
627
1014
|
| `contentEncoding?` | ``"base64"`` | - |
|
|
628
1015
|
| `contentMediaType?` | `string` | - |
|
|
1016
|
+
| `content_source?` | `string` | determines where an image is sourced from |
|
|
629
1017
|
| `default?` | `unknown` | the default value |
|
|
630
1018
|
| `default_signature_name?` | `string` | used on fields that are a signature file picker, see !849 also used to determine if the MediaPicker should be shown inline |
|
|
631
1019
|
| `description?` | `string` | - |
|
|
632
|
-
| `description_decorator?` | ``"md"`` |
|
|
1020
|
+
| `description_decorator?` | ``"md"`` | **`Deprecated`** Markdown is now rendered by default for all descriptions. This property is no longer needed. |
|
|
633
1021
|
| `encrypt?` | `boolean` | whether the field should be encrypted |
|
|
634
1022
|
| `encrypt_require?` | `boolean` | if true, the user must have encryption enabled to save this data, see #1324 |
|
|
635
1023
|
| `enum?` | (`string` \| `number` \| `boolean`)[] | - |
|
|
636
1024
|
| `examples?` | `unknown`[] | - |
|
|
1025
|
+
| `foreign_key_of?` | [`SchemaName`](#schemaname) | if this field is a foreign key, i.e. it is a primary key of a different schema, then that other's schema name should be listed here. e.g. ```json { "name": "ss_AA", "properties": { "org_id": { "foreign_key_of": "ss_Org" } } } ``` |
|
|
637
1026
|
| `format?` | ``"date"`` \| ``"date-time"`` \| ``"uri"`` | - |
|
|
1027
|
+
| `hash_inputs?` | `string` | the input string for a platform_unique_id |
|
|
638
1028
|
| `image_silhouette?` | `string` | If this schema requires a photo of a document, you can specify a URL to a silhouette image which will be overlaid on top of the camera. For best results, the image should have a transparent background + minimal white foreground |
|
|
639
1029
|
| `items?` | { `properties`: { `[subFieldName: string]`: [`SchemaField`](#schemafield); } ; `type`: [`DataTypes`](#datatypes) } | `items` is used for nested arrays, (while `properties` is used for nested objects) |
|
|
640
1030
|
| `items.properties` | { `[subFieldName: string]`: [`SchemaField`](#schemafield); } | - |
|
|
641
1031
|
| `items.type` | [`DataTypes`](#datatypes) | - |
|
|
642
1032
|
| `lookup?` | `string` | URL to a JSON file in the `Lookup` format |
|
|
643
|
-
| `
|
|
1033
|
+
| `lookupTransform?` | `string` \| { `key?`: `string` ; `path`: `string` ; `value?`: `string` } | Transforms the lookup response into the expected `{ key, value }[]` format. Use when the API returns data in a different structure. Simple format (extract array from path, use values as both key and value): ```json "lookupTransform": "[0].scopes" ``` Object format (specify key/value mapping): ```json "lookupTransform": { "path": "[0].items", "key": "id", "value": "name" } ``` |
|
|
1034
|
+
| `maxLength?` | `number` | for string inputs, the maximum character length. Also used to determine textarea rendering (maxLength > 30 renders a textarea) |
|
|
644
1035
|
| `maximum?` | `number` | for number inputs, the maximum allowed value |
|
|
645
|
-
| `minLength?` | `number` |
|
|
1036
|
+
| `minLength?` | `number` | for string inputs, the minimum character length. Not currently used anywhere in the client |
|
|
646
1037
|
| `minimum?` | `number` | for number inputs, the minimum allowed value |
|
|
647
1038
|
| `override?` | { `permissions`: { `default`: `string` } } | - |
|
|
648
1039
|
| `override.permissions` | { `default`: `string` } | - |
|
|
@@ -663,7 +1054,7 @@ ___
|
|
|
663
1054
|
|
|
664
1055
|
### SchemaFieldTag
|
|
665
1056
|
|
|
666
|
-
Ƭ **SchemaFieldTag**: ``"password"`` \| \`group:${string}\` \| \`upload-group:${string}\` \| ``"display:stars"`` \| ``"display:no_autofill"`` \| ``"display:currency"`` \| ``"display:cascade"`` \| ``"display:survey"`` \| ``"display:quoting"`` \| ``"display:customModal"`` \| \`display:replace:'${string}'
|
|
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"``
|
|
667
1058
|
|
|
668
1059
|
___
|
|
669
1060
|
|
|
@@ -677,13 +1068,13 @@ ___
|
|
|
677
1068
|
|
|
678
1069
|
### SchemaTag
|
|
679
1070
|
|
|
680
|
-
Ƭ **SchemaTag**: ``"action:experimental_pass_object_store_id"`` \| ``"action:verify"`` \| ``"default_camera:rear"`` \| ``"default_camera:front"`` \| \`oauth2\_component:name:${string}\` \| \`oauth2\_component:redirect\_url:${string}\` \| \`time:${string}:${number}\` \| \`link\_to:${string}:${string}\` \| ``"type:
|
|
1071
|
+
Ƭ **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"``
|
|
681
1072
|
|
|
682
1073
|
___
|
|
683
1074
|
|
|
684
1075
|
### SchemaType
|
|
685
1076
|
|
|
686
|
-
Ƭ **SchemaType**: ``"ss"`` \| ``"ps"`` \| ``"us"``
|
|
1077
|
+
Ƭ **SchemaType**: ``"ss"`` \| ``"ps"`` \| ``"us"`` \| ``"ms"``
|
|
687
1078
|
|
|
688
1079
|
Type Classification of a Schema returned by API
|
|
689
1080
|
|
|
@@ -699,7 +1090,41 @@ ___
|
|
|
699
1090
|
|
|
700
1091
|
### SubmissionStatus
|
|
701
1092
|
|
|
702
|
-
Ƭ **SubmissionStatus**: ``"Submitted"`` \| ``"Processing"`` \| ``"Rejected"`` \| ``"Expired"`` \| ``"Completed"`` \| ``"DataChanged"`` \| ``"Received"`` \| ``"Accepted"``
|
|
1093
|
+
Ƭ **SubmissionStatus**: ``"Submitted"`` \| ``"Processing"`` \| ``"Rejected"`` \| ``"Expired"`` \| ``"Completed"`` \| ``"DataChanged"`` \| ``"Received"`` \| ``"Pending"`` \| ``"Accepted"``
|
|
1094
|
+
|
|
1095
|
+
___
|
|
1096
|
+
|
|
1097
|
+
### Subscription
|
|
1098
|
+
|
|
1099
|
+
Ƭ **Subscription**: [`CommonFields`](#commonfields)<[`SId`](#sid)\> & { `billing_cycle_day_of_month`: `number` \| ``null`` ; `billing_cycle_day_of_week`: `number` \| ``null`` ; `billing_cycle_hour`: `number` \| ``null`` ; `billing_cycle_minute`: `number` \| ``null`` ; `billing_cycle_month`: `number` \| ``null`` ; `billing_cycle_second`: `number` \| ``null`` ; `cancellation_effective_date`: `string` \| ``null`` ; `cancellation_final_invoice_action`: `string` ; `cancellation_request_date`: `string` \| ``null`` ; `cancellation_request_reason`: `string` \| ``null`` ; `current_billing_period_end`: `string` \| ``null`` ; `current_billing_period_start`: `string` ; `subscribed_to_customer_id`: `string` ; `subscribed_to_customer_site_id`: `string` \| ``null`` ; `subscribed_to_party_contact_point_id`: `string` ; `subscription_name`: `string` ; `subscription_name_i18n`: `string` \| ``null`` ; `subscription_timezone_offset_minutes`: `number` \| ``null`` }
|
|
1100
|
+
|
|
1101
|
+
___
|
|
1102
|
+
|
|
1103
|
+
### SubscriptionLine
|
|
1104
|
+
|
|
1105
|
+
Ƭ **SubscriptionLine**: [`CommonFields`](#commonfields)<[`SLId`](#slid)\> & { `billing_subscription_id`: [`SId`](#sid) ; `metadata`: `string` \| ``null`` ; `price_id`: [`PRCId`](#prcid) ; `subscribed_qty`: `number` }
|
|
1106
|
+
|
|
1107
|
+
___
|
|
1108
|
+
|
|
1109
|
+
### TId
|
|
1110
|
+
|
|
1111
|
+
Ƭ **TId**: `StringWithIdentity`<``"TId"``\>
|
|
1112
|
+
|
|
1113
|
+
A `t_id` is the ID of a transaction
|
|
1114
|
+
|
|
1115
|
+
___
|
|
1116
|
+
|
|
1117
|
+
### TNTId
|
|
1118
|
+
|
|
1119
|
+
Ƭ **TNTId**: `StringWithIdentity`<``"TNTId"``\>
|
|
1120
|
+
|
|
1121
|
+
A `tnt_id` is the ID of a Tenant
|
|
1122
|
+
|
|
1123
|
+
___
|
|
1124
|
+
|
|
1125
|
+
### Tenant
|
|
1126
|
+
|
|
1127
|
+
Ƭ **Tenant**: [`CommonFields`](#commonfields)<[`TNTId`](#tntid)\> & { `tenant_description`: `string` \| ``null`` ; `tenant_domain_prefix`: `string` \| ``null`` ; `tenant_name`: `string` }
|
|
703
1128
|
|
|
704
1129
|
___
|
|
705
1130
|
|
|
@@ -759,7 +1184,7 @@ ___
|
|
|
759
1184
|
|
|
760
1185
|
### VerificationPayload
|
|
761
1186
|
|
|
762
|
-
Ƭ **VerificationPayload**<`WithValue`\>: { `field`: `string` ; `metadata?`: { `[otherAttributes: string]`: `unknown`; `pending_details?`: { `pending_time`: ``"short"`` \| ``"long"`` ; `pending_type`: ``"time"`` \| ``"user"`` } ; `safeHarbourScore?`: [`SafeHarbourCode`](enums/SafeHarbourCode.md) ; `status?`: ``"pending"`` } ; `passed`: `boolean` ; `request_div`: `string` ; `schema?`: [`SchemaName`](#schemaname) ; `source`: `string` ; `source_hashed_n_id?`: [`NId`](#nid) ; `source_n_id?`: [`NId`](#nid) ; `type?`: ``null`` ; `v_id`: `string` ; `verification_date`: `string` ; `verifier_div`: `string` ; `verifier_id?`: [`
|
|
1187
|
+
Ƭ **VerificationPayload**<`WithValue`\>: { `field`: `string` ; `hashed_source_n_id?`: [`NId`](#nid) ; `metadata?`: { `[otherAttributes: string]`: `unknown`; `pending_details?`: { `pending_time`: ``"short"`` \| ``"long"`` ; `pending_type`: ``"time"`` \| ``"user"`` } ; `safeHarbourScore?`: [`SafeHarbourCode`](enums/SafeHarbourCode.md) ; `status?`: ``"pending"`` \| ``"approved"`` ; `validation?`: { `id`: `string` ; `url`: `string` } } ; `passed`: `boolean` ; `request_div`: `string` ; `schema?`: [`SchemaName`](#schemaname) ; `source`: `string` ; `source_hashed_n_id?`: [`NId`](#nid) ; `source_n_id?`: [`NId`](#nid) ; `type?`: ``null`` ; `v_id`: `string` ; `verification_date`: `string` ; `verification_type_id`: [`GPMId`](#gpmid) ; `verifier_div`: `string` ; `verifier_id?`: [`MId`](#mid) ; `verifier_service_id?`: [`MId`](#mid) ; `verifier_source_id?`: [`MId`](#mid) } & `WithValue` extends ``true`` ? { `value`: `string` \| `number` } : {}
|
|
763
1188
|
|
|
764
1189
|
#### Type parameters
|
|
765
1190
|
|
|
@@ -773,16 +1198,23 @@ ___
|
|
|
773
1198
|
|
|
774
1199
|
Ƭ **VerificationProvider**: `Object`
|
|
775
1200
|
|
|
776
|
-
These
|
|
1201
|
+
These IDs point to merchants (formerly service provider profile objects)
|
|
777
1202
|
|
|
778
1203
|
#### Type declaration
|
|
779
1204
|
|
|
780
1205
|
| Name | Type | Description |
|
|
781
1206
|
| :------ | :------ | :------ |
|
|
782
|
-
| `dataSourceNId?` | [`
|
|
1207
|
+
| `dataSourceNId?` | [`MId`](#mid) | - |
|
|
783
1208
|
| `date?` | `Date` | the date which the verification was verified on, or last re-verified on |
|
|
784
|
-
| `serviceProviderNId?` | [`
|
|
785
|
-
| `
|
|
1209
|
+
| `serviceProviderNId?` | [`MId`](#mid) | - |
|
|
1210
|
+
| `verificationTypeId?` | [`GPMId`](#gpmid) | - |
|
|
1211
|
+
| `verifierNId?` | [`MId`](#mid) | - |
|
|
1212
|
+
|
|
1213
|
+
___
|
|
1214
|
+
|
|
1215
|
+
### VerificationType
|
|
1216
|
+
|
|
1217
|
+
Ƭ **VerificationType**: [`CommonFields`](#commonfields)<[`GPMId`](#gpmid)\> & { `asset`: `boolean` \| ``null`` ; `inventory_organization_number`: `number` \| ``null`` ; `item_description`: `string` ; `item_description_i18n`: `Json` \| ``null`` ; `item_dimension_height`: `number` \| ``null`` ; `item_dimension_length`: `number` \| ``null`` ; `item_dimension_uom`: `string` \| ``null`` ; `item_dimension_width`: `number` \| ``null`` ; `item_key`: `string` ; `item_key_01`: `string` \| ``null`` ; `item_key_02`: `string` \| ``null`` ; `item_key_03`: `string` \| ``null`` ; `item_mass`: `number` \| ``null`` ; `item_mass_uom`: `string` \| ``null`` ; `item_name`: `string` ; `item_name_i18n`: `Json` \| ``null`` ; `item_number`: `number` ; `item_type`: `string` \| ``null`` ; `item_volume`: `number` \| ``null`` ; `item_volume_uom`: `string` \| ``null`` ; `org_number`: `number` ; `primary_uom`: `string` ; `purchased`: `boolean` \| ``null`` ; `returnable`: `boolean` \| ``null`` ; `secondary_uom`: `string` \| ``null`` ; `shipped`: `boolean` \| ``null`` ; `source_organization_number`: `number` \| ``null`` ; `source_type`: `string` \| ``null`` ; `stocked`: `boolean` \| ``null`` ; `transacted`: `boolean` \| ``null`` }
|
|
786
1218
|
|
|
787
1219
|
___
|
|
788
1220
|
|
|
@@ -794,38 +1226,23 @@ A `wi_id` is the ID of a [Webhook](#webhook)
|
|
|
794
1226
|
|
|
795
1227
|
___
|
|
796
1228
|
|
|
797
|
-
###
|
|
1229
|
+
### WSId
|
|
798
1230
|
|
|
799
|
-
Ƭ **
|
|
1231
|
+
Ƭ **WSId**: `StringWithIdentity`<``"WSId"``\>
|
|
800
1232
|
|
|
801
|
-
|
|
1233
|
+
A `ws_id` is the ID of a transition
|
|
802
1234
|
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
| `provider_signature_credentials` | `unknown` | - |
|
|
809
|
-
| `provider_subscription_credentials` | `unknown` | - |
|
|
810
|
-
| `provider_webhook_id` | [`NId`](#nid) | n_id of "the webhook provider which can be set up against a service provider" |
|
|
811
|
-
| `provider_webhook_subscription_id` | [`NId`](#nid) | not sure what this is |
|
|
812
|
-
| `status` | [`WebhookStatus`](#webhookstatus) | - |
|
|
813
|
-
| `subscribe_log?` | { `date`: `string` ; `response_payload`: `Json` ; `response_status_code`: `number` }[] | - |
|
|
814
|
-
| `webhook_action` | { `webhook_action_type`: `string` }[] | - |
|
|
815
|
-
| `webhook_field_mapping_schema` | { `[key: string]`: `string`; } | - |
|
|
816
|
-
| `webhook_filter_schema` | { `field_name`: `string` ; `field_value`: `string` ; `operator`: `string` } | - |
|
|
817
|
-
| `webhook_filter_schema.field_name` | `string` | - |
|
|
818
|
-
| `webhook_filter_schema.field_value` | `string` | - |
|
|
819
|
-
| `webhook_filter_schema.operator` | `string` | - |
|
|
820
|
-
| `webhook_filter_source` | `string` | - |
|
|
821
|
-
| `webhook_processing_rules` | `unknown` | - |
|
|
822
|
-
| `wi_id` | [`WId`](#wid) | - |
|
|
1235
|
+
___
|
|
1236
|
+
|
|
1237
|
+
### Webhook
|
|
1238
|
+
|
|
1239
|
+
Ƭ **Webhook**: [`CommonFields`](#commonfields)<[`WId`](#wid)\> & { `aa_id`: [`AId`](#aid) ; `date_created?`: `string` ; `date_updated?`: `string` ; `metadata`: `unknown` ; `provider_signature_check_enabled`: `boolean` ; `provider_signature_credentials`: `unknown` ; `provider_subscription_credentials`: `unknown` ; `provider_webhook_id`: `string` ; `provider_webhook_subscription_id`: `string` \| ``null`` ; `status`: [`WebhookStatus`](#webhookstatus) ; `subscribe_log?`: { `date`: `string` ; `response_payload`: `Json` ; `response_status_code`: `number` }[] \| ``null`` ; `webhook_action`: { `webhook_action_type`: `string` }[] \| ``null`` ; `webhook_field_mapping_schema`: { `[key: string]`: `string`; } \| ``null`` ; `webhook_filter_schema`: { `field_name`: `string` ; `field_value`: `string` ; `operator`: `string` } \| ``null`` ; `webhook_filter_source`: `string` \| ``null`` ; `webhook_processing_rules`: `unknown` ; `wi_id?`: [`WId`](#wid) }
|
|
823
1240
|
|
|
824
1241
|
___
|
|
825
1242
|
|
|
826
1243
|
### WebhookStatus
|
|
827
1244
|
|
|
828
|
-
Ƭ **WebhookStatus**: ``"
|
|
1245
|
+
Ƭ **WebhookStatus**: ``"PENDING"`` \| ``"SUBSCRIBED"`` \| ``"UNSUBSCRIBED"`` \| ``"UNSUBSCRIBE_FAILED"`` \| ``"ERROR"`` \| ``"ARCHIVED"``
|
|
829
1246
|
|
|
830
1247
|
___
|
|
831
1248
|
|
|
@@ -847,6 +1264,7 @@ in the query parameters, it needs to be base64 and/or url encoded.
|
|
|
847
1264
|
| `expiry_date?` | `number` | number of days in the future |
|
|
848
1265
|
| `pages` | [`WizardPage`](#wizardpage)[] | - |
|
|
849
1266
|
| `quick_onboard?` | `boolean` | whether the passwordless-signup process should be used if the user visits this form, and they are not logged in. If false, the standard sign-up process will be used |
|
|
1267
|
+
| `quick_onboard_require_consent?` | `boolean` | If true, users must explicitly accept privacy terms during quick onboard. If false, the form auto-submits without user intervention. **`Default`** ```ts true ``` |
|
|
850
1268
|
| `reference?` | `string` | - |
|
|
851
1269
|
| `relationships?` | { `from`: `string` ; `properties?`: `Record`<`string`, `any`\> ; `to`: `string` ; `type`: `string` }[] | a list of relationships that should be created after the wizard completes (see #987) |
|
|
852
1270
|
| `return_to?` | `string` | the callback url to redirect to once complete. Must be in the AA's list of authorized callback urls |
|
|
@@ -888,18 +1306,24 @@ configuration data for a single wizard page ([WizardConfig](#wizardconfig))
|
|
|
888
1306
|
| `extract_threshold_pass_action?` | ``"review"`` \| ``"next_step"`` | for ImageDynamicSection, the action to take if pre-verify passes |
|
|
889
1307
|
| `field_list?` | `string`[] | if supplied, only the fields that are listed should be shared (#520, #1024) |
|
|
890
1308
|
| `filter` | ``"oneOf"`` \| ``"anyOf"`` | - |
|
|
1309
|
+
| `is_terminal?` | `boolean` | If true, user cannot proceed past this page (error/blocking behavior) If false, user can continue to next page (informational) **`Default`** ```ts false ``` |
|
|
1310
|
+
| `merchant_link?` | `boolean` | see #463 |
|
|
891
1311
|
| `multiple?` | `boolean` | if true mulitple POs can be shared |
|
|
892
1312
|
| `name?` | `string` \| `symbol` | if undefined, the schema title will be used |
|
|
893
1313
|
| `optional?` | `boolean` | if true this page can be skipped. The PageResult wil be undefined |
|
|
894
1314
|
| `optional_fields?` | `string`[] | a list of fields that should not be required, even if the schema says they're required |
|
|
895
|
-
| `
|
|
1315
|
+
| `page_content?` | `string` | Content to display on message pages. Supports markdown if page_content_decorator is "md" |
|
|
1316
|
+
| `page_content_decorator?` | ``"md"`` | Set to "md" to render page_content as markdown |
|
|
1317
|
+
| `page_type?` | ``"form"`` \| ``"message"`` | Page type: 'form' for data collection, 'message' for info/error display **`Default`** ```ts "form" ``` |
|
|
1318
|
+
| `profile?` | `boolean` | **`Deprecated`** - AO/PO classification is now done per-object using schema tags (type:application_object) instead of page-level profile property |
|
|
896
1319
|
| `reverify_header?` | `string` | custom text & header that's displayed on reverfication modal for expired PO |
|
|
897
1320
|
| `reverify_text?` | `string` | - |
|
|
898
1321
|
| `schemas` | [`SchemaName`](#schemaname)[] | - |
|
|
899
1322
|
| `selection_hierarchy_json?` | `string` | a URL to a preset for configuing NestedSchemaSelect. DeepConfig |
|
|
900
|
-
| `service_provider_link?` | `boolean` | see #463 |
|
|
901
1323
|
| `share?` | ``"profile"`` \| ``"verification"`` \| ``"both"`` | the information to share. undefined implies both. |
|
|
902
1324
|
| `tags?` | [`WizardPageTag`](#wizardpagetag)[] | - |
|
|
1325
|
+
| `terminal_button_label?` | `string` | Label for the exit button on terminal pages **`Default`** ```ts "Home" ``` |
|
|
1326
|
+
| `terminal_button_url?` | `string` | URL to redirect to when exit button is clicked on terminal pages **`Default`** ```ts "/" or return_to from WizardConfig ``` |
|
|
903
1327
|
| `verify_data?` | `boolean` | if `false`, ProfileObjects created while completing the form will not be verified. if `true`, you can only select ProfileObjects that are partially or fully verified. `undefined` implies `true`. **`Default`** ```ts true ``` |
|
|
904
1328
|
|
|
905
1329
|
___
|
|
@@ -923,6 +1347,7 @@ This is what's returned by the API
|
|
|
923
1347
|
| `active` | ``true`` | - |
|
|
924
1348
|
| `end_date` | `string` | ISO Date. If this tag exists, the schema is deprecated. |
|
|
925
1349
|
| `schema` | [`CommonSchemaAttributes`](#commonschemaattributes) & { `$id?`: `string` ; `$schema?`: `string` ; `allOf?`: { `$ref?`: `string` ; `if?`: `Partial`<[`WrappedSchema`](#wrappedschema)[``"schema"``]\> ; `then?`: `Partial`<[`WrappedSchema`](#wrappedschema)[``"schema"``]\> }[] ; `definitions?`: `Record`<`string`, { `$ref`: [`Urn`](#urn) }\> ; `properties`: { `[fieldName: string]`: [`ServerSchemaField`](#serverschemafield); } ; `required?`: `string`[] ; `verified_fields?`: `string`[] } | - |
|
|
1350
|
+
| `schema_country_codes?` | `string`[] | Country codes that this schema is available for |
|
|
926
1351
|
| `schema_name` | [`SchemaName`](#schemaname) | Schema Name Type and Version Properties |
|
|
927
1352
|
| `schema_type` | [`SchemaType`](#schematype) | - |
|
|
928
1353
|
| `schema_version` | `string` | - |
|