@raytio/types 7.3.0 → 8.0.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 +350 -87
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -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 +61 -27
- package/dist/schema.d.ts +45 -3
- package/dist/subscription.d.ts +89 -0
- package/dist/subscription.js +2 -0
- package/dist/verification.d.ts +40 -2
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/merchant.ts +22 -0
- package/src/orgs.ts +103 -31
- package/src/raytio.ts +64 -26
- package/src/schema.ts +51 -2
- package/src/subscription.ts +106 -0
- package/src/verification.ts +51 -2
package/README.md
CHANGED
|
@@ -37,33 +37,63 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
37
37
|
- [AA](#aa)
|
|
38
38
|
- [AATag](#aatag)
|
|
39
39
|
- [AId](#aid)
|
|
40
|
+
- [CId](#cid)
|
|
40
41
|
- [Colors](#colors)
|
|
41
42
|
- [CommonFields](#commonfields)
|
|
42
43
|
- [CommonSchemaAttributes](#commonschemaattributes)
|
|
43
44
|
- [ConditionallyRequired](#conditionallyrequired)
|
|
44
45
|
- [ContactPoint](#contactpoint)
|
|
46
|
+
- [ContentUrl](#contenturl)
|
|
45
47
|
- [CustomFonts](#customfonts)
|
|
48
|
+
- [Customer](#customer)
|
|
49
|
+
- [CustomerSite](#customersite)
|
|
50
|
+
- [CustomerSiteUse](#customersiteuse)
|
|
51
|
+
- [CustomerUser](#customeruser)
|
|
46
52
|
- [DataTypes](#datatypes)
|
|
47
53
|
- [Encrypted](#encrypted)
|
|
48
54
|
- [GId](#gid)
|
|
55
|
+
- [GPMId](#gpmid)
|
|
49
56
|
- [IId](#iid)
|
|
50
57
|
- [Instance](#instance)
|
|
51
58
|
- [InstanceWithoutData](#instancewithoutdata)
|
|
52
59
|
- [KId](#kid)
|
|
53
60
|
- [LId](#lid)
|
|
61
|
+
- [LOCId](#locid)
|
|
62
|
+
- [Link](#link)
|
|
54
63
|
- [Location](#location)
|
|
55
64
|
- [Lookup](#lookup)
|
|
65
|
+
- [MId](#mid)
|
|
66
|
+
- [Merchant](#merchant)
|
|
67
|
+
- [MerchantApprovalStatusCode](#merchantapprovalstatuscode)
|
|
68
|
+
- [MerchantClassCode](#merchantclasscode)
|
|
69
|
+
- [MerchantStatusCode](#merchantstatuscode)
|
|
70
|
+
- [MerchantTypeCode](#merchanttypecode)
|
|
56
71
|
- [NId](#nid)
|
|
57
72
|
- [NId2](#nid2)
|
|
58
73
|
- [OId](#oid)
|
|
59
74
|
- [Organization](#organization)
|
|
75
|
+
- [PCId](#pcid)
|
|
60
76
|
- [PId](#pid)
|
|
77
|
+
- [PKId](#pkid)
|
|
78
|
+
- [PLId](#plid)
|
|
79
|
+
- [PLLId](#pllid)
|
|
80
|
+
- [PMId](#pmid)
|
|
81
|
+
- [PRCId](#prcid)
|
|
82
|
+
- [PRid](#prid)
|
|
83
|
+
- [PTId](#ptid)
|
|
61
84
|
- [Party](#party)
|
|
62
85
|
- [PartyMetadata](#partymetadata)
|
|
63
86
|
- [PartySite](#partysite)
|
|
87
|
+
- [PaymentMethod](#paymentmethod)
|
|
88
|
+
- [PaymentProcessor](#paymentprocessor)
|
|
89
|
+
- [PermissionType](#permissiontype)
|
|
90
|
+
- [PriceList](#pricelist)
|
|
91
|
+
- [PriceListLine](#pricelistline)
|
|
64
92
|
- [ProfileObject](#profileobject)
|
|
65
93
|
- [RealVer](#realver)
|
|
66
94
|
- [Relationship](#relationship)
|
|
95
|
+
- [SId](#sid)
|
|
96
|
+
- [SLId](#slid)
|
|
67
97
|
- [Schema](#schema)
|
|
68
98
|
- [SchemaField](#schemafield)
|
|
69
99
|
- [SchemaFieldTag](#schemafieldtag)
|
|
@@ -72,6 +102,9 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
72
102
|
- [SchemaType](#schematype)
|
|
73
103
|
- [ServerSchemaField](#serverschemafield)
|
|
74
104
|
- [SubmissionStatus](#submissionstatus)
|
|
105
|
+
- [Subscription](#subscription)
|
|
106
|
+
- [SubscriptionLine](#subscriptionline)
|
|
107
|
+
- [TId](#tid)
|
|
75
108
|
- [UId](#uid)
|
|
76
109
|
- [Urn](#urn)
|
|
77
110
|
- [UrnNodeType](#urnnodetype)
|
|
@@ -79,7 +112,9 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
79
112
|
- [Verification](#verification)
|
|
80
113
|
- [VerificationPayload](#verificationpayload)
|
|
81
114
|
- [VerificationProvider](#verificationprovider)
|
|
115
|
+
- [VerificationType](#verificationtype)
|
|
82
116
|
- [WId](#wid)
|
|
117
|
+
- [WSId](#wsid)
|
|
83
118
|
- [Webhook](#webhook)
|
|
84
119
|
- [WebhookStatus](#webhookstatus)
|
|
85
120
|
- [WizardConfig](#wizardconfig)
|
|
@@ -103,13 +138,14 @@ Hovering over the type in VSCode will display documentation and available proper
|
|
|
103
138
|
| `active?` | `boolean` | - |
|
|
104
139
|
| `auth_list_enabled?` | `boolean` | if true, only specific email addresses can submit the form |
|
|
105
140
|
| `callback_uri?` | `string`[] | - |
|
|
141
|
+
| `customer_id` | [`CId`](#cid) | - |
|
|
106
142
|
| `description?` | `string` | - |
|
|
107
143
|
| `end_date?` | `Date` | - |
|
|
108
144
|
| `key?` | `string` | - |
|
|
109
145
|
| `logout_uri?` | `string`[] | - |
|
|
110
146
|
| `metadata?` | `unknown` | - |
|
|
111
147
|
| `name` | `string` | - |
|
|
112
|
-
| `org_id
|
|
148
|
+
| `org_id?` | [`OId`](#oid) | the id of the associated organization |
|
|
113
149
|
| `picture?` | [`Urn`](#urn) | **`Deprecated`** see !2101 |
|
|
114
150
|
| `picture_url?` | `string` | Easy to use AA logo url for pasting into emails |
|
|
115
151
|
| `ruleset?` | `unknown` | configuration for the submission rules |
|
|
@@ -138,6 +174,14 @@ An `a_id` is the ID of an [AA](#aa)
|
|
|
138
174
|
|
|
139
175
|
___
|
|
140
176
|
|
|
177
|
+
### CId
|
|
178
|
+
|
|
179
|
+
Ƭ **CId**: `StringWithIdentity`<``"CId"``\>
|
|
180
|
+
|
|
181
|
+
A `c_id` is the ID of a [Customer](#customer), (will eventually replace org_id)
|
|
182
|
+
|
|
183
|
+
___
|
|
184
|
+
|
|
141
185
|
### Colors
|
|
142
186
|
|
|
143
187
|
Ƭ **Colors**: `Object`
|
|
@@ -201,7 +245,12 @@ easier to mix up the different types of IDs.
|
|
|
201
245
|
| `end_date` | `string` | ISO Date |
|
|
202
246
|
| `id` | `IdType` | - |
|
|
203
247
|
| `metadata` | `Metadata` \| `undefined` | - |
|
|
248
|
+
| `resource_group?` | `string` | - |
|
|
249
|
+
| `resource_name?` | `string` | - |
|
|
250
|
+
| `resource_url?` | `string` | - |
|
|
251
|
+
| `row_version?` | `number` | - |
|
|
204
252
|
| `start_date` | `string` | ISO Date |
|
|
253
|
+
| `tenant_id?` | `string` | - |
|
|
205
254
|
|
|
206
255
|
___
|
|
207
256
|
|
|
@@ -217,7 +266,8 @@ not exported. Attributes that are identical in both client schema & server schem
|
|
|
217
266
|
| :------ | :------ | :------ |
|
|
218
267
|
| `description` | `string` | - |
|
|
219
268
|
| `description_decorator?` | ``"md"`` | specifies that the description is formatted in markdown |
|
|
220
|
-
| `display?` | { `expand?`: { `fields`: `string`[] ; `label`: `string` }[] ; `head_main?`: { `fields`: `string`[] ; `format?`: `string` } ; `head_sub?`: { `fields`: `string`[] ; `format?`: `string` } } | - |
|
|
269
|
+
| `display?` | { `compact_table?`: `boolean` ; `expand?`: { `fields`: `string`[] ; `label`: `string` }[] ; `head_main?`: { `fields`: `string`[] ; `format?`: `string` } ; `head_sub?`: { `fields`: `string`[] ; `format?`: `string` } ; `tabular?`: { `fields`: `string`[] } } | - |
|
|
270
|
+
| `display.compact_table?` | `boolean` | determines if profile pages should display using compacted 'MiniPO' view or deafult view |
|
|
221
271
|
| `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 |
|
|
222
272
|
| `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
273
|
| `display.head_main.fields` | `string`[] | - |
|
|
@@ -225,6 +275,8 @@ not exported. Attributes that are identical in both client schema & server schem
|
|
|
225
275
|
| `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
276
|
| `display.head_sub.fields` | `string`[] | - |
|
|
227
277
|
| `display.head_sub.format?` | `string` | - |
|
|
278
|
+
| `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. |
|
|
279
|
+
| `display.tabular.fields` | `string`[] | - |
|
|
228
280
|
| `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
281
|
| `onboard_properties?` | { `organizations?`: { `access_applications?`: { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `properties`: `Omit`<[`AA`](#aa), ``"org_id"``\> }[] ; `properties`: [`Organization`](#organization) }[] ; `profile_objects?`: { `properties`: `Record`<`string`, `unknown`\> ; `schema_name`: [`SchemaName`](#schemaname) }[] ; `relationships?`: { `from`: `string` ; `properties?`: `Record`<`string`, `string`\> ; `to`: `string` ; `type`: `string` }[] ; `return_to?`: `string` } | only the schema used for the onboarding wizard have this property |
|
|
230
282
|
| `onboard_properties.organizations?` | { `access_applications?`: { `links?`: { `description`: `string` ; `wizardConfig`: `Omit`<[`WizardConfig`](#wizardconfig), ``"a_id"``\> }[] ; `properties`: `Omit`<[`AA`](#aa), ``"org_id"``\> }[] ; `properties`: [`Organization`](#organization) }[] | Organizations that should be created. NOTE: if multiple are specified, when the wizard completes, the _first one_ will be selected |
|
|
@@ -257,30 +309,15 @@ ___
|
|
|
257
309
|
|
|
258
310
|
### ContactPoint
|
|
259
311
|
|
|
260
|
-
Ƭ **ContactPoint**: `
|
|
312
|
+
Ƭ **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
313
|
|
|
262
314
|
A Contact Point for an Organization
|
|
263
315
|
|
|
264
|
-
|
|
316
|
+
___
|
|
265
317
|
|
|
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` |
|
|
318
|
+
### ContentUrl
|
|
319
|
+
|
|
320
|
+
Ƭ **ContentUrl**: \`url:${string}\`
|
|
284
321
|
|
|
285
322
|
___
|
|
286
323
|
|
|
@@ -297,6 +334,34 @@ ___
|
|
|
297
334
|
|
|
298
335
|
___
|
|
299
336
|
|
|
337
|
+
### Customer
|
|
338
|
+
|
|
339
|
+
Ƭ **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`` }
|
|
340
|
+
|
|
341
|
+
An organization/customer, directly returned by the API
|
|
342
|
+
|
|
343
|
+
___
|
|
344
|
+
|
|
345
|
+
### CustomerSite
|
|
346
|
+
|
|
347
|
+
Ƭ **CustomerSite**: [`CommonFields`](#commonfields)<`never`\> & { `customer_site_code`: `string` ; `customer_site_status_code`: `string` ; `org_id`: [`OId`](#oid) ; `party_site_id`: `string` }
|
|
348
|
+
|
|
349
|
+
___
|
|
350
|
+
|
|
351
|
+
### CustomerSiteUse
|
|
352
|
+
|
|
353
|
+
Ƭ **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`` }
|
|
354
|
+
|
|
355
|
+
___
|
|
356
|
+
|
|
357
|
+
### CustomerUser
|
|
358
|
+
|
|
359
|
+
Ƭ **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`` }
|
|
360
|
+
|
|
361
|
+
Organization Customer / User, Returned directly by the API
|
|
362
|
+
|
|
363
|
+
___
|
|
364
|
+
|
|
300
365
|
### DataTypes
|
|
301
366
|
|
|
302
367
|
Ƭ **DataTypes**: ``"string"`` \| ``"number"`` \| ``"boolean"`` \| ``"object"`` \| ``"integer"`` \| ``"array"`` \| ``"null"``
|
|
@@ -334,6 +399,14 @@ A `g_id` is the ID of a group
|
|
|
334
399
|
|
|
335
400
|
___
|
|
336
401
|
|
|
402
|
+
### GPMId
|
|
403
|
+
|
|
404
|
+
Ƭ **GPMId**: `StringWithIdentity`<``"GPMId"``\>
|
|
405
|
+
|
|
406
|
+
A `gpm_id` is the ID of a Verification Type
|
|
407
|
+
|
|
408
|
+
___
|
|
409
|
+
|
|
337
410
|
### IId
|
|
338
411
|
|
|
339
412
|
Ƭ **IId**: `StringWithIdentity`<``"IId"``\>
|
|
@@ -373,42 +446,40 @@ An `l_id` is the ID of any data stored in the KV-Store
|
|
|
373
446
|
|
|
374
447
|
___
|
|
375
448
|
|
|
376
|
-
###
|
|
449
|
+
### LOCId
|
|
377
450
|
|
|
378
|
-
Ƭ **
|
|
451
|
+
Ƭ **LOCId**: `StringWithIdentity`<``"LOCId"``\>
|
|
379
452
|
|
|
380
|
-
|
|
453
|
+
A `loc_id` is the ID of a location
|
|
454
|
+
|
|
455
|
+
___
|
|
456
|
+
|
|
457
|
+
### Link
|
|
458
|
+
|
|
459
|
+
Ƭ **Link**: `Object`
|
|
460
|
+
|
|
461
|
+
Link used for an Access Application, including all additional information
|
|
381
462
|
|
|
382
463
|
#### Type declaration
|
|
383
464
|
|
|
384
465
|
| Name | Type |
|
|
385
466
|
| :------ | :------ |
|
|
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`` |
|
|
467
|
+
| `a_id` | [`AId`](#aid) |
|
|
468
|
+
| `code` | [`LId`](#lid) |
|
|
469
|
+
| `details?` | [`AA`](#aa) |
|
|
470
|
+
| `id` | [`NId`](#nid) |
|
|
471
|
+
| `isDefault?` | `boolean` |
|
|
472
|
+
| `name` | `string` |
|
|
473
|
+
| `subtitle` | `string` |
|
|
474
|
+
| `url` | `string` |
|
|
475
|
+
|
|
476
|
+
___
|
|
477
|
+
|
|
478
|
+
### Location
|
|
479
|
+
|
|
480
|
+
Ƭ **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`` }
|
|
481
|
+
|
|
482
|
+
An Organization Location
|
|
412
483
|
|
|
413
484
|
___
|
|
414
485
|
|
|
@@ -429,6 +500,44 @@ ___
|
|
|
429
500
|
|
|
430
501
|
___
|
|
431
502
|
|
|
503
|
+
### MId
|
|
504
|
+
|
|
505
|
+
Ƭ **MId**: `StringWithIdentity`<``"MId"``\>
|
|
506
|
+
|
|
507
|
+
A `m_id` is the ID of a Merchant
|
|
508
|
+
|
|
509
|
+
___
|
|
510
|
+
|
|
511
|
+
### Merchant
|
|
512
|
+
|
|
513
|
+
Ƭ **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) }
|
|
514
|
+
|
|
515
|
+
___
|
|
516
|
+
|
|
517
|
+
### MerchantApprovalStatusCode
|
|
518
|
+
|
|
519
|
+
Ƭ **MerchantApprovalStatusCode**: ``"PENDING"`` \| ``"APPROVED"``
|
|
520
|
+
|
|
521
|
+
___
|
|
522
|
+
|
|
523
|
+
### MerchantClassCode
|
|
524
|
+
|
|
525
|
+
Ƭ **MerchantClassCode**: ``"CLASS_1"`` \| ``"CLASS_2"``
|
|
526
|
+
|
|
527
|
+
___
|
|
528
|
+
|
|
529
|
+
### MerchantStatusCode
|
|
530
|
+
|
|
531
|
+
Ƭ **MerchantStatusCode**: ``"ACTIVE"`` \| ``"INACTIVE"``
|
|
532
|
+
|
|
533
|
+
___
|
|
534
|
+
|
|
535
|
+
### MerchantTypeCode
|
|
536
|
+
|
|
537
|
+
Ƭ **MerchantTypeCode**: ``"TYPE_1"`` \| ``"TYPE_2"``
|
|
538
|
+
|
|
539
|
+
___
|
|
540
|
+
|
|
432
541
|
### NId
|
|
433
542
|
|
|
434
543
|
Ƭ **NId**: `StringWithIdentity`<``"NId"``\>
|
|
@@ -451,6 +560,8 @@ ___
|
|
|
451
560
|
|
|
452
561
|
An `o_id` is the ID of an [Organization](#organization)
|
|
453
562
|
|
|
563
|
+
NOTE: Will be deprecated soon. Use CId instead.
|
|
564
|
+
|
|
454
565
|
___
|
|
455
566
|
|
|
456
567
|
### Organization
|
|
@@ -464,11 +575,20 @@ NOTE: this is different to how the schema defines an Organization. **The schema
|
|
|
464
575
|
|
|
465
576
|
| Name | Type |
|
|
466
577
|
| :------ | :------ |
|
|
467
|
-
| `address
|
|
468
|
-
| `
|
|
469
|
-
| `
|
|
470
|
-
| `id` | [`
|
|
578
|
+
| `address?` | `unknown` |
|
|
579
|
+
| `contact_point?` | `Pick`<[`ContactPoint`](#contactpoint), ``"email_address"`` \| ``"id"``\> |
|
|
580
|
+
| `customerUsers` | [`CustomerUser`](#customeruser)[] |
|
|
581
|
+
| `id` | [`CId`](#cid) |
|
|
471
582
|
| `name` | `string` |
|
|
583
|
+
| `orgId` | [`OId`](#oid) |
|
|
584
|
+
|
|
585
|
+
___
|
|
586
|
+
|
|
587
|
+
### PCId
|
|
588
|
+
|
|
589
|
+
Ƭ **PCId**: `StringWithIdentity`<``"PCId"``\>
|
|
590
|
+
|
|
591
|
+
A `pc_id` is the ID of a Party Contact Point
|
|
472
592
|
|
|
473
593
|
___
|
|
474
594
|
|
|
@@ -480,25 +600,65 @@ A `p_id` is the ID of a [Relationship](#relationship)
|
|
|
480
600
|
|
|
481
601
|
___
|
|
482
602
|
|
|
483
|
-
###
|
|
603
|
+
### PKId
|
|
484
604
|
|
|
485
|
-
Ƭ **
|
|
605
|
+
Ƭ **PKId**: `StringWithIdentity`<``"PKId"``\>
|
|
486
606
|
|
|
487
|
-
|
|
607
|
+
A `pk_id` is the ID of an AA's private key
|
|
488
608
|
|
|
489
|
-
|
|
609
|
+
___
|
|
490
610
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
611
|
+
### PLId
|
|
612
|
+
|
|
613
|
+
Ƭ **PLId**: `StringWithIdentity`<``"PLId"``\>
|
|
614
|
+
|
|
615
|
+
A `pl_id` is the ID of a PriceList
|
|
616
|
+
|
|
617
|
+
___
|
|
618
|
+
|
|
619
|
+
### PLLId
|
|
620
|
+
|
|
621
|
+
Ƭ **PLLId**: `StringWithIdentity`<``"PLLId"``\>
|
|
622
|
+
|
|
623
|
+
A `pll_id` is the ID of a PriceListLine/Plan
|
|
624
|
+
|
|
625
|
+
___
|
|
626
|
+
|
|
627
|
+
### PMId
|
|
628
|
+
|
|
629
|
+
Ƭ **PMId**: `StringWithIdentity`<``"PMId"``\>
|
|
630
|
+
|
|
631
|
+
A `pm_id` is the ID of a PaymentMethod
|
|
632
|
+
|
|
633
|
+
___
|
|
634
|
+
|
|
635
|
+
### PRCId
|
|
636
|
+
|
|
637
|
+
Ƭ **PRCId**: `StringWithIdentity`<``"PRCId"``\>
|
|
638
|
+
|
|
639
|
+
A `prc_id` is the ID of a Price
|
|
640
|
+
|
|
641
|
+
___
|
|
642
|
+
|
|
643
|
+
### PRid
|
|
644
|
+
|
|
645
|
+
Ƭ **PRid**: `StringWithIdentity`<``"PRid"``\>
|
|
646
|
+
|
|
647
|
+
A `pr_id` is the ID of a [Party](#party)
|
|
648
|
+
|
|
649
|
+
___
|
|
650
|
+
|
|
651
|
+
### PTId
|
|
652
|
+
|
|
653
|
+
Ƭ **PTId**: `StringWithIdentity`<``"PTId"``\>
|
|
654
|
+
|
|
655
|
+
A `pt_id` is the ID of a PaymentProcessor
|
|
656
|
+
|
|
657
|
+
___
|
|
658
|
+
|
|
659
|
+
### Party
|
|
660
|
+
|
|
661
|
+
Ƭ **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
662
|
|
|
503
663
|
___
|
|
504
664
|
|
|
@@ -521,26 +681,75 @@ ___
|
|
|
521
681
|
|
|
522
682
|
### PartySite
|
|
523
683
|
|
|
524
|
-
Ƭ **PartySite**: `
|
|
684
|
+
Ƭ **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
685
|
|
|
526
686
|
An Organization Site
|
|
527
687
|
|
|
688
|
+
___
|
|
689
|
+
|
|
690
|
+
### PaymentMethod
|
|
691
|
+
|
|
692
|
+
Ƭ **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`` }
|
|
693
|
+
|
|
694
|
+
___
|
|
695
|
+
|
|
696
|
+
### PaymentProcessor
|
|
697
|
+
|
|
698
|
+
Ƭ **PaymentProcessor**: [`CommonFields`](#commonfields)<[`PTId`](#ptid)\> & { `party_id`: [`PRid`](#prid) ; `payment_processor_name`: `string` ; `payment_processor_system`: `string` }
|
|
699
|
+
|
|
700
|
+
___
|
|
701
|
+
|
|
702
|
+
### PermissionType
|
|
703
|
+
|
|
704
|
+
Ƭ **PermissionType**: ``"ADMINS"`` \| ``"VIEWS"`` \| ``"EDITS"`` \| ``"OWNS"``
|
|
705
|
+
|
|
706
|
+
___
|
|
707
|
+
|
|
708
|
+
### PriceList
|
|
709
|
+
|
|
710
|
+
Ƭ **PriceList**: `Object`
|
|
711
|
+
|
|
712
|
+
#### Type declaration
|
|
713
|
+
|
|
714
|
+
| Name | Type |
|
|
715
|
+
| :------ | :------ |
|
|
716
|
+
| `id` | [`PLId`](#plid) |
|
|
717
|
+
| `pcm_price_list_versions?` | [{ `id`: `string` ; `pcm_price_list_lines`: [`PriceListLine`](#pricelistline)[] ; `price_list_version_name`: `string` }] |
|
|
718
|
+
| `price_list_currency` | `string` |
|
|
719
|
+
| `price_list_description?` | `string` |
|
|
720
|
+
| `price_list_description_i18n?` | `string` |
|
|
721
|
+
| `price_list_name` | `string` |
|
|
722
|
+
| `price_list_name_i18n?` | `string` |
|
|
723
|
+
| `price_list_type` | `string` |
|
|
724
|
+
|
|
725
|
+
___
|
|
726
|
+
|
|
727
|
+
### PriceListLine
|
|
728
|
+
|
|
729
|
+
Ƭ **PriceListLine**: `Object`
|
|
730
|
+
|
|
528
731
|
#### Type declaration
|
|
529
732
|
|
|
530
733
|
| Name | Type |
|
|
531
734
|
| :------ | :------ |
|
|
532
|
-
| `
|
|
533
|
-
| `
|
|
534
|
-
| `
|
|
535
|
-
| `
|
|
536
|
-
| `
|
|
537
|
-
| `
|
|
538
|
-
| `
|
|
539
|
-
| `
|
|
540
|
-
| `
|
|
541
|
-
| `
|
|
542
|
-
| `
|
|
543
|
-
| `
|
|
735
|
+
| `id` | [`PLLId`](#pllid) |
|
|
736
|
+
| `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` } |
|
|
737
|
+
| `pcm_prices.amount` | `number` |
|
|
738
|
+
| `pcm_prices.billing_recurrence` | `string` |
|
|
739
|
+
| `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` } |
|
|
740
|
+
| `pcm_prices.gpm_items.id` | `string` |
|
|
741
|
+
| `pcm_prices.gpm_items.item_description` | `string` |
|
|
742
|
+
| `pcm_prices.gpm_items.item_description_i18n` | `string` \| ``null`` |
|
|
743
|
+
| `pcm_prices.gpm_items.item_key` | `string` |
|
|
744
|
+
| `pcm_prices.gpm_items.item_name` | `string` |
|
|
745
|
+
| `pcm_prices.gpm_items.item_name_i18n` | `string` \| ``null`` |
|
|
746
|
+
| `pcm_prices.gpm_items.primary_uom` | `string` |
|
|
747
|
+
| `pcm_prices.id` | [`PRCId`](#prcid) |
|
|
748
|
+
| `pcm_prices.price_currency` | `string` |
|
|
749
|
+
| `pcm_prices.recurring_billing_interval` | `string` \| ``null`` |
|
|
750
|
+
| `pcm_prices.recurring_billing_interval_count` | `number` |
|
|
751
|
+
| `pcm_prices.recurring_billing_scheme` | `string` |
|
|
752
|
+
| `pcm_prices.recurring_billing_usage_type` | `string` |
|
|
544
753
|
|
|
545
754
|
___
|
|
546
755
|
|
|
@@ -602,9 +811,25 @@ ___
|
|
|
602
811
|
|
|
603
812
|
___
|
|
604
813
|
|
|
814
|
+
### SId
|
|
815
|
+
|
|
816
|
+
Ƭ **SId**: `StringWithIdentity`<``"SId"``\>
|
|
817
|
+
|
|
818
|
+
A `s_id` is the ID of a Subscription
|
|
819
|
+
|
|
820
|
+
___
|
|
821
|
+
|
|
822
|
+
### SLId
|
|
823
|
+
|
|
824
|
+
Ƭ **SLId**: `StringWithIdentity`<``"SLId"``\>
|
|
825
|
+
|
|
826
|
+
A `sl_id` is the ID of a SubscriptionLine
|
|
827
|
+
|
|
828
|
+
___
|
|
829
|
+
|
|
605
830
|
### Schema
|
|
606
831
|
|
|
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` }
|
|
832
|
+
Ƭ **Schema**: [`CommonSchemaAttributes`](#commonschemaattributes) & { `clientLocale?`: `string` ; `database?`: { `primary_key`: `string` ; `table`: `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` }
|
|
608
833
|
|
|
609
834
|
Raytio's variant of JSON Schema, as used by the client. It is a modified version
|
|
610
835
|
of what the API returns.
|
|
@@ -626,6 +851,7 @@ ___
|
|
|
626
851
|
| `content?` | `string` | only checkbox uses this prop |
|
|
627
852
|
| `contentEncoding?` | ``"base64"`` | - |
|
|
628
853
|
| `contentMediaType?` | `string` | - |
|
|
854
|
+
| `content_source?` | `string` | determines where an image is sourced from |
|
|
629
855
|
| `default?` | `unknown` | the default value |
|
|
630
856
|
| `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
857
|
| `description?` | `string` | - |
|
|
@@ -634,7 +860,9 @@ ___
|
|
|
634
860
|
| `encrypt_require?` | `boolean` | if true, the user must have encryption enabled to save this data, see #1324 |
|
|
635
861
|
| `enum?` | (`string` \| `number` \| `boolean`)[] | - |
|
|
636
862
|
| `examples?` | `unknown`[] | - |
|
|
863
|
+
| `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
864
|
| `format?` | ``"date"`` \| ``"date-time"`` \| ``"uri"`` | - |
|
|
865
|
+
| `hash_inputs?` | `string` | the input string for a platform_unique_id |
|
|
638
866
|
| `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
867
|
| `items?` | { `properties`: { `[subFieldName: string]`: [`SchemaField`](#schemafield); } ; `type`: [`DataTypes`](#datatypes) } | `items` is used for nested arrays, (while `properties` is used for nested objects) |
|
|
640
868
|
| `items.properties` | { `[subFieldName: string]`: [`SchemaField`](#schemafield); } | - |
|
|
@@ -663,7 +891,7 @@ ___
|
|
|
663
891
|
|
|
664
892
|
### SchemaFieldTag
|
|
665
893
|
|
|
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}'
|
|
894
|
+
Ƭ **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}\` \| ``"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:"`` \| ``"verify:show_if_pending"`` \| ``"special:hide_select_behind_button"`` \| ``"type:capture_geolocation"`` \| ``"type:extract_required"``
|
|
667
895
|
|
|
668
896
|
___
|
|
669
897
|
|
|
@@ -677,7 +905,7 @@ ___
|
|
|
677
905
|
|
|
678
906
|
### SchemaTag
|
|
679
907
|
|
|
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:service_provider"`` \| ``"type:service_offer"`` \| ``"type:marketplace"`` \| ``"type:client_only"`` \| ``"type:globally_unique_field"``
|
|
908
|
+
Ƭ **SchemaTag**: ``"action:experimental_pass_object_store_id"`` \| ``"action:verify"`` \| \`action:display\_qr\_code:${string}:${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"`` \| ``"type:service_provider"`` \| ``"type:service_offer"`` \| ``"type:marketplace"`` \| ``"type:client_only"`` \| ``"type:globally_unique_field"``
|
|
681
909
|
|
|
682
910
|
___
|
|
683
911
|
|
|
@@ -703,6 +931,26 @@ ___
|
|
|
703
931
|
|
|
704
932
|
___
|
|
705
933
|
|
|
934
|
+
### Subscription
|
|
935
|
+
|
|
936
|
+
Ƭ **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`` }
|
|
937
|
+
|
|
938
|
+
___
|
|
939
|
+
|
|
940
|
+
### SubscriptionLine
|
|
941
|
+
|
|
942
|
+
Ƭ **SubscriptionLine**: [`CommonFields`](#commonfields)<[`SLId`](#slid)\> & { `billing_subscription_id`: [`SId`](#sid) ; `metadata`: `string` \| ``null`` ; `price_id`: [`PRCId`](#prcid) ; `subscribed_qty`: `number` }
|
|
943
|
+
|
|
944
|
+
___
|
|
945
|
+
|
|
946
|
+
### TId
|
|
947
|
+
|
|
948
|
+
Ƭ **TId**: `StringWithIdentity`<``"TId"``\>
|
|
949
|
+
|
|
950
|
+
A `t_id` is the ID of a transaction
|
|
951
|
+
|
|
952
|
+
___
|
|
953
|
+
|
|
706
954
|
### UId
|
|
707
955
|
|
|
708
956
|
Ƭ **UId**: `StringWithIdentity`<``"UId"``\>
|
|
@@ -759,7 +1007,7 @@ ___
|
|
|
759
1007
|
|
|
760
1008
|
### VerificationPayload
|
|
761
1009
|
|
|
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?`: [`NId`](#nid) ; `verifier_service_id?`: [`NId`](#nid) ; `verifier_source_id?`: [`NId`](#nid) } & `WithValue` extends ``true`` ? { `value`: `string` \| `number` } : {}
|
|
1010
|
+
Ƭ **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"`` \| ``"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?`: [`NId`](#nid) ; `verifier_service_id?`: [`NId`](#nid) ; `verifier_source_id?`: [`NId`](#nid) } & `WithValue` extends ``true`` ? { `value`: `string` \| `number` } : {}
|
|
763
1011
|
|
|
764
1012
|
#### Type parameters
|
|
765
1013
|
|
|
@@ -782,10 +1030,17 @@ These `n_id`s point to service provider profile objects
|
|
|
782
1030
|
| `dataSourceNId?` | [`NId`](#nid) | - |
|
|
783
1031
|
| `date?` | `Date` | the date which the verification was verified on, or last re-verified on |
|
|
784
1032
|
| `serviceProviderNId?` | [`NId`](#nid) | - |
|
|
1033
|
+
| `verificationTypeId?` | [`GPMId`](#gpmid) | - |
|
|
785
1034
|
| `verifierNId?` | [`NId`](#nid) | - |
|
|
786
1035
|
|
|
787
1036
|
___
|
|
788
1037
|
|
|
1038
|
+
### VerificationType
|
|
1039
|
+
|
|
1040
|
+
Ƭ **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`` }
|
|
1041
|
+
|
|
1042
|
+
___
|
|
1043
|
+
|
|
789
1044
|
### WId
|
|
790
1045
|
|
|
791
1046
|
Ƭ **WId**: `StringWithIdentity`<``"WId"``\>
|
|
@@ -794,6 +1049,14 @@ A `wi_id` is the ID of a [Webhook](#webhook)
|
|
|
794
1049
|
|
|
795
1050
|
___
|
|
796
1051
|
|
|
1052
|
+
### WSId
|
|
1053
|
+
|
|
1054
|
+
Ƭ **WSId**: `StringWithIdentity`<``"WSId"``\>
|
|
1055
|
+
|
|
1056
|
+
A `ws_id` is the ID of a transition
|
|
1057
|
+
|
|
1058
|
+
___
|
|
1059
|
+
|
|
797
1060
|
### Webhook
|
|
798
1061
|
|
|
799
1062
|
Ƭ **Webhook**: `Object`
|