@paynow-gg/typescript-sdk 1.0.18 → 1.0.19

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.
@@ -1107,6 +1107,30 @@ export interface paths {
1107
1107
  patch?: never;
1108
1108
  trace?: never;
1109
1109
  };
1110
+ "/v1/stores/{storeId}/payments/settings": {
1111
+ parameters: {
1112
+ query?: never;
1113
+ header?: never;
1114
+ path?: never;
1115
+ cookie?: never;
1116
+ };
1117
+ /**
1118
+ * Get store payment settings
1119
+ * @description Retrieves payment settings for a store.
1120
+ */
1121
+ get: operations["Payments_GetStorePaymentSettings"];
1122
+ put?: never;
1123
+ post?: never;
1124
+ delete?: never;
1125
+ options?: never;
1126
+ head?: never;
1127
+ /**
1128
+ * Updates store payment settings
1129
+ * @description Updates payment settings for a store.
1130
+ */
1131
+ patch: operations["Payments_UpdateStorePaymentSettings"];
1132
+ trace?: never;
1133
+ };
1110
1134
  "/v1/stores/{storeId}/products": {
1111
1135
  parameters: {
1112
1136
  query?: never;
@@ -1895,6 +1919,11 @@ export interface components {
1895
1919
  */
1896
1920
  cashtag: string;
1897
1921
  };
1922
+ /**
1923
+ * @description Defines the type of chargeback coverage provided.
1924
+ * @enum {string}
1925
+ */
1926
+ ChargebackCoverageTypeDto: "unspecified" | "none" | "fraudulent" | "all";
1898
1927
  CheckForBanIDByIdentitiesRequestDto: {
1899
1928
  identities: components["schemas"]["BanIdentityDto"][];
1900
1929
  };
@@ -4308,6 +4337,26 @@ export interface components {
4308
4337
  */
4309
4338
  price: number;
4310
4339
  };
4340
+ /** @description Store payment configuration settings. */
4341
+ StorePaymentSettingsDto: {
4342
+ /** @description Whether to show all available payment methods for subscription purchases. */
4343
+ show_all_payment_methods_for_subscriptions: boolean;
4344
+ /** @description Whether store pricing is tax-inclusive. */
4345
+ store_tax_inclusive_pricing: boolean;
4346
+ /**
4347
+ * Format: int64
4348
+ * @description Maximum checkout amount allowed in cents.
4349
+ */
4350
+ max_checkout_amount: number;
4351
+ /** @description Whether to force 3D Secure authentication for all transactions. */
4352
+ force_3d_secure: boolean;
4353
+ chargeback_coverage: components["schemas"]["ChargebackCoverageTypeDto"];
4354
+ /**
4355
+ * Format: int64
4356
+ * @description Maximum per-transaction chargeback coverage amount in cents.
4357
+ */
4358
+ chargeback_coverage_max_amount?: number | null;
4359
+ };
4311
4360
  StorePricingRegionOverrideDto: {
4312
4361
  /** Format: int64 */
4313
4362
  default_price_multiplier?: number | null;
@@ -8184,6 +8233,68 @@ export interface operations {
8184
8233
  };
8185
8234
  };
8186
8235
  };
8236
+ Payments_GetStorePaymentSettings: {
8237
+ parameters: {
8238
+ query?: never;
8239
+ header?: never;
8240
+ path?: never;
8241
+ cookie?: never;
8242
+ };
8243
+ requestBody?: never;
8244
+ responses: {
8245
+ /** @description OK */
8246
+ 200: {
8247
+ headers: {
8248
+ [name: string]: unknown;
8249
+ };
8250
+ content: {
8251
+ "application/json": components["schemas"]["StorePaymentSettingsDto"];
8252
+ };
8253
+ };
8254
+ /** @description Error response */
8255
+ default: {
8256
+ headers: {
8257
+ [name: string]: unknown;
8258
+ };
8259
+ content: {
8260
+ "application/json": components["schemas"]["PayNowError"];
8261
+ };
8262
+ };
8263
+ };
8264
+ };
8265
+ Payments_UpdateStorePaymentSettings: {
8266
+ parameters: {
8267
+ query?: never;
8268
+ header?: never;
8269
+ path?: never;
8270
+ cookie?: never;
8271
+ };
8272
+ requestBody?: {
8273
+ content: {
8274
+ "application/json": components["schemas"]["StorePaymentSettingsDto"];
8275
+ "text/json": components["schemas"]["StorePaymentSettingsDto"];
8276
+ "application/*+json": components["schemas"]["StorePaymentSettingsDto"];
8277
+ };
8278
+ };
8279
+ responses: {
8280
+ /** @description No Content */
8281
+ 204: {
8282
+ headers: {
8283
+ [name: string]: unknown;
8284
+ };
8285
+ content?: never;
8286
+ };
8287
+ /** @description Error response */
8288
+ default: {
8289
+ headers: {
8290
+ [name: string]: unknown;
8291
+ };
8292
+ content: {
8293
+ "application/json": components["schemas"]["PayNowError"];
8294
+ };
8295
+ };
8296
+ };
8297
+ };
8187
8298
  Products_GetProducts: {
8188
8299
  parameters: {
8189
8300
  query?: never;
@@ -9838,6 +9949,14 @@ export declare const operationMappings: {
9838
9949
  readonly method: "GET";
9839
9950
  readonly path: "/v1/stores/{storeId}/payments/{paymentId}";
9840
9951
  };
9952
+ readonly Payments_GetStorePaymentSettings: {
9953
+ readonly method: "GET";
9954
+ readonly path: "/v1/stores/{storeId}/payments/settings";
9955
+ };
9956
+ readonly Payments_UpdateStorePaymentSettings: {
9957
+ readonly method: "PATCH";
9958
+ readonly path: "/v1/stores/{storeId}/payments/settings";
9959
+ };
9841
9960
  readonly Products_GetProducts: {
9842
9961
  readonly method: "GET";
9843
9962
  readonly path: "/v1/stores/{storeId}/products";