@greatwait/contracts 0.1.0-alpha.4 → 0.1.0-alpha.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/README.md +1 -1
- package/dist/billing.d.ts +231 -1
- package/dist/billing.js +150 -1
- package/dist/callback-safety.js +13 -3
- package/dist/configuration-bounds.d.ts +13 -0
- package/dist/configuration-bounds.js +13 -0
- package/dist/effective-limits.d.ts +40 -0
- package/dist/effective-limits.js +42 -0
- package/dist/endpoints.d.ts +5 -5
- package/dist/endpoints.js +5 -5
- package/dist/first-value-journey.d.ts +1 -1
- package/dist/first-value-journey.js +11 -7
- package/dist/forecast.d.ts +111 -21
- package/dist/forecast.js +87 -24
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/mcp.js +1 -1
- package/dist/operational-config.d.ts +101 -0
- package/dist/operational-config.js +341 -0
- package/dist/operations.d.ts +597 -16
- package/dist/operations.js +384 -23
- package/dist/partition.d.ts +17 -9
- package/dist/partition.js +3 -3
- package/dist/problems.d.ts +25 -2
- package/dist/problems.js +49 -1
- package/dist/protocol.d.ts +5 -5
- package/dist/protocol.js +2 -1
- package/dist/scheduling-records.d.ts +6 -0
- package/dist/scheduling.d.ts +37 -1
- package/dist/scheduling.js +60 -4
- package/dist/usage.js +6 -21
- package/generated/v1/examples/attempts.list.response.json +2 -0
- package/generated/v1/examples/attempts.read.response.json +2 -0
- package/generated/v1/examples/billing.fundingconfirm.response.json +120 -0
- package/generated/v1/examples/billing.invoicehistory.response.json +6 -0
- package/generated/v1/examples/billing.invoices.response.json +15 -0
- package/generated/v1/examples/billing.paymenthistory.response.json +6 -0
- package/generated/v1/examples/billing.paymentmethod.response.json +16 -0
- package/generated/v1/examples/billing.paymentmethodconfirm.request.json +3 -0
- package/generated/v1/examples/billing.paymentmethodconfirm.response.json +16 -0
- package/generated/v1/examples/billing.paymentmethodremove.request.json +3 -0
- package/generated/v1/examples/billing.paymentmethodremove.response.json +4 -0
- package/generated/v1/examples/billing.paymentmethodsetup.request.json +1 -0
- package/generated/v1/examples/billing.paymentmethodsetup.response.json +3 -0
- package/generated/v1/examples/limits.read.response.json +16 -0
- package/generated/v1/examples/occurrences.redeliver.response.json +2 -0
- package/generated/v1/first-value-journey.json +24 -8
- package/generated/v1/manifest.json +342 -10
- package/generated/v1/openapi.json +12395 -6543
- package/generated/v1/policy-matrix.json +65 -2
- package/generated/v1/schemas/attempts.list.response.json +15 -0
- package/generated/v1/schemas/attempts.read.response.json +15 -0
- package/generated/v1/schemas/billing.fundingconfirm.response.json +552 -0
- package/generated/v1/schemas/billing.invoicehistory.query.json +16 -0
- package/generated/v1/schemas/billing.invoicehistory.response.json +88 -0
- package/generated/v1/schemas/billing.invoices.response.json +51 -0
- package/generated/v1/schemas/billing.ledger.response.json +5 -0
- package/generated/v1/schemas/billing.notificationsettingsupdate.request.json +24 -17
- package/generated/v1/schemas/billing.paymenthistory.query.json +16 -0
- package/generated/v1/schemas/billing.paymenthistory.response.json +182 -0
- package/generated/v1/schemas/billing.paymentmethod.response.json +137 -0
- package/generated/v1/schemas/billing.paymentmethodconfirm.request.json +14 -0
- package/generated/v1/schemas/billing.paymentmethodconfirm.response.json +137 -0
- package/generated/v1/schemas/billing.paymentmethodremove.request.json +12 -0
- package/generated/v1/schemas/billing.paymentmethodremove.response.json +137 -0
- package/generated/v1/schemas/billing.paymentmethodsetup.request.json +12 -0
- package/generated/v1/schemas/billing.paymentmethodsetup.response.json +11 -0
- package/generated/v1/schemas/billing.purchase.request.json +4 -0
- package/generated/v1/schemas/forecast.read.request-headers.json +10 -0
- package/generated/v1/schemas/forecast.read.response.json +148 -0
- package/generated/v1/schemas/limits.read.response.json +79 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +15 -0
- package/generated/v1/snippets/billing.fundingconfirm.json +6 -0
- package/generated/v1/snippets/billing.invoicehistory.json +6 -0
- package/generated/v1/snippets/billing.invoices.json +6 -0
- package/generated/v1/snippets/billing.notificationsettingsupdate.json +1 -1
- package/generated/v1/snippets/billing.paymenthistory.json +6 -0
- package/generated/v1/snippets/billing.paymentmethod.json +6 -0
- package/generated/v1/snippets/billing.paymentmethodconfirm.json +6 -0
- package/generated/v1/snippets/billing.paymentmethodremove.json +6 -0
- package/generated/v1/snippets/billing.paymentmethodsetup.json +6 -0
- package/generated/v1/snippets/forecast.windows.json +1 -1
- package/generated/v1/snippets/limits.read.json +6 -0
- package/package.json +7 -2
|
@@ -55,6 +55,13 @@
|
|
|
55
55
|
"roles": ["admin", "billing", "member"],
|
|
56
56
|
"scopes": ["usage:read"]
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"mutates": true,
|
|
60
|
+
"operation": "billing.fundingconfirm",
|
|
61
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
62
|
+
"roles": ["admin", "billing"],
|
|
63
|
+
"scopes": ["billing:write"]
|
|
64
|
+
},
|
|
58
65
|
{
|
|
59
66
|
"mutates": false,
|
|
60
67
|
"operation": "billing.fundingquote",
|
|
@@ -62,6 +69,20 @@
|
|
|
62
69
|
"roles": ["admin", "billing"],
|
|
63
70
|
"scopes": ["billing:write"]
|
|
64
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"mutates": false,
|
|
74
|
+
"operation": "billing.invoicehistory",
|
|
75
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
76
|
+
"roles": ["admin", "billing", "member"],
|
|
77
|
+
"scopes": ["usage:read"]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"mutates": false,
|
|
81
|
+
"operation": "billing.invoices",
|
|
82
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
83
|
+
"roles": ["admin", "billing", "member"],
|
|
84
|
+
"scopes": ["usage:read"]
|
|
85
|
+
},
|
|
65
86
|
{
|
|
66
87
|
"mutates": false,
|
|
67
88
|
"operation": "billing.ledger",
|
|
@@ -90,6 +111,41 @@
|
|
|
90
111
|
"roles": ["admin", "billing"],
|
|
91
112
|
"scopes": ["billing:write"]
|
|
92
113
|
},
|
|
114
|
+
{
|
|
115
|
+
"mutates": false,
|
|
116
|
+
"operation": "billing.paymenthistory",
|
|
117
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
118
|
+
"roles": ["admin", "billing", "member"],
|
|
119
|
+
"scopes": ["usage:read"]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"mutates": false,
|
|
123
|
+
"operation": "billing.paymentmethod",
|
|
124
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
125
|
+
"roles": ["admin", "billing", "member"],
|
|
126
|
+
"scopes": ["usage:read"]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"mutates": true,
|
|
130
|
+
"operation": "billing.paymentmethodconfirm",
|
|
131
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
132
|
+
"roles": ["admin", "billing"],
|
|
133
|
+
"scopes": ["billing:write"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"mutates": true,
|
|
137
|
+
"operation": "billing.paymentmethodremove",
|
|
138
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
139
|
+
"roles": ["admin", "billing"],
|
|
140
|
+
"scopes": ["billing:write"]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"mutates": true,
|
|
144
|
+
"operation": "billing.paymentmethodsetup",
|
|
145
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
146
|
+
"roles": ["admin", "billing"],
|
|
147
|
+
"scopes": ["billing:write"]
|
|
148
|
+
},
|
|
93
149
|
{
|
|
94
150
|
"mutates": true,
|
|
95
151
|
"operation": "billing.portal",
|
|
@@ -128,14 +184,14 @@
|
|
|
128
184
|
{
|
|
129
185
|
"mutates": true,
|
|
130
186
|
"operation": "billing.refundrequest",
|
|
131
|
-
"principals": ["api-credential", "oauth"
|
|
187
|
+
"principals": ["api-credential", "oauth"],
|
|
132
188
|
"roles": ["admin", "billing"],
|
|
133
189
|
"scopes": ["billing:write"]
|
|
134
190
|
},
|
|
135
191
|
{
|
|
136
192
|
"mutates": true,
|
|
137
193
|
"operation": "billing.refundresolution",
|
|
138
|
-
"principals": ["api-credential", "oauth"
|
|
194
|
+
"principals": ["api-credential", "oauth"],
|
|
139
195
|
"roles": ["admin", "billing"],
|
|
140
196
|
"scopes": ["billing:write"]
|
|
141
197
|
},
|
|
@@ -316,6 +372,13 @@
|
|
|
316
372
|
"roles": ["admin", "billing", "member"],
|
|
317
373
|
"scopes": ["grants:write"]
|
|
318
374
|
},
|
|
375
|
+
{
|
|
376
|
+
"mutates": false,
|
|
377
|
+
"operation": "limits.read",
|
|
378
|
+
"principals": ["api-credential", "oauth", "session"],
|
|
379
|
+
"roles": ["admin", "billing", "member"],
|
|
380
|
+
"scopes": ["schedules:read"]
|
|
381
|
+
},
|
|
319
382
|
{
|
|
320
383
|
"mutates": false,
|
|
321
384
|
"operation": "meta.scaffold",
|
|
@@ -37,6 +37,11 @@
|
|
|
37
37
|
"rate_limited"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
|
+
"dispatchRecoveries": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": 0,
|
|
43
|
+
"maximum": 9007199254740991
|
|
44
|
+
},
|
|
40
45
|
"durationMs": {
|
|
41
46
|
"type": "integer",
|
|
42
47
|
"minimum": 0,
|
|
@@ -69,10 +74,20 @@
|
|
|
69
74
|
"type": "string",
|
|
70
75
|
"pattern": "^att_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
71
76
|
},
|
|
77
|
+
"localReceiptRecoveries": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"minimum": 0,
|
|
80
|
+
"maximum": 9007199254740991
|
|
81
|
+
},
|
|
72
82
|
"occurrence": {
|
|
73
83
|
"type": "string",
|
|
74
84
|
"pattern": "^occ_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
75
85
|
},
|
|
86
|
+
"rescues": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"exclusiveMinimum": 0,
|
|
89
|
+
"maximum": 9007199254740991
|
|
90
|
+
},
|
|
76
91
|
"remediation": {
|
|
77
92
|
"type": "string",
|
|
78
93
|
"enum": [
|
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
"rate_limited"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
|
+
"dispatchRecoveries": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"minimum": 0,
|
|
41
|
+
"maximum": 9007199254740991
|
|
42
|
+
},
|
|
38
43
|
"durationMs": {
|
|
39
44
|
"type": "integer",
|
|
40
45
|
"minimum": 0,
|
|
@@ -67,10 +72,20 @@
|
|
|
67
72
|
"type": "string",
|
|
68
73
|
"pattern": "^att_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
69
74
|
},
|
|
75
|
+
"localReceiptRecoveries": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"minimum": 0,
|
|
78
|
+
"maximum": 9007199254740991
|
|
79
|
+
},
|
|
70
80
|
"occurrence": {
|
|
71
81
|
"type": "string",
|
|
72
82
|
"pattern": "^occ_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
73
83
|
},
|
|
84
|
+
"rescues": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"exclusiveMinimum": 0,
|
|
87
|
+
"maximum": 9007199254740991
|
|
88
|
+
},
|
|
74
89
|
"remediation": {
|
|
75
90
|
"type": "string",
|
|
76
91
|
"enum": [
|