@@ -133,35 +133,29 @@ func main() {
133
133
OrganizationID: " <value>" ,
134
134
Prices: []components.CheckoutProductPrices {
135
135
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 " ),
140
140
ID: " <value>" ,
141
141
IsArchived: false ,
142
142
ProductID: " <value>" ,
143
- Type: components.ProductPriceTypeRecurring ,
143
+ Type: components.ProductPriceTypeOneTime ,
144
144
RecurringInterval: components.SubscriptionRecurringIntervalMonth .ToPointer (),
145
145
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 ,
153
147
},
154
148
),
155
149
),
156
150
components.CreateCheckoutProductPricesLegacyRecurringProductPrice (
157
151
components.CreateLegacyRecurringProductPriceFree (
158
152
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 " ),
161
155
ID: " <value>" ,
162
156
IsArchived: false ,
163
157
ProductID: " <value>" ,
164
- RecurringInterval: components.SubscriptionRecurringIntervalYear ,
158
+ RecurringInterval: components.SubscriptionRecurringIntervalMonth ,
165
159
},
166
160
),
167
161
),
@@ -202,29 +196,47 @@ func main() {
202
196
Prices: []components.CheckoutProductPrices {},
203
197
Benefits: []components.BenefitBase {
204
198
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
+ },
208
207
Type: components.BenefitTypeGithubRepository ,
209
208
Description: " phew empty flawed worth radiant anti of blissfully" ,
210
209
Selectable: false ,
211
210
Deletable: false ,
212
211
OrganizationID: " <value>" ,
213
212
},
214
213
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
+ },
218
222
Type: components.BenefitTypeLicenseKeys ,
219
223
Description: " ack neatly jagged as weekly drat nor why" ,
220
224
Selectable: true ,
221
225
Deletable: false ,
222
226
OrganizationID: " <value>" ,
223
227
},
224
228
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
+ },
228
240
Type: components.BenefitTypeGithubRepository ,
229
241
Description: " ironclad chilly seriously finger unbearably and bourgeoisie deplore unless" ,
230
242
Selectable: false ,
@@ -256,17 +268,17 @@ func main() {
256
268
ProductPrice: components.CreateCheckoutProductPriceProductPrice (
257
269
components.CreateProductPriceProductPriceCustom (
258
270
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 " ),
261
273
ID: " <value>" ,
262
274
IsArchived: false ,
263
275
ProductID: " <value>" ,
264
- Type: components.ProductPriceTypeOneTime ,
276
+ Type: components.ProductPriceTypeRecurring ,
265
277
RecurringInterval: components.SubscriptionRecurringIntervalYear .ToPointer (),
266
278
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 ),
270
282
},
271
283
),
272
284
),
@@ -283,27 +295,6 @@ func main() {
283
295
)),
284
296
SubscriptionID: polargo.String (" <value>" ),
285
297
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
- },
307
298
components.AttachedCustomField {
308
299
CustomFieldID: " <value>" ,
309
300
CustomField: components.CreateCustomFieldSelect (
@@ -329,8 +320,8 @@ func main() {
329
320
},
330
321
},
331
322
),
332
- Order: 597839 ,
333
- Required: false ,
323
+ Order: 192934 ,
324
+ Required: true ,
334
325
},
335
326
components.AttachedCustomField {
336
327
CustomFieldID: " <value>" ,
@@ -340,8 +331,8 @@ func main() {
340
331
ModifiedAt: types.MustNewTimeFromString (" 2025-03-10T05:19:02.590Z" ),
341
332
ID: " <value>" ,
342
333
Metadata: map [string ]components.CustomFieldDateMetadata {
343
- " key" : components.CreateCustomFieldDateMetadataInteger (
344
- 624425 ,
334
+ " key" : components.CreateCustomFieldDateMetadataNumber (
335
+ 6244.25 ,
345
336
),
346
337
},
347
338
Slug: " <value>" ,
@@ -350,6 +341,34 @@ func main() {
350
341
Properties: components.CustomFieldDateProperties {},
351
342
},
352
343
),
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
+ ),
353
372
Order: 660585 ,
354
373
Required: false ,
355
374
},
0 commit comments