stigg-api-client 0.548.0 → 0.550.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc5c7bf1fd6f4b726fd1a0270ddbb18be2c9f1311a595b873f7c653c6eaf505d
4
- data.tar.gz: da8f90c8e772f6fa8e84ab7da163d98c8f67c20f7525128c89a54074b049dd36
3
+ metadata.gz: c93241337f0d55c56b2ae991902060572b6211ce5e30dae8fca0218cb49dba05
4
+ data.tar.gz: 79c5d5b160e304d8ce5b2e314a0690441e01fbd405087d9ff886b667ff89d6a1
5
5
  SHA512:
6
- metadata.gz: 785d54313ddb8b05a7b27c361301e74bd1e7f696227002461316e88d5e1e06228025014a14eb2907813ff53da506a19ca2b06e67eae76a9a4e30aaf2065ecb97
7
- data.tar.gz: f5e98045c176f204568c3535bd1a58c197222a6bdf4ad284264d97981b992c8b352bd6ce5b09f60bdf0f9707b58a9e5946d9680e5a53a730c4f43569e08da627
6
+ metadata.gz: c4acec12b6af94b4e14ff96455e8e5255d0bd7a014d063be89842340e1ebe61d1dee69296fc510d37d506c4b111e3bf7876d2d9301d40630e1c53f941b8e2955
7
+ data.tar.gz: f5c3d2d2741933b97a58fe16f01ea93fc452ce0f6693cf2afb3960bd3fb8a8dd5c21d457794b017b2642d2a34a321a747d76618727afe3fa593a512bc2f2bc5d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.548.0)
4
+ stigg-api-client (0.550.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -746,6 +746,9 @@ module Stigg
746
746
 
747
747
  CheckoutStateFragment = <<~GRAPHQL
748
748
  fragment CheckoutStateFragment on CheckoutState {
749
+ configuration {
750
+ ...CheckoutConfigurationFragment
751
+ }
749
752
  setupSecret
750
753
  customer {
751
754
  ...CustomerFragment
@@ -769,6 +772,29 @@ module Stigg
769
772
  }
770
773
  GRAPHQL
771
774
 
775
+ CheckoutConfigurationFragment = <<~GRAPHQL
776
+ fragment CheckoutConfigurationFragment on CheckoutConfiguration {
777
+ palette {
778
+ primary
779
+ textColor
780
+ backgroundColor
781
+ borderColor
782
+ selectionColor
783
+ summaryBackgroundColor
784
+ __typename
785
+ }
786
+ typography {
787
+ ...TypographyConfigurationFragment
788
+ __typename
789
+ }
790
+ customCss
791
+ content {
792
+ collectPhoneNumber
793
+ }
794
+ __typename
795
+ }
796
+ GRAPHQL
797
+
772
798
  CustomerPortalConfigurationFragment = <<~GRAPHQL
773
799
  fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
774
800
  palette {
@@ -1485,6 +1511,9 @@ module Stigg
1485
1511
  }
1486
1512
  }
1487
1513
  #{Fragment::CheckoutStateFragment}
1514
+ #{Fragment::CheckoutConfigurationFragment}
1515
+ #{Fragment::TypographyConfigurationFragment}
1516
+ #{Fragment::FontVariantFragment}
1488
1517
  #{Fragment::CustomerFragment}
1489
1518
  #{Fragment::SlimCustomerFragment}
1490
1519
  #{Fragment::CouponFragment}
@@ -4399,6 +4399,253 @@
4399
4399
  "enumValues": null,
4400
4400
  "possibleTypes": null
4401
4401
  },
4402
+ {
4403
+ "kind": "OBJECT",
4404
+ "name": "CheckoutColorPalette",
4405
+ "description": null,
4406
+ "fields": [
4407
+ {
4408
+ "name": "backgroundColor",
4409
+ "description": null,
4410
+ "args": [],
4411
+ "type": {
4412
+ "kind": "SCALAR",
4413
+ "name": "String",
4414
+ "ofType": null
4415
+ },
4416
+ "isDeprecated": false,
4417
+ "deprecationReason": null
4418
+ },
4419
+ {
4420
+ "name": "borderColor",
4421
+ "description": null,
4422
+ "args": [],
4423
+ "type": {
4424
+ "kind": "SCALAR",
4425
+ "name": "String",
4426
+ "ofType": null
4427
+ },
4428
+ "isDeprecated": false,
4429
+ "deprecationReason": null
4430
+ },
4431
+ {
4432
+ "name": "primary",
4433
+ "description": null,
4434
+ "args": [],
4435
+ "type": {
4436
+ "kind": "SCALAR",
4437
+ "name": "String",
4438
+ "ofType": null
4439
+ },
4440
+ "isDeprecated": false,
4441
+ "deprecationReason": null
4442
+ },
4443
+ {
4444
+ "name": "selectionColor",
4445
+ "description": null,
4446
+ "args": [],
4447
+ "type": {
4448
+ "kind": "SCALAR",
4449
+ "name": "String",
4450
+ "ofType": null
4451
+ },
4452
+ "isDeprecated": false,
4453
+ "deprecationReason": null
4454
+ },
4455
+ {
4456
+ "name": "summaryBackgroundColor",
4457
+ "description": null,
4458
+ "args": [],
4459
+ "type": {
4460
+ "kind": "SCALAR",
4461
+ "name": "String",
4462
+ "ofType": null
4463
+ },
4464
+ "isDeprecated": false,
4465
+ "deprecationReason": null
4466
+ },
4467
+ {
4468
+ "name": "textColor",
4469
+ "description": null,
4470
+ "args": [],
4471
+ "type": {
4472
+ "kind": "SCALAR",
4473
+ "name": "String",
4474
+ "ofType": null
4475
+ },
4476
+ "isDeprecated": false,
4477
+ "deprecationReason": null
4478
+ }
4479
+ ],
4480
+ "inputFields": null,
4481
+ "interfaces": [],
4482
+ "enumValues": null,
4483
+ "possibleTypes": null
4484
+ },
4485
+ {
4486
+ "kind": "OBJECT",
4487
+ "name": "CheckoutConfiguration",
4488
+ "description": null,
4489
+ "fields": [
4490
+ {
4491
+ "name": "content",
4492
+ "description": null,
4493
+ "args": [],
4494
+ "type": {
4495
+ "kind": "OBJECT",
4496
+ "name": "CheckoutContent",
4497
+ "ofType": null
4498
+ },
4499
+ "isDeprecated": false,
4500
+ "deprecationReason": null
4501
+ },
4502
+ {
4503
+ "name": "customCss",
4504
+ "description": null,
4505
+ "args": [],
4506
+ "type": {
4507
+ "kind": "SCALAR",
4508
+ "name": "String",
4509
+ "ofType": null
4510
+ },
4511
+ "isDeprecated": false,
4512
+ "deprecationReason": null
4513
+ },
4514
+ {
4515
+ "name": "palette",
4516
+ "description": null,
4517
+ "args": [],
4518
+ "type": {
4519
+ "kind": "OBJECT",
4520
+ "name": "CheckoutColorPalette",
4521
+ "ofType": null
4522
+ },
4523
+ "isDeprecated": false,
4524
+ "deprecationReason": null
4525
+ },
4526
+ {
4527
+ "name": "typography",
4528
+ "description": null,
4529
+ "args": [],
4530
+ "type": {
4531
+ "kind": "OBJECT",
4532
+ "name": "TypographyConfiguration",
4533
+ "ofType": null
4534
+ },
4535
+ "isDeprecated": false,
4536
+ "deprecationReason": null
4537
+ }
4538
+ ],
4539
+ "inputFields": null,
4540
+ "interfaces": [],
4541
+ "enumValues": null,
4542
+ "possibleTypes": null
4543
+ },
4544
+ {
4545
+ "kind": "INPUT_OBJECT",
4546
+ "name": "CheckoutConfigurationInput",
4547
+ "description": null,
4548
+ "fields": null,
4549
+ "inputFields": [
4550
+ {
4551
+ "name": "content",
4552
+ "description": null,
4553
+ "type": {
4554
+ "kind": "INPUT_OBJECT",
4555
+ "name": "CheckoutContentInput",
4556
+ "ofType": null
4557
+ },
4558
+ "defaultValue": null,
4559
+ "isDeprecated": false,
4560
+ "deprecationReason": null
4561
+ },
4562
+ {
4563
+ "name": "customCss",
4564
+ "description": null,
4565
+ "type": {
4566
+ "kind": "SCALAR",
4567
+ "name": "String",
4568
+ "ofType": null
4569
+ },
4570
+ "defaultValue": null,
4571
+ "isDeprecated": false,
4572
+ "deprecationReason": null
4573
+ },
4574
+ {
4575
+ "name": "palette",
4576
+ "description": null,
4577
+ "type": {
4578
+ "kind": "INPUT_OBJECT",
4579
+ "name": "CheckoutPaletteInput",
4580
+ "ofType": null
4581
+ },
4582
+ "defaultValue": null,
4583
+ "isDeprecated": false,
4584
+ "deprecationReason": null
4585
+ },
4586
+ {
4587
+ "name": "typography",
4588
+ "description": null,
4589
+ "type": {
4590
+ "kind": "INPUT_OBJECT",
4591
+ "name": "TypographyConfigurationInput",
4592
+ "ofType": null
4593
+ },
4594
+ "defaultValue": null,
4595
+ "isDeprecated": false,
4596
+ "deprecationReason": null
4597
+ }
4598
+ ],
4599
+ "interfaces": null,
4600
+ "enumValues": null,
4601
+ "possibleTypes": null
4602
+ },
4603
+ {
4604
+ "kind": "OBJECT",
4605
+ "name": "CheckoutContent",
4606
+ "description": null,
4607
+ "fields": [
4608
+ {
4609
+ "name": "collectPhoneNumber",
4610
+ "description": null,
4611
+ "args": [],
4612
+ "type": {
4613
+ "kind": "SCALAR",
4614
+ "name": "Boolean",
4615
+ "ofType": null
4616
+ },
4617
+ "isDeprecated": false,
4618
+ "deprecationReason": null
4619
+ }
4620
+ ],
4621
+ "inputFields": null,
4622
+ "interfaces": [],
4623
+ "enumValues": null,
4624
+ "possibleTypes": null
4625
+ },
4626
+ {
4627
+ "kind": "INPUT_OBJECT",
4628
+ "name": "CheckoutContentInput",
4629
+ "description": null,
4630
+ "fields": null,
4631
+ "inputFields": [
4632
+ {
4633
+ "name": "collectPhoneNumber",
4634
+ "description": null,
4635
+ "type": {
4636
+ "kind": "SCALAR",
4637
+ "name": "Boolean",
4638
+ "ofType": null
4639
+ },
4640
+ "defaultValue": null,
4641
+ "isDeprecated": false,
4642
+ "deprecationReason": null
4643
+ }
4644
+ ],
4645
+ "interfaces": null,
4646
+ "enumValues": null,
4647
+ "possibleTypes": null
4648
+ },
4402
4649
  {
4403
4650
  "kind": "OBJECT",
4404
4651
  "name": "CheckoutCredentials",
@@ -4545,6 +4792,89 @@
4545
4792
  "enumValues": null,
4546
4793
  "possibleTypes": null
4547
4794
  },
4795
+ {
4796
+ "kind": "INPUT_OBJECT",
4797
+ "name": "CheckoutPaletteInput",
4798
+ "description": null,
4799
+ "fields": null,
4800
+ "inputFields": [
4801
+ {
4802
+ "name": "backgroundColor",
4803
+ "description": null,
4804
+ "type": {
4805
+ "kind": "SCALAR",
4806
+ "name": "String",
4807
+ "ofType": null
4808
+ },
4809
+ "defaultValue": null,
4810
+ "isDeprecated": false,
4811
+ "deprecationReason": null
4812
+ },
4813
+ {
4814
+ "name": "borderColor",
4815
+ "description": null,
4816
+ "type": {
4817
+ "kind": "SCALAR",
4818
+ "name": "String",
4819
+ "ofType": null
4820
+ },
4821
+ "defaultValue": null,
4822
+ "isDeprecated": false,
4823
+ "deprecationReason": null
4824
+ },
4825
+ {
4826
+ "name": "primary",
4827
+ "description": null,
4828
+ "type": {
4829
+ "kind": "SCALAR",
4830
+ "name": "String",
4831
+ "ofType": null
4832
+ },
4833
+ "defaultValue": null,
4834
+ "isDeprecated": false,
4835
+ "deprecationReason": null
4836
+ },
4837
+ {
4838
+ "name": "selectionColor",
4839
+ "description": null,
4840
+ "type": {
4841
+ "kind": "SCALAR",
4842
+ "name": "String",
4843
+ "ofType": null
4844
+ },
4845
+ "defaultValue": null,
4846
+ "isDeprecated": false,
4847
+ "deprecationReason": null
4848
+ },
4849
+ {
4850
+ "name": "summaryBackgroundColor",
4851
+ "description": null,
4852
+ "type": {
4853
+ "kind": "SCALAR",
4854
+ "name": "String",
4855
+ "ofType": null
4856
+ },
4857
+ "defaultValue": null,
4858
+ "isDeprecated": false,
4859
+ "deprecationReason": null
4860
+ },
4861
+ {
4862
+ "name": "textColor",
4863
+ "description": null,
4864
+ "type": {
4865
+ "kind": "SCALAR",
4866
+ "name": "String",
4867
+ "ofType": null
4868
+ },
4869
+ "defaultValue": null,
4870
+ "isDeprecated": false,
4871
+ "deprecationReason": null
4872
+ }
4873
+ ],
4874
+ "interfaces": null,
4875
+ "enumValues": null,
4876
+ "possibleTypes": null
4877
+ },
4548
4878
  {
4549
4879
  "kind": "OBJECT",
4550
4880
  "name": "CheckoutState",
@@ -4578,6 +4908,18 @@
4578
4908
  "isDeprecated": false,
4579
4909
  "deprecationReason": null
4580
4910
  },
4911
+ {
4912
+ "name": "configuration",
4913
+ "description": null,
4914
+ "args": [],
4915
+ "type": {
4916
+ "kind": "OBJECT",
4917
+ "name": "CheckoutConfiguration",
4918
+ "ofType": null
4919
+ },
4920
+ "isDeprecated": false,
4921
+ "deprecationReason": null
4922
+ },
4581
4923
  {
4582
4924
  "name": "customer",
4583
4925
  "description": null,
@@ -66091,6 +66433,18 @@
66091
66433
  "name": "WidgetConfiguration",
66092
66434
  "description": null,
66093
66435
  "fields": [
66436
+ {
66437
+ "name": "checkout",
66438
+ "description": null,
66439
+ "args": [],
66440
+ "type": {
66441
+ "kind": "OBJECT",
66442
+ "name": "CheckoutConfiguration",
66443
+ "ofType": null
66444
+ },
66445
+ "isDeprecated": false,
66446
+ "deprecationReason": null
66447
+ },
66094
66448
  {
66095
66449
  "name": "customerPortal",
66096
66450
  "description": null,
@@ -66127,6 +66481,18 @@
66127
66481
  "description": null,
66128
66482
  "fields": null,
66129
66483
  "inputFields": [
66484
+ {
66485
+ "name": "checkoutConfiguration",
66486
+ "description": null,
66487
+ "type": {
66488
+ "kind": "INPUT_OBJECT",
66489
+ "name": "CheckoutConfigurationInput",
66490
+ "ofType": null
66491
+ },
66492
+ "defaultValue": null,
66493
+ "isDeprecated": false,
66494
+ "deprecationReason": null
66495
+ },
66130
66496
  {
66131
66497
  "name": "customerPortalConfiguration",
66132
66498
  "description": null,
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.548.0"
4
+ VERSION = "0.550.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.548.0
4
+ version: 0.550.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-21 00:00:00.000000000 Z
11
+ date: 2023-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient