stigg-api-client 0.476.0 → 0.481.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11cd58b1e0f7cc614fb8fe6da3ca437e3084cc09ee280d97b3879d8dae56f902
4
- data.tar.gz: '081930a924adc5931bd26bd9bede47946c431e33b8412484cf21d6db758a0f53'
3
+ metadata.gz: 6a22843d14761c2c368f91cde9b5605111f69e1f591040677ac3e76c4826e06e
4
+ data.tar.gz: 17b28e3680a224fdc3ce5e90589d33cf7dc1512fdf55153075a40c5aec470478
5
5
  SHA512:
6
- metadata.gz: ddaff9c4bc0f371be4062c84d47d082748b0be4c9f479ca4ffec3a4386de0673e9a6c97b1785321f547308ff873e2058c26dcd98c83fb1a114f170143eabd86f
7
- data.tar.gz: 5f3414c27e151fa92aadffacc09e2af64df43eb0acbb6b2d903d1ae6a4bf83155722fb45b84b36775c66363fbdd3adf0b473f72c403e91f9495da42c0c0b2e1c
6
+ metadata.gz: b335406f21f1bfd489b8f3ea1d6489c6c80e523aeaa38007fea2d4a467cd33cfa4c9e0de07146a26cdc2a385b338638ca23ae21784293d2e6a00f1fe0f26fc75
7
+ data.tar.gz: f8c9d7c4b9b8fd17a2343db119e3afae085d4fd0b97f17ae2f5205bc142de1c02ccd54ab7ea55d6ff7ac34c4d369e7bf669c0fd460319f5f7a89d8458e1ee029
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.476.0)
4
+ stigg-api-client (0.481.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -1124,6 +1124,14 @@ module Stigg
1124
1124
  }
1125
1125
  }
1126
1126
  GRAPHQL
1127
+
1128
+ ArchiveCustomer = <<~GRAPHQL
1129
+ mutation ($input: ArchiveCustomerInput!) {
1130
+ archiveCustomer(input: $input) {
1131
+ customerId
1132
+ }
1133
+ }
1134
+ GRAPHQL
1127
1135
  end
1128
1136
 
1129
1137
  module Query
@@ -18,6 +18,12 @@
18
18
  "inputFields": null,
19
19
  "interfaces": null,
20
20
  "enumValues": [
21
+ {
22
+ "name": "CustomerIsArchived",
23
+ "description": null,
24
+ "isDeprecated": false,
25
+ "deprecationReason": null
26
+ },
21
27
  {
22
28
  "name": "CustomerNotFound",
23
29
  "description": null,
@@ -2900,6 +2906,45 @@
2900
2906
  "enumValues": null,
2901
2907
  "possibleTypes": null
2902
2908
  },
2909
+ {
2910
+ "kind": "INPUT_OBJECT",
2911
+ "name": "ArchiveCustomerInput",
2912
+ "description": null,
2913
+ "fields": null,
2914
+ "inputFields": [
2915
+ {
2916
+ "name": "customerId",
2917
+ "description": null,
2918
+ "type": {
2919
+ "kind": "NON_NULL",
2920
+ "name": null,
2921
+ "ofType": {
2922
+ "kind": "SCALAR",
2923
+ "name": "String",
2924
+ "ofType": null
2925
+ }
2926
+ },
2927
+ "defaultValue": null,
2928
+ "isDeprecated": false,
2929
+ "deprecationReason": null
2930
+ },
2931
+ {
2932
+ "name": "environmentId",
2933
+ "description": null,
2934
+ "type": {
2935
+ "kind": "SCALAR",
2936
+ "name": "String",
2937
+ "ofType": null
2938
+ },
2939
+ "defaultValue": null,
2940
+ "isDeprecated": false,
2941
+ "deprecationReason": null
2942
+ }
2943
+ ],
2944
+ "interfaces": null,
2945
+ "enumValues": null,
2946
+ "possibleTypes": null
2947
+ },
2903
2948
  {
2904
2949
  "kind": "INPUT_OBJECT",
2905
2950
  "name": "ArchivePlanInput",
@@ -5078,6 +5123,18 @@
5078
5123
  "isDeprecated": false,
5079
5124
  "deprecationReason": null
5080
5125
  },
5126
+ {
5127
+ "name": "deletedAt",
5128
+ "description": null,
5129
+ "type": {
5130
+ "kind": "INPUT_OBJECT",
5131
+ "name": "DateFieldComparison",
5132
+ "ofType": null
5133
+ },
5134
+ "defaultValue": null,
5135
+ "isDeprecated": false,
5136
+ "deprecationReason": null
5137
+ },
5081
5138
  {
5082
5139
  "name": "email",
5083
5140
  "description": null,
@@ -7886,6 +7943,18 @@
7886
7943
  "isDeprecated": false,
7887
7944
  "deprecationReason": null
7888
7945
  },
7946
+ {
7947
+ "name": "deletedAt",
7948
+ "description": null,
7949
+ "args": [],
7950
+ "type": {
7951
+ "kind": "SCALAR",
7952
+ "name": "DateTime",
7953
+ "ofType": null
7954
+ },
7955
+ "isDeprecated": false,
7956
+ "deprecationReason": null
7957
+ },
7889
7958
  {
7890
7959
  "name": "eligibleForTrial",
7891
7960
  "description": null,
@@ -8339,6 +8408,18 @@
8339
8408
  "isDeprecated": false,
8340
8409
  "deprecationReason": null
8341
8410
  },
8411
+ {
8412
+ "name": "deletedAt",
8413
+ "description": null,
8414
+ "args": [],
8415
+ "type": {
8416
+ "kind": "SCALAR",
8417
+ "name": "DateTime",
8418
+ "ofType": null
8419
+ },
8420
+ "isDeprecated": false,
8421
+ "deprecationReason": null
8422
+ },
8342
8423
  {
8343
8424
  "name": "email",
8344
8425
  "description": null,
@@ -8688,6 +8769,18 @@
8688
8769
  "isDeprecated": false,
8689
8770
  "deprecationReason": null
8690
8771
  },
8772
+ {
8773
+ "name": "deletedAt",
8774
+ "description": null,
8775
+ "args": [],
8776
+ "type": {
8777
+ "kind": "SCALAR",
8778
+ "name": "Int",
8779
+ "ofType": null
8780
+ },
8781
+ "isDeprecated": false,
8782
+ "deprecationReason": null
8783
+ },
8691
8784
  {
8692
8785
  "name": "email",
8693
8786
  "description": null,
@@ -8907,6 +9000,18 @@
8907
9000
  "isDeprecated": false,
8908
9001
  "deprecationReason": null
8909
9002
  },
9003
+ {
9004
+ "name": "deletedAt",
9005
+ "description": null,
9006
+ "type": {
9007
+ "kind": "INPUT_OBJECT",
9008
+ "name": "DateFieldComparison",
9009
+ "ofType": null
9010
+ },
9011
+ "defaultValue": null,
9012
+ "isDeprecated": false,
9013
+ "deprecationReason": null
9014
+ },
8910
9015
  {
8911
9016
  "name": "email",
8912
9017
  "description": null,
@@ -9638,6 +9743,18 @@
9638
9743
  "isDeprecated": false,
9639
9744
  "deprecationReason": null
9640
9745
  },
9746
+ {
9747
+ "name": "deletedAt",
9748
+ "description": null,
9749
+ "args": [],
9750
+ "type": {
9751
+ "kind": "SCALAR",
9752
+ "name": "DateTime",
9753
+ "ofType": null
9754
+ },
9755
+ "isDeprecated": false,
9756
+ "deprecationReason": null
9757
+ },
9641
9758
  {
9642
9759
  "name": "email",
9643
9760
  "description": null,
@@ -9793,6 +9910,18 @@
9793
9910
  "isDeprecated": false,
9794
9911
  "deprecationReason": null
9795
9912
  },
9913
+ {
9914
+ "name": "deletedAt",
9915
+ "description": null,
9916
+ "args": [],
9917
+ "type": {
9918
+ "kind": "SCALAR",
9919
+ "name": "DateTime",
9920
+ "ofType": null
9921
+ },
9922
+ "isDeprecated": false,
9923
+ "deprecationReason": null
9924
+ },
9796
9925
  {
9797
9926
  "name": "email",
9798
9927
  "description": null,
@@ -11797,6 +11926,18 @@
11797
11926
  "isDeprecated": false,
11798
11927
  "deprecationReason": null
11799
11928
  },
11929
+ {
11930
+ "name": "deletedAt",
11931
+ "description": null,
11932
+ "type": {
11933
+ "kind": "INPUT_OBJECT",
11934
+ "name": "DateFieldComparison",
11935
+ "ofType": null
11936
+ },
11937
+ "defaultValue": null,
11938
+ "isDeprecated": false,
11939
+ "deprecationReason": null
11940
+ },
11800
11941
  {
11801
11942
  "name": "email",
11802
11943
  "description": null,
@@ -12438,6 +12579,12 @@
12438
12579
  "isDeprecated": false,
12439
12580
  "deprecationReason": null
12440
12581
  },
12582
+ {
12583
+ "name": "deletedAt",
12584
+ "description": null,
12585
+ "isDeprecated": false,
12586
+ "deprecationReason": null
12587
+ },
12441
12588
  {
12442
12589
  "name": "email",
12443
12590
  "description": null,
@@ -14120,6 +14267,18 @@
14120
14267
  "isDeprecated": false,
14121
14268
  "deprecationReason": null
14122
14269
  },
14270
+ {
14271
+ "name": "deletedAt",
14272
+ "description": null,
14273
+ "type": {
14274
+ "kind": "INPUT_OBJECT",
14275
+ "name": "DateFieldComparison",
14276
+ "ofType": null
14277
+ },
14278
+ "defaultValue": null,
14279
+ "isDeprecated": false,
14280
+ "deprecationReason": null
14281
+ },
14123
14282
  {
14124
14283
  "name": "email",
14125
14284
  "description": null,
@@ -18922,6 +19081,12 @@
18922
19081
  "isDeprecated": false,
18923
19082
  "deprecationReason": null
18924
19083
  },
19084
+ {
19085
+ "name": "EntityIsArchivedError",
19086
+ "description": null,
19087
+ "isDeprecated": false,
19088
+ "deprecationReason": null
19089
+ },
18925
19090
  {
18926
19091
  "name": "EnvironmentMissing",
18927
19092
  "description": null,
@@ -18982,6 +19147,12 @@
18982
19147
  "isDeprecated": false,
18983
19148
  "deprecationReason": null
18984
19149
  },
19150
+ {
19151
+ "name": "ImportSubscriptionsBulkError",
19152
+ "description": null,
19153
+ "isDeprecated": false,
19154
+ "deprecationReason": null
19155
+ },
18985
19156
  {
18986
19157
  "name": "InitStripePaymentMethodError",
18987
19158
  "description": null,
@@ -20077,6 +20248,12 @@
20077
20248
  "isDeprecated": false,
20078
20249
  "deprecationReason": null
20079
20250
  },
20251
+ {
20252
+ "name": "IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED",
20253
+ "description": null,
20254
+ "isDeprecated": false,
20255
+ "deprecationReason": null
20256
+ },
20080
20257
  {
20081
20258
  "name": "MEASUREMENT_REPORTED",
20082
20259
  "description": null,
@@ -21085,6 +21262,18 @@
21085
21262
  "isDeprecated": false,
21086
21263
  "deprecationReason": null
21087
21264
  },
21265
+ {
21266
+ "name": "deletedAt",
21267
+ "description": null,
21268
+ "type": {
21269
+ "kind": "INPUT_OBJECT",
21270
+ "name": "DateFieldComparison",
21271
+ "ofType": null
21272
+ },
21273
+ "defaultValue": null,
21274
+ "isDeprecated": false,
21275
+ "deprecationReason": null
21276
+ },
21088
21277
  {
21089
21278
  "name": "email",
21090
21279
  "description": null,
@@ -30438,6 +30627,39 @@
30438
30627
  "isDeprecated": false,
30439
30628
  "deprecationReason": null
30440
30629
  },
30630
+ {
30631
+ "name": "archiveCustomer",
30632
+ "description": null,
30633
+ "args": [
30634
+ {
30635
+ "name": "input",
30636
+ "description": null,
30637
+ "type": {
30638
+ "kind": "NON_NULL",
30639
+ "name": null,
30640
+ "ofType": {
30641
+ "kind": "INPUT_OBJECT",
30642
+ "name": "ArchiveCustomerInput",
30643
+ "ofType": null
30644
+ }
30645
+ },
30646
+ "defaultValue": null,
30647
+ "isDeprecated": false,
30648
+ "deprecationReason": null
30649
+ }
30650
+ ],
30651
+ "type": {
30652
+ "kind": "NON_NULL",
30653
+ "name": null,
30654
+ "ofType": {
30655
+ "kind": "OBJECT",
30656
+ "name": "Customer",
30657
+ "ofType": null
30658
+ }
30659
+ },
30660
+ "isDeprecated": false,
30661
+ "deprecationReason": null
30662
+ },
30441
30663
  {
30442
30664
  "name": "archiveOneCoupon",
30443
30665
  "description": null,
@@ -31375,8 +31597,8 @@
31375
31597
  "ofType": null
31376
31598
  }
31377
31599
  },
31378
- "isDeprecated": false,
31379
- "deprecationReason": null
31600
+ "isDeprecated": true,
31601
+ "deprecationReason": "Use archive instead. We now soft delete customers"
31380
31602
  },
31381
31603
  {
31382
31604
  "name": "deleteOneEnvironment",
@@ -58486,6 +58708,12 @@
58486
58708
  "isDeprecated": false,
58487
58709
  "deprecationReason": null
58488
58710
  },
58711
+ {
58712
+ "name": "IMPORT_SUBSCRIPTIONS_BULK",
58713
+ "description": null,
58714
+ "isDeprecated": false,
58715
+ "deprecationReason": null
58716
+ },
58489
58717
  {
58490
58718
  "name": "RECALCULATE_ENTITLEMENTS",
58491
58719
  "description": null,
@@ -62116,6 +62344,18 @@
62116
62344
  "isDeprecated": false,
62117
62345
  "deprecationReason": null
62118
62346
  },
62347
+ {
62348
+ "name": "deletedAt",
62349
+ "description": null,
62350
+ "type": {
62351
+ "kind": "INPUT_OBJECT",
62352
+ "name": "DateFieldComparison",
62353
+ "ofType": null
62354
+ },
62355
+ "defaultValue": null,
62356
+ "isDeprecated": false,
62357
+ "deprecationReason": null
62358
+ },
62119
62359
  {
62120
62360
  "name": "email",
62121
62361
  "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.476.0"
4
+ VERSION = "0.481.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.476.0
4
+ version: 0.481.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient