@paynow-gg/typescript-sdk 1.0.33 → 1.0.35

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/client.js CHANGED
@@ -41,7 +41,7 @@ function createClient(operationMappings, defaultHeaders, pathReplacements, optio
41
41
  ...config,
42
42
  url,
43
43
  method: mapping.method,
44
- data: config?.data ?? {},
44
+ data: config?.data ?? undefined
45
45
  });
46
46
  };
47
47
  },
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;AAyFA,oCAmEC;AA5JD,kDAIe;AAqFf,SAAgB,YAAY,CAC1B,iBAAmE,EACnE,cAAuC,EACvC,gBAAyC,EACzC,OAA6B;IAE7B,MAAM,MAAM,GAAG,eAAK,CAAC,MAAM,CAAC;QAC1B,OAAO,EAAE,uBAAuB;QAChC,GAAG,OAAO;QACV,OAAO,EAAE;YACP,cAAc,EAAE,kBAAkB;YAClC,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,EAAE,OAAO;YACnB,GAAG,cAAc;SAClB;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,KAAK,CAAC,EAA0B,EAAE;QAC3C,GAAG,EAAE,CAAC,CAAC,EAAE,IAAY,EAAE,EAAE;YACvB,OAAO,IAAI,KAAK,CACd,EAAE,EACF;gBACE,GAAG,EAAE,CAAC,CAAC,EAAE,UAAkB,EAAE,EAAE;oBAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBAE5D,MAAM,MAAM,GACV,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBAE3D,MAAM,WAAW,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;oBAE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AAK,CAAC,CAAC;4BACxD,CAAC;wBACH,CAAC;wBAED,IAAI,MAAM,EAAE,IAAI,EAAE,CAAC;4BACjB,GAAG,GAAG,GAAG,CAAC,OAAO,CACf,UAAU,EACV,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,GAAG,CAC3C,CAAC;wBACJ,CAAC;wBAED,OAAO,MAAM,CAAC,OAAO,CAAC;4BACpB,GAAG,MAAM;4BACT,GAAG;4BACH,MAAM,EAAE,OAAO,CAAC,MAAM;4BACtB,IAAI,EAAE,MAAM,EAAE,IAAI,IAAI,SAAS;yBAChC,CAAC,CAAC;oBACL,CAAC,CAAC;gBACJ,CAAC;aACF,CACF,CAAC;QACJ,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1067,7 +1067,7 @@ export interface paths {
1067
1067
  patch?: never;
1068
1068
  trace?: never;
1069
1069
  };
1070
- "/v1/stores/{storeId}/payments": {
1070
+ "/v1/stores/{storeId}/payment-method-types": {
1071
1071
  parameters: {
1072
1072
  query?: never;
1073
1073
  header?: never;
@@ -1075,10 +1075,10 @@ export interface paths {
1075
1075
  cookie?: never;
1076
1076
  };
1077
1077
  /**
1078
- * Get payments
1079
- * @description Retrieves all payments for the specified store using the filter specified.
1078
+ * Get store payment method types
1079
+ * @description Retrieves all payment method types associated with a store
1080
1080
  */
1081
- get: operations["Payments_GetPayments"];
1081
+ get: operations["PaymentMethodTypes_GetStorePaymentMethodTypes"];
1082
1082
  put?: never;
1083
1083
  post?: never;
1084
1084
  delete?: never;
@@ -1087,27 +1087,27 @@ export interface paths {
1087
1087
  patch?: never;
1088
1088
  trace?: never;
1089
1089
  };
1090
- "/v1/stores/{storeId}/payments/{paymentId}": {
1090
+ "/v1/stores/{storeId}/payment-method-types/{paymentMethodTypeId}/toggle": {
1091
1091
  parameters: {
1092
1092
  query?: never;
1093
1093
  header?: never;
1094
1094
  path?: never;
1095
1095
  cookie?: never;
1096
1096
  };
1097
- /**
1098
- * Get payment by ID
1099
- * @description Retrieves a payment by an ID.
1100
- */
1101
- get: operations["Payments_GetPaymentById"];
1097
+ get?: never;
1102
1098
  put?: never;
1103
1099
  post?: never;
1104
1100
  delete?: never;
1105
1101
  options?: never;
1106
1102
  head?: never;
1107
- patch?: never;
1103
+ /**
1104
+ * Toggle a store payment method type
1105
+ * @description Enables or disabled a payment method type for a store
1106
+ */
1107
+ patch: operations["PaymentMethodTypes_ToggleStorePaymentMethodType"];
1108
1108
  trace?: never;
1109
1109
  };
1110
- "/v1/stores/{storeId}/payments/settings": {
1110
+ "/v1/stores/{storeId}/payment-settings": {
1111
1111
  parameters: {
1112
1112
  query?: never;
1113
1113
  header?: never;
@@ -1118,7 +1118,7 @@ export interface paths {
1118
1118
  * Get store payment settings
1119
1119
  * @description Retrieves payment settings for a store.
1120
1120
  */
1121
- get: operations["Payments_GetStorePaymentSettings"];
1121
+ get: operations["PaymentSettings_GetStorePaymentSettings"];
1122
1122
  put?: never;
1123
1123
  post?: never;
1124
1124
  delete?: never;
@@ -1128,7 +1128,47 @@ export interface paths {
1128
1128
  * Updates store payment settings
1129
1129
  * @description Updates payment settings for a store.
1130
1130
  */
1131
- patch: operations["Payments_UpdateStorePaymentSettings"];
1131
+ patch: operations["PaymentSettings_UpdateStorePaymentSettings"];
1132
+ trace?: never;
1133
+ };
1134
+ "/v1/stores/{storeId}/payments": {
1135
+ parameters: {
1136
+ query?: never;
1137
+ header?: never;
1138
+ path?: never;
1139
+ cookie?: never;
1140
+ };
1141
+ /**
1142
+ * Get payments
1143
+ * @description Retrieves all payments for the specified store using the filter specified.
1144
+ */
1145
+ get: operations["Payments_GetPayments"];
1146
+ put?: never;
1147
+ post?: never;
1148
+ delete?: never;
1149
+ options?: never;
1150
+ head?: never;
1151
+ patch?: never;
1152
+ trace?: never;
1153
+ };
1154
+ "/v1/stores/{storeId}/payments/{paymentId}": {
1155
+ parameters: {
1156
+ query?: never;
1157
+ header?: never;
1158
+ path?: never;
1159
+ cookie?: never;
1160
+ };
1161
+ /**
1162
+ * Get payment by ID
1163
+ * @description Retrieves a payment by an ID.
1164
+ */
1165
+ get: operations["Payments_GetPaymentById"];
1166
+ put?: never;
1167
+ post?: never;
1168
+ delete?: never;
1169
+ options?: never;
1170
+ head?: never;
1171
+ patch?: never;
1132
1172
  trace?: never;
1133
1173
  };
1134
1174
  "/v1/stores/{storeId}/products": {
@@ -3536,6 +3576,8 @@ export interface components {
3536
3576
  chargeback_at?: null | string;
3537
3577
  last_payment_error?: components["schemas"]["LastPaymentErrorDto"];
3538
3578
  };
3579
+ /** @enum {string} */
3580
+ PaymentGatewayDto: "invalid" | "stripe" | "paypal" | "forumpay" | "steamskins" | "nuvei" | "pagseguro" | "tazapay";
3539
3581
  /** @description Contains detailed information about a payment method.
3540
3582
  * DISCLAIMER: These fields are not guaranteed to be backwards compatible and may change or be removed without notice. */
3541
3583
  PaymentMethodDetailsDto: {
@@ -3589,6 +3631,43 @@ export interface components {
3589
3631
  */
3590
3632
  updated_at?: null | string;
3591
3633
  };
3634
+ PaymentMethodTypeCountryCurrencyMappingDto: {
3635
+ country: string;
3636
+ currencies: string[];
3637
+ };
3638
+ PaymentMethodTypeDto: {
3639
+ id: string;
3640
+ name: string;
3641
+ logo_url?: null | string;
3642
+ checkout_logo_url_light?: null | string;
3643
+ checkout_logo_url_dark?: null | string;
3644
+ category: string;
3645
+ confirmation: string;
3646
+ enabled: boolean;
3647
+ refunds_supported: boolean;
3648
+ subscriptions_supported: boolean;
3649
+ kyc_required: boolean;
3650
+ supported_currencies: string[];
3651
+ supported_settlement_currencies: string[];
3652
+ supported_countries: string[];
3653
+ gateways: components["schemas"]["PaymentGatewayDto"][];
3654
+ fee_overrides: components["schemas"]["PaymentMethodTypeFeeOverrideDto"][];
3655
+ country_currency_mapping: components["schemas"]["PaymentMethodTypeCountryCurrencyMappingDto"][];
3656
+ /** Format: int64 */
3657
+ revenue_usage: number;
3658
+ /** Format: int64 */
3659
+ monthly_revenue_limit?: null | number;
3660
+ /** Format: int64 */
3661
+ default_monthly_revenue_limit?: null | number;
3662
+ settlement_time?: null | string;
3663
+ };
3664
+ PaymentMethodTypeFeeOverrideDto: {
3665
+ /** Format: int32 */
3666
+ fee_percentage: number;
3667
+ /** Format: int32 */
3668
+ fee_cents: number;
3669
+ countries: string[];
3670
+ };
3592
3671
  /** @description Represents payout split results for multi-party payments */
3593
3672
  PaymentPayoutSplitResultDto: {
3594
3673
  user_id: components["schemas"]["FlakeId"];
@@ -4613,6 +4692,9 @@ export interface components {
4613
4692
  updated_at?: null | string;
4614
4693
  updated_by?: components["schemas"]["ActorDto"];
4615
4694
  };
4695
+ ToggleStorePaymentMethodTypeRequestDto: {
4696
+ enabled: boolean;
4697
+ };
4616
4698
  TrialDto: {
4617
4699
  id: components["schemas"]["FlakeId"];
4618
4700
  /** @description The human-readable formatted version of the trial identifier. */
@@ -5109,7 +5191,7 @@ export interface components {
5109
5191
  validation: string;
5110
5192
  };
5111
5193
  /** @enum {string} */
5112
- WebhookEventType: "on_ignore" | "on_order_completed" | "on_refund" | "on_chargeback" | "on_delivery_item_added" | "on_delivery_item_activated" | "on_delivery_item_used" | "on_delivery_item_revoked" | "on_subscription_activated" | "on_subscription_renewed" | "on_subscription_canceled" | "on_discord_order_actions_queued" | "on_connected_user_registered" | "on_connected_user_became_payable" | "on_connected_user_payout_created" | "on_connected_user_payout_completed" | "on_connected_user_transaction_inserted" | "on_connected_user_became_unpayable" | "on_trial_activated" | "on_trial_completed" | "on_trial_canceled" | "on_purchase_follow_up_attempt_email_sent" | "on_purchase_follow_up_attempt_succeeded" | "on_abandoned_checkout_recovery_attempt_email_sent" | "on_abandoned_checkout_recovery_attempt_succeeded";
5194
+ WebhookEventType: "OnIgnore" | "OnOrderCompleted" | "OnRefund" | "OnChargeback" | "OnDeliveryItemAdded" | "OnDeliveryItemActivated" | "OnDeliveryItemUsed" | "OnDeliveryItemRevoked" | "OnSubscriptionActivated" | "OnSubscriptionRenewed" | "OnSubscriptionCanceled" | "OnDiscordOrderActionsQueued" | "OnConnectedUserRegistered" | "OnConnectedUserBecamePayable" | "OnConnectedUserPayoutCreated" | "OnConnectedUserPayoutCompleted" | "OnConnectedUserTransactionInserted" | "OnConnectedUserBecameUnpayable" | "OnTrialActivated" | "OnTrialCompleted" | "OnTrialCanceled" | "OnPurchaseFollowUpAttemptEmailSent" | "OnPurchaseFollowUpAttemptSucceeded" | "OnAbandonedCheckoutRecoveryAttemptEmailSent" | "OnAbandonedCheckoutRecoveryAttemptSucceeded";
5113
5195
  WebhookHistoryDto: {
5114
5196
  /** Format: int32 */
5115
5197
  page: number;
@@ -8195,34 +8277,9 @@ export interface operations {
8195
8277
  };
8196
8278
  };
8197
8279
  };
8198
- Payments_GetPayments: {
8280
+ PaymentMethodTypes_GetStorePaymentMethodTypes: {
8199
8281
  parameters: {
8200
- query?: {
8201
- /** @description The maximum number of items to return in a single request. */
8202
- limit?: number;
8203
- /**
8204
- * @description Returns items after the specified ID.
8205
- * Used for forward pagination through results.
8206
- * @example null
8207
- */
8208
- after?: components["schemas"]["FlakeId"];
8209
- /**
8210
- * @description Returns items before the specified ID.
8211
- * Used for backward pagination through results.
8212
- * @example null
8213
- */
8214
- before?: components["schemas"]["FlakeId"];
8215
- /** @description Determines the sort order of returned items.
8216
- * When true, items are returned in ascending order.
8217
- * When false, items are returned in descending order. */
8218
- asc?: boolean;
8219
- /** @description Filter by payment statuses */
8220
- status?: components["schemas"]["PaymentStatusDto"][];
8221
- /** @description Filter by order ID */
8222
- order_id?: components["schemas"]["FlakeId"];
8223
- /** @description Filter by customer ID */
8224
- customer_id?: components["schemas"]["FlakeId"];
8225
- };
8282
+ query?: never;
8226
8283
  header?: never;
8227
8284
  path?: never;
8228
8285
  cookie?: never;
@@ -8235,7 +8292,7 @@ export interface operations {
8235
8292
  [name: string]: unknown;
8236
8293
  };
8237
8294
  content: {
8238
- "application/json": components["schemas"]["PaymentDto"][];
8295
+ "application/json": components["schemas"]["PaymentMethodTypeDto"][];
8239
8296
  };
8240
8297
  };
8241
8298
  /** @description Error response */
@@ -8249,25 +8306,29 @@ export interface operations {
8249
8306
  };
8250
8307
  };
8251
8308
  };
8252
- Payments_GetPaymentById: {
8309
+ PaymentMethodTypes_ToggleStorePaymentMethodType: {
8253
8310
  parameters: {
8254
8311
  query?: never;
8255
8312
  header?: never;
8256
8313
  path: {
8257
- paymentId: components["schemas"]["FlakeId"];
8314
+ paymentMethodTypeId: string;
8258
8315
  };
8259
8316
  cookie?: never;
8260
8317
  };
8261
- requestBody?: never;
8318
+ requestBody?: {
8319
+ content: {
8320
+ "application/json": components["schemas"]["ToggleStorePaymentMethodTypeRequestDto"];
8321
+ "text/json": components["schemas"]["ToggleStorePaymentMethodTypeRequestDto"];
8322
+ "application/*+json": components["schemas"]["ToggleStorePaymentMethodTypeRequestDto"];
8323
+ };
8324
+ };
8262
8325
  responses: {
8263
- /** @description OK */
8264
- 200: {
8326
+ /** @description No Content */
8327
+ 204: {
8265
8328
  headers: {
8266
8329
  [name: string]: unknown;
8267
8330
  };
8268
- content: {
8269
- "application/json": components["schemas"]["PaymentDto"];
8270
- };
8331
+ content?: never;
8271
8332
  };
8272
8333
  /** @description Error response */
8273
8334
  default: {
@@ -8280,7 +8341,7 @@ export interface operations {
8280
8341
  };
8281
8342
  };
8282
8343
  };
8283
- Payments_GetStorePaymentSettings: {
8344
+ PaymentSettings_GetStorePaymentSettings: {
8284
8345
  parameters: {
8285
8346
  query?: never;
8286
8347
  header?: never;
@@ -8309,7 +8370,7 @@ export interface operations {
8309
8370
  };
8310
8371
  };
8311
8372
  };
8312
- Payments_UpdateStorePaymentSettings: {
8373
+ PaymentSettings_UpdateStorePaymentSettings: {
8313
8374
  parameters: {
8314
8375
  query?: never;
8315
8376
  header?: never;
@@ -8342,6 +8403,91 @@ export interface operations {
8342
8403
  };
8343
8404
  };
8344
8405
  };
8406
+ Payments_GetPayments: {
8407
+ parameters: {
8408
+ query?: {
8409
+ /** @description The maximum number of items to return in a single request. */
8410
+ limit?: number;
8411
+ /**
8412
+ * @description Returns items after the specified ID.
8413
+ * Used for forward pagination through results.
8414
+ * @example null
8415
+ */
8416
+ after?: components["schemas"]["FlakeId"];
8417
+ /**
8418
+ * @description Returns items before the specified ID.
8419
+ * Used for backward pagination through results.
8420
+ * @example null
8421
+ */
8422
+ before?: components["schemas"]["FlakeId"];
8423
+ /** @description Determines the sort order of returned items.
8424
+ * When true, items are returned in ascending order.
8425
+ * When false, items are returned in descending order. */
8426
+ asc?: boolean;
8427
+ /** @description Filter by payment statuses */
8428
+ status?: components["schemas"]["PaymentStatusDto"][];
8429
+ /** @description Filter by order ID */
8430
+ order_id?: components["schemas"]["FlakeId"];
8431
+ /** @description Filter by customer ID */
8432
+ customer_id?: components["schemas"]["FlakeId"];
8433
+ };
8434
+ header?: never;
8435
+ path?: never;
8436
+ cookie?: never;
8437
+ };
8438
+ requestBody?: never;
8439
+ responses: {
8440
+ /** @description OK */
8441
+ 200: {
8442
+ headers: {
8443
+ [name: string]: unknown;
8444
+ };
8445
+ content: {
8446
+ "application/json": components["schemas"]["PaymentDto"][];
8447
+ };
8448
+ };
8449
+ /** @description Error response */
8450
+ default: {
8451
+ headers: {
8452
+ [name: string]: unknown;
8453
+ };
8454
+ content: {
8455
+ "application/json": components["schemas"]["PayNowError"];
8456
+ };
8457
+ };
8458
+ };
8459
+ };
8460
+ Payments_GetPaymentById: {
8461
+ parameters: {
8462
+ query?: never;
8463
+ header?: never;
8464
+ path: {
8465
+ paymentId: components["schemas"]["FlakeId"];
8466
+ };
8467
+ cookie?: never;
8468
+ };
8469
+ requestBody?: never;
8470
+ responses: {
8471
+ /** @description OK */
8472
+ 200: {
8473
+ headers: {
8474
+ [name: string]: unknown;
8475
+ };
8476
+ content: {
8477
+ "application/json": components["schemas"]["PaymentDto"];
8478
+ };
8479
+ };
8480
+ /** @description Error response */
8481
+ default: {
8482
+ headers: {
8483
+ [name: string]: unknown;
8484
+ };
8485
+ content: {
8486
+ "application/json": components["schemas"]["PayNowError"];
8487
+ };
8488
+ };
8489
+ };
8490
+ };
8345
8491
  Products_GetProducts: {
8346
8492
  parameters: {
8347
8493
  query?: never;
@@ -10021,6 +10167,22 @@ export declare const operationMappings: {
10021
10167
  readonly method: "POST";
10022
10168
  readonly path: "/v1/stores/{storeId}/orders/{orderId}/refund";
10023
10169
  };
10170
+ readonly PaymentMethodTypes_GetStorePaymentMethodTypes: {
10171
+ readonly method: "GET";
10172
+ readonly path: "/v1/stores/{storeId}/payment-method-types";
10173
+ };
10174
+ readonly PaymentMethodTypes_ToggleStorePaymentMethodType: {
10175
+ readonly method: "PATCH";
10176
+ readonly path: "/v1/stores/{storeId}/payment-method-types/{paymentMethodTypeId}/toggle";
10177
+ };
10178
+ readonly PaymentSettings_GetStorePaymentSettings: {
10179
+ readonly method: "GET";
10180
+ readonly path: "/v1/stores/{storeId}/payment-settings";
10181
+ };
10182
+ readonly PaymentSettings_UpdateStorePaymentSettings: {
10183
+ readonly method: "PATCH";
10184
+ readonly path: "/v1/stores/{storeId}/payment-settings";
10185
+ };
10024
10186
  readonly Payments_GetPayments: {
10025
10187
  readonly method: "GET";
10026
10188
  readonly path: "/v1/stores/{storeId}/payments";
@@ -10029,14 +10191,6 @@ export declare const operationMappings: {
10029
10191
  readonly method: "GET";
10030
10192
  readonly path: "/v1/stores/{storeId}/payments/{paymentId}";
10031
10193
  };
10032
- readonly Payments_GetStorePaymentSettings: {
10033
- readonly method: "GET";
10034
- readonly path: "/v1/stores/{storeId}/payments/settings";
10035
- };
10036
- readonly Payments_UpdateStorePaymentSettings: {
10037
- readonly method: "PATCH";
10038
- readonly path: "/v1/stores/{storeId}/payments/settings";
10039
- };
10040
10194
  readonly Products_GetProducts: {
10041
10195
  readonly method: "GET";
10042
10196
  readonly path: "/v1/stores/{storeId}/products";