Skip to content

Commit 4e1cc16

Browse files
speakeasybotfrankie567
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.533.0
1 parent 63e0cfe commit 4e1cc16

File tree

244 files changed

+6767
-973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+6767
-973
lines changed

.speakeasy/gen.lock

Lines changed: 89 additions & 63 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
go:
21-
version: 0.4.11
21+
version: 0.4.12
2222
additionalDependencies: {}
2323
allowUnknownFieldsInWeakUnions: false
2424
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.533.0
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:779b0ec5d1f5ca00a252f2dda4c5fc943fe1a5d38ba032a388aee030f961f153
6-
sourceBlobDigest: sha256:7bea8792738698015798ca2b95ba8e71d9fbc2cbcacb0c75668d2ce3612af178
5+
sourceRevisionDigest: sha256:580fc7f2fb5a41b4fb31728d9174a597d5f1507d37ef324e9f139da91b3085e4
6+
sourceBlobDigest: sha256:355d7a5e0f98475072e61536187b1252dfb5fe3735e76093e00d50a928c395cc
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1744676844
9+
- speakeasy-sdk-regen-1744795112
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:779b0ec5d1f5ca00a252f2dda4c5fc943fe1a5d38ba032a388aee030f961f153
16-
sourceBlobDigest: sha256:7bea8792738698015798ca2b95ba8e71d9fbc2cbcacb0c75668d2ce3612af178
15+
sourceRevisionDigest: sha256:580fc7f2fb5a41b4fb31728d9174a597d5f1507d37ef324e9f139da91b3085e4
16+
sourceBlobDigest: sha256:355d7a5e0f98475072e61536187b1252dfb5fe3735e76093e00d50a928c395cc
1717
codeSamplesNamespace: polar-oas-code-samples-go
18-
codeSamplesRevisionDigest: sha256:b688b28cc0405c4d38448e80044d52c1db2f88767768ce55f813c1a5a4b57f75
18+
codeSamplesRevisionDigest: sha256:54b90bf50014c16f44a6a1e20d752ca572a87a4b78b9ed62d41d2fc2dcf1df63
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 74 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -133,35 +133,29 @@ func main() {
133133
OrganizationID: "<value>",
134134
Prices: []components.CheckoutProductPrices{
135135
components.CreateCheckoutProductPricesProductPrice(
136-
components.CreateProductPriceProductPriceMeteredUnit(
137-
components.ProductPriceMeteredUnit{
138-
CreatedAt: types.MustTimeFromString("2024-12-13T18:25:33.693Z"),
139-
ModifiedAt: types.MustNewTimeFromString("2023-01-09T04:38:53.436Z"),
136+
components.CreateProductPriceProductPriceFixed(
137+
components.ProductPriceFixed{
138+
CreatedAt: types.MustTimeFromString("2024-12-24T07:52:43.518Z"),
139+
ModifiedAt: types.MustNewTimeFromString("2023-04-26T22:34:57.487Z"),
140140
ID: "<value>",
141141
IsArchived: false,
142142
ProductID: "<value>",
143-
Type: components.ProductPriceTypeRecurring,
143+
Type: components.ProductPriceTypeOneTime,
144144
RecurringInterval: components.SubscriptionRecurringIntervalMonth.ToPointer(),
145145
PriceCurrency: "<value>",
146-
UnitAmount: "<value>",
147-
CapAmount: polargo.Int64(199664),
148-
MeterID: "<value>",
149-
Meter: components.ProductPriceMeter{
150-
ID: "<value>",
151-
Name: "<value>",
152-
},
146+
PriceAmount: 856200,
153147
},
154148
),
155149
),
156150
components.CreateCheckoutProductPricesLegacyRecurringProductPrice(
157151
components.CreateLegacyRecurringProductPriceFree(
158152
components.LegacyRecurringProductPriceFree{
159-
CreatedAt: types.MustTimeFromString("2023-01-25T05:44:56.791Z"),
160-
ModifiedAt: types.MustNewTimeFromString("2025-05-25T15:20:50.694Z"),
153+
CreatedAt: types.MustTimeFromString("2024-11-27T14:29:40.329Z"),
154+
ModifiedAt: types.MustNewTimeFromString("2025-12-25T02:24:08.035Z"),
161155
ID: "<value>",
162156
IsArchived: false,
163157
ProductID: "<value>",
164-
RecurringInterval: components.SubscriptionRecurringIntervalYear,
158+
RecurringInterval: components.SubscriptionRecurringIntervalMonth,
165159
},
166160
),
167161
),
@@ -202,29 +196,47 @@ func main() {
202196
Prices: []components.CheckoutProductPrices{},
203197
Benefits: []components.BenefitBase{
204198
components.BenefitBase{
205-
CreatedAt: types.MustTimeFromString("2025-11-18T07:12:26.749Z"),
206-
ModifiedAt: types.MustNewTimeFromString("2024-08-14T14:29:29.201Z"),
207-
ID: "<value>",
199+
ID: "<value>",
200+
CreatedAt: types.MustTimeFromString("2025-11-18T07:12:26.749Z"),
201+
ModifiedAt: types.MustNewTimeFromString("2024-08-14T14:29:29.201Z"),
202+
Metadata: map[string]components.BenefitBaseMetadata{
203+
"key": components.CreateBenefitBaseMetadataNumber(
204+
2107.02,
205+
),
206+
},
208207
Type: components.BenefitTypeGithubRepository,
209208
Description: "phew empty flawed worth radiant anti of blissfully",
210209
Selectable: false,
211210
Deletable: false,
212211
OrganizationID: "<value>",
213212
},
214213
components.BenefitBase{
215-
CreatedAt: types.MustTimeFromString("2024-03-12T06:20:21.161Z"),
216-
ModifiedAt: types.MustNewTimeFromString("2024-06-27T20:20:27.400Z"),
217-
ID: "<value>",
214+
ID: "<value>",
215+
CreatedAt: types.MustTimeFromString("2024-03-12T06:20:21.161Z"),
216+
ModifiedAt: types.MustNewTimeFromString("2024-06-27T20:20:27.400Z"),
217+
Metadata: map[string]components.BenefitBaseMetadata{
218+
"key": components.CreateBenefitBaseMetadataNumber(
219+
7454.42,
220+
),
221+
},
218222
Type: components.BenefitTypeLicenseKeys,
219223
Description: "ack neatly jagged as weekly drat nor why",
220224
Selectable: true,
221225
Deletable: false,
222226
OrganizationID: "<value>",
223227
},
224228
components.BenefitBase{
225-
CreatedAt: types.MustTimeFromString("2024-03-31T07:42:35.077Z"),
226-
ModifiedAt: types.MustNewTimeFromString("2025-04-30T13:13:01.707Z"),
227-
ID: "<value>",
229+
ID: "<value>",
230+
CreatedAt: types.MustTimeFromString("2024-03-31T07:42:35.077Z"),
231+
ModifiedAt: types.MustNewTimeFromString("2025-04-30T13:13:01.707Z"),
232+
Metadata: map[string]components.BenefitBaseMetadata{
233+
"key": components.CreateBenefitBaseMetadataNumber(
234+
8517.45,
235+
),
236+
"key1": components.CreateBenefitBaseMetadataStr(
237+
"<value>",
238+
),
239+
},
228240
Type: components.BenefitTypeGithubRepository,
229241
Description: "ironclad chilly seriously finger unbearably and bourgeoisie deplore unless",
230242
Selectable: false,
@@ -256,17 +268,17 @@ func main() {
256268
ProductPrice: components.CreateCheckoutProductPriceProductPrice(
257269
components.CreateProductPriceProductPriceCustom(
258270
components.ProductPriceCustom{
259-
CreatedAt: types.MustTimeFromString("2024-12-18T06:26:25.293Z"),
260-
ModifiedAt: types.MustNewTimeFromString("2025-03-28T00:06:24.086Z"),
271+
CreatedAt: types.MustTimeFromString("2025-03-10T15:40:27.607Z"),
272+
ModifiedAt: types.MustNewTimeFromString("2025-09-19T22:43:39.176Z"),
261273
ID: "<value>",
262274
IsArchived: false,
263275
ProductID: "<value>",
264-
Type: components.ProductPriceTypeOneTime,
276+
Type: components.ProductPriceTypeRecurring,
265277
RecurringInterval: components.SubscriptionRecurringIntervalYear.ToPointer(),
266278
PriceCurrency: "<value>",
267-
MinimumAmount: polargo.Int64(476477),
268-
MaximumAmount: polargo.Int64(729611),
269-
PresetAmount: polargo.Int64(905974),
279+
MinimumAmount: polargo.Int64(774323),
280+
MaximumAmount: polargo.Int64(538461),
281+
PresetAmount: polargo.Int64(729540),
270282
},
271283
),
272284
),
@@ -283,27 +295,6 @@ func main() {
283295
)),
284296
SubscriptionID: polargo.String("<value>"),
285297
AttachedCustomFields: []components.AttachedCustomField{
286-
components.AttachedCustomField{
287-
CustomFieldID: "<value>",
288-
CustomField: components.CreateCustomFieldNumber(
289-
components.CustomFieldNumber{
290-
CreatedAt: types.MustTimeFromString("2025-10-29T00:32:24.235Z"),
291-
ModifiedAt: types.MustNewTimeFromString("2025-04-28T15:46:25.145Z"),
292-
ID: "<value>",
293-
Metadata: map[string]components.CustomFieldNumberMetadata{
294-
"key": components.CreateCustomFieldNumberMetadataInteger(
295-
729540,
296-
),
297-
},
298-
Slug: "<value>",
299-
Name: "<value>",
300-
OrganizationID: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
301-
Properties: components.CustomFieldNumberProperties{},
302-
},
303-
),
304-
Order: 192934,
305-
Required: true,
306-
},
307298
components.AttachedCustomField{
308299
CustomFieldID: "<value>",
309300
CustomField: components.CreateCustomFieldSelect(
@@ -329,8 +320,8 @@ func main() {
329320
},
330321
},
331322
),
332-
Order: 597839,
333-
Required: false,
323+
Order: 192934,
324+
Required: true,
334325
},
335326
components.AttachedCustomField{
336327
CustomFieldID: "<value>",
@@ -340,8 +331,8 @@ func main() {
340331
ModifiedAt: types.MustNewTimeFromString("2025-03-10T05:19:02.590Z"),
341332
ID: "<value>",
342333
Metadata: map[string]components.CustomFieldDateMetadata{
343-
"key": components.CreateCustomFieldDateMetadataInteger(
344-
624425,
334+
"key": components.CreateCustomFieldDateMetadataNumber(
335+
6244.25,
345336
),
346337
},
347338
Slug: "<value>",
@@ -350,6 +341,34 @@ func main() {
350341
Properties: components.CustomFieldDateProperties{},
351342
},
352343
),
344+
Order: 597839,
345+
Required: false,
346+
},
347+
components.AttachedCustomField{
348+
CustomFieldID: "<value>",
349+
CustomField: components.CreateCustomFieldSelect(
350+
components.CustomFieldSelect{
351+
CreatedAt: types.MustTimeFromString("2025-11-05T18:06:37.266Z"),
352+
ModifiedAt: types.MustNewTimeFromString("2025-05-05T09:05:51.688Z"),
353+
ID: "<value>",
354+
Metadata: map[string]components.CustomFieldSelectMetadata{
355+
"key": components.CreateCustomFieldSelectMetadataStr(
356+
"<value>",
357+
),
358+
},
359+
Slug: "<value>",
360+
Name: "<value>",
361+
OrganizationID: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
362+
Properties: components.CustomFieldSelectProperties{
363+
Options: []components.CustomFieldSelectOption{
364+
components.CustomFieldSelectOption{
365+
Value: "<value>",
366+
Label: "<value>",
367+
},
368+
},
369+
},
370+
},
371+
),
353372
Order: 660585,
354373
Required: false,
355374
},

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,14 @@ Based on:
258258
### Generated
259259
- [go v0.4.11] .
260260
### Releases
261-
- [Go v0.4.11] https://github.com/polarsource/polar-go/releases/tag/v0.4.11 - .
261+
- [Go v0.4.11] https://github.com/polarsource/polar-go/releases/tag/v0.4.11 - .
262+
263+
## 2025-04-16 09:18:16
264+
### Changes
265+
Based on:
266+
- OpenAPI Doc
267+
- Speakeasy CLI 1.533.0 (2.578.0) https://github.com/speakeasy-api/speakeasy
268+
### Generated
269+
- [go v0.4.12] .
270+
### Releases
271+
- [Go v0.4.12] https://github.com/polarsource/polar-go/releases/tag/v0.4.12 - .

0 commit comments

Comments
 (0)