@vaultgig/vaultgig-api-client 0.0.1
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/README.md +135 -0
- package/dist/apis/ContractorsApi.d.ts +78 -0
- package/dist/apis/ContractorsApi.js +302 -0
- package/dist/apis/SchemaApi.d.ts +27 -0
- package/dist/apis/SchemaApi.js +129 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +20 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/BusinessClassification.d.ts +32 -0
- package/dist/models/BusinessClassification.js +58 -0
- package/dist/models/ContractorCreateData.d.ts +32 -0
- package/dist/models/ContractorCreateData.js +51 -0
- package/dist/models/ContractorCreatePayload.d.ts +51 -0
- package/dist/models/ContractorCreatePayload.js +64 -0
- package/dist/models/ContractorData.d.ts +33 -0
- package/dist/models/ContractorData.js +52 -0
- package/dist/models/ContractorResponse.d.ts +88 -0
- package/dist/models/ContractorResponse.js +75 -0
- package/dist/models/ContractorStatus.d.ts +28 -0
- package/dist/models/ContractorStatus.js +54 -0
- package/dist/models/ContractorType.d.ts +25 -0
- package/dist/models/ContractorType.js +51 -0
- package/dist/models/ContractorUpdatePayload.d.ts +106 -0
- package/dist/models/ContractorUpdatePayload.js +77 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +50 -0
- package/dist/models/PaginatedResponseContractorResponse.d.ts +52 -0
- package/dist/models/PaginatedResponseContractorResponse.js +61 -0
- package/dist/models/PaginationMeta.d.ts +44 -0
- package/dist/models/PaginationMeta.js +59 -0
- package/dist/models/ResponseContractorCreateData.d.ts +45 -0
- package/dist/models/ResponseContractorCreateData.js +56 -0
- package/dist/models/ResponseContractorData.d.ts +45 -0
- package/dist/models/ResponseContractorData.js +56 -0
- package/dist/models/ResponsePaginatedResponseContractorResponse.d.ts +45 -0
- package/dist/models/ResponsePaginatedResponseContractorResponse.js +56 -0
- package/dist/models/SuccessResponse.d.ts +38 -0
- package/dist/models/SuccessResponse.js +53 -0
- package/dist/models/TinType.d.ts +25 -0
- package/dist/models/TinType.js +51 -0
- package/dist/models/ValidationError.d.ts +45 -0
- package/dist/models/ValidationError.js +60 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +39 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +36 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/docs/BusinessClassification.md +33 -0
- package/docs/ContractorCreateData.md +35 -0
- package/docs/ContractorCreatePayload.md +41 -0
- package/docs/ContractorData.md +35 -0
- package/docs/ContractorResponse.md +53 -0
- package/docs/ContractorStatus.md +33 -0
- package/docs/ContractorType.md +33 -0
- package/docs/ContractorUpdatePayload.md +59 -0
- package/docs/ContractorsApi.md +308 -0
- package/docs/HTTPValidationError.md +34 -0
- package/docs/PaginatedResponseContractorResponse.md +40 -0
- package/docs/PaginationMeta.md +39 -0
- package/docs/ResponseContractorCreateData.md +38 -0
- package/docs/ResponseContractorData.md +38 -0
- package/docs/ResponsePaginatedResponseContractorResponse.md +38 -0
- package/docs/SchemaApi.md +68 -0
- package/docs/SuccessResponse.md +37 -0
- package/docs/TinType.md +33 -0
- package/docs/ValidationError.md +38 -0
- package/docs/ValidationErrorLocInner.md +32 -0
- package/package.json +19 -0
- package/src/apis/ContractorsApi.ts +280 -0
- package/src/apis/SchemaApi.ts +58 -0
- package/src/apis/index.ts +4 -0
- package/src/index.ts +5 -0
- package/src/models/BusinessClassification.ts +60 -0
- package/src/models/ContractorCreateData.ts +66 -0
- package/src/models/ContractorCreatePayload.ts +103 -0
- package/src/models/ContractorData.ts +74 -0
- package/src/models/ContractorResponse.ts +157 -0
- package/src/models/ContractorStatus.ts +56 -0
- package/src/models/ContractorType.ts +53 -0
- package/src/models/ContractorUpdatePayload.ts +179 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/PaginatedResponseContractorResponse.ts +106 -0
- package/src/models/PaginationMeta.ts +84 -0
- package/src/models/ResponseContractorCreateData.ts +90 -0
- package/src/models/ResponseContractorData.ts +90 -0
- package/src/models/ResponsePaginatedResponseContractorResponse.ts +90 -0
- package/src/models/SuccessResponse.ts +74 -0
- package/src/models/TinType.ts +53 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/index.ts +20 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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 { ContractorData } from './ContractorData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ResponseContractorData
|
|
17
|
+
*/
|
|
18
|
+
export interface ResponseContractorData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ResponseContractorData
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ContractorData}
|
|
28
|
+
* @memberof ResponseContractorData
|
|
29
|
+
*/
|
|
30
|
+
data?: ContractorData | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ResponseContractorData
|
|
35
|
+
*/
|
|
36
|
+
error?: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ResponseContractorData interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfResponseContractorData(value: object): value is ResponseContractorData;
|
|
42
|
+
export declare function ResponseContractorDataFromJSON(json: any): ResponseContractorData;
|
|
43
|
+
export declare function ResponseContractorDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseContractorData;
|
|
44
|
+
export declare function ResponseContractorDataToJSON(json: any): ResponseContractorData;
|
|
45
|
+
export declare function ResponseContractorDataToJSONTyped(value?: ResponseContractorData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.instanceOfResponseContractorData = instanceOfResponseContractorData;
|
|
17
|
+
exports.ResponseContractorDataFromJSON = ResponseContractorDataFromJSON;
|
|
18
|
+
exports.ResponseContractorDataFromJSONTyped = ResponseContractorDataFromJSONTyped;
|
|
19
|
+
exports.ResponseContractorDataToJSON = ResponseContractorDataToJSON;
|
|
20
|
+
exports.ResponseContractorDataToJSONTyped = ResponseContractorDataToJSONTyped;
|
|
21
|
+
var ContractorData_1 = require("./ContractorData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ResponseContractorData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfResponseContractorData(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ResponseContractorDataFromJSON(json) {
|
|
31
|
+
return ResponseContractorDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ResponseContractorDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'success': json['success'],
|
|
39
|
+
'data': json['data'] == null ? undefined : (0, ContractorData_1.ContractorDataFromJSON)(json['data']),
|
|
40
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ResponseContractorDataToJSON(json) {
|
|
44
|
+
return ResponseContractorDataToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ResponseContractorDataToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, ContractorData_1.ContractorDataToJSON)(value['data']),
|
|
54
|
+
'error': value['error'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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 { PaginatedResponseContractorResponse } from './PaginatedResponseContractorResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ResponsePaginatedResponseContractorResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ResponsePaginatedResponseContractorResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ResponsePaginatedResponseContractorResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {PaginatedResponseContractorResponse}
|
|
28
|
+
* @memberof ResponsePaginatedResponseContractorResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: PaginatedResponseContractorResponse | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ResponsePaginatedResponseContractorResponse
|
|
35
|
+
*/
|
|
36
|
+
error?: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ResponsePaginatedResponseContractorResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfResponsePaginatedResponseContractorResponse(value: object): value is ResponsePaginatedResponseContractorResponse;
|
|
42
|
+
export declare function ResponsePaginatedResponseContractorResponseFromJSON(json: any): ResponsePaginatedResponseContractorResponse;
|
|
43
|
+
export declare function ResponsePaginatedResponseContractorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponsePaginatedResponseContractorResponse;
|
|
44
|
+
export declare function ResponsePaginatedResponseContractorResponseToJSON(json: any): ResponsePaginatedResponseContractorResponse;
|
|
45
|
+
export declare function ResponsePaginatedResponseContractorResponseToJSONTyped(value?: ResponsePaginatedResponseContractorResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.instanceOfResponsePaginatedResponseContractorResponse = instanceOfResponsePaginatedResponseContractorResponse;
|
|
17
|
+
exports.ResponsePaginatedResponseContractorResponseFromJSON = ResponsePaginatedResponseContractorResponseFromJSON;
|
|
18
|
+
exports.ResponsePaginatedResponseContractorResponseFromJSONTyped = ResponsePaginatedResponseContractorResponseFromJSONTyped;
|
|
19
|
+
exports.ResponsePaginatedResponseContractorResponseToJSON = ResponsePaginatedResponseContractorResponseToJSON;
|
|
20
|
+
exports.ResponsePaginatedResponseContractorResponseToJSONTyped = ResponsePaginatedResponseContractorResponseToJSONTyped;
|
|
21
|
+
var PaginatedResponseContractorResponse_1 = require("./PaginatedResponseContractorResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ResponsePaginatedResponseContractorResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfResponsePaginatedResponseContractorResponse(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ResponsePaginatedResponseContractorResponseFromJSON(json) {
|
|
31
|
+
return ResponsePaginatedResponseContractorResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ResponsePaginatedResponseContractorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'success': json['success'],
|
|
39
|
+
'data': json['data'] == null ? undefined : (0, PaginatedResponseContractorResponse_1.PaginatedResponseContractorResponseFromJSON)(json['data']),
|
|
40
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ResponsePaginatedResponseContractorResponseToJSON(json) {
|
|
44
|
+
return ResponsePaginatedResponseContractorResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ResponsePaginatedResponseContractorResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, PaginatedResponseContractorResponse_1.PaginatedResponseContractorResponseToJSON)(value['data']),
|
|
54
|
+
'error': value['error'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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
|
+
* Success response without data.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SuccessResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SuccessResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SuccessResponse
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SuccessResponse
|
|
28
|
+
*/
|
|
29
|
+
error?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SuccessResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSuccessResponse(value: object): value is SuccessResponse;
|
|
35
|
+
export declare function SuccessResponseFromJSON(json: any): SuccessResponse;
|
|
36
|
+
export declare function SuccessResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessResponse;
|
|
37
|
+
export declare function SuccessResponseToJSON(json: any): SuccessResponse;
|
|
38
|
+
export declare function SuccessResponseToJSONTyped(value?: SuccessResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.instanceOfSuccessResponse = instanceOfSuccessResponse;
|
|
17
|
+
exports.SuccessResponseFromJSON = SuccessResponseFromJSON;
|
|
18
|
+
exports.SuccessResponseFromJSONTyped = SuccessResponseFromJSONTyped;
|
|
19
|
+
exports.SuccessResponseToJSON = SuccessResponseToJSON;
|
|
20
|
+
exports.SuccessResponseToJSONTyped = SuccessResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SuccessResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSuccessResponse(value) {
|
|
25
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SuccessResponseFromJSON(json) {
|
|
30
|
+
return SuccessResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SuccessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'success': json['success'],
|
|
38
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SuccessResponseToJSON(json) {
|
|
42
|
+
return SuccessResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SuccessResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'success': value['success'],
|
|
51
|
+
'error': value['error'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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
|
+
* TIN type.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const TinType: {
|
|
17
|
+
readonly Ssn: "ssn";
|
|
18
|
+
readonly Ein: "ein";
|
|
19
|
+
};
|
|
20
|
+
export type TinType = typeof TinType[keyof typeof TinType];
|
|
21
|
+
export declare function instanceOfTinType(value: any): boolean;
|
|
22
|
+
export declare function TinTypeFromJSON(json: any): TinType;
|
|
23
|
+
export declare function TinTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TinType;
|
|
24
|
+
export declare function TinTypeToJSON(value?: TinType | null): any;
|
|
25
|
+
export declare function TinTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): TinType;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.TinType = void 0;
|
|
17
|
+
exports.instanceOfTinType = instanceOfTinType;
|
|
18
|
+
exports.TinTypeFromJSON = TinTypeFromJSON;
|
|
19
|
+
exports.TinTypeFromJSONTyped = TinTypeFromJSONTyped;
|
|
20
|
+
exports.TinTypeToJSON = TinTypeToJSON;
|
|
21
|
+
exports.TinTypeToJSONTyped = TinTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* TIN type.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.TinType = {
|
|
27
|
+
Ssn: 'ssn',
|
|
28
|
+
Ein: 'ein'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfTinType(value) {
|
|
31
|
+
for (var key in exports.TinType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.TinType, key)) {
|
|
33
|
+
if (exports.TinType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function TinTypeFromJSON(json) {
|
|
41
|
+
return TinTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function TinTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function TinTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function TinTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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 { ValidationErrorLocInner } from './ValidationErrorLocInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationErrorLocInner>}
|
|
22
|
+
* @memberof ValidationError
|
|
23
|
+
*/
|
|
24
|
+
loc: Array<ValidationErrorLocInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ValidationError
|
|
29
|
+
*/
|
|
30
|
+
msg: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ValidationError
|
|
35
|
+
*/
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ValidationError interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfValidationError(value: object): value is ValidationError;
|
|
42
|
+
export declare function ValidationErrorFromJSON(json: any): ValidationError;
|
|
43
|
+
export declare function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationError;
|
|
44
|
+
export declare function ValidationErrorToJSON(json: any): ValidationError;
|
|
45
|
+
export declare function ValidationErrorToJSONTyped(value?: ValidationError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.instanceOfValidationError = instanceOfValidationError;
|
|
17
|
+
exports.ValidationErrorFromJSON = ValidationErrorFromJSON;
|
|
18
|
+
exports.ValidationErrorFromJSONTyped = ValidationErrorFromJSONTyped;
|
|
19
|
+
exports.ValidationErrorToJSON = ValidationErrorToJSON;
|
|
20
|
+
exports.ValidationErrorToJSONTyped = ValidationErrorToJSONTyped;
|
|
21
|
+
var ValidationErrorLocInner_1 = require("./ValidationErrorLocInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ValidationError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfValidationError(value) {
|
|
26
|
+
if (!('loc' in value) || value['loc'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('msg' in value) || value['msg'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ValidationErrorFromJSON(json) {
|
|
35
|
+
return ValidationErrorFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'loc': (json['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerFromJSON)),
|
|
43
|
+
'msg': json['msg'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ValidationErrorToJSON(json) {
|
|
48
|
+
return ValidationErrorToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ValidationErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'loc': (value['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerToJSON)),
|
|
57
|
+
'msg': value['msg'],
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VaultGig API
|
|
3
|
+
* API for VaultGig contractor management system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.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 ValidationErrorLocInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidationErrorLocInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
+
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
+
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
+
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
+
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* VaultGig API
|
|
6
|
+
* API for VaultGig contractor management system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.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.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
|
|
17
|
+
exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
|
|
18
|
+
exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
|
|
19
|
+
exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
|
|
20
|
+
exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfValidationErrorLocInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ValidationErrorLocInnerFromJSON(json) {
|
|
28
|
+
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function ValidationErrorLocInnerToJSON(json) {
|
|
34
|
+
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
37
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './BusinessClassification';
|
|
2
|
+
export * from './ContractorCreateData';
|
|
3
|
+
export * from './ContractorCreatePayload';
|
|
4
|
+
export * from './ContractorData';
|
|
5
|
+
export * from './ContractorResponse';
|
|
6
|
+
export * from './ContractorStatus';
|
|
7
|
+
export * from './ContractorType';
|
|
8
|
+
export * from './ContractorUpdatePayload';
|
|
9
|
+
export * from './HTTPValidationError';
|
|
10
|
+
export * from './PaginatedResponseContractorResponse';
|
|
11
|
+
export * from './PaginationMeta';
|
|
12
|
+
export * from './ResponseContractorCreateData';
|
|
13
|
+
export * from './ResponseContractorData';
|
|
14
|
+
export * from './ResponsePaginatedResponseContractorResponse';
|
|
15
|
+
export * from './SuccessResponse';
|
|
16
|
+
export * from './TinType';
|
|
17
|
+
export * from './ValidationError';
|
|
18
|
+
export * from './ValidationErrorLocInner';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./BusinessClassification"), exports);
|
|
20
|
+
__exportStar(require("./ContractorCreateData"), exports);
|
|
21
|
+
__exportStar(require("./ContractorCreatePayload"), exports);
|
|
22
|
+
__exportStar(require("./ContractorData"), exports);
|
|
23
|
+
__exportStar(require("./ContractorResponse"), exports);
|
|
24
|
+
__exportStar(require("./ContractorStatus"), exports);
|
|
25
|
+
__exportStar(require("./ContractorType"), exports);
|
|
26
|
+
__exportStar(require("./ContractorUpdatePayload"), exports);
|
|
27
|
+
__exportStar(require("./HTTPValidationError"), exports);
|
|
28
|
+
__exportStar(require("./PaginatedResponseContractorResponse"), exports);
|
|
29
|
+
__exportStar(require("./PaginationMeta"), exports);
|
|
30
|
+
__exportStar(require("./ResponseContractorCreateData"), exports);
|
|
31
|
+
__exportStar(require("./ResponseContractorData"), exports);
|
|
32
|
+
__exportStar(require("./ResponsePaginatedResponseContractorResponse"), exports);
|
|
33
|
+
__exportStar(require("./SuccessResponse"), exports);
|
|
34
|
+
__exportStar(require("./TinType"), exports);
|
|
35
|
+
__exportStar(require("./ValidationError"), exports);
|
|
36
|
+
__exportStar(require("./ValidationErrorLocInner"), exports);
|