stigg-api-client 0.570.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/LICENSE +14 -0
- data/lib/stigg/generated/operations.rb +139 -21
- data/lib/stigg/generated/schema.json +4098 -501
- data/lib/stigg/version.rb +1 -1
- data/stigg-api-client.gemspec +1 -0
- metadata +18 -4
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff7e63455b1424c519a4c25a4a43c6da36c11a3a6a3c5b97ab33c313ae13a8ea
|
4
|
+
data.tar.gz: a3fe8af21222469be7d7d37213fdb790949dea24c188359b7993f180daf2ab81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51875f0505f6de500f54e3845af3e8925b98d8ad6f4c12659cb61f5a8d7dcadbf48e572254764298f52fd27b0c7cd62a1e91b584ec0caa227cd8a742103bc940
|
7
|
+
data.tar.gz: 537352ba67983def1dcd4e3d06ee44d07f1945ea3edc0bad56d43707e1933a2562d3985e48cab2f031a3dbbd40ab34d5a4fd10f0afee6422a71b728edb9de2eb
|
data/Gemfile.lock
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
STIGG SDK LICENSE TERMS AND CONDITIONS
|
2
|
+
|
3
|
+
THESE SDK LICENSE TERMS AND CONDITIONS (THIS "AGREEMENT") CONSTITUTE A BINDING CONTRACT BETWEEN YOU AND STIGG INC. ("Stigg"). BY DOWNLOADING, INSTALLING OR USING THE SDK (DEFINED BELOW), YOU ACKNOWLEDGE THAT YOU HAVE READ AND UNDERSTOOD, AND AGREE TO BE BOUND BY, THIS AGREEMENT. YOU MAY NOT USE THE SDK IF YOU DO NOT ACCEPT THE TERMS OF THIS AGREEMENT.
|
4
|
+
License Grant. Stigg grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license, subject to the restrictions stated below, to install, run and use Stigg's proprietary [ ] software development kit, and specifically including the Stigg system files, packaged APIs, and add-ons (the "SDK"), for the sole purpose of accessing and using Stigg's proprietary, cloud-based software platform (the "Platform") in accordance with a Stigg subscription (whether free, paid or otherwise), and provided that you have an active account with Stigg.
|
5
|
+
You may allow your contractor(s) to use the SDK, provided they are acting on your behalf to exercise license rights granted in this Agreement and provided further that you will be responsible for their compliance with this Agreement in such use. You may make copies of the SDK to the extent reasonably necessary to exercise the license rights granted in this Agreement. The SDK is licensed, not sold. Stigg reserves all other rights.
|
6
|
+
Restrictions. Unless applicable law gives you more rights despite this limitation, you will not (and have no right to): (a) copy, "frame" or "mirror" the SDK; (b) sell, assign, transfer, lease, rent, sublicense, or otherwise distribute or make available the SDK to any third party (such as offering it as part of a time-sharing, outsourcing or service bureau environment); (c) publicly perform, display or communicate the SDK; (d) modify, alter, adapt, arrange, or translate the SDK; (e) decompile, disassemble, decrypt, reverse engineer, extract, or otherwise attempt to discover the source code or non-literal aspects (such as the underlying structure, sequence, organization, file formats, non-public APIs, ideas, or algorithms) of, the SDK; (f) remove, alter, or conceal any copyright, trademark, or other proprietary rights notices displayed on or in the SDK; (g) circumvent, disable or otherwise interfere with security-related or technical features or protocols of the SDK; (h) make a derivative work of the SDK, or use it to develop any service or product that is the same as (or substantially similar to) it; (i) store or transmit any robot, malware, Trojan horse, spyware, or similar malicious item intended (or that has the potential) to damage or disrupt the SDK.
|
7
|
+
Support Services. Stigg is not obligated under this Agreement to provide any support services for the SDK. Without limiting the generality of the foregoing, you may make support services requests to Stigg via email at support@stigg.io. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
|
8
|
+
DISCLAIMER OF WARRANTY. THE SDK IS LICENSED “AS IS”, WITHOUT ANY WARRANTIES, GUARANTEES, OR CONDITIONS. STIGG EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
9
|
+
LIMITATION OF LIABILITY.
|
10
|
+
IN NO EVENT SHALL STIGG, ITS AFFILIATES, OR ITS LICENSORS BE LIABLE UNDER, OR OTHERWISE IN CONNECTION WITH, THIS AGREEMENT FOR ANY CLAIM, DAMAGES (WHETHER DIRECT OR INDIRECT), LOSSES, OR OTHER LIABILITY, REGARDLESS OF THE THEORY OR BASIS OF LIABILITY, INCLUDING WITHOUT LIMITATION BREACH OF WARRANTY, NEGLIGENCE, MISREPRESENTATION, STRICT LIABILITY, OR OTHER CONTRACT, TORT OR STATUTORY LIABILITY.
|
11
|
+
THIS SECTION (LIMITATION OF LIABILITY) SHALL APPLY: (i) TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW (SUCH AS, FOR EXAMPLE, IF A JURISDICTION DOES NOT ALLOW THE EXCLUSION OR THE LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OF LIABILITY FOR PERSONAL INJURY OR DEATH CAUSED BY NEGLIGENCE); (ii) EVEN IF STIGG OR ITS AFFILIATES HAVE BEEN ADVISED, OR SHOULD HAVE BEEN AWARE, OF THE POSSIBILITY OF LOSSES, DAMAGES, OR COSTS; AND (iii) EVEN IF ANY REMEDY IN THIS AGREEMENT FAILS OF ITS ESSENTIAL PURPOSE.
|
12
|
+
Termination. You may terminate this Agreement by destroying all copies of the SDK. This Agreement shall automatically terminate without notice if (a) you no longer have an active account with Stigg, (b) your subscription to the Platform has expired or terminated; or (c) you fail to comply with any of the terms of this Agreement. Upon termination of this Agreement, you shall promptly destroy all copies of the SDK.
|
13
|
+
Entire Agreement. This Agreement is the entire agreement for the SDK.
|
14
|
+
Governing Law. This Agreement is governed by the substantive laws of the State of Israel, without regard to any conflicts of laws rules or principles, and you and Stigg agree to submit to the exclusive jurisdiction of, and venue in, the courts of Tel Aviv-Yafo in any dispute arising out of or relating to this Agreement. Notwithstanding the foregoing, equitable relief may be sought at any time in any court of competent jurisdiction.
|
@@ -33,6 +33,10 @@ module Stigg
|
|
33
33
|
amount
|
34
34
|
currency
|
35
35
|
}
|
36
|
+
flatPrice {
|
37
|
+
amount
|
38
|
+
currency
|
39
|
+
}
|
36
40
|
}
|
37
41
|
GRAPHQL
|
38
42
|
|
@@ -124,6 +128,7 @@ module Stigg
|
|
124
128
|
billingId
|
125
129
|
versionNumber
|
126
130
|
additionalMetaData
|
131
|
+
hiddenFromWidgets
|
127
132
|
product {
|
128
133
|
...ProductFragment
|
129
134
|
}
|
@@ -172,6 +177,7 @@ module Stigg
|
|
172
177
|
...SubscriptionInvoiceFragment
|
173
178
|
}
|
174
179
|
paymentCollection
|
180
|
+
billingSyncError
|
175
181
|
resource {
|
176
182
|
...CustomerResourceFragment
|
177
183
|
}
|
@@ -301,6 +307,7 @@ module Stigg
|
|
301
307
|
...SubscriptionInvoiceFragment
|
302
308
|
}
|
303
309
|
paymentCollection
|
310
|
+
billingSyncError
|
304
311
|
resource {
|
305
312
|
...CustomerResourceFragment
|
306
313
|
}
|
@@ -369,6 +376,7 @@ module Stigg
|
|
369
376
|
createdAt
|
370
377
|
updatedAt
|
371
378
|
refId
|
379
|
+
customerId
|
372
380
|
billingId
|
373
381
|
additionalMetaData
|
374
382
|
}
|
@@ -417,6 +425,17 @@ module Stigg
|
|
417
425
|
}
|
418
426
|
GRAPHQL
|
419
427
|
|
428
|
+
CustomerStatisticsFragment = <<~GRAPHQL
|
429
|
+
fragment CustomerStatisticsFragment on Customer {
|
430
|
+
statistics {
|
431
|
+
activeSubscriptionsByPricingType {
|
432
|
+
pricingType
|
433
|
+
totalCount
|
434
|
+
}
|
435
|
+
}
|
436
|
+
}
|
437
|
+
GRAPHQL
|
438
|
+
|
420
439
|
SubscriptionPreviewFragment = <<~GRAPHQL
|
421
440
|
fragment SubscriptionPreviewFragment on SubscriptionPreview {
|
422
441
|
subTotal {
|
@@ -645,6 +664,7 @@ module Stigg
|
|
645
664
|
|
646
665
|
FeatureFragment = <<~GRAPHQL
|
647
666
|
fragment FeatureFragment on EntitlementFeature {
|
667
|
+
__typename
|
648
668
|
featureType
|
649
669
|
meterType
|
650
670
|
featureUnits
|
@@ -679,6 +699,7 @@ module Stigg
|
|
679
699
|
|
680
700
|
EntitlementFragment = <<~GRAPHQL
|
681
701
|
fragment EntitlementFragment on Entitlement {
|
702
|
+
__typename
|
682
703
|
isGranted
|
683
704
|
accessDeniedReason
|
684
705
|
customerId
|
@@ -796,6 +817,17 @@ module Stigg
|
|
796
817
|
}
|
797
818
|
GRAPHQL
|
798
819
|
|
820
|
+
PackagePublishedPayload = <<~GRAPHQL
|
821
|
+
fragment PackagePublishedPayload on PackagePublished {
|
822
|
+
accountId
|
823
|
+
environmentId
|
824
|
+
packageType
|
825
|
+
packageRefId
|
826
|
+
packageVersion
|
827
|
+
migrationType
|
828
|
+
}
|
829
|
+
GRAPHQL
|
830
|
+
|
799
831
|
CustomerPortalFragment = <<~GRAPHQL
|
800
832
|
fragment CustomerPortalFragment on CustomerPortal {
|
801
833
|
subscriptions {
|
@@ -1195,21 +1227,68 @@ module Stigg
|
|
1195
1227
|
}
|
1196
1228
|
}
|
1197
1229
|
GRAPHQL
|
1230
|
+
|
1231
|
+
ProvisionCustomerFragment = <<~GRAPHQL
|
1232
|
+
fragment ProvisionCustomerFragment on ProvisionedCustomer {
|
1233
|
+
customer {
|
1234
|
+
...SlimCustomerFragment
|
1235
|
+
}
|
1236
|
+
subscriptionDecisionStrategy
|
1237
|
+
subscription {
|
1238
|
+
...SlimSubscriptionFragment
|
1239
|
+
}
|
1240
|
+
entitlements {
|
1241
|
+
...EntitlementFragment
|
1242
|
+
}
|
1243
|
+
}
|
1244
|
+
GRAPHQL
|
1245
|
+
|
1246
|
+
ApplySubscriptionFragment = <<~GRAPHQL
|
1247
|
+
fragment ApplySubscriptionFragment on ApplySubscription {
|
1248
|
+
subscription {
|
1249
|
+
...SubscriptionFragment
|
1250
|
+
}
|
1251
|
+
entitlements {
|
1252
|
+
...EntitlementFragment
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
GRAPHQL
|
1256
|
+
|
1257
|
+
ProvisionSubscriptionFragment = <<~GRAPHQL
|
1258
|
+
fragment ProvisionSubscriptionFragment on ProvisionSubscriptionResult {
|
1259
|
+
status
|
1260
|
+
checkoutUrl
|
1261
|
+
checkoutBillingId
|
1262
|
+
subscription {
|
1263
|
+
...SlimSubscriptionFragment
|
1264
|
+
}
|
1265
|
+
entitlements {
|
1266
|
+
...EntitlementFragment
|
1267
|
+
}
|
1268
|
+
}
|
1269
|
+
GRAPHQL
|
1270
|
+
|
1271
|
+
ReportUsageFragment = <<~GRAPHQL
|
1272
|
+
fragment ReportUsageFragment on UsageMeasurementWithCurrentUsage {
|
1273
|
+
id
|
1274
|
+
featureId
|
1275
|
+
customerId
|
1276
|
+
resourceId
|
1277
|
+
currentUsage
|
1278
|
+
nextResetDate
|
1279
|
+
timestamp
|
1280
|
+
}
|
1281
|
+
GRAPHQL
|
1198
1282
|
end
|
1199
1283
|
|
1200
1284
|
module Mutation
|
1201
1285
|
ProvisionCustomer = <<~GRAPHQL
|
1202
1286
|
mutation ($input: ProvisionCustomerInput!) {
|
1203
1287
|
provisionCustomer(input: $input) {
|
1204
|
-
|
1205
|
-
...SlimCustomerFragment
|
1206
|
-
}
|
1207
|
-
subscriptionDecisionStrategy
|
1208
|
-
subscription {
|
1209
|
-
...SlimSubscriptionFragment
|
1210
|
-
}
|
1288
|
+
...ProvisionCustomerFragment
|
1211
1289
|
}
|
1212
1290
|
}
|
1291
|
+
#{Fragment::ProvisionCustomerFragment}
|
1213
1292
|
#{Fragment::SlimCustomerFragment}
|
1214
1293
|
#{Fragment::SlimSubscriptionFragment}
|
1215
1294
|
#{Fragment::SubscriptionInvoiceFragment}
|
@@ -1217,6 +1296,9 @@ module Stigg
|
|
1217
1296
|
#{Fragment::PriceFragment}
|
1218
1297
|
#{Fragment::PriceTierFragment}
|
1219
1298
|
#{Fragment::TotalPriceFragment}
|
1299
|
+
#{Fragment::EntitlementFragment}
|
1300
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
1301
|
+
#{Fragment::FeatureFragment}
|
1220
1302
|
GRAPHQL
|
1221
1303
|
|
1222
1304
|
ImportCustomerBulk = <<~GRAPHQL
|
@@ -1267,29 +1349,28 @@ module Stigg
|
|
1267
1349
|
ProvisionSubscription = <<~GRAPHQL
|
1268
1350
|
mutation ($input: ProvisionSubscriptionInput!) {
|
1269
1351
|
provisionSubscription: provisionSubscriptionV2(input: $input) {
|
1270
|
-
|
1271
|
-
status
|
1272
|
-
subscription {
|
1273
|
-
...SlimSubscriptionFragment
|
1274
|
-
}
|
1352
|
+
...ProvisionSubscriptionFragment
|
1275
1353
|
}
|
1276
1354
|
}
|
1355
|
+
#{Fragment::ProvisionSubscriptionFragment}
|
1277
1356
|
#{Fragment::SlimSubscriptionFragment}
|
1278
1357
|
#{Fragment::SubscriptionInvoiceFragment}
|
1279
1358
|
#{Fragment::CustomerResourceFragment}
|
1280
1359
|
#{Fragment::PriceFragment}
|
1281
1360
|
#{Fragment::PriceTierFragment}
|
1282
1361
|
#{Fragment::TotalPriceFragment}
|
1362
|
+
#{Fragment::EntitlementFragment}
|
1363
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
1364
|
+
#{Fragment::FeatureFragment}
|
1283
1365
|
GRAPHQL
|
1284
1366
|
|
1285
1367
|
ApplySubscription = <<~GRAPHQL
|
1286
1368
|
mutation ($input: ApplySubscriptionInput!) {
|
1287
1369
|
applySubscription(input: $input) {
|
1288
|
-
|
1289
|
-
...SubscriptionFragment
|
1290
|
-
}
|
1370
|
+
...ApplySubscriptionFragment
|
1291
1371
|
}
|
1292
1372
|
}
|
1373
|
+
#{Fragment::ApplySubscriptionFragment}
|
1293
1374
|
#{Fragment::SubscriptionFragment}
|
1294
1375
|
#{Fragment::SubscriptionInvoiceFragment}
|
1295
1376
|
#{Fragment::CustomerResourceFragment}
|
@@ -1302,6 +1383,9 @@ module Stigg
|
|
1302
1383
|
#{Fragment::AddonFragment}
|
1303
1384
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1304
1385
|
#{Fragment::SubscriptionFutureUpdateData}
|
1386
|
+
#{Fragment::EntitlementFragment}
|
1387
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
1388
|
+
#{Fragment::FeatureFragment}
|
1305
1389
|
GRAPHQL
|
1306
1390
|
|
1307
1391
|
ImportSubscriptionsBulk = <<~GRAPHQL
|
@@ -1376,14 +1460,21 @@ module Stigg
|
|
1376
1460
|
GRAPHQL
|
1377
1461
|
|
1378
1462
|
ReportUsage = <<~GRAPHQL
|
1379
|
-
mutation ($input:
|
1380
|
-
|
1381
|
-
|
1382
|
-
currentUsage
|
1383
|
-
nextResetDate
|
1384
|
-
timestamp
|
1463
|
+
mutation ($input: ReportUsageInput!) {
|
1464
|
+
reportUsage(input: $input) {
|
1465
|
+
...ReportUsageFragment
|
1385
1466
|
}
|
1386
1467
|
}
|
1468
|
+
#{Fragment::ReportUsageFragment}
|
1469
|
+
GRAPHQL
|
1470
|
+
|
1471
|
+
ReportUsageBulk = <<~GRAPHQL
|
1472
|
+
mutation ($input: ReportUsageBulkInput!) {
|
1473
|
+
reportUsageBulk(input: $input) {
|
1474
|
+
...ReportUsageFragment
|
1475
|
+
}
|
1476
|
+
}
|
1477
|
+
#{Fragment::ReportUsageFragment}
|
1387
1478
|
GRAPHQL
|
1388
1479
|
|
1389
1480
|
ReportEvent = <<~GRAPHQL
|
@@ -1432,6 +1523,15 @@ module Stigg
|
|
1432
1523
|
}
|
1433
1524
|
GRAPHQL
|
1434
1525
|
|
1526
|
+
UnarchiveCustomer = <<~GRAPHQL
|
1527
|
+
mutation ($input: UnarchiveCustomerInput!) {
|
1528
|
+
unarchiveCustomer(input: $input) {
|
1529
|
+
...SlimCustomerFragment
|
1530
|
+
}
|
1531
|
+
}
|
1532
|
+
#{Fragment::SlimCustomerFragment}
|
1533
|
+
GRAPHQL
|
1534
|
+
|
1435
1535
|
TransferSubscription = <<~GRAPHQL
|
1436
1536
|
mutation ($input: TransferSubscriptionInput!) {
|
1437
1537
|
transferSubscription(input: $input) {
|
@@ -1473,6 +1573,15 @@ module Stigg
|
|
1473
1573
|
#{Fragment::SubscriptionFutureUpdateData}
|
1474
1574
|
GRAPHQL
|
1475
1575
|
|
1576
|
+
GetCustomerStatistics = <<~GRAPHQL
|
1577
|
+
query ($input: GetCustomerByRefIdInput!) {
|
1578
|
+
getCustomerByRefId(input: $input) {
|
1579
|
+
...CustomerStatisticsFragment,
|
1580
|
+
}
|
1581
|
+
}
|
1582
|
+
#{Fragment::CustomerStatisticsFragment}
|
1583
|
+
GRAPHQL
|
1584
|
+
|
1476
1585
|
GetActiveSubscriptions = <<~GRAPHQL
|
1477
1586
|
query ($input: GetActiveSubscriptionsInput!) {
|
1478
1587
|
getActiveSubscriptions(input: $input) {
|
@@ -1686,5 +1795,14 @@ module Stigg
|
|
1686
1795
|
#{Fragment::ResetPeriodConfigurationFragment}
|
1687
1796
|
#{Fragment::FeatureFragment}
|
1688
1797
|
GRAPHQL
|
1798
|
+
|
1799
|
+
OnPackagePublished = <<~GRAPHQL
|
1800
|
+
subscription {
|
1801
|
+
packagePublished {
|
1802
|
+
...PackagePublishedPayload
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
#{Fragment::PackagePublishedPayload}
|
1806
|
+
GRAPHQL
|
1689
1807
|
end
|
1690
1808
|
end
|