@pescheckit/pescheck-client 0.0.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.
- package/.openapi-generator/FILES +97 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +200 -0
- package/dist/apis/AuthenticationApi.d.ts +131 -0
- package/dist/apis/AuthenticationApi.js +168 -0
- package/dist/apis/ChecksApi.d.ts +91 -0
- package/dist/apis/ChecksApi.js +116 -0
- package/dist/apis/DivisionsApi.d.ts +211 -0
- package/dist/apis/DivisionsApi.js +264 -0
- package/dist/apis/OAuthApi.d.ts +124 -0
- package/dist/apis/OAuthApi.js +159 -0
- package/dist/apis/ProfilesApi.d.ts +270 -0
- package/dist/apis/ProfilesApi.js +334 -0
- package/dist/apis/ScreeningsApi.d.ts +172 -0
- package/dist/apis/ScreeningsApi.js +216 -0
- package/dist/apis/WebhooksApi.d.ts +168 -0
- package/dist/apis/WebhooksApi.js +213 -0
- package/dist/apis/index.d.ts +7 -0
- package/dist/apis/index.js +25 -0
- package/dist/esm/apis/AuthenticationApi.d.ts +131 -0
- package/dist/esm/apis/AuthenticationApi.js +164 -0
- package/dist/esm/apis/ChecksApi.d.ts +91 -0
- package/dist/esm/apis/ChecksApi.js +112 -0
- package/dist/esm/apis/DivisionsApi.d.ts +211 -0
- package/dist/esm/apis/DivisionsApi.js +260 -0
- package/dist/esm/apis/OAuthApi.d.ts +124 -0
- package/dist/esm/apis/OAuthApi.js +155 -0
- package/dist/esm/apis/ProfilesApi.d.ts +270 -0
- package/dist/esm/apis/ProfilesApi.js +330 -0
- package/dist/esm/apis/ScreeningsApi.d.ts +172 -0
- package/dist/esm/apis/ScreeningsApi.js +212 -0
- package/dist/esm/apis/WebhooksApi.d.ts +168 -0
- package/dist/esm/apis/WebhooksApi.js +209 -0
- package/dist/esm/apis/index.d.ts +7 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/CustomTokenObtainPair.d.ts +38 -0
- package/dist/esm/models/CustomTokenObtainPair.js +47 -0
- package/dist/esm/models/DivisionReadOnly.d.ts +116 -0
- package/dist/esm/models/DivisionReadOnly.js +73 -0
- package/dist/esm/models/DivisionWrite.d.ts +98 -0
- package/dist/esm/models/DivisionWrite.js +78 -0
- package/dist/esm/models/JWTGeneration.d.ts +50 -0
- package/dist/esm/models/JWTGeneration.js +51 -0
- package/dist/esm/models/JWTResponse.d.ts +62 -0
- package/dist/esm/models/JWTResponse.js +61 -0
- package/dist/esm/models/OAuthApplication.d.ts +84 -0
- package/dist/esm/models/OAuthApplication.js +68 -0
- package/dist/esm/models/OAuthApplicationResponse.d.ts +98 -0
- package/dist/esm/models/OAuthApplicationResponse.js +80 -0
- package/dist/esm/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
- package/dist/esm/models/PaginatedDivisionReadOnlyList.js +56 -0
- package/dist/esm/models/PaginatedV2ProfileListItemList.d.ts +51 -0
- package/dist/esm/models/PaginatedV2ProfileListItemList.js +56 -0
- package/dist/esm/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
- package/dist/esm/models/PaginatedV2ScreeningListItemList.js +56 -0
- package/dist/esm/models/PatchedDivisionWrite.d.ts +98 -0
- package/dist/esm/models/PatchedDivisionWrite.js +62 -0
- package/dist/esm/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
- package/dist/esm/models/PatchedV2ProfilePartialUpdate.js +43 -0
- package/dist/esm/models/TokenRefresh.d.ts +38 -0
- package/dist/esm/models/TokenRefresh.js +44 -0
- package/dist/esm/models/V2Candidate.d.ts +592 -0
- package/dist/esm/models/V2Candidate.js +318 -0
- package/dist/esm/models/V2CheckField.d.ts +56 -0
- package/dist/esm/models/V2CheckField.js +53 -0
- package/dist/esm/models/V2CheckInfo.d.ts +100 -0
- package/dist/esm/models/V2CheckInfo.js +76 -0
- package/dist/esm/models/V2Document.d.ts +115 -0
- package/dist/esm/models/V2Document.js +84 -0
- package/dist/esm/models/V2DocumentContent.d.ts +40 -0
- package/dist/esm/models/V2DocumentContent.js +45 -0
- package/dist/esm/models/V2Money.d.ts +38 -0
- package/dist/esm/models/V2Money.js +47 -0
- package/dist/esm/models/V2ProfileCheck.d.ts +85 -0
- package/dist/esm/models/V2ProfileCheck.js +68 -0
- package/dist/esm/models/V2ProfileCheckEntry.d.ts +120 -0
- package/dist/esm/models/V2ProfileCheckEntry.js +87 -0
- package/dist/esm/models/V2ProfileCreate.d.ts +45 -0
- package/dist/esm/models/V2ProfileCreate.js +50 -0
- package/dist/esm/models/V2ProfileDetail.d.ts +94 -0
- package/dist/esm/models/V2ProfileDetail.js +75 -0
- package/dist/esm/models/V2ProfileListItem.d.ts +68 -0
- package/dist/esm/models/V2ProfileListItem.js +61 -0
- package/dist/esm/models/V2ProfileUpdate.d.ts +47 -0
- package/dist/esm/models/V2ProfileUpdate.js +50 -0
- package/dist/esm/models/V2ProfileUpdateCheck.d.ts +96 -0
- package/dist/esm/models/V2ProfileUpdateCheck.js +74 -0
- package/dist/esm/models/V2ScreeningCheck.d.ts +95 -0
- package/dist/esm/models/V2ScreeningCheck.js +72 -0
- package/dist/esm/models/V2ScreeningCheckEntry.d.ts +135 -0
- package/dist/esm/models/V2ScreeningCheckEntry.js +92 -0
- package/dist/esm/models/V2ScreeningCheckListItem.d.ts +93 -0
- package/dist/esm/models/V2ScreeningCheckListItem.js +74 -0
- package/dist/esm/models/V2ScreeningCreate.d.ts +46 -0
- package/dist/esm/models/V2ScreeningCreate.js +51 -0
- package/dist/esm/models/V2ScreeningDetail.d.ts +83 -0
- package/dist/esm/models/V2ScreeningDetail.js +70 -0
- package/dist/esm/models/V2ScreeningDetailProfile.d.ts +38 -0
- package/dist/esm/models/V2ScreeningDetailProfile.js +43 -0
- package/dist/esm/models/V2ScreeningListItem.d.ts +85 -0
- package/dist/esm/models/V2ScreeningListItem.js +69 -0
- package/dist/esm/models/VerifyWebhook.d.ts +34 -0
- package/dist/esm/models/VerifyWebhook.js +43 -0
- package/dist/esm/models/Webhook.d.ts +71 -0
- package/dist/esm/models/Webhook.js +69 -0
- package/dist/esm/models/WebhookResponse.d.ts +87 -0
- package/dist/esm/models/WebhookResponse.js +51 -0
- package/dist/esm/models/index.d.ts +36 -0
- package/dist/esm/models/index.js +38 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +349 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/CustomTokenObtainPair.d.ts +38 -0
- package/dist/models/CustomTokenObtainPair.js +54 -0
- package/dist/models/DivisionReadOnly.d.ts +116 -0
- package/dist/models/DivisionReadOnly.js +80 -0
- package/dist/models/DivisionWrite.d.ts +98 -0
- package/dist/models/DivisionWrite.js +85 -0
- package/dist/models/JWTGeneration.d.ts +50 -0
- package/dist/models/JWTGeneration.js +58 -0
- package/dist/models/JWTResponse.d.ts +62 -0
- package/dist/models/JWTResponse.js +68 -0
- package/dist/models/OAuthApplication.d.ts +84 -0
- package/dist/models/OAuthApplication.js +76 -0
- package/dist/models/OAuthApplicationResponse.d.ts +98 -0
- package/dist/models/OAuthApplicationResponse.js +88 -0
- package/dist/models/PaginatedDivisionReadOnlyList.d.ts +51 -0
- package/dist/models/PaginatedDivisionReadOnlyList.js +63 -0
- package/dist/models/PaginatedV2ProfileListItemList.d.ts +51 -0
- package/dist/models/PaginatedV2ProfileListItemList.js +63 -0
- package/dist/models/PaginatedV2ScreeningListItemList.d.ts +51 -0
- package/dist/models/PaginatedV2ScreeningListItemList.js +63 -0
- package/dist/models/PatchedDivisionWrite.d.ts +98 -0
- package/dist/models/PatchedDivisionWrite.js +69 -0
- package/dist/models/PatchedV2ProfilePartialUpdate.d.ts +39 -0
- package/dist/models/PatchedV2ProfilePartialUpdate.js +50 -0
- package/dist/models/TokenRefresh.d.ts +38 -0
- package/dist/models/TokenRefresh.js +51 -0
- package/dist/models/V2Candidate.d.ts +592 -0
- package/dist/models/V2Candidate.js +326 -0
- package/dist/models/V2CheckField.d.ts +56 -0
- package/dist/models/V2CheckField.js +60 -0
- package/dist/models/V2CheckInfo.d.ts +100 -0
- package/dist/models/V2CheckInfo.js +83 -0
- package/dist/models/V2Document.d.ts +115 -0
- package/dist/models/V2Document.js +92 -0
- package/dist/models/V2DocumentContent.d.ts +40 -0
- package/dist/models/V2DocumentContent.js +52 -0
- package/dist/models/V2Money.d.ts +38 -0
- package/dist/models/V2Money.js +54 -0
- package/dist/models/V2ProfileCheck.d.ts +85 -0
- package/dist/models/V2ProfileCheck.js +76 -0
- package/dist/models/V2ProfileCheckEntry.d.ts +120 -0
- package/dist/models/V2ProfileCheckEntry.js +95 -0
- package/dist/models/V2ProfileCreate.d.ts +45 -0
- package/dist/models/V2ProfileCreate.js +57 -0
- package/dist/models/V2ProfileDetail.d.ts +94 -0
- package/dist/models/V2ProfileDetail.js +82 -0
- package/dist/models/V2ProfileListItem.d.ts +68 -0
- package/dist/models/V2ProfileListItem.js +68 -0
- package/dist/models/V2ProfileUpdate.d.ts +47 -0
- package/dist/models/V2ProfileUpdate.js +57 -0
- package/dist/models/V2ProfileUpdateCheck.d.ts +96 -0
- package/dist/models/V2ProfileUpdateCheck.js +82 -0
- package/dist/models/V2ScreeningCheck.d.ts +95 -0
- package/dist/models/V2ScreeningCheck.js +80 -0
- package/dist/models/V2ScreeningCheckEntry.d.ts +135 -0
- package/dist/models/V2ScreeningCheckEntry.js +100 -0
- package/dist/models/V2ScreeningCheckListItem.d.ts +93 -0
- package/dist/models/V2ScreeningCheckListItem.js +82 -0
- package/dist/models/V2ScreeningCreate.d.ts +46 -0
- package/dist/models/V2ScreeningCreate.js +58 -0
- package/dist/models/V2ScreeningDetail.d.ts +83 -0
- package/dist/models/V2ScreeningDetail.js +77 -0
- package/dist/models/V2ScreeningDetailProfile.d.ts +38 -0
- package/dist/models/V2ScreeningDetailProfile.js +50 -0
- package/dist/models/V2ScreeningListItem.d.ts +85 -0
- package/dist/models/V2ScreeningListItem.js +76 -0
- package/dist/models/VerifyWebhook.d.ts +34 -0
- package/dist/models/VerifyWebhook.js +50 -0
- package/dist/models/Webhook.d.ts +71 -0
- package/dist/models/Webhook.js +77 -0
- package/dist/models/WebhookResponse.d.ts +87 -0
- package/dist/models/WebhookResponse.js +58 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +365 -0
- package/docs/AuthenticationApi.md +227 -0
- package/docs/ChecksApi.md +150 -0
- package/docs/CustomTokenObtainPair.md +37 -0
- package/docs/DivisionReadOnly.md +62 -0
- package/docs/DivisionWrite.md +56 -0
- package/docs/DivisionsApi.md +380 -0
- package/docs/JWTGeneration.md +41 -0
- package/docs/JWTResponse.md +45 -0
- package/docs/OAuthApi.md +222 -0
- package/docs/OAuthApplication.md +43 -0
- package/docs/OAuthApplicationResponse.md +49 -0
- package/docs/PaginatedDivisionReadOnlyList.md +40 -0
- package/docs/PaginatedV2ProfileListItemList.md +40 -0
- package/docs/PaginatedV2ScreeningListItemList.md +40 -0
- package/docs/PatchedDivisionWrite.md +56 -0
- package/docs/PatchedV2ProfilePartialUpdate.md +37 -0
- package/docs/ProfilesApi.md +456 -0
- package/docs/ScreeningsApi.md +302 -0
- package/docs/TokenRefresh.md +36 -0
- package/docs/V2Candidate.md +53 -0
- package/docs/V2CheckField.md +43 -0
- package/docs/V2CheckInfo.md +57 -0
- package/docs/V2Document.md +45 -0
- package/docs/V2DocumentContent.md +37 -0
- package/docs/V2Money.md +36 -0
- package/docs/V2ProfileCheck.md +37 -0
- package/docs/V2ProfileCheckEntry.md +46 -0
- package/docs/V2ProfileCreate.md +38 -0
- package/docs/V2ProfileDetail.md +54 -0
- package/docs/V2ProfileListItem.md +46 -0
- package/docs/V2ProfileUpdate.md +39 -0
- package/docs/V2ProfileUpdateCheck.md +39 -0
- package/docs/V2ScreeningCheck.md +41 -0
- package/docs/V2ScreeningCheckEntry.md +50 -0
- package/docs/V2ScreeningCheckListItem.md +39 -0
- package/docs/V2ScreeningCreate.md +38 -0
- package/docs/V2ScreeningDetail.md +50 -0
- package/docs/V2ScreeningDetailProfile.md +36 -0
- package/docs/V2ScreeningListItem.md +51 -0
- package/docs/VerifyWebhook.md +35 -0
- package/docs/Webhook.md +43 -0
- package/docs/WebhookResponse.md +53 -0
- package/docs/WebhooksApi.md +305 -0
- package/package.json +25 -0
- package/src/apis/AuthenticationApi.ts +285 -0
- package/src/apis/ChecksApi.ts +181 -0
- package/src/apis/DivisionsApi.ts +462 -0
- package/src/apis/OAuthApi.ts +256 -0
- package/src/apis/ProfilesApi.ts +583 -0
- package/src/apis/ScreeningsApi.ts +376 -0
- package/src/apis/WebhooksApi.ts +363 -0
- package/src/apis/index.ts +9 -0
- package/src/index.ts +5 -0
- package/src/models/CustomTokenObtainPair.ts +75 -0
- package/src/models/DivisionReadOnly.ts +177 -0
- package/src/models/DivisionWrite.ts +160 -0
- package/src/models/JWTGeneration.ts +91 -0
- package/src/models/JWTResponse.ts +110 -0
- package/src/models/OAuthApplication.ts +130 -0
- package/src/models/OAuthApplicationResponse.ts +151 -0
- package/src/models/PaginatedDivisionReadOnlyList.ts +101 -0
- package/src/models/PaginatedV2ProfileListItemList.ts +101 -0
- package/src/models/PaginatedV2ScreeningListItemList.ts +101 -0
- package/src/models/PatchedDivisionWrite.ts +152 -0
- package/src/models/PatchedV2ProfilePartialUpdate.ts +74 -0
- package/src/models/TokenRefresh.ts +73 -0
- package/src/models/V2Candidate.ts +649 -0
- package/src/models/V2CheckField.ts +97 -0
- package/src/models/V2CheckInfo.ts +168 -0
- package/src/models/V2Document.ts +166 -0
- package/src/models/V2DocumentContent.ts +76 -0
- package/src/models/V2Money.ts +75 -0
- package/src/models/V2ProfileCheck.ts +122 -0
- package/src/models/V2ProfileCheckEntry.ts +173 -0
- package/src/models/V2ProfileCreate.ts +91 -0
- package/src/models/V2ProfileDetail.ts +162 -0
- package/src/models/V2ProfileListItem.ts +115 -0
- package/src/models/V2ProfileUpdate.ts +93 -0
- package/src/models/V2ProfileUpdateCheck.ts +135 -0
- package/src/models/V2ScreeningCheck.ts +136 -0
- package/src/models/V2ScreeningCheckEntry.ts +181 -0
- package/src/models/V2ScreeningCheckListItem.ts +133 -0
- package/src/models/V2ScreeningCreate.ts +98 -0
- package/src/models/V2ScreeningDetail.ts +152 -0
- package/src/models/V2ScreeningDetailProfile.ts +73 -0
- package/src/models/V2ScreeningListItem.ts +154 -0
- package/src/models/VerifyWebhook.ts +68 -0
- package/src/models/Webhook.ts +118 -0
- package/src/models/WebhookResponse.ts +140 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +449 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
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.OAuthApplicationResponseAuthorizationGrantTypeEnum = exports.OAuthApplicationResponseClientTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfOAuthApplicationResponse = instanceOfOAuthApplicationResponse;
|
|
18
|
+
exports.OAuthApplicationResponseFromJSON = OAuthApplicationResponseFromJSON;
|
|
19
|
+
exports.OAuthApplicationResponseFromJSONTyped = OAuthApplicationResponseFromJSONTyped;
|
|
20
|
+
exports.OAuthApplicationResponseToJSON = OAuthApplicationResponseToJSON;
|
|
21
|
+
exports.OAuthApplicationResponseToJSONTyped = OAuthApplicationResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.OAuthApplicationResponseClientTypeEnum = {
|
|
26
|
+
Confidential: 'confidential',
|
|
27
|
+
Public: 'public'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.OAuthApplicationResponseAuthorizationGrantTypeEnum = {
|
|
33
|
+
AuthorizationCode: 'authorization-code',
|
|
34
|
+
Implicit: 'implicit',
|
|
35
|
+
Password: 'password',
|
|
36
|
+
ClientCredentials: 'client-credentials',
|
|
37
|
+
OpenidHybrid: 'openid-hybrid'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the OAuthApplicationResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfOAuthApplicationResponse(value) {
|
|
43
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if ((!('clientSecret' in value) && !('client_secret' in value)) || (value['clientSecret'] === undefined && value['client_secret'] === undefined))
|
|
46
|
+
return false;
|
|
47
|
+
if ((!('clientType' in value) && !('client_type' in value)) || (value['clientType'] === undefined && value['client_type'] === undefined))
|
|
48
|
+
return false;
|
|
49
|
+
if ((!('authorizationGrantType' in value) && !('authorization_grant_type' in value)) || (value['authorizationGrantType'] === undefined && value['authorization_grant_type'] === undefined))
|
|
50
|
+
return false;
|
|
51
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('updated' in value) || value['updated'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function OAuthApplicationResponseFromJSON(json) {
|
|
58
|
+
return OAuthApplicationResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function OAuthApplicationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': json['id'],
|
|
66
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
67
|
+
'clientId': json['client_id'] == null ? undefined : json['client_id'],
|
|
68
|
+
'clientSecret': json['client_secret'],
|
|
69
|
+
'clientType': json['client_type'],
|
|
70
|
+
'authorizationGrantType': json['authorization_grant_type'],
|
|
71
|
+
'created': (new Date(json['created'])),
|
|
72
|
+
'updated': (new Date(json['updated'])),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function OAuthApplicationResponseToJSON(json) {
|
|
76
|
+
return OAuthApplicationResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function OAuthApplicationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'name': value['name'],
|
|
84
|
+
'client_id': value['clientId'],
|
|
85
|
+
'client_type': value['clientType'],
|
|
86
|
+
'authorization_grant_type': value['authorizationGrantType'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pescheck API
|
|
3
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
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 { DivisionReadOnly } from './DivisionReadOnly';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedDivisionReadOnlyList
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedDivisionReadOnlyList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PaginatedDivisionReadOnlyList
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedDivisionReadOnlyList
|
|
29
|
+
*/
|
|
30
|
+
next: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedDivisionReadOnlyList
|
|
35
|
+
*/
|
|
36
|
+
previous: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<DivisionReadOnly>}
|
|
40
|
+
* @memberof PaginatedDivisionReadOnlyList
|
|
41
|
+
*/
|
|
42
|
+
results: Array<DivisionReadOnly>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PaginatedDivisionReadOnlyList interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPaginatedDivisionReadOnlyList(value: any): value is PaginatedDivisionReadOnlyList;
|
|
48
|
+
export declare function PaginatedDivisionReadOnlyListFromJSON(json: any): PaginatedDivisionReadOnlyList;
|
|
49
|
+
export declare function PaginatedDivisionReadOnlyListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDivisionReadOnlyList;
|
|
50
|
+
export declare function PaginatedDivisionReadOnlyListToJSON(json: any): PaginatedDivisionReadOnlyList;
|
|
51
|
+
export declare function PaginatedDivisionReadOnlyListToJSONTyped(value?: PaginatedDivisionReadOnlyList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
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.instanceOfPaginatedDivisionReadOnlyList = instanceOfPaginatedDivisionReadOnlyList;
|
|
17
|
+
exports.PaginatedDivisionReadOnlyListFromJSON = PaginatedDivisionReadOnlyListFromJSON;
|
|
18
|
+
exports.PaginatedDivisionReadOnlyListFromJSONTyped = PaginatedDivisionReadOnlyListFromJSONTyped;
|
|
19
|
+
exports.PaginatedDivisionReadOnlyListToJSON = PaginatedDivisionReadOnlyListToJSON;
|
|
20
|
+
exports.PaginatedDivisionReadOnlyListToJSONTyped = PaginatedDivisionReadOnlyListToJSONTyped;
|
|
21
|
+
const DivisionReadOnly_1 = require("./DivisionReadOnly");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedDivisionReadOnlyList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedDivisionReadOnlyList(value) {
|
|
26
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('next' in value) || value['next'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('previous' in value) || value['previous'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PaginatedDivisionReadOnlyListFromJSON(json) {
|
|
37
|
+
return PaginatedDivisionReadOnlyListFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PaginatedDivisionReadOnlyListFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'count': json['count'],
|
|
45
|
+
'next': json['next'],
|
|
46
|
+
'previous': json['previous'],
|
|
47
|
+
'results': (json['results'].map(DivisionReadOnly_1.DivisionReadOnlyFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PaginatedDivisionReadOnlyListToJSON(json) {
|
|
51
|
+
return PaginatedDivisionReadOnlyListToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PaginatedDivisionReadOnlyListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'count': value['count'],
|
|
59
|
+
'next': value['next'],
|
|
60
|
+
'previous': value['previous'],
|
|
61
|
+
'results': (value['results'].map(DivisionReadOnly_1.DivisionReadOnlyToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pescheck API
|
|
3
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
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 { V2ProfileListItem } from './V2ProfileListItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedV2ProfileListItemList
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedV2ProfileListItemList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PaginatedV2ProfileListItemList
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedV2ProfileListItemList
|
|
29
|
+
*/
|
|
30
|
+
next: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedV2ProfileListItemList
|
|
35
|
+
*/
|
|
36
|
+
previous: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<V2ProfileListItem>}
|
|
40
|
+
* @memberof PaginatedV2ProfileListItemList
|
|
41
|
+
*/
|
|
42
|
+
results: Array<V2ProfileListItem>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PaginatedV2ProfileListItemList interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPaginatedV2ProfileListItemList(value: any): value is PaginatedV2ProfileListItemList;
|
|
48
|
+
export declare function PaginatedV2ProfileListItemListFromJSON(json: any): PaginatedV2ProfileListItemList;
|
|
49
|
+
export declare function PaginatedV2ProfileListItemListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedV2ProfileListItemList;
|
|
50
|
+
export declare function PaginatedV2ProfileListItemListToJSON(json: any): PaginatedV2ProfileListItemList;
|
|
51
|
+
export declare function PaginatedV2ProfileListItemListToJSONTyped(value?: PaginatedV2ProfileListItemList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
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.instanceOfPaginatedV2ProfileListItemList = instanceOfPaginatedV2ProfileListItemList;
|
|
17
|
+
exports.PaginatedV2ProfileListItemListFromJSON = PaginatedV2ProfileListItemListFromJSON;
|
|
18
|
+
exports.PaginatedV2ProfileListItemListFromJSONTyped = PaginatedV2ProfileListItemListFromJSONTyped;
|
|
19
|
+
exports.PaginatedV2ProfileListItemListToJSON = PaginatedV2ProfileListItemListToJSON;
|
|
20
|
+
exports.PaginatedV2ProfileListItemListToJSONTyped = PaginatedV2ProfileListItemListToJSONTyped;
|
|
21
|
+
const V2ProfileListItem_1 = require("./V2ProfileListItem");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedV2ProfileListItemList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedV2ProfileListItemList(value) {
|
|
26
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('next' in value) || value['next'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('previous' in value) || value['previous'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PaginatedV2ProfileListItemListFromJSON(json) {
|
|
37
|
+
return PaginatedV2ProfileListItemListFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PaginatedV2ProfileListItemListFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'count': json['count'],
|
|
45
|
+
'next': json['next'],
|
|
46
|
+
'previous': json['previous'],
|
|
47
|
+
'results': (json['results'].map(V2ProfileListItem_1.V2ProfileListItemFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PaginatedV2ProfileListItemListToJSON(json) {
|
|
51
|
+
return PaginatedV2ProfileListItemListToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PaginatedV2ProfileListItemListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'count': value['count'],
|
|
59
|
+
'next': value['next'],
|
|
60
|
+
'previous': value['previous'],
|
|
61
|
+
'results': (value['results'].map(V2ProfileListItem_1.V2ProfileListItemToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pescheck API
|
|
3
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
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 { V2ScreeningListItem } from './V2ScreeningListItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedV2ScreeningListItemList
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedV2ScreeningListItemList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PaginatedV2ScreeningListItemList
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedV2ScreeningListItemList
|
|
29
|
+
*/
|
|
30
|
+
next: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedV2ScreeningListItemList
|
|
35
|
+
*/
|
|
36
|
+
previous: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<V2ScreeningListItem>}
|
|
40
|
+
* @memberof PaginatedV2ScreeningListItemList
|
|
41
|
+
*/
|
|
42
|
+
results: Array<V2ScreeningListItem>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PaginatedV2ScreeningListItemList interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPaginatedV2ScreeningListItemList(value: any): value is PaginatedV2ScreeningListItemList;
|
|
48
|
+
export declare function PaginatedV2ScreeningListItemListFromJSON(json: any): PaginatedV2ScreeningListItemList;
|
|
49
|
+
export declare function PaginatedV2ScreeningListItemListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedV2ScreeningListItemList;
|
|
50
|
+
export declare function PaginatedV2ScreeningListItemListToJSON(json: any): PaginatedV2ScreeningListItemList;
|
|
51
|
+
export declare function PaginatedV2ScreeningListItemListToJSONTyped(value?: PaginatedV2ScreeningListItemList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
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.instanceOfPaginatedV2ScreeningListItemList = instanceOfPaginatedV2ScreeningListItemList;
|
|
17
|
+
exports.PaginatedV2ScreeningListItemListFromJSON = PaginatedV2ScreeningListItemListFromJSON;
|
|
18
|
+
exports.PaginatedV2ScreeningListItemListFromJSONTyped = PaginatedV2ScreeningListItemListFromJSONTyped;
|
|
19
|
+
exports.PaginatedV2ScreeningListItemListToJSON = PaginatedV2ScreeningListItemListToJSON;
|
|
20
|
+
exports.PaginatedV2ScreeningListItemListToJSONTyped = PaginatedV2ScreeningListItemListToJSONTyped;
|
|
21
|
+
const V2ScreeningListItem_1 = require("./V2ScreeningListItem");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedV2ScreeningListItemList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedV2ScreeningListItemList(value) {
|
|
26
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('next' in value) || value['next'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('previous' in value) || value['previous'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PaginatedV2ScreeningListItemListFromJSON(json) {
|
|
37
|
+
return PaginatedV2ScreeningListItemListFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PaginatedV2ScreeningListItemListFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'count': json['count'],
|
|
45
|
+
'next': json['next'],
|
|
46
|
+
'previous': json['previous'],
|
|
47
|
+
'results': (json['results'].map(V2ScreeningListItem_1.V2ScreeningListItemFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PaginatedV2ScreeningListItemListToJSON(json) {
|
|
51
|
+
return PaginatedV2ScreeningListItemListToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PaginatedV2ScreeningListItemListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'count': value['count'],
|
|
59
|
+
'next': value['next'],
|
|
60
|
+
'previous': value['previous'],
|
|
61
|
+
'results': (value['results'].map(V2ScreeningListItem_1.V2ScreeningListItemToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pescheck API
|
|
3
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
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 PatchedDivisionWrite
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedDivisionWrite {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedDivisionWrite
|
|
22
|
+
*/
|
|
23
|
+
readonly id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedDivisionWrite
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedDivisionWrite
|
|
34
|
+
*/
|
|
35
|
+
city?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchedDivisionWrite
|
|
40
|
+
*/
|
|
41
|
+
address?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PatchedDivisionWrite
|
|
46
|
+
*/
|
|
47
|
+
postal?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PatchedDivisionWrite
|
|
52
|
+
*/
|
|
53
|
+
phone?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PatchedDivisionWrite
|
|
58
|
+
*/
|
|
59
|
+
contactName?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PatchedDivisionWrite
|
|
64
|
+
*/
|
|
65
|
+
contactEmail?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PatchedDivisionWrite
|
|
70
|
+
*/
|
|
71
|
+
invoiceEmail?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof PatchedDivisionWrite
|
|
76
|
+
*/
|
|
77
|
+
useParentOnEmail?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof PatchedDivisionWrite
|
|
82
|
+
*/
|
|
83
|
+
useParentOnBilling?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof PatchedDivisionWrite
|
|
88
|
+
*/
|
|
89
|
+
useParentOnReport?: boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the PatchedDivisionWrite interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfPatchedDivisionWrite(value: any): value is PatchedDivisionWrite;
|
|
95
|
+
export declare function PatchedDivisionWriteFromJSON(json: any): PatchedDivisionWrite;
|
|
96
|
+
export declare function PatchedDivisionWriteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedDivisionWrite;
|
|
97
|
+
export declare function PatchedDivisionWriteToJSON(json: any): PatchedDivisionWrite;
|
|
98
|
+
export declare function PatchedDivisionWriteToJSONTyped(value?: Omit<PatchedDivisionWrite, 'id'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pescheck API
|
|
6
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
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.instanceOfPatchedDivisionWrite = instanceOfPatchedDivisionWrite;
|
|
17
|
+
exports.PatchedDivisionWriteFromJSON = PatchedDivisionWriteFromJSON;
|
|
18
|
+
exports.PatchedDivisionWriteFromJSONTyped = PatchedDivisionWriteFromJSONTyped;
|
|
19
|
+
exports.PatchedDivisionWriteToJSON = PatchedDivisionWriteToJSON;
|
|
20
|
+
exports.PatchedDivisionWriteToJSONTyped = PatchedDivisionWriteToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PatchedDivisionWrite interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPatchedDivisionWrite(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PatchedDivisionWriteFromJSON(json) {
|
|
28
|
+
return PatchedDivisionWriteFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PatchedDivisionWriteFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
38
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
39
|
+
'postal': json['postal'] == null ? undefined : json['postal'],
|
|
40
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
41
|
+
'contactName': json['contact_name'] == null ? undefined : json['contact_name'],
|
|
42
|
+
'contactEmail': json['contact_email'] == null ? undefined : json['contact_email'],
|
|
43
|
+
'invoiceEmail': json['invoice_email'] == null ? undefined : json['invoice_email'],
|
|
44
|
+
'useParentOnEmail': json['use_parent_on_email'] == null ? undefined : json['use_parent_on_email'],
|
|
45
|
+
'useParentOnBilling': json['use_parent_on_billing'] == null ? undefined : json['use_parent_on_billing'],
|
|
46
|
+
'useParentOnReport': json['use_parent_on_report'] == null ? undefined : json['use_parent_on_report'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function PatchedDivisionWriteToJSON(json) {
|
|
50
|
+
return PatchedDivisionWriteToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PatchedDivisionWriteToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'city': value['city'],
|
|
59
|
+
'address': value['address'],
|
|
60
|
+
'postal': value['postal'],
|
|
61
|
+
'phone': value['phone'],
|
|
62
|
+
'contact_name': value['contactName'],
|
|
63
|
+
'contact_email': value['contactEmail'],
|
|
64
|
+
'invoice_email': value['invoiceEmail'],
|
|
65
|
+
'use_parent_on_email': value['useParentOnEmail'],
|
|
66
|
+
'use_parent_on_billing': value['useParentOnBilling'],
|
|
67
|
+
'use_parent_on_report': value['useParentOnReport'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pescheck API
|
|
3
|
+
* Official client library for the Pescheck API (v2), generated from the OpenAPI specification. Authenticate with OAuth2 client credentials and use the checks, profiles, screenings, webhooks and divisions endpoints. See https://github.com/pescheckit/pescheck-clients for installation and usage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
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
|
+
* PATCH body. Only name and description are editable. Sending `checks`
|
|
14
|
+
* is explicitly rejected - use PUT to replace the full check list.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchedV2ProfilePartialUpdate
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchedV2ProfilePartialUpdate {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PatchedV2ProfilePartialUpdate
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PatchedV2ProfilePartialUpdate
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PatchedV2ProfilePartialUpdate interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPatchedV2ProfilePartialUpdate(value: any): value is PatchedV2ProfilePartialUpdate;
|
|
36
|
+
export declare function PatchedV2ProfilePartialUpdateFromJSON(json: any): PatchedV2ProfilePartialUpdate;
|
|
37
|
+
export declare function PatchedV2ProfilePartialUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedV2ProfilePartialUpdate;
|
|
38
|
+
export declare function PatchedV2ProfilePartialUpdateToJSON(json: any): PatchedV2ProfilePartialUpdate;
|
|
39
|
+
export declare function PatchedV2ProfilePartialUpdateToJSONTyped(value?: PatchedV2ProfilePartialUpdate | null, ignoreDiscriminator?: boolean): any;
|