@vouchsafe/node 0.1.4 → 0.1.6

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.
Files changed (68) hide show
  1. package/dist/openapi/apis/SmartLookupsApi.d.ts +2 -2
  2. package/dist/openapi/apis/SmartLookupsApi.js +2 -2
  3. package/dist/openapi/apis/TeamApi.d.ts +39 -0
  4. package/dist/openapi/apis/TeamApi.d.ts.map +1 -0
  5. package/dist/openapi/apis/TeamApi.js +120 -0
  6. package/dist/openapi/apis/TeamApi.js.map +1 -0
  7. package/dist/openapi/apis/index.d.ts +1 -0
  8. package/dist/openapi/apis/index.d.ts.map +1 -1
  9. package/dist/openapi/apis/index.js +1 -0
  10. package/dist/openapi/apis/index.js.map +1 -1
  11. package/dist/openapi/models/AddressVerificationReport.d.ts +41 -0
  12. package/dist/openapi/models/AddressVerificationReport.d.ts.map +1 -0
  13. package/dist/openapi/models/AddressVerificationReport.js +57 -0
  14. package/dist/openapi/models/AddressVerificationReport.js.map +1 -0
  15. package/dist/openapi/models/CreateTeamInput.d.ts +58 -0
  16. package/dist/openapi/models/CreateTeamInput.d.ts.map +1 -0
  17. package/dist/openapi/models/CreateTeamInput.js +62 -0
  18. package/dist/openapi/models/CreateTeamInput.js.map +1 -0
  19. package/dist/openapi/models/CreateTeamResponse.d.ts +58 -0
  20. package/dist/openapi/models/CreateTeamResponse.d.ts.map +1 -0
  21. package/dist/openapi/models/CreateTeamResponse.js +66 -0
  22. package/dist/openapi/models/CreateTeamResponse.js.map +1 -0
  23. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts +52 -0
  24. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts.map +1 -0
  25. package/dist/openapi/models/CreateTeamResponseCredentials.js +64 -0
  26. package/dist/openapi/models/CreateTeamResponseCredentials.js.map +1 -0
  27. package/dist/openapi/models/CreditBureauVerificationReport.d.ts +41 -0
  28. package/dist/openapi/models/CreditBureauVerificationReport.d.ts.map +1 -0
  29. package/dist/openapi/models/CreditBureauVerificationReport.js +57 -0
  30. package/dist/openapi/models/CreditBureauVerificationReport.js.map +1 -0
  31. package/dist/openapi/models/FlowTemplate.d.ts +28 -0
  32. package/dist/openapi/models/FlowTemplate.d.ts.map +1 -0
  33. package/dist/openapi/models/FlowTemplate.js +54 -0
  34. package/dist/openapi/models/FlowTemplate.js.map +1 -0
  35. package/dist/openapi/models/GetSmartLookupResponse.d.ts +39 -7
  36. package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
  37. package/dist/openapi/models/GetSmartLookupResponse.js +22 -8
  38. package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
  39. package/dist/openapi/models/Model36EnumsEnvironment.d.ts +26 -0
  40. package/dist/openapi/models/Model36EnumsEnvironment.d.ts.map +1 -0
  41. package/dist/openapi/models/Model36EnumsEnvironment.js +52 -0
  42. package/dist/openapi/models/Model36EnumsEnvironment.js.map +1 -0
  43. package/dist/openapi/models/Reason.d.ts +2 -0
  44. package/dist/openapi/models/Reason.d.ts.map +1 -1
  45. package/dist/openapi/models/Reason.js +3 -1
  46. package/dist/openapi/models/Reason.js.map +1 -1
  47. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts +40 -0
  48. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.d.ts.map +1 -0
  49. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js +56 -0
  50. package/dist/openapi/models/RecordCreditBureauVerificationChecksCheckResult.js.map +1 -0
  51. package/dist/openapi/models/RequestVerificationInput.d.ts +1 -1
  52. package/dist/openapi/models/RequestVerificationResponse.d.ts +6 -0
  53. package/dist/openapi/models/RequestVerificationResponse.d.ts.map +1 -1
  54. package/dist/openapi/models/RequestVerificationResponse.js +2 -0
  55. package/dist/openapi/models/RequestVerificationResponse.js.map +1 -1
  56. package/dist/openapi/models/SmartLookupInput.d.ts +24 -5
  57. package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
  58. package/dist/openapi/models/SmartLookupInput.js +8 -1
  59. package/dist/openapi/models/SmartLookupInput.js.map +1 -1
  60. package/dist/openapi/models/Team.d.ts +79 -0
  61. package/dist/openapi/models/Team.d.ts.map +1 -0
  62. package/dist/openapi/models/Team.js +85 -0
  63. package/dist/openapi/models/Team.js.map +1 -0
  64. package/dist/openapi/models/index.d.ts +9 -2
  65. package/dist/openapi/models/index.d.ts.map +1 -1
  66. package/dist/openapi/models/index.js +9 -2
  67. package/dist/openapi/models/index.js.map +1 -1
  68. package/package.json +1 -1
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CheckResult } from './CheckResult';
13
+ /**
14
+ * Construct a type with a set of properties K of type T
15
+ * @export
16
+ * @interface RecordCreditBureauVerificationChecksCheckResult
17
+ */
18
+ export interface RecordCreditBureauVerificationChecksCheckResult {
19
+ /**
20
+ *
21
+ * @type {CheckResult}
22
+ * @memberof RecordCreditBureauVerificationChecksCheckResult
23
+ */
24
+ IDENTITY_MATCH: CheckResult;
25
+ /**
26
+ *
27
+ * @type {CheckResult}
28
+ * @memberof RecordCreditBureauVerificationChecksCheckResult
29
+ */
30
+ RESIDENCY_MATCH: CheckResult;
31
+ }
32
+ /**
33
+ * Check if a given object implements the RecordCreditBureauVerificationChecksCheckResult interface.
34
+ */
35
+ export declare function instanceOfRecordCreditBureauVerificationChecksCheckResult(value: object): value is RecordCreditBureauVerificationChecksCheckResult;
36
+ export declare function RecordCreditBureauVerificationChecksCheckResultFromJSON(json: any): RecordCreditBureauVerificationChecksCheckResult;
37
+ export declare function RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordCreditBureauVerificationChecksCheckResult;
38
+ export declare function RecordCreditBureauVerificationChecksCheckResultToJSON(json: any): RecordCreditBureauVerificationChecksCheckResult;
39
+ export declare function RecordCreditBureauVerificationChecksCheckResultToJSONTyped(value?: RecordCreditBureauVerificationChecksCheckResult | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=RecordCreditBureauVerificationChecksCheckResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCreditBureauVerificationChecksCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RecordCreditBureauVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;;;OAIG;IACH,cAAc,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,eAAe,EAAE,WAAW,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,yDAAyD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+CAA+C,CAIjJ;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,GAAG,+CAA+C,CAElI;AAED,wBAAgB,4DAA4D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+CAA+C,CASrK;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,GAAG,+CAA+C,CAEhI;AAED,wBAAgB,0DAA0D,CAAC,KAAK,CAAC,EAAE,+CAA+C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpL"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRecordCreditBureauVerificationChecksCheckResult = instanceOfRecordCreditBureauVerificationChecksCheckResult;
17
+ exports.RecordCreditBureauVerificationChecksCheckResultFromJSON = RecordCreditBureauVerificationChecksCheckResultFromJSON;
18
+ exports.RecordCreditBureauVerificationChecksCheckResultFromJSONTyped = RecordCreditBureauVerificationChecksCheckResultFromJSONTyped;
19
+ exports.RecordCreditBureauVerificationChecksCheckResultToJSON = RecordCreditBureauVerificationChecksCheckResultToJSON;
20
+ exports.RecordCreditBureauVerificationChecksCheckResultToJSONTyped = RecordCreditBureauVerificationChecksCheckResultToJSONTyped;
21
+ const CheckResult_1 = require("./CheckResult");
22
+ /**
23
+ * Check if a given object implements the RecordCreditBureauVerificationChecksCheckResult interface.
24
+ */
25
+ function instanceOfRecordCreditBureauVerificationChecksCheckResult(value) {
26
+ if (!('IDENTITY_MATCH' in value) || value['IDENTITY_MATCH'] === undefined)
27
+ return false;
28
+ if (!('RESIDENCY_MATCH' in value) || value['RESIDENCY_MATCH'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function RecordCreditBureauVerificationChecksCheckResultFromJSON(json) {
33
+ return RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json, false);
34
+ }
35
+ function RecordCreditBureauVerificationChecksCheckResultFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'IDENTITY_MATCH': (0, CheckResult_1.CheckResultFromJSON)(json['IDENTITY_MATCH']),
41
+ 'RESIDENCY_MATCH': (0, CheckResult_1.CheckResultFromJSON)(json['RESIDENCY_MATCH']),
42
+ };
43
+ }
44
+ function RecordCreditBureauVerificationChecksCheckResultToJSON(json) {
45
+ return RecordCreditBureauVerificationChecksCheckResultToJSONTyped(json, false);
46
+ }
47
+ function RecordCreditBureauVerificationChecksCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'IDENTITY_MATCH': (0, CheckResult_1.CheckResultToJSON)(value['IDENTITY_MATCH']),
53
+ 'RESIDENCY_MATCH': (0, CheckResult_1.CheckResultToJSON)(value['RESIDENCY_MATCH']),
54
+ };
55
+ }
56
+ //# sourceMappingURL=RecordCreditBureauVerificationChecksCheckResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCreditBureauVerificationChecksCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RecordCreditBureauVerificationChecksCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkCH,8HAIC;AAED,0HAEC;AAED,oIASC;AAED,sHAEC;AAED,gIAUC;AAjED,+CAKuB;AAsBvB;;GAEG;AACH,SAAgB,yDAAyD,CAAC,KAAa;IACnF,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uDAAuD,CAAC,IAAS;IAC7E,OAAO,4DAA4D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrF,CAAC;AAED,SAAgB,4DAA4D,CAAC,IAAS,EAAE,mBAA4B;IAChH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7D,iBAAiB,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAClE,CAAC;AACN,CAAC;AAED,SAAgB,qDAAqD,CAAC,IAAS;IAC3E,OAAO,0DAA0D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnF,CAAC;AAED,SAAgB,0DAA0D,CAAC,KAA8D,EAAE,sBAA+B,KAAK;IAC3K,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,gBAAgB,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAC5D,iBAAiB,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KACjE,CAAC;AACN,CAAC"}
@@ -46,7 +46,7 @@ export interface RequestVerificationInput {
46
46
  */
47
47
  postcode?: string;
48
48
  /**
49
- * The user's date of birth, if you have it
49
+ * The user's date of birth, if you have it. Format as YYYY-MM-DD or ISO 8601
50
50
  * @type {string}
51
51
  * @memberof RequestVerificationInput
52
52
  */
@@ -27,6 +27,12 @@ export interface RequestVerificationResponse {
27
27
  * @memberof RequestVerificationResponse
28
28
  */
29
29
  id: string;
30
+ /**
31
+ * The flow it belongs to
32
+ * @type {string}
33
+ * @memberof RequestVerificationResponse
34
+ */
35
+ workflow_id?: string;
30
36
  /**
31
37
  * When the user will stop getting reminders
32
38
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"RequestVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAU7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5I"}
1
+ {"version":3,"file":"RequestVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAW7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5I"}
@@ -40,6 +40,7 @@ function RequestVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return {
41
41
  'url': json['url'],
42
42
  'id': json['id'],
43
+ 'workflow_id': json['workflow_id'] == null ? undefined : json['workflow_id'],
43
44
  'expires_at': json['expires_at'],
44
45
  };
45
46
  }
@@ -53,6 +54,7 @@ function RequestVerificationResponseToJSONTyped(value, ignoreDiscriminator = fal
53
54
  return {
54
55
  'url': value['url'],
55
56
  'id': value['id'],
57
+ 'workflow_id': value['workflow_id'],
56
58
  'expires_at': value['expires_at'],
57
59
  };
58
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RequestVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,sFAKC;AAED,kFAEC;AAED,4FAUC;AAED,8EAEC;AAED,wFAWC;AAzCD;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACnI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"RequestVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,sFAKC;AAED,kFAEC;AAED,4FAWC;AAED,8EAEC;AAED,wFAYC;AA3CD;;GAE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K,CAAC,IAAI,CAAC;QACjB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -16,31 +16,49 @@
16
16
  */
17
17
  export interface SmartLookupInput {
18
18
  /**
19
- * Should be taken from GET /postcode endpoint
19
+ * (required) - Should be taken from GET /postcode endpoint
20
20
  * @type {string}
21
21
  * @memberof SmartLookupInput
22
22
  */
23
23
  first_line_of_address: string;
24
24
  /**
25
- *
25
+ * (required) - Postcode used in GET /postcode
26
26
  * @type {string}
27
27
  * @memberof SmartLookupInput
28
28
  */
29
29
  postcode: string;
30
30
  /**
31
- *
31
+ * (required) — Given name(s)
32
32
  * @type {string}
33
33
  * @memberof SmartLookupInput
34
34
  */
35
35
  first_name: string;
36
36
  /**
37
- *
37
+ * (required) — Family name
38
38
  * @type {string}
39
39
  * @memberof SmartLookupInput
40
40
  */
41
41
  last_name: string;
42
42
  /**
43
- * Experimental, other checks coming soon
43
+ * (optional) Email address
44
+ * @type {string}
45
+ * @memberof SmartLookupInput
46
+ */
47
+ email?: string;
48
+ /**
49
+ * (optional) — Phone number
50
+ * @type {string}
51
+ * @memberof SmartLookupInput
52
+ */
53
+ phone?: string;
54
+ /**
55
+ * (conditionally required) — Required when checks includes CreditBureau; otherwise optional. Format as YYYY-MM-DD or ISO 8601
56
+ * @type {string}
57
+ * @memberof SmartLookupInput
58
+ */
59
+ date_of_birth?: string;
60
+ /**
61
+ * (required) - Experimental, other checks coming soon
44
62
  * @type {Array<string>}
45
63
  * @memberof SmartLookupInput
46
64
  */
@@ -51,6 +69,7 @@ export interface SmartLookupInput {
51
69
  */
52
70
  export declare const SmartLookupInputChecksEnum: {
53
71
  readonly Address: "Address";
72
+ readonly CreditBureau: "CreditBureau";
54
73
  };
55
74
  export type SmartLookupInputChecksEnum = typeof SmartLookupInputChecksEnum[keyof typeof SmartLookupInputChecksEnum];
56
75
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SmartLookupInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAYvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAatH"}
1
+ {"version":3,"file":"SmartLookupInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAevG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBtH"}
@@ -23,7 +23,8 @@ exports.SmartLookupInputToJSONTyped = SmartLookupInputToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.SmartLookupInputChecksEnum = {
26
- Address: 'Address'
26
+ Address: 'Address',
27
+ CreditBureau: 'CreditBureau'
27
28
  };
28
29
  /**
29
30
  * Check if a given object implements the SmartLookupInput interface.
@@ -53,6 +54,9 @@ function SmartLookupInputFromJSONTyped(json, ignoreDiscriminator) {
53
54
  'postcode': json['postcode'],
54
55
  'first_name': json['first_name'],
55
56
  'last_name': json['last_name'],
57
+ 'email': json['email'] == null ? undefined : json['email'],
58
+ 'phone': json['phone'] == null ? undefined : json['phone'],
59
+ 'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
56
60
  'checks': json['checks'],
57
61
  };
58
62
  }
@@ -68,6 +72,9 @@ function SmartLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
68
72
  'postcode': value['postcode'],
69
73
  'first_name': value['first_name'],
70
74
  'last_name': value['last_name'],
75
+ 'email': value['email'],
76
+ 'phone': value['phone'],
77
+ 'date_of_birth': value['date_of_birth'],
71
78
  'checks': value['checks'],
72
79
  };
73
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsDH,gEAOC;AAED,4DAEC;AAED,sEAYC;AAED,wDAEC;AAED,kEAaC;AAxDD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,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,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Vouchsafe API docs
3
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ * Contact: help@vouchsafe.id
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Team
16
+ */
17
+ export interface Team {
18
+ /**
19
+ * The client ID of the team, as shown in the dashboard
20
+ * @type {string}
21
+ * @memberof Team
22
+ */
23
+ id: string;
24
+ /**
25
+ * The name of the team
26
+ * @type {string}
27
+ * @memberof Team
28
+ */
29
+ name: string;
30
+ /**
31
+ * The public name of the team, shown in end-user facing screens and communications. If set, overrides the name.
32
+ * @type {string}
33
+ * @memberof Team
34
+ */
35
+ public_name: string;
36
+ /**
37
+ * Which plan is the team on?
38
+ * @type {string}
39
+ * @memberof Team
40
+ */
41
+ plan: TeamPlanEnum;
42
+ /**
43
+ * Path to the team's logo image
44
+ * @type {string}
45
+ * @memberof Team
46
+ */
47
+ logo_url: string;
48
+ /**
49
+ * When the team's details were last changed, formatted as an ISO 8601 string
50
+ * @type {string}
51
+ * @memberof Team
52
+ */
53
+ updated_at: string;
54
+ /**
55
+ * When the team was created, formatted as an ISO 8601 string
56
+ * @type {string}
57
+ * @memberof Team
58
+ */
59
+ created_at: string;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const TeamPlanEnum: {
65
+ readonly Trial: "Trial";
66
+ readonly Payg: "PAYG";
67
+ readonly Flex: "Flex";
68
+ readonly Enterprise: "Enterprise";
69
+ };
70
+ export type TeamPlanEnum = typeof TeamPlanEnum[keyof typeof TeamPlanEnum];
71
+ /**
72
+ * Check if a given object implements the Team interface.
73
+ */
74
+ export declare function instanceOfTeam(value: object): value is Team;
75
+ export declare function TeamFromJSON(json: any): Team;
76
+ export declare function TeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): Team;
77
+ export declare function TeamToJSON(json: any): Team;
78
+ export declare function TeamToJSONTyped(value?: Team | null, ignoreDiscriminator?: boolean): any;
79
+ //# sourceMappingURL=Team.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Team.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Team.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG1E;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAS3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAc/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe9F"}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vouchsafe API docs
6
+ * Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ * Contact: help@vouchsafe.id
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TeamPlanEnum = void 0;
17
+ exports.instanceOfTeam = instanceOfTeam;
18
+ exports.TeamFromJSON = TeamFromJSON;
19
+ exports.TeamFromJSONTyped = TeamFromJSONTyped;
20
+ exports.TeamToJSON = TeamToJSON;
21
+ exports.TeamToJSONTyped = TeamToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.TeamPlanEnum = {
26
+ Trial: 'Trial',
27
+ Payg: 'PAYG',
28
+ Flex: 'Flex',
29
+ Enterprise: 'Enterprise'
30
+ };
31
+ /**
32
+ * Check if a given object implements the Team interface.
33
+ */
34
+ function instanceOfTeam(value) {
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('public_name' in value) || value['public_name'] === undefined)
40
+ return false;
41
+ if (!('plan' in value) || value['plan'] === undefined)
42
+ return false;
43
+ if (!('logo_url' in value) || value['logo_url'] === undefined)
44
+ return false;
45
+ if (!('updated_at' in value) || value['updated_at'] === undefined)
46
+ return false;
47
+ if (!('created_at' in value) || value['created_at'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function TeamFromJSON(json) {
52
+ return TeamFromJSONTyped(json, false);
53
+ }
54
+ function TeamFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'id': json['id'],
60
+ 'name': json['name'],
61
+ 'public_name': json['public_name'],
62
+ 'plan': json['plan'],
63
+ 'logo_url': json['logo_url'],
64
+ 'updated_at': json['updated_at'],
65
+ 'created_at': json['created_at'],
66
+ };
67
+ }
68
+ function TeamToJSON(json) {
69
+ return TeamToJSONTyped(json, false);
70
+ }
71
+ function TeamToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'id': value['id'],
77
+ 'name': value['name'],
78
+ 'public_name': value['public_name'],
79
+ 'plan': value['plan'],
80
+ 'logo_url': value['logo_url'],
81
+ 'updated_at': value['updated_at'],
82
+ 'created_at': value['created_at'],
83
+ };
84
+ }
85
+ //# sourceMappingURL=Team.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Team.js","sourceRoot":"","sources":["../../../src/openapi/models/Team.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAqEH,wCASC;AAED,oCAEC;AAED,8CAcC;AAED,gCAEC;AAED,0CAeC;AAjED;;GAEG;AACU,QAAA,YAAY,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;CAClB,CAAC;AAIX;;GAEG;AACH,SAAgB,cAAc,CAAC,KAAa;IACxC,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAA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AAI,EAAE,KAAK,CAAC,CAAC;AACxC,CAAC;AAED,SAAgB,eAAe,CAAC,KAAmB,EAAE,sBAA+B,KAAK;IACrF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -1,18 +1,25 @@
1
+ export * from './AddressVerificationReport';
1
2
  export * from './ApiErrorResponse';
2
3
  export * from './AuthenticateInput';
3
4
  export * from './AuthenticateResponse';
4
5
  export * from './CheckResult';
5
6
  export * from './CheckState';
7
+ export * from './CreateTeamInput';
8
+ export * from './CreateTeamResponse';
9
+ export * from './CreateTeamResponseCredentials';
10
+ export * from './CreditBureauVerificationReport';
6
11
  export * from './Flow';
12
+ export * from './FlowTemplate';
7
13
  export * from './GetSmartLookupResponse';
8
- export * from './Model36EnumsBackgroundCheck';
14
+ export * from './Model36EnumsEnvironment';
9
15
  export * from './PostcodeResponse';
10
16
  export * from './Reason';
11
17
  export * from './RecordAddressVerificationChecksCheckResult';
12
- export * from './Report';
18
+ export * from './RecordCreditBureauVerificationChecksCheckResult';
13
19
  export * from './RequestVerificationInput';
14
20
  export * from './RequestVerificationResponse';
15
21
  export * from './SmartLookupInput';
16
22
  export * from './Status';
23
+ export * from './Team';
17
24
  export * from './Verification';
18
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
@@ -16,21 +16,28 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./AddressVerificationReport"), exports);
19
20
  __exportStar(require("./ApiErrorResponse"), exports);
20
21
  __exportStar(require("./AuthenticateInput"), exports);
21
22
  __exportStar(require("./AuthenticateResponse"), exports);
22
23
  __exportStar(require("./CheckResult"), exports);
23
24
  __exportStar(require("./CheckState"), exports);
25
+ __exportStar(require("./CreateTeamInput"), exports);
26
+ __exportStar(require("./CreateTeamResponse"), exports);
27
+ __exportStar(require("./CreateTeamResponseCredentials"), exports);
28
+ __exportStar(require("./CreditBureauVerificationReport"), exports);
24
29
  __exportStar(require("./Flow"), exports);
30
+ __exportStar(require("./FlowTemplate"), exports);
25
31
  __exportStar(require("./GetSmartLookupResponse"), exports);
26
- __exportStar(require("./Model36EnumsBackgroundCheck"), exports);
32
+ __exportStar(require("./Model36EnumsEnvironment"), exports);
27
33
  __exportStar(require("./PostcodeResponse"), exports);
28
34
  __exportStar(require("./Reason"), exports);
29
35
  __exportStar(require("./RecordAddressVerificationChecksCheckResult"), exports);
30
- __exportStar(require("./Report"), exports);
36
+ __exportStar(require("./RecordCreditBureauVerificationChecksCheckResult"), exports);
31
37
  __exportStar(require("./RequestVerificationInput"), exports);
32
38
  __exportStar(require("./RequestVerificationResponse"), exports);
33
39
  __exportStar(require("./SmartLookupInput"), exports);
34
40
  __exportStar(require("./Status"), exports);
41
+ __exportStar(require("./Team"), exports);
35
42
  __exportStar(require("./Verification"), exports);
36
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,yCAAuB;AACvB,2DAAyC;AACzC,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2CAAyB;AACzB,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8DAA4C;AAC5C,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,mEAAiD;AACjD,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,oFAAkE;AAClE,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vouchsafe/node",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Official TypeScript and Node.js library for the Vouchsafe identity platform. Use it for easy KYC checks, identity verification, remote right-to-work and more.",
5
5
  "keywords": [
6
6
  "vouchsafe",