@klingis/sdk 0.3.0 → 0.4.0

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.
@@ -931,6 +931,8 @@ export type PostV1CheckoutSessionsBodyOne = {
931
931
  customer_id?: string;
932
932
  /** Promotion code to pre-apply to this checkout. Pass the code string (e.g. "VELKOMIN50"), not the promotion-code ID. The discount is applied to the hosted page as if the customer had entered it. An unknown, expired, or ineligible code is rejected with a 400 rather than silently ignored. For trial/setup checkouts the code is recorded and applied to the first charge after the trial. */
933
933
  promotion_code?: string;
934
+ /** Show a discount-code box on the checkout so the buyer can enter one of the merchant's promotion codes. Defaults to false, or to true when `promotion_code` pre-applies a code (the buyer can then remove it). */
935
+ allow_promotion_codes?: boolean;
934
936
  /** URL to redirect the customer to after successful payment. Session ID is appended as ?session_id=... */
935
937
  success_url?: string;
936
938
  /** URL to redirect the customer to if they cancel the checkout */
@@ -1076,6 +1078,8 @@ export type PostV1CheckoutSessionsBodyTwo = {
1076
1078
  customer_id?: string;
1077
1079
  /** Promotion code to pre-apply to this checkout. Pass the code string (e.g. "VELKOMIN50"), not the promotion-code ID. The discount is applied to the hosted page as if the customer had entered it. An unknown, expired, or ineligible code is rejected with a 400 rather than silently ignored. For trial/setup checkouts the code is recorded and applied to the first charge after the trial. */
1078
1080
  promotion_code?: string;
1081
+ /** Show a discount-code box on the checkout so the buyer can enter one of the merchant's promotion codes. Defaults to false, or to true when `promotion_code` pre-applies a code (the buyer can then remove it). */
1082
+ allow_promotion_codes?: boolean;
1079
1083
  /** URL to redirect the customer to after successful payment. Session ID is appended as ?session_id=... */
1080
1084
  success_url?: string;
1081
1085
  /** URL to redirect the customer to if they cancel the checkout */
@@ -1221,6 +1225,8 @@ export type PostV1CheckoutSessionsBodyThree = {
1221
1225
  customer_id?: string;
1222
1226
  /** Promotion code to pre-apply to this checkout. Pass the code string (e.g. "VELKOMIN50"), not the promotion-code ID. The discount is applied to the hosted page as if the customer had entered it. An unknown, expired, or ineligible code is rejected with a 400 rather than silently ignored. For trial/setup checkouts the code is recorded and applied to the first charge after the trial. */
1223
1227
  promotion_code?: string;
1228
+ /** Show a discount-code box on the checkout so the buyer can enter one of the merchant's promotion codes. Defaults to false, or to true when `promotion_code` pre-applies a code (the buyer can then remove it). */
1229
+ allow_promotion_codes?: boolean;
1224
1230
  /** URL to redirect the customer to after successful payment. Session ID is appended as ?session_id=... */
1225
1231
  success_url?: string;
1226
1232
  /** URL to redirect the customer to if they cancel the checkout */
@@ -30096,6 +30102,39 @@ export type PostV1OpenPaymentPagesBodyOneBillingInterval = PostV1OpenPaymentPage
30096
30102
  * @nullable
30097
30103
  */
30098
30104
  export type PostV1OpenPaymentPagesBodyOneRecurringProductId = string | null | null;
30105
+ /**
30106
+ * @nullable
30107
+ */
30108
+ export type PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfLabelEn = string | null | null;
30109
+ /**
30110
+ * @nullable
30111
+ */
30112
+ export type PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30113
+ export type PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfOptionsItem = {
30114
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
30115
+ id?: string;
30116
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
30117
+ slug?: string;
30118
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
30119
+ name: string;
30120
+ /** @nullable */
30121
+ name_en?: PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfOptionsItemNameEn;
30122
+ };
30123
+ export type PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOf = {
30124
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
30125
+ label: string;
30126
+ /** @nullable */
30127
+ label_en?: PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfLabelEn;
30128
+ /** Whether a supporter must pick an option before paying */
30129
+ required: boolean;
30130
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
30131
+ options: PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOfOptionsItem[];
30132
+ };
30133
+ /**
30134
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30135
+ * @nullable
30136
+ */
30137
+ export type PostV1OpenPaymentPagesBodyOneChoiceField = PostV1OpenPaymentPagesBodyOneChoiceFieldAnyOf | null | null;
30099
30138
  export type PostV1OpenPaymentPagesBodyOne = {
30100
30139
  /**
30101
30140
  * Page title, shown to supporters and used as the checkout line-item description
@@ -30136,6 +30175,11 @@ export type PostV1OpenPaymentPagesBodyOne = {
30136
30175
  recurring_product_id?: PostV1OpenPaymentPagesBodyOneRecurringProductId;
30137
30176
  /** Offer a one-time contribution alongside the subscription, so the supporter picks the cadence on the page. Requires billing_interval: a one-off page already collects one-time payments, so setting this without one is rejected. A supporter who picks one-time is charged once and starts no subscription */
30138
30177
  allow_one_time?: boolean;
30178
+ /**
30179
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30180
+ * @nullable
30181
+ */
30182
+ choice_field?: PostV1OpenPaymentPagesBodyOneChoiceField;
30139
30183
  };
30140
30184
  /**
30141
30185
  * @nullable
@@ -30191,6 +30235,39 @@ export type PostV1OpenPaymentPagesBodyTwoBillingInterval = PostV1OpenPaymentPage
30191
30235
  * @nullable
30192
30236
  */
30193
30237
  export type PostV1OpenPaymentPagesBodyTwoRecurringProductId = string | null | null;
30238
+ /**
30239
+ * @nullable
30240
+ */
30241
+ export type PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfLabelEn = string | null | null;
30242
+ /**
30243
+ * @nullable
30244
+ */
30245
+ export type PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30246
+ export type PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfOptionsItem = {
30247
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
30248
+ id?: string;
30249
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
30250
+ slug?: string;
30251
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
30252
+ name: string;
30253
+ /** @nullable */
30254
+ name_en?: PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfOptionsItemNameEn;
30255
+ };
30256
+ export type PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOf = {
30257
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
30258
+ label: string;
30259
+ /** @nullable */
30260
+ label_en?: PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfLabelEn;
30261
+ /** Whether a supporter must pick an option before paying */
30262
+ required: boolean;
30263
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
30264
+ options: PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOfOptionsItem[];
30265
+ };
30266
+ /**
30267
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30268
+ * @nullable
30269
+ */
30270
+ export type PostV1OpenPaymentPagesBodyTwoChoiceField = PostV1OpenPaymentPagesBodyTwoChoiceFieldAnyOf | null | null;
30194
30271
  export type PostV1OpenPaymentPagesBodyTwo = {
30195
30272
  /**
30196
30273
  * Page title, shown to supporters and used as the checkout line-item description
@@ -30231,6 +30308,11 @@ export type PostV1OpenPaymentPagesBodyTwo = {
30231
30308
  recurring_product_id?: PostV1OpenPaymentPagesBodyTwoRecurringProductId;
30232
30309
  /** Offer a one-time contribution alongside the subscription, so the supporter picks the cadence on the page. Requires billing_interval: a one-off page already collects one-time payments, so setting this without one is rejected. A supporter who picks one-time is charged once and starts no subscription */
30233
30310
  allow_one_time?: boolean;
30311
+ /**
30312
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30313
+ * @nullable
30314
+ */
30315
+ choice_field?: PostV1OpenPaymentPagesBodyTwoChoiceField;
30234
30316
  };
30235
30317
  /**
30236
30318
  * @nullable
@@ -30286,6 +30368,39 @@ export type PostV1OpenPaymentPagesBodyThreeBillingInterval = PostV1OpenPaymentPa
30286
30368
  * @nullable
30287
30369
  */
30288
30370
  export type PostV1OpenPaymentPagesBodyThreeRecurringProductId = string | null | null;
30371
+ /**
30372
+ * @nullable
30373
+ */
30374
+ export type PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfLabelEn = string | null | null;
30375
+ /**
30376
+ * @nullable
30377
+ */
30378
+ export type PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30379
+ export type PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfOptionsItem = {
30380
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
30381
+ id?: string;
30382
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
30383
+ slug?: string;
30384
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
30385
+ name: string;
30386
+ /** @nullable */
30387
+ name_en?: PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfOptionsItemNameEn;
30388
+ };
30389
+ export type PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOf = {
30390
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
30391
+ label: string;
30392
+ /** @nullable */
30393
+ label_en?: PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfLabelEn;
30394
+ /** Whether a supporter must pick an option before paying */
30395
+ required: boolean;
30396
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
30397
+ options: PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOfOptionsItem[];
30398
+ };
30399
+ /**
30400
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30401
+ * @nullable
30402
+ */
30403
+ export type PostV1OpenPaymentPagesBodyThreeChoiceField = PostV1OpenPaymentPagesBodyThreeChoiceFieldAnyOf | null | null;
30289
30404
  export type PostV1OpenPaymentPagesBodyThree = {
30290
30405
  /**
30291
30406
  * Page title, shown to supporters and used as the checkout line-item description
@@ -30326,6 +30441,11 @@ export type PostV1OpenPaymentPagesBodyThree = {
30326
30441
  recurring_product_id?: PostV1OpenPaymentPagesBodyThreeRecurringProductId;
30327
30442
  /** Offer a one-time contribution alongside the subscription, so the supporter picks the cadence on the page. Requires billing_interval: a one-off page already collects one-time payments, so setting this without one is rejected. A supporter who picks one-time is charged once and starts no subscription */
30328
30443
  allow_one_time?: boolean;
30444
+ /**
30445
+ * Optional dropdown question on the giving card, e.g. which parish or department the gift is for. Every gift records the option picked. Omit or send null for no question. An invalid question is rejected with a choice_field_* error code
30446
+ * @nullable
30447
+ */
30448
+ choice_field?: PostV1OpenPaymentPagesBodyThreeChoiceField;
30329
30449
  };
30330
30450
  /**
30331
30451
  * @nullable
@@ -30386,6 +30506,42 @@ export type PostV1OpenPaymentPages200OneBillingIntervalCount = PostV1OpenPayment
30386
30506
  * @nullable
30387
30507
  */
30388
30508
  export type PostV1OpenPaymentPages200OneRecurringProductId = string | null | null;
30509
+ /**
30510
+ * @nullable
30511
+ */
30512
+ export type PostV1OpenPaymentPages200OneChoiceFieldAnyOfLabelEn = string | null | null;
30513
+ /**
30514
+ * @nullable
30515
+ */
30516
+ export type PostV1OpenPaymentPages200OneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30517
+ export type PostV1OpenPaymentPages200OneChoiceFieldAnyOfOptionsItem = {
30518
+ /** Stable option id. Never changes after the option is created */
30519
+ id: string;
30520
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
30521
+ slug: string;
30522
+ /** Icelandic option name */
30523
+ name: string;
30524
+ /** @nullable */
30525
+ name_en: PostV1OpenPaymentPages200OneChoiceFieldAnyOfOptionsItemNameEn;
30526
+ };
30527
+ /**
30528
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
30529
+ */
30530
+ export type PostV1OpenPaymentPages200OneChoiceFieldAnyOf = {
30531
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
30532
+ label: string;
30533
+ /** @nullable */
30534
+ label_en: PostV1OpenPaymentPages200OneChoiceFieldAnyOfLabelEn;
30535
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
30536
+ required: boolean;
30537
+ /** The options, in the order shown */
30538
+ options: PostV1OpenPaymentPages200OneChoiceFieldAnyOfOptionsItem[];
30539
+ };
30540
+ /**
30541
+ * Optional dropdown question on the giving card. null when the page has none
30542
+ * @nullable
30543
+ */
30544
+ export type PostV1OpenPaymentPages200OneChoiceField = PostV1OpenPaymentPages200OneChoiceFieldAnyOf | null | null;
30389
30545
  /**
30390
30546
  * active pages are payable, archived pages are not
30391
30547
  */
@@ -30432,6 +30588,11 @@ export type PostV1OpenPaymentPages200One = {
30432
30588
  recurring_product_id: PostV1OpenPaymentPages200OneRecurringProductId;
30433
30589
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
30434
30590
  allow_one_time: boolean;
30591
+ /**
30592
+ * Optional dropdown question on the giving card. null when the page has none
30593
+ * @nullable
30594
+ */
30595
+ choice_field: PostV1OpenPaymentPages200OneChoiceField;
30435
30596
  /** active pages are payable, archived pages are not */
30436
30597
  status: PostV1OpenPaymentPages200OneStatus;
30437
30598
  /** Unix timestamp when this page was created */
@@ -30498,6 +30659,42 @@ export type PostV1OpenPaymentPages200TwoBillingIntervalCount = PostV1OpenPayment
30498
30659
  * @nullable
30499
30660
  */
30500
30661
  export type PostV1OpenPaymentPages200TwoRecurringProductId = string | null | null;
30662
+ /**
30663
+ * @nullable
30664
+ */
30665
+ export type PostV1OpenPaymentPages200TwoChoiceFieldAnyOfLabelEn = string | null | null;
30666
+ /**
30667
+ * @nullable
30668
+ */
30669
+ export type PostV1OpenPaymentPages200TwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30670
+ export type PostV1OpenPaymentPages200TwoChoiceFieldAnyOfOptionsItem = {
30671
+ /** Stable option id. Never changes after the option is created */
30672
+ id: string;
30673
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
30674
+ slug: string;
30675
+ /** Icelandic option name */
30676
+ name: string;
30677
+ /** @nullable */
30678
+ name_en: PostV1OpenPaymentPages200TwoChoiceFieldAnyOfOptionsItemNameEn;
30679
+ };
30680
+ /**
30681
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
30682
+ */
30683
+ export type PostV1OpenPaymentPages200TwoChoiceFieldAnyOf = {
30684
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
30685
+ label: string;
30686
+ /** @nullable */
30687
+ label_en: PostV1OpenPaymentPages200TwoChoiceFieldAnyOfLabelEn;
30688
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
30689
+ required: boolean;
30690
+ /** The options, in the order shown */
30691
+ options: PostV1OpenPaymentPages200TwoChoiceFieldAnyOfOptionsItem[];
30692
+ };
30693
+ /**
30694
+ * Optional dropdown question on the giving card. null when the page has none
30695
+ * @nullable
30696
+ */
30697
+ export type PostV1OpenPaymentPages200TwoChoiceField = PostV1OpenPaymentPages200TwoChoiceFieldAnyOf | null | null;
30501
30698
  /**
30502
30699
  * active pages are payable, archived pages are not
30503
30700
  */
@@ -30544,6 +30741,11 @@ export type PostV1OpenPaymentPages200Two = {
30544
30741
  recurring_product_id: PostV1OpenPaymentPages200TwoRecurringProductId;
30545
30742
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
30546
30743
  allow_one_time: boolean;
30744
+ /**
30745
+ * Optional dropdown question on the giving card. null when the page has none
30746
+ * @nullable
30747
+ */
30748
+ choice_field: PostV1OpenPaymentPages200TwoChoiceField;
30547
30749
  /** active pages are payable, archived pages are not */
30548
30750
  status: PostV1OpenPaymentPages200TwoStatus;
30549
30751
  /** Unix timestamp when this page was created */
@@ -30610,6 +30812,42 @@ export type PostV1OpenPaymentPages200ThreeBillingIntervalCount = PostV1OpenPayme
30610
30812
  * @nullable
30611
30813
  */
30612
30814
  export type PostV1OpenPaymentPages200ThreeRecurringProductId = string | null | null;
30815
+ /**
30816
+ * @nullable
30817
+ */
30818
+ export type PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfLabelEn = string | null | null;
30819
+ /**
30820
+ * @nullable
30821
+ */
30822
+ export type PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
30823
+ export type PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfOptionsItem = {
30824
+ /** Stable option id. Never changes after the option is created */
30825
+ id: string;
30826
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
30827
+ slug: string;
30828
+ /** Icelandic option name */
30829
+ name: string;
30830
+ /** @nullable */
30831
+ name_en: PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfOptionsItemNameEn;
30832
+ };
30833
+ /**
30834
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
30835
+ */
30836
+ export type PostV1OpenPaymentPages200ThreeChoiceFieldAnyOf = {
30837
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
30838
+ label: string;
30839
+ /** @nullable */
30840
+ label_en: PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfLabelEn;
30841
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
30842
+ required: boolean;
30843
+ /** The options, in the order shown */
30844
+ options: PostV1OpenPaymentPages200ThreeChoiceFieldAnyOfOptionsItem[];
30845
+ };
30846
+ /**
30847
+ * Optional dropdown question on the giving card. null when the page has none
30848
+ * @nullable
30849
+ */
30850
+ export type PostV1OpenPaymentPages200ThreeChoiceField = PostV1OpenPaymentPages200ThreeChoiceFieldAnyOf | null | null;
30613
30851
  /**
30614
30852
  * active pages are payable, archived pages are not
30615
30853
  */
@@ -30656,6 +30894,11 @@ export type PostV1OpenPaymentPages200Three = {
30656
30894
  recurring_product_id: PostV1OpenPaymentPages200ThreeRecurringProductId;
30657
30895
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
30658
30896
  allow_one_time: boolean;
30897
+ /**
30898
+ * Optional dropdown question on the giving card. null when the page has none
30899
+ * @nullable
30900
+ */
30901
+ choice_field: PostV1OpenPaymentPages200ThreeChoiceField;
30659
30902
  /** active pages are payable, archived pages are not */
30660
30903
  status: PostV1OpenPaymentPages200ThreeStatus;
30661
30904
  /** Unix timestamp when this page was created */
@@ -30781,6 +31024,42 @@ export type GetV1OpenPaymentPages200OneDataItemBillingIntervalCount = GetV1OpenP
30781
31024
  * @nullable
30782
31025
  */
30783
31026
  export type GetV1OpenPaymentPages200OneDataItemRecurringProductId = string | null | null;
31027
+ /**
31028
+ * @nullable
31029
+ */
31030
+ export type GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfLabelEn = string | null | null;
31031
+ /**
31032
+ * @nullable
31033
+ */
31034
+ export type GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31035
+ export type GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfOptionsItem = {
31036
+ /** Stable option id. Never changes after the option is created */
31037
+ id: string;
31038
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31039
+ slug: string;
31040
+ /** Icelandic option name */
31041
+ name: string;
31042
+ /** @nullable */
31043
+ name_en: GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfOptionsItemNameEn;
31044
+ };
31045
+ /**
31046
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31047
+ */
31048
+ export type GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOf = {
31049
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31050
+ label: string;
31051
+ /** @nullable */
31052
+ label_en: GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfLabelEn;
31053
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31054
+ required: boolean;
31055
+ /** The options, in the order shown */
31056
+ options: GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOfOptionsItem[];
31057
+ };
31058
+ /**
31059
+ * Optional dropdown question on the giving card. null when the page has none
31060
+ * @nullable
31061
+ */
31062
+ export type GetV1OpenPaymentPages200OneDataItemChoiceField = GetV1OpenPaymentPages200OneDataItemChoiceFieldAnyOf | null | null;
30784
31063
  /**
30785
31064
  * active pages are payable, archived pages are not
30786
31065
  */
@@ -30830,6 +31109,11 @@ export type GetV1OpenPaymentPages200OneDataItem = {
30830
31109
  recurring_product_id: GetV1OpenPaymentPages200OneDataItemRecurringProductId;
30831
31110
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
30832
31111
  allow_one_time: boolean;
31112
+ /**
31113
+ * Optional dropdown question on the giving card. null when the page has none
31114
+ * @nullable
31115
+ */
31116
+ choice_field: GetV1OpenPaymentPages200OneDataItemChoiceField;
30833
31117
  /** active pages are payable, archived pages are not */
30834
31118
  status: GetV1OpenPaymentPages200OneDataItemStatus;
30835
31119
  /** Unix timestamp when this page was created */
@@ -30901,6 +31185,42 @@ export type GetV1OpenPaymentPages200TwoDataItemBillingIntervalCount = GetV1OpenP
30901
31185
  * @nullable
30902
31186
  */
30903
31187
  export type GetV1OpenPaymentPages200TwoDataItemRecurringProductId = string | null | null;
31188
+ /**
31189
+ * @nullable
31190
+ */
31191
+ export type GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfLabelEn = string | null | null;
31192
+ /**
31193
+ * @nullable
31194
+ */
31195
+ export type GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31196
+ export type GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfOptionsItem = {
31197
+ /** Stable option id. Never changes after the option is created */
31198
+ id: string;
31199
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31200
+ slug: string;
31201
+ /** Icelandic option name */
31202
+ name: string;
31203
+ /** @nullable */
31204
+ name_en: GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfOptionsItemNameEn;
31205
+ };
31206
+ /**
31207
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31208
+ */
31209
+ export type GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOf = {
31210
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31211
+ label: string;
31212
+ /** @nullable */
31213
+ label_en: GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfLabelEn;
31214
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31215
+ required: boolean;
31216
+ /** The options, in the order shown */
31217
+ options: GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOfOptionsItem[];
31218
+ };
31219
+ /**
31220
+ * Optional dropdown question on the giving card. null when the page has none
31221
+ * @nullable
31222
+ */
31223
+ export type GetV1OpenPaymentPages200TwoDataItemChoiceField = GetV1OpenPaymentPages200TwoDataItemChoiceFieldAnyOf | null | null;
30904
31224
  /**
30905
31225
  * active pages are payable, archived pages are not
30906
31226
  */
@@ -30950,6 +31270,11 @@ export type GetV1OpenPaymentPages200TwoDataItem = {
30950
31270
  recurring_product_id: GetV1OpenPaymentPages200TwoDataItemRecurringProductId;
30951
31271
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
30952
31272
  allow_one_time: boolean;
31273
+ /**
31274
+ * Optional dropdown question on the giving card. null when the page has none
31275
+ * @nullable
31276
+ */
31277
+ choice_field: GetV1OpenPaymentPages200TwoDataItemChoiceField;
30953
31278
  /** active pages are payable, archived pages are not */
30954
31279
  status: GetV1OpenPaymentPages200TwoDataItemStatus;
30955
31280
  /** Unix timestamp when this page was created */
@@ -31021,6 +31346,42 @@ export type GetV1OpenPaymentPages200ThreeDataItemBillingIntervalCount = GetV1Ope
31021
31346
  * @nullable
31022
31347
  */
31023
31348
  export type GetV1OpenPaymentPages200ThreeDataItemRecurringProductId = string | null | null;
31349
+ /**
31350
+ * @nullable
31351
+ */
31352
+ export type GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfLabelEn = string | null | null;
31353
+ /**
31354
+ * @nullable
31355
+ */
31356
+ export type GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31357
+ export type GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfOptionsItem = {
31358
+ /** Stable option id. Never changes after the option is created */
31359
+ id: string;
31360
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31361
+ slug: string;
31362
+ /** Icelandic option name */
31363
+ name: string;
31364
+ /** @nullable */
31365
+ name_en: GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfOptionsItemNameEn;
31366
+ };
31367
+ /**
31368
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31369
+ */
31370
+ export type GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOf = {
31371
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31372
+ label: string;
31373
+ /** @nullable */
31374
+ label_en: GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfLabelEn;
31375
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31376
+ required: boolean;
31377
+ /** The options, in the order shown */
31378
+ options: GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOfOptionsItem[];
31379
+ };
31380
+ /**
31381
+ * Optional dropdown question on the giving card. null when the page has none
31382
+ * @nullable
31383
+ */
31384
+ export type GetV1OpenPaymentPages200ThreeDataItemChoiceField = GetV1OpenPaymentPages200ThreeDataItemChoiceFieldAnyOf | null | null;
31024
31385
  /**
31025
31386
  * active pages are payable, archived pages are not
31026
31387
  */
@@ -31070,6 +31431,11 @@ export type GetV1OpenPaymentPages200ThreeDataItem = {
31070
31431
  recurring_product_id: GetV1OpenPaymentPages200ThreeDataItemRecurringProductId;
31071
31432
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31072
31433
  allow_one_time: boolean;
31434
+ /**
31435
+ * Optional dropdown question on the giving card. null when the page has none
31436
+ * @nullable
31437
+ */
31438
+ choice_field: GetV1OpenPaymentPages200ThreeDataItemChoiceField;
31073
31439
  /** active pages are payable, archived pages are not */
31074
31440
  status: GetV1OpenPaymentPages200ThreeDataItemStatus;
31075
31441
  /** Unix timestamp when this page was created */
@@ -31141,6 +31507,42 @@ export type GetV1OpenPaymentPagesById200OneBillingIntervalCount = GetV1OpenPayme
31141
31507
  * @nullable
31142
31508
  */
31143
31509
  export type GetV1OpenPaymentPagesById200OneRecurringProductId = string | null | null;
31510
+ /**
31511
+ * @nullable
31512
+ */
31513
+ export type GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfLabelEn = string | null | null;
31514
+ /**
31515
+ * @nullable
31516
+ */
31517
+ export type GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31518
+ export type GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItem = {
31519
+ /** Stable option id. Never changes after the option is created */
31520
+ id: string;
31521
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31522
+ slug: string;
31523
+ /** Icelandic option name */
31524
+ name: string;
31525
+ /** @nullable */
31526
+ name_en: GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItemNameEn;
31527
+ };
31528
+ /**
31529
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31530
+ */
31531
+ export type GetV1OpenPaymentPagesById200OneChoiceFieldAnyOf = {
31532
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31533
+ label: string;
31534
+ /** @nullable */
31535
+ label_en: GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfLabelEn;
31536
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31537
+ required: boolean;
31538
+ /** The options, in the order shown */
31539
+ options: GetV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItem[];
31540
+ };
31541
+ /**
31542
+ * Optional dropdown question on the giving card. null when the page has none
31543
+ * @nullable
31544
+ */
31545
+ export type GetV1OpenPaymentPagesById200OneChoiceField = GetV1OpenPaymentPagesById200OneChoiceFieldAnyOf | null | null;
31144
31546
  /**
31145
31547
  * active pages are payable, archived pages are not
31146
31548
  */
@@ -31187,6 +31589,11 @@ export type GetV1OpenPaymentPagesById200One = {
31187
31589
  recurring_product_id: GetV1OpenPaymentPagesById200OneRecurringProductId;
31188
31590
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31189
31591
  allow_one_time: boolean;
31592
+ /**
31593
+ * Optional dropdown question on the giving card. null when the page has none
31594
+ * @nullable
31595
+ */
31596
+ choice_field: GetV1OpenPaymentPagesById200OneChoiceField;
31190
31597
  /** active pages are payable, archived pages are not */
31191
31598
  status: GetV1OpenPaymentPagesById200OneStatus;
31192
31599
  /** Unix timestamp when this page was created */
@@ -31253,6 +31660,42 @@ export type GetV1OpenPaymentPagesById200TwoBillingIntervalCount = GetV1OpenPayme
31253
31660
  * @nullable
31254
31661
  */
31255
31662
  export type GetV1OpenPaymentPagesById200TwoRecurringProductId = string | null | null;
31663
+ /**
31664
+ * @nullable
31665
+ */
31666
+ export type GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfLabelEn = string | null | null;
31667
+ /**
31668
+ * @nullable
31669
+ */
31670
+ export type GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31671
+ export type GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItem = {
31672
+ /** Stable option id. Never changes after the option is created */
31673
+ id: string;
31674
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31675
+ slug: string;
31676
+ /** Icelandic option name */
31677
+ name: string;
31678
+ /** @nullable */
31679
+ name_en: GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItemNameEn;
31680
+ };
31681
+ /**
31682
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31683
+ */
31684
+ export type GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOf = {
31685
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31686
+ label: string;
31687
+ /** @nullable */
31688
+ label_en: GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfLabelEn;
31689
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31690
+ required: boolean;
31691
+ /** The options, in the order shown */
31692
+ options: GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItem[];
31693
+ };
31694
+ /**
31695
+ * Optional dropdown question on the giving card. null when the page has none
31696
+ * @nullable
31697
+ */
31698
+ export type GetV1OpenPaymentPagesById200TwoChoiceField = GetV1OpenPaymentPagesById200TwoChoiceFieldAnyOf | null | null;
31256
31699
  /**
31257
31700
  * active pages are payable, archived pages are not
31258
31701
  */
@@ -31299,6 +31742,11 @@ export type GetV1OpenPaymentPagesById200Two = {
31299
31742
  recurring_product_id: GetV1OpenPaymentPagesById200TwoRecurringProductId;
31300
31743
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31301
31744
  allow_one_time: boolean;
31745
+ /**
31746
+ * Optional dropdown question on the giving card. null when the page has none
31747
+ * @nullable
31748
+ */
31749
+ choice_field: GetV1OpenPaymentPagesById200TwoChoiceField;
31302
31750
  /** active pages are payable, archived pages are not */
31303
31751
  status: GetV1OpenPaymentPagesById200TwoStatus;
31304
31752
  /** Unix timestamp when this page was created */
@@ -31365,6 +31813,42 @@ export type GetV1OpenPaymentPagesById200ThreeBillingIntervalCount = GetV1OpenPay
31365
31813
  * @nullable
31366
31814
  */
31367
31815
  export type GetV1OpenPaymentPagesById200ThreeRecurringProductId = string | null | null;
31816
+ /**
31817
+ * @nullable
31818
+ */
31819
+ export type GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfLabelEn = string | null | null;
31820
+ /**
31821
+ * @nullable
31822
+ */
31823
+ export type GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31824
+ export type GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItem = {
31825
+ /** Stable option id. Never changes after the option is created */
31826
+ id: string;
31827
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
31828
+ slug: string;
31829
+ /** Icelandic option name */
31830
+ name: string;
31831
+ /** @nullable */
31832
+ name_en: GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItemNameEn;
31833
+ };
31834
+ /**
31835
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
31836
+ */
31837
+ export type GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOf = {
31838
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
31839
+ label: string;
31840
+ /** @nullable */
31841
+ label_en: GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfLabelEn;
31842
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
31843
+ required: boolean;
31844
+ /** The options, in the order shown */
31845
+ options: GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItem[];
31846
+ };
31847
+ /**
31848
+ * Optional dropdown question on the giving card. null when the page has none
31849
+ * @nullable
31850
+ */
31851
+ export type GetV1OpenPaymentPagesById200ThreeChoiceField = GetV1OpenPaymentPagesById200ThreeChoiceFieldAnyOf | null | null;
31368
31852
  /**
31369
31853
  * active pages are payable, archived pages are not
31370
31854
  */
@@ -31411,7 +31895,12 @@ export type GetV1OpenPaymentPagesById200Three = {
31411
31895
  recurring_product_id: GetV1OpenPaymentPagesById200ThreeRecurringProductId;
31412
31896
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31413
31897
  allow_one_time: boolean;
31414
- /** active pages are payable, archived pages are not */
31898
+ /**
31899
+ * Optional dropdown question on the giving card. null when the page has none
31900
+ * @nullable
31901
+ */
31902
+ choice_field: GetV1OpenPaymentPagesById200ThreeChoiceField;
31903
+ /** active pages are payable, archived pages are not */
31415
31904
  status: GetV1OpenPaymentPagesById200ThreeStatus;
31416
31905
  /** Unix timestamp when this page was created */
31417
31906
  created_at: number;
@@ -31495,6 +31984,39 @@ export type PatchV1OpenPaymentPagesByIdBodyOneBillingInterval = PatchV1OpenPayme
31495
31984
  * @nullable
31496
31985
  */
31497
31986
  export type PatchV1OpenPaymentPagesByIdBodyOneRecurringProductId = string | null | null;
31987
+ /**
31988
+ * @nullable
31989
+ */
31990
+ export type PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfLabelEn = string | null | null;
31991
+ /**
31992
+ * @nullable
31993
+ */
31994
+ export type PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
31995
+ export type PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfOptionsItem = {
31996
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
31997
+ id?: string;
31998
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
31999
+ slug?: string;
32000
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
32001
+ name: string;
32002
+ /** @nullable */
32003
+ name_en?: PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfOptionsItemNameEn;
32004
+ };
32005
+ export type PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOf = {
32006
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
32007
+ label: string;
32008
+ /** @nullable */
32009
+ label_en?: PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfLabelEn;
32010
+ /** Whether a supporter must pick an option before paying */
32011
+ required: boolean;
32012
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
32013
+ options: PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOfOptionsItem[];
32014
+ };
32015
+ /**
32016
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32017
+ * @nullable
32018
+ */
32019
+ export type PatchV1OpenPaymentPagesByIdBodyOneChoiceField = PatchV1OpenPaymentPagesByIdBodyOneChoiceFieldAnyOf | null | null;
31498
32020
  export type PatchV1OpenPaymentPagesByIdBodyOne = {
31499
32021
  /**
31500
32022
  * @minLength 1
@@ -31522,6 +32044,11 @@ export type PatchV1OpenPaymentPagesByIdBodyOne = {
31522
32044
  /** @nullable */
31523
32045
  recurring_product_id?: PatchV1OpenPaymentPagesByIdBodyOneRecurringProductId;
31524
32046
  allow_one_time?: boolean;
32047
+ /**
32048
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32049
+ * @nullable
32050
+ */
32051
+ choice_field?: PatchV1OpenPaymentPagesByIdBodyOneChoiceField;
31525
32052
  };
31526
32053
  /**
31527
32054
  * @nullable
@@ -31576,6 +32103,39 @@ export type PatchV1OpenPaymentPagesByIdBodyTwoBillingInterval = PatchV1OpenPayme
31576
32103
  * @nullable
31577
32104
  */
31578
32105
  export type PatchV1OpenPaymentPagesByIdBodyTwoRecurringProductId = string | null | null;
32106
+ /**
32107
+ * @nullable
32108
+ */
32109
+ export type PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfLabelEn = string | null | null;
32110
+ /**
32111
+ * @nullable
32112
+ */
32113
+ export type PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32114
+ export type PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfOptionsItem = {
32115
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
32116
+ id?: string;
32117
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
32118
+ slug?: string;
32119
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
32120
+ name: string;
32121
+ /** @nullable */
32122
+ name_en?: PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfOptionsItemNameEn;
32123
+ };
32124
+ export type PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOf = {
32125
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
32126
+ label: string;
32127
+ /** @nullable */
32128
+ label_en?: PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfLabelEn;
32129
+ /** Whether a supporter must pick an option before paying */
32130
+ required: boolean;
32131
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
32132
+ options: PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOfOptionsItem[];
32133
+ };
32134
+ /**
32135
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32136
+ * @nullable
32137
+ */
32138
+ export type PatchV1OpenPaymentPagesByIdBodyTwoChoiceField = PatchV1OpenPaymentPagesByIdBodyTwoChoiceFieldAnyOf | null | null;
31579
32139
  export type PatchV1OpenPaymentPagesByIdBodyTwo = {
31580
32140
  /**
31581
32141
  * @minLength 1
@@ -31603,6 +32163,11 @@ export type PatchV1OpenPaymentPagesByIdBodyTwo = {
31603
32163
  /** @nullable */
31604
32164
  recurring_product_id?: PatchV1OpenPaymentPagesByIdBodyTwoRecurringProductId;
31605
32165
  allow_one_time?: boolean;
32166
+ /**
32167
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32168
+ * @nullable
32169
+ */
32170
+ choice_field?: PatchV1OpenPaymentPagesByIdBodyTwoChoiceField;
31606
32171
  };
31607
32172
  /**
31608
32173
  * @nullable
@@ -31657,6 +32222,39 @@ export type PatchV1OpenPaymentPagesByIdBodyThreeBillingInterval = PatchV1OpenPay
31657
32222
  * @nullable
31658
32223
  */
31659
32224
  export type PatchV1OpenPaymentPagesByIdBodyThreeRecurringProductId = string | null | null;
32225
+ /**
32226
+ * @nullable
32227
+ */
32228
+ export type PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfLabelEn = string | null | null;
32229
+ /**
32230
+ * @nullable
32231
+ */
32232
+ export type PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32233
+ export type PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfOptionsItem = {
32234
+ /** Send the id of an existing option to keep it (and its link slug) through a rename. Omit for a new option, which gets an id */
32235
+ id?: string;
32236
+ /** Optional link slug for a NEW option (lowercase letters, digits and hyphens). Ignored for an existing option, whose slug never changes. Generated from name when omitted */
32237
+ slug?: string;
32238
+ /** Icelandic option name, 1 to 80 characters, unique within the question */
32239
+ name: string;
32240
+ /** @nullable */
32241
+ name_en?: PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfOptionsItemNameEn;
32242
+ };
32243
+ export type PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOf = {
32244
+ /** The question, 1 to 80 characters, e.g. Sókn. Shown above the options and on the receipt as label: option */
32245
+ label: string;
32246
+ /** @nullable */
32247
+ label_en?: PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfLabelEn;
32248
+ /** Whether a supporter must pick an option before paying */
32249
+ required: boolean;
32250
+ /** 1 to 500 options, in the order shown. Leaving out an existing option removes it from the picker; gifts already given keep the option as it was */
32251
+ options: PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOfOptionsItem[];
32252
+ };
32253
+ /**
32254
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32255
+ * @nullable
32256
+ */
32257
+ export type PatchV1OpenPaymentPagesByIdBodyThreeChoiceField = PatchV1OpenPaymentPagesByIdBodyThreeChoiceFieldAnyOf | null | null;
31660
32258
  export type PatchV1OpenPaymentPagesByIdBodyThree = {
31661
32259
  /**
31662
32260
  * @minLength 1
@@ -31684,6 +32282,11 @@ export type PatchV1OpenPaymentPagesByIdBodyThree = {
31684
32282
  /** @nullable */
31685
32283
  recurring_product_id?: PatchV1OpenPaymentPagesByIdBodyThreeRecurringProductId;
31686
32284
  allow_one_time?: boolean;
32285
+ /**
32286
+ * Replace the dropdown question. Send existing options with their id to keep their link slugs. Send null to remove the question; omit to leave it alone
32287
+ * @nullable
32288
+ */
32289
+ choice_field?: PatchV1OpenPaymentPagesByIdBodyThreeChoiceField;
31687
32290
  };
31688
32291
  /**
31689
32292
  * @nullable
@@ -31744,6 +32347,42 @@ export type PatchV1OpenPaymentPagesById200OneBillingIntervalCount = PatchV1OpenP
31744
32347
  * @nullable
31745
32348
  */
31746
32349
  export type PatchV1OpenPaymentPagesById200OneRecurringProductId = string | null | null;
32350
+ /**
32351
+ * @nullable
32352
+ */
32353
+ export type PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfLabelEn = string | null | null;
32354
+ /**
32355
+ * @nullable
32356
+ */
32357
+ export type PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32358
+ export type PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItem = {
32359
+ /** Stable option id. Never changes after the option is created */
32360
+ id: string;
32361
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
32362
+ slug: string;
32363
+ /** Icelandic option name */
32364
+ name: string;
32365
+ /** @nullable */
32366
+ name_en: PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItemNameEn;
32367
+ };
32368
+ /**
32369
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
32370
+ */
32371
+ export type PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOf = {
32372
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
32373
+ label: string;
32374
+ /** @nullable */
32375
+ label_en: PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfLabelEn;
32376
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
32377
+ required: boolean;
32378
+ /** The options, in the order shown */
32379
+ options: PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOfOptionsItem[];
32380
+ };
32381
+ /**
32382
+ * Optional dropdown question on the giving card. null when the page has none
32383
+ * @nullable
32384
+ */
32385
+ export type PatchV1OpenPaymentPagesById200OneChoiceField = PatchV1OpenPaymentPagesById200OneChoiceFieldAnyOf | null | null;
31747
32386
  /**
31748
32387
  * active pages are payable, archived pages are not
31749
32388
  */
@@ -31790,6 +32429,11 @@ export type PatchV1OpenPaymentPagesById200One = {
31790
32429
  recurring_product_id: PatchV1OpenPaymentPagesById200OneRecurringProductId;
31791
32430
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31792
32431
  allow_one_time: boolean;
32432
+ /**
32433
+ * Optional dropdown question on the giving card. null when the page has none
32434
+ * @nullable
32435
+ */
32436
+ choice_field: PatchV1OpenPaymentPagesById200OneChoiceField;
31793
32437
  /** active pages are payable, archived pages are not */
31794
32438
  status: PatchV1OpenPaymentPagesById200OneStatus;
31795
32439
  /** Unix timestamp when this page was created */
@@ -31856,6 +32500,42 @@ export type PatchV1OpenPaymentPagesById200TwoBillingIntervalCount = PatchV1OpenP
31856
32500
  * @nullable
31857
32501
  */
31858
32502
  export type PatchV1OpenPaymentPagesById200TwoRecurringProductId = string | null | null;
32503
+ /**
32504
+ * @nullable
32505
+ */
32506
+ export type PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfLabelEn = string | null | null;
32507
+ /**
32508
+ * @nullable
32509
+ */
32510
+ export type PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32511
+ export type PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItem = {
32512
+ /** Stable option id. Never changes after the option is created */
32513
+ id: string;
32514
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
32515
+ slug: string;
32516
+ /** Icelandic option name */
32517
+ name: string;
32518
+ /** @nullable */
32519
+ name_en: PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItemNameEn;
32520
+ };
32521
+ /**
32522
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
32523
+ */
32524
+ export type PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOf = {
32525
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
32526
+ label: string;
32527
+ /** @nullable */
32528
+ label_en: PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfLabelEn;
32529
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
32530
+ required: boolean;
32531
+ /** The options, in the order shown */
32532
+ options: PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOfOptionsItem[];
32533
+ };
32534
+ /**
32535
+ * Optional dropdown question on the giving card. null when the page has none
32536
+ * @nullable
32537
+ */
32538
+ export type PatchV1OpenPaymentPagesById200TwoChoiceField = PatchV1OpenPaymentPagesById200TwoChoiceFieldAnyOf | null | null;
31859
32539
  /**
31860
32540
  * active pages are payable, archived pages are not
31861
32541
  */
@@ -31902,6 +32582,11 @@ export type PatchV1OpenPaymentPagesById200Two = {
31902
32582
  recurring_product_id: PatchV1OpenPaymentPagesById200TwoRecurringProductId;
31903
32583
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
31904
32584
  allow_one_time: boolean;
32585
+ /**
32586
+ * Optional dropdown question on the giving card. null when the page has none
32587
+ * @nullable
32588
+ */
32589
+ choice_field: PatchV1OpenPaymentPagesById200TwoChoiceField;
31905
32590
  /** active pages are payable, archived pages are not */
31906
32591
  status: PatchV1OpenPaymentPagesById200TwoStatus;
31907
32592
  /** Unix timestamp when this page was created */
@@ -31968,6 +32653,42 @@ export type PatchV1OpenPaymentPagesById200ThreeBillingIntervalCount = PatchV1Ope
31968
32653
  * @nullable
31969
32654
  */
31970
32655
  export type PatchV1OpenPaymentPagesById200ThreeRecurringProductId = string | null | null;
32656
+ /**
32657
+ * @nullable
32658
+ */
32659
+ export type PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfLabelEn = string | null | null;
32660
+ /**
32661
+ * @nullable
32662
+ */
32663
+ export type PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32664
+ export type PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItem = {
32665
+ /** Stable option id. Never changes after the option is created */
32666
+ id: string;
32667
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
32668
+ slug: string;
32669
+ /** Icelandic option name */
32670
+ name: string;
32671
+ /** @nullable */
32672
+ name_en: PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItemNameEn;
32673
+ };
32674
+ /**
32675
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
32676
+ */
32677
+ export type PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOf = {
32678
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
32679
+ label: string;
32680
+ /** @nullable */
32681
+ label_en: PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfLabelEn;
32682
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
32683
+ required: boolean;
32684
+ /** The options, in the order shown */
32685
+ options: PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOfOptionsItem[];
32686
+ };
32687
+ /**
32688
+ * Optional dropdown question on the giving card. null when the page has none
32689
+ * @nullable
32690
+ */
32691
+ export type PatchV1OpenPaymentPagesById200ThreeChoiceField = PatchV1OpenPaymentPagesById200ThreeChoiceFieldAnyOf | null | null;
31971
32692
  /**
31972
32693
  * active pages are payable, archived pages are not
31973
32694
  */
@@ -32014,6 +32735,11 @@ export type PatchV1OpenPaymentPagesById200Three = {
32014
32735
  recurring_product_id: PatchV1OpenPaymentPagesById200ThreeRecurringProductId;
32015
32736
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32016
32737
  allow_one_time: boolean;
32738
+ /**
32739
+ * Optional dropdown question on the giving card. null when the page has none
32740
+ * @nullable
32741
+ */
32742
+ choice_field: PatchV1OpenPaymentPagesById200ThreeChoiceField;
32017
32743
  /** active pages are payable, archived pages are not */
32018
32744
  status: PatchV1OpenPaymentPagesById200ThreeStatus;
32019
32745
  /** Unix timestamp when this page was created */
@@ -32167,6 +32893,42 @@ export type PostV1OpenPaymentPagesByIdActivate200OneBillingIntervalCount = PostV
32167
32893
  * @nullable
32168
32894
  */
32169
32895
  export type PostV1OpenPaymentPagesByIdActivate200OneRecurringProductId = string | null | null;
32896
+ /**
32897
+ * @nullable
32898
+ */
32899
+ export type PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfLabelEn = string | null | null;
32900
+ /**
32901
+ * @nullable
32902
+ */
32903
+ export type PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
32904
+ export type PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfOptionsItem = {
32905
+ /** Stable option id. Never changes after the option is created */
32906
+ id: string;
32907
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
32908
+ slug: string;
32909
+ /** Icelandic option name */
32910
+ name: string;
32911
+ /** @nullable */
32912
+ name_en: PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfOptionsItemNameEn;
32913
+ };
32914
+ /**
32915
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
32916
+ */
32917
+ export type PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOf = {
32918
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
32919
+ label: string;
32920
+ /** @nullable */
32921
+ label_en: PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfLabelEn;
32922
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
32923
+ required: boolean;
32924
+ /** The options, in the order shown */
32925
+ options: PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOfOptionsItem[];
32926
+ };
32927
+ /**
32928
+ * Optional dropdown question on the giving card. null when the page has none
32929
+ * @nullable
32930
+ */
32931
+ export type PostV1OpenPaymentPagesByIdActivate200OneChoiceField = PostV1OpenPaymentPagesByIdActivate200OneChoiceFieldAnyOf | null | null;
32170
32932
  /**
32171
32933
  * active pages are payable, archived pages are not
32172
32934
  */
@@ -32213,6 +32975,11 @@ export type PostV1OpenPaymentPagesByIdActivate200One = {
32213
32975
  recurring_product_id: PostV1OpenPaymentPagesByIdActivate200OneRecurringProductId;
32214
32976
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32215
32977
  allow_one_time: boolean;
32978
+ /**
32979
+ * Optional dropdown question on the giving card. null when the page has none
32980
+ * @nullable
32981
+ */
32982
+ choice_field: PostV1OpenPaymentPagesByIdActivate200OneChoiceField;
32216
32983
  /** active pages are payable, archived pages are not */
32217
32984
  status: PostV1OpenPaymentPagesByIdActivate200OneStatus;
32218
32985
  /** Unix timestamp when this page was created */
@@ -32279,6 +33046,42 @@ export type PostV1OpenPaymentPagesByIdActivate200TwoBillingIntervalCount = PostV
32279
33046
  * @nullable
32280
33047
  */
32281
33048
  export type PostV1OpenPaymentPagesByIdActivate200TwoRecurringProductId = string | null | null;
33049
+ /**
33050
+ * @nullable
33051
+ */
33052
+ export type PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfLabelEn = string | null | null;
33053
+ /**
33054
+ * @nullable
33055
+ */
33056
+ export type PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
33057
+ export type PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfOptionsItem = {
33058
+ /** Stable option id. Never changes after the option is created */
33059
+ id: string;
33060
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
33061
+ slug: string;
33062
+ /** Icelandic option name */
33063
+ name: string;
33064
+ /** @nullable */
33065
+ name_en: PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfOptionsItemNameEn;
33066
+ };
33067
+ /**
33068
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
33069
+ */
33070
+ export type PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOf = {
33071
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
33072
+ label: string;
33073
+ /** @nullable */
33074
+ label_en: PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfLabelEn;
33075
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
33076
+ required: boolean;
33077
+ /** The options, in the order shown */
33078
+ options: PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOfOptionsItem[];
33079
+ };
33080
+ /**
33081
+ * Optional dropdown question on the giving card. null when the page has none
33082
+ * @nullable
33083
+ */
33084
+ export type PostV1OpenPaymentPagesByIdActivate200TwoChoiceField = PostV1OpenPaymentPagesByIdActivate200TwoChoiceFieldAnyOf | null | null;
32282
33085
  /**
32283
33086
  * active pages are payable, archived pages are not
32284
33087
  */
@@ -32325,6 +33128,11 @@ export type PostV1OpenPaymentPagesByIdActivate200Two = {
32325
33128
  recurring_product_id: PostV1OpenPaymentPagesByIdActivate200TwoRecurringProductId;
32326
33129
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32327
33130
  allow_one_time: boolean;
33131
+ /**
33132
+ * Optional dropdown question on the giving card. null when the page has none
33133
+ * @nullable
33134
+ */
33135
+ choice_field: PostV1OpenPaymentPagesByIdActivate200TwoChoiceField;
32328
33136
  /** active pages are payable, archived pages are not */
32329
33137
  status: PostV1OpenPaymentPagesByIdActivate200TwoStatus;
32330
33138
  /** Unix timestamp when this page was created */
@@ -32391,6 +33199,42 @@ export type PostV1OpenPaymentPagesByIdActivate200ThreeBillingIntervalCount = Pos
32391
33199
  * @nullable
32392
33200
  */
32393
33201
  export type PostV1OpenPaymentPagesByIdActivate200ThreeRecurringProductId = string | null | null;
33202
+ /**
33203
+ * @nullable
33204
+ */
33205
+ export type PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfLabelEn = string | null | null;
33206
+ /**
33207
+ * @nullable
33208
+ */
33209
+ export type PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
33210
+ export type PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfOptionsItem = {
33211
+ /** Stable option id. Never changes after the option is created */
33212
+ id: string;
33213
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
33214
+ slug: string;
33215
+ /** Icelandic option name */
33216
+ name: string;
33217
+ /** @nullable */
33218
+ name_en: PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfOptionsItemNameEn;
33219
+ };
33220
+ /**
33221
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
33222
+ */
33223
+ export type PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOf = {
33224
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
33225
+ label: string;
33226
+ /** @nullable */
33227
+ label_en: PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfLabelEn;
33228
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
33229
+ required: boolean;
33230
+ /** The options, in the order shown */
33231
+ options: PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOfOptionsItem[];
33232
+ };
33233
+ /**
33234
+ * Optional dropdown question on the giving card. null when the page has none
33235
+ * @nullable
33236
+ */
33237
+ export type PostV1OpenPaymentPagesByIdActivate200ThreeChoiceField = PostV1OpenPaymentPagesByIdActivate200ThreeChoiceFieldAnyOf | null | null;
32394
33238
  /**
32395
33239
  * active pages are payable, archived pages are not
32396
33240
  */
@@ -32437,6 +33281,11 @@ export type PostV1OpenPaymentPagesByIdActivate200Three = {
32437
33281
  recurring_product_id: PostV1OpenPaymentPagesByIdActivate200ThreeRecurringProductId;
32438
33282
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32439
33283
  allow_one_time: boolean;
33284
+ /**
33285
+ * Optional dropdown question on the giving card. null when the page has none
33286
+ * @nullable
33287
+ */
33288
+ choice_field: PostV1OpenPaymentPagesByIdActivate200ThreeChoiceField;
32440
33289
  /** active pages are payable, archived pages are not */
32441
33290
  status: PostV1OpenPaymentPagesByIdActivate200ThreeStatus;
32442
33291
  /** Unix timestamp when this page was created */
@@ -32527,6 +33376,42 @@ export type PostV1OpenPaymentPagesByIdDeactivate200OneBillingIntervalCount = Pos
32527
33376
  * @nullable
32528
33377
  */
32529
33378
  export type PostV1OpenPaymentPagesByIdDeactivate200OneRecurringProductId = string | null | null;
33379
+ /**
33380
+ * @nullable
33381
+ */
33382
+ export type PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfLabelEn = string | null | null;
33383
+ /**
33384
+ * @nullable
33385
+ */
33386
+ export type PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
33387
+ export type PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfOptionsItem = {
33388
+ /** Stable option id. Never changes after the option is created */
33389
+ id: string;
33390
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
33391
+ slug: string;
33392
+ /** Icelandic option name */
33393
+ name: string;
33394
+ /** @nullable */
33395
+ name_en: PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfOptionsItemNameEn;
33396
+ };
33397
+ /**
33398
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
33399
+ */
33400
+ export type PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOf = {
33401
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
33402
+ label: string;
33403
+ /** @nullable */
33404
+ label_en: PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfLabelEn;
33405
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
33406
+ required: boolean;
33407
+ /** The options, in the order shown */
33408
+ options: PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOfOptionsItem[];
33409
+ };
33410
+ /**
33411
+ * Optional dropdown question on the giving card. null when the page has none
33412
+ * @nullable
33413
+ */
33414
+ export type PostV1OpenPaymentPagesByIdDeactivate200OneChoiceField = PostV1OpenPaymentPagesByIdDeactivate200OneChoiceFieldAnyOf | null | null;
32530
33415
  /**
32531
33416
  * active pages are payable, archived pages are not
32532
33417
  */
@@ -32573,6 +33458,11 @@ export type PostV1OpenPaymentPagesByIdDeactivate200One = {
32573
33458
  recurring_product_id: PostV1OpenPaymentPagesByIdDeactivate200OneRecurringProductId;
32574
33459
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32575
33460
  allow_one_time: boolean;
33461
+ /**
33462
+ * Optional dropdown question on the giving card. null when the page has none
33463
+ * @nullable
33464
+ */
33465
+ choice_field: PostV1OpenPaymentPagesByIdDeactivate200OneChoiceField;
32576
33466
  /** active pages are payable, archived pages are not */
32577
33467
  status: PostV1OpenPaymentPagesByIdDeactivate200OneStatus;
32578
33468
  /** Unix timestamp when this page was created */
@@ -32639,6 +33529,42 @@ export type PostV1OpenPaymentPagesByIdDeactivate200TwoBillingIntervalCount = Pos
32639
33529
  * @nullable
32640
33530
  */
32641
33531
  export type PostV1OpenPaymentPagesByIdDeactivate200TwoRecurringProductId = string | null | null;
33532
+ /**
33533
+ * @nullable
33534
+ */
33535
+ export type PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfLabelEn = string | null | null;
33536
+ /**
33537
+ * @nullable
33538
+ */
33539
+ export type PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
33540
+ export type PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfOptionsItem = {
33541
+ /** Stable option id. Never changes after the option is created */
33542
+ id: string;
33543
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
33544
+ slug: string;
33545
+ /** Icelandic option name */
33546
+ name: string;
33547
+ /** @nullable */
33548
+ name_en: PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfOptionsItemNameEn;
33549
+ };
33550
+ /**
33551
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
33552
+ */
33553
+ export type PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOf = {
33554
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
33555
+ label: string;
33556
+ /** @nullable */
33557
+ label_en: PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfLabelEn;
33558
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
33559
+ required: boolean;
33560
+ /** The options, in the order shown */
33561
+ options: PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOfOptionsItem[];
33562
+ };
33563
+ /**
33564
+ * Optional dropdown question on the giving card. null when the page has none
33565
+ * @nullable
33566
+ */
33567
+ export type PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceField = PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceFieldAnyOf | null | null;
32642
33568
  /**
32643
33569
  * active pages are payable, archived pages are not
32644
33570
  */
@@ -32685,6 +33611,11 @@ export type PostV1OpenPaymentPagesByIdDeactivate200Two = {
32685
33611
  recurring_product_id: PostV1OpenPaymentPagesByIdDeactivate200TwoRecurringProductId;
32686
33612
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32687
33613
  allow_one_time: boolean;
33614
+ /**
33615
+ * Optional dropdown question on the giving card. null when the page has none
33616
+ * @nullable
33617
+ */
33618
+ choice_field: PostV1OpenPaymentPagesByIdDeactivate200TwoChoiceField;
32688
33619
  /** active pages are payable, archived pages are not */
32689
33620
  status: PostV1OpenPaymentPagesByIdDeactivate200TwoStatus;
32690
33621
  /** Unix timestamp when this page was created */
@@ -32751,6 +33682,42 @@ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeBillingIntervalCount = P
32751
33682
  * @nullable
32752
33683
  */
32753
33684
  export type PostV1OpenPaymentPagesByIdDeactivate200ThreeRecurringProductId = string | null | null;
33685
+ /**
33686
+ * @nullable
33687
+ */
33688
+ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfLabelEn = string | null | null;
33689
+ /**
33690
+ * @nullable
33691
+ */
33692
+ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfOptionsItemNameEn = string | null | null;
33693
+ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfOptionsItem = {
33694
+ /** Stable option id. Never changes after the option is created */
33695
+ id: string;
33696
+ /** Link slug, generated from the Icelandic name when the option is created and kept through renames. Append ?val=<slug> to the public page URL to open it with this option chosen */
33697
+ slug: string;
33698
+ /** Icelandic option name */
33699
+ name: string;
33700
+ /** @nullable */
33701
+ name_en: PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfOptionsItemNameEn;
33702
+ };
33703
+ /**
33704
+ * An optional dropdown question on the giving card. Every gift records the option picked, and the receipt shows it as label: option
33705
+ */
33706
+ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOf = {
33707
+ /** The question, e.g. Sókn or Deild. Also the label of the line on the receipt */
33708
+ label: string;
33709
+ /** @nullable */
33710
+ label_en: PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfLabelEn;
33711
+ /** Whether a supporter must pick an option before paying. Enforced on the server */
33712
+ required: boolean;
33713
+ /** The options, in the order shown */
33714
+ options: PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOfOptionsItem[];
33715
+ };
33716
+ /**
33717
+ * Optional dropdown question on the giving card. null when the page has none
33718
+ * @nullable
33719
+ */
33720
+ export type PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceField = PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceFieldAnyOf | null | null;
32754
33721
  /**
32755
33722
  * active pages are payable, archived pages are not
32756
33723
  */
@@ -32797,6 +33764,11 @@ export type PostV1OpenPaymentPagesByIdDeactivate200Three = {
32797
33764
  recurring_product_id: PostV1OpenPaymentPagesByIdDeactivate200ThreeRecurringProductId;
32798
33765
  /** Whether a recurring page also offers a one-time contribution, letting the supporter choose the cadence. false on every one-off page and on a recurring page that only offers the subscription. A one-time contribution on such a page behaves exactly like one on a one-off page: it starts no subscription */
32799
33766
  allow_one_time: boolean;
33767
+ /**
33768
+ * Optional dropdown question on the giving card. null when the page has none
33769
+ * @nullable
33770
+ */
33771
+ choice_field: PostV1OpenPaymentPagesByIdDeactivate200ThreeChoiceField;
32800
33772
  /** active pages are payable, archived pages are not */
32801
33773
  status: PostV1OpenPaymentPagesByIdDeactivate200ThreeStatus;
32802
33774
  /** Unix timestamp when this page was created */