@supscale/sculdoc-client 0.2.0 → 0.3.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.
- package/dist/generated/api.d.ts +12 -2
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -675,6 +675,7 @@ export interface components {
|
|
|
675
675
|
* | `organization.issuer_missing` | 422 | | The organization has no Factur-X issuer: fill it in the settings of the organization |
|
|
676
676
|
* | `member.exists` | 409 | | This user is already a member |
|
|
677
677
|
* | `api_key.replaced` | 409 | | This API key was already rotated: rotate its replacement |
|
|
678
|
+
* | `api_key.ip_not_allowed` | 403 | `ip` | This API key only accepts requests from its allowed addresses (`allowedIps`); `ip` is the address of the caller as the platform sees it |
|
|
678
679
|
* | `member.last_owner` | 409 | | The last owner of an organization cannot leave or lose the role |
|
|
679
680
|
* | `invitation.email_unverified` | 403 | | The sign-in provider did not verify the e-mail address of this account |
|
|
680
681
|
* | `invitation.exists` | 409 | | A pending invitation already targets this e-mail address |
|
|
@@ -686,6 +687,7 @@ export interface components {
|
|
|
686
687
|
* | `organization.two_factor_owner_first` | 409 | | Activate a second factor on your own account before requiring it of the members |
|
|
687
688
|
* | `platform.two_factor_absent` | 409 | | This account has no second factor to remove |
|
|
688
689
|
* | `auth.reauthentication_required` | 403 | `maxAgeSeconds` | Sign in again: changing the sign-in methods needs a session opened in the last minutes |
|
|
690
|
+
* | `auth.sso_required` | 403 | `provider` | The domain of this address has the identity provider of an organization: the account signs in through it only |
|
|
689
691
|
* | `terms.required` | 403 | | Accept the terms of use and the privacy policy first (POST /me/terms) |
|
|
690
692
|
* | `terms.version` | 422 | `current` | These are not the terms in force: reload them |
|
|
691
693
|
* | `password.exists` | 409 | | The account has a password already: change it instead |
|
|
@@ -715,6 +717,9 @@ export interface components {
|
|
|
715
717
|
* | `billing.contract_managed` | 409 | | The plan is set by the contract of the organization |
|
|
716
718
|
* | `billing.signature` | 401 | | The notification is not signed by the payment provider |
|
|
717
719
|
* | `billing.contract_active` | 409 | | The organization already has a contract: end it first |
|
|
720
|
+
* | `billing.contract_pending` | 409 | | A contract of the organization is waiting for its acceptance: withdraw it first |
|
|
721
|
+
* | `billing.contract_not_pending` | 409 | | Only a contract waiting for its acceptance can be accepted |
|
|
722
|
+
* | `billing.contract_rendering` | 409 | | The documents of the contract are being produced: retry later |
|
|
718
723
|
* | `billing.no_contract` | 409 | | Invoices are issued to an organization under contract |
|
|
719
724
|
* | `billing.details_required` | 422 | | A contract needs the company name and the country of the billing details of the organization |
|
|
720
725
|
* | `billing.vat_number_required` | 422 | | A business of the European Union is invoiced with its VAT number (reverse charge) |
|
|
@@ -811,6 +816,7 @@ export interface components {
|
|
|
811
816
|
* | `quota.documents_per_month` | 429 | `used`, `max` | Documents of the month included in the plan (`free`; a paid plan counts its overage instead) |
|
|
812
817
|
* | `quota.ai_imports_per_month` | 429 | `used`, `max` | AI imports of the month: none left on a plan that sells none (`free`) |
|
|
813
818
|
* | `usage.month` | 422 | | The month of a statement is written YYYY-MM and has started |
|
|
819
|
+
* | `usage.range` | 422 | | The period of a usage series: `from` and `to` written YYYY-MM (months) or YYYY-MM-DD (days), started, `from` not after `to`, 12 months or 366 days at most |
|
|
814
820
|
* | `quota.imports_per_day` | 429 | `max` | Quota of imports per day of the organization |
|
|
815
821
|
* | `quota.uploads_per_day` | 429 | `max` | Quota of uploads per day of the organization (that of the imports) |
|
|
816
822
|
* | `import.batch_size` | 422 | `min`, `max`, `count` | A batch has 2 to 50 exemplars |
|
|
@@ -1198,6 +1204,7 @@ export interface components {
|
|
|
1198
1204
|
* | `organization.issuer_missing` | 422 | | The organization has no Factur-X issuer: fill it in the settings of the organization |
|
|
1199
1205
|
* | `member.exists` | 409 | | This user is already a member |
|
|
1200
1206
|
* | `api_key.replaced` | 409 | | This API key was already rotated: rotate its replacement |
|
|
1207
|
+
* | `api_key.ip_not_allowed` | 403 | `ip` | This API key only accepts requests from its allowed addresses (`allowedIps`); `ip` is the address of the caller as the platform sees it |
|
|
1201
1208
|
* | `member.last_owner` | 409 | | The last owner of an organization cannot leave or lose the role |
|
|
1202
1209
|
* | `invitation.email_unverified` | 403 | | The sign-in provider did not verify the e-mail address of this account |
|
|
1203
1210
|
* | `invitation.exists` | 409 | | A pending invitation already targets this e-mail address |
|
|
@@ -1209,6 +1216,7 @@ export interface components {
|
|
|
1209
1216
|
* | `organization.two_factor_owner_first` | 409 | | Activate a second factor on your own account before requiring it of the members |
|
|
1210
1217
|
* | `platform.two_factor_absent` | 409 | | This account has no second factor to remove |
|
|
1211
1218
|
* | `auth.reauthentication_required` | 403 | `maxAgeSeconds` | Sign in again: changing the sign-in methods needs a session opened in the last minutes |
|
|
1219
|
+
* | `auth.sso_required` | 403 | `provider` | The domain of this address has the identity provider of an organization: the account signs in through it only |
|
|
1212
1220
|
* | `terms.required` | 403 | | Accept the terms of use and the privacy policy first (POST /me/terms) |
|
|
1213
1221
|
* | `terms.version` | 422 | `current` | These are not the terms in force: reload them |
|
|
1214
1222
|
* | `password.exists` | 409 | | The account has a password already: change it instead |
|
|
@@ -1238,6 +1246,9 @@ export interface components {
|
|
|
1238
1246
|
* | `billing.contract_managed` | 409 | | The plan is set by the contract of the organization |
|
|
1239
1247
|
* | `billing.signature` | 401 | | The notification is not signed by the payment provider |
|
|
1240
1248
|
* | `billing.contract_active` | 409 | | The organization already has a contract: end it first |
|
|
1249
|
+
* | `billing.contract_pending` | 409 | | A contract of the organization is waiting for its acceptance: withdraw it first |
|
|
1250
|
+
* | `billing.contract_not_pending` | 409 | | Only a contract waiting for its acceptance can be accepted |
|
|
1251
|
+
* | `billing.contract_rendering` | 409 | | The documents of the contract are being produced: retry later |
|
|
1241
1252
|
* | `billing.no_contract` | 409 | | Invoices are issued to an organization under contract |
|
|
1242
1253
|
* | `billing.details_required` | 422 | | A contract needs the company name and the country of the billing details of the organization |
|
|
1243
1254
|
* | `billing.vat_number_required` | 422 | | A business of the European Union is invoiced with its VAT number (reverse charge) |
|
|
@@ -1334,6 +1345,7 @@ export interface components {
|
|
|
1334
1345
|
* | `quota.documents_per_month` | 429 | `used`, `max` | Documents of the month included in the plan (`free`; a paid plan counts its overage instead) |
|
|
1335
1346
|
* | `quota.ai_imports_per_month` | 429 | `used`, `max` | AI imports of the month: none left on a plan that sells none (`free`) |
|
|
1336
1347
|
* | `usage.month` | 422 | | The month of a statement is written YYYY-MM and has started |
|
|
1348
|
+
* | `usage.range` | 422 | | The period of a usage series: `from` and `to` written YYYY-MM (months) or YYYY-MM-DD (days), started, `from` not after `to`, 12 months or 366 days at most |
|
|
1337
1349
|
* | `quota.imports_per_day` | 429 | `max` | Quota of imports per day of the organization |
|
|
1338
1350
|
* | `quota.uploads_per_day` | 429 | `max` | Quota of uploads per day of the organization (that of the imports) |
|
|
1339
1351
|
* | `import.batch_size` | 422 | `min`, `max`, `count` | A batch has 2 to 50 exemplars |
|
|
@@ -2461,8 +2473,6 @@ export interface operations {
|
|
|
2461
2473
|
})[];
|
|
2462
2474
|
/** @description Organization of the requests without `x-sculdoc-organization`: the active one of the session (POST /me/organization), else the only membership */
|
|
2463
2475
|
activeOrganizationId: string | null;
|
|
2464
|
-
/** @description Sign-in providers enabled on this deployment */
|
|
2465
|
-
providers: string[];
|
|
2466
2476
|
onboarding: {
|
|
2467
2477
|
/** @description A self-service account accepts the terms in force before acting (POST /me/terms) */
|
|
2468
2478
|
termsRequired: boolean;
|