@didit-protocol/sdk-node 2.7.0 → 2.9.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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -771,7 +771,7 @@ interface Application {
|
|
|
771
771
|
/** Internal description for the application (not shown to end users). */
|
|
772
772
|
description?: string | null;
|
|
773
773
|
created_at?: Date;
|
|
774
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
774
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
775
775
|
data_location?: ApplicationDataLocation;
|
|
776
776
|
/** The application's products. Always all three, in this order: `identity`, `transactions`, `authentication`. A new application has `identity` enabled with every module on, and `transactions` and `authentication` disabled. Read-only: a `products` key in a create or update body is ignored. */
|
|
777
777
|
products?: ApplicationProduct[];
|
|
@@ -1126,11 +1126,11 @@ interface ApplicationCredentialsSummary {
|
|
|
1126
1126
|
client_id?: string;
|
|
1127
1127
|
/** Use this as `x-api-key` on every verification API call. New keys start with `sk_live_` (live application) or `sk_test_` (sandbox application), followed by 43 URL-safe characters (letters, digits, `-` and `_`). Keys created before this format have no prefix and keep working unchanged. */
|
|
1128
1128
|
api_key?: string;
|
|
1129
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
1129
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
1130
1130
|
data_location?: ApplicationDataLocation;
|
|
1131
1131
|
}
|
|
1132
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
1133
|
-
type ApplicationDataLocation = "eu" | "au" | "mx" | (string & {});
|
|
1132
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
1133
|
+
type ApplicationDataLocation = "eu" | "au" | "mx" | "ae" | (string & {});
|
|
1134
1134
|
/** One product of an application and its state. Read-only: the application endpoints return it and ignore it in a request body. */
|
|
1135
1135
|
interface ApplicationProduct {
|
|
1136
1136
|
/** `identity` (Identity verification), `transactions` (Transaction monitoring) or `authentication` (Authentication). */
|
|
@@ -10610,7 +10610,7 @@ interface AccountApplicationsCreateParams {
|
|
|
10610
10610
|
privacy_url?: string;
|
|
10611
10611
|
/** Internal description for the application (not shown to end users). */
|
|
10612
10612
|
description?: string;
|
|
10613
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
10613
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
10614
10614
|
data_location?: ApplicationDataLocation;
|
|
10615
10615
|
}
|
|
10616
10616
|
interface AccountApplicationsListParams {
|
|
@@ -10633,7 +10633,7 @@ interface AccountApplicationsUpdateParams {
|
|
|
10633
10633
|
privacy_url?: string;
|
|
10634
10634
|
/** Internal description for the application. */
|
|
10635
10635
|
description?: string;
|
|
10636
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
10636
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
10637
10637
|
data_location?: ApplicationDataLocation;
|
|
10638
10638
|
}
|
|
10639
10639
|
interface AccountLoginParams {
|
|
@@ -23294,7 +23294,7 @@ declare class TokenVerificationError extends DiditError {
|
|
|
23294
23294
|
constructor(reason: TokenVerificationReason, message: string);
|
|
23295
23295
|
}
|
|
23296
23296
|
|
|
23297
|
-
declare const VERSION = "2.
|
|
23297
|
+
declare const VERSION = "2.9.0";
|
|
23298
23298
|
|
|
23299
23299
|
/**
|
|
23300
23300
|
* The canonical JSON of a parsed webhook body: the text `X-Signature-V2` signs
|
package/dist/index.d.ts
CHANGED
|
@@ -771,7 +771,7 @@ interface Application {
|
|
|
771
771
|
/** Internal description for the application (not shown to end users). */
|
|
772
772
|
description?: string | null;
|
|
773
773
|
created_at?: Date;
|
|
774
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
774
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
775
775
|
data_location?: ApplicationDataLocation;
|
|
776
776
|
/** The application's products. Always all three, in this order: `identity`, `transactions`, `authentication`. A new application has `identity` enabled with every module on, and `transactions` and `authentication` disabled. Read-only: a `products` key in a create or update body is ignored. */
|
|
777
777
|
products?: ApplicationProduct[];
|
|
@@ -1126,11 +1126,11 @@ interface ApplicationCredentialsSummary {
|
|
|
1126
1126
|
client_id?: string;
|
|
1127
1127
|
/** Use this as `x-api-key` on every verification API call. New keys start with `sk_live_` (live application) or `sk_test_` (sandbox application), followed by 43 URL-safe characters (letters, digits, `-` and `_`). Keys created before this format have no prefix and keep working unchanged. */
|
|
1128
1128
|
api_key?: string;
|
|
1129
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
1129
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
1130
1130
|
data_location?: ApplicationDataLocation;
|
|
1131
1131
|
}
|
|
1132
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
1133
|
-
type ApplicationDataLocation = "eu" | "au" | "mx" | (string & {});
|
|
1132
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
1133
|
+
type ApplicationDataLocation = "eu" | "au" | "mx" | "ae" | (string & {});
|
|
1134
1134
|
/** One product of an application and its state. Read-only: the application endpoints return it and ignore it in a request body. */
|
|
1135
1135
|
interface ApplicationProduct {
|
|
1136
1136
|
/** `identity` (Identity verification), `transactions` (Transaction monitoring) or `authentication` (Authentication). */
|
|
@@ -10610,7 +10610,7 @@ interface AccountApplicationsCreateParams {
|
|
|
10610
10610
|
privacy_url?: string;
|
|
10611
10611
|
/** Internal description for the application (not shown to end users). */
|
|
10612
10612
|
description?: string;
|
|
10613
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
10613
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
10614
10614
|
data_location?: ApplicationDataLocation;
|
|
10615
10615
|
}
|
|
10616
10616
|
interface AccountApplicationsListParams {
|
|
@@ -10633,7 +10633,7 @@ interface AccountApplicationsUpdateParams {
|
|
|
10633
10633
|
privacy_url?: string;
|
|
10634
10634
|
/** Internal description for the application. */
|
|
10635
10635
|
description?: string;
|
|
10636
|
-
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney)
|
|
10636
|
+
/** Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union. */
|
|
10637
10637
|
data_location?: ApplicationDataLocation;
|
|
10638
10638
|
}
|
|
10639
10639
|
interface AccountLoginParams {
|
|
@@ -23294,7 +23294,7 @@ declare class TokenVerificationError extends DiditError {
|
|
|
23294
23294
|
constructor(reason: TokenVerificationReason, message: string);
|
|
23295
23295
|
}
|
|
23296
23296
|
|
|
23297
|
-
declare const VERSION = "2.
|
|
23297
|
+
declare const VERSION = "2.9.0";
|
|
23298
23298
|
|
|
23299
23299
|
/**
|
|
23300
23300
|
* The canonical JSON of a parsed webhook body: the text `X-Signature-V2` signs
|