@vouchsafe/node 0.1.3 → 0.1.5

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 (56) hide show
  1. package/README.md +6 -0
  2. package/dist/VouchsafeClient.d.ts +5 -0
  3. package/dist/VouchsafeClient.d.ts.map +1 -1
  4. package/dist/VouchsafeClient.js +8 -0
  5. package/dist/VouchsafeClient.js.map +1 -1
  6. package/dist/openapi/apis/FlowsApi.d.ts +38 -0
  7. package/dist/openapi/apis/FlowsApi.d.ts.map +1 -0
  8. package/dist/openapi/apis/FlowsApi.js +120 -0
  9. package/dist/openapi/apis/FlowsApi.js.map +1 -0
  10. package/dist/openapi/apis/SmartLookupsApi.d.ts +2 -2
  11. package/dist/openapi/apis/SmartLookupsApi.js +2 -2
  12. package/dist/openapi/apis/TeamApi.d.ts +39 -0
  13. package/dist/openapi/apis/TeamApi.d.ts.map +1 -0
  14. package/dist/openapi/apis/TeamApi.js +120 -0
  15. package/dist/openapi/apis/TeamApi.js.map +1 -0
  16. package/dist/openapi/apis/index.d.ts +2 -0
  17. package/dist/openapi/apis/index.d.ts.map +1 -1
  18. package/dist/openapi/apis/index.js +2 -0
  19. package/dist/openapi/apis/index.js.map +1 -1
  20. package/dist/openapi/models/CreateTeamInput.d.ts +58 -0
  21. package/dist/openapi/models/CreateTeamInput.d.ts.map +1 -0
  22. package/dist/openapi/models/CreateTeamInput.js +62 -0
  23. package/dist/openapi/models/CreateTeamInput.js.map +1 -0
  24. package/dist/openapi/models/CreateTeamResponse.d.ts +58 -0
  25. package/dist/openapi/models/CreateTeamResponse.d.ts.map +1 -0
  26. package/dist/openapi/models/CreateTeamResponse.js +66 -0
  27. package/dist/openapi/models/CreateTeamResponse.js.map +1 -0
  28. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts +52 -0
  29. package/dist/openapi/models/CreateTeamResponseCredentials.d.ts.map +1 -0
  30. package/dist/openapi/models/CreateTeamResponseCredentials.js +64 -0
  31. package/dist/openapi/models/CreateTeamResponseCredentials.js.map +1 -0
  32. package/dist/openapi/models/Flow.d.ts +64 -0
  33. package/dist/openapi/models/Flow.d.ts.map +1 -0
  34. package/dist/openapi/models/Flow.js +67 -0
  35. package/dist/openapi/models/Flow.js.map +1 -0
  36. package/dist/openapi/models/FlowTemplate.d.ts +28 -0
  37. package/dist/openapi/models/FlowTemplate.d.ts.map +1 -0
  38. package/dist/openapi/models/FlowTemplate.js +54 -0
  39. package/dist/openapi/models/FlowTemplate.js.map +1 -0
  40. package/dist/openapi/models/Model36EnumsEnvironment.d.ts +26 -0
  41. package/dist/openapi/models/Model36EnumsEnvironment.d.ts.map +1 -0
  42. package/dist/openapi/models/Model36EnumsEnvironment.js +52 -0
  43. package/dist/openapi/models/Model36EnumsEnvironment.js.map +1 -0
  44. package/dist/openapi/models/RequestVerificationResponse.d.ts +6 -0
  45. package/dist/openapi/models/RequestVerificationResponse.d.ts.map +1 -1
  46. package/dist/openapi/models/RequestVerificationResponse.js +2 -0
  47. package/dist/openapi/models/RequestVerificationResponse.js.map +1 -1
  48. package/dist/openapi/models/Team.d.ts +79 -0
  49. package/dist/openapi/models/Team.d.ts.map +1 -0
  50. package/dist/openapi/models/Team.js +85 -0
  51. package/dist/openapi/models/Team.js.map +1 -0
  52. package/dist/openapi/models/index.d.ts +7 -0
  53. package/dist/openapi/models/index.d.ts.map +1 -1
  54. package/dist/openapi/models/index.js +7 -0
  55. package/dist/openapi/models/index.js.map +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamInput.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsDH,8DAIC;AAED,0DAEC;AAED,oEAYC;AAED,sDAEC;AAED,gEAaC;AA3FD,iDAKwB;AA0CxB;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,C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;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,eAAe,EAAE,IAAA,iCAAkB,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC"}
@@ -0,0 +1,58 @@
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 { CreateTeamResponseCredentials } from './CreateTeamResponseCredentials';
13
+ /**
14
+ * Response from creating a new team
15
+ * @export
16
+ * @interface CreateTeamResponse
17
+ */
18
+ export interface CreateTeamResponse {
19
+ /**
20
+ * Unique identifier for the created team
21
+ * @type {string}
22
+ * @memberof CreateTeamResponse
23
+ */
24
+ id: string;
25
+ /**
26
+ * The name of the team.
27
+ * @type {string}
28
+ * @memberof CreateTeamResponse
29
+ */
30
+ name: string;
31
+ /**
32
+ * The public name of the team, shown in end-user facing screens and communications. If set, overrides the name.
33
+ * @type {string}
34
+ * @memberof CreateTeamResponse
35
+ */
36
+ public_name?: string;
37
+ /**
38
+ * ISO 8601 timestamp of team creation
39
+ * @type {string}
40
+ * @memberof CreateTeamResponse
41
+ */
42
+ created_at: string;
43
+ /**
44
+ *
45
+ * @type {CreateTeamResponseCredentials}
46
+ * @memberof CreateTeamResponse
47
+ */
48
+ credentials: CreateTeamResponseCredentials;
49
+ }
50
+ /**
51
+ * Check if a given object implements the CreateTeamResponse interface.
52
+ */
53
+ export declare function instanceOfCreateTeamResponse(value: object): value is CreateTeamResponse;
54
+ export declare function CreateTeamResponseFromJSON(json: any): CreateTeamResponse;
55
+ export declare function CreateTeamResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTeamResponse;
56
+ export declare function CreateTeamResponseToJSON(json: any): CreateTeamResponse;
57
+ export declare function CreateTeamResponseToJSONTyped(value?: CreateTeamResponse | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=CreateTeamResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,6BAA6B,CAAC;CAC9C;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAMvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAY3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa1H"}
@@ -0,0 +1,66 @@
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.instanceOfCreateTeamResponse = instanceOfCreateTeamResponse;
17
+ exports.CreateTeamResponseFromJSON = CreateTeamResponseFromJSON;
18
+ exports.CreateTeamResponseFromJSONTyped = CreateTeamResponseFromJSONTyped;
19
+ exports.CreateTeamResponseToJSON = CreateTeamResponseToJSON;
20
+ exports.CreateTeamResponseToJSONTyped = CreateTeamResponseToJSONTyped;
21
+ const CreateTeamResponseCredentials_1 = require("./CreateTeamResponseCredentials");
22
+ /**
23
+ * Check if a given object implements the CreateTeamResponse interface.
24
+ */
25
+ function instanceOfCreateTeamResponse(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('created_at' in value) || value['created_at'] === undefined)
31
+ return false;
32
+ if (!('credentials' in value) || value['credentials'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreateTeamResponseFromJSON(json) {
37
+ return CreateTeamResponseFromJSONTyped(json, false);
38
+ }
39
+ function CreateTeamResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'name': json['name'],
46
+ 'public_name': json['public_name'] == null ? undefined : json['public_name'],
47
+ 'created_at': json['created_at'],
48
+ 'credentials': (0, CreateTeamResponseCredentials_1.CreateTeamResponseCredentialsFromJSON)(json['credentials']),
49
+ };
50
+ }
51
+ function CreateTeamResponseToJSON(json) {
52
+ return CreateTeamResponseToJSONTyped(json, false);
53
+ }
54
+ function CreateTeamResponseToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'id': value['id'],
60
+ 'name': value['name'],
61
+ 'public_name': value['public_name'],
62
+ 'created_at': value['created_at'],
63
+ 'credentials': (0, CreateTeamResponseCredentials_1.CreateTeamResponseCredentialsToJSON)(value['credentials']),
64
+ };
65
+ }
66
+ //# sourceMappingURL=CreateTeamResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoDH,oEAMC;AAED,gEAEC;AAED,0EAYC;AAED,4DAEC;AAED,sEAaC;AA3FD,mFAKyC;AAwCzC;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,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;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AAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,aAAa,EAAE,IAAA,mEAAmC,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC"}
@@ -0,0 +1,52 @@
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 { Model36EnumsEnvironment } from './Model36EnumsEnvironment';
13
+ /**
14
+ * Production API credentials for this team
15
+ * @export
16
+ * @interface CreateTeamResponseCredentials
17
+ */
18
+ export interface CreateTeamResponseCredentials {
19
+ /**
20
+ * Client secret for API authentication
21
+ * @type {string}
22
+ * @memberof CreateTeamResponseCredentials
23
+ */
24
+ client_secret: string;
25
+ /**
26
+ * Client ID for API authentication
27
+ * @type {string}
28
+ * @memberof CreateTeamResponseCredentials
29
+ */
30
+ client_id: string;
31
+ /**
32
+ *
33
+ * @type {Model36EnumsEnvironment}
34
+ * @memberof CreateTeamResponseCredentials
35
+ */
36
+ environment: Model36EnumsEnvironment;
37
+ /**
38
+ * Name of the API key
39
+ * @type {string}
40
+ * @memberof CreateTeamResponseCredentials
41
+ */
42
+ name: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the CreateTeamResponseCredentials interface.
46
+ */
47
+ export declare function instanceOfCreateTeamResponseCredentials(value: object): value is CreateTeamResponseCredentials;
48
+ export declare function CreateTeamResponseCredentialsFromJSON(json: any): CreateTeamResponseCredentials;
49
+ export declare function CreateTeamResponseCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTeamResponseCredentials;
50
+ export declare function CreateTeamResponseCredentialsToJSON(json: any): CreateTeamResponseCredentials;
51
+ export declare function CreateTeamResponseCredentialsToJSONTyped(value?: CreateTeamResponseCredentials | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=CreateTeamResponseCredentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponseCredentials.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponseCredentials.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,uBAAuB,CAAC;IACrC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAM7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAWjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYhJ"}
@@ -0,0 +1,64 @@
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.instanceOfCreateTeamResponseCredentials = instanceOfCreateTeamResponseCredentials;
17
+ exports.CreateTeamResponseCredentialsFromJSON = CreateTeamResponseCredentialsFromJSON;
18
+ exports.CreateTeamResponseCredentialsFromJSONTyped = CreateTeamResponseCredentialsFromJSONTyped;
19
+ exports.CreateTeamResponseCredentialsToJSON = CreateTeamResponseCredentialsToJSON;
20
+ exports.CreateTeamResponseCredentialsToJSONTyped = CreateTeamResponseCredentialsToJSONTyped;
21
+ const Model36EnumsEnvironment_1 = require("./Model36EnumsEnvironment");
22
+ /**
23
+ * Check if a given object implements the CreateTeamResponseCredentials interface.
24
+ */
25
+ function instanceOfCreateTeamResponseCredentials(value) {
26
+ if (!('client_secret' in value) || value['client_secret'] === undefined)
27
+ return false;
28
+ if (!('client_id' in value) || value['client_id'] === undefined)
29
+ return false;
30
+ if (!('environment' in value) || value['environment'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreateTeamResponseCredentialsFromJSON(json) {
37
+ return CreateTeamResponseCredentialsFromJSONTyped(json, false);
38
+ }
39
+ function CreateTeamResponseCredentialsFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'client_secret': json['client_secret'],
45
+ 'client_id': json['client_id'],
46
+ 'environment': (0, Model36EnumsEnvironment_1.Model36EnumsEnvironmentFromJSON)(json['environment']),
47
+ 'name': json['name'],
48
+ };
49
+ }
50
+ function CreateTeamResponseCredentialsToJSON(json) {
51
+ return CreateTeamResponseCredentialsToJSONTyped(json, false);
52
+ }
53
+ function CreateTeamResponseCredentialsToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'client_secret': value['client_secret'],
59
+ 'client_id': value['client_id'],
60
+ 'environment': (0, Model36EnumsEnvironment_1.Model36EnumsEnvironmentToJSON)(value['environment']),
61
+ 'name': value['name'],
62
+ };
63
+ }
64
+ //# sourceMappingURL=CreateTeamResponseCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTeamResponseCredentials.js","sourceRoot":"","sources":["../../../src/openapi/models/CreateTeamResponseCredentials.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgDH,0FAMC;AAED,sFAEC;AAED,gGAWC;AAED,kFAEC;AAED,4FAYC;AArFD,uEAKmC;AAoCnC;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE,IAAA,yDAA+B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACnE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,KAA4C,EAAE,sBAA+B,KAAK;IACvI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAClE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,64 @@
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
+ * The core feature of Vouchsafe is the verification flow.
14
+ *
15
+ * It is a customisable set of steps that:
16
+ *
17
+ * - collects and validates evidence from your end user
18
+ * - runs background checks on that evidence and returns a result
19
+ *
20
+ * You can make as many verification flows as you like for different business purposes.
21
+ * @export
22
+ * @interface Flow
23
+ */
24
+ export interface Flow {
25
+ /**
26
+ * The ID of the flow, useful when requesting verifications
27
+ * @type {string}
28
+ * @memberof Flow
29
+ */
30
+ id: string;
31
+ /**
32
+ * The human-readable name of the flow
33
+ * @type {string}
34
+ * @memberof Flow
35
+ */
36
+ name: string;
37
+ /**
38
+ * When the flow was last modified, formatted as an ISO 8601 string
39
+ * @type {string}
40
+ * @memberof Flow
41
+ */
42
+ updated_at: string;
43
+ /**
44
+ * When the flow was created, formatted as an ISO 8601 string
45
+ * @type {string}
46
+ * @memberof Flow
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * How many tokens the flow uses per completed verification. [What are tokens?](https://help.vouchsafe.id/en/articles/11075413-what-are-tokens)
51
+ * @type {number}
52
+ * @memberof Flow
53
+ */
54
+ tokens_per_verification: number;
55
+ }
56
+ /**
57
+ * Check if a given object implements the Flow interface.
58
+ */
59
+ export declare function instanceOfFlow(value: object): value is Flow;
60
+ export declare function FlowFromJSON(json: any): Flow;
61
+ export declare function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow;
62
+ export declare function FlowToJSON(json: any): Flow;
63
+ export declare function FlowToJSONTyped(value?: Flow | null, ignoreDiscriminator?: boolean): any;
64
+ //# sourceMappingURL=Flow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Flow.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAO3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAY/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,CAa9F"}
@@ -0,0 +1,67 @@
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.instanceOfFlow = instanceOfFlow;
17
+ exports.FlowFromJSON = FlowFromJSON;
18
+ exports.FlowFromJSONTyped = FlowFromJSONTyped;
19
+ exports.FlowToJSON = FlowToJSON;
20
+ exports.FlowToJSONTyped = FlowToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Flow interface.
23
+ */
24
+ function instanceOfFlow(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('updated_at' in value) || value['updated_at'] === undefined)
30
+ return false;
31
+ if (!('created_at' in value) || value['created_at'] === undefined)
32
+ return false;
33
+ if (!('tokens_per_verification' in value) || value['tokens_per_verification'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function FlowFromJSON(json) {
38
+ return FlowFromJSONTyped(json, false);
39
+ }
40
+ function FlowFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'updated_at': json['updated_at'],
48
+ 'created_at': json['created_at'],
49
+ 'tokens_per_verification': json['tokens_per_verification'],
50
+ };
51
+ }
52
+ function FlowToJSON(json) {
53
+ return FlowToJSONTyped(json, false);
54
+ }
55
+ function FlowToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'name': value['name'],
62
+ 'updated_at': value['updated_at'],
63
+ 'created_at': value['created_at'],
64
+ 'tokens_per_verification': value['tokens_per_verification'],
65
+ };
66
+ }
67
+ //# sourceMappingURL=Flow.js.map
@@ -0,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EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,UAAU,CAAC,IAAS;IAChC,OAAO,eAAe,CAAC,IAAI,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,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC;KAC9D,CAAC;AACN,CAAC"}
@@ -0,0 +1,28 @@
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
+ */
16
+ export declare const FlowTemplate: {
17
+ readonly KycAml: "KYC_AML";
18
+ readonly RightToWork: "RIGHT_TO_WORK";
19
+ readonly RightToRent: "RIGHT_TO_RENT";
20
+ readonly DbsCheck: "DBS_CHECK";
21
+ };
22
+ export type FlowTemplate = typeof FlowTemplate[keyof typeof FlowTemplate];
23
+ export declare function instanceOfFlowTemplate(value: any): boolean;
24
+ export declare function FlowTemplateFromJSON(json: any): FlowTemplate;
25
+ export declare function FlowTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTemplate;
26
+ export declare function FlowTemplateToJSON(value?: FlowTemplate | null): any;
27
+ export declare function FlowTemplateToJSONTyped(value: any, ignoreDiscriminator: boolean): FlowTemplate;
28
+ //# sourceMappingURL=FlowTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowTemplate.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/FlowTemplate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG1E,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1D;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAE/F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,GAAG,CAEnE;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAE9F"}
@@ -0,0 +1,54 @@
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.FlowTemplate = void 0;
17
+ exports.instanceOfFlowTemplate = instanceOfFlowTemplate;
18
+ exports.FlowTemplateFromJSON = FlowTemplateFromJSON;
19
+ exports.FlowTemplateFromJSONTyped = FlowTemplateFromJSONTyped;
20
+ exports.FlowTemplateToJSON = FlowTemplateToJSON;
21
+ exports.FlowTemplateToJSONTyped = FlowTemplateToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.FlowTemplate = {
27
+ KycAml: 'KYC_AML',
28
+ RightToWork: 'RIGHT_TO_WORK',
29
+ RightToRent: 'RIGHT_TO_RENT',
30
+ DbsCheck: 'DBS_CHECK'
31
+ };
32
+ function instanceOfFlowTemplate(value) {
33
+ for (const key in exports.FlowTemplate) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.FlowTemplate, key)) {
35
+ if (exports.FlowTemplate[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function FlowTemplateFromJSON(json) {
43
+ return FlowTemplateFromJSONTyped(json, false);
44
+ }
45
+ function FlowTemplateFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function FlowTemplateToJSON(value) {
49
+ return value;
50
+ }
51
+ function FlowTemplateToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
54
+ //# sourceMappingURL=FlowTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowTemplate.js","sourceRoot":"","sources":["../../../src/openapi/models/FlowTemplate.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,wDASC;AAED,oDAEC;AAED,8DAEC;AAED,gDAEC;AAED,0DAEC;AAtCD;;;GAGG;AACU,QAAA,YAAY,GAAG;IACxB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,WAAW;CACf,CAAC;AAIX,SAAgB,sBAAsB,CAAC,KAAU;IAC7C,KAAK,MAAM,GAAG,IAAI,oBAAY,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,oBAAY,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1D,IAAI,oBAAY,CAAC,GAAgC,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,OAAO,IAAoB,CAAC;AAChC,CAAC;AAED,SAAgB,kBAAkB,CAAC,KAA2B;IAC1D,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAAU,EAAE,mBAA4B;IAC5E,OAAO,KAAqB,CAAC;AACjC,CAAC"}
@@ -0,0 +1,26 @@
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
+ */
16
+ export declare const Model36EnumsEnvironment: {
17
+ readonly Production: "production";
18
+ readonly Sandbox: "sandbox";
19
+ };
20
+ export type Model36EnumsEnvironment = typeof Model36EnumsEnvironment[keyof typeof Model36EnumsEnvironment];
21
+ export declare function instanceOfModel36EnumsEnvironment(value: any): boolean;
22
+ export declare function Model36EnumsEnvironmentFromJSON(json: any): Model36EnumsEnvironment;
23
+ export declare function Model36EnumsEnvironmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Model36EnumsEnvironment;
24
+ export declare function Model36EnumsEnvironmentToJSON(value?: Model36EnumsEnvironment | null): any;
25
+ export declare function Model36EnumsEnvironmentToJSONTyped(value: any, ignoreDiscriminator: boolean): Model36EnumsEnvironment;
26
+ //# sourceMappingURL=Model36EnumsEnvironment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Model36EnumsEnvironment.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Model36EnumsEnvironment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASrE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAErH;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,GAAG,CAEzF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAEpH"}
@@ -0,0 +1,52 @@
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.Model36EnumsEnvironment = void 0;
17
+ exports.instanceOfModel36EnumsEnvironment = instanceOfModel36EnumsEnvironment;
18
+ exports.Model36EnumsEnvironmentFromJSON = Model36EnumsEnvironmentFromJSON;
19
+ exports.Model36EnumsEnvironmentFromJSONTyped = Model36EnumsEnvironmentFromJSONTyped;
20
+ exports.Model36EnumsEnvironmentToJSON = Model36EnumsEnvironmentToJSON;
21
+ exports.Model36EnumsEnvironmentToJSONTyped = Model36EnumsEnvironmentToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.Model36EnumsEnvironment = {
27
+ Production: 'production',
28
+ Sandbox: 'sandbox'
29
+ };
30
+ function instanceOfModel36EnumsEnvironment(value) {
31
+ for (const key in exports.Model36EnumsEnvironment) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.Model36EnumsEnvironment, key)) {
33
+ if (exports.Model36EnumsEnvironment[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function Model36EnumsEnvironmentFromJSON(json) {
41
+ return Model36EnumsEnvironmentFromJSONTyped(json, false);
42
+ }
43
+ function Model36EnumsEnvironmentFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function Model36EnumsEnvironmentToJSON(value) {
47
+ return value;
48
+ }
49
+ function Model36EnumsEnvironmentToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
52
+ //# sourceMappingURL=Model36EnumsEnvironment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Model36EnumsEnvironment.js","sourceRoot":"","sources":["../../../src/openapi/models/Model36EnumsEnvironment.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,8EASC;AAED,0EAEC;AAED,oFAEC;AAED,sEAEC;AAED,gFAEC;AApCD;;;GAGG;AACU,QAAA,uBAAuB,GAAG;IACnC,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX,SAAgB,iCAAiC,CAAC,KAAU;IACxD,KAAK,MAAM,GAAG,IAAI,+BAAuB,EAAE,CAAC;QACxC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,+BAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;YACrE,IAAI,+BAAuB,CAAC,GAA2C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACjF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,OAAO,IAA+B,CAAC;AAC3C,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAU,EAAE,mBAA4B;IACvF,OAAO,KAAgC,CAAC;AAC5C,CAAC"}
@@ -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/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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;;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,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,YAAY,EAAE,IAAI,CA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