-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstructs.go
More file actions
65 lines (59 loc) · 2.04 KB
/
structs.go
File metadata and controls
65 lines (59 loc) · 2.04 KB
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
package main
import (
"time"
)
type Config struct {
SignerName string `json:"signer_name"`
SignerEmail string `json:"signer_email"`
CcName string `json:"cc_name"`
CcEmail string `json:"cc_email"`
IntegrationKey string `json:"integration_key"`
UserImpersonationGUIDJwt string `json:"user_impersonation_guid_jwt"`
SecretKeyAuthorizationCodeGrant string `json:"secret_key_authorization_code_grant"`
RSAPrivateKeyJwtLocation string `json:"RSA_private_key_jwt_location"`
}
type AccessToken struct {
Token string `json:"access_token"`
Type string `json:"token_type"`
Expiry int `json:"expires_in"`
}
// Auto-generated using https://transform.tools/json-to-go
type AccountId struct {
Sub string `json:"sub"`
Name string `json:"name"`
GivenName string `json:"given_name"`
FamilyName string `json:"family_name"`
Created string `json:"created"`
Email string `json:"email"`
Accounts []struct {
AccountID string `json:"account_id"`
IsDefault bool `json:"is_default"`
AccountName string `json:"account_name"`
BaseURI string `json:"base_uri"`
Organization struct {
OrganizationID string `json:"organization_id"`
Links []struct {
Rel string `json:"rel"`
Href string `json:"href"`
} `json:"links"`
} `json:"organization"`
} `json:"accounts"`
}
// Auto-generated using https://transform.tools/json-to-go
type EnvelopeID struct {
EnvelopeID string `json:"envelopeId"`
URI string `json:"uri"`
StatusDateTime time.Time `json:"statusDateTime"`
Status string `json:"status"`
}
// Auto-generated using https://transform.tools/json-to-go
type CustomFields struct {
TextCustomFields []struct {
FieldID string `json:"fieldId"`
Name string `json:"name"`
Show string `json:"show"`
Required string `json:"required"`
Value string `json:"value"`
} `json:"textCustomFields"`
ListCustomFields []interface{} `json:"listCustomFields"`
}