-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.go
100 lines (72 loc) · 3.98 KB
/
aliases.go
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
89
90
91
92
93
94
95
96
97
98
99
100
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
package orb
import (
"github.com/orbcorp/orb-go/internal/apierror"
"github.com/orbcorp/orb-go/shared"
)
type Error = apierror.Error
type ErrorStatus = apierror.ErrorStatus
const ErrorStatus500 = apierror.ErrorStatus500
const ErrorStatus429 = apierror.ErrorStatus429
const ErrorStatus413 = apierror.ErrorStatus413
const ErrorStatus409 = apierror.ErrorStatus409
const ErrorStatus404 = apierror.ErrorStatus404
const ErrorStatus400 = apierror.ErrorStatus400
const ErrorStatus401 = apierror.ErrorStatus401
type ErrorType = apierror.ErrorType
const ErrorTypeOrbInternalServerError = apierror.ErrorTypeOrbInternalServerError
const ErrorTypeTooManyRequests = apierror.ErrorTypeTooManyRequests
const ErrorTypeResourceTooLarge = apierror.ErrorTypeResourceTooLarge
const ErrorTypeRequestTooLarge = apierror.ErrorTypeRequestTooLarge
const ErrorTypeResourceConflict = apierror.ErrorTypeResourceConflict
const ErrorTypeURLNotFound = apierror.ErrorTypeURLNotFound
const ErrorTypeResourceNotFound = apierror.ErrorTypeResourceNotFound
const ErrorTypeFeatureNotAvailable = apierror.ErrorTypeFeatureNotAvailable
const ErrorTypeOrbAuthenticationError = apierror.ErrorTypeOrbAuthenticationError
const ErrorTypeRequestValidationError = apierror.ErrorTypeRequestValidationError
const ErrorTypeDuplicateResourceCreation = apierror.ErrorTypeDuplicateResourceCreation
const ErrorTypeConstraintViolation = apierror.ErrorTypeConstraintViolation
// This is an alias to an internal type.
type BillingCycleRelativeDate = shared.BillingCycleRelativeDate
// This is an alias to an internal value.
const BillingCycleRelativeDateStartOfTerm = shared.BillingCycleRelativeDateStartOfTerm
// This is an alias to an internal value.
const BillingCycleRelativeDateEndOfTerm = shared.BillingCycleRelativeDateEndOfTerm
// This is an alias to an internal type.
type Discount = shared.Discount
// This is an alias to an internal type.
type DiscountPercentageDiscount = shared.DiscountPercentageDiscount
// This is an alias to an internal type.
type DiscountPercentageDiscountDiscountType = shared.DiscountPercentageDiscountDiscountType
// This is an alias to an internal value.
const DiscountPercentageDiscountDiscountTypePercentage = shared.DiscountPercentageDiscountDiscountTypePercentage
// This is an alias to an internal type.
type DiscountTrialDiscount = shared.DiscountTrialDiscount
// This is an alias to an internal type.
type DiscountTrialDiscountDiscountType = shared.DiscountTrialDiscountDiscountType
// This is an alias to an internal value.
const DiscountTrialDiscountDiscountTypeTrial = shared.DiscountTrialDiscountDiscountTypeTrial
// This is an alias to an internal type.
type DiscountUsageDiscount = shared.DiscountUsageDiscount
// This is an alias to an internal type.
type DiscountUsageDiscountDiscountType = shared.DiscountUsageDiscountDiscountType
// This is an alias to an internal value.
const DiscountUsageDiscountDiscountTypeUsage = shared.DiscountUsageDiscountDiscountTypeUsage
// This is an alias to an internal type.
type DiscountAmountDiscount = shared.DiscountAmountDiscount
// This is an alias to an internal type.
type DiscountAmountDiscountDiscountType = shared.DiscountAmountDiscountDiscountType
// This is an alias to an internal value.
const DiscountAmountDiscountDiscountTypeAmount = shared.DiscountAmountDiscountDiscountTypeAmount
// This is an alias to an internal type.
type DiscountDiscountType = shared.DiscountDiscountType
// This is an alias to an internal value.
const DiscountDiscountTypePercentage = shared.DiscountDiscountTypePercentage
// This is an alias to an internal value.
const DiscountDiscountTypeTrial = shared.DiscountDiscountTypeTrial
// This is an alias to an internal value.
const DiscountDiscountTypeUsage = shared.DiscountDiscountTypeUsage
// This is an alias to an internal value.
const DiscountDiscountTypeAmount = shared.DiscountDiscountTypeAmount
// This is an alias to an internal type.
type PaginationMetadata = shared.PaginationMetadata