@paynow-gg/typescript-sdk 1.0.18 → 1.0.20
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.
- package/dist/generated/management.d.ts +127 -0
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js +8 -0
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +2 -0
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -2195,6 +2224,10 @@ export interface components {
|
|
|
2195
2224
|
/** Format: date-time */
|
|
2196
2225
|
ends_at?: string;
|
|
2197
2226
|
};
|
|
2227
|
+
CreateStorePaymentSettingsDto: {
|
|
2228
|
+
show_all_payment_methods_for_subscriptions: boolean;
|
|
2229
|
+
store_tax_inclusive_pricing: boolean;
|
|
2230
|
+
};
|
|
2198
2231
|
CreateTrialEligibilityOverrideDto: {
|
|
2199
2232
|
product_id: components["schemas"]["FlakeId"];
|
|
2200
2233
|
/** Format: date-time */
|
|
@@ -4308,6 +4341,26 @@ export interface components {
|
|
|
4308
4341
|
*/
|
|
4309
4342
|
price: number;
|
|
4310
4343
|
};
|
|
4344
|
+
/** @description Store payment configuration settings. */
|
|
4345
|
+
StorePaymentSettingsDto: {
|
|
4346
|
+
/** @description Whether to show all available payment methods for subscription purchases. */
|
|
4347
|
+
show_all_payment_methods_for_subscriptions: boolean;
|
|
4348
|
+
/** @description Whether store pricing is tax-inclusive. */
|
|
4349
|
+
store_tax_inclusive_pricing: boolean;
|
|
4350
|
+
/**
|
|
4351
|
+
* Format: int64
|
|
4352
|
+
* @description Maximum checkout amount allowed in cents.
|
|
4353
|
+
*/
|
|
4354
|
+
max_checkout_amount: number;
|
|
4355
|
+
/** @description Whether to force 3D Secure authentication for all transactions. */
|
|
4356
|
+
force_3d_secure: boolean;
|
|
4357
|
+
chargeback_coverage: components["schemas"]["ChargebackCoverageTypeDto"];
|
|
4358
|
+
/**
|
|
4359
|
+
* Format: int64
|
|
4360
|
+
* @description Maximum per-transaction chargeback coverage amount in cents.
|
|
4361
|
+
*/
|
|
4362
|
+
chargeback_coverage_max_amount?: number | null;
|
|
4363
|
+
};
|
|
4311
4364
|
StorePricingRegionOverrideDto: {
|
|
4312
4365
|
/** Format: int64 */
|
|
4313
4366
|
default_price_multiplier?: number | null;
|
|
@@ -4817,6 +4870,10 @@ export interface components {
|
|
|
4817
4870
|
/** Format: date-time */
|
|
4818
4871
|
ends_at?: string;
|
|
4819
4872
|
};
|
|
4873
|
+
UpdateStorePaymentSettingsDto: {
|
|
4874
|
+
show_all_payment_methods_for_subscriptions?: boolean;
|
|
4875
|
+
store_tax_inclusive_pricing?: boolean;
|
|
4876
|
+
};
|
|
4820
4877
|
UpdateTrialEligibilityOverrideDto: {
|
|
4821
4878
|
product_id?: components["schemas"]["FlakeId"];
|
|
4822
4879
|
/** Format: date-time */
|
|
@@ -8184,6 +8241,68 @@ export interface operations {
|
|
|
8184
8241
|
};
|
|
8185
8242
|
};
|
|
8186
8243
|
};
|
|
8244
|
+
Payments_GetStorePaymentSettings: {
|
|
8245
|
+
parameters: {
|
|
8246
|
+
query?: never;
|
|
8247
|
+
header?: never;
|
|
8248
|
+
path?: never;
|
|
8249
|
+
cookie?: never;
|
|
8250
|
+
};
|
|
8251
|
+
requestBody?: never;
|
|
8252
|
+
responses: {
|
|
8253
|
+
/** @description OK */
|
|
8254
|
+
200: {
|
|
8255
|
+
headers: {
|
|
8256
|
+
[name: string]: unknown;
|
|
8257
|
+
};
|
|
8258
|
+
content: {
|
|
8259
|
+
"application/json": components["schemas"]["StorePaymentSettingsDto"];
|
|
8260
|
+
};
|
|
8261
|
+
};
|
|
8262
|
+
/** @description Error response */
|
|
8263
|
+
default: {
|
|
8264
|
+
headers: {
|
|
8265
|
+
[name: string]: unknown;
|
|
8266
|
+
};
|
|
8267
|
+
content: {
|
|
8268
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8269
|
+
};
|
|
8270
|
+
};
|
|
8271
|
+
};
|
|
8272
|
+
};
|
|
8273
|
+
Payments_UpdateStorePaymentSettings: {
|
|
8274
|
+
parameters: {
|
|
8275
|
+
query?: never;
|
|
8276
|
+
header?: never;
|
|
8277
|
+
path?: never;
|
|
8278
|
+
cookie?: never;
|
|
8279
|
+
};
|
|
8280
|
+
requestBody?: {
|
|
8281
|
+
content: {
|
|
8282
|
+
"application/json": components["schemas"]["UpdateStorePaymentSettingsDto"];
|
|
8283
|
+
"text/json": components["schemas"]["UpdateStorePaymentSettingsDto"];
|
|
8284
|
+
"application/*+json": components["schemas"]["UpdateStorePaymentSettingsDto"];
|
|
8285
|
+
};
|
|
8286
|
+
};
|
|
8287
|
+
responses: {
|
|
8288
|
+
/** @description No Content */
|
|
8289
|
+
204: {
|
|
8290
|
+
headers: {
|
|
8291
|
+
[name: string]: unknown;
|
|
8292
|
+
};
|
|
8293
|
+
content?: never;
|
|
8294
|
+
};
|
|
8295
|
+
/** @description Error response */
|
|
8296
|
+
default: {
|
|
8297
|
+
headers: {
|
|
8298
|
+
[name: string]: unknown;
|
|
8299
|
+
};
|
|
8300
|
+
content: {
|
|
8301
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
8304
|
+
};
|
|
8305
|
+
};
|
|
8187
8306
|
Products_GetProducts: {
|
|
8188
8307
|
parameters: {
|
|
8189
8308
|
query?: never;
|
|
@@ -9838,6 +9957,14 @@ export declare const operationMappings: {
|
|
|
9838
9957
|
readonly method: "GET";
|
|
9839
9958
|
readonly path: "/v1/stores/{storeId}/payments/{paymentId}";
|
|
9840
9959
|
};
|
|
9960
|
+
readonly Payments_GetStorePaymentSettings: {
|
|
9961
|
+
readonly method: "GET";
|
|
9962
|
+
readonly path: "/v1/stores/{storeId}/payments/settings";
|
|
9963
|
+
};
|
|
9964
|
+
readonly Payments_UpdateStorePaymentSettings: {
|
|
9965
|
+
readonly method: "PATCH";
|
|
9966
|
+
readonly path: "/v1/stores/{storeId}/payments/settings";
|
|
9967
|
+
};
|
|
9841
9968
|
readonly Products_GetProducts: {
|
|
9842
9969
|
readonly method: "GET";
|
|
9843
9970
|
readonly path: "/v1/stores/{storeId}/products";
|