stigg-api-client 6.11.0 → 6.12.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: ed75c80e732fb6b7d5e341d5ece16c920f7740e08b2da30ba012901948700afa
4
- data.tar.gz: c1228f5394cc535b1946663bf7520f41d17179b087f98e4f16d323def99f4a0a
3
+ metadata.gz: afd79ff8751d30c7d406d886860a5abf079737c3b8235c72cab342d252e9dc90
4
+ data.tar.gz: 0e5159a1c29f5fc9ca63fecf4b0dfc26d71ec566cd08c0ac5bf59b381f69d345
5
5
  SHA512:
6
- metadata.gz: daf5f2493fc03d69507b83bb87a65d9e8eac249a097d436538b05fe41f0d23e66eb7cbcf7383c8a3556dd242d9bbdaf9ab63086a68c1547e027a05a7112792f5
7
- data.tar.gz: b10a594b19923936f64e71dbbc5782feebbed92577f5551f0edbb75bf56e2b76e69c02bf759c74039b0ca7aa312be749630c7435f0165582dd9104184724632e
6
+ metadata.gz: 6300596f8406899ead475ee177b3e7cf9535ed1a7cfb135b91104f23fce3fc6d8662905bb7201627351df4a8c19f908beaa4a30fc2d512fd7aced1beda3cc0bd
7
+ data.tar.gz: 390cf18fb951b770af8a4c0c531b2ae835b0fda67c5ed795701c58504aaaec528e3a83c0ff6acb1f56fb3b554736eecf581264cb5caba800032d05bfa7bed9ab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (6.11.0)
4
+ stigg-api-client (6.12.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1830,6 +1830,12 @@ module Stigg
1830
1830
  customerId
1831
1831
  resourceId
1832
1832
  currentUsage
1833
+ credit {
1834
+ currencyId
1835
+ currentUsage
1836
+ usagePeriodEnd
1837
+ timestamp
1838
+ }
1833
1839
  usagePeriodStart
1834
1840
  usagePeriodEnd
1835
1841
  nextResetDate
@@ -593,6 +593,26 @@
593
593
  "isDeprecated": false,
594
594
  "deprecationReason": null
595
595
  },
596
+ {
597
+ "name": "enabledModels",
598
+ "description": "Subset of data-export models to enable on this destination (omit for all)",
599
+ "type": {
600
+ "kind": "LIST",
601
+ "name": null,
602
+ "ofType": {
603
+ "kind": "NON_NULL",
604
+ "name": null,
605
+ "ofType": {
606
+ "kind": "SCALAR",
607
+ "name": "String",
608
+ "ofType": null
609
+ }
610
+ }
611
+ },
612
+ "defaultValue": null,
613
+ "isDeprecated": false,
614
+ "deprecationReason": null
615
+ },
596
616
  {
597
617
  "name": "environmentId",
598
618
  "description": "The unique identifier for the environment",
@@ -5166,6 +5186,18 @@
5166
5186
  "isDeprecated": false,
5167
5187
  "deprecationReason": null
5168
5188
  },
5189
+ {
5190
+ "name": "cancellationDate",
5191
+ "description": "Subscription cancellation date",
5192
+ "type": {
5193
+ "kind": "SCALAR",
5194
+ "name": "DateTime",
5195
+ "ofType": null
5196
+ },
5197
+ "defaultValue": null,
5198
+ "isDeprecated": false,
5199
+ "deprecationReason": null
5200
+ },
5169
5201
  {
5170
5202
  "name": "charges",
5171
5203
  "description": null,
@@ -28832,6 +28864,151 @@
28832
28864
  ],
28833
28865
  "possibleTypes": null
28834
28866
  },
28867
+ {
28868
+ "kind": "OBJECT",
28869
+ "name": "DataExportModel",
28870
+ "description": "A single data-export model the customer can opt into.",
28871
+ "fields": [
28872
+ {
28873
+ "name": "displayName",
28874
+ "description": "Customer-facing label for the model",
28875
+ "args": [],
28876
+ "type": {
28877
+ "kind": "NON_NULL",
28878
+ "name": null,
28879
+ "ofType": {
28880
+ "kind": "SCALAR",
28881
+ "name": "String",
28882
+ "ofType": null
28883
+ }
28884
+ },
28885
+ "isDeprecated": false,
28886
+ "deprecationReason": null
28887
+ },
28888
+ {
28889
+ "name": "id",
28890
+ "description": "Wire identifier — what gets persisted on the destination and registered with the provider",
28891
+ "args": [],
28892
+ "type": {
28893
+ "kind": "NON_NULL",
28894
+ "name": null,
28895
+ "ofType": {
28896
+ "kind": "SCALAR",
28897
+ "name": "String",
28898
+ "ofType": null
28899
+ }
28900
+ },
28901
+ "isDeprecated": false,
28902
+ "deprecationReason": null
28903
+ }
28904
+ ],
28905
+ "inputFields": null,
28906
+ "interfaces": [],
28907
+ "enumValues": null,
28908
+ "possibleTypes": null
28909
+ },
28910
+ {
28911
+ "kind": "OBJECT",
28912
+ "name": "DataExportModelCatalog",
28913
+ "description": "Grouped catalog of every data-export model a destination can opt into.",
28914
+ "fields": [
28915
+ {
28916
+ "name": "groups",
28917
+ "description": "Groups of data-export models, in display order",
28918
+ "args": [],
28919
+ "type": {
28920
+ "kind": "NON_NULL",
28921
+ "name": null,
28922
+ "ofType": {
28923
+ "kind": "LIST",
28924
+ "name": null,
28925
+ "ofType": {
28926
+ "kind": "NON_NULL",
28927
+ "name": null,
28928
+ "ofType": {
28929
+ "kind": "OBJECT",
28930
+ "name": "DataExportModelGroup",
28931
+ "ofType": null
28932
+ }
28933
+ }
28934
+ }
28935
+ },
28936
+ "isDeprecated": false,
28937
+ "deprecationReason": null
28938
+ }
28939
+ ],
28940
+ "inputFields": null,
28941
+ "interfaces": [],
28942
+ "enumValues": null,
28943
+ "possibleTypes": null
28944
+ },
28945
+ {
28946
+ "kind": "OBJECT",
28947
+ "name": "DataExportModelGroup",
28948
+ "description": "A group of related data-export models, mirroring the public docs taxonomy.",
28949
+ "fields": [
28950
+ {
28951
+ "name": "displayName",
28952
+ "description": "Customer-facing group label",
28953
+ "args": [],
28954
+ "type": {
28955
+ "kind": "NON_NULL",
28956
+ "name": null,
28957
+ "ofType": {
28958
+ "kind": "SCALAR",
28959
+ "name": "String",
28960
+ "ofType": null
28961
+ }
28962
+ },
28963
+ "isDeprecated": false,
28964
+ "deprecationReason": null
28965
+ },
28966
+ {
28967
+ "name": "id",
28968
+ "description": "Stable group identifier",
28969
+ "args": [],
28970
+ "type": {
28971
+ "kind": "NON_NULL",
28972
+ "name": null,
28973
+ "ofType": {
28974
+ "kind": "SCALAR",
28975
+ "name": "String",
28976
+ "ofType": null
28977
+ }
28978
+ },
28979
+ "isDeprecated": false,
28980
+ "deprecationReason": null
28981
+ },
28982
+ {
28983
+ "name": "models",
28984
+ "description": "Models in this group",
28985
+ "args": [],
28986
+ "type": {
28987
+ "kind": "NON_NULL",
28988
+ "name": null,
28989
+ "ofType": {
28990
+ "kind": "LIST",
28991
+ "name": null,
28992
+ "ofType": {
28993
+ "kind": "NON_NULL",
28994
+ "name": null,
28995
+ "ofType": {
28996
+ "kind": "OBJECT",
28997
+ "name": "DataExportModel",
28998
+ "ofType": null
28999
+ }
29000
+ }
29001
+ }
29002
+ },
29003
+ "isDeprecated": false,
29004
+ "deprecationReason": null
29005
+ }
29006
+ ],
29007
+ "inputFields": null,
29008
+ "interfaces": [],
29009
+ "enumValues": null,
29010
+ "possibleTypes": null
29011
+ },
28835
29012
  {
28836
29013
  "kind": "OBJECT",
28837
29014
  "name": "DataExportScopedToken",
@@ -35001,6 +35178,12 @@
35001
35178
  "isDeprecated": false,
35002
35179
  "deprecationReason": null
35003
35180
  },
35181
+ {
35182
+ "name": "InvoicePreviewNotAvailableForDraftContract",
35183
+ "description": "Invoice preview is not available while the billing contract is still a draft",
35184
+ "isDeprecated": false,
35185
+ "deprecationReason": null
35186
+ },
35004
35187
  {
35005
35188
  "name": "MemberInvitationError",
35006
35189
  "description": null,
@@ -44934,6 +45117,26 @@
44934
45117
  "isDeprecated": false,
44935
45118
  "deprecationReason": null
44936
45119
  },
45120
+ {
45121
+ "name": "enabledModels",
45122
+ "description": "Subset of data-export models to enable on this destination (omit for all)",
45123
+ "type": {
45124
+ "kind": "LIST",
45125
+ "name": null,
45126
+ "ofType": {
45127
+ "kind": "NON_NULL",
45128
+ "name": null,
45129
+ "ofType": {
45130
+ "kind": "SCALAR",
45131
+ "name": "String",
45132
+ "ofType": null
45133
+ }
45134
+ }
45135
+ },
45136
+ "defaultValue": null,
45137
+ "isDeprecated": false,
45138
+ "deprecationReason": null
45139
+ },
44937
45140
  {
44938
45141
  "name": "environmentId",
44939
45142
  "description": "The unique identifier for the environment",
@@ -59333,6 +59536,39 @@
59333
59536
  "isDeprecated": false,
59334
59537
  "deprecationReason": null
59335
59538
  },
59539
+ {
59540
+ "name": "updateDataExportDestinationSelection",
59541
+ "description": "Update the model selection of an existing data-export destination (dashboard post-connect editor).",
59542
+ "args": [
59543
+ {
59544
+ "name": "input",
59545
+ "description": null,
59546
+ "type": {
59547
+ "kind": "NON_NULL",
59548
+ "name": null,
59549
+ "ofType": {
59550
+ "kind": "INPUT_OBJECT",
59551
+ "name": "UpdateDataExportSelectionInput",
59552
+ "ofType": null
59553
+ }
59554
+ },
59555
+ "defaultValue": null,
59556
+ "isDeprecated": false,
59557
+ "deprecationReason": null
59558
+ }
59559
+ ],
59560
+ "type": {
59561
+ "kind": "NON_NULL",
59562
+ "name": null,
59563
+ "ofType": {
59564
+ "kind": "SCALAR",
59565
+ "name": "JSON",
59566
+ "ofType": null
59567
+ }
59568
+ },
59569
+ "isDeprecated": false,
59570
+ "deprecationReason": null
59571
+ },
59336
59572
  {
59337
59573
  "name": "updateEntitlementsOrder",
59338
59574
  "description": "Update entitlements order",
@@ -86526,6 +86762,22 @@
86526
86762
  "isDeprecated": false,
86527
86763
  "deprecationReason": null
86528
86764
  },
86765
+ {
86766
+ "name": "dataExportModelCatalog",
86767
+ "description": "List the catalog of data-export models the customer can opt into when connecting a destination",
86768
+ "args": [],
86769
+ "type": {
86770
+ "kind": "NON_NULL",
86771
+ "name": null,
86772
+ "ofType": {
86773
+ "kind": "OBJECT",
86774
+ "name": "DataExportModelCatalog",
86775
+ "ofType": null
86776
+ }
86777
+ },
86778
+ "isDeprecated": false,
86779
+ "deprecationReason": null
86780
+ },
86529
86781
  {
86530
86782
  "name": "dataExportSyncStatus",
86531
86783
  "description": "Get the last sync status of a data export integration",
@@ -98612,6 +98864,18 @@
98612
98864
  "isDeprecated": false,
98613
98865
  "deprecationReason": null
98614
98866
  },
98867
+ {
98868
+ "name": "cancellationDate",
98869
+ "description": "Subscription cancellation date",
98870
+ "type": {
98871
+ "kind": "SCALAR",
98872
+ "name": "DateTime",
98873
+ "ofType": null
98874
+ },
98875
+ "defaultValue": null,
98876
+ "isDeprecated": false,
98877
+ "deprecationReason": null
98878
+ },
98615
98879
  {
98616
98880
  "name": "charges",
98617
98881
  "description": null,
@@ -110569,6 +110833,85 @@
110569
110833
  "enumValues": null,
110570
110834
  "possibleTypes": null
110571
110835
  },
110836
+ {
110837
+ "kind": "INPUT_OBJECT",
110838
+ "name": "UpdateDataExportSelectionInput",
110839
+ "description": "Input for updating the model selection of an existing data-export destination",
110840
+ "fields": null,
110841
+ "inputFields": [
110842
+ {
110843
+ "name": "destinationId",
110844
+ "description": "The provider's opaque destination identifier to update",
110845
+ "type": {
110846
+ "kind": "NON_NULL",
110847
+ "name": null,
110848
+ "ofType": {
110849
+ "kind": "SCALAR",
110850
+ "name": "String",
110851
+ "ofType": null
110852
+ }
110853
+ },
110854
+ "defaultValue": null,
110855
+ "isDeprecated": false,
110856
+ "deprecationReason": null
110857
+ },
110858
+ {
110859
+ "name": "enabledModels",
110860
+ "description": "The new, non-empty set of data-export models to enable on this destination",
110861
+ "type": {
110862
+ "kind": "NON_NULL",
110863
+ "name": null,
110864
+ "ofType": {
110865
+ "kind": "LIST",
110866
+ "name": null,
110867
+ "ofType": {
110868
+ "kind": "NON_NULL",
110869
+ "name": null,
110870
+ "ofType": {
110871
+ "kind": "SCALAR",
110872
+ "name": "String",
110873
+ "ofType": null
110874
+ }
110875
+ }
110876
+ }
110877
+ },
110878
+ "defaultValue": null,
110879
+ "isDeprecated": false,
110880
+ "deprecationReason": null
110881
+ },
110882
+ {
110883
+ "name": "environmentId",
110884
+ "description": "The unique identifier for the environment",
110885
+ "type": {
110886
+ "kind": "SCALAR",
110887
+ "name": "String",
110888
+ "ofType": null
110889
+ },
110890
+ "defaultValue": null,
110891
+ "isDeprecated": false,
110892
+ "deprecationReason": null
110893
+ },
110894
+ {
110895
+ "name": "integrationId",
110896
+ "description": "The ID of the data export integration that owns the destination",
110897
+ "type": {
110898
+ "kind": "NON_NULL",
110899
+ "name": null,
110900
+ "ofType": {
110901
+ "kind": "SCALAR",
110902
+ "name": "String",
110903
+ "ofType": null
110904
+ }
110905
+ },
110906
+ "defaultValue": null,
110907
+ "isDeprecated": false,
110908
+ "deprecationReason": null
110909
+ }
110910
+ ],
110911
+ "interfaces": null,
110912
+ "enumValues": null,
110913
+ "possibleTypes": null
110914
+ },
110572
110915
  {
110573
110916
  "kind": "OBJECT",
110574
110917
  "name": "UpdateEntitlementsOrderDTO",
@@ -112022,6 +112365,18 @@
112022
112365
  "isDeprecated": false,
112023
112366
  "deprecationReason": null
112024
112367
  },
112368
+ {
112369
+ "name": "salesforceId",
112370
+ "description": "Salesforce ID",
112371
+ "type": {
112372
+ "kind": "SCALAR",
112373
+ "name": "String",
112374
+ "ofType": null
112375
+ },
112376
+ "defaultValue": null,
112377
+ "isDeprecated": false,
112378
+ "deprecationReason": null
112379
+ },
112025
112380
  {
112026
112381
  "name": "scheduleStrategy",
112027
112382
  "description": null,
@@ -112996,6 +113351,18 @@
112996
113351
  "isDeprecated": false,
112997
113352
  "deprecationReason": null
112998
113353
  },
113354
+ {
113355
+ "name": "pageInfo",
113356
+ "description": "Cursor pagination info for series groups; present only when paging input is provided.",
113357
+ "args": [],
113358
+ "type": {
113359
+ "kind": "OBJECT",
113360
+ "name": "PageInfo",
113361
+ "ofType": null
113362
+ },
113363
+ "isDeprecated": false,
113364
+ "deprecationReason": null
113365
+ },
112999
113366
  {
113000
113367
  "name": "series",
113001
113368
  "description": "Series of usage history",
@@ -113120,6 +113487,18 @@
113120
113487
  "isDeprecated": false,
113121
113488
  "deprecationReason": null
113122
113489
  },
113490
+ {
113491
+ "name": "paging",
113492
+ "description": "Cursor pagination over series groups. When omitted, all groups are returned and no pageInfo is emitted.",
113493
+ "type": {
113494
+ "kind": "INPUT_OBJECT",
113495
+ "name": "CursorPaging",
113496
+ "ofType": null
113497
+ },
113498
+ "defaultValue": null,
113499
+ "isDeprecated": false,
113500
+ "deprecationReason": null
113501
+ },
113123
113502
  {
113124
113503
  "name": "resourceId",
113125
113504
  "description": "Resource id",
@@ -113654,6 +114033,93 @@
113654
114033
  "enumValues": null,
113655
114034
  "possibleTypes": null
113656
114035
  },
114036
+ {
114037
+ "kind": "OBJECT",
114038
+ "name": "UsageMeasurementCredit",
114039
+ "description": "Optimistic credit balance for a credit-backed feature",
114040
+ "fields": [
114041
+ {
114042
+ "name": "currencyId",
114043
+ "description": "The credit currency identifier",
114044
+ "args": [],
114045
+ "type": {
114046
+ "kind": "NON_NULL",
114047
+ "name": null,
114048
+ "ofType": {
114049
+ "kind": "SCALAR",
114050
+ "name": "String",
114051
+ "ofType": null
114052
+ }
114053
+ },
114054
+ "isDeprecated": false,
114055
+ "deprecationReason": null
114056
+ },
114057
+ {
114058
+ "name": "currentUsage",
114059
+ "description": "The credits consumed (optimistic — includes not-yet-reconciled usage)",
114060
+ "args": [],
114061
+ "type": {
114062
+ "kind": "NON_NULL",
114063
+ "name": null,
114064
+ "ofType": {
114065
+ "kind": "SCALAR",
114066
+ "name": "Float",
114067
+ "ofType": null
114068
+ }
114069
+ },
114070
+ "isDeprecated": false,
114071
+ "deprecationReason": null
114072
+ },
114073
+ {
114074
+ "name": "timestamp",
114075
+ "description": "The grant-version timestamp of this balance, used by the SDK for last-write-wins reconciliation",
114076
+ "args": [],
114077
+ "type": {
114078
+ "kind": "NON_NULL",
114079
+ "name": null,
114080
+ "ofType": {
114081
+ "kind": "SCALAR",
114082
+ "name": "DateTime",
114083
+ "ofType": null
114084
+ }
114085
+ },
114086
+ "isDeprecated": false,
114087
+ "deprecationReason": null
114088
+ },
114089
+ {
114090
+ "name": "usageLimit",
114091
+ "description": "The total credits granted",
114092
+ "args": [],
114093
+ "type": {
114094
+ "kind": "NON_NULL",
114095
+ "name": null,
114096
+ "ofType": {
114097
+ "kind": "SCALAR",
114098
+ "name": "Float",
114099
+ "ofType": null
114100
+ }
114101
+ },
114102
+ "isDeprecated": false,
114103
+ "deprecationReason": null
114104
+ },
114105
+ {
114106
+ "name": "usagePeriodEnd",
114107
+ "description": "End of the current credit grant period (when recurring credits reset), if applicable",
114108
+ "args": [],
114109
+ "type": {
114110
+ "kind": "SCALAR",
114111
+ "name": "DateTime",
114112
+ "ofType": null
114113
+ },
114114
+ "isDeprecated": false,
114115
+ "deprecationReason": null
114116
+ }
114117
+ ],
114118
+ "inputFields": null,
114119
+ "interfaces": [],
114120
+ "enumValues": null,
114121
+ "possibleTypes": null
114122
+ },
113657
114123
  {
113658
114124
  "kind": "OBJECT",
113659
114125
  "name": "UsageMeasurementEdge",
@@ -114619,6 +115085,18 @@
114619
115085
  "isDeprecated": false,
114620
115086
  "deprecationReason": null
114621
115087
  },
115088
+ {
115089
+ "name": "credit",
115090
+ "description": "The optimistic balance of the credit wallet (currency) that this feature consumes from, in credit units. It is the per-currency total shared across every feature drawing on that currency — not this feature’s individual consumption — and reflects usage before async reconciliation. Populated only for credit-backed features.",
115091
+ "args": [],
115092
+ "type": {
115093
+ "kind": "OBJECT",
115094
+ "name": "UsageMeasurementCredit",
115095
+ "ofType": null
115096
+ },
115097
+ "isDeprecated": false,
115098
+ "deprecationReason": null
115099
+ },
114622
115100
  {
114623
115101
  "name": "currentUsage",
114624
115102
  "description": "The current measured usage value",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "6.11.0"
4
+ VERSION = "6.12.0"
5
5
  end
data/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@stigg/api-client-ruby",
3
- "version": "6.11.0"
3
+ "version": "6.12.0"
4
4
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.11.0
4
+ version: 6.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg