-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
88 lines (57 loc) · 1.83 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../resource';
import * as Core from '../core';
import * as Shared from './shared';
export class Config extends APIResource {
/**
* config
*/
retrieve(options?: Core.RequestOptions): Core.APIPromise<ConfigRetrieveResponse> {
return this._client.get('/api/where/config.json', options);
}
}
export interface ConfigRetrieveResponse extends Shared.ResponseWrapper {
data: ConfigRetrieveResponse.Data;
}
export namespace ConfigRetrieveResponse {
export interface Data {
entry: Data.Entry;
references: Shared.References;
}
export namespace Data {
export interface Entry {
id?: string;
gitProperties?: Entry.GitProperties;
name?: string;
serviceDateFrom?: string;
serviceDateTo?: string;
}
export namespace Entry {
export interface GitProperties {
'git.branch'?: string;
'git.build.host'?: string;
'git.build.time'?: string;
'git.build.user.email'?: string;
'git.build.user.name'?: string;
'git.build.version'?: string;
'git.closest.tag.commit.count'?: string;
'git.closest.tag.name'?: string;
'git.commit.id'?: string;
'git.commit.id.abbrev'?: string;
'git.commit.id.describe'?: string;
'git.commit.id.describe-short'?: string;
'git.commit.message.full'?: string;
'git.commit.message.short'?: string;
'git.commit.time'?: string;
'git.commit.user.email'?: string;
'git.commit.user.name'?: string;
'git.dirty'?: string;
'git.remote.origin.url'?: string;
'git.tags'?: string;
}
}
}
}
export declare namespace Config {
export { type ConfigRetrieveResponse as ConfigRetrieveResponse };
}