rebilly-js-sdk 50.1.0 → 50.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [50.2.0](https://github.com/Rebilly/rebilly/compare/js-sdk-v50.1.0...js-sdk-v50.2.0) (2023-04-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **js-sdk:** Add AML settings API ([#152](https://github.com/Rebilly/rebilly/issues/152)) ([28e638a](https://github.com/Rebilly/rebilly/commit/28e638acbc9e5d7e41012cd40d2a95d06a3501d2))
|
|
7
|
+
|
|
1
8
|
## [50.1.0](https://github.com/Rebilly/rebilly/compare/js-sdk-v50.0.0...js-sdk-v50.1.0) (2023-04-19)
|
|
2
9
|
|
|
3
10
|
|
package/dist/rebilly-js-sdk.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ declare module rebilly {
|
|
|
21
21
|
type PostAmlCheckReviewResponse = operations['PostAmlCheckReview']['responses']['201']['content']['application/json']
|
|
22
22
|
type PostAmlCheckReviewResponsePromise = Promise<{fields: PostAmlCheckReviewResponse}>
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
type GetAmlSettingsResponse = operations['GetAmlSettings']['responses']['200']['content']['application/json']
|
|
26
|
+
type GetAmlSettingsResponsePromise = Promise<{fields: GetAmlSettingsResponse}>
|
|
27
|
+
type PutAmlSettingsRequest = operations['PutAmlSettings']['requestBody']['content']['application/json']
|
|
28
|
+
type PutAmlSettingsResponse = operations['PutAmlSettings']['responses']['201']['content']['application/json']
|
|
29
|
+
type PutAmlSettingsResponsePromise = Promise<{fields: PutAmlSettingsResponse}>
|
|
30
|
+
|
|
24
31
|
type GetAttachmentCollectionRequest = operations['GetAttachmentCollection']['parameters']["query"] & (operations['GetAttachmentCollection']['parameters'] extends {path: {}} ? operations['GetAttachmentCollection']['parameters']["path"] : {})
|
|
25
32
|
|
|
26
33
|
type GetAttachmentCollectionResponse = operations['GetAttachmentCollection']['responses']['200']['content']['application/json'][0]
|
|
@@ -2187,6 +2194,12 @@ export interface corePaths {
|
|
|
2187
2194
|
};
|
|
2188
2195
|
};
|
|
2189
2196
|
};
|
|
2197
|
+
"/aml-settings": {
|
|
2198
|
+
/** Retrieves AML settings. */
|
|
2199
|
+
get: operations["GetAmlSettings"];
|
|
2200
|
+
/** Updates AML settings. */
|
|
2201
|
+
put: operations["PutAmlSettings"];
|
|
2202
|
+
};
|
|
2190
2203
|
"/attachments": {
|
|
2191
2204
|
/**
|
|
2192
2205
|
* Retrieves a list of attachments. You may sort attachments by: `id`,
|
|
@@ -4132,6 +4145,69 @@ export interface coreComponents {
|
|
|
4132
4145
|
message?: string;
|
|
4133
4146
|
}[];
|
|
4134
4147
|
};
|
|
4148
|
+
/** Degree of confidence to assign. */
|
|
4149
|
+
AmlConfidence: ("weak" | "medium" | "strong" | "very-strong") | null;
|
|
4150
|
+
/** Confidence settings. */
|
|
4151
|
+
AmlSettingsConfidence: {
|
|
4152
|
+
/** No date of birth with an exact match on the name. */
|
|
4153
|
+
noDobExactMatch?: {
|
|
4154
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4155
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4156
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4157
|
+
};
|
|
4158
|
+
/** No date of birth with a fuzzy match on the name. */
|
|
4159
|
+
noDobInexactMatch?: {
|
|
4160
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4161
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4162
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4163
|
+
};
|
|
4164
|
+
/** No date of birth with a weak fuzzy match on the name. */
|
|
4165
|
+
noDobWeakMatch?: {
|
|
4166
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4167
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4168
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4169
|
+
};
|
|
4170
|
+
/** Matching date of birth with an exact match on the name. */
|
|
4171
|
+
dobExactMatch?: {
|
|
4172
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4173
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4174
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4175
|
+
};
|
|
4176
|
+
/** Matching date of birth with a fuzzy match on the name. */
|
|
4177
|
+
dobInexactMatch?: {
|
|
4178
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4179
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4180
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4181
|
+
};
|
|
4182
|
+
/** Matching year of birth with an exact match on the name. */
|
|
4183
|
+
yobExactMatch?: {
|
|
4184
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4185
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4186
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4187
|
+
};
|
|
4188
|
+
/** Matching year of birth with a fuzzy match on the name. */
|
|
4189
|
+
yobInexactMatch?: {
|
|
4190
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4191
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4192
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4193
|
+
};
|
|
4194
|
+
/** Near matching year of birth with an exact match on the name. */
|
|
4195
|
+
inexactYobExactMatch?: {
|
|
4196
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4197
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4198
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4199
|
+
};
|
|
4200
|
+
/** Near matching year of birth with a fuzzy match on the name. */
|
|
4201
|
+
inexactYobInexactMatch?: {
|
|
4202
|
+
matchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4203
|
+
mismatchingCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4204
|
+
noCountry?: coreComponents["schemas"]["AmlConfidence"];
|
|
4205
|
+
};
|
|
4206
|
+
};
|
|
4207
|
+
/** Settings for AML checking. */
|
|
4208
|
+
AmlSettings: {
|
|
4209
|
+
confidence?: coreComponents["schemas"]["AmlSettingsConfidence"];
|
|
4210
|
+
};
|
|
4135
4211
|
Attachment: {
|
|
4136
4212
|
id?: coreComponents["schemas"]["ResourceId"];
|
|
4137
4213
|
/** ID of the linked file object. */
|
|
@@ -11756,6 +11832,47 @@ export interface operations {
|
|
|
11756
11832
|
};
|
|
11757
11833
|
};
|
|
11758
11834
|
};
|
|
11835
|
+
/** Retrieves AML settings. */
|
|
11836
|
+
GetAmlSettings: {
|
|
11837
|
+
responses: {
|
|
11838
|
+
/** AML settings retrieved. */
|
|
11839
|
+
200: {
|
|
11840
|
+
content: {
|
|
11841
|
+
"application/json": coreComponents["schemas"]["AmlSettings"];
|
|
11842
|
+
};
|
|
11843
|
+
};
|
|
11844
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
11845
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
11846
|
+
404: coreComponents["responses"]["NotFound"];
|
|
11847
|
+
};
|
|
11848
|
+
};
|
|
11849
|
+
/** Updates AML settings. */
|
|
11850
|
+
PutAmlSettings: {
|
|
11851
|
+
responses: {
|
|
11852
|
+
/** AML settings updated. */
|
|
11853
|
+
200: {
|
|
11854
|
+
content: {
|
|
11855
|
+
"application/json": coreComponents["schemas"]["AmlSettings"];
|
|
11856
|
+
};
|
|
11857
|
+
};
|
|
11858
|
+
/** AML settings created. */
|
|
11859
|
+
201: {
|
|
11860
|
+
headers: {};
|
|
11861
|
+
content: {
|
|
11862
|
+
"application/json": coreComponents["schemas"]["AmlSettings"];
|
|
11863
|
+
};
|
|
11864
|
+
};
|
|
11865
|
+
401: coreComponents["responses"]["Unauthorized"];
|
|
11866
|
+
403: coreComponents["responses"]["Forbidden"];
|
|
11867
|
+
404: coreComponents["responses"]["NotFound"];
|
|
11868
|
+
};
|
|
11869
|
+
/** Settings for AML searches. */
|
|
11870
|
+
requestBody: {
|
|
11871
|
+
content: {
|
|
11872
|
+
"application/json": coreComponents["schemas"]["AmlSettings"];
|
|
11873
|
+
};
|
|
11874
|
+
};
|
|
11875
|
+
};
|
|
11759
11876
|
/**
|
|
11760
11877
|
* Retrieves a list of attachments. You may sort attachments by: `id`,
|
|
11761
11878
|
* `name`, `relatedId`, `relatedType`, `fileId`, `createdTime`,
|
|
@@ -25220,6 +25337,8 @@ export interface usersComponents {
|
|
|
25220
25337
|
| "SPORTS_BETTING"
|
|
25221
25338
|
| "DIGITAL_REMITTANCE"
|
|
25222
25339
|
| "E_SPORTS";
|
|
25340
|
+
/** Specifies whether to use One-Click Payments. */
|
|
25341
|
+
useDirectDeposit: boolean;
|
|
25223
25342
|
};
|
|
25224
25343
|
};
|
|
25225
25344
|
/** Paramount gateway configuration. */
|
|
@@ -27238,7 +27357,7 @@ export interface usersComponents {
|
|
|
27238
27357
|
/** User's last name. */
|
|
27239
27358
|
lastName?: string;
|
|
27240
27359
|
/** User's business phone number. */
|
|
27241
|
-
businessPhone?: string;
|
|
27360
|
+
businessPhone?: string | null;
|
|
27242
27361
|
/** User's mobile phone number. */
|
|
27243
27362
|
mobilePhone?: string | null;
|
|
27244
27363
|
/** Organization memberships. */
|
|
@@ -27390,7 +27509,7 @@ export interface usersComponents {
|
|
|
27390
27509
|
/** User's last name. */
|
|
27391
27510
|
lastName: string;
|
|
27392
27511
|
/** User's business phone number. */
|
|
27393
|
-
businessPhone?: string;
|
|
27512
|
+
businessPhone?: string | null;
|
|
27394
27513
|
/** User's mobile phone number. */
|
|
27395
27514
|
mobilePhone?: string | null;
|
|
27396
27515
|
/**
|
|
@@ -40284,6 +40403,16 @@ declare module "resources/aml-resource" {
|
|
|
40284
40403
|
}): rebilly.GetAmlHitResponsePromise;
|
|
40285
40404
|
};
|
|
40286
40405
|
}
|
|
40406
|
+
declare module "resources/aml-settings-resource" {
|
|
40407
|
+
export default function AmlSettingsResource({ apiHandler }: {
|
|
40408
|
+
apiHandler: any;
|
|
40409
|
+
}): {
|
|
40410
|
+
getAmlSettings(): rebilly.GetAmlSettingsResponsePromise;
|
|
40411
|
+
putAmlSettings({ data }: {
|
|
40412
|
+
data: any;
|
|
40413
|
+
}): rebilly.PutAmlSettingsResponsePromise;
|
|
40414
|
+
};
|
|
40415
|
+
}
|
|
40287
40416
|
declare module "resources/api-keys-resource" {
|
|
40288
40417
|
export default function ApiKeysResource({ apiHandler }: {
|
|
40289
40418
|
apiHandler: any;
|
|
@@ -41992,6 +42121,12 @@ declare module "resources/api-instance" {
|
|
|
41992
42121
|
country?: any;
|
|
41993
42122
|
}): rebilly.GetAmlHitResponsePromise;
|
|
41994
42123
|
};
|
|
42124
|
+
amlSettings: {
|
|
42125
|
+
getAmlSettings(): rebilly.GetAmlSettingsResponsePromise;
|
|
42126
|
+
putAmlSettings({ data }: {
|
|
42127
|
+
data: any;
|
|
42128
|
+
}): rebilly.PutAmlSettingsResponsePromise;
|
|
42129
|
+
};
|
|
41995
42130
|
apiKeys: {
|
|
41996
42131
|
getAll({ limit, offset, sort }?: {
|
|
41997
42132
|
limit?: number;
|