@shopware/api-client 1.3.0 → 1.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.
@@ -2,7 +2,7 @@
2
2
  * This file is auto-generated. Do not make direct changes to the file.
3
3
  * Instead override it in your shopware.d.ts file.
4
4
  *
5
- * Shopware API version: 6.6.10.0
5
+ * Shopware API version: 6.7.1.0
6
6
  *
7
7
  */
8
8
  type GenericRecord =
@@ -16,6 +16,10 @@ type GenericRecord =
16
16
  };
17
17
  export type components = {
18
18
  schemas: Schemas;
19
+ parameters: {
20
+ accept: string;
21
+ contentType: string;
22
+ };
19
23
  };
20
24
  export type Schemas = {
21
25
  AbstractDynamicPageOpenedPayload: {
@@ -313,6 +317,11 @@ export type Schemas = {
313
317
  * @default false
314
318
  */
315
319
  canSendRequestEmail?: boolean;
320
+ /**
321
+ * Indicates if the wishlist is enabled
322
+ * @default false
323
+ */
324
+ enableWishlist?: boolean;
316
325
  /**
317
326
  * The mode of the interaction
318
327
  * @enum {string}
@@ -390,12 +399,29 @@ export type Schemas = {
390
399
  /** Format: date-time */
391
400
  readonly updatedAt?: string;
392
401
  };
402
+ B2bComponentsAdvancedProductCatalogs: {
403
+ autoAddNewCategories?: boolean;
404
+ categories?: components["schemas"]["Category"][];
405
+ /** Format: date-time */
406
+ readonly createdAt?: string;
407
+ id: string;
408
+ organizationId: string;
409
+ salesChannelId: string;
410
+ /** Format: date-time */
411
+ readonly updatedAt?: string;
412
+ };
393
413
  B2bComponentsApprovalRule: {
414
+ active: boolean;
394
415
  affectedRole?: components["schemas"]["B2bComponentsRole"];
395
416
  affectedRoleId?: string;
417
+ conditions: GenericRecord;
396
418
  /** Format: date-time */
397
419
  readonly createdAt?: string;
398
- id?: string;
420
+ description?: string;
421
+ id: string;
422
+ name: string;
423
+ /** Format: int64 */
424
+ priority: number;
399
425
  reviewerRole?: components["schemas"]["B2bComponentsRole"];
400
426
  reviewerRoleId?: string;
401
427
  /** Format: date-time */
@@ -408,6 +434,40 @@ export type Schemas = {
408
434
  /** Format: date-time */
409
435
  readonly updatedAt?: string;
410
436
  };
437
+ B2bComponentsOrganization: {
438
+ /** Format: date-time */
439
+ readonly createdAt?: string;
440
+ createdBy?: components["schemas"]["User"];
441
+ createdById?: string;
442
+ customer?: components["schemas"]["Customer"];
443
+ customerId: string;
444
+ customFields?: GenericRecord;
445
+ defaultBillingAddress?: components["schemas"]["CustomerAddress"];
446
+ defaultBillingAddressId: string;
447
+ defaultShippingAddress?: components["schemas"]["CustomerAddress"];
448
+ defaultShippingAddressId: string;
449
+ employees?: components["schemas"]["B2bEmployee"][];
450
+ id: string;
451
+ name: string;
452
+ organizationCustomerAddresses?: components["schemas"]["B2bComponentsOrganizationCustomerAddress"][];
453
+ paymentMethods?: components["schemas"]["PaymentMethod"][];
454
+ shippingMethods?: components["schemas"]["ShippingMethod"][];
455
+ /** Format: date-time */
456
+ readonly updatedAt?: string;
457
+ updatedBy?: components["schemas"]["User"];
458
+ updatedById?: string;
459
+ };
460
+ B2bComponentsOrganizationCustomerAddress: {
461
+ /** Format: date-time */
462
+ readonly createdAt?: string;
463
+ customerAddress?: components["schemas"]["CustomerAddress"];
464
+ customerAddressId: string;
465
+ id: string;
466
+ organizationId: string;
467
+ type: string;
468
+ /** Format: date-time */
469
+ readonly updatedAt?: string;
470
+ };
411
471
  B2bComponentsPendingOrder: {
412
472
  addresses?: components["schemas"]["B2bComponentsPendingOrderAddress"][];
413
473
  /** Format: float */
@@ -418,6 +478,7 @@ export type Schemas = {
418
478
  approvalRuleId?: string;
419
479
  billingAddress?: components["schemas"]["B2bComponentsPendingOrderAddress"];
420
480
  billingAddressId: string;
481
+ cartPayload: string;
421
482
  country?: components["schemas"]["Country"];
422
483
  countryId: string;
423
484
  /** Format: date-time */
@@ -431,7 +492,7 @@ export type Schemas = {
431
492
  decidedById?: string;
432
493
  employee?: components["schemas"]["B2bEmployee"];
433
494
  employeeId: string;
434
- id?: string;
495
+ id: string;
435
496
  language?: components["schemas"]["Language"];
436
497
  languageId: string;
437
498
  order?: components["schemas"]["Order"];
@@ -511,6 +572,23 @@ export type Schemas = {
511
572
  customFields?: GenericRecord;
512
573
  employee?: components["schemas"]["B2bEmployee"];
513
574
  employeeId?: string;
575
+ extensions?: {
576
+ organization?: {
577
+ data?: {
578
+ /** @example b4c1948c087fafc89a88450fcbb64c77 */
579
+ id?: string;
580
+ /** @example b2b_components_organization */
581
+ type?: string;
582
+ };
583
+ links?: {
584
+ /**
585
+ * Format: uri-reference
586
+ * @example /b2b-components-shopping-list/23cb3bfda723e05b43cb25a427ee5a25/organization
587
+ */
588
+ related?: string;
589
+ };
590
+ };
591
+ };
514
592
  id: string;
515
593
  lineItems?: components["schemas"]["B2bComponentsShoppingListLineItem"][];
516
594
  name?: string;
@@ -528,6 +606,23 @@ export type Schemas = {
528
606
  customerId: string;
529
607
  customFields?: GenericRecord;
530
608
  employeeId?: string;
609
+ extensions?: {
610
+ organization?: {
611
+ data?: {
612
+ /** @example b4c1948c087fafc89a88450fcbb64c77 */
613
+ id?: string;
614
+ /** @example b2b_components_organization */
615
+ type?: string;
616
+ };
617
+ links?: {
618
+ /**
619
+ * Format: uri-reference
620
+ * @example /b2b-components-shopping-list/23cb3bfda723e05b43cb25a427ee5a25/organization
621
+ */
622
+ related?: string;
623
+ };
624
+ };
625
+ };
531
626
  id: string;
532
627
  name?: string;
533
628
  price?: components["schemas"]["Price"][];
@@ -626,7 +721,6 @@ export type Schemas = {
626
721
  readonly updatedAt?: string;
627
722
  };
628
723
  B2bEmployee: {
629
- active?: boolean;
630
724
  /** Format: date-time */
631
725
  readonly createdAt?: string;
632
726
  customFields?: GenericRecord;
@@ -738,7 +832,6 @@ export type Schemas = {
738
832
  taxStatus: "net" | "tax-free";
739
833
  totalPrice: number;
740
834
  unitPrice: number;
741
- /** Format: ^[0-9a-f]{32}$ */
742
835
  variantId?: string | null;
743
836
  };
744
837
  Cart: {
@@ -879,7 +972,6 @@ export type Schemas = {
879
972
  price?: number;
880
973
  } | null;
881
974
  unitName: string;
882
- /** Format: ^[0-9a-f]{32}$ */
883
975
  variantId?: string | null;
884
976
  };
885
977
  Category: {
@@ -888,7 +980,7 @@ export type Schemas = {
888
980
  afterCategoryVersionId?: string;
889
981
  /** @enum {string} */
890
982
  apiAlias: "category";
891
- breadcrumb: string[];
983
+ readonly breadcrumb: string[];
892
984
  /** Format: int64 */
893
985
  readonly childCount: number;
894
986
  children: components["schemas"]["Category"][];
@@ -921,6 +1013,8 @@ export type Schemas = {
921
1013
  parentVersionId?: string;
922
1014
  readonly path?: string;
923
1015
  productAssignmentType?: string;
1016
+ /** Runtime field, cannot be used as part of the criteria. */
1017
+ seoUrl?: string;
924
1018
  seoUrls?: components["schemas"]["SeoUrl"][];
925
1019
  tags?: components["schemas"]["Tag"][];
926
1020
  translated: {
@@ -943,6 +1037,7 @@ export type Schemas = {
943
1037
  parentVersionId: string;
944
1038
  path: string;
945
1039
  productAssignmentType: string;
1040
+ seoUrl: string;
946
1041
  type: string;
947
1042
  versionId: string;
948
1043
  };
@@ -1083,6 +1178,8 @@ export type Schemas = {
1083
1178
  };
1084
1179
  };
1085
1180
  };
1181
+ /** Runtime field, cannot be used as part of the criteria. */
1182
+ seoUrl?: string;
1086
1183
  translated: {
1087
1184
  afterCategoryId: string;
1088
1185
  afterCategoryVersionId: string;
@@ -1102,6 +1199,7 @@ export type Schemas = {
1102
1199
  parentVersionId: string;
1103
1200
  path: string;
1104
1201
  productAssignmentType: string;
1202
+ seoUrl: string;
1105
1203
  type: string;
1106
1204
  versionId: string;
1107
1205
  };
@@ -1300,11 +1398,13 @@ export type Schemas = {
1300
1398
  block?: components["schemas"]["CmsBlock"];
1301
1399
  blockId: string;
1302
1400
  cmsBlockVersionId?: string;
1401
+ config?: GenericRecord;
1303
1402
  /** Format: date-time */
1304
1403
  readonly createdAt?: string;
1305
1404
  customFields?: {
1306
1405
  _uniqueIdentifier?: string;
1307
1406
  };
1407
+ readonly data?: GenericRecord;
1308
1408
  extensions?: {
1309
1409
  swagCmsExtensionsForm?: {
1310
1410
  data?: {
@@ -1343,6 +1443,29 @@ export type Schemas = {
1343
1443
  readonly updatedAt?: string;
1344
1444
  versionId?: string;
1345
1445
  };
1446
+ ContextMeasurementSystemInfo: {
1447
+ /**
1448
+ * The measurement system used in the store. 'metric' for metric system, 'imperial' for imperial system.
1449
+ * @default metric
1450
+ * @enum {string}
1451
+ */
1452
+ system?: "metric" | "imperial";
1453
+ /** Units used in the measurement system. */
1454
+ units?: {
1455
+ /**
1456
+ * Unit of length.
1457
+ * @default mm
1458
+ * @enum {string}
1459
+ */
1460
+ length?: "mm" | "cm" | "m" | "in" | "ft";
1461
+ /**
1462
+ * Unit of weight.
1463
+ * @default kg
1464
+ * @enum {string}
1465
+ */
1466
+ weight?: "g" | "kg" | "oz" | "lb";
1467
+ };
1468
+ };
1346
1469
  Country: {
1347
1470
  active?: boolean;
1348
1471
  addressFormat: GenericRecord;
@@ -1517,7 +1640,7 @@ export type Schemas = {
1517
1640
  CreateInteractionRequestBody: components["schemas"]["DynamicInteractionBody"];
1518
1641
  Criteria: {
1519
1642
  aggregations?: components["schemas"]["Aggregation"][];
1520
- associations?: components["schemas"]["Association"];
1643
+ associations?: components["schemas"]["Associations"];
1521
1644
  /** Fields which should be returned in the search result. */
1522
1645
  fields?: string[];
1523
1646
  /** List of filters to restrict the search result. For more information, see [Search Queries > Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#filter) */
@@ -1709,8 +1832,6 @@ export type Schemas = {
1709
1832
  customFields?: GenericRecord;
1710
1833
  defaultBillingAddress?: components["schemas"]["CustomerAddress"];
1711
1834
  defaultBillingAddressId: string;
1712
- defaultPaymentMethod?: components["schemas"]["PaymentMethod"];
1713
- defaultPaymentMethodId: string;
1714
1835
  defaultShippingAddress?: components["schemas"]["CustomerAddress"];
1715
1836
  defaultShippingAddressId: string;
1716
1837
  /** Format: date-time */
@@ -1779,16 +1900,6 @@ export type Schemas = {
1779
1900
  company: string;
1780
1901
  vatIds: [string, ...string[]];
1781
1902
  }
1782
- | {
1783
- /** @enum {string} */
1784
- accountType: "private";
1785
- }
1786
- | {
1787
- /** @enum {string} */
1788
- accountType: "business";
1789
- company: string;
1790
- vatIds: [string, ...string[]];
1791
- }
1792
1903
  );
1793
1904
  CustomerAddress: {
1794
1905
  additionalAddressLine1?: string;
@@ -1804,7 +1915,26 @@ export type Schemas = {
1804
1915
  customerId: string;
1805
1916
  customFields?: GenericRecord;
1806
1917
  department?: string;
1918
+ extensions?: {
1919
+ organizationCustomerAddresses?: {
1920
+ data?: {
1921
+ /** @example ada6a19a929bea8dbec29edb3d68df58 */
1922
+ id?: string;
1923
+ /** @example b2b_components_organization_customer_address */
1924
+ type?: string;
1925
+ }[];
1926
+ links?: {
1927
+ /**
1928
+ * Format: uri-reference
1929
+ * @example /customer-address/1b4b031005f93d02d887e7d66efb653b/organizationCustomerAddresses
1930
+ */
1931
+ related?: string;
1932
+ };
1933
+ };
1934
+ };
1807
1935
  firstName: string;
1936
+ /** Runtime field, cannot be used as part of the criteria. */
1937
+ hash?: string;
1808
1938
  id: string;
1809
1939
  lastName: string;
1810
1940
  phoneNumber?: string;
@@ -1838,13 +1968,12 @@ export type Schemas = {
1838
1968
  };
1839
1969
  CustomerAddressRead: {
1840
1970
  country: components["schemas"]["Country"];
1841
- countryState?: components["schemas"]["CountryState"];
1971
+ countryState?: components["schemas"]["CountryState"] | null;
1842
1972
  /** Format: date-time */
1843
1973
  createdAt: string;
1844
1974
  readonly customerId: string;
1845
1975
  readonly id?: string;
1846
1976
  salutation: components["schemas"]["Salutation"];
1847
- /** Format: date-time */
1848
1977
  updatedAt: string | null;
1849
1978
  };
1850
1979
  CustomerGroup: {
@@ -1897,6 +2026,7 @@ export type Schemas = {
1897
2026
  customerId: string;
1898
2027
  customFields?: GenericRecord;
1899
2028
  id: string;
2029
+ products?: components["schemas"]["CustomerWishlistProduct"][];
1900
2030
  /** Format: date-time */
1901
2031
  readonly updatedAt?: string;
1902
2032
  };
@@ -1909,7 +2039,6 @@ export type Schemas = {
1909
2039
  /** Format: date-time */
1910
2040
  readonly updatedAt?: string;
1911
2041
  };
1912
- DeliveryInformation: unknown;
1913
2042
  DeliveryTime: {
1914
2043
  /** Format: date-time */
1915
2044
  readonly createdAt?: string;
@@ -1953,7 +2082,7 @@ export type Schemas = {
1953
2082
  documentNumber?: string;
1954
2083
  documentType?: components["schemas"]["DocumentType"];
1955
2084
  documentTypeId: string;
1956
- fileType: string;
2085
+ fileType?: string;
1957
2086
  id: string;
1958
2087
  order?: components["schemas"]["Order"];
1959
2088
  orderId: string;
@@ -2563,7 +2692,7 @@ export type Schemas = {
2563
2692
  };
2564
2693
  LineItem: {
2565
2694
  children?: components["schemas"]["LineItem"][];
2566
- cover?: components["schemas"]["ProductMedia"];
2695
+ cover: components["schemas"]["Media"] | null;
2567
2696
  dataContextHash?: string;
2568
2697
  dataTimestamp?: string;
2569
2698
  deliveryInformation: components["schemas"]["CartDeliveryInformation"];
@@ -2768,6 +2897,62 @@ export type Schemas = {
2768
2897
  /** Format: date-time */
2769
2898
  readonly updatedAt?: string;
2770
2899
  };
2900
+ MeasurementDisplayUnit: {
2901
+ /** Format: date-time */
2902
+ readonly createdAt?: string;
2903
+ default: boolean;
2904
+ /** Format: float */
2905
+ factor: number;
2906
+ id: string;
2907
+ measurementSystem?: components["schemas"]["MeasurementSystem"];
2908
+ measurementSystemId: string;
2909
+ /** Format: int64 */
2910
+ precision: number;
2911
+ shortName: string;
2912
+ translated: {
2913
+ measurementSystemId: string;
2914
+ shortName: string;
2915
+ type: string;
2916
+ };
2917
+ type: string;
2918
+ /** Format: date-time */
2919
+ readonly updatedAt?: string;
2920
+ };
2921
+ MeasurementSystem: {
2922
+ /** Format: date-time */
2923
+ readonly createdAt?: string;
2924
+ id: string;
2925
+ technicalName: string;
2926
+ translated: {
2927
+ technicalName: string;
2928
+ };
2929
+ units?: components["schemas"]["MeasurementDisplayUnit"][];
2930
+ /** Format: date-time */
2931
+ readonly updatedAt?: string;
2932
+ };
2933
+ MeasurementUnits: {
2934
+ /**
2935
+ * The measurement system used in the store. 'metric' for metric system, 'imperial' for imperial system.
2936
+ * @default metric
2937
+ * @enum {string}
2938
+ */
2939
+ system?: "metric" | "imperial";
2940
+ /** Units used in the measurement system. */
2941
+ units?: {
2942
+ /**
2943
+ * Unit of length.
2944
+ * @default mm
2945
+ * @enum {string}
2946
+ */
2947
+ length?: "mm" | "cm" | "m" | "in" | "ft";
2948
+ /**
2949
+ * Unit of weight.
2950
+ * @default kg
2951
+ * @enum {string}
2952
+ */
2953
+ weight?: "g" | "kg" | "oz" | "lb";
2954
+ };
2955
+ };
2771
2956
  Media: {
2772
2957
  alt?: string;
2773
2958
  /** @enum {string} */
@@ -2793,14 +2978,14 @@ export type Schemas = {
2793
2978
  };
2794
2979
  };
2795
2980
  };
2796
- readonly fileExtension: string;
2981
+ fileExtension: string;
2797
2982
  fileName: string;
2798
2983
  /** Format: int64 */
2799
2984
  readonly fileSize?: number;
2800
2985
  /** Runtime field, cannot be used as part of the criteria. */
2801
2986
  hasFile: boolean;
2802
2987
  id: string;
2803
- metaData?: {
2988
+ readonly metaData?: {
2804
2989
  /** Format: int64 */
2805
2990
  height?: number;
2806
2991
  /** Format: int64 */
@@ -2925,6 +3110,40 @@ export type Schemas = {
2925
3110
  /** Format: date-time */
2926
3111
  readonly updatedAt?: string;
2927
3112
  };
3113
+ NoneFieldsCriteria: {
3114
+ aggregations?: components["schemas"]["Aggregation"][];
3115
+ associations?: components["schemas"]["Associations"];
3116
+ /** List of filters to restrict the search result. For more information, see [Search Queries > Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#filter) */
3117
+ filter?: (
3118
+ | components["schemas"]["SimpleFilter"]
3119
+ | components["schemas"]["EqualsFilter"]
3120
+ | components["schemas"]["MultiNotFilter"]
3121
+ | components["schemas"]["RangeFilter"]
3122
+ )[];
3123
+ /** Perform groupings over certain fields */
3124
+ grouping?: string[];
3125
+ /** List of ids to search for */
3126
+ ids?: string[];
3127
+ includes?: components["schemas"]["Includes"];
3128
+ /** Number of items per result page */
3129
+ limit?: number;
3130
+ /** Search result page */
3131
+ page?: number;
3132
+ /** Filters that applied without affecting aggregations. For more information, see [Search Queries > Post Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#post-filter) */
3133
+ "post-filter"?: (
3134
+ | components["schemas"]["SimpleFilter"]
3135
+ | components["schemas"]["EqualsFilter"]
3136
+ | components["schemas"]["MultiNotFilter"]
3137
+ | components["schemas"]["RangeFilter"]
3138
+ )[];
3139
+ /** The query string to search for */
3140
+ query?: string;
3141
+ /** Sorting in the search result. */
3142
+ sort?: components["schemas"]["Sort"][];
3143
+ /** Search term */
3144
+ term?: string;
3145
+ "total-count-mode"?: components["schemas"]["TotalCountMode"];
3146
+ };
2928
3147
  Notification: {
2929
3148
  /** Format: date-time */
2930
3149
  readonly createdAt?: string;
@@ -2999,6 +3218,21 @@ export type Schemas = {
2999
3218
  related?: string;
3000
3219
  };
3001
3220
  };
3221
+ organization?: {
3222
+ data?: {
3223
+ /** @example b4c1948c087fafc89a88450fcbb64c77 */
3224
+ id?: string;
3225
+ /** @example b2b_components_organization */
3226
+ type?: string;
3227
+ };
3228
+ links?: {
3229
+ /**
3230
+ * Format: uri-reference
3231
+ * @example /order/a240fa27925a635b08dc28c9e4f9216d/organization
3232
+ */
3233
+ related?: string;
3234
+ };
3235
+ };
3002
3236
  quote?: {
3003
3237
  data?: {
3004
3238
  /** @example 7a674c327bfa07f7c1204fb38ca6ef3b */
@@ -3057,6 +3291,12 @@ export type Schemas = {
3057
3291
  /** Format: float */
3058
3292
  readonly positionPrice?: number;
3059
3293
  price: components["schemas"]["CalculatedPrice"];
3294
+ primaryOrderDelivery?: components["schemas"]["OrderDelivery"];
3295
+ primaryOrderDeliveryId?: string;
3296
+ primaryOrderDeliveryVersionId?: string;
3297
+ primaryOrderTransaction?: components["schemas"]["OrderTransaction"];
3298
+ primaryOrderTransactionId?: string;
3299
+ primaryOrderTransactionVersionId?: string;
3060
3300
  salesChannelId: string;
3061
3301
  shippingCosts?: {
3062
3302
  calculatedTaxes?: GenericRecord;
@@ -3086,6 +3326,7 @@ export type Schemas = {
3086
3326
  source?: string;
3087
3327
  stateMachineState: components["schemas"]["StateMachineState"];
3088
3328
  tags?: components["schemas"]["Tag"][];
3329
+ taxCalculationType?: string;
3089
3330
  readonly taxStatus?: string;
3090
3331
  transactions?: components["schemas"]["OrderTransaction"][];
3091
3332
  /** Format: date-time */
@@ -3107,6 +3348,8 @@ export type Schemas = {
3107
3348
  customFields?: GenericRecord;
3108
3349
  department?: string;
3109
3350
  firstName: string;
3351
+ /** Runtime field, cannot be used as part of the criteria. */
3352
+ hash?: string;
3110
3353
  id: string;
3111
3354
  lastName: string;
3112
3355
  phoneNumber?: string;
@@ -3665,8 +3908,6 @@ export type Schemas = {
3665
3908
  PaymentMethod: {
3666
3909
  active?: boolean;
3667
3910
  afterOrderEnabled?: boolean;
3668
- /** Runtime field, cannot be used as part of the criteria. */
3669
- readonly asynchronous?: boolean;
3670
3911
  /** Format: date-time */
3671
3912
  readonly createdAt?: string;
3672
3913
  customFields?: GenericRecord;
@@ -3679,16 +3920,8 @@ export type Schemas = {
3679
3920
  /** Format: int64 */
3680
3921
  position?: number;
3681
3922
  /** Runtime field, cannot be used as part of the criteria. */
3682
- readonly prepared?: boolean;
3683
- /** Runtime field, cannot be used as part of the criteria. */
3684
- readonly recurring?: boolean;
3685
- /** Runtime field, cannot be used as part of the criteria. */
3686
- readonly refundable?: boolean;
3687
- /** Runtime field, cannot be used as part of the criteria. */
3688
3923
  shortName?: string;
3689
- /** Runtime field, cannot be used as part of the criteria. */
3690
- readonly synchronous?: boolean;
3691
- technicalName?: string;
3924
+ technicalName: string;
3692
3925
  translated: {
3693
3926
  description: string;
3694
3927
  distinguishableName: string;
@@ -3703,8 +3936,6 @@ export type Schemas = {
3703
3936
  PaymentMethodJsonApi: components["schemas"]["resource"] & {
3704
3937
  active?: boolean;
3705
3938
  afterOrderEnabled?: boolean;
3706
- /** Runtime field, cannot be used as part of the criteria. */
3707
- readonly asynchronous?: boolean;
3708
3939
  /** Format: date-time */
3709
3940
  readonly createdAt?: string;
3710
3941
  customFields?: GenericRecord;
@@ -3715,12 +3946,6 @@ export type Schemas = {
3715
3946
  name: string;
3716
3947
  /** Format: int64 */
3717
3948
  position?: number;
3718
- /** Runtime field, cannot be used as part of the criteria. */
3719
- readonly prepared?: boolean;
3720
- /** Runtime field, cannot be used as part of the criteria. */
3721
- readonly recurring?: boolean;
3722
- /** Runtime field, cannot be used as part of the criteria. */
3723
- readonly refundable?: boolean;
3724
3949
  relationships?: {
3725
3950
  media?: {
3726
3951
  data?: {
@@ -3740,9 +3965,7 @@ export type Schemas = {
3740
3965
  };
3741
3966
  /** Runtime field, cannot be used as part of the criteria. */
3742
3967
  shortName?: string;
3743
- /** Runtime field, cannot be used as part of the criteria. */
3744
- readonly synchronous?: boolean;
3745
- technicalName?: string;
3968
+ technicalName: string;
3746
3969
  translated: {
3747
3970
  description: string;
3748
3971
  distinguishableName: string;
@@ -3758,32 +3981,47 @@ export type Schemas = {
3758
3981
  amountNet?: number | null;
3759
3982
  amountTotal?: number | null;
3760
3983
  approvalRuleId?: string;
3761
- billingAddress?: GenericRecord;
3984
+ billingAddress?: components["schemas"]["OrderAddress"];
3762
3985
  cartPayload?: GenericRecord | string;
3763
- country?: GenericRecord;
3986
+ country?: GenericRecord | null;
3764
3987
  countryId?: string;
3765
- currency?: GenericRecord;
3988
+ currency?: GenericRecord | null;
3766
3989
  currencyId?: string;
3767
3990
  customerId?: string;
3768
3991
  decidedById?: string;
3769
3992
  employeeId?: string;
3770
3993
  /** Format: uuid */
3771
3994
  id?: string;
3772
- itemRounding?: GenericRecord;
3773
- language?: GenericRecord;
3995
+ itemRounding?: GenericRecord | null;
3996
+ language?: GenericRecord | null;
3774
3997
  languageId?: string;
3775
3998
  lineItemCount?: number;
3776
3999
  number?: string;
3777
4000
  originalPrice?: number | null;
4001
+ paymentMethod?: components["schemas"]["PaymentMethod"];
3778
4002
  paymentMethodId?: string;
3779
- price?: GenericRecord;
4003
+ price?: {
4004
+ calculatedTaxes?: GenericRecord;
4005
+ /** Format: float */
4006
+ netPrice: number;
4007
+ /** Format: float */
4008
+ positionPrice: number;
4009
+ /** Format: float */
4010
+ rawTotal: number;
4011
+ taxRules?: GenericRecord;
4012
+ taxStatus: string;
4013
+ /** Format: float */
4014
+ totalPrice: number;
4015
+ };
3780
4016
  reason?: string;
3781
- salesChannel?: GenericRecord;
4017
+ salesChannel?: GenericRecord | null;
3782
4018
  salesChannelId?: string;
4019
+ shippingMethod?: components["schemas"]["ShippingMethod"];
3783
4020
  shippingMethodId?: string;
3784
4021
  stateId?: string;
4022
+ stateMachineState?: components["schemas"]["StateMachineState"];
3785
4023
  taxStatus?: string;
3786
- totalRounding?: GenericRecord;
4024
+ totalRounding?: GenericRecord | null;
3787
4025
  };
3788
4026
  Plugin: {
3789
4027
  /** Format: date-time */
@@ -3972,6 +4210,7 @@ export type Schemas = {
3972
4210
  markAsTopseller?: boolean;
3973
4211
  /** Format: int64 */
3974
4212
  maxPurchase?: number;
4213
+ measurements?: components["schemas"]["ProductMeasurements"];
3975
4214
  media?: components["schemas"]["ProductMedia"][];
3976
4215
  metaDescription?: string;
3977
4216
  metaTitle?: string;
@@ -4154,516 +4393,518 @@ export type Schemas = {
4154
4393
  | "attendee.product.collection.disliked"
4155
4394
  | "attendee.product.collection.removed";
4156
4395
  };
4157
- ProductJsonApi: components["schemas"]["resource"] & {
4158
- active?: boolean;
4159
- readonly available?: boolean;
4160
- /** Format: int64 */
4161
- readonly availableStock?: number;
4162
- calculatedCheapestPrice?: GenericRecord;
4163
- /**
4164
- * Format: int64
4165
- * Runtime field, cannot be used as part of the criteria.
4166
- */
4167
- calculatedMaxPurchase?: number;
4168
- calculatedPrice?: GenericRecord;
4169
- calculatedPrices?: GenericRecord[];
4170
- canonicalProductId?: string;
4171
- canonicalProductVersionId?: string;
4172
- readonly categoryIds?: string[];
4173
- readonly categoryTree?: string[];
4174
- /** Format: int64 */
4175
- readonly childCount?: number;
4176
- cmsPageId?: string;
4177
- cmsPageVersionId?: string;
4178
- coverId?: string;
4179
- /** Format: date-time */
4180
- readonly createdAt?: string;
4181
- customFields?: GenericRecord;
4182
- deliveryTimeId?: string;
4183
- description?: string;
4184
- readonly displayGroup?: string;
4185
- ean?: string;
4186
- extensions?: {
4187
- attendeeProductCollections?: {
4188
- data?: {
4189
- /** @example 0a7b3b2f4b81f36910a74f22826f35df */
4190
- id?: string;
4191
- /** @example dsr_attendee_product_collection */
4192
- type?: string;
4193
- }[];
4194
- links?: {
4195
- /**
4196
- * Format: uri-reference
4197
- * @example /product/deb10517653c255364175796ace3553f/attendeeProductCollections
4198
- */
4199
- related?: string;
4200
- };
4201
- };
4202
- reviewSummaries?: {
4203
- data?: {
4204
- /** @example c9c718522e64ffa5effb26cef94f4849 */
4205
- id?: string;
4206
- /** @example product_review_summary */
4207
- type?: string;
4208
- }[];
4209
- links?: {
4210
- /**
4211
- * Format: uri-reference
4212
- * @example /product/deb10517653c255364175796ace3553f/reviewSummaries
4213
- */
4214
- related?: string;
4215
- };
4216
- };
4217
- swagCustomizedProductsTemplate?: {
4218
- data?: {
4219
- /** @example 6e9fad30dd3cb84748a01bb8152f4769 */
4220
- id?: string;
4221
- /** @example swag_customized_products_template */
4222
- type?: string;
4223
- };
4224
- links?: {
4225
- /**
4226
- * Format: uri-reference
4227
- * @example /product/deb10517653c255364175796ace3553f/swagCustomizedProductsTemplate
4228
- */
4229
- related?: string;
4230
- };
4231
- };
4232
- };
4233
- /** Format: float */
4234
- height?: number;
4235
- id: string;
4236
- isCloseout?: boolean;
4237
- /** Runtime field, cannot be used as part of the criteria. */
4238
- isNew?: boolean;
4239
- keywords?: string;
4240
- /** Format: float */
4241
- length?: number;
4242
- manufacturerId?: string;
4243
- manufacturerNumber?: string;
4244
- markAsTopseller?: boolean;
4245
- /** Format: int64 */
4246
- maxPurchase?: number;
4247
- metaDescription?: string;
4248
- metaTitle?: string;
4249
- /** Format: int64 */
4250
- minPurchase?: number;
4251
- name: string;
4252
- readonly optionIds?: string[];
4253
- packUnit?: string;
4254
- packUnitPlural?: string;
4255
- parentId?: string;
4256
- parentVersionId?: string;
4257
- productManufacturerVersionId?: string;
4258
- productMediaVersionId?: string;
4259
- productNumber: string;
4260
- readonly propertyIds?: string[];
4261
- /** Format: int64 */
4262
- purchaseSteps?: number;
4263
- /** Format: float */
4264
- purchaseUnit?: number;
4265
- /** Format: float */
4266
- readonly ratingAverage?: number;
4267
- /** Format: float */
4268
- referenceUnit?: number;
4269
- relationships?: {
4270
- canonicalProduct?: {
4271
- data?: {
4272
- /** @example 023995a50b56c0de077323e958b2bbcd */
4273
- id?: string;
4274
- /** @example product */
4275
- type?: string;
4276
- };
4277
- links?: {
4278
- /**
4279
- * Format: uri-reference
4280
- * @example /product/deb10517653c255364175796ace3553f/canonicalProduct
4281
- */
4282
- related?: string;
4283
- };
4284
- };
4285
- categories?: {
4286
- data?: {
4287
- /** @example b0b5ccb4a195a07fd3eed14affb8695f */
4288
- id?: string;
4289
- /** @example category */
4290
- type?: string;
4291
- }[];
4292
- links?: {
4293
- /**
4294
- * Format: uri-reference
4295
- * @example /product/deb10517653c255364175796ace3553f/categories
4296
- */
4297
- related?: string;
4298
- };
4299
- };
4300
- categoriesRo?: {
4301
- data?: {
4302
- /** @example 7f0702d3a90d965b8c9158c451f43fdb */
4303
- id?: string;
4304
- /** @example category */
4305
- type?: string;
4306
- }[];
4307
- links?: {
4308
- /**
4309
- * Format: uri-reference
4310
- * @example /product/deb10517653c255364175796ace3553f/categoriesRo
4311
- */
4312
- related?: string;
4313
- };
4314
- };
4315
- children?: {
4316
- data?: {
4317
- /** @example 268184c12df027f536154d099d497b31 */
4318
- id?: string;
4319
- /** @example product */
4320
- type?: string;
4321
- }[];
4322
- links?: {
4323
- /**
4324
- * Format: uri-reference
4325
- * @example /product/deb10517653c255364175796ace3553f/children
4326
- */
4327
- related?: string;
4328
- };
4329
- };
4330
- cmsPage?: {
4331
- data?: {
4332
- /** @example 7b1460918b1abb93311108f3dc021c9b */
4333
- id?: string;
4334
- /** @example cms_page */
4335
- type?: string;
4336
- };
4337
- links?: {
4338
- /**
4339
- * Format: uri-reference
4340
- * @example /product/deb10517653c255364175796ace3553f/cmsPage
4341
- */
4342
- related?: string;
4343
- };
4344
- };
4345
- configuratorSettings?: {
4346
- data?: {
4347
- /** @example c0827fee13725d41f1fd7e292243f5aa */
4348
- id?: string;
4349
- /** @example product_configurator_setting */
4350
- type?: string;
4351
- }[];
4352
- links?: {
4353
- /**
4354
- * Format: uri-reference
4355
- * @example /product/deb10517653c255364175796ace3553f/configuratorSettings
4356
- */
4357
- related?: string;
4396
+ ProductJsonApi: unknown &
4397
+ components["schemas"]["resource"] & {
4398
+ active?: boolean;
4399
+ readonly available?: boolean;
4400
+ /** Format: int64 */
4401
+ readonly availableStock?: number;
4402
+ calculatedCheapestPrice?: GenericRecord;
4403
+ /**
4404
+ * Format: int64
4405
+ * Runtime field, cannot be used as part of the criteria.
4406
+ */
4407
+ calculatedMaxPurchase?: number;
4408
+ calculatedPrice?: GenericRecord;
4409
+ calculatedPrices?: GenericRecord[];
4410
+ canonicalProductId?: string;
4411
+ canonicalProductVersionId?: string;
4412
+ readonly categoryIds?: string[];
4413
+ readonly categoryTree?: string[];
4414
+ /** Format: int64 */
4415
+ readonly childCount?: number;
4416
+ cmsPageId?: string;
4417
+ cmsPageVersionId?: string;
4418
+ coverId?: string;
4419
+ /** Format: date-time */
4420
+ readonly createdAt?: string;
4421
+ customFields?: GenericRecord;
4422
+ deliveryTimeId?: string;
4423
+ description?: string;
4424
+ readonly displayGroup?: string;
4425
+ ean?: string;
4426
+ extensions?: {
4427
+ attendeeProductCollections?: {
4428
+ data?: {
4429
+ /** @example 0a7b3b2f4b81f36910a74f22826f35df */
4430
+ id?: string;
4431
+ /** @example dsr_attendee_product_collection */
4432
+ type?: string;
4433
+ }[];
4434
+ links?: {
4435
+ /**
4436
+ * Format: uri-reference
4437
+ * @example /product/deb10517653c255364175796ace3553f/attendeeProductCollections
4438
+ */
4439
+ related?: string;
4440
+ };
4358
4441
  };
4359
- };
4360
- cover?: {
4361
- data?: {
4362
- /** @example 41d0e299ca1abeb2094852da042165c7 */
4363
- id?: string;
4364
- /** @example product_media */
4365
- type?: string;
4442
+ reviewSummaries?: {
4443
+ data?: {
4444
+ /** @example c9c718522e64ffa5effb26cef94f4849 */
4445
+ id?: string;
4446
+ /** @example product_review_summary */
4447
+ type?: string;
4448
+ }[];
4449
+ links?: {
4450
+ /**
4451
+ * Format: uri-reference
4452
+ * @example /product/deb10517653c255364175796ace3553f/reviewSummaries
4453
+ */
4454
+ related?: string;
4455
+ };
4366
4456
  };
4367
- links?: {
4368
- /**
4369
- * Format: uri-reference
4370
- * @example /product/deb10517653c255364175796ace3553f/cover
4371
- */
4372
- related?: string;
4457
+ swagCustomizedProductsTemplate?: {
4458
+ data?: {
4459
+ /** @example 6e9fad30dd3cb84748a01bb8152f4769 */
4460
+ id?: string;
4461
+ /** @example swag_customized_products_template */
4462
+ type?: string;
4463
+ };
4464
+ links?: {
4465
+ /**
4466
+ * Format: uri-reference
4467
+ * @example /product/deb10517653c255364175796ace3553f/swagCustomizedProductsTemplate
4468
+ */
4469
+ related?: string;
4470
+ };
4373
4471
  };
4374
4472
  };
4375
- crossSellings?: {
4376
- data?: {
4377
- /** @example 89936e14544d1b403cecef938101b6b0 */
4378
- id?: string;
4379
- /** @example product_cross_selling */
4380
- type?: string;
4381
- }[];
4382
- links?: {
4383
- /**
4384
- * Format: uri-reference
4385
- * @example /product/deb10517653c255364175796ace3553f/crossSellings
4386
- */
4387
- related?: string;
4473
+ /** Format: float */
4474
+ height?: number;
4475
+ id: string;
4476
+ isCloseout?: boolean;
4477
+ /** Runtime field, cannot be used as part of the criteria. */
4478
+ isNew?: boolean;
4479
+ keywords?: string;
4480
+ /** Format: float */
4481
+ length?: number;
4482
+ manufacturerId?: string;
4483
+ manufacturerNumber?: string;
4484
+ markAsTopseller?: boolean;
4485
+ /** Format: int64 */
4486
+ maxPurchase?: number;
4487
+ measurements?: GenericRecord;
4488
+ metaDescription?: string;
4489
+ metaTitle?: string;
4490
+ /** Format: int64 */
4491
+ minPurchase?: number;
4492
+ name: string;
4493
+ readonly optionIds?: string[];
4494
+ packUnit?: string;
4495
+ packUnitPlural?: string;
4496
+ parentId?: string;
4497
+ parentVersionId?: string;
4498
+ productManufacturerVersionId?: string;
4499
+ productMediaVersionId?: string;
4500
+ productNumber: string;
4501
+ readonly propertyIds?: string[];
4502
+ /** Format: int64 */
4503
+ purchaseSteps?: number;
4504
+ /** Format: float */
4505
+ purchaseUnit?: number;
4506
+ /** Format: float */
4507
+ readonly ratingAverage?: number;
4508
+ /** Format: float */
4509
+ referenceUnit?: number;
4510
+ relationships?: {
4511
+ canonicalProduct?: {
4512
+ data?: {
4513
+ /** @example 023995a50b56c0de077323e958b2bbcd */
4514
+ id?: string;
4515
+ /** @example product */
4516
+ type?: string;
4517
+ };
4518
+ links?: {
4519
+ /**
4520
+ * Format: uri-reference
4521
+ * @example /product/deb10517653c255364175796ace3553f/canonicalProduct
4522
+ */
4523
+ related?: string;
4524
+ };
4388
4525
  };
4389
- };
4390
- deliveryTime?: {
4391
- data?: {
4392
- /** @example 8c888ae25a7bd42057370e31f7e01044 */
4393
- id?: string;
4394
- /** @example delivery_time */
4395
- type?: string;
4526
+ categories?: {
4527
+ data?: {
4528
+ /** @example b0b5ccb4a195a07fd3eed14affb8695f */
4529
+ id?: string;
4530
+ /** @example category */
4531
+ type?: string;
4532
+ }[];
4533
+ links?: {
4534
+ /**
4535
+ * Format: uri-reference
4536
+ * @example /product/deb10517653c255364175796ace3553f/categories
4537
+ */
4538
+ related?: string;
4539
+ };
4396
4540
  };
4397
- links?: {
4398
- /**
4399
- * Format: uri-reference
4400
- * @example /product/deb10517653c255364175796ace3553f/deliveryTime
4401
- */
4402
- related?: string;
4541
+ categoriesRo?: {
4542
+ data?: {
4543
+ /** @example 7f0702d3a90d965b8c9158c451f43fdb */
4544
+ id?: string;
4545
+ /** @example category */
4546
+ type?: string;
4547
+ }[];
4548
+ links?: {
4549
+ /**
4550
+ * Format: uri-reference
4551
+ * @example /product/deb10517653c255364175796ace3553f/categoriesRo
4552
+ */
4553
+ related?: string;
4554
+ };
4403
4555
  };
4404
- };
4405
- downloads?: {
4406
- data?: {
4407
- /** @example d07d50a751bc6ddf12bf3af0efee9b45 */
4408
- id?: string;
4409
- /** @example product_download */
4410
- type?: string;
4411
- }[];
4412
- links?: {
4413
- /**
4414
- * Format: uri-reference
4415
- * @example /product/deb10517653c255364175796ace3553f/downloads
4416
- */
4417
- related?: string;
4556
+ children?: {
4557
+ data?: {
4558
+ /** @example 268184c12df027f536154d099d497b31 */
4559
+ id?: string;
4560
+ /** @example product */
4561
+ type?: string;
4562
+ }[];
4563
+ links?: {
4564
+ /**
4565
+ * Format: uri-reference
4566
+ * @example /product/deb10517653c255364175796ace3553f/children
4567
+ */
4568
+ related?: string;
4569
+ };
4418
4570
  };
4419
- };
4420
- mainCategories?: {
4421
- data?: {
4422
- /** @example 1fb731fc4139cbb575429e28846f0c39 */
4423
- id?: string;
4424
- /** @example main_category */
4425
- type?: string;
4426
- }[];
4427
- links?: {
4428
- /**
4429
- * Format: uri-reference
4430
- * @example /product/deb10517653c255364175796ace3553f/mainCategories
4431
- */
4432
- related?: string;
4571
+ cmsPage?: {
4572
+ data?: {
4573
+ /** @example 7b1460918b1abb93311108f3dc021c9b */
4574
+ id?: string;
4575
+ /** @example cms_page */
4576
+ type?: string;
4577
+ };
4578
+ links?: {
4579
+ /**
4580
+ * Format: uri-reference
4581
+ * @example /product/deb10517653c255364175796ace3553f/cmsPage
4582
+ */
4583
+ related?: string;
4584
+ };
4433
4585
  };
4434
- };
4435
- manufacturer?: {
4436
- data?: {
4437
- /** @example c2904bca62b22443d6cf5e9d89cab204 */
4438
- id?: string;
4439
- /** @example product_manufacturer */
4440
- type?: string;
4586
+ configuratorSettings?: {
4587
+ data?: {
4588
+ /** @example c0827fee13725d41f1fd7e292243f5aa */
4589
+ id?: string;
4590
+ /** @example product_configurator_setting */
4591
+ type?: string;
4592
+ }[];
4593
+ links?: {
4594
+ /**
4595
+ * Format: uri-reference
4596
+ * @example /product/deb10517653c255364175796ace3553f/configuratorSettings
4597
+ */
4598
+ related?: string;
4599
+ };
4441
4600
  };
4442
- links?: {
4443
- /**
4444
- * Format: uri-reference
4445
- * @example /product/deb10517653c255364175796ace3553f/manufacturer
4446
- */
4447
- related?: string;
4601
+ cover?: {
4602
+ data?: {
4603
+ /** @example 41d0e299ca1abeb2094852da042165c7 */
4604
+ id?: string;
4605
+ /** @example product_media */
4606
+ type?: string;
4607
+ };
4608
+ links?: {
4609
+ /**
4610
+ * Format: uri-reference
4611
+ * @example /product/deb10517653c255364175796ace3553f/cover
4612
+ */
4613
+ related?: string;
4614
+ };
4448
4615
  };
4449
- };
4450
- media?: {
4451
- data?: {
4452
- /** @example 62933a2951ef01f4eafd9bdf4d3cd2f0 */
4453
- id?: string;
4454
- /** @example product_media */
4455
- type?: string;
4456
- }[];
4457
- links?: {
4458
- /**
4459
- * Format: uri-reference
4460
- * @example /product/deb10517653c255364175796ace3553f/media
4461
- */
4462
- related?: string;
4616
+ crossSellings?: {
4617
+ data?: {
4618
+ /** @example 89936e14544d1b403cecef938101b6b0 */
4619
+ id?: string;
4620
+ /** @example product_cross_selling */
4621
+ type?: string;
4622
+ }[];
4623
+ links?: {
4624
+ /**
4625
+ * Format: uri-reference
4626
+ * @example /product/deb10517653c255364175796ace3553f/crossSellings
4627
+ */
4628
+ related?: string;
4629
+ };
4463
4630
  };
4464
- };
4465
- options?: {
4466
- data?: {
4467
- /** @example 93da65a9fd0004d9477aeac024e08e15 */
4468
- id?: string;
4469
- /** @example property_group_option */
4470
- type?: string;
4471
- }[];
4472
- links?: {
4473
- /**
4474
- * Format: uri-reference
4475
- * @example /product/deb10517653c255364175796ace3553f/options
4476
- */
4477
- related?: string;
4631
+ deliveryTime?: {
4632
+ data?: {
4633
+ /** @example 8c888ae25a7bd42057370e31f7e01044 */
4634
+ id?: string;
4635
+ /** @example delivery_time */
4636
+ type?: string;
4637
+ };
4638
+ links?: {
4639
+ /**
4640
+ * Format: uri-reference
4641
+ * @example /product/deb10517653c255364175796ace3553f/deliveryTime
4642
+ */
4643
+ related?: string;
4644
+ };
4478
4645
  };
4479
- };
4480
- parent?: {
4481
- data?: {
4482
- /** @example d0e45878043844ffc41aac437e86b602 */
4483
- id?: string;
4484
- /** @example product */
4485
- type?: string;
4646
+ downloads?: {
4647
+ data?: {
4648
+ /** @example d07d50a751bc6ddf12bf3af0efee9b45 */
4649
+ id?: string;
4650
+ /** @example product_download */
4651
+ type?: string;
4652
+ }[];
4653
+ links?: {
4654
+ /**
4655
+ * Format: uri-reference
4656
+ * @example /product/deb10517653c255364175796ace3553f/downloads
4657
+ */
4658
+ related?: string;
4659
+ };
4486
4660
  };
4487
- links?: {
4488
- /**
4489
- * Format: uri-reference
4490
- * @example /product/deb10517653c255364175796ace3553f/parent
4491
- */
4492
- related?: string;
4661
+ mainCategories?: {
4662
+ data?: {
4663
+ /** @example 1fb731fc4139cbb575429e28846f0c39 */
4664
+ id?: string;
4665
+ /** @example main_category */
4666
+ type?: string;
4667
+ }[];
4668
+ links?: {
4669
+ /**
4670
+ * Format: uri-reference
4671
+ * @example /product/deb10517653c255364175796ace3553f/mainCategories
4672
+ */
4673
+ related?: string;
4674
+ };
4493
4675
  };
4494
- };
4495
- productReviews?: {
4496
- data?: {
4497
- /** @example 01e78541ea343ed72424a5222796a4cd */
4498
- id?: string;
4499
- /** @example product_review */
4500
- type?: string;
4501
- }[];
4502
- links?: {
4503
- /**
4504
- * Format: uri-reference
4505
- * @example /product/deb10517653c255364175796ace3553f/productReviews
4506
- */
4507
- related?: string;
4676
+ manufacturer?: {
4677
+ data?: {
4678
+ /** @example c2904bca62b22443d6cf5e9d89cab204 */
4679
+ id?: string;
4680
+ /** @example product_manufacturer */
4681
+ type?: string;
4682
+ };
4683
+ links?: {
4684
+ /**
4685
+ * Format: uri-reference
4686
+ * @example /product/deb10517653c255364175796ace3553f/manufacturer
4687
+ */
4688
+ related?: string;
4689
+ };
4508
4690
  };
4509
- };
4510
- properties?: {
4511
- data?: {
4512
- /** @example 74693d2fc58b46bd06410f278e39aa71 */
4513
- id?: string;
4514
- /** @example property_group_option */
4515
- type?: string;
4516
- }[];
4517
- links?: {
4518
- /**
4519
- * Format: uri-reference
4520
- * @example /product/deb10517653c255364175796ace3553f/properties
4521
- */
4522
- related?: string;
4691
+ media?: {
4692
+ data?: {
4693
+ /** @example 62933a2951ef01f4eafd9bdf4d3cd2f0 */
4694
+ id?: string;
4695
+ /** @example product_media */
4696
+ type?: string;
4697
+ }[];
4698
+ links?: {
4699
+ /**
4700
+ * Format: uri-reference
4701
+ * @example /product/deb10517653c255364175796ace3553f/media
4702
+ */
4703
+ related?: string;
4704
+ };
4523
4705
  };
4524
- };
4525
- seoCategory?: {
4526
- data?: {
4527
- /** @example 9354d004d12e03d35ad8292bf0bb234d */
4528
- id?: string;
4529
- /** @example category */
4530
- type?: string;
4706
+ options?: {
4707
+ data?: {
4708
+ /** @example 93da65a9fd0004d9477aeac024e08e15 */
4709
+ id?: string;
4710
+ /** @example property_group_option */
4711
+ type?: string;
4712
+ }[];
4713
+ links?: {
4714
+ /**
4715
+ * Format: uri-reference
4716
+ * @example /product/deb10517653c255364175796ace3553f/options
4717
+ */
4718
+ related?: string;
4719
+ };
4531
4720
  };
4532
- links?: {
4533
- /**
4534
- * Format: uri-reference
4535
- * @example /product/deb10517653c255364175796ace3553f/seoCategory
4536
- */
4537
- related?: string;
4721
+ parent?: {
4722
+ data?: {
4723
+ /** @example d0e45878043844ffc41aac437e86b602 */
4724
+ id?: string;
4725
+ /** @example product */
4726
+ type?: string;
4727
+ };
4728
+ links?: {
4729
+ /**
4730
+ * Format: uri-reference
4731
+ * @example /product/deb10517653c255364175796ace3553f/parent
4732
+ */
4733
+ related?: string;
4734
+ };
4538
4735
  };
4539
- };
4540
- seoUrls?: {
4541
- data?: {
4542
- /** @example 5321b5a71127b8b98cdd4b068ad56c4c */
4543
- id?: string;
4544
- /** @example seo_url */
4545
- type?: string;
4546
- }[];
4547
- links?: {
4548
- /**
4549
- * Format: uri-reference
4550
- * @example /product/deb10517653c255364175796ace3553f/seoUrls
4551
- */
4552
- related?: string;
4736
+ productReviews?: {
4737
+ data?: {
4738
+ /** @example 01e78541ea343ed72424a5222796a4cd */
4739
+ id?: string;
4740
+ /** @example product_review */
4741
+ type?: string;
4742
+ }[];
4743
+ links?: {
4744
+ /**
4745
+ * Format: uri-reference
4746
+ * @example /product/deb10517653c255364175796ace3553f/productReviews
4747
+ */
4748
+ related?: string;
4749
+ };
4553
4750
  };
4554
- };
4555
- streams?: {
4556
- data?: {
4557
- /** @example 2f6f4768f1c2d7c8f1f54823723f1a70 */
4558
- id?: string;
4559
- /** @example product_stream */
4560
- type?: string;
4561
- }[];
4562
- links?: {
4563
- /**
4564
- * Format: uri-reference
4565
- * @example /product/deb10517653c255364175796ace3553f/streams
4566
- */
4567
- related?: string;
4751
+ properties?: {
4752
+ data?: {
4753
+ /** @example 74693d2fc58b46bd06410f278e39aa71 */
4754
+ id?: string;
4755
+ /** @example property_group_option */
4756
+ type?: string;
4757
+ }[];
4758
+ links?: {
4759
+ /**
4760
+ * Format: uri-reference
4761
+ * @example /product/deb10517653c255364175796ace3553f/properties
4762
+ */
4763
+ related?: string;
4764
+ };
4568
4765
  };
4569
- };
4570
- tags?: {
4571
- data?: {
4572
- /** @example d57ac45256849d9b13e2422d91580fb9 */
4573
- id?: string;
4574
- /** @example tag */
4575
- type?: string;
4576
- }[];
4577
- links?: {
4578
- /**
4579
- * Format: uri-reference
4580
- * @example /product/deb10517653c255364175796ace3553f/tags
4581
- */
4582
- related?: string;
4766
+ seoCategory?: {
4767
+ data?: {
4768
+ /** @example 9354d004d12e03d35ad8292bf0bb234d */
4769
+ id?: string;
4770
+ /** @example category */
4771
+ type?: string;
4772
+ };
4773
+ links?: {
4774
+ /**
4775
+ * Format: uri-reference
4776
+ * @example /product/deb10517653c255364175796ace3553f/seoCategory
4777
+ */
4778
+ related?: string;
4779
+ };
4583
4780
  };
4584
- };
4585
- tax?: {
4586
- data?: {
4587
- /** @example 06565e5611f23fdf8cc43e5077b92b54 */
4588
- id?: string;
4589
- /** @example tax */
4590
- type?: string;
4781
+ seoUrls?: {
4782
+ data?: {
4783
+ /** @example 5321b5a71127b8b98cdd4b068ad56c4c */
4784
+ id?: string;
4785
+ /** @example seo_url */
4786
+ type?: string;
4787
+ }[];
4788
+ links?: {
4789
+ /**
4790
+ * Format: uri-reference
4791
+ * @example /product/deb10517653c255364175796ace3553f/seoUrls
4792
+ */
4793
+ related?: string;
4794
+ };
4591
4795
  };
4592
- links?: {
4593
- /**
4594
- * Format: uri-reference
4595
- * @example /product/deb10517653c255364175796ace3553f/tax
4596
- */
4597
- related?: string;
4796
+ streams?: {
4797
+ data?: {
4798
+ /** @example 2f6f4768f1c2d7c8f1f54823723f1a70 */
4799
+ id?: string;
4800
+ /** @example product_stream */
4801
+ type?: string;
4802
+ }[];
4803
+ links?: {
4804
+ /**
4805
+ * Format: uri-reference
4806
+ * @example /product/deb10517653c255364175796ace3553f/streams
4807
+ */
4808
+ related?: string;
4809
+ };
4598
4810
  };
4599
- };
4600
- unit?: {
4601
- data?: {
4602
- /** @example 3e34bdebd9bd5edda27e8728904a2552 */
4603
- id?: string;
4604
- /** @example unit */
4605
- type?: string;
4811
+ tags?: {
4812
+ data?: {
4813
+ /** @example d57ac45256849d9b13e2422d91580fb9 */
4814
+ id?: string;
4815
+ /** @example tag */
4816
+ type?: string;
4817
+ }[];
4818
+ links?: {
4819
+ /**
4820
+ * Format: uri-reference
4821
+ * @example /product/deb10517653c255364175796ace3553f/tags
4822
+ */
4823
+ related?: string;
4824
+ };
4606
4825
  };
4607
- links?: {
4608
- /**
4609
- * Format: uri-reference
4610
- * @example /product/deb10517653c255364175796ace3553f/unit
4611
- */
4612
- related?: string;
4826
+ tax?: {
4827
+ data?: {
4828
+ /** @example 06565e5611f23fdf8cc43e5077b92b54 */
4829
+ id?: string;
4830
+ /** @example tax */
4831
+ type?: string;
4832
+ };
4833
+ links?: {
4834
+ /**
4835
+ * Format: uri-reference
4836
+ * @example /product/deb10517653c255364175796ace3553f/tax
4837
+ */
4838
+ related?: string;
4839
+ };
4840
+ };
4841
+ unit?: {
4842
+ data?: {
4843
+ /** @example 3e34bdebd9bd5edda27e8728904a2552 */
4844
+ id?: string;
4845
+ /** @example unit */
4846
+ type?: string;
4847
+ };
4848
+ links?: {
4849
+ /**
4850
+ * Format: uri-reference
4851
+ * @example /product/deb10517653c255364175796ace3553f/unit
4852
+ */
4853
+ related?: string;
4854
+ };
4613
4855
  };
4614
4856
  };
4615
- };
4616
- /** Format: date-time */
4617
- releaseDate?: string;
4618
- /** Format: int64 */
4619
- restockTime?: number;
4620
- /** Format: int64 */
4621
- readonly sales?: number;
4622
- shippingFree?: boolean;
4623
- sortedProperties?: GenericRecord;
4624
- readonly states?: string[];
4625
- /** Format: int64 */
4626
- stock: number;
4627
- readonly streamIds?: string[];
4628
- readonly tagIds?: string[];
4629
- taxId: string;
4630
- translated: {
4631
- canonicalProductId: string;
4632
- canonicalProductVersionId: string;
4633
- cmsPageId: string;
4634
- cmsPageVersionId: string;
4635
- coverId: string;
4636
- deliveryTimeId: string;
4637
- description: string;
4638
- displayGroup: string;
4639
- ean: string;
4640
- keywords: string;
4641
- manufacturerId: string;
4642
- manufacturerNumber: string;
4643
- metaDescription: string;
4644
- metaTitle: string;
4645
- name: string;
4646
- packUnit: string;
4647
- packUnitPlural: string;
4648
- parentId: string;
4649
- parentVersionId: string;
4650
- productManufacturerVersionId: string;
4651
- productMediaVersionId: string;
4652
- productNumber: string;
4653
- releaseDate: string;
4857
+ /** Format: date-time */
4858
+ releaseDate?: string;
4859
+ /** Format: int64 */
4860
+ restockTime?: number;
4861
+ /** Format: int64 */
4862
+ readonly sales?: number;
4863
+ shippingFree?: boolean;
4864
+ sortedProperties?: GenericRecord;
4865
+ readonly states?: string[];
4866
+ /** Format: int64 */
4867
+ stock: number;
4868
+ readonly streamIds?: string[];
4869
+ readonly tagIds?: string[];
4654
4870
  taxId: string;
4655
- unitId: string;
4656
- versionId: string;
4657
- };
4658
- unitId?: string;
4659
- /** Format: date-time */
4660
- readonly updatedAt?: string;
4661
- versionId?: string;
4662
- /** Format: float */
4663
- weight?: number;
4664
- /** Format: float */
4665
- width?: number;
4666
- } & components["schemas"]["DiscountLineItemPayload"] & {
4871
+ translated: {
4872
+ canonicalProductId: string;
4873
+ canonicalProductVersionId: string;
4874
+ cmsPageId: string;
4875
+ cmsPageVersionId: string;
4876
+ coverId: string;
4877
+ deliveryTimeId: string;
4878
+ description: string;
4879
+ displayGroup: string;
4880
+ ean: string;
4881
+ keywords: string;
4882
+ manufacturerId: string;
4883
+ manufacturerNumber: string;
4884
+ metaDescription: string;
4885
+ metaTitle: string;
4886
+ name: string;
4887
+ packUnit: string;
4888
+ packUnitPlural: string;
4889
+ parentId: string;
4890
+ parentVersionId: string;
4891
+ productManufacturerVersionId: string;
4892
+ productMediaVersionId: string;
4893
+ productNumber: string;
4894
+ releaseDate: string;
4895
+ taxId: string;
4896
+ unitId: string;
4897
+ versionId: string;
4898
+ };
4899
+ unitId?: string;
4900
+ /** Format: date-time */
4901
+ readonly updatedAt?: string;
4902
+ versionId?: string;
4903
+ /** Format: float */
4904
+ weight?: number;
4905
+ /** Format: float */
4906
+ width?: number;
4907
+ } & components["schemas"]["DiscountLineItemPayload"] & {
4667
4908
  options: {
4668
4909
  group: string;
4669
4910
  option: string;
@@ -4756,8 +4997,7 @@ export type Schemas = {
4756
4997
  label: string;
4757
4998
  priority: number;
4758
4999
  translated: {
4759
- apiAlias?: string;
4760
- key?: string;
5000
+ key: string;
4761
5001
  label: string;
4762
5002
  };
4763
5003
  }[];
@@ -4772,8 +5012,8 @@ export type Schemas = {
4772
5012
  min: number;
4773
5013
  };
4774
5014
  properties: string[];
4775
- rating?: number; // TODO: [OpenAPI][ProductListingResult] - rating should be defined the same as in body of the request
4776
- search: string; // TODO: [OpenAPI][ProductListingResult] - search should be required as is required in body of the request, otherwise everywhere optional
5015
+ rating: number | null;
5016
+ search?: string;
4777
5017
  /** @default false */
4778
5018
  "shipping-free": boolean;
4779
5019
  };
@@ -4803,6 +5043,40 @@ export type Schemas = {
4803
5043
  readonly updatedAt?: string;
4804
5044
  versionId?: string;
4805
5045
  };
5046
+ ProductMeasurements: {
5047
+ height?: {
5048
+ /**
5049
+ * @default mm
5050
+ * @enum {string}
5051
+ */
5052
+ unit?: "mm" | "cm" | "m" | "in" | "ft";
5053
+ value?: number;
5054
+ };
5055
+ length?: {
5056
+ /**
5057
+ * @default mm
5058
+ * @enum {string}
5059
+ */
5060
+ unit?: "mm" | "cm" | "m" | "in" | "ft";
5061
+ value?: number;
5062
+ };
5063
+ weight?: {
5064
+ /**
5065
+ * @default kg
5066
+ * @enum {string}
5067
+ */
5068
+ unit?: "g" | "kg" | "oz" | "lb";
5069
+ value?: number;
5070
+ };
5071
+ width?: {
5072
+ /**
5073
+ * @default mm
5074
+ * @enum {string}
5075
+ */
5076
+ unit?: "mm" | "cm" | "m" | "in" | "ft";
5077
+ value?: number;
5078
+ };
5079
+ };
4806
5080
  ProductMedia: {
4807
5081
  /** Format: date-time */
4808
5082
  readonly createdAt?: string;
@@ -4814,7 +5088,6 @@ export type Schemas = {
4814
5088
  position?: number;
4815
5089
  productId: string;
4816
5090
  productVersionId?: string;
4817
- thumbnails?: components["schemas"]["MediaThumbnail"][];
4818
5091
  /** Format: date-time */
4819
5092
  readonly updatedAt?: string;
4820
5093
  versionId?: string;
@@ -4841,13 +5114,12 @@ export type Schemas = {
4841
5114
  content: string;
4842
5115
  /** Format: date-time */
4843
5116
  readonly createdAt?: string;
4844
- customerId?: string;
4845
5117
  customFields?: GenericRecord;
4846
5118
  externalUser?: string;
4847
5119
  id: string;
4848
5120
  languageId: string;
4849
5121
  /** Format: float */
4850
- points: number;
5122
+ points?: number;
4851
5123
  productId: string;
4852
5124
  productVersionId?: string;
4853
5125
  salesChannelId: string;
@@ -5013,6 +5285,8 @@ export type Schemas = {
5013
5285
  };
5014
5286
  PropertyGroupOption: {
5015
5287
  colorHexCode?: string;
5288
+ /** Runtime field, cannot be used as part of the criteria. */
5289
+ combinable?: boolean;
5016
5290
  /** Format: date-time */
5017
5291
  readonly createdAt?: string;
5018
5292
  customFields?: GenericRecord;
@@ -5067,13 +5341,30 @@ export type Schemas = {
5067
5341
  documents?: components["schemas"]["QuoteDocument"][];
5068
5342
  /** Format: date-time */
5069
5343
  expirationDate?: string;
5344
+ extensions?: {
5345
+ organization?: {
5346
+ data?: {
5347
+ /** @example b4c1948c087fafc89a88450fcbb64c77 */
5348
+ id?: string;
5349
+ /** @example b2b_components_organization */
5350
+ type?: string;
5351
+ };
5352
+ links?: {
5353
+ /**
5354
+ * Format: uri-reference
5355
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/organization
5356
+ */
5357
+ related?: string;
5358
+ };
5359
+ };
5360
+ };
5070
5361
  id: string;
5071
5362
  language?: components["schemas"]["Language"];
5072
5363
  languageId: string;
5073
5364
  lineItems?: components["schemas"]["QuoteLineItem"][];
5074
5365
  orderId?: string;
5075
5366
  orderVersionId?: string;
5076
- price: {
5367
+ price?: {
5077
5368
  calculatedTaxes?: GenericRecord;
5078
5369
  /** Format: float */
5079
5370
  netPrice: number;
@@ -5114,7 +5405,7 @@ export type Schemas = {
5114
5405
  unitPrice: number;
5115
5406
  };
5116
5407
  stateId: string;
5117
- stateMachineState: components["schemas"]["StateMachineState"];
5408
+ stateMachineState?: components["schemas"]["StateMachineState"];
5118
5409
  /** Format: float */
5119
5410
  subtotalNet?: number;
5120
5411
  readonly taxStatus?: string;
@@ -5134,6 +5425,8 @@ export type Schemas = {
5134
5425
  createdById?: string;
5135
5426
  customer?: components["schemas"]["Customer"];
5136
5427
  customerId?: string;
5428
+ employee?: components["schemas"]["B2bEmployee"];
5429
+ employeeId?: string;
5137
5430
  id: string;
5138
5431
  quoteId: string;
5139
5432
  quoteVersionId?: string;
@@ -5235,6 +5528,8 @@ export type Schemas = {
5235
5528
  readonly createdAt?: string;
5236
5529
  customFields?: GenericRecord;
5237
5530
  deepLinkCode: string;
5531
+ documentA11yMediaFile?: components["schemas"]["Media"];
5532
+ documentA11yMediaFileId?: string;
5238
5533
  documentMediaFile?: components["schemas"]["Media"];
5239
5534
  documentMediaFileId?: string;
5240
5535
  documentNumber?: string;
@@ -5278,6 +5573,23 @@ export type Schemas = {
5278
5573
  };
5279
5574
  /** Format: date-time */
5280
5575
  expirationDate?: string;
5576
+ extensions?: {
5577
+ organization?: {
5578
+ data?: {
5579
+ /** @example b4c1948c087fafc89a88450fcbb64c77 */
5580
+ id?: string;
5581
+ /** @example b2b_components_organization */
5582
+ type?: string;
5583
+ };
5584
+ links?: {
5585
+ /**
5586
+ * Format: uri-reference
5587
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/organization
5588
+ */
5589
+ related?: string;
5590
+ };
5591
+ };
5592
+ };
5281
5593
  id: string;
5282
5594
  languageId: string;
5283
5595
  orderId?: string;
@@ -5563,7 +5875,6 @@ export type Schemas = {
5563
5875
  price?: number;
5564
5876
  } | null;
5565
5877
  unitName: string;
5566
- /** Format: ^[0-9a-f]{32}$ */
5567
5878
  variantId?: string | null;
5568
5879
  };
5569
5880
  Rule: {
@@ -5666,6 +5977,7 @@ export type Schemas = {
5666
5977
  languageId: string;
5667
5978
  mailHeaderFooterId?: string;
5668
5979
  maintenance?: boolean;
5980
+ measurementUnits?: components["schemas"]["MeasurementUnits"];
5669
5981
  name: string;
5670
5982
  navigationCategory?: components["schemas"]["Category"];
5671
5983
  /** Format: int64 */
@@ -5721,7 +6033,11 @@ export type Schemas = {
5721
6033
  currencyPrecision?: number;
5722
6034
  languageIdChain?: string[];
5723
6035
  scope?: string;
5724
- source?: string;
6036
+ source?: {
6037
+ salesChannelId: string;
6038
+ /** @enum {string} */
6039
+ type: "sales-channel" | "shop-api";
6040
+ };
5725
6041
  taxState?: string;
5726
6042
  useCache?: boolean;
5727
6043
  versionId?: string;
@@ -5732,16 +6048,26 @@ export type Schemas = {
5732
6048
  displayGross?: boolean;
5733
6049
  name?: string;
5734
6050
  };
5735
- customer?: components["schemas"]["Customer"];
6051
+ customer?: null | components["schemas"]["Customer"];
5736
6052
  /** Fallback group if the default customer group is not applicable */
5737
6053
  fallbackCustomerGroup?: {
5738
6054
  displayGross?: boolean;
5739
6055
  name?: string;
5740
6056
  };
6057
+ itemRounding: {
6058
+ /** @enum {string} */
6059
+ apiAlias: "shopware_core_framework_data_abstraction_layer_pricing_cash_rounding_config";
6060
+ /** Format: int32 */
6061
+ decimals: number;
6062
+ /** Format: float */
6063
+ interval: number;
6064
+ roundForNet: boolean;
6065
+ };
5741
6066
  languageInfo: {
5742
6067
  localeCode: string;
5743
6068
  name: string;
5744
6069
  };
6070
+ measurementSystem?: components["schemas"]["ContextMeasurementSystemInfo"];
5745
6071
  paymentMethod?: components["schemas"]["PaymentMethod"];
5746
6072
  salesChannel: components["schemas"]["SalesChannel"];
5747
6073
  shippingLocation?: {
@@ -5759,6 +6085,15 @@ export type Schemas = {
5759
6085
  }[];
5760
6086
  /** Context the user session */
5761
6087
  token?: string;
6088
+ totalRounding: {
6089
+ /** @enum {string} */
6090
+ apiAlias: "shopware_core_framework_data_abstraction_layer_pricing_cash_rounding_config";
6091
+ /** Format: int32 */
6092
+ decimals: number;
6093
+ /** Format: float */
6094
+ interval: number;
6095
+ roundForNet: boolean;
6096
+ };
5762
6097
  };
5763
6098
  SalesChannelDomain: {
5764
6099
  /** Format: date-time */
@@ -5770,6 +6105,7 @@ export type Schemas = {
5770
6105
  id: string;
5771
6106
  language?: components["schemas"]["Language"];
5772
6107
  languageId: string;
6108
+ measurementUnits?: components["schemas"]["MeasurementUnits"];
5773
6109
  salesChannelDefaultHreflang?: components["schemas"]["SalesChannel"];
5774
6110
  salesChannelId: string;
5775
6111
  snippetSetId: string;
@@ -5925,7 +6261,7 @@ export type Schemas = {
5925
6261
  tags?: components["schemas"]["Tag"][];
5926
6262
  tax?: components["schemas"]["Tax"];
5927
6263
  taxType?: string;
5928
- technicalName?: string;
6264
+ technicalName: string;
5929
6265
  trackingUrl?: string;
5930
6266
  translated: {
5931
6267
  deliveryTimeId: string;
@@ -6044,7 +6380,7 @@ export type Schemas = {
6044
6380
  };
6045
6381
  };
6046
6382
  taxType?: string;
6047
- technicalName?: string;
6383
+ technicalName: string;
6048
6384
  trackingUrl?: string;
6049
6385
  translated: {
6050
6386
  deliveryTimeId: string;
@@ -6311,8 +6647,6 @@ export type Schemas = {
6311
6647
  accessibleTo?: string | null;
6312
6648
  /** @default false */
6313
6649
  allowScreenSharing?: boolean;
6314
- /** @default false */
6315
- allowUserActionsForGuide?: boolean;
6316
6650
  /** @enum {string} */
6317
6651
  appointmentMode?: "guided" | "self";
6318
6652
  attendeeRestrictionType?: ("open" | "customer" | "rules") | null;
@@ -6420,6 +6754,11 @@ export type Schemas = {
6420
6754
  currencyId: string;
6421
6755
  customFields?: GenericRecord;
6422
6756
  dateInterval: string;
6757
+ /**
6758
+ * Format: date-time
6759
+ * Runtime field, cannot be used as part of the criteria.
6760
+ */
6761
+ followingNextSchedule: string;
6423
6762
  id: string;
6424
6763
  /** Format: int64 */
6425
6764
  initialExecutionCount?: number;
@@ -7583,8 +7922,6 @@ export type Schemas = {
7583
7922
  UpdateAttendeeRequestBody: {
7584
7923
  /** Name of the attendee */
7585
7924
  attendeeName?: string;
7586
- /** The permission for guide cart actions */
7587
- guideCartPermissionsGranted?: boolean;
7588
7925
  /** Id of the attendee in the video chat tool */
7589
7926
  videoUserId?: string;
7590
7927
  };
@@ -7752,56 +8089,38 @@ export type Schemas = {
7752
8089
  */
7753
8090
  prev?: string;
7754
8091
  };
7755
- relationshipLinks: {
7756
- related?: components["schemas"]["link"];
7757
- self?: GenericRecord[] & components["schemas"]["link"];
7758
- } & {
7759
- [key: string]: unknown;
7760
- };
7761
- relationshipToMany: components["schemas"]["linkage"][];
7762
- relationshipToOne: unknown & components["schemas"]["linkage"];
7763
- relationships:
7764
- | unknown
7765
- | unknown
7766
- | unknown
7767
- | {
7768
- /** Member, whose value represents "resource linkage". */
7769
- data?:
7770
- | components["schemas"]["relationshipToOne"]
7771
- | components["schemas"]["relationshipToMany"];
7772
- links?: components["schemas"]["relationshipLinks"];
7773
- };
7774
- resource: {
7775
- attributes?: components["schemas"]["attributes"];
7776
- id: string;
7777
- links?: components["schemas"]["links"];
7778
- meta?: components["schemas"]["meta"];
7779
- relationships?: components["schemas"]["relationships"];
7780
- type: string;
7781
- };
7782
- success: {
7783
- data: components["schemas"]["data"];
7784
- /** To reduce the number of HTTP requests, servers **MAY** allow responses that include related resources along with the requested primary resources. Such responses are called "compound documents". */
7785
- included?: components["schemas"]["resource"][];
7786
- /** Link members related to the primary data. */
7787
- links?: components["schemas"]["links"] &
7788
- components["schemas"]["pagination"];
7789
- meta?: components["schemas"]["meta"];
8092
+ paypal_error: {
8093
+ debug_id: string | null;
8094
+ details: components["schemas"]["paypal_error_detail"][] | null;
8095
+ /** Only set if OAuth error occurs */
8096
+ error: string | null;
8097
+ /** Only set if OAuth error occurs */
8098
+ error_description: string | null;
8099
+ links: components["schemas"]["paypal_v1_common_link"][] | null;
8100
+ message: string | null;
8101
+ name: string | null;
8102
+ };
8103
+ paypal_error_detail: {
8104
+ description: string;
8105
+ field: string;
8106
+ issue: string;
8107
+ location: string;
8108
+ value: string;
7790
8109
  };
7791
- swag_paypal_v1_capture: {
7792
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8110
+ paypal_v1_capture: {
8111
+ amount: components["schemas"]["paypal_v1_common_amount"];
7793
8112
  create_time: string;
7794
8113
  id: string;
7795
8114
  is_final_capture: boolean;
7796
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8115
+ links: components["schemas"]["paypal_v1_common_link"][];
7797
8116
  parent_payment: string;
7798
8117
  reason_code: string;
7799
8118
  state: string;
7800
- transaction_fee: components["schemas"]["swag_paypal_v1_capture_transaction_fee"];
8119
+ transaction_fee: components["schemas"]["paypal_v1_capture_transaction_fee"];
7801
8120
  update_time: string;
7802
8121
  };
7803
- swag_paypal_v1_capture_transaction_fee: components["schemas"]["swag_paypal_v1_common_value"];
7804
- swag_paypal_v1_client_token: {
8122
+ paypal_v1_capture_transaction_fee: components["schemas"]["paypal_v1_common_value"];
8123
+ paypal_v1_client_token: {
7805
8124
  client_token: string;
7806
8125
  /**
7807
8126
  * Format: date-time
@@ -7811,21 +8130,21 @@ export type Schemas = {
7811
8130
  /** The lifetime of the access token, in seconds. */
7812
8131
  expires_in: number;
7813
8132
  };
7814
- swag_paypal_v1_common_address: {
8133
+ paypal_v1_common_address: {
7815
8134
  city: string;
7816
8135
  country_code: string;
7817
- line1: string;
7818
- line2: string | null;
8136
+ line_1: string;
8137
+ line_2: string | null;
7819
8138
  phone: string | null;
7820
8139
  postal_code: string;
7821
8140
  state: string | null;
7822
8141
  };
7823
- swag_paypal_v1_common_amount: {
8142
+ paypal_v1_common_amount: {
7824
8143
  currency: string;
7825
- details: components["schemas"]["swag_paypal_v1_common_details"];
8144
+ details: components["schemas"]["paypal_v1_common_details"];
7826
8145
  total: string;
7827
8146
  };
7828
- swag_paypal_v1_common_details: {
8147
+ paypal_v1_common_details: {
7829
8148
  discount: string;
7830
8149
  handling_fee: string;
7831
8150
  insurance: string;
@@ -7834,36 +8153,29 @@ export type Schemas = {
7834
8153
  subtotal: string;
7835
8154
  tax: string;
7836
8155
  };
7837
- swag_paypal_v1_common_link: {
8156
+ paypal_v1_common_link: {
7838
8157
  enc_type: string | null;
7839
8158
  href: string;
7840
8159
  method: string;
7841
8160
  rel: string;
7842
8161
  };
7843
- swag_paypal_v1_common_money: {
8162
+ paypal_v1_common_money: {
7844
8163
  currency_code: string;
7845
8164
  value: string;
7846
8165
  };
7847
- swag_paypal_v1_common_value: {
7848
- currency: string;
7849
- value: string;
7850
- };
7851
- swag_paypal_v1_create_webhooks: {
7852
- event_types: components["schemas"]["swag_paypal_v1_create_webhooks_event_type"][];
7853
- url: string;
7854
- };
7855
- swag_paypal_v1_create_webhooks_event_type: {
7856
- name: string;
8166
+ paypal_v1_common_value: {
8167
+ currency: string;
8168
+ value: string;
7857
8169
  };
7858
- swag_paypal_v1_disputes: {
7859
- items: components["schemas"]["swag_paypal_v1_disputes_item"][] | null;
7860
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8170
+ paypal_v1_disputes: {
8171
+ items: components["schemas"]["paypal_v1_disputes_item"][] | null;
8172
+ links: components["schemas"]["paypal_v1_common_link"][];
7861
8173
  };
7862
- swag_paypal_v1_disputes_common_buyer: {
8174
+ paypal_v1_disputes_common_buyer: {
7863
8175
  name: string;
7864
8176
  };
7865
- swag_paypal_v1_disputes_common_item: {
7866
- dispute_amount: components["schemas"]["swag_paypal_v1_common_money"];
8177
+ paypal_v1_disputes_common_item: {
8178
+ dispute_amount: components["schemas"]["paypal_v1_common_money"];
7867
8179
  item_description: string;
7868
8180
  item_id: string;
7869
8181
  item_quantity: string;
@@ -7871,61 +8183,61 @@ export type Schemas = {
7871
8183
  partner_transaction_id: string;
7872
8184
  reason: string;
7873
8185
  };
7874
- swag_paypal_v1_disputes_common_product_details: {
8186
+ paypal_v1_disputes_common_product_details: {
7875
8187
  product_received: string;
7876
8188
  product_received_time: string;
7877
8189
  purchase_url: string;
7878
- return_details: components["schemas"]["swag_paypal_v1_disputes_common_return_details"];
7879
- sub_reasons: components["schemas"]["swag_paypal_v1_disputes_common_sub_reason"][];
8190
+ return_details: components["schemas"]["paypal_v1_disputes_common_return_details"];
8191
+ sub_reasons: components["schemas"]["paypal_v1_disputes_common_sub_reason"][];
7880
8192
  };
7881
- swag_paypal_v1_disputes_common_return_details: {
8193
+ paypal_v1_disputes_common_return_details: {
7882
8194
  mode: string;
7883
8195
  receipt: boolean;
7884
8196
  return_confirmation_number: string;
7885
8197
  return_time: string;
7886
8198
  returned: boolean;
7887
8199
  };
7888
- swag_paypal_v1_disputes_common_seller: {
8200
+ paypal_v1_disputes_common_seller: {
7889
8201
  email: string;
7890
8202
  merchant_id: string;
7891
8203
  name: string;
7892
8204
  };
7893
- swag_paypal_v1_disputes_common_service_details: {
8205
+ paypal_v1_disputes_common_service_details: {
7894
8206
  description: string;
7895
8207
  note: string;
7896
8208
  purchase_url: string;
7897
8209
  service_started: string;
7898
- sub_reasons: components["schemas"]["swag_paypal_v1_disputes_common_sub_reason"][];
8210
+ sub_reasons: components["schemas"]["paypal_v1_disputes_common_sub_reason"][];
7899
8211
  };
7900
- swag_paypal_v1_disputes_common_sub_reason: {
8212
+ paypal_v1_disputes_common_sub_reason: {
7901
8213
  sub_reason: string;
7902
8214
  };
7903
- swag_paypal_v1_disputes_common_transaction: {
7904
- buyer: components["schemas"]["swag_paypal_v1_disputes_common_buyer"];
8215
+ paypal_v1_disputes_common_transaction: {
8216
+ buyer: components["schemas"]["paypal_v1_disputes_common_buyer"];
7905
8217
  buyer_transaction_id: string;
7906
8218
  create_time: string;
7907
8219
  custom: string;
7908
- gross_amount: components["schemas"]["swag_paypal_v1_common_money"];
8220
+ gross_amount: components["schemas"]["paypal_v1_common_money"];
7909
8221
  invoice_number: string;
7910
- items: components["schemas"]["swag_paypal_v1_disputes_common_item"][];
8222
+ items: components["schemas"]["paypal_v1_disputes_common_item"][];
7911
8223
  reference_id: string;
7912
- seller: components["schemas"]["swag_paypal_v1_disputes_common_seller"];
8224
+ seller: components["schemas"]["paypal_v1_disputes_common_seller"];
7913
8225
  seller_transaction_id: string;
7914
8226
  transaction_status: string;
7915
8227
  };
7916
- swag_paypal_v1_disputes_item: {
7917
- adjudications: components["schemas"]["swag_paypal_v1_disputes_item_adjudication"][];
8228
+ paypal_v1_disputes_item: {
8229
+ adjudications: components["schemas"]["paypal_v1_disputes_item_adjudication"][];
7918
8230
  buyer_response_due_date: string | null;
7919
8231
  communication_details:
7920
- | components["schemas"]["swag_paypal_v1_disputes_item_communication_details"]
8232
+ | components["schemas"]["paypal_v1_disputes_item_communication_details"]
7921
8233
  | null;
7922
8234
  create_time: string;
7923
- dispute_amount: components["schemas"]["swag_paypal_v1_disputes_item_dispute_amount"];
8235
+ dispute_amount: components["schemas"]["paypal_v1_disputes_item_dispute_amount"];
7924
8236
  dispute_channel: string | null;
7925
8237
  dispute_id: string;
7926
8238
  dispute_life_cycle_stage: string;
7927
8239
  dispute_outcome:
7928
- | components["schemas"]["swag_paypal_v1_disputes_item_dispute_outcome"]
8240
+ | components["schemas"]["paypal_v1_disputes_item_dispute_outcome"]
7929
8241
  | null;
7930
8242
  /** @enum {string|null} */
7931
8243
  dispute_state:
@@ -7937,161 +8249,159 @@ export type Schemas = {
7937
8249
  | "APPEALABLE"
7938
8250
  | null;
7939
8251
  disputed_transactions:
7940
- | components["schemas"]["swag_paypal_v1_disputes_item_disputed_transaction"][]
8252
+ | components["schemas"]["paypal_v1_disputes_item_disputed_transaction"][]
7941
8253
  | null;
7942
8254
  evidences:
7943
- | components["schemas"]["swag_paypal_v1_disputes_item_evidence"][]
8255
+ | components["schemas"]["paypal_v1_disputes_item_evidence"][]
7944
8256
  | null;
7945
- extensions: components["schemas"]["swag_paypal_v1_disputes_item_extensions"];
8257
+ extensions: components["schemas"]["paypal_v1_disputes_item_extensions"];
7946
8258
  external_reason_code: string | null;
7947
- links: components["schemas"]["swag_paypal_v1_common_link"][];
7948
- messages:
7949
- | components["schemas"]["swag_paypal_v1_disputes_item_message"][]
7950
- | null;
7951
- money_movements: components["schemas"]["swag_paypal_v1_disputes_item_money_movement"][];
7952
- offer: components["schemas"]["swag_paypal_v1_disputes_item_offer"] | null;
8259
+ links: components["schemas"]["paypal_v1_common_link"][];
8260
+ messages: components["schemas"]["paypal_v1_disputes_item_message"][] | null;
8261
+ money_movements: components["schemas"]["paypal_v1_disputes_item_money_movement"][];
8262
+ offer: components["schemas"]["paypal_v1_disputes_item_offer"] | null;
7953
8263
  partner_actions:
7954
- | components["schemas"]["swag_paypal_v1_disputes_item_partner_action"][]
8264
+ | components["schemas"]["paypal_v1_disputes_item_partner_action"][]
7955
8265
  | null;
7956
8266
  reason: string;
7957
8267
  refund_details:
7958
- | components["schemas"]["swag_paypal_v1_disputes_item_refund_details"]
8268
+ | components["schemas"]["paypal_v1_disputes_item_refund_details"]
7959
8269
  | null;
7960
8270
  seller_response_due_date: string | null;
7961
8271
  status: string;
7962
8272
  supporting_info:
7963
- | components["schemas"]["swag_paypal_v1_disputes_item_supporting_info"][]
8273
+ | components["schemas"]["paypal_v1_disputes_item_supporting_info"][]
7964
8274
  | null;
7965
8275
  update_time: string;
7966
8276
  };
7967
- swag_paypal_v1_disputes_item_adjudication: {
8277
+ paypal_v1_disputes_item_adjudication: {
7968
8278
  adjudication_time: string;
7969
8279
  dispute_life_cycle_stage: string;
7970
8280
  reason: string;
7971
8281
  type: string;
7972
8282
  };
7973
- swag_paypal_v1_disputes_item_communication_details: {
8283
+ paypal_v1_disputes_item_communication_details: {
7974
8284
  email: string;
7975
8285
  note: string;
7976
8286
  time_posted: string;
7977
8287
  };
7978
- swag_paypal_v1_disputes_item_dispute_amount: components["schemas"]["swag_paypal_v1_common_money"];
7979
- swag_paypal_v1_disputes_item_dispute_outcome: {
7980
- amount_refunded: components["schemas"]["swag_paypal_v1_common_money"];
8288
+ paypal_v1_disputes_item_dispute_amount: components["schemas"]["paypal_v1_common_money"];
8289
+ paypal_v1_disputes_item_dispute_outcome: {
8290
+ amount_refunded: components["schemas"]["paypal_v1_common_money"];
7981
8291
  outcome_code: string;
7982
8292
  };
7983
- swag_paypal_v1_disputes_item_disputed_transaction: components["schemas"]["swag_paypal_v1_disputes_common_transaction"] & {
8293
+ paypal_v1_disputes_item_disputed_transaction: components["schemas"]["paypal_v1_disputes_common_transaction"] & {
7984
8294
  seller_protection_eligible: boolean;
7985
8295
  };
7986
- swag_paypal_v1_disputes_item_evidence: {
7987
- documents: components["schemas"]["swag_paypal_v1_disputes_item_evidence_document"][];
7988
- evidence_info: components["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info"];
8296
+ paypal_v1_disputes_item_evidence: {
8297
+ documents: components["schemas"]["paypal_v1_disputes_item_evidence_document"][];
8298
+ evidence_info: components["schemas"]["paypal_v1_disputes_item_evidence_evidence_info"];
7989
8299
  evidence_type: string;
7990
8300
  item_id: string;
7991
8301
  notes: string;
7992
8302
  };
7993
- swag_paypal_v1_disputes_item_evidence_document: {
8303
+ paypal_v1_disputes_item_evidence_document: {
7994
8304
  name: string;
7995
8305
  };
7996
- swag_paypal_v1_disputes_item_evidence_evidence_info: {
7997
- refund_ids: components["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info_refund_id"][];
7998
- tracking_info: components["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info_tracking_info"][];
8306
+ paypal_v1_disputes_item_evidence_evidence_info: {
8307
+ refund_ids: components["schemas"]["paypal_v1_disputes_item_evidence_evidence_info_refund_id"][];
8308
+ tracking_info: components["schemas"]["paypal_v1_disputes_item_evidence_evidence_info_tracking_info"][];
7999
8309
  };
8000
- swag_paypal_v1_disputes_item_evidence_evidence_info_refund_id: {
8310
+ paypal_v1_disputes_item_evidence_evidence_info_refund_id: {
8001
8311
  refund_id: string;
8002
8312
  };
8003
- swag_paypal_v1_disputes_item_evidence_evidence_info_tracking_info: {
8313
+ paypal_v1_disputes_item_evidence_evidence_info_tracking_info: {
8004
8314
  carrier_name: string;
8005
8315
  carrier_name_other: string;
8006
8316
  tracking_number: string;
8007
8317
  tracking_url: string;
8008
8318
  };
8009
- swag_paypal_v1_disputes_item_extensions: {
8010
- billing_dispute_properties: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties"];
8319
+ paypal_v1_disputes_item_extensions: {
8320
+ billing_dispute_properties: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties"];
8011
8321
  buyer_contacted_channel: string;
8012
8322
  buyer_contacted_time: string;
8013
- merchandize_dispute_properties: components["schemas"]["swag_paypal_v1_disputes_item_extensions_merchandize_dispute_properties"];
8323
+ merchandize_dispute_properties: components["schemas"]["paypal_v1_disputes_item_extensions_merchandize_dispute_properties"];
8014
8324
  merchant_contacted: boolean;
8015
8325
  merchant_contacted_mode: string;
8016
8326
  merchant_contacted_outcome: string;
8017
8327
  merchant_contacted_time: string;
8018
8328
  };
8019
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties: {
8020
- canceled_recurring_billing: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing"];
8021
- credit_not_processed: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed"];
8022
- duplicate_transaction: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction"];
8023
- incorrect_transaction_amount: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount"];
8024
- payment_by_other_means: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means"];
8329
+ paypal_v1_disputes_item_extensions_billing_dispute_properties: {
8330
+ canceled_recurring_billing: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing"];
8331
+ credit_not_processed: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed"];
8332
+ duplicate_transaction: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction"];
8333
+ incorrect_transaction_amount: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount"];
8334
+ payment_by_other_means: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means"];
8025
8335
  };
8026
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing: {
8027
- cancellation_details: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
8028
- expected_refund: components["schemas"]["swag_paypal_v1_common_money"];
8336
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing: {
8337
+ cancellation_details: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
8338
+ expected_refund: components["schemas"]["paypal_v1_common_money"];
8029
8339
  };
8030
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details: {
8340
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details: {
8031
8341
  merchant_agreed_refund: boolean;
8032
8342
  merchant_agreed_refund_time: string;
8033
8343
  };
8034
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details: {
8344
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details: {
8035
8345
  cancellation_date: string;
8036
8346
  cancellation_mode: string;
8037
8347
  cancellation_number: string;
8038
8348
  cancelled: boolean;
8039
8349
  };
8040
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed: {
8041
- agreed_refund_details: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details"];
8042
- cancellation_details: components["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
8043
- expected_refund: components["schemas"]["swag_paypal_v1_common_money"];
8350
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed: {
8351
+ agreed_refund_details: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details"];
8352
+ cancellation_details: components["schemas"]["paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
8353
+ expected_refund: components["schemas"]["paypal_v1_common_money"];
8044
8354
  issue_type: string;
8045
- product_details: components["schemas"]["swag_paypal_v1_disputes_common_product_details"];
8046
- service_details: components["schemas"]["swag_paypal_v1_disputes_common_service_details"];
8355
+ product_details: components["schemas"]["paypal_v1_disputes_common_product_details"];
8356
+ service_details: components["schemas"]["paypal_v1_disputes_common_service_details"];
8047
8357
  };
8048
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction: {
8049
- original_transaction: components["schemas"]["swag_paypal_v1_disputes_common_transaction"];
8358
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction: {
8359
+ original_transaction: components["schemas"]["paypal_v1_disputes_common_transaction"];
8050
8360
  received_duplicate: boolean;
8051
8361
  };
8052
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount: {
8053
- correct_transaction_amount: components["schemas"]["swag_paypal_v1_common_money"];
8362
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount: {
8363
+ correct_transaction_amount: components["schemas"]["paypal_v1_common_money"];
8054
8364
  correct_transaction_time: string;
8055
8365
  };
8056
- swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means: {
8366
+ paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means: {
8057
8367
  charge_different_from_original: boolean;
8058
8368
  payment_instrument_suffix: string;
8059
8369
  payment_method: string;
8060
8370
  received_duplicate: boolean;
8061
8371
  };
8062
- swag_paypal_v1_disputes_item_extensions_merchandize_dispute_properties: {
8372
+ paypal_v1_disputes_item_extensions_merchandize_dispute_properties: {
8063
8373
  issue_type: string;
8064
- product_details: components["schemas"]["swag_paypal_v1_disputes_common_product_details"];
8065
- service_details: components["schemas"]["swag_paypal_v1_disputes_common_service_details"];
8374
+ product_details: components["schemas"]["paypal_v1_disputes_common_product_details"];
8375
+ service_details: components["schemas"]["paypal_v1_disputes_common_service_details"];
8066
8376
  };
8067
- swag_paypal_v1_disputes_item_message: {
8377
+ paypal_v1_disputes_item_message: {
8068
8378
  content: string;
8069
8379
  posted_by: string;
8070
8380
  time_posted: string;
8071
8381
  };
8072
- swag_paypal_v1_disputes_item_money_movement: {
8382
+ paypal_v1_disputes_item_money_movement: {
8073
8383
  affected_party: string;
8074
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8384
+ amount: components["schemas"]["paypal_v1_common_amount"];
8075
8385
  initiated_time: string;
8076
8386
  reason: string;
8077
8387
  type: string;
8078
8388
  };
8079
- swag_paypal_v1_disputes_item_offer: {
8080
- buyer_requested_amount: components["schemas"]["swag_paypal_v1_common_money"];
8389
+ paypal_v1_disputes_item_offer: {
8390
+ buyer_requested_amount: components["schemas"]["paypal_v1_common_money"];
8081
8391
  history:
8082
- | components["schemas"]["swag_paypal_v1_disputes_item_offer_history"][]
8392
+ | components["schemas"]["paypal_v1_disputes_item_offer_history"][]
8083
8393
  | null;
8084
8394
  offer_type: string;
8085
- seller_offered_amount: components["schemas"]["swag_paypal_v1_common_money"];
8395
+ seller_offered_amount: components["schemas"]["paypal_v1_common_money"];
8086
8396
  };
8087
- swag_paypal_v1_disputes_item_offer_history: {
8397
+ paypal_v1_disputes_item_offer_history: {
8088
8398
  actor: string;
8089
8399
  event_type: string;
8090
8400
  offer_time: string;
8091
8401
  offer_type: string;
8092
8402
  };
8093
- swag_paypal_v1_disputes_item_partner_action: {
8094
- amount: components["schemas"]["swag_paypal_v1_common_money"];
8403
+ paypal_v1_disputes_item_partner_action: {
8404
+ amount: components["schemas"]["paypal_v1_common_money"];
8095
8405
  create_time: string;
8096
8406
  due_time: string;
8097
8407
  id: string;
@@ -8099,72 +8409,77 @@ export type Schemas = {
8099
8409
  status: string;
8100
8410
  update_time: string;
8101
8411
  };
8102
- swag_paypal_v1_disputes_item_refund_details: {
8103
- allowed_refund_amount: components["schemas"]["swag_paypal_v1_common_money"];
8412
+ paypal_v1_disputes_item_refund_details: {
8413
+ allowed_refund_amount: components["schemas"]["paypal_v1_common_money"];
8104
8414
  };
8105
- swag_paypal_v1_disputes_item_supporting_info: {
8415
+ paypal_v1_disputes_item_supporting_info: {
8106
8416
  notes: string;
8107
8417
  provided_time: string;
8108
8418
  source: string;
8109
8419
  };
8110
- swag_paypal_v1_do_void: {
8111
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8420
+ paypal_v1_do_void: {
8421
+ amount: components["schemas"]["paypal_v1_common_amount"];
8112
8422
  create_time: string;
8113
8423
  id: string;
8114
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8424
+ links: components["schemas"]["paypal_v1_common_link"][];
8115
8425
  parent_payment: string;
8116
8426
  state: string;
8117
8427
  update_time: string;
8118
8428
  };
8119
- swag_paypal_v1_merchant_integrations: {
8429
+ paypal_v1_merchant_integrations: {
8120
8430
  capabilities:
8121
- | components["schemas"]["swag_paypal_v1_merchant_integrations_capability"][]
8431
+ | components["schemas"]["paypal_v1_merchant_integrations_capability"][]
8122
8432
  | null;
8123
8433
  granted_permissions: string[];
8124
8434
  legal_name: string;
8125
8435
  merchant_id: string;
8126
- oauth_integrations: components["schemas"]["swag_paypal_v1_merchant_integrations_oauth_integration"][];
8436
+ oauth_integrations: components["schemas"]["paypal_v1_merchant_integrations_oauth_integration"][];
8127
8437
  payments_receivable: boolean;
8128
8438
  primary_email: string;
8129
8439
  primary_email_confirmed: boolean;
8130
- products: components["schemas"]["swag_paypal_v1_merchant_integrations_product"][];
8440
+ products: components["schemas"]["paypal_v1_merchant_integrations_product"][];
8131
8441
  tracking_id: string;
8132
8442
  };
8133
- swag_paypal_v1_merchant_integrations_capability: {
8443
+ paypal_v1_merchant_integrations_capability: {
8134
8444
  name: string;
8135
8445
  status: string;
8136
8446
  };
8137
- swag_paypal_v1_merchant_integrations_oauth_integration: {
8447
+ paypal_v1_merchant_integrations_credentials: {
8448
+ client_id: string;
8449
+ client_secret: string;
8450
+ payer_id: string;
8451
+ };
8452
+ paypal_v1_merchant_integrations_oauth_integration: {
8138
8453
  integration_method?: string;
8139
8454
  integration_type?: string;
8140
- oauth_third_party?: components["schemas"]["swag_paypal_v1_merchant_integrations_oauth_integration_oauth_third_party"][];
8455
+ oauth_third_party?: components["schemas"]["paypal_v1_merchant_integrations_oauth_integration_oauth_third_party"][];
8141
8456
  status?: string;
8142
8457
  };
8143
- swag_paypal_v1_merchant_integrations_oauth_integration_oauth_third_party: {
8458
+ paypal_v1_merchant_integrations_oauth_integration_oauth_third_party: {
8144
8459
  access_token?: string;
8145
8460
  merchant_client_id?: string;
8146
8461
  partner_client_id?: string;
8147
8462
  refresh_token?: string;
8148
8463
  scopes: string[];
8149
8464
  };
8150
- swag_paypal_v1_merchant_integrations_product: {
8465
+ paypal_v1_merchant_integrations_product: {
8151
8466
  capabilities?: string[];
8152
8467
  name: string;
8153
8468
  vetting_status?: string;
8154
8469
  };
8155
- swag_paypal_v1_oauth_credentials: {
8156
- restId: string;
8157
- restSecret: string;
8158
- url: string;
8470
+ paypal_v1_merchant_tracking: {
8471
+ links: components["schemas"]["paypal_v1_common_link"][];
8472
+ merchant_id: string;
8473
+ tracking_id: string;
8159
8474
  };
8160
- swag_paypal_v1_patch: {
8475
+ paypal_v1_patch: {
8161
8476
  /** @enum {string} */
8162
8477
  op: "add" | "replace";
8163
8478
  path: string;
8164
8479
  value: string | Record<string, never>[];
8165
8480
  };
8166
- swag_paypal_v1_payment: {
8167
- application_context: components["schemas"]["swag_paypal_v1_payment_application_context"];
8481
+ paypal_v1_payment: {
8482
+ application_context: components["schemas"]["paypal_v1_payment_application_context"];
8168
8483
  cart: string;
8169
8484
  create_time: string;
8170
8485
  id: string;
@@ -8173,17 +8488,17 @@ export type Schemas = {
8173
8488
  * @enum {string}
8174
8489
  */
8175
8490
  intent?: "sale" | "authorize" | "order";
8176
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8177
- payer: components["schemas"]["swag_paypal_v1_payment_payer"];
8491
+ links: components["schemas"]["paypal_v1_common_link"][];
8492
+ payer: components["schemas"]["paypal_v1_payment_payer"];
8178
8493
  payment_instruction:
8179
- | components["schemas"]["swag_paypal_v1_payment_payment_instruction"]
8494
+ | components["schemas"]["paypal_v1_payment_payment_instruction"]
8180
8495
  | null;
8181
- redirect_urls: components["schemas"]["swag_paypal_v1_payment_redirect_urls"];
8496
+ redirect_urls: components["schemas"]["paypal_v1_payment_redirect_urls"];
8182
8497
  state: string;
8183
- transactions: components["schemas"]["swag_paypal_v1_payment_transaction"][];
8498
+ transactions: components["schemas"]["paypal_v1_payment_transaction"][];
8184
8499
  update_time: string;
8185
8500
  };
8186
- swag_paypal_v1_payment_application_context: {
8501
+ paypal_v1_payment_application_context: {
8187
8502
  brand_name: string;
8188
8503
  /** @enum {string} */
8189
8504
  landing_page: "Login" | "Billing";
@@ -8193,63 +8508,61 @@ export type Schemas = {
8193
8508
  /** @default commit */
8194
8509
  user_action?: string;
8195
8510
  };
8196
- swag_paypal_v1_payment_payer: {
8511
+ paypal_v1_payment_payer: {
8197
8512
  external_selected_funding_instrument_type: string;
8198
- payer_info: components["schemas"]["swag_paypal_v1_payment_payer_payer_info"];
8513
+ payer_info: components["schemas"]["paypal_v1_payment_payer_payer_info"];
8199
8514
  payment_method: string;
8200
8515
  status: string;
8201
8516
  };
8202
- swag_paypal_v1_payment_payer_execute_payer_info: {
8517
+ paypal_v1_payment_payer_execute_payer_info: {
8203
8518
  payer_id: string;
8204
8519
  };
8205
- swag_paypal_v1_payment_payer_payer_info: components["schemas"]["swag_paypal_v1_payment_payer_execute_payer_info"] & {
8206
- billing_address:
8207
- | components["schemas"]["swag_paypal_v1_common_address"]
8208
- | null;
8520
+ paypal_v1_payment_payer_payer_info: components["schemas"]["paypal_v1_payment_payer_execute_payer_info"] & {
8521
+ billing_address: components["schemas"]["paypal_v1_common_address"] | null;
8209
8522
  country_code: string;
8210
8523
  email: string;
8211
8524
  first_name: string;
8212
8525
  last_name: string;
8213
8526
  phone: string;
8214
- shipping_address: components["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_address"];
8527
+ shipping_address: components["schemas"]["paypal_v1_payment_transaction_item_list_shipping_address"];
8215
8528
  };
8216
- swag_paypal_v1_payment_payment_instruction: {
8217
- amount: components["schemas"]["swag_paypal_v1_common_value"];
8529
+ paypal_v1_payment_payment_instruction: {
8530
+ amount: components["schemas"]["paypal_v1_common_value"];
8218
8531
  instruction_type: string;
8219
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8532
+ links: components["schemas"]["paypal_v1_common_link"][];
8220
8533
  payment_due_date: string;
8221
- recipient_banking_instruction: components["schemas"]["swag_paypal_v1_payment_payment_instruction_recipient_banking_instruction"];
8534
+ recipient_banking_instruction: components["schemas"]["paypal_v1_payment_payment_instruction_recipient_banking_instruction"];
8222
8535
  reference_number: string;
8223
8536
  };
8224
- swag_paypal_v1_payment_payment_instruction_recipient_banking_instruction: {
8537
+ paypal_v1_payment_payment_instruction_recipient_banking_instruction: {
8225
8538
  account_holder_name: string;
8226
8539
  bank_identifier_code: string;
8227
8540
  bank_name: string;
8228
8541
  international_bank_account_number: string;
8229
8542
  };
8230
- swag_paypal_v1_payment_redirect_urls: {
8543
+ paypal_v1_payment_redirect_urls: {
8231
8544
  cancel_url: string;
8232
8545
  return_url: string;
8233
8546
  };
8234
- swag_paypal_v1_payment_transaction: {
8235
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8547
+ paypal_v1_payment_transaction: {
8548
+ amount: components["schemas"]["paypal_v1_common_amount"];
8236
8549
  custom: string;
8237
8550
  description: string;
8238
8551
  invoice_number: string | null;
8239
8552
  item_list:
8240
- | components["schemas"]["swag_paypal_v1_payment_transaction_item_list"]
8553
+ | components["schemas"]["paypal_v1_payment_transaction_item_list"]
8241
8554
  | null;
8242
- payee: components["schemas"]["swag_paypal_v1_payment_transaction_payee"];
8243
- related_resources: components["schemas"]["swag_paypal_v1_payment_transaction_related_resource"][];
8555
+ payee: components["schemas"]["paypal_v1_payment_transaction_payee"];
8556
+ related_resources: components["schemas"]["paypal_v1_payment_transaction_related_resource"][];
8244
8557
  soft_descriptor: string;
8245
8558
  };
8246
- swag_paypal_v1_payment_transaction_item_list: {
8247
- items: components["schemas"]["swag_paypal_v1_payment_transaction_item_list_item"][];
8248
- shipping_address: components["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_address"];
8249
- shipping_options: components["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_option"][];
8559
+ paypal_v1_payment_transaction_item_list: {
8560
+ items: components["schemas"]["paypal_v1_payment_transaction_item_list_item"][];
8561
+ shipping_address: components["schemas"]["paypal_v1_payment_transaction_item_list_shipping_address"];
8562
+ shipping_options: components["schemas"]["paypal_v1_payment_transaction_item_list_shipping_option"][];
8250
8563
  shipping_phone_number: string;
8251
8564
  };
8252
- swag_paypal_v1_payment_transaction_item_list_item: {
8565
+ paypal_v1_payment_transaction_item_list_item: {
8253
8566
  currency: string;
8254
8567
  name: string;
8255
8568
  price: string;
@@ -8257,36 +8570,36 @@ export type Schemas = {
8257
8570
  sku: string | null;
8258
8571
  tax: string;
8259
8572
  };
8260
- swag_paypal_v1_payment_transaction_item_list_shipping_address: components["schemas"]["swag_paypal_v1_common_address"] & {
8573
+ paypal_v1_payment_transaction_item_list_shipping_address: components["schemas"]["paypal_v1_common_address"] & {
8261
8574
  recipient_name: string;
8262
8575
  };
8263
- swag_paypal_v1_payment_transaction_item_list_shipping_option: unknown;
8264
- swag_paypal_v1_payment_transaction_payee: {
8576
+ paypal_v1_payment_transaction_item_list_shipping_option: unknown;
8577
+ paypal_v1_payment_transaction_payee: {
8265
8578
  email: string;
8266
8579
  merchant_id: string;
8267
8580
  };
8268
- swag_paypal_v1_payment_transaction_related_resource: {
8581
+ paypal_v1_payment_transaction_related_resource: {
8269
8582
  authorization:
8270
- | components["schemas"]["swag_paypal_v1_payment_transaction_related_resource_authorization"]
8583
+ | components["schemas"]["paypal_v1_payment_transaction_related_resource_authorization"]
8271
8584
  | null;
8272
8585
  capture:
8273
- | components["schemas"]["swag_paypal_v1_payment_transaction_related_resource_capture"]
8586
+ | components["schemas"]["paypal_v1_payment_transaction_related_resource_capture"]
8274
8587
  | null;
8275
8588
  order:
8276
- | components["schemas"]["swag_paypal_v1_payment_transaction_related_resource_order"]
8589
+ | components["schemas"]["paypal_v1_payment_transaction_related_resource_order"]
8277
8590
  | null;
8278
8591
  refund:
8279
- | components["schemas"]["swag_paypal_v1_payment_transaction_related_resource_refund"]
8592
+ | components["schemas"]["paypal_v1_payment_transaction_related_resource_refund"]
8280
8593
  | null;
8281
8594
  sale:
8282
- | components["schemas"]["swag_paypal_v1_payment_transaction_related_resource_sale"]
8595
+ | components["schemas"]["paypal_v1_payment_transaction_related_resource_sale"]
8283
8596
  | null;
8284
8597
  };
8285
- swag_paypal_v1_payment_transaction_related_resource_authorization: {
8286
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8598
+ paypal_v1_payment_transaction_related_resource_authorization: {
8599
+ amount: components["schemas"]["paypal_v1_common_amount"];
8287
8600
  create_time: string;
8288
8601
  id: string;
8289
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8602
+ links: components["schemas"]["paypal_v1_common_link"][];
8290
8603
  parent_payment: string;
8291
8604
  payment_mode: string;
8292
8605
  protection_eligibility: string;
@@ -8297,27 +8610,27 @@ export type Schemas = {
8297
8610
  update_time: string;
8298
8611
  valid_until: string;
8299
8612
  };
8300
- swag_paypal_v1_payment_transaction_related_resource_capture: {
8301
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8613
+ paypal_v1_payment_transaction_related_resource_capture: {
8614
+ amount: components["schemas"]["paypal_v1_common_amount"];
8302
8615
  create_time: string;
8303
8616
  custom: string;
8304
8617
  id: string;
8305
8618
  invoice_number: string;
8306
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8619
+ links: components["schemas"]["paypal_v1_common_link"][];
8307
8620
  parent_payment: string;
8308
8621
  payment_mode: string;
8309
8622
  protection_eligibility: string;
8310
8623
  protection_eligibility_type: string;
8311
8624
  receipt_id: string;
8312
8625
  state: string;
8313
- transaction_fee: components["schemas"]["swag_paypal_v1_common_value"];
8626
+ transaction_fee: components["schemas"]["paypal_v1_common_value"];
8314
8627
  update_time: string;
8315
8628
  };
8316
- swag_paypal_v1_payment_transaction_related_resource_order: {
8317
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8629
+ paypal_v1_payment_transaction_related_resource_order: {
8630
+ amount: components["schemas"]["paypal_v1_common_amount"];
8318
8631
  create_time: string;
8319
8632
  id: string;
8320
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8633
+ links: components["schemas"]["paypal_v1_common_link"][];
8321
8634
  parent_payment: string;
8322
8635
  payment_mode: string;
8323
8636
  protection_eligibility: string;
@@ -8327,12 +8640,12 @@ export type Schemas = {
8327
8640
  state: string;
8328
8641
  update_time: string;
8329
8642
  };
8330
- swag_paypal_v1_payment_transaction_related_resource_refund: {
8331
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8643
+ paypal_v1_payment_transaction_related_resource_refund: {
8644
+ amount: components["schemas"]["paypal_v1_common_amount"];
8332
8645
  capture_id: string;
8333
8646
  create_time: string;
8334
8647
  id: string;
8335
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8648
+ links: components["schemas"]["paypal_v1_common_link"][];
8336
8649
  parent_payment: string;
8337
8650
  payment_mode: string;
8338
8651
  protection_eligibility: string;
@@ -8342,103 +8655,103 @@ export type Schemas = {
8342
8655
  state: string;
8343
8656
  update_time: string;
8344
8657
  };
8345
- swag_paypal_v1_payment_transaction_related_resource_sale: {
8346
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8658
+ paypal_v1_payment_transaction_related_resource_sale: {
8659
+ amount: components["schemas"]["paypal_v1_common_amount"];
8347
8660
  create_time: string;
8348
8661
  id: string;
8349
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8662
+ links: components["schemas"]["paypal_v1_common_link"][];
8350
8663
  parent_payment: string;
8351
8664
  payment_mode: string;
8352
8665
  protection_eligibility: string;
8353
8666
  protection_eligibility_type: string;
8354
8667
  receipt_id: string;
8355
8668
  state: string;
8356
- transaction_fee: components["schemas"]["swag_paypal_v1_common_value"];
8669
+ transaction_fee: components["schemas"]["paypal_v1_common_value"];
8357
8670
  update_time: string;
8358
8671
  };
8359
- swag_paypal_v1_plan: {
8360
- billing_cycles: components["schemas"]["swag_paypal_v1_plan_billing_cycle"][];
8672
+ paypal_v1_plan: {
8673
+ billing_cycles: components["schemas"]["paypal_v1_plan_billing_cycle"][];
8361
8674
  description: string | null;
8362
8675
  name: string;
8363
- payment_preferences: components["schemas"]["swag_paypal_v1_plan_payment_preferences"];
8676
+ payment_preferences: components["schemas"]["paypal_v1_plan_payment_preferences"];
8364
8677
  product_id: string;
8365
8678
  status: string;
8366
- taxes: components["schemas"]["swag_paypal_v1_plan_taxes"];
8679
+ taxes: components["schemas"]["paypal_v1_plan_taxes"];
8367
8680
  };
8368
- swag_paypal_v1_plan_billing_cycle: {
8369
- frequency: components["schemas"]["swag_paypal_v1_plan_billing_cycle_frequency"];
8370
- pricing_scheme: components["schemas"]["swag_paypal_v1_plan_billing_cycle_pricing_scheme"];
8681
+ paypal_v1_plan_billing_cycle: {
8682
+ frequency: components["schemas"]["paypal_v1_plan_billing_cycle_frequency"];
8683
+ pricing_scheme: components["schemas"]["paypal_v1_plan_billing_cycle_pricing_scheme"];
8371
8684
  sequence: number;
8372
8685
  tenure_type: string;
8373
8686
  total_cycles: number;
8374
8687
  };
8375
- swag_paypal_v1_plan_billing_cycle_frequency: {
8688
+ paypal_v1_plan_billing_cycle_frequency: {
8376
8689
  interval_count: number;
8377
8690
  interval_unit: string;
8378
8691
  };
8379
- swag_paypal_v1_plan_billing_cycle_pricing_scheme: {
8380
- fixed_price: components["schemas"]["swag_paypal_v1_common_money"];
8692
+ paypal_v1_plan_billing_cycle_pricing_scheme: {
8693
+ fixed_price: components["schemas"]["paypal_v1_common_money"];
8381
8694
  };
8382
- swag_paypal_v1_plan_payment_preferences: {
8695
+ paypal_v1_plan_payment_preferences: {
8383
8696
  auto_bill_outstanding: boolean;
8384
8697
  payment_failure_threshold: number;
8385
8698
  };
8386
- swag_paypal_v1_plan_taxes: {
8699
+ paypal_v1_plan_taxes: {
8387
8700
  inclusive: boolean;
8388
8701
  percentage: string;
8389
8702
  };
8390
- swag_paypal_v1_product: {
8703
+ paypal_v1_product: {
8391
8704
  description: string;
8392
8705
  name: string;
8393
8706
  type: string;
8394
8707
  };
8395
- swag_paypal_v1_refund: {
8396
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8708
+ paypal_v1_refund: {
8709
+ amount: components["schemas"]["paypal_v1_common_amount"];
8397
8710
  capture_id: string;
8398
8711
  create_time: string;
8399
8712
  description: string;
8400
8713
  id: string;
8401
8714
  invoice_number: string;
8402
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8715
+ links: components["schemas"]["paypal_v1_common_link"][];
8403
8716
  parent_payment: string;
8404
8717
  reason: string;
8405
- refund_from_received_amount: components["schemas"]["swag_paypal_v1_common_value"];
8406
- refund_from_transaction_fee: components["schemas"]["swag_paypal_v1_common_value"];
8718
+ refund_from_received_amount: components["schemas"]["paypal_v1_common_value"];
8719
+ refund_from_transaction_fee: components["schemas"]["paypal_v1_common_value"];
8407
8720
  sale_id: string;
8408
8721
  state: string;
8409
- total_refunded_amount: components["schemas"]["swag_paypal_v1_common_value"];
8722
+ total_refunded_amount: components["schemas"]["paypal_v1_common_value"];
8410
8723
  update_time: string;
8411
8724
  };
8412
- swag_paypal_v1_shipping: {
8413
- trackers: components["schemas"]["swag_paypal_v1_shipping_tracker"][];
8725
+ paypal_v1_shipping: {
8726
+ trackers: components["schemas"]["paypal_v1_shipping_tracker"][];
8414
8727
  };
8415
- swag_paypal_v1_shipping_tracker: {
8728
+ paypal_v1_shipping_tracker: {
8416
8729
  carrier: string;
8417
8730
  notify_buyer: boolean;
8418
- /** Pattern: '2022-08-15' */
8731
+ /** Format: date-time */
8419
8732
  shipment_date: string;
8420
8733
  status: string;
8421
8734
  tracking_number: string;
8422
8735
  transaction_id: string;
8423
8736
  };
8424
- swag_paypal_v1_subscription: {
8425
- application_context: components["schemas"]["swag_paypal_v1_subscription_application_context"];
8737
+ paypal_v1_subscription: {
8738
+ application_context: components["schemas"]["paypal_v1_subscription_application_context"];
8426
8739
  billing_info:
8427
- | components["schemas"]["swag_paypal_v1_subscription_billing_info"]
8740
+ | components["schemas"]["paypal_v1_subscription_billing_info"]
8428
8741
  | null;
8429
8742
  create_time: string;
8430
8743
  id: string;
8431
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8744
+ links: components["schemas"]["paypal_v1_common_link"][];
8432
8745
  plan_id: string;
8433
8746
  quantity: string;
8434
- shipping_amount: components["schemas"]["swag_paypal_v1_common_money"];
8747
+ shipping_amount: components["schemas"]["paypal_v1_common_money"];
8435
8748
  start_time: string;
8436
8749
  status: string;
8437
8750
  status_update_time: string;
8438
- subscriber: components["schemas"]["swag_paypal_v1_subscription_subscriber"];
8751
+ subscriber: components["schemas"]["paypal_v1_subscription_subscriber"];
8439
8752
  update_time: string;
8440
8753
  };
8441
- swag_paypal_v1_subscription_application_context: {
8754
+ paypal_v1_subscription_application_context: {
8442
8755
  brand_name: string;
8443
8756
  cancel_url: string;
8444
8757
  locale: string;
@@ -8448,46 +8761,46 @@ export type Schemas = {
8448
8761
  /** @default SUBSCRIBE_NOW */
8449
8762
  user_action?: string;
8450
8763
  };
8451
- swag_paypal_v1_subscription_billing_info: {
8452
- cycle_executions: components["schemas"]["swag_paypal_v1_subscription_billing_info_cycle_execution"][];
8764
+ paypal_v1_subscription_billing_info: {
8765
+ cycle_executions: components["schemas"]["paypal_v1_subscription_billing_info_cycle_execution"][];
8453
8766
  failed_payments_count: number;
8454
- last_payment: components["schemas"]["swag_paypal_v1_subscription_billing_info_last_payment"];
8767
+ last_payment: components["schemas"]["paypal_v1_subscription_billing_info_last_payment"];
8455
8768
  next_billing_time: string | null;
8456
- outstanding_balance: components["schemas"]["swag_paypal_v1_subscription_billing_info_outstanding_balance"];
8769
+ outstanding_balance: components["schemas"]["paypal_v1_subscription_billing_info_outstanding_balance"];
8457
8770
  };
8458
- swag_paypal_v1_subscription_billing_info_cycle_execution: {
8771
+ paypal_v1_subscription_billing_info_cycle_execution: {
8459
8772
  cycles_completed: number;
8460
8773
  cycles_remaining: number;
8461
8774
  sequence: number;
8462
8775
  tenure_type: string;
8463
8776
  total_cycles: number;
8464
8777
  };
8465
- swag_paypal_v1_subscription_billing_info_last_payment: {
8466
- amount: components["schemas"]["swag_paypal_v1_common_money"];
8778
+ paypal_v1_subscription_billing_info_last_payment: {
8779
+ amount: components["schemas"]["paypal_v1_common_money"];
8467
8780
  time: string;
8468
8781
  };
8469
- swag_paypal_v1_subscription_billing_info_outstanding_balance: components["schemas"]["swag_paypal_v1_common_money"];
8470
- swag_paypal_v1_subscription_subscriber: {
8782
+ paypal_v1_subscription_billing_info_outstanding_balance: components["schemas"]["paypal_v1_common_money"];
8783
+ paypal_v1_subscription_subscriber: {
8471
8784
  email_address: string;
8472
- name: components["schemas"]["swag_paypal_v1_subscription_subscriber_name"];
8785
+ name: components["schemas"]["paypal_v1_subscription_subscriber_name"];
8473
8786
  payer_id: string;
8474
8787
  shipping_address:
8475
- | components["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address"]
8788
+ | components["schemas"]["paypal_v1_subscription_subscriber_shipping_address"]
8476
8789
  | null;
8477
8790
  };
8478
- swag_paypal_v1_subscription_subscriber_name: {
8791
+ paypal_v1_subscription_subscriber_name: {
8479
8792
  given_name: string;
8480
8793
  surname: string;
8481
8794
  };
8482
- swag_paypal_v1_subscription_subscriber_shipping_address: {
8795
+ paypal_v1_subscription_subscriber_shipping_address: {
8483
8796
  address:
8484
- | components["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address_address"]
8797
+ | components["schemas"]["paypal_v1_subscription_subscriber_shipping_address_address"]
8485
8798
  | null;
8486
8799
  name:
8487
- | components["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address_name"]
8800
+ | components["schemas"]["paypal_v1_subscription_subscriber_shipping_address_name"]
8488
8801
  | null;
8489
8802
  };
8490
- swag_paypal_v1_subscription_subscriber_shipping_address_address: {
8803
+ paypal_v1_subscription_subscriber_shipping_address_address: {
8491
8804
  address_line_1: string | null;
8492
8805
  address_line_2: string | null;
8493
8806
  admin_area_1: string | null;
@@ -8495,10 +8808,10 @@ export type Schemas = {
8495
8808
  country_code: string;
8496
8809
  postal_code: string | null;
8497
8810
  };
8498
- swag_paypal_v1_subscription_subscriber_shipping_address_name: {
8811
+ paypal_v1_subscription_subscriber_shipping_address_name: {
8499
8812
  full_name: string;
8500
8813
  };
8501
- swag_paypal_v1_token: {
8814
+ paypal_v1_token: {
8502
8815
  /** The access token issued by PayPal. After the access token
8503
8816
  * expires (see $expiresIn), you must request a new access token. */
8504
8817
  access_token: string;
@@ -8519,34 +8832,46 @@ export type Schemas = {
8519
8832
  * Section 7.1. Value is case insensitive. */
8520
8833
  token_type: string;
8521
8834
  };
8522
- swag_paypal_v1_webhook: {
8835
+ paypal_v1_webhook: {
8836
+ event_types: components["schemas"]["paypal_v1_webhook_event_type"][];
8837
+ id: string;
8838
+ links: components["schemas"]["paypal_v1_common_link"][];
8839
+ url: string;
8840
+ };
8841
+ paypal_v1_webhook_event: {
8523
8842
  create_time: string;
8524
8843
  event_type: string;
8525
8844
  event_version: string;
8526
8845
  id: string;
8527
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8846
+ links: components["schemas"]["paypal_v1_common_link"][];
8528
8847
  resource:
8529
8848
  | (
8530
- | components["schemas"]["swag_paypal_v3_payment_token"]
8531
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_authorization"]
8532
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture"]
8533
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund"]
8534
- | components["schemas"]["swag_paypal_v1_webhook_resource"]
8535
- | components["schemas"]["swag_paypal_v1_subscription"]
8849
+ | components["schemas"]["paypal_v3_payment_token"]
8850
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_authorization"]
8851
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_capture"]
8852
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_refund"]
8853
+ | components["schemas"]["paypal_v1_webhook_resource"]
8854
+ | components["schemas"]["paypal_v1_subscription"]
8536
8855
  )
8537
8856
  | null;
8538
8857
  resource_type: string;
8539
8858
  resource_version: string;
8540
8859
  summary: string;
8541
8860
  };
8542
- swag_paypal_v1_webhook_resource: {
8543
- amount: components["schemas"]["swag_paypal_v1_common_amount"];
8861
+ paypal_v1_webhook_event_type: {
8862
+ description: string;
8863
+ name: string;
8864
+ resource_version: string;
8865
+ status: string;
8866
+ };
8867
+ paypal_v1_webhook_resource: {
8868
+ amount: components["schemas"]["paypal_v1_common_amount"];
8544
8869
  billing_agreement_id: string | null;
8545
8870
  clearing_time: string;
8546
8871
  create_time: string;
8547
8872
  id: string;
8548
8873
  invoice_number: string;
8549
- links: components["schemas"]["swag_paypal_v1_common_link"][];
8874
+ links: components["schemas"]["paypal_v1_common_link"][];
8550
8875
  merchant_id: string | null;
8551
8876
  parent_payment: string | null;
8552
8877
  payment_mode: string;
@@ -8555,10 +8880,10 @@ export type Schemas = {
8555
8880
  refund_reason_code: string | null;
8556
8881
  sale_id: string | null;
8557
8882
  state: string;
8558
- transaction_fee: components["schemas"]["swag_paypal_v1_common_value"];
8883
+ transaction_fee: components["schemas"]["paypal_v1_common_value"];
8559
8884
  update_time: string;
8560
8885
  };
8561
- swag_paypal_v2_common_address: {
8886
+ paypal_v2_common_address: {
8562
8887
  /** The first line of the address. For example, number or street. For example, 173 Drury Lane.
8563
8888
  * Required for data entry and compliance and risk checks. Must contain the full address. */
8564
8889
  address_line_1: string | null;
@@ -8572,42 +8897,43 @@ export type Schemas = {
8572
8897
  country_code: string;
8573
8898
  postal_code: string | null;
8574
8899
  };
8575
- swag_paypal_v2_common_link: {
8900
+ paypal_v2_common_link: {
8576
8901
  enc_type: string | null;
8577
8902
  href: string;
8578
8903
  method: string;
8579
8904
  rel: string;
8580
8905
  };
8581
- swag_paypal_v2_common_money: {
8906
+ paypal_v2_common_money: {
8582
8907
  currency_code: string;
8583
8908
  value: string;
8584
8909
  };
8585
- swag_paypal_v2_common_name: {
8910
+ paypal_v2_common_name: {
8586
8911
  given_name: string;
8587
8912
  surname: string;
8588
8913
  };
8589
- swag_paypal_v2_common_phone_number: {
8914
+ paypal_v2_common_phone_number: {
8590
8915
  country_code: string;
8591
8916
  national_number: string;
8592
8917
  };
8593
- swag_paypal_v2_order: {
8594
- application_context: components["schemas"]["swag_paypal_v2_order_application_context"];
8918
+ paypal_v2_order: {
8919
+ application_context: components["schemas"]["paypal_v2_order_application_context"];
8595
8920
  create_time: string;
8596
8921
  id: string;
8597
- intent: string;
8598
- links: components["schemas"]["swag_paypal_v2_common_link"][];
8599
- payer: components["schemas"]["swag_paypal_v2_order_payer"];
8922
+ /** @enum {string} */
8923
+ intent: "CAPTURE" | "AUTHORIZE";
8924
+ links: components["schemas"]["paypal_v2_common_link"][];
8925
+ payer: components["schemas"]["paypal_v2_order_payer"];
8600
8926
  payment_source:
8601
- | components["schemas"]["swag_paypal_v2_order_payment_source"]
8927
+ | components["schemas"]["paypal_v2_order_payment_source"]
8602
8928
  | null;
8603
8929
  processing_instruction: string;
8604
8930
  purchase_units:
8605
- | components["schemas"]["swag_paypal_v2_order_purchase_unit"][]
8931
+ | components["schemas"]["paypal_v2_order_purchase_unit"][]
8606
8932
  | null;
8607
8933
  status: string;
8608
8934
  update_time: string;
8609
8935
  };
8610
- swag_paypal_v2_order_application_context: {
8936
+ paypal_v2_order_application_context: {
8611
8937
  brand_name: string;
8612
8938
  cancel_url: string;
8613
8939
  /**
@@ -8630,139 +8956,113 @@ export type Schemas = {
8630
8956
  */
8631
8957
  user_action?: "CONTINUE" | "PAY_NOW";
8632
8958
  };
8633
- swag_paypal_v2_order_payer: {
8634
- address: components["schemas"]["swag_paypal_v2_common_address"];
8959
+ paypal_v2_order_payer: {
8960
+ address: components["schemas"]["paypal_v2_common_address"];
8635
8961
  email_address: string;
8636
- name: components["schemas"]["swag_paypal_v2_common_name"];
8962
+ name: components["schemas"]["paypal_v2_common_name"];
8637
8963
  payer_id: string;
8638
8964
  phone:
8639
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_phone"]
8965
+ | components["schemas"]["paypal_v2_order_payment_source_common_phone"]
8640
8966
  | null;
8641
8967
  };
8642
- swag_paypal_v2_order_payment_source: {
8643
- apple_pay: components["schemas"]["swag_paypal_v2_order_payment_source_apple_pay"];
8968
+ paypal_v2_order_payment_source: {
8969
+ apple_pay: components["schemas"]["paypal_v2_order_payment_source_apple_pay"];
8644
8970
  bancontact:
8645
- | components["schemas"]["swag_paypal_v2_order_payment_source_bancontact"]
8646
- | null;
8647
- blik:
8648
- | components["schemas"]["swag_paypal_v2_order_payment_source_blik"]
8971
+ | components["schemas"]["paypal_v2_order_payment_source_bancontact"]
8649
8972
  | null;
8973
+ blik: components["schemas"]["paypal_v2_order_payment_source_blik"] | null;
8650
8974
  boletobancario:
8651
- | components["schemas"]["swag_paypal_v2_order_payment_source_boletobancario"]
8652
- | null;
8653
- card:
8654
- | components["schemas"]["swag_paypal_v2_order_payment_source_card"]
8655
- | null;
8656
- eps:
8657
- | components["schemas"]["swag_paypal_v2_order_payment_source_eps"]
8658
- | null;
8659
- giropay:
8660
- | components["schemas"]["swag_paypal_v2_order_payment_source_giropay"]
8975
+ | components["schemas"]["paypal_v2_order_payment_source_boletobancario"]
8661
8976
  | null;
8977
+ card: components["schemas"]["paypal_v2_order_payment_source_card"] | null;
8978
+ eps: components["schemas"]["paypal_v2_order_payment_source_eps"] | null;
8662
8979
  google_pay:
8663
- | components["schemas"]["swag_paypal_v2_order_payment_source_google_pay"]
8664
- | null;
8665
- ideal:
8666
- | components["schemas"]["swag_paypal_v2_order_payment_source_ideal"]
8980
+ | components["schemas"]["paypal_v2_order_payment_source_google_pay"]
8667
8981
  | null;
8982
+ ideal: components["schemas"]["paypal_v2_order_payment_source_ideal"] | null;
8668
8983
  multibanco:
8669
- | components["schemas"]["swag_paypal_v2_order_payment_source_multibanco"]
8984
+ | components["schemas"]["paypal_v2_order_payment_source_multibanco"]
8670
8985
  | null;
8671
8986
  my_bank:
8672
- | components["schemas"]["swag_paypal_v2_order_payment_source_my_bank"]
8673
- | null;
8674
- oxxo:
8675
- | components["schemas"]["swag_paypal_v2_order_payment_source_oxxo"]
8676
- | null;
8677
- p24:
8678
- | components["schemas"]["swag_paypal_v2_order_payment_source_p24"]
8987
+ | components["schemas"]["paypal_v2_order_payment_source_my_bank"]
8679
8988
  | null;
8989
+ oxxo: components["schemas"]["paypal_v2_order_payment_source_oxxo"] | null;
8990
+ p_2_4: components["schemas"]["paypal_v2_order_payment_source_p24"] | null;
8680
8991
  pay_upon_invoice:
8681
- | components["schemas"]["swag_paypal_v2_order_payment_source_pay_upon_invoice"]
8992
+ | components["schemas"]["paypal_v2_order_payment_source_pay_upon_invoice"]
8682
8993
  | null;
8683
8994
  paypal:
8684
- | components["schemas"]["swag_paypal_v2_order_payment_source_paypal"]
8685
- | null;
8686
- sofort:
8687
- | components["schemas"]["swag_paypal_v2_order_payment_source_sofort"]
8688
- | null;
8689
- token:
8690
- | components["schemas"]["swag_paypal_v2_order_payment_source_token"]
8995
+ | components["schemas"]["paypal_v2_order_payment_source_paypal"]
8691
8996
  | null;
8997
+ token: components["schemas"]["paypal_v2_order_payment_source_token"] | null;
8692
8998
  trustly:
8693
- | components["schemas"]["swag_paypal_v2_order_payment_source_trustly"]
8694
- | null;
8695
- venmo:
8696
- | components["schemas"]["swag_paypal_v2_order_payment_source_venmo"]
8999
+ | components["schemas"]["paypal_v2_order_payment_source_trustly"]
8697
9000
  | null;
9001
+ venmo: components["schemas"]["paypal_v2_order_payment_source_venmo"] | null;
8698
9002
  };
8699
- swag_paypal_v2_order_payment_source_apple_pay: {
9003
+ paypal_v2_order_payment_source_apple_pay: {
8700
9004
  attributes:
8701
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
8702
- | null;
8703
- card:
8704
- | components["schemas"]["swag_paypal_v2_order_payment_source_card"]
9005
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes"]
8705
9006
  | null;
9007
+ card: components["schemas"]["paypal_v2_order_payment_source_card"] | null;
8706
9008
  country_code: string;
8707
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9009
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8708
9010
  name: string;
8709
9011
  };
8710
- swag_paypal_v2_order_payment_source_bancontact: {
9012
+ paypal_v2_order_payment_source_bancontact: {
8711
9013
  country_code: string;
8712
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9014
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8713
9015
  name: string;
8714
9016
  };
8715
- swag_paypal_v2_order_payment_source_blik: {
9017
+ paypal_v2_order_payment_source_blik: {
8716
9018
  country_code: string;
8717
9019
  email: string;
8718
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9020
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8719
9021
  name: string;
8720
9022
  };
8721
- swag_paypal_v2_order_payment_source_boletobancario: {
8722
- billing_address: components["schemas"]["swag_paypal_v2_common_address"];
9023
+ paypal_v2_order_payment_source_boletobancario: {
9024
+ billing_address: components["schemas"]["paypal_v2_common_address"];
8723
9025
  country_code: string;
8724
9026
  email: string;
8725
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9027
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8726
9028
  expiry_date: string;
8727
9029
  name: string;
8728
- tax_info: components["schemas"]["swag_paypal_v2_order_payment_source_boletobancario_tax_info"];
9030
+ tax_info: components["schemas"]["paypal_v2_order_payment_source_boletobancario_tax_info"];
8729
9031
  };
8730
- swag_paypal_v2_order_payment_source_boletobancario_tax_info: {
9032
+ paypal_v2_order_payment_source_boletobancario_tax_info: {
8731
9033
  tax_id: string;
8732
9034
  tax_id_type: string;
8733
9035
  };
8734
- swag_paypal_v2_order_payment_source_card: {
9036
+ paypal_v2_order_payment_source_card: {
8735
9037
  attributes:
8736
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
9038
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes"]
8737
9039
  | null;
8738
9040
  authentication_result:
8739
- | components["schemas"]["swag_paypal_v2_order_payment_source_card_authentication_result"]
8740
- | null;
8741
- billing_address:
8742
- | components["schemas"]["swag_paypal_v2_common_address"]
9041
+ | components["schemas"]["paypal_v2_order_payment_source_card_authentication_result"]
8743
9042
  | null;
9043
+ billing_address: components["schemas"]["paypal_v2_common_address"] | null;
8744
9044
  brand: string;
8745
9045
  country_code: string;
8746
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9046
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8747
9047
  last_digits: string;
8748
9048
  name: string;
8749
9049
  stored_credential:
8750
- | components["schemas"]["swag_paypal_v2_order_payment_source_card_stored_credential"]
9050
+ | components["schemas"]["paypal_v2_order_payment_source_card_stored_credential"]
8751
9051
  | null;
8752
9052
  type: string;
8753
9053
  vault_id: string;
8754
9054
  };
8755
- swag_paypal_v2_order_payment_source_card_authentication_result: {
9055
+ paypal_v2_order_payment_source_card_authentication_result: {
8756
9056
  liability_shift: string;
8757
9057
  three_d_secure:
8758
- | components["schemas"]["swag_paypal_v2_order_payment_source_card_authentication_result_3d_secure"]
9058
+ | components["schemas"]["paypal_v2_order_payment_source_card_authentication_result_3d_secure"]
8759
9059
  | null;
8760
9060
  };
8761
- swag_paypal_v2_order_payment_source_card_authentication_result_3d_secure: {
9061
+ paypal_v2_order_payment_source_card_authentication_result_3d_secure: {
8762
9062
  authentication_status: string;
8763
9063
  enrollment_status: string;
8764
9064
  };
8765
- swag_paypal_v2_order_payment_source_card_stored_credential: {
9065
+ paypal_v2_order_payment_source_card_stored_credential: {
8766
9066
  /** @enum {string} */
8767
9067
  payment_initiator: "MERCHANT" | "CUSTOMER";
8768
9068
  /** @enum {string} */
@@ -8771,30 +9071,30 @@ export type Schemas = {
8771
9071
  /** @enum {string} */
8772
9072
  usage: "DERIVED" | "FIRST" | "SUBSEQUENT";
8773
9073
  };
8774
- swag_paypal_v2_order_payment_source_common_attributes: {
8775
- customer: components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"];
8776
- vault: components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_vault"];
8777
- verification: components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_verification"];
9074
+ paypal_v2_order_payment_source_common_attributes: {
9075
+ customer: components["schemas"]["paypal_v2_order_payment_source_common_attributes_customer"];
9076
+ vault: components["schemas"]["paypal_v2_order_payment_source_common_attributes_vault"];
9077
+ verification: components["schemas"]["paypal_v2_order_payment_source_common_attributes_verification"];
8778
9078
  };
8779
- swag_paypal_v2_order_payment_source_common_attributes_customer: {
9079
+ paypal_v2_order_payment_source_common_attributes_customer: {
8780
9080
  id: string;
8781
9081
  };
8782
- swag_paypal_v2_order_payment_source_common_attributes_vault: {
9082
+ paypal_v2_order_payment_source_common_attributes_vault: {
8783
9083
  confirm_payment_token: string;
8784
9084
  customer:
8785
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"]
9085
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes_customer"]
8786
9086
  | null;
8787
9087
  id: string | null;
8788
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9088
+ links: components["schemas"]["paypal_v2_common_link"][];
8789
9089
  permit_multiple_payment_tokens: boolean;
8790
9090
  status: string;
8791
9091
  store_in_vault: string;
8792
9092
  usage_type: string;
8793
9093
  };
8794
- swag_paypal_v2_order_payment_source_common_attributes_verification: {
9094
+ paypal_v2_order_payment_source_common_attributes_verification: {
8795
9095
  method: string;
8796
9096
  };
8797
- swag_paypal_v2_order_payment_source_common_experience_context: {
9097
+ paypal_v2_order_payment_source_common_experience_context: {
8798
9098
  brand_name: string;
8799
9099
  cancel_url: string;
8800
9100
  /** Only: PUI */
@@ -8826,352 +9126,369 @@ export type Schemas = {
8826
9126
  */
8827
9127
  user_action?: "CONTINUE" | "PAY_NOW";
8828
9128
  };
8829
- swag_paypal_v2_order_payment_source_common_phone: {
8830
- phone_number: components["schemas"]["swag_paypal_v2_common_phone_number"];
9129
+ paypal_v2_order_payment_source_common_phone: {
9130
+ phone_number: components["schemas"]["paypal_v2_common_phone_number"];
8831
9131
  phone_type: string;
8832
9132
  };
8833
- swag_paypal_v2_order_payment_source_eps: {
8834
- country_code: string;
8835
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
8836
- name: string;
8837
- };
8838
- swag_paypal_v2_order_payment_source_giropay: {
9133
+ paypal_v2_order_payment_source_eps: {
8839
9134
  country_code: string;
8840
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9135
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8841
9136
  name: string;
8842
9137
  };
8843
- swag_paypal_v2_order_payment_source_google_pay: {
9138
+ paypal_v2_order_payment_source_google_pay: {
8844
9139
  attributes:
8845
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
9140
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes"]
8846
9141
  | null;
8847
- card:
8848
- | components["schemas"]["swag_paypal_v2_order_payment_source_card"]
8849
- | null;
8850
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9142
+ card: components["schemas"]["paypal_v2_order_payment_source_card"] | null;
9143
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8851
9144
  };
8852
- swag_paypal_v2_order_payment_source_ideal: {
9145
+ paypal_v2_order_payment_source_ideal: {
8853
9146
  country_code: string;
8854
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9147
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8855
9148
  name: string;
8856
9149
  };
8857
- swag_paypal_v2_order_payment_source_multibanco: {
9150
+ paypal_v2_order_payment_source_multibanco: {
8858
9151
  country_code: string;
8859
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9152
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8860
9153
  name: string;
8861
9154
  };
8862
- swag_paypal_v2_order_payment_source_my_bank: {
9155
+ paypal_v2_order_payment_source_my_bank: {
8863
9156
  country_code: string;
8864
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9157
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8865
9158
  name: string;
8866
9159
  };
8867
- swag_paypal_v2_order_payment_source_oxxo: {
9160
+ paypal_v2_order_payment_source_oxxo: {
8868
9161
  country_code: string;
8869
9162
  email: string;
8870
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9163
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8871
9164
  name: string;
8872
9165
  };
8873
- swag_paypal_v2_order_payment_source_p24: {
9166
+ paypal_v2_order_payment_source_p24: {
8874
9167
  country_code: string;
8875
9168
  email: string;
8876
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9169
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8877
9170
  name: string;
8878
9171
  };
8879
- swag_paypal_v2_order_payment_source_pay_upon_invoice: {
8880
- billing_address: components["schemas"]["swag_paypal_v2_common_address"];
9172
+ paypal_v2_order_payment_source_pay_upon_invoice: {
9173
+ billing_address: components["schemas"]["paypal_v2_common_address"];
8881
9174
  birth_date: string;
8882
- deposit_bank_details: components["schemas"]["swag_paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details"];
9175
+ deposit_bank_details: components["schemas"]["paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details"];
8883
9176
  email: string;
8884
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
8885
- name: components["schemas"]["swag_paypal_v2_common_name"];
9177
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
9178
+ name: components["schemas"]["paypal_v2_common_name"];
8886
9179
  payment_reference: string;
8887
- phone: components["schemas"]["swag_paypal_v2_common_phone_number"];
9180
+ phone: components["schemas"]["paypal_v2_common_phone_number"];
8888
9181
  };
8889
- swag_paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details: {
9182
+ paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details: {
8890
9183
  account_holder_name: string;
8891
9184
  bank_name: string;
8892
9185
  bic: string;
8893
9186
  iban: string;
8894
9187
  };
8895
- swag_paypal_v2_order_payment_source_paypal: {
9188
+ paypal_v2_order_payment_source_paypal: {
8896
9189
  account_id: string;
8897
- address: components["schemas"]["swag_paypal_v2_common_address"];
9190
+ address: components["schemas"]["paypal_v2_common_address"];
8898
9191
  attributes:
8899
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
9192
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes"]
8900
9193
  | null;
8901
9194
  billing_agreement_id: string;
8902
9195
  birth_date: string;
8903
9196
  email_address: string;
8904
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
8905
- name: components["schemas"]["swag_paypal_v2_common_name"];
8906
- phone_number:
8907
- | components["schemas"]["swag_paypal_v2_common_phone_number"]
8908
- | null;
9197
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
9198
+ name: components["schemas"]["paypal_v2_common_name"];
9199
+ phone_number: components["schemas"]["paypal_v2_common_phone_number"] | null;
8909
9200
  phone_type: string;
8910
9201
  vault_id: string;
8911
9202
  };
8912
- swag_paypal_v2_order_payment_source_sofort: {
8913
- country_code: string;
8914
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
8915
- name: string;
8916
- };
8917
- swag_paypal_v2_order_payment_source_token: {
8918
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9203
+ paypal_v2_order_payment_source_token: {
9204
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8919
9205
  id: string;
8920
- stored_payment_source: components["schemas"]["swag_paypal_v2_order_payment_source_token_stored_payment_source"];
9206
+ stored_payment_source: components["schemas"]["paypal_v2_order_payment_source_token_stored_payment_source"];
8921
9207
  type: string;
8922
9208
  };
8923
- swag_paypal_v2_order_payment_source_token_stored_payment_source: {
9209
+ paypal_v2_order_payment_source_token_stored_payment_source: {
8924
9210
  payment_initiator: string;
8925
9211
  payment_type: string;
8926
9212
  usage: string;
8927
9213
  };
8928
- swag_paypal_v2_order_payment_source_trustly: {
9214
+ paypal_v2_order_payment_source_trustly: {
8929
9215
  country_code: string;
8930
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
9216
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
8931
9217
  name: string;
8932
9218
  };
8933
- swag_paypal_v2_order_payment_source_venmo: {
9219
+ paypal_v2_order_payment_source_venmo: {
8934
9220
  account_id: string;
8935
- address: components["schemas"]["swag_paypal_v2_common_address"];
9221
+ address: components["schemas"]["paypal_v2_common_address"];
8936
9222
  attributes:
8937
- | components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
9223
+ | components["schemas"]["paypal_v2_order_payment_source_common_attributes"]
8938
9224
  | null;
8939
9225
  email_address: string;
8940
- experience_context: components["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
8941
- name: components["schemas"]["swag_paypal_v2_common_name"];
8942
- phone_number:
8943
- | components["schemas"]["swag_paypal_v2_common_phone_number"]
8944
- | null;
9226
+ experience_context: components["schemas"]["paypal_v2_order_payment_source_common_experience_context"];
9227
+ name: components["schemas"]["paypal_v2_common_name"];
9228
+ phone_number: components["schemas"]["paypal_v2_common_phone_number"] | null;
8945
9229
  user_name: string;
8946
9230
  vault_id: string;
8947
9231
  };
8948
- swag_paypal_v2_order_purchase_unit: {
8949
- amount: components["schemas"]["swag_paypal_v2_order_purchase_unit_amount"];
9232
+ paypal_v2_order_purchase_unit: {
9233
+ amount: components["schemas"]["paypal_v2_order_purchase_unit_amount"];
8950
9234
  custom_id: string | null;
8951
9235
  description: string;
8952
9236
  invoice_id: string | null;
8953
- items:
8954
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_item"][]
8955
- | null;
8956
- payee: components["schemas"]["swag_paypal_v2_order_purchase_unit_payee"];
9237
+ items: components["schemas"]["paypal_v2_order_purchase_unit_item"][] | null;
9238
+ payee: components["schemas"]["paypal_v2_order_purchase_unit_payee"];
8957
9239
  payments:
8958
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments"]
9240
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments"]
8959
9241
  | null;
8960
9242
  reference_id: string;
8961
- shipping: components["schemas"]["swag_paypal_v2_order_purchase_unit_shipping"];
9243
+ shipping: components["schemas"]["paypal_v2_order_purchase_unit_shipping"];
8962
9244
  };
8963
- swag_paypal_v2_order_purchase_unit_amount: components["schemas"]["swag_paypal_v2_common_money"] & {
9245
+ paypal_v2_order_purchase_unit_amount: components["schemas"]["paypal_v2_common_money"] & {
8964
9246
  breakdown:
8965
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_amount_breakdown"]
9247
+ | components["schemas"]["paypal_v2_order_purchase_unit_amount_breakdown"]
8966
9248
  | null;
8967
9249
  };
8968
- swag_paypal_v2_order_purchase_unit_amount_breakdown: {
8969
- discount: components["schemas"]["swag_paypal_v2_common_money"];
8970
- handling: components["schemas"]["swag_paypal_v2_common_money"];
8971
- insurance: components["schemas"]["swag_paypal_v2_common_money"];
8972
- item_total: components["schemas"]["swag_paypal_v2_common_money"];
8973
- shipping: components["schemas"]["swag_paypal_v2_common_money"];
8974
- shipping_discount: components["schemas"]["swag_paypal_v2_common_money"];
8975
- tax_total: components["schemas"]["swag_paypal_v2_common_money"] | null;
9250
+ paypal_v2_order_purchase_unit_amount_breakdown: {
9251
+ discount: components["schemas"]["paypal_v2_common_money"];
9252
+ handling: components["schemas"]["paypal_v2_common_money"];
9253
+ insurance: components["schemas"]["paypal_v2_common_money"];
9254
+ item_total: components["schemas"]["paypal_v2_common_money"];
9255
+ shipping: components["schemas"]["paypal_v2_common_money"];
9256
+ shipping_discount: components["schemas"]["paypal_v2_common_money"];
9257
+ tax_total: components["schemas"]["paypal_v2_common_money"] | null;
8976
9258
  };
8977
- swag_paypal_v2_order_purchase_unit_item: {
9259
+ paypal_v2_order_purchase_unit_item: {
8978
9260
  /** @enum {string} */
8979
9261
  category: "PHYSICAL_GOODS" | "DIGITAL_GOODS" | "DONATION";
8980
9262
  name: string;
8981
9263
  quantity: number;
8982
9264
  sku: string | null;
8983
- tax: components["schemas"]["swag_paypal_v2_common_money"];
9265
+ tax: components["schemas"]["paypal_v2_common_money"];
8984
9266
  tax_rate: string | number | Record<string, never>;
8985
- unit_amount: components["schemas"]["swag_paypal_v2_common_money"];
9267
+ unit_amount: components["schemas"]["paypal_v2_common_money"];
8986
9268
  };
8987
- swag_paypal_v2_order_purchase_unit_payee: {
8988
- display_data: components["schemas"]["swag_paypal_v2_order_purchase_unit_payee_display_data"];
9269
+ paypal_v2_order_purchase_unit_payee: {
9270
+ display_data: components["schemas"]["paypal_v2_order_purchase_unit_payee_display_data"];
8989
9271
  email_address: string;
8990
9272
  merchant_id: string;
8991
9273
  };
8992
- swag_paypal_v2_order_purchase_unit_payee_display_data: {
9274
+ paypal_v2_order_purchase_unit_payee_display_data: {
8993
9275
  brand_name: string;
8994
9276
  };
8995
- swag_paypal_v2_order_purchase_unit_payments: {
9277
+ paypal_v2_order_purchase_unit_payments: {
8996
9278
  authorizations:
8997
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_authorization"][]
9279
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_authorization"][]
8998
9280
  | null;
8999
9281
  captures:
9000
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture"][]
9282
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_capture"][]
9001
9283
  | null;
9002
9284
  refunds:
9003
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund"][]
9285
+ | components["schemas"]["paypal_v2_order_purchase_unit_payments_refund"][]
9004
9286
  | null;
9005
9287
  };
9006
- swag_paypal_v2_order_purchase_unit_payments_authorization: {
9007
- amount: components["schemas"]["swag_paypal_v2_common_money"] | null;
9288
+ paypal_v2_order_purchase_unit_payments_authorization: {
9289
+ amount: components["schemas"]["paypal_v2_common_money"] | null;
9008
9290
  create_time: string;
9009
9291
  custom_id: string | null;
9010
9292
  expiration_time: string;
9011
9293
  id: string;
9012
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9013
- seller_protection: components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_common_seller_protection"];
9294
+ links: components["schemas"]["paypal_v2_common_link"][];
9295
+ seller_protection: components["schemas"]["paypal_v2_order_purchase_unit_payments_common_seller_protection"];
9014
9296
  status: string;
9015
9297
  update_time: string;
9016
9298
  };
9017
- swag_paypal_v2_order_purchase_unit_payments_authorization_seller_protection: {
9299
+ paypal_v2_order_purchase_unit_payments_authorization_seller_protection: {
9018
9300
  dispute_categories: string[];
9019
9301
  status: string;
9020
9302
  };
9021
- swag_paypal_v2_order_purchase_unit_payments_capture: {
9022
- amount: components["schemas"]["swag_paypal_v2_common_money"] | null;
9303
+ paypal_v2_order_purchase_unit_payments_capture: {
9304
+ amount: components["schemas"]["paypal_v2_common_money"] | null;
9023
9305
  create_time: string;
9024
9306
  custom_id: string | null;
9025
9307
  disbursement_mode: string;
9026
9308
  final_capture: boolean;
9027
9309
  id: string;
9028
9310
  invoice_id: string | null;
9029
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9311
+ links: components["schemas"]["paypal_v2_common_link"][];
9030
9312
  note_to_payer: string | null;
9031
- processor_response: components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture_processor_response"];
9032
- seller_protection: components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_common_seller_protection"];
9033
- seller_receivable_breakdown: components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown"];
9313
+ processor_response: components["schemas"]["paypal_v2_order_purchase_unit_payments_capture_processor_response"];
9314
+ seller_protection: components["schemas"]["paypal_v2_order_purchase_unit_payments_common_seller_protection"];
9315
+ seller_receivable_breakdown: components["schemas"]["paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown"];
9034
9316
  status: string;
9035
9317
  update_time: string;
9036
9318
  };
9037
- swag_paypal_v2_order_purchase_unit_payments_capture_processor_response: {
9319
+ paypal_v2_order_purchase_unit_payments_capture_processor_response: {
9038
9320
  avs_code: string | null;
9039
9321
  cvv_code: string | null;
9040
9322
  response_code: string | null;
9041
9323
  };
9042
- swag_paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown: {
9043
- gross_amount: components["schemas"]["swag_paypal_v2_common_money"];
9044
- net_amount: components["schemas"]["swag_paypal_v2_common_money"];
9045
- paypal_fee: components["schemas"]["swag_paypal_v2_common_money"];
9324
+ paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown: {
9325
+ gross_amount: components["schemas"]["paypal_v2_common_money"];
9326
+ net_amount: components["schemas"]["paypal_v2_common_money"];
9327
+ paypal_fee: components["schemas"]["paypal_v2_common_money"];
9046
9328
  };
9047
- swag_paypal_v2_order_purchase_unit_payments_common_seller_protection: {
9329
+ paypal_v2_order_purchase_unit_payments_common_seller_protection: {
9048
9330
  dispute_categories: string[];
9049
9331
  status: string;
9050
9332
  };
9051
- swag_paypal_v2_order_purchase_unit_payments_refund: {
9052
- amount: components["schemas"]["swag_paypal_v2_common_money"] | null;
9333
+ paypal_v2_order_purchase_unit_payments_refund: {
9334
+ amount: components["schemas"]["paypal_v2_common_money"] | null;
9053
9335
  create_time: string;
9054
9336
  custom_id: string | null;
9055
9337
  id: string;
9056
9338
  invoice_id: string | null;
9057
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9339
+ links: components["schemas"]["paypal_v2_common_link"][];
9058
9340
  note_to_payer: string | null;
9059
- seller_payable_breakdown: components["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown"];
9341
+ seller_payable_breakdown: components["schemas"]["paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown"];
9060
9342
  status: string;
9061
9343
  update_time: string;
9062
9344
  };
9063
- swag_paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown: {
9064
- gross_amount: components["schemas"]["swag_paypal_v2_common_money"];
9065
- net_amount: components["schemas"]["swag_paypal_v2_common_money"];
9066
- paypal_fee: components["schemas"]["swag_paypal_v2_common_money"];
9067
- total_refunded_amount: components["schemas"]["swag_paypal_v2_common_money"];
9345
+ paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown: {
9346
+ gross_amount: components["schemas"]["paypal_v2_common_money"];
9347
+ net_amount: components["schemas"]["paypal_v2_common_money"];
9348
+ paypal_fee: components["schemas"]["paypal_v2_common_money"];
9349
+ total_refunded_amount: components["schemas"]["paypal_v2_common_money"];
9068
9350
  };
9069
- swag_paypal_v2_order_purchase_unit_shipping: {
9070
- address: components["schemas"]["swag_paypal_v2_common_address"];
9071
- name: components["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_name"];
9351
+ paypal_v2_order_purchase_unit_shipping: {
9352
+ address: components["schemas"]["paypal_v2_common_address"];
9353
+ name: components["schemas"]["paypal_v2_order_purchase_unit_shipping_name"];
9072
9354
  trackers:
9073
- | components["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_tracker"][]
9355
+ | components["schemas"]["paypal_v2_order_purchase_unit_shipping_tracker"][]
9074
9356
  | null;
9075
9357
  };
9076
- swag_paypal_v2_order_purchase_unit_shipping_name: {
9358
+ paypal_v2_order_purchase_unit_shipping_name: {
9077
9359
  full_name: string;
9078
9360
  };
9079
- swag_paypal_v2_order_purchase_unit_shipping_tracker: {
9361
+ paypal_v2_order_purchase_unit_shipping_tracker: {
9080
9362
  id: string;
9081
- items: components["schemas"]["swag_paypal_v2_order_purchase_unit_item"][];
9082
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9363
+ items: components["schemas"]["paypal_v2_order_purchase_unit_item"][];
9364
+ links: components["schemas"]["paypal_v2_common_link"][];
9083
9365
  notify_payer: boolean;
9084
9366
  status: string;
9085
9367
  };
9086
- swag_paypal_v2_order_purchase_unit_shipping_tracker_item: {
9368
+ paypal_v2_order_purchase_unit_shipping_tracker_item: {
9087
9369
  image_url: string | null;
9088
9370
  name: string;
9089
9371
  quantity: number;
9090
9372
  sku: string | null;
9091
9373
  url: string | null;
9092
9374
  };
9093
- swag_paypal_v2_order_tracker: {
9375
+ paypal_v2_order_tracker: {
9094
9376
  capture_id: string;
9095
9377
  carrier: string;
9096
9378
  carrier_name_other: string | null;
9097
- items: components["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_tracker_item"][];
9379
+ items: components["schemas"]["paypal_v2_order_purchase_unit_shipping_tracker_item"][];
9098
9380
  /** @default false */
9099
9381
  notify_payer?: boolean;
9100
9382
  tracking_number: string;
9101
9383
  };
9102
- swag_paypal_v2_patch: {
9384
+ paypal_v2_patch: {
9103
9385
  from: string;
9104
9386
  op: string;
9105
9387
  path: string;
9106
9388
  value:
9107
- | (
9108
- | number
9109
- | Record<string, never>
9110
- | string
9111
- | boolean
9112
- | Record<string, never>[]
9113
- )
9389
+ | ([] &
9390
+ (
9391
+ | number
9392
+ | Record<string, never>
9393
+ | string
9394
+ | boolean
9395
+ | Record<string, never>[]
9396
+ ))
9114
9397
  | null;
9115
9398
  };
9116
- swag_paypal_v2_referral: {
9117
- business_entity: components["schemas"]["swag_paypal_v2_referral_business_entity"];
9399
+ paypal_v2_referral: {
9400
+ business_entity: components["schemas"]["paypal_v2_referral_business_entity"];
9118
9401
  capabilities: string[];
9119
- legal_consents: components["schemas"]["swag_paypal_v2_referral_legal_consent"][];
9120
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9121
- operations: components["schemas"]["swag_paypal_v2_referral_operation"][];
9122
- partner_config_override: components["schemas"]["swag_paypal_v2_referral_partner_config_override"];
9402
+ legal_consents: components["schemas"]["paypal_v2_referral_legal_consent"][];
9403
+ links: components["schemas"]["paypal_v2_common_link"][];
9404
+ operations: components["schemas"]["paypal_v2_referral_operation"][];
9405
+ partner_config_override: components["schemas"]["paypal_v2_referral_partner_config_override"];
9123
9406
  preferred_language_code: string;
9124
9407
  products: string[];
9125
9408
  tracking_id: string;
9126
9409
  };
9127
- swag_paypal_v2_referral_business_entity: {
9128
- addresses: components["schemas"]["swag_paypal_v2_referral_business_entity_address"][];
9410
+ paypal_v2_referral_business_entity: {
9411
+ addresses: components["schemas"]["paypal_v2_referral_business_entity_address"][];
9129
9412
  };
9130
- swag_paypal_v2_referral_business_entity_address: {
9413
+ paypal_v2_referral_business_entity_address: {
9131
9414
  country_code: string;
9132
9415
  /** @default WORK */
9133
9416
  type?: string;
9134
9417
  };
9135
- swag_paypal_v2_referral_legal_consent: {
9418
+ paypal_v2_referral_legal_consent: {
9136
9419
  granted: boolean;
9137
9420
  /** @default SHARE_DATA_CONSENT */
9138
9421
  type?: string;
9139
9422
  };
9140
- swag_paypal_v2_referral_operation: {
9141
- api_integration_preference: components["schemas"]["swag_paypal_v2_referral_operation_integration_preference"];
9423
+ paypal_v2_referral_operation: {
9424
+ api_integration_preference: components["schemas"]["paypal_v2_referral_operation_api_integration_preference"];
9142
9425
  /** @default API_INTEGRATION */
9143
9426
  operation?: string;
9144
9427
  };
9145
- swag_paypal_v2_referral_operation_integration_preference: {
9146
- rest_api_integration: components["schemas"]["swag_paypal_v2_referral_operation_integration_preference_integration"];
9428
+ paypal_v2_referral_operation_api_integration_preference: {
9429
+ rest_api_integration: components["schemas"]["paypal_v2_referral_operation_api_integration_preference_rest_api_integration"];
9147
9430
  };
9148
- swag_paypal_v2_referral_operation_integration_preference_integration: {
9431
+ paypal_v2_referral_operation_api_integration_preference_rest_api_integration: {
9149
9432
  /** @default PAYPAL */
9150
9433
  integration_method?: string;
9151
9434
  /** @default THIRD_PARTY */
9152
9435
  integration_type?: string;
9153
- third_party_details: components["schemas"]["swag_paypal_v2_referral_operation_integration_preference_integration_third_party_details"];
9436
+ third_party_details: components["schemas"]["paypal_v2_referral_operation_api_integration_preference_rest_api_integration_third_party_details"];
9154
9437
  };
9155
- swag_paypal_v2_referral_operation_integration_preference_integration_third_party_details: {
9438
+ paypal_v2_referral_operation_api_integration_preference_rest_api_integration_third_party_details: {
9156
9439
  features: string[];
9157
9440
  };
9158
- swag_paypal_v2_referral_partner_config_override: {
9441
+ paypal_v2_referral_partner_config_override: {
9159
9442
  partner_logo_url: string;
9160
9443
  return_url: string;
9161
9444
  };
9162
- swag_paypal_v3_payment_token: {
9163
- customer: components["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"];
9445
+ paypal_v3_payment_token: {
9446
+ customer: components["schemas"]["paypal_v2_order_payment_source_common_attributes_customer"];
9164
9447
  id: string;
9165
- links: components["schemas"]["swag_paypal_v2_common_link"][];
9166
- metadata:
9167
- | components["schemas"]["swag_paypal_v3_payment_token_metadata"]
9168
- | null;
9169
- payment_source: components["schemas"]["swag_paypal_v2_order_payment_source"];
9448
+ links: components["schemas"]["paypal_v2_common_link"][];
9449
+ metadata: components["schemas"]["paypal_v3_payment_token_metadata"] | null;
9450
+ payment_source: components["schemas"]["paypal_v2_order_payment_source"];
9170
9451
  status: string;
9171
9452
  };
9172
- swag_paypal_v3_payment_token_metadata: {
9453
+ paypal_v3_payment_token_metadata: {
9173
9454
  order_id: string;
9174
9455
  };
9456
+ relationshipLinks: {
9457
+ related?: components["schemas"]["link"];
9458
+ self?: GenericRecord[] & components["schemas"]["link"];
9459
+ } & {
9460
+ [key: string]: unknown;
9461
+ };
9462
+ relationshipToMany: components["schemas"]["linkage"][];
9463
+ relationshipToOne: unknown & components["schemas"]["linkage"];
9464
+ relationships:
9465
+ | unknown
9466
+ | unknown
9467
+ | unknown
9468
+ | {
9469
+ /** Member, whose value represents "resource linkage". */
9470
+ data?:
9471
+ | components["schemas"]["relationshipToOne"]
9472
+ | components["schemas"]["relationshipToMany"];
9473
+ links?: components["schemas"]["relationshipLinks"];
9474
+ };
9475
+ resource: {
9476
+ attributes?: components["schemas"]["attributes"];
9477
+ id: string;
9478
+ links?: components["schemas"]["links"];
9479
+ meta?: components["schemas"]["meta"];
9480
+ relationships?: components["schemas"]["relationships"];
9481
+ type: string;
9482
+ };
9483
+ success: {
9484
+ data: components["schemas"]["data"];
9485
+ /** To reduce the number of HTTP requests, servers **MAY** allow responses that include related resources along with the requested primary resources. Such responses are called "compound documents". */
9486
+ included?: components["schemas"]["resource"][];
9487
+ /** Link members related to the primary data. */
9488
+ links?: components["schemas"]["links"] &
9489
+ components["schemas"]["pagination"];
9490
+ meta?: components["schemas"]["meta"];
9491
+ };
9175
9492
  };
9176
9493
  export type operations = {
9177
9494
  "api-info get /_info/openapi3.json": {
@@ -9339,16 +9656,6 @@ export type operations = {
9339
9656
  response: components["schemas"]["SuccessResponse"];
9340
9657
  responseCode: 200;
9341
9658
  };
9342
- "changePaymentMethod post /account/change-payment-method/{paymentMethodId}": {
9343
- contentType?: "application/json";
9344
- accept?: "application/json";
9345
- pathParams: {
9346
- /** Identifier of the desired default payment method */
9347
- paymentMethodId: string;
9348
- };
9349
- response: components["schemas"]["SuccessResponse"];
9350
- responseCode: 200;
9351
- };
9352
9659
  "changeProfile post /account/change-profile": {
9353
9660
  contentType?: "application/json";
9354
9661
  accept?: "application/json";
@@ -9389,35 +9696,24 @@ export type operations = {
9389
9696
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
9390
9697
  vatIds: [string, ...string[]];
9391
9698
  }
9392
- | {
9393
- /**
9394
- * Type of the customer account. Default value is 'private'.
9395
- * @default private
9396
- * @enum {string}
9397
- */
9398
- accountType?: "private";
9399
- company?: null;
9400
- vatIds?: null;
9401
- }
9402
- | {
9403
- /**
9404
- * Type of the customer account. Can be `private` or `business`.
9405
- * @enum {string}
9406
- */
9407
- accountType: "business";
9408
- /** Company of the customer. Only required when `accountType` is `business`. */
9409
- company: string;
9410
- /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
9411
- vatIds: [string, ...string[]];
9412
- }
9413
9699
  );
9414
9700
  response: components["schemas"]["SuccessResponse"];
9415
9701
  responseCode: 200;
9416
9702
  };
9703
+ "convertGuest post /account/convert-guest": {
9704
+ contentType?: "application/json";
9705
+ accept?: "application/json";
9706
+ body: {
9707
+ /** New Password for the customer */
9708
+ password: string;
9709
+ };
9710
+ response: components["schemas"]["SuccessResponse"];
9711
+ responseCode: 200;
9712
+ };
9417
9713
  "readCustomer post /account/customer": {
9418
9714
  contentType?: "application/json";
9419
9715
  accept?: "application/json";
9420
- body?: components["schemas"]["Criteria"];
9716
+ body?: components["schemas"]["NoneFieldsCriteria"];
9421
9717
  response: components["schemas"]["Customer"];
9422
9718
  responseCode: 200;
9423
9719
  };
@@ -9585,27 +9881,6 @@ export type operations = {
9585
9881
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
9586
9882
  vatIds: [string, ...string[]];
9587
9883
  }
9588
- | {
9589
- /**
9590
- * Type of the customer account. Default value is 'private'.
9591
- * @default private
9592
- * @enum {string}
9593
- */
9594
- accountType?: "private";
9595
- company?: null;
9596
- vatIds?: null;
9597
- }
9598
- | {
9599
- /**
9600
- * Type of the customer account. Can be `private` or `business`.
9601
- * @enum {string}
9602
- */
9603
- accountType: "business";
9604
- /** Company of the customer. Only required when `accountType` is `business`. */
9605
- company: string;
9606
- /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
9607
- vatIds: [string, ...string[]];
9608
- }
9609
9884
  );
9610
9885
  response: components["schemas"]["Customer"];
9611
9886
  responseCode: 200;
@@ -10013,6 +10288,19 @@ export type operations = {
10013
10288
  };
10014
10289
  responseCode: 200;
10015
10290
  };
10291
+ "contextGateway post /context/gateway": {
10292
+ contentType?: "application/json";
10293
+ accept?: "application/json";
10294
+ body: {
10295
+ appName: string;
10296
+ data?: GenericRecord;
10297
+ };
10298
+ response: {
10299
+ /** Define the URL which browser will be redirected to */
10300
+ redirectUrl?: string;
10301
+ };
10302
+ responseCode: 200;
10303
+ };
10016
10304
  "readCountry post /country": {
10017
10305
  contentType?: "application/json";
10018
10306
  accept?: "application/json";
@@ -10049,7 +10337,7 @@ export type operations = {
10049
10337
  /** Instructs Shopware to return the response in the given language. */
10050
10338
  "sw-language-id"?: string;
10051
10339
  };
10052
- body?: components["schemas"]["Criteria"];
10340
+ body?: components["schemas"]["NoneFieldsCriteria"];
10053
10341
  response: components["schemas"]["Currency"][];
10054
10342
  responseCode: 200;
10055
10343
  };
@@ -10123,6 +10411,12 @@ export type operations = {
10123
10411
  response: components["schemas"]["Document"];
10124
10412
  responseCode: 200;
10125
10413
  };
10414
+ "dsrAccountUpdateDefaultInfo post /dsr/account/update-default-info": {
10415
+ contentType?: "application/json";
10416
+ accept?: "application/json";
10417
+ response: components["schemas"]["SuccessResponse"];
10418
+ responseCode: 200;
10419
+ };
10126
10420
  "attendeeRespondInvitation patch /dsr/appointment/{appointmentId}/attendee/respond-invitation": {
10127
10421
  contentType?: "application/json";
10128
10422
  accept?: "application/json";
@@ -10156,6 +10450,37 @@ export type operations = {
10156
10450
  response: unknown;
10157
10451
  responseCode: 200;
10158
10452
  };
10453
+ "getSharingShoppingList get /dsr/appointment/{appointmentId}/shopping-lists": {
10454
+ contentType?: "application/json";
10455
+ accept?: "application/json";
10456
+ pathParams: {
10457
+ /** The appointment id you are joining */
10458
+ appointmentId: string;
10459
+ };
10460
+ response: {
10461
+ /**
10462
+ * The api alias of the API
10463
+ * @default dsr.appointment.load-shopping-lists
10464
+ */
10465
+ apiAlias?: string;
10466
+ /** @example {
10467
+ * "apiAlias": "dsr.appointment.load-shopping-lists",
10468
+ * "data": {
10469
+ * "01938f89c632709ba4d65eb53604bf5b": {
10470
+ * "quantity": "1"
10471
+ * },
10472
+ * "01938f89c8647036a617b7d88e1e24f5": {
10473
+ * "quantity": "1"
10474
+ * },
10475
+ * "01938f8a23d47305b1e289163cea5074": {
10476
+ * "quantity": "1"
10477
+ * }
10478
+ * }
10479
+ * } */
10480
+ data?: GenericRecord;
10481
+ };
10482
+ responseCode: 200;
10483
+ };
10159
10484
  "dsrReadAppointmentSettings get /dsr/appointment/{presentationPath}/basic-setting": {
10160
10485
  contentType?: "application/json";
10161
10486
  accept?: "application/json";
@@ -10175,7 +10500,9 @@ export type operations = {
10175
10500
  };
10176
10501
  body?: {
10177
10502
  /** The name of the attendee */
10178
- attendeeName?: string | null;
10503
+ attendeeName?: string;
10504
+ /** Identifier of the current attendee you want log in as */
10505
+ currentAttendeeId?: string;
10179
10506
  };
10180
10507
  response: components["schemas"]["JoinAppointmentResponse"];
10181
10508
  responseCode: 200;
@@ -10262,7 +10589,9 @@ export type operations = {
10262
10589
  /** CMS section id for which the data is requested */
10263
10590
  sectionId: string;
10264
10591
  };
10265
- body: components["schemas"]["Criteria"];
10592
+ body: components["schemas"]["Criteria"] & {
10593
+ interaction?: boolean;
10594
+ };
10266
10595
  response: components["schemas"]["ProductListingResult"];
10267
10596
  responseCode: 200;
10268
10597
  };
@@ -10287,6 +10616,16 @@ export type operations = {
10287
10616
  };
10288
10617
  responseCode: 200;
10289
10618
  };
10619
+ "dsrLoadCustomerWishlistProductIds post /dsr/customer/wishlist-product-ids": {
10620
+ contentType?: "application/json";
10621
+ accept?: "application/json";
10622
+ response: {
10623
+ /** @default array_struct */
10624
+ apiAlias?: string;
10625
+ wishlistProductIds?: string[];
10626
+ };
10627
+ responseCode: 200;
10628
+ };
10290
10629
  "addInteraction post /dsr/interaction": {
10291
10630
  contentType?: "application/json";
10292
10631
  accept?: "application/json";
@@ -10378,11 +10717,11 @@ export type operations = {
10378
10717
  } & components["schemas"]["EntitySearchResult"];
10379
10718
  responseCode: 200;
10380
10719
  };
10381
- "readEmployee get /employee/{id}": {
10720
+ "readB2bEmployee get /employee/{id}": {
10382
10721
  contentType?: "application/json";
10383
10722
  accept?: "application/json";
10384
10723
  pathParams: {
10385
- /** Identifier of the employee to be fetched */
10724
+ /** Identifier of the employee to be read */
10386
10725
  id: string;
10387
10726
  };
10388
10727
  response: components["schemas"]["B2bEmployee"];
@@ -10523,7 +10862,7 @@ export type operations = {
10523
10862
  /** Identifier of the root category for your desired navigation tree. You can use it to fetch sub-trees of your navigation tree. */
10524
10863
  rootId: string | components["schemas"]["NavigationType"];
10525
10864
  };
10526
- body: components["schemas"]["Criteria"] & {
10865
+ body: components["schemas"]["NoneFieldsCriteria"] & {
10527
10866
  /** Return the categories as a tree or as a flat list. */
10528
10867
  buildTree?: GenericRecord[];
10529
10868
  /**
@@ -10596,9 +10935,24 @@ export type operations = {
10596
10935
  /** Instructs Shopware to return the response in the given language. */
10597
10936
  "sw-language-id"?: string;
10598
10937
  };
10599
- body: components["schemas"]["Criteria"] & {
10938
+ body: components["schemas"]["NoneFieldsCriteria"] & {
10600
10939
  /** Check if the payment method of the order is still changeable. */
10601
10940
  checkPromotion?: boolean;
10941
+ /**
10942
+ * Format: email
10943
+ * The email address of the customer. Pass this value to allow for guest user authentification. Not required, if a user (guest or not) is already logged in.
10944
+ */
10945
+ email?: string;
10946
+ /** Pass the deepLinkCode criteria filter to allow for guest user authentification. Not required, if a user (guest or not) is already logged in. */
10947
+ filter?: {
10948
+ /** @enum {string} */
10949
+ field: "deepLinkCode";
10950
+ /** @enum {string} */
10951
+ type: "equals";
10952
+ value: string;
10953
+ }[];
10954
+ /** The zip/postal code of the billing address of the customer. Pass this value to allow for guest user authentification. Not required, if a user (guest or not) is already logged in. */
10955
+ zipcode?: string;
10602
10956
  };
10603
10957
  response: components["schemas"]["OrderRouteResponse"];
10604
10958
  responseCode: 200;
@@ -10647,6 +11001,87 @@ export type operations = {
10647
11001
  response: components["schemas"]["StateMachineState"];
10648
11002
  responseCode: 200;
10649
11003
  };
11004
+ "createOrganizationUnit post /organization-unit": {
11005
+ contentType?: "application/json";
11006
+ accept?: "application/json";
11007
+ body: {
11008
+ /** Identifier (UUID) of the addresses for billing. */
11009
+ billingAddressIds: unknown[][];
11010
+ /** Identifier (UUID) of the default billing address */
11011
+ defaultBillingAddressId: string;
11012
+ /** Identifier (UUID) of the default shipping address */
11013
+ defaultShippingAddressId: string;
11014
+ /** Identifier (UUID) of employees. */
11015
+ employeeIds?: string[];
11016
+ /** Organization unit name */
11017
+ name: string;
11018
+ /** Identifier (UUID) of the payment methods. */
11019
+ paymentMethodIds: string[];
11020
+ /** Identifier (UUID) of the addresses for shipping. */
11021
+ shippingAddressIds: unknown[][];
11022
+ /** Identifier (UUID) of the shipping methods. */
11023
+ shippingMethodIds: string[];
11024
+ };
11025
+ response: never;
11026
+ responseCode: 201;
11027
+ };
11028
+ "removeOrganizationUnits delete /organization-unit": {
11029
+ contentType?: "application/json";
11030
+ accept?: "application/json";
11031
+ body: {
11032
+ /** Organization Unit ids */
11033
+ ids: string[];
11034
+ };
11035
+ response: never;
11036
+ responseCode: 204;
11037
+ };
11038
+ "readOrganizationUnit post /organization-unit/{id}": {
11039
+ contentType?: "application/json";
11040
+ accept?: "application/json";
11041
+ pathParams: {
11042
+ /** Identifier of the Organization Unit to be fetched */
11043
+ id: string;
11044
+ };
11045
+ response: components["schemas"]["B2bComponentsOrganization"];
11046
+ responseCode: 200;
11047
+ };
11048
+ "updateOrganizationUnit patch /organization-unit/{id}": {
11049
+ contentType?: "application/json";
11050
+ accept?: "application/json";
11051
+ pathParams: {
11052
+ /** Identifier of the Organization Unit to be fetched */
11053
+ id: string;
11054
+ };
11055
+ body: {
11056
+ /** Identifier (UUID) of the addresses for billing. */
11057
+ billingAddressIds?: unknown[][];
11058
+ /** Identifier (UUID) of the default billing address */
11059
+ defaultBillingAddressId?: string;
11060
+ /** Identifier (UUID) of the default shipping address */
11061
+ defaultShippingAddressId?: string;
11062
+ /** Identifier (UUID) of employees. */
11063
+ employeeIds?: string[];
11064
+ /** Organization unit name */
11065
+ name?: string;
11066
+ /** Identifier (UUID) of the payment methods. */
11067
+ paymentMethodIds?: string[];
11068
+ /** Identifier (UUID) of the addresses for shipping. */
11069
+ shippingAddressIds?: unknown[][];
11070
+ /** Identifier (UUID) of the shipping methods. */
11071
+ shippingMethodIds?: string[];
11072
+ };
11073
+ response: never;
11074
+ responseCode: 201;
11075
+ };
11076
+ "readOrganizationUnits post /organization-units": {
11077
+ contentType?: "application/json";
11078
+ accept?: "application/json";
11079
+ body?: components["schemas"]["Criteria"];
11080
+ response: {
11081
+ elements?: components["schemas"]["B2bComponentsOrganization"][];
11082
+ } & components["schemas"]["EntitySearchResult"];
11083
+ responseCode: 200;
11084
+ };
10650
11085
  "readPaymentMethod post /payment-method": {
10651
11086
  contentType?: "application/json";
10652
11087
  accept?: "application/json";
@@ -10747,6 +11182,7 @@ export type operations = {
10747
11182
  /** Identifier of the pending order to be fetched */
10748
11183
  id: string;
10749
11184
  };
11185
+ body?: components["schemas"]["Criteria"];
10750
11186
  response: components["schemas"]["PendingOrder"];
10751
11187
  responseCode: 200;
10752
11188
  };
@@ -10792,7 +11228,23 @@ export type operations = {
10792
11228
  response: never;
10793
11229
  responseCode: 204;
10794
11230
  };
10795
- "requestOrderApproval post /pending-order/request": {
11231
+ "fetchPendingOrderPaymentMethods post /pending-order/{id}/payment-method": {
11232
+ contentType?: "application/json";
11233
+ accept?: "application/json";
11234
+ pathParams: {
11235
+ /** Identifier of the pending order to be fetched */
11236
+ id: string;
11237
+ };
11238
+ response: {
11239
+ /** aggregation result */
11240
+ aggregations?: GenericRecord;
11241
+ elements?: components["schemas"]["PaymentMethod"][];
11242
+ /** Total amount */
11243
+ total?: number;
11244
+ };
11245
+ responseCode: 200;
11246
+ };
11247
+ "requestOrderApproval post /pending-orders/request": {
10796
11248
  contentType?: "application/json";
10797
11249
  accept?: "application/json";
10798
11250
  body?: {
@@ -10868,6 +11320,10 @@ export type operations = {
10868
11320
  /** Instructs Shopware to return the response in the given language. */
10869
11321
  "sw-language-id"?: string;
10870
11322
  };
11323
+ query?: {
11324
+ /** The page number to fetch. */
11325
+ p?: number;
11326
+ };
10871
11327
  pathParams: {
10872
11328
  /** Identifier of a category. */
10873
11329
  categoryId: string;
@@ -10890,7 +11346,7 @@ export type operations = {
10890
11346
  /** Product ID */
10891
11347
  productId: string;
10892
11348
  };
10893
- body?: components["schemas"]["Criteria"];
11349
+ body?: components["schemas"]["NoneFieldsCriteria"];
10894
11350
  response: components["schemas"]["ProductDetailResponse"];
10895
11351
  responseCode: 200;
10896
11352
  };
@@ -10922,8 +11378,11 @@ export type operations = {
10922
11378
  productId: string;
10923
11379
  };
10924
11380
  body: {
10925
- /** The options parameter for the variant to find. */
10926
- options: string[];
11381
+ options:
11382
+ | string[]
11383
+ | {
11384
+ [key: string]: string;
11385
+ };
10927
11386
  /** The id of the option group that has been switched. */
10928
11387
  switchedGroup?: string;
10929
11388
  };
@@ -11287,9 +11746,13 @@ export type operations = {
11287
11746
  /** Instructs Shopware to return the response in the given language. */
11288
11747
  "sw-language-id"?: string;
11289
11748
  };
11749
+ query?: {
11750
+ /** The page number to fetch. */
11751
+ p?: number;
11752
+ };
11290
11753
  body: {
11291
11754
  /** Using the search parameter, the server performs a text search on all records based on their data model and weighting as defined in the entity definition using the SearchRanking flag. */
11292
- search: string;
11755
+ search?: string;
11293
11756
  } & components["schemas"]["ProductListingCriteria"] &
11294
11757
  components["schemas"]["ProductListingFlags"];
11295
11758
  response: components["schemas"]["ProductListingResult"];
@@ -11302,10 +11765,15 @@ export type operations = {
11302
11765
  /** Instructs Shopware to return the response in the given language. */
11303
11766
  "sw-language-id"?: string;
11304
11767
  };
11768
+ query?: {
11769
+ /** The page number to fetch. */
11770
+ p?: number;
11771
+ };
11305
11772
  body: {
11306
11773
  /** Using the search parameter, the server performs a text search on all records based on their data model and weighting as defined in the entity definition using the SearchRanking flag. */
11307
11774
  search: string;
11308
- } & components["schemas"]["ProductListingFlags"];
11775
+ } & components["schemas"]["ProductListingCriteria"] &
11776
+ components["schemas"]["ProductListingFlags"];
11309
11777
  response: components["schemas"]["ProductListingResult"];
11310
11778
  responseCode: 200;
11311
11779
  };