@@ -84,11 +84,11 @@ func main() {
84
84
ExpiresAt: types.MustTimeFromString (" 2023-02-25T02:26:48.460Z" ),
85
85
SuccessURL: " https://sardonic-final.info/" ,
86
86
EmbedOrigin: polargo.String (" <value>" ),
87
- Amount: polargo. Int64 ( 962818 ) ,
88
- DiscountAmount: polargo. Int64 ( 954929 ) ,
89
- NetAmount: polargo. Int64 ( 467348 ) ,
87
+ Amount: 962818 ,
88
+ DiscountAmount: 954929 ,
89
+ NetAmount: 467348 ,
90
90
TaxAmount: polargo.Int64 (6400 ),
91
- TotalAmount: polargo. Int64 ( 210702 ) ,
91
+ TotalAmount: 210702 ,
92
92
Currency: polargo.String (" Yen" ),
93
93
ProductID: " <value>" ,
94
94
ProductPriceID: " <value>" ,
@@ -233,8 +233,7 @@ func main() {
233
233
RecurringInterval: components.SubscriptionRecurringIntervalYear .ToPointer (),
234
234
PriceCurrency: " <value>" ,
235
235
UnitAmount: 482040 ,
236
- IncludedUnits: 134 ,
237
- CapAmount: polargo.Int64 (383315 ),
236
+ CapAmount: polargo.Int64 (134 ),
238
237
MeterID: " <value>" ,
239
238
Meter: components.ProductPriceMeter {
240
239
ID: " <value>" ,
@@ -243,20 +242,15 @@ func main() {
243
242
},
244
243
),
245
244
),
246
- components.CreateCheckoutProductPricesProductPrice (
247
- components.CreateProductPriceProductPriceCustom (
248
- components.ProductPriceCustom {
249
- CreatedAt: types.MustTimeFromString (" 2023-10-09T19:13:38.530Z " ),
250
- ModifiedAt: types.MustNewTimeFromString (" 2025-03-10T05:19:02.590Z " ),
245
+ components.CreateCheckoutProductPricesLegacyRecurringProductPrice (
246
+ components.CreateLegacyRecurringProductPriceFree (
247
+ components.LegacyRecurringProductPriceFree {
248
+ CreatedAt: types.MustTimeFromString (" 2023-10-21T11:52:11.842Z " ),
249
+ ModifiedAt: types.MustNewTimeFromString (" 2023-10-09T19:13:38.530Z " ),
251
250
ID: " <value>" ,
252
251
IsArchived: false ,
253
252
ProductID: " <value>" ,
254
- Type: components.ProductPriceTypeRecurring ,
255
- RecurringInterval: components.SubscriptionRecurringIntervalYear .ToPointer (),
256
- PriceCurrency: " <value>" ,
257
- MinimumAmount: polargo.Int64 (647154 ),
258
- MaximumAmount: polargo.Int64 (948682 ),
259
- PresetAmount: polargo.Int64 (780456 ),
253
+ RecurringInterval: components.SubscriptionRecurringIntervalYear ,
260
254
},
261
255
),
262
256
),
@@ -341,44 +335,45 @@ func main() {
341
335
IsArchived: false ,
342
336
OrganizationID: " <value>" ,
343
337
Prices: []components.CheckoutProductPrices {
338
+ components.CreateCheckoutProductPricesProductPrice (
339
+ components.CreateProductPriceProductPriceFree (
340
+ components.ProductPriceFree {
341
+ CreatedAt: types.MustTimeFromString (" 2024-12-10T06:44:06.426Z" ),
342
+ ModifiedAt: types.MustNewTimeFromString (" 2025-11-05T18:06:37.266Z" ),
343
+ ID: " <value>" ,
344
+ IsArchived: false ,
345
+ ProductID: " <value>" ,
346
+ Type: components.ProductPriceTypeRecurring ,
347
+ RecurringInterval: components.SubscriptionRecurringIntervalMonth .ToPointer (),
348
+ },
349
+ ),
350
+ ),
344
351
components.CreateCheckoutProductPricesLegacyRecurringProductPrice (
345
352
components.CreateLegacyRecurringProductPriceCustom (
346
353
components.LegacyRecurringProductPriceCustom {
347
- CreatedAt: types.MustTimeFromString (" 2023-12-31T19:37:54.401Z " ),
348
- ModifiedAt: types.MustNewTimeFromString (" 2023-11-12T05:54:16.026Z " ),
354
+ CreatedAt: types.MustTimeFromString (" 2023-11-12T05:54:16.026Z " ),
355
+ ModifiedAt: types.MustNewTimeFromString (" 2025-04-10T00:12:46.713Z " ),
349
356
ID: " <value>" ,
350
357
IsArchived: false ,
351
358
ProductID: " <value>" ,
352
359
RecurringInterval: components.SubscriptionRecurringIntervalYear ,
353
360
PriceCurrency: " <value>" ,
354
- MinimumAmount: polargo.Int64 (513402 ),
355
- MaximumAmount: polargo.Int64 (569122 ),
356
- PresetAmount: polargo.Int64 (978486 ),
361
+ MinimumAmount: polargo.Int64 (569122 ),
362
+ MaximumAmount: polargo.Int64 (978486 ),
363
+ PresetAmount: polargo.Int64 (847995 ),
357
364
},
358
365
),
359
366
),
360
367
components.CreateCheckoutProductPricesProductPrice (
361
368
components.CreateProductPriceProductPriceFree (
362
369
components.ProductPriceFree {
363
- CreatedAt: types.MustTimeFromString (" 2025-01-09T13:42:03.592Z " ),
364
- ModifiedAt: types.MustNewTimeFromString (" 2023-06-01T05:58:41.763Z " ),
370
+ CreatedAt: types.MustTimeFromString (" 2023-06-01T05:58:41.763Z " ),
371
+ ModifiedAt: types.MustNewTimeFromString (" 2025-08-22T02:17:20.661Z " ),
365
372
ID: " <value>" ,
366
373
IsArchived: false ,
367
374
ProductID: " <value>" ,
368
375
Type: components.ProductPriceTypeRecurring ,
369
- RecurringInterval: components.SubscriptionRecurringIntervalYear .ToPointer (),
370
- },
371
- ),
372
- ),
373
- components.CreateCheckoutProductPricesLegacyRecurringProductPrice (
374
- components.CreateLegacyRecurringProductPriceFree (
375
- components.LegacyRecurringProductPriceFree {
376
- CreatedAt: types.MustTimeFromString (" 2025-12-22T08:06:55.176Z" ),
377
- ModifiedAt: types.MustNewTimeFromString (" 2024-06-16T08:01:15.524Z" ),
378
- ID: " <value>" ,
379
- IsArchived: false ,
380
- ProductID: " <value>" ,
381
- RecurringInterval: components.SubscriptionRecurringIntervalYear ,
376
+ RecurringInterval: components.SubscriptionRecurringIntervalMonth .ToPointer (),
382
377
},
383
378
),
384
379
),
@@ -470,15 +465,24 @@ func main() {
470
465
},
471
466
},
472
467
},
473
- ProductPrice: components.CreateCheckoutProductPriceLegacyRecurringProductPrice (
474
- components.CreateLegacyRecurringProductPriceFree (
475
- components.LegacyRecurringProductPriceFree {
476
- CreatedAt: types.MustTimeFromString (" 2023-07-01T09:35:23.526Z " ),
477
- ModifiedAt: types.MustNewTimeFromString (" 2023-09-05T11:14:58.018Z " ),
468
+ ProductPrice: components.CreateCheckoutProductPriceProductPrice (
469
+ components.CreateProductPriceProductPriceMeteredUnit (
470
+ components.ProductPriceMeteredUnit {
471
+ CreatedAt: types.MustTimeFromString (" 2024-06-16T08:01:15.524Z " ),
472
+ ModifiedAt: types.MustNewTimeFromString (" 2025-06-29T02:23:28.661Z " ),
478
473
ID: " <value>" ,
479
474
IsArchived: false ,
480
475
ProductID: " <value>" ,
481
- RecurringInterval: components.SubscriptionRecurringIntervalYear ,
476
+ Type: components.ProductPriceTypeOneTime ,
477
+ RecurringInterval: components.SubscriptionRecurringIntervalYear .ToPointer (),
478
+ PriceCurrency: " <value>" ,
479
+ UnitAmount: 165510 ,
480
+ CapAmount: polargo.Int64 (225792 ),
481
+ MeterID: " <value>" ,
482
+ Meter: components.ProductPriceMeter {
483
+ ID: " <value>" ,
484
+ Name: " <value>" ,
485
+ },
482
486
},
483
487
),
484
488
),
@@ -498,12 +502,12 @@ func main() {
498
502
CustomFieldID: " <value>" ,
499
503
CustomField: components.CreateCustomFieldText (
500
504
components.CustomFieldText {
501
- CreatedAt: types.MustTimeFromString (" 2024-12-03T12:38:50.277Z " ),
502
- ModifiedAt: types.MustNewTimeFromString (" 2024-05-21T13:41:47.986Z " ),
505
+ CreatedAt: types.MustTimeFromString (" 2025-08-21T23:33:05.774Z " ),
506
+ ModifiedAt: types.MustNewTimeFromString (" 2024-12-03T12:38:50.277Z " ),
503
507
ID: " <value>" ,
504
508
Metadata: map [string ]components.CustomFieldTextMetadata {
505
509
" key" : components.CreateCustomFieldTextMetadataInteger (
506
- 473941 ,
510
+ 545650 ,
507
511
),
508
512
},
509
513
Slug: " <value>" ,
@@ -517,48 +521,41 @@ func main() {
517
521
},
518
522
components.AttachedCustomField {
519
523
CustomFieldID: " <value>" ,
520
- CustomField: components.CreateCustomFieldText (
521
- components.CustomFieldText {
522
- CreatedAt: types.MustTimeFromString (" 2023-01-30T18:58:55.355Z " ),
523
- ModifiedAt: types.MustNewTimeFromString (" 2024-12-15T18:35:30.312Z " ),
524
+ CustomField: components.CreateCustomFieldNumber (
525
+ components.CustomFieldNumber {
526
+ CreatedAt: types.MustTimeFromString (" 2025-10-01T00:10:58.922Z " ),
527
+ ModifiedAt: types.MustNewTimeFromString (" 2023-01-30T18:58:55.355Z " ),
524
528
ID: " <value>" ,
525
- Metadata: map [string ]components.CustomFieldTextMetadata {
526
- " key" : components.CreateCustomFieldTextMetadataInteger (
527
- 143857 ,
529
+ Metadata: map [string ]components.CustomFieldNumberMetadata {
530
+ " key" : components.CreateCustomFieldNumberMetadataInteger (
531
+ 637515 ,
528
532
),
529
533
},
530
534
Slug: " <value>" ,
531
535
Name: " <value>" ,
532
536
OrganizationID: " 1dbfc517-0bbf-4301-9ba8-555ca42b9737" ,
533
- Properties: components.CustomFieldTextProperties {},
537
+ Properties: components.CustomFieldNumberProperties {},
534
538
},
535
539
),
536
540
Order: 918364 ,
537
541
Required: true ,
538
542
},
539
543
components.AttachedCustomField {
540
544
CustomFieldID: " <value>" ,
541
- CustomField: components.CreateCustomFieldSelect (
542
- components.CustomFieldSelect {
543
- CreatedAt: types.MustTimeFromString (" 2024-10-18T15:45:53.088Z " ),
544
- ModifiedAt: types.MustNewTimeFromString (" 2023-08-08T05:58:49.836Z " ),
545
+ CustomField: components.CreateCustomFieldCheckbox (
546
+ components.CustomFieldCheckbox {
547
+ CreatedAt: types.MustTimeFromString (" 2024-12-10T04:39:21.164Z " ),
548
+ ModifiedAt: types.MustNewTimeFromString (" 2024-10-18T15:45:53.088Z " ),
545
549
ID: " <value>" ,
546
- Metadata: map [string ]components.CustomFieldSelectMetadata {
547
- " key" : components.CreateCustomFieldSelectMetadataBoolean (
548
- false ,
550
+ Metadata: map [string ]components.CustomFieldCheckboxMetadata {
551
+ " key" : components.CreateCustomFieldCheckboxMetadataStr (
552
+ " <value> " ,
549
553
),
550
554
},
551
555
Slug: " <value>" ,
552
556
Name: " <value>" ,
553
557
OrganizationID: " 1dbfc517-0bbf-4301-9ba8-555ca42b9737" ,
554
- Properties: components.CustomFieldSelectProperties {
555
- Options: []components.CustomFieldSelectOption {
556
- components.CustomFieldSelectOption {
557
- Value: " <value>" ,
558
- Label: " <value>" ,
559
- },
560
- },
561
- },
558
+ Properties: components.CustomFieldCheckboxProperties {},
562
559
},
563
560
),
564
561
Order: 187532 ,
0 commit comments