@paynow-gg/typescript-sdk 1.0.24 → 1.0.26
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 +357 -365
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +136 -63
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js +4 -0
- package/dist/generated/storefront.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"management.js","sourceRoot":"","sources":["../../src/generated/management.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"management.js","sourceRoot":"","sources":["../../src/generated/management.ts"],"names":[],"mappings":";;;AAs4Sa,QAAA,iBAAiB,GAAG;IAC/B,kCAAkC,EAAE;QAClC,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,sCAAsC;KAC/C;IACD,oCAAoC,EAAE;QACpC,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,sCAAsC;KAC/C;IACD,iCAAiC,EAAE;QACjC,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,wDAAwD;KACjE;IACD,oCAAoC,EAAE;QACpC,QAAQ,EAAE,OAAO;QACjB,MAAM,EAAE,wDAAwD;KACjE;IACD,oCAAoC,EAAE;QACpC,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE,wDAAwD;KACjE;IACD,cAAc,EAAE;QACd,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,2BAA2B;KACpC;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,2BAA2B;KACpC;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,mCAAmC;KAC5C;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,OAAO;QACjB,MAAM,EAAE,mCAAmC;KAC5C;IACD,gBAAgB,EAAE;QA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EAAE,0EAA0E;KACnF;IACD,6CAA6C,EAAE;QAC7C,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,0EAA0E;KACnF;IACD,6CAA6C,EAAE;QAC7C,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE,uGAAuG;KAChH;IACD,2BAA2B,EAAE;QAC3B,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,+BAA+B;KACxC;IACD,6BAA6B,EAAE;QAC7B,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,+BAA+B;KACxC;IACD,uBAAuB,EAAE;QACvB,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,yCAAyC;KAClD;IACD,6BAA6B,EAAE;QAC7B,QAAQ,EAAE,OAAO;QACjB,MAAM,EAAE,2CAA2C;KACpD;IACD,6BAA6B,EAAE;QAC7B,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE,2CAA2C;KACpD;IACD,qBAAqB,EAAE;QACrB,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,mDAAmD;KAC5D;CACO,CAAC"}
|
|
@@ -124,6 +124,26 @@ export interface paths {
|
|
|
124
124
|
patch?: never;
|
|
125
125
|
trace?: never;
|
|
126
126
|
};
|
|
127
|
+
"/v1/store/customer/auth": {
|
|
128
|
+
parameters: {
|
|
129
|
+
query?: never;
|
|
130
|
+
header?: never;
|
|
131
|
+
path?: never;
|
|
132
|
+
cookie?: never;
|
|
133
|
+
};
|
|
134
|
+
get?: never;
|
|
135
|
+
put?: never;
|
|
136
|
+
/**
|
|
137
|
+
* Authenticate customer
|
|
138
|
+
* @description Creates a customer and returns a customer token from a platform account.
|
|
139
|
+
*/
|
|
140
|
+
post: operations["Customer_AuthenticateStorefrontCustomer"];
|
|
141
|
+
delete?: never;
|
|
142
|
+
options?: never;
|
|
143
|
+
head?: never;
|
|
144
|
+
patch?: never;
|
|
145
|
+
trace?: never;
|
|
146
|
+
};
|
|
127
147
|
"/v1/store/customer/delivery/items": {
|
|
128
148
|
parameters: {
|
|
129
149
|
query?: never;
|
|
@@ -280,6 +300,18 @@ export interface paths {
|
|
|
280
300
|
export type webhooks = Record<string, never>;
|
|
281
301
|
export interface components {
|
|
282
302
|
schemas: {
|
|
303
|
+
AuthenticateStorefrontCustomerRequestDto: {
|
|
304
|
+
platform: components["schemas"]["CustomerProfilePlatform"];
|
|
305
|
+
/**
|
|
306
|
+
* @description The account ID on the platform
|
|
307
|
+
* @example 76561198152492642
|
|
308
|
+
*/
|
|
309
|
+
id: string;
|
|
310
|
+
};
|
|
311
|
+
AuthenticateStorefrontCustomerResponseDto: {
|
|
312
|
+
/** @description The token for the Customer */
|
|
313
|
+
customer_token: string;
|
|
314
|
+
};
|
|
283
315
|
/** @description Represents a customer's shopping cart */
|
|
284
316
|
CartDto: {
|
|
285
317
|
store_id: components["schemas"]["FlakeId"];
|
|
@@ -333,7 +365,7 @@ export interface components {
|
|
|
333
365
|
/** @description Indicates whether this line will be trialied by the customer. */
|
|
334
366
|
trial: boolean;
|
|
335
367
|
/** @description The URL to the product image */
|
|
336
|
-
image_url?:
|
|
368
|
+
image_url?: null | string;
|
|
337
369
|
selected_gameserver_id?: components["schemas"]["FlakeId"];
|
|
338
370
|
selected_gameserver?: components["schemas"]["StorefrontGameServerDto"];
|
|
339
371
|
pricing: components["schemas"]["StorefrontProductPricingDetailsDto"];
|
|
@@ -346,26 +378,26 @@ export interface components {
|
|
|
346
378
|
CreateCartCheckoutSessionDto: {
|
|
347
379
|
coupon_id?: components["schemas"]["FlakeId"];
|
|
348
380
|
/** @description Optional affiliate code to track referrals */
|
|
349
|
-
affiliate_code?:
|
|
381
|
+
affiliate_code?: null | string;
|
|
350
382
|
/** @description Optional URL to redirect to after successful checkout */
|
|
351
|
-
return_url?:
|
|
383
|
+
return_url?: null | string;
|
|
352
384
|
/** @description Optional URL to redirect to if checkout is canceled */
|
|
353
|
-
cancel_url?:
|
|
385
|
+
cancel_url?: null | string;
|
|
354
386
|
/** @description Whether to automatically redirect the customer (return_url must be set) */
|
|
355
|
-
auto_redirect?:
|
|
387
|
+
auto_redirect?: null | boolean;
|
|
356
388
|
/** @description Optional metadata to associate with the checkout session.
|
|
357
389
|
* Do not store any sensitive information here. */
|
|
358
|
-
metadata?: {
|
|
390
|
+
metadata?: null | {
|
|
359
391
|
[key: string]: string;
|
|
360
|
-
}
|
|
392
|
+
};
|
|
361
393
|
};
|
|
362
394
|
/** @description Represents a line item in a checkout session request */
|
|
363
395
|
CreateCheckoutSessionLineDto: {
|
|
364
396
|
product_id: components["schemas"]["FlakeId"];
|
|
365
397
|
/** @description Determines whether this line should create a subscription */
|
|
366
|
-
subscription?:
|
|
398
|
+
subscription?: null | boolean;
|
|
367
399
|
/** @description Indicates whether the product should be trialed */
|
|
368
|
-
trial?:
|
|
400
|
+
trial?: null | boolean;
|
|
369
401
|
gift_to?: components["schemas"]["CustomerPlatformAccountDto"];
|
|
370
402
|
gift_to_customer_id?: components["schemas"]["FlakeId"];
|
|
371
403
|
/**
|
|
@@ -376,14 +408,14 @@ export interface components {
|
|
|
376
408
|
selected_gameserver_id?: components["schemas"]["FlakeId"];
|
|
377
409
|
/** @description Optional metadata to associate with the checkout session line.
|
|
378
410
|
* Do not store any sensitive information here. */
|
|
379
|
-
metadata?: {
|
|
411
|
+
metadata?: null | {
|
|
380
412
|
[key: string]: string;
|
|
381
|
-
}
|
|
413
|
+
};
|
|
382
414
|
/** @description Key-value pair mapping custom variable identifiers to their selected values.
|
|
383
415
|
* Required only when the product includes custom variables. */
|
|
384
|
-
custom_variables?: {
|
|
416
|
+
custom_variables?: null | {
|
|
385
417
|
[key: string]: string;
|
|
386
|
-
}
|
|
418
|
+
};
|
|
387
419
|
};
|
|
388
420
|
/** @description Request to create a new checkout session */
|
|
389
421
|
CreateCheckoutSessionRequestDto: {
|
|
@@ -394,21 +426,21 @@ export interface components {
|
|
|
394
426
|
* @description Whether this checkout creates a subscription.
|
|
395
427
|
* DEPRECATED: Use 'subscription' field in 'lines' array objects instead.
|
|
396
428
|
*/
|
|
397
|
-
subscription?:
|
|
429
|
+
subscription?: null | boolean;
|
|
398
430
|
coupon_id?: components["schemas"]["FlakeId"];
|
|
399
431
|
/** @description Optional affiliate code to track referrals */
|
|
400
|
-
affiliate_code?:
|
|
432
|
+
affiliate_code?: null | string;
|
|
401
433
|
/** @description Optional URL to redirect to after successful checkout */
|
|
402
|
-
return_url?:
|
|
434
|
+
return_url?: null | string;
|
|
403
435
|
/** @description Optional URL to redirect to if checkout is canceled */
|
|
404
|
-
cancel_url?:
|
|
436
|
+
cancel_url?: null | string;
|
|
405
437
|
/** @description Whether to automatically redirect the customer (return_url must be set) */
|
|
406
|
-
auto_redirect?:
|
|
438
|
+
auto_redirect?: null | boolean;
|
|
407
439
|
/** @description Optional metadata to associate with the checkout session.
|
|
408
440
|
* Do not store any sensitive information here. */
|
|
409
|
-
metadata?: {
|
|
441
|
+
metadata?: null | {
|
|
410
442
|
[key: string]: string;
|
|
411
|
-
}
|
|
443
|
+
};
|
|
412
444
|
};
|
|
413
445
|
/** @description Response after creating a checkout session */
|
|
414
446
|
CreateCheckoutSessionResponseDto: {
|
|
@@ -436,16 +468,16 @@ export interface components {
|
|
|
436
468
|
* and the profile is a bedrock account, this will be a UUID generated from the Xbox XUID.
|
|
437
469
|
* @example f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2
|
|
438
470
|
*/
|
|
439
|
-
minecraft_uuid?:
|
|
471
|
+
minecraft_uuid?: null | string;
|
|
440
472
|
minecraft?: components["schemas"]["MinecraftProfileDto"];
|
|
441
473
|
/** @description The customer's Xbox XUID, if available. */
|
|
442
|
-
xbox_xuid?:
|
|
474
|
+
xbox_xuid?: null | string;
|
|
443
475
|
minecraft_platform?: components["schemas"]["CustomerMinecraftPlatform"];
|
|
444
476
|
/**
|
|
445
477
|
* @description The display name for the customer.
|
|
446
478
|
* @example m0uka
|
|
447
479
|
*/
|
|
448
|
-
name?:
|
|
480
|
+
name?: null | string;
|
|
449
481
|
/**
|
|
450
482
|
* Format: date-time
|
|
451
483
|
* @description The date and time when the customer was created in the system.
|
|
@@ -455,7 +487,7 @@ export interface components {
|
|
|
455
487
|
* Format: date-time
|
|
456
488
|
* @description The date and time when the customer was last updated, if applicable.
|
|
457
489
|
*/
|
|
458
|
-
updated_at?:
|
|
490
|
+
updated_at?: null | string;
|
|
459
491
|
/** @description Additional custom data associated with the customer. */
|
|
460
492
|
metadata: {
|
|
461
493
|
[key: string]: string;
|
|
@@ -472,10 +504,7 @@ export interface components {
|
|
|
472
504
|
*/
|
|
473
505
|
id: string;
|
|
474
506
|
};
|
|
475
|
-
/**
|
|
476
|
-
* @description A customer platform type used while gifting
|
|
477
|
-
* @enum {string}
|
|
478
|
-
*/
|
|
507
|
+
/** @enum {string} */
|
|
479
508
|
CustomerProfilePlatform: "invalid" | "steam" | "minecraft" | "paynow_name" | "paynow" | "minecraft_java_name" | "minecraft_bedrock_name" | "xbox_xuid" | "minecraft_uuid";
|
|
480
509
|
/** @description Represents the product information for a delivery item */
|
|
481
510
|
DeliveryItemProductDto: {
|
|
@@ -515,7 +544,7 @@ export interface components {
|
|
|
515
544
|
/** @description The display name of the user on this platform. */
|
|
516
545
|
name: string;
|
|
517
546
|
/** @description The URL to the user's avatar image on this platform. */
|
|
518
|
-
avatar_url?:
|
|
547
|
+
avatar_url?: null | string;
|
|
519
548
|
};
|
|
520
549
|
/** @description Represents a Minecraft profile for a customer. */
|
|
521
550
|
MinecraftProfileDto: {
|
|
@@ -556,9 +585,9 @@ export interface components {
|
|
|
556
585
|
* @description A distributed trace ID used for debugging.
|
|
557
586
|
* @example 234a5bcd543ef3fa53ce929d0e0e4736
|
|
558
587
|
*/
|
|
559
|
-
trace_id?:
|
|
588
|
+
trace_id?: null | string;
|
|
560
589
|
/** @description An array of multiple errors. Only used by some API services. */
|
|
561
|
-
errors?: components["schemas"]["ValidationError"][]
|
|
590
|
+
errors?: null | components["schemas"]["ValidationError"][];
|
|
562
591
|
};
|
|
563
592
|
ProductDeliverableActionsDto: {
|
|
564
593
|
/** @description Value indicating whether to grant a giftcard with the product with the subtotal amount. */
|
|
@@ -619,7 +648,7 @@ export interface components {
|
|
|
619
648
|
/** @description Optional regex pattern to validate text/number input values.
|
|
620
649
|
* Only applies to text and number types.
|
|
621
650
|
* Uses RE2 syntax - does not support negative lookarounds, backreferences, or other advanced regex features. */
|
|
622
|
-
value_regex?:
|
|
651
|
+
value_regex?: null | string;
|
|
623
652
|
/** @description Available options for dropdown type custom variables.
|
|
624
653
|
* Empty for text and number types. */
|
|
625
654
|
options: components["schemas"]["StorefrontCustomVariableOptionDto"][];
|
|
@@ -657,7 +686,7 @@ export interface components {
|
|
|
657
686
|
* Format: int32
|
|
658
687
|
* @description The index of the item when multiple quantities were assigned
|
|
659
688
|
*/
|
|
660
|
-
quantity_index?:
|
|
689
|
+
quantity_index?: null | number;
|
|
661
690
|
product: components["schemas"]["DeliveryItemProductDto"];
|
|
662
691
|
state: components["schemas"]["DeliveryItemStateDto"];
|
|
663
692
|
/** @description Indicates whether the delivery item can expire */
|
|
@@ -673,29 +702,29 @@ export interface components {
|
|
|
673
702
|
* Format: date-time
|
|
674
703
|
* @description The date and time when the item became active
|
|
675
704
|
*/
|
|
676
|
-
active_at?:
|
|
705
|
+
active_at?: null | string;
|
|
677
706
|
/**
|
|
678
707
|
* Format: date-time
|
|
679
708
|
* @description The date and time when the item expires naturally
|
|
680
709
|
*/
|
|
681
|
-
expires_at?:
|
|
710
|
+
expires_at?: null | string;
|
|
682
711
|
/**
|
|
683
712
|
* Format: date-time
|
|
684
713
|
* @description The override expiry date for the delivery item
|
|
685
714
|
*/
|
|
686
|
-
override_expires_at?:
|
|
715
|
+
override_expires_at?: null | string;
|
|
687
716
|
/**
|
|
688
717
|
* Format: date-time
|
|
689
718
|
* @description The date and time when the item was removed
|
|
690
719
|
*/
|
|
691
|
-
removed_at?:
|
|
720
|
+
removed_at?: null | string;
|
|
692
721
|
/**
|
|
693
722
|
* Format: date-time
|
|
694
723
|
* @description The date and time when the item was revoked
|
|
695
724
|
*/
|
|
696
|
-
revoked_at?:
|
|
725
|
+
revoked_at?: null | string;
|
|
697
726
|
/** @description The reason for revoking the delivery item */
|
|
698
|
-
revoke_reason?:
|
|
727
|
+
revoke_reason?: null | string;
|
|
699
728
|
};
|
|
700
729
|
/** @description Represents a simplified view of a game server for storefront display purposes. */
|
|
701
730
|
StorefrontGameServerDto: {
|
|
@@ -713,14 +742,14 @@ export interface components {
|
|
|
713
742
|
/** Format: int32 */
|
|
714
743
|
starting_balance: number;
|
|
715
744
|
/** Format: date-time */
|
|
716
|
-
expires_at?:
|
|
745
|
+
expires_at?: null | string;
|
|
717
746
|
};
|
|
718
747
|
/** @description Represents a navigation link in the storefront's hierarchical navigation structure. */
|
|
719
748
|
StorefrontNavLinkDto: {
|
|
720
749
|
/** @description The unique identifier for this navigation node in the navigation tree. */
|
|
721
750
|
node_id: string;
|
|
722
751
|
/** @description The identifier of the parent navigation node, if this is a child node. */
|
|
723
|
-
parent_node_id?:
|
|
752
|
+
parent_node_id?: null | string;
|
|
724
753
|
tag_id: components["schemas"]["FlakeId"];
|
|
725
754
|
/**
|
|
726
755
|
* @description The URL-friendly slug for the tag associated with this navigation link.
|
|
@@ -756,7 +785,7 @@ export interface components {
|
|
|
756
785
|
* @description The URL to the product image.
|
|
757
786
|
* @example https://cdn.paynow.gg/logo/full/logotype-color.svg
|
|
758
787
|
*/
|
|
759
|
-
image_url?:
|
|
788
|
+
image_url?: null | string;
|
|
760
789
|
/**
|
|
761
790
|
* @description The unique slug for the product.
|
|
762
791
|
* @example premium-game-package
|
|
@@ -776,17 +805,17 @@ export interface components {
|
|
|
776
805
|
* Format: date-time
|
|
777
806
|
* @description The date and time when the product becomes enabled.
|
|
778
807
|
*/
|
|
779
|
-
enabled_at?:
|
|
808
|
+
enabled_at?: null | string;
|
|
780
809
|
/**
|
|
781
810
|
* Format: date-time
|
|
782
811
|
* @description The date and time until which the product remains enabled.
|
|
783
812
|
*/
|
|
784
|
-
enabled_until?:
|
|
813
|
+
enabled_until?: null | string;
|
|
785
814
|
/**
|
|
786
815
|
* @description The display label for the product.
|
|
787
816
|
* @example Premium Items
|
|
788
817
|
*/
|
|
789
|
-
label?:
|
|
818
|
+
label?: null | string;
|
|
790
819
|
/**
|
|
791
820
|
* Format: int32
|
|
792
821
|
* @description The sort order for displaying the product.
|
|
@@ -844,19 +873,19 @@ export interface components {
|
|
|
844
873
|
custom_variables: components["schemas"]["StorefrontCustomVariableDto"][];
|
|
845
874
|
deliverable_actions?: components["schemas"]["ProductDeliverableActionsDto"];
|
|
846
875
|
/** @description Additional metadata for the product. */
|
|
847
|
-
metadata?: {
|
|
876
|
+
metadata?: null | {
|
|
848
877
|
[key: string]: string;
|
|
849
|
-
}
|
|
878
|
+
};
|
|
850
879
|
/**
|
|
851
880
|
* Format: date-time
|
|
852
881
|
* @description The date and time when the product was created.
|
|
853
882
|
*/
|
|
854
|
-
created_at?:
|
|
883
|
+
created_at?: null | string;
|
|
855
884
|
/**
|
|
856
885
|
* Format: date-time
|
|
857
886
|
* @description The date and time when the product was last updated.
|
|
858
887
|
*/
|
|
859
|
-
updated_at?:
|
|
888
|
+
updated_at?: null | string;
|
|
860
889
|
};
|
|
861
890
|
/** @description The pricing details for the product in the storefront. */
|
|
862
891
|
StorefrontProductPricingDetailsDto: {
|
|
@@ -866,7 +895,7 @@ export interface components {
|
|
|
866
895
|
* @description The amount of the sale discount in the lowest denominator (e.g. cents).
|
|
867
896
|
* @example 500
|
|
868
897
|
*/
|
|
869
|
-
sale_value?:
|
|
898
|
+
sale_value?: null | number;
|
|
870
899
|
vat_rate?: components["schemas"]["VatRateDto"];
|
|
871
900
|
regional_pricing?: components["schemas"]["StorefrontProductPricingDetailsRegionalPricingDto"];
|
|
872
901
|
/**
|
|
@@ -964,7 +993,7 @@ export interface components {
|
|
|
964
993
|
* @description The date and time when the sale ends, if applicable.
|
|
965
994
|
* @example 2025-06-30T23:59:59Z
|
|
966
995
|
*/
|
|
967
|
-
ends_at?:
|
|
996
|
+
ends_at?: null | string;
|
|
968
997
|
};
|
|
969
998
|
/** @description Represents a store entity within the storefront system. */
|
|
970
999
|
StorefrontStoreDto: {
|
|
@@ -992,34 +1021,34 @@ export interface components {
|
|
|
992
1021
|
*/
|
|
993
1022
|
currency: string;
|
|
994
1023
|
/** @description A detailed description of the store. Only present for some platform types. */
|
|
995
|
-
description?:
|
|
1024
|
+
description?: null | string;
|
|
996
1025
|
/** @description The URL of the store's main website, if not using Hosted Webstores. */
|
|
997
|
-
website_url?:
|
|
1026
|
+
website_url?: null | string;
|
|
998
1027
|
/**
|
|
999
1028
|
* @description The email address customers can use to contact store support.
|
|
1000
1029
|
* @example support@example.com
|
|
1001
1030
|
*/
|
|
1002
|
-
support_email?:
|
|
1031
|
+
support_email?: null | string;
|
|
1003
1032
|
/** @description The URL of the store's support page. */
|
|
1004
|
-
support_url?:
|
|
1033
|
+
support_url?: null | string;
|
|
1005
1034
|
/** @description The type of integration this store uses with external systems. */
|
|
1006
|
-
integration_type?:
|
|
1035
|
+
integration_type?: null | string;
|
|
1007
1036
|
/** @description Indicates whether the store is in live mode (true) or test mode (false). */
|
|
1008
1037
|
live_mode: boolean;
|
|
1009
1038
|
/** @description The URL to the store's main logo image. */
|
|
1010
|
-
logo_url?:
|
|
1039
|
+
logo_url?: null | string;
|
|
1011
1040
|
/** @description The URL to the store's square logo image. */
|
|
1012
|
-
logo_square_url?:
|
|
1041
|
+
logo_square_url?: null | string;
|
|
1013
1042
|
/**
|
|
1014
1043
|
* Format: date-time
|
|
1015
1044
|
* @description The date and time when the store was created.
|
|
1016
1045
|
*/
|
|
1017
|
-
created_at?:
|
|
1046
|
+
created_at?: null | string;
|
|
1018
1047
|
/**
|
|
1019
1048
|
* Format: date-time
|
|
1020
1049
|
* @description The date and time when the store was last updated.
|
|
1021
1050
|
*/
|
|
1022
|
-
updated_at?:
|
|
1051
|
+
updated_at?: null | string;
|
|
1023
1052
|
};
|
|
1024
1053
|
/** @description Represents a tag entity used for categorizing and filtering products within a store. */
|
|
1025
1054
|
StorefrontTagDto: {
|
|
@@ -1030,12 +1059,12 @@ export interface components {
|
|
|
1030
1059
|
/** @description The display name of the tag shown to customers. */
|
|
1031
1060
|
name: string;
|
|
1032
1061
|
/** @description A detailed description of the tag's purpose or the category it represents. */
|
|
1033
|
-
description?:
|
|
1062
|
+
description?: null | string;
|
|
1034
1063
|
/**
|
|
1035
1064
|
* @description The URL to the tag image.
|
|
1036
1065
|
* @example https://cdn.paynow.gg/logo/full/logotype-color.svg
|
|
1037
1066
|
*/
|
|
1038
|
-
image_url?:
|
|
1067
|
+
image_url?: null | string;
|
|
1039
1068
|
/** @description Indicates whether the tag is active and should be included in navigation and filtering. */
|
|
1040
1069
|
enabled: boolean;
|
|
1041
1070
|
/**
|
|
@@ -1047,7 +1076,7 @@ export interface components {
|
|
|
1047
1076
|
* Format: date-time
|
|
1048
1077
|
* @description The date and time when the tag was last updated, if applicable.
|
|
1049
1078
|
*/
|
|
1050
|
-
updated_at?:
|
|
1079
|
+
updated_at?: null | string;
|
|
1051
1080
|
};
|
|
1052
1081
|
/** @description A validation error. */
|
|
1053
1082
|
ValidationError: {
|
|
@@ -1387,6 +1416,46 @@ export interface operations {
|
|
|
1387
1416
|
};
|
|
1388
1417
|
};
|
|
1389
1418
|
};
|
|
1419
|
+
Customer_AuthenticateStorefrontCustomer: {
|
|
1420
|
+
parameters: {
|
|
1421
|
+
query?: never;
|
|
1422
|
+
header?: {
|
|
1423
|
+
/** @description The IP address (IPv4 or IPv6) of the customer. Required if the request is not being made from the customer's browser. */
|
|
1424
|
+
"x-paynow-customer-ip"?: string;
|
|
1425
|
+
/** @description The customer's country code in ISO 3166-1 alpha-2 format. Optional, but recommended if you have this available. */
|
|
1426
|
+
"x-paynow-customer-countrycode"?: string;
|
|
1427
|
+
};
|
|
1428
|
+
path?: never;
|
|
1429
|
+
cookie?: never;
|
|
1430
|
+
};
|
|
1431
|
+
requestBody?: {
|
|
1432
|
+
content: {
|
|
1433
|
+
"application/json": components["schemas"]["AuthenticateStorefrontCustomerRequestDto"];
|
|
1434
|
+
"text/json": components["schemas"]["AuthenticateStorefrontCustomerRequestDto"];
|
|
1435
|
+
"application/*+json": components["schemas"]["AuthenticateStorefrontCustomerRequestDto"];
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
responses: {
|
|
1439
|
+
/** @description OK */
|
|
1440
|
+
200: {
|
|
1441
|
+
headers: {
|
|
1442
|
+
[name: string]: unknown;
|
|
1443
|
+
};
|
|
1444
|
+
content: {
|
|
1445
|
+
"application/json": components["schemas"]["AuthenticateStorefrontCustomerResponseDto"];
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
/** @description Error response */
|
|
1449
|
+
default: {
|
|
1450
|
+
headers: {
|
|
1451
|
+
[name: string]: unknown;
|
|
1452
|
+
};
|
|
1453
|
+
content: {
|
|
1454
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1390
1459
|
Delivery_GetStorefrontCustomerDeliveryItems: {
|
|
1391
1460
|
parameters: {
|
|
1392
1461
|
query?: {
|
|
@@ -1663,6 +1732,10 @@ export declare const operationMappings: {
|
|
|
1663
1732
|
readonly method: "GET";
|
|
1664
1733
|
readonly path: "/v1/store/customer/giftcards/lookup/{code}";
|
|
1665
1734
|
};
|
|
1735
|
+
readonly Customer_AuthenticateStorefrontCustomer: {
|
|
1736
|
+
readonly method: "POST";
|
|
1737
|
+
readonly path: "/v1/store/customer/auth";
|
|
1738
|
+
};
|
|
1666
1739
|
readonly Delivery_GetStorefrontCustomerDeliveryItems: {
|
|
1667
1740
|
readonly method: "GET";
|
|
1668
1741
|
readonly path: "/v1/store/customer/delivery/items";
|