@snokam/platform-client 1.0.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/.openapi-generator-ignore +23 -0
- package/README.md +423 -0
- package/dist/apis/PlatformClient.d.ts +2194 -0
- package/dist/apis/PlatformClient.js +5902 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/esm/apis/PlatformClient.d.ts +2194 -0
- package/dist/esm/apis/PlatformClient.js +5898 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/index.d.ts +6691 -0
- package/dist/esm/models/index.js +336 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +342 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/index.d.ts +6691 -0
- package/dist/models/index.js +339 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +357 -0
- package/docs/AccessSubject.md +17 -0
- package/docs/ActivateRequest.md +15 -0
- package/docs/ActivateResult.md +16 -0
- package/docs/AddCustomDomainRequest.md +16 -0
- package/docs/ApiTokenSummary.md +20 -0
- package/docs/ApiTokenVerifyResult.md +16 -0
- package/docs/AppCatalogEntry.md +18 -0
- package/docs/AppModule.md +20 -0
- package/docs/ApproveDeviceRequest.md +15 -0
- package/docs/BillingPaymentMethod.md +16 -0
- package/docs/BillingSessionRequest.md +14 -0
- package/docs/BillingSessionResponse.md +14 -0
- package/docs/BridgeWebhookResult.md +18 -0
- package/docs/Business.md +65 -0
- package/docs/BusinessAccess.md +15 -0
- package/docs/BusinessConfig.md +18 -0
- package/docs/BusinessHealth.md +17 -0
- package/docs/BusinessMeterUsage.md +18 -0
- package/docs/BusinessOwner.md +16 -0
- package/docs/BusinessUsageRollup.md +23 -0
- package/docs/Capability.md +17 -0
- package/docs/CommissionTierReference.md +16 -0
- package/docs/ComponentBlocksInnerOneOfChildrenInner.md +17 -0
- package/docs/ComponentBlocksInnerOneOfMarkDefsInner.md +16 -0
- package/docs/CreateApiTokenRequest.md +15 -0
- package/docs/CreateUserRequest.md +20 -0
- package/docs/CreatedApiToken.md +21 -0
- package/docs/CredentialSummary.md +21 -0
- package/docs/CustomDomain.md +18 -0
- package/docs/CustomDomainProvisioning.md +15 -0
- package/docs/DevicePairRequestBody.md +14 -0
- package/docs/DevicePairing.md +17 -0
- package/docs/DevicePairingStatus.md +17 -0
- package/docs/DevicePollRequestBody.md +15 -0
- package/docs/DeviceScreen.md +20 -0
- package/docs/DirectoryAppRoleItem.md +15 -0
- package/docs/DirectoryGroupItem.md +15 -0
- package/docs/DirectoryGroupsResponse.md +14 -0
- package/docs/DirectoryLicenseItem.md +16 -0
- package/docs/DirectoryLicensesResponse.md +14 -0
- package/docs/DirectoryMailbox.md +15 -0
- package/docs/DirectoryServicePrincipalItem.md +16 -0
- package/docs/DirectoryServicePrincipalsResponse.md +14 -0
- package/docs/DnsRecord.md +16 -0
- package/docs/EmployeeReference.md +16 -0
- package/docs/EmployeeSettings.md +14 -0
- package/docs/EmployeeSystemAccess.md +24 -0
- package/docs/EmployeeSystemConfig.md +18 -0
- package/docs/Entitlements.md +23 -0
- package/docs/FacebookAccount.md +17 -0
- package/docs/GitHubRepo.md +18 -0
- package/docs/GoogleAnalyticsProperty.md +16 -0
- package/docs/GoogleAnalyticsSelection.md +14 -0
- package/docs/ImpersonationHistoryEntry.md +25 -0
- package/docs/IntegrationCheckResult.md +18 -0
- package/docs/IntegrationHealthStatus.md +16 -0
- package/docs/IntegrationSecret.md +16 -0
- package/docs/IntegrationSetting.md +17 -0
- package/docs/IntegrationSummary.md +29 -0
- package/docs/InviteCredentialRequest.md +15 -0
- package/docs/InvoiceBasis.md +20 -0
- package/docs/InvoiceBasisLine.md +18 -0
- package/docs/LoginConfig.md +21 -0
- package/docs/MeApp.md +15 -0
- package/docs/MeterEnforcementDecision.md +19 -0
- package/docs/MeterEntitlement.md +22 -0
- package/docs/ModelReconciliation.md +24 -0
- package/docs/OAuthAccessTokenResponse.md +16 -0
- package/docs/OAuthStartResponse.md +14 -0
- package/docs/OlafApiKeyResponse.md +14 -0
- package/docs/OlafTeamsSettings.md +14 -0
- package/docs/OnboardBusinessRequest.md +27 -0
- package/docs/OnboardingConfig.md +18 -0
- package/docs/OnboardingStatus.md +19 -0
- package/docs/OnboardingStep.md +15 -0
- package/docs/PageEmployeeOrderInner.md +17 -0
- package/docs/PageEquipmentInner.md +17 -0
- package/docs/PasswordLoginRequest.md +17 -0
- package/docs/PasswordLoginResult.md +20 -0
- package/docs/PatchBusinessRequest.md +26 -0
- package/docs/PatchEmployee.md +58 -0
- package/docs/PendingDevicePreview.md +17 -0
- package/docs/PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfig.md +14 -0
- package/docs/PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettings.md +14 -0
- package/docs/PlanFeature.md +16 -0
- package/docs/PlanInfo.md +21 -0
- package/docs/PlanMeter.md +24 -0
- package/docs/PlatformClient.md +9321 -0
- package/docs/PlatformIntegration.md +21 -0
- package/docs/PlatformSanityConfig.md +17 -0
- package/docs/PlatformSecretField.md +16 -0
- package/docs/PlatformSecretStatus.md +16 -0
- package/docs/PowerOfficeConnectResponse.md +14 -0
- package/docs/PowerOfficeProduct.md +15 -0
- package/docs/PowerOfficeProductsResponse.md +15 -0
- package/docs/PowerOfficeProject.md +15 -0
- package/docs/PowerOfficeProjectsResponse.md +15 -0
- package/docs/ProtectedEmployee.md +63 -0
- package/docs/ProvisioningEvent.md +17 -0
- package/docs/RecordImpersonationActivityRequest.md +18 -0
- package/docs/RenameDeviceRequest.md +14 -0
- package/docs/ResetConfirmRequest.md +16 -0
- package/docs/ResetRequest.md +15 -0
- package/docs/RevokeRequest.md +14 -0
- package/docs/RollupMeterTotal.md +18 -0
- package/docs/SanityCreateEmployeeCliftonStrengthsInner.md +17 -0
- package/docs/SanityCreateEmployeeGroupsInner.md +17 -0
- package/docs/SanityCreateEmployeeTagsInner.md +17 -0
- package/docs/SanityCreateEmployeeTechnologiesInner.md +17 -0
- package/docs/SanityEmployeeCliftonStrengthsInner.md +20 -0
- package/docs/SanityEmployeeCommissionTier.md +20 -0
- package/docs/SanityEmployeeEquipmentInner.md +19 -0
- package/docs/SanityEmployeeGroupsInner.md +24 -0
- package/docs/SanityEmployeeManager.md +23 -0
- package/docs/SanityEmployeeNextOfKinInner.md +17 -0
- package/docs/SanityEmployeeSalaryConfig.md +14 -0
- package/docs/SanityEmployeeSettings.md +14 -0
- package/docs/SanityImageAssetReference.md +16 -0
- package/docs/SanityImageCrop.md +18 -0
- package/docs/SanityImageHotspot.md +18 -0
- package/docs/SanityPatchPageMetaImage.md +18 -0
- package/docs/SanitySystemsInnerDescriptionInner.md +20 -0
- package/docs/SanityTechnologyWithRelationsArticlesInnerMediaOneOf.md +15 -0
- package/docs/SanityTechnologyWithRelationsEmployeesInnerTagsInner.md +17 -0
- package/docs/SanityTechnologyWithRelationsProjectsInnerTechnologiesInner.md +18 -0
- package/docs/SanityTvCategoryDashboardsInnerBackgroundImage.md +15 -0
- package/docs/SanityTvCategoryDashboardsInnerBackgroundImageAsset.md +18 -0
- package/docs/ScopeDefinition.md +17 -0
- package/docs/SessionBootstrapRequest.md +14 -0
- package/docs/SetActiveProviderRequest.md +15 -0
- package/docs/SetFacebookAccountRequest.md +17 -0
- package/docs/SetGoogleAnalyticsPropertyRequest.md +14 -0
- package/docs/SetPlatformSecretRequest.md +14 -0
- package/docs/SetScopeGrantsRequest.md +14 -0
- package/docs/SetWorkReposRequest.md +14 -0
- package/docs/SetWorkspaceRepoRequest.md +14 -0
- package/docs/SignupConfig.md +14 -0
- package/docs/SignupRequest.md +25 -0
- package/docs/SignupResult.md +15 -0
- package/docs/Slug.md +16 -0
- package/docs/SsoExchangeRequest.md +14 -0
- package/docs/StartImpersonationRequest.md +16 -0
- package/docs/StartImpersonationResult.md +20 -0
- package/docs/StudioSanityConfig.md +16 -0
- package/docs/SystemRoleOption.md +15 -0
- package/docs/TeamsAcsTokenResponse.md +16 -0
- package/docs/TeamsAuthStateResponse.md +14 -0
- package/docs/TenantDomain.md +17 -0
- package/docs/TenantInfo.md +32 -0
- package/docs/TenantSanityCredentials.md +16 -0
- package/docs/TokenExchangeRequest.md +14 -0
- package/docs/TokenExchangeResult.md +15 -0
- package/docs/TokenReconciliationReport.md +16 -0
- package/docs/TokenReconciliationSnapshot.md +27 -0
- package/docs/TotpEnrollRequest.md +15 -0
- package/docs/TotpEnrollResult.md +16 -0
- package/docs/UpdateAppsRequest.md +14 -0
- package/docs/UpdateSecretsRequest.md +14 -0
- package/docs/UsageDailySeries.md +16 -0
- package/docs/UsageDayPoint.md +15 -0
- package/docs/UsageEvent.md +18 -0
- package/docs/UsageEventsRequest.md +15 -0
- package/docs/UsageMeterDailySeries.md +17 -0
- package/docs/UsageMeterSummary.md +31 -0
- package/docs/UsageRollup.md +16 -0
- package/docs/UsageRollupTotals.md +18 -0
- package/docs/UsageSummary.md +23 -0
- package/docs/VerifyApiTokenRequest.md +14 -0
- package/docs/WorkReposSelection.md +14 -0
- package/docs/WorkspaceRepoSelection.md +14 -0
- package/package.json +20 -0
- package/src/apis/PlatformClient.ts +7514 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/index.ts +6789 -0
- package/src/runtime.ts +442 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SlugSanityTypeEnum = exports.SanityTvCategoryDashboardsInnerBackgroundImageAssetSanityTypeEnum = exports.SanityTvCategoryDashboardsInnerBackgroundImageSanityTypeEnum = exports.SanityTechnologyWithRelationsProjectsInnerTechnologiesInnerSanityTypeEnum = exports.SanityTechnologyWithRelationsEmployeesInnerTagsInnerSanityTypeEnum = exports.SanityTechnologyWithRelationsArticlesInnerMediaOneOfSanityTypeEnum = exports.SanitySystemsInnerDescriptionInnerStyleEnum = exports.SanitySystemsInnerDescriptionInnerSanityTypeEnum = exports.SanitySystemsInnerDescriptionInnerListItemEnum = exports.SanityPatchPageMetaImageSanityTypeEnum = exports.SanityImageHotspotSanityTypeEnum = exports.SanityImageCropSanityTypeEnum = exports.SanityImageAssetReferenceSanityTypeEnum = exports.SanityEmployeeSettingsColorSchemeEnum = exports.SanityEmployeeSalaryConfigModelEnum = exports.SanityEmployeeNextOfKinInnerSanityTypeEnum = exports.SanityEmployeeManagerSanityTypeEnum = exports.SanityEmployeeGroupsInnerSanityTypeEnum = exports.SanityEmployeeEquipmentInnerSanityTypeEnum = exports.SanityEmployeeCommissionTierSanityTypeEnum = exports.SanityEmployeeCliftonStrengthsInnerSanityTypeEnum = exports.SanityEmployeeCliftonStrengthsInnerDomainEnum = exports.SanityCreateEmployeeTechnologiesInnerSanityTypeEnum = exports.SanityCreateEmployeeTagsInnerSanityTypeEnum = exports.SanityCreateEmployeeGroupsInnerSanityTypeEnum = exports.SanityCreateEmployeeCliftonStrengthsInnerSanityTypeEnum = exports.ProtectedEmployeeSanityTypeEnum = exports.ProtectedEmployeeParentalLeaveCoverageEnum = exports.ProtectedEmployeeMaritalStatusEnum = exports.ProtectedEmployeeGenderEnum = exports.PlatformIntegrationKindEnum = exports.PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettingsColorSchemeEnum = exports.PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfigModelEnum = exports.PatchEmployeeSanityTypeEnum = exports.PatchEmployeeParentalLeaveCoverageEnum = exports.PatchEmployeeMaritalStatusEnum = exports.PatchEmployeeGenderEnum = exports.PatchBusinessRequestStatusEnum = exports.PageEquipmentInnerSanityTypeEnum = exports.PageEmployeeOrderInnerSanityTypeEnum = exports.OnboardBusinessRequestStatusEnum = exports.IntegrationSummaryAuthMethodEnum = exports.IntegrationCheckResultStatusEnum = exports.EmployeeReferenceSanityTypeEnum = exports.ComponentBlocksInnerOneOfMarkDefsInnerSanityTypeEnum = exports.ComponentBlocksInnerOneOfChildrenInnerSanityTypeEnum = exports.CommissionTierReferenceSanityTypeEnum = exports.BusinessStatusEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
*/
|
|
7
|
+
exports.BusinessStatusEnum = {
|
|
8
|
+
PendingReview: 'PendingReview',
|
|
9
|
+
Approved: 'Approved',
|
|
10
|
+
Provisioning: 'Provisioning',
|
|
11
|
+
Active: 'Active',
|
|
12
|
+
Failed: 'Failed',
|
|
13
|
+
Suspended: 'Suspended'
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
exports.CommissionTierReferenceSanityTypeEnum = {
|
|
19
|
+
Reference: 'reference'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.ComponentBlocksInnerOneOfChildrenInnerSanityTypeEnum = {
|
|
25
|
+
Span: 'span'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.ComponentBlocksInnerOneOfMarkDefsInnerSanityTypeEnum = {
|
|
31
|
+
Link: 'link'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.EmployeeReferenceSanityTypeEnum = {
|
|
37
|
+
Reference: 'reference'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.IntegrationCheckResultStatusEnum = {
|
|
43
|
+
NotConfigured: 'not_configured',
|
|
44
|
+
Configured: 'configured',
|
|
45
|
+
Ok: 'ok',
|
|
46
|
+
Fail: 'fail'
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
exports.IntegrationSummaryAuthMethodEnum = {
|
|
52
|
+
ApiKey: 'api-key',
|
|
53
|
+
Oauth: 'oauth'
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
exports.OnboardBusinessRequestStatusEnum = {
|
|
59
|
+
PendingReview: 'PendingReview',
|
|
60
|
+
Approved: 'Approved',
|
|
61
|
+
Provisioning: 'Provisioning',
|
|
62
|
+
Active: 'Active',
|
|
63
|
+
Failed: 'Failed',
|
|
64
|
+
Suspended: 'Suspended'
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
exports.PageEmployeeOrderInnerSanityTypeEnum = {
|
|
70
|
+
Reference: 'reference'
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
exports.PageEquipmentInnerSanityTypeEnum = {
|
|
76
|
+
Reference: 'reference'
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
exports.PatchBusinessRequestStatusEnum = {
|
|
82
|
+
PendingReview: 'PendingReview',
|
|
83
|
+
Approved: 'Approved',
|
|
84
|
+
Provisioning: 'Provisioning',
|
|
85
|
+
Active: 'Active',
|
|
86
|
+
Failed: 'Failed',
|
|
87
|
+
Suspended: 'Suspended'
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
exports.PatchEmployeeGenderEnum = {
|
|
93
|
+
Male: 'male',
|
|
94
|
+
Female: 'female',
|
|
95
|
+
TheseAreNotTheGendersYouAreLookingFor: 'These are not the genders you are looking for'
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
exports.PatchEmployeeMaritalStatusEnum = {
|
|
101
|
+
Single: 'single',
|
|
102
|
+
Married: 'married',
|
|
103
|
+
Cohabitant: 'cohabitant'
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
exports.PatchEmployeeParentalLeaveCoverageEnum = {
|
|
109
|
+
_80: '80',
|
|
110
|
+
_100: '100'
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
exports.PatchEmployeeSanityTypeEnum = {
|
|
116
|
+
Employee: 'employee'
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
exports.PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfigModelEnum = {
|
|
122
|
+
SnokamCeo: 'snokam.ceo',
|
|
123
|
+
SnokamEmployee: 'snokam.employee'
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
exports.PickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettingsColorSchemeEnum = {
|
|
129
|
+
Dark: 'dark',
|
|
130
|
+
Light: 'light',
|
|
131
|
+
System: 'system'
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
exports.PlatformIntegrationKindEnum = {
|
|
137
|
+
ApiKey: 'api-key',
|
|
138
|
+
Oauth: 'oauth',
|
|
139
|
+
Platform: 'platform'
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
exports.ProtectedEmployeeGenderEnum = {
|
|
145
|
+
Female: 'female',
|
|
146
|
+
Male: 'male',
|
|
147
|
+
TheseAreNotTheGendersYouAreLookingFor: 'These are not the genders you are looking for'
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @export
|
|
151
|
+
*/
|
|
152
|
+
exports.ProtectedEmployeeMaritalStatusEnum = {
|
|
153
|
+
Cohabitant: 'cohabitant',
|
|
154
|
+
Married: 'married',
|
|
155
|
+
Single: 'single'
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @export
|
|
159
|
+
*/
|
|
160
|
+
exports.ProtectedEmployeeParentalLeaveCoverageEnum = {
|
|
161
|
+
_80: '80',
|
|
162
|
+
_100: '100'
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @export
|
|
166
|
+
*/
|
|
167
|
+
exports.ProtectedEmployeeSanityTypeEnum = {
|
|
168
|
+
Employee: 'employee'
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* @export
|
|
172
|
+
*/
|
|
173
|
+
exports.SanityCreateEmployeeCliftonStrengthsInnerSanityTypeEnum = {
|
|
174
|
+
Reference: 'reference'
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @export
|
|
178
|
+
*/
|
|
179
|
+
exports.SanityCreateEmployeeGroupsInnerSanityTypeEnum = {
|
|
180
|
+
Reference: 'reference'
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @export
|
|
184
|
+
*/
|
|
185
|
+
exports.SanityCreateEmployeeTagsInnerSanityTypeEnum = {
|
|
186
|
+
Reference: 'reference'
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @export
|
|
190
|
+
*/
|
|
191
|
+
exports.SanityCreateEmployeeTechnologiesInnerSanityTypeEnum = {
|
|
192
|
+
Reference: 'reference'
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @export
|
|
196
|
+
*/
|
|
197
|
+
exports.SanityEmployeeCliftonStrengthsInnerDomainEnum = {
|
|
198
|
+
Executing: 'executing',
|
|
199
|
+
Influencing: 'influencing',
|
|
200
|
+
RelationshipBuilding: 'relationship_building',
|
|
201
|
+
StrategicThinking: 'strategic_thinking'
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @export
|
|
205
|
+
*/
|
|
206
|
+
exports.SanityEmployeeCliftonStrengthsInnerSanityTypeEnum = {
|
|
207
|
+
CliftonStrength: 'cliftonStrength'
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* @export
|
|
211
|
+
*/
|
|
212
|
+
exports.SanityEmployeeCommissionTierSanityTypeEnum = {
|
|
213
|
+
CommissionTier: 'commissionTier'
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @export
|
|
217
|
+
*/
|
|
218
|
+
exports.SanityEmployeeEquipmentInnerSanityTypeEnum = {
|
|
219
|
+
Equipment: 'equipment'
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @export
|
|
223
|
+
*/
|
|
224
|
+
exports.SanityEmployeeGroupsInnerSanityTypeEnum = {
|
|
225
|
+
Group: 'group'
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* @export
|
|
229
|
+
*/
|
|
230
|
+
exports.SanityEmployeeManagerSanityTypeEnum = {
|
|
231
|
+
Employee: 'employee'
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* @export
|
|
235
|
+
*/
|
|
236
|
+
exports.SanityEmployeeNextOfKinInnerSanityTypeEnum = {
|
|
237
|
+
Nextofkin: 'nextofkin'
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* @export
|
|
241
|
+
*/
|
|
242
|
+
exports.SanityEmployeeSalaryConfigModelEnum = {
|
|
243
|
+
SnokamCeo: 'snokam.ceo',
|
|
244
|
+
SnokamEmployee: 'snokam.employee'
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @export
|
|
248
|
+
*/
|
|
249
|
+
exports.SanityEmployeeSettingsColorSchemeEnum = {
|
|
250
|
+
Dark: 'dark',
|
|
251
|
+
Light: 'light',
|
|
252
|
+
System: 'system'
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* @export
|
|
256
|
+
*/
|
|
257
|
+
exports.SanityImageAssetReferenceSanityTypeEnum = {
|
|
258
|
+
Reference: 'reference'
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* @export
|
|
262
|
+
*/
|
|
263
|
+
exports.SanityImageCropSanityTypeEnum = {
|
|
264
|
+
SanityImageCrop: 'sanity.imageCrop'
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @export
|
|
268
|
+
*/
|
|
269
|
+
exports.SanityImageHotspotSanityTypeEnum = {
|
|
270
|
+
SanityImageHotspot: 'sanity.imageHotspot'
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* @export
|
|
274
|
+
*/
|
|
275
|
+
exports.SanityPatchPageMetaImageSanityTypeEnum = {
|
|
276
|
+
Image: 'image'
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* @export
|
|
280
|
+
*/
|
|
281
|
+
exports.SanitySystemsInnerDescriptionInnerListItemEnum = {
|
|
282
|
+
Bullet: 'bullet',
|
|
283
|
+
Number: 'number'
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* @export
|
|
287
|
+
*/
|
|
288
|
+
exports.SanitySystemsInnerDescriptionInnerSanityTypeEnum = {
|
|
289
|
+
Block: 'block'
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* @export
|
|
293
|
+
*/
|
|
294
|
+
exports.SanitySystemsInnerDescriptionInnerStyleEnum = {
|
|
295
|
+
Blockquote: 'blockquote',
|
|
296
|
+
H1: 'h1',
|
|
297
|
+
H2: 'h2',
|
|
298
|
+
H3: 'h3',
|
|
299
|
+
H4: 'h4',
|
|
300
|
+
H5: 'h5',
|
|
301
|
+
H6: 'h6',
|
|
302
|
+
Normal: 'normal'
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* @export
|
|
306
|
+
*/
|
|
307
|
+
exports.SanityTechnologyWithRelationsArticlesInnerMediaOneOfSanityTypeEnum = {
|
|
308
|
+
Image: 'image'
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* @export
|
|
312
|
+
*/
|
|
313
|
+
exports.SanityTechnologyWithRelationsEmployeesInnerTagsInnerSanityTypeEnum = {
|
|
314
|
+
Tag: 'tag'
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* @export
|
|
318
|
+
*/
|
|
319
|
+
exports.SanityTechnologyWithRelationsProjectsInnerTechnologiesInnerSanityTypeEnum = {
|
|
320
|
+
Technology: 'technology'
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* @export
|
|
324
|
+
*/
|
|
325
|
+
exports.SanityTvCategoryDashboardsInnerBackgroundImageSanityTypeEnum = {
|
|
326
|
+
Image: 'image'
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* @export
|
|
330
|
+
*/
|
|
331
|
+
exports.SanityTvCategoryDashboardsInnerBackgroundImageAssetSanityTypeEnum = {
|
|
332
|
+
SanityImageAsset: 'sanity.imageAsset'
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* @export
|
|
336
|
+
*/
|
|
337
|
+
exports.SlugSanityTypeEnum = {
|
|
338
|
+
Slug: 'slug'
|
|
339
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform API
|
|
3
|
+
* Self-service business platform management API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
128
|
+
export interface Consume {
|
|
129
|
+
contentType: string;
|
|
130
|
+
}
|
|
131
|
+
export interface RequestContext {
|
|
132
|
+
fetch: FetchAPI;
|
|
133
|
+
url: string;
|
|
134
|
+
init: RequestInit;
|
|
135
|
+
}
|
|
136
|
+
export interface ResponseContext {
|
|
137
|
+
fetch: FetchAPI;
|
|
138
|
+
url: string;
|
|
139
|
+
init: RequestInit;
|
|
140
|
+
response: Response;
|
|
141
|
+
}
|
|
142
|
+
export interface ErrorContext {
|
|
143
|
+
fetch: FetchAPI;
|
|
144
|
+
url: string;
|
|
145
|
+
init: RequestInit;
|
|
146
|
+
error: unknown;
|
|
147
|
+
response?: Response;
|
|
148
|
+
}
|
|
149
|
+
export interface Middleware {
|
|
150
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
151
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
152
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
153
|
+
}
|
|
154
|
+
export interface ApiResponse<T> {
|
|
155
|
+
raw: Response;
|
|
156
|
+
value(): Promise<T>;
|
|
157
|
+
}
|
|
158
|
+
export interface ResponseTransformer<T> {
|
|
159
|
+
(json: any): T;
|
|
160
|
+
}
|
|
161
|
+
export declare class JSONApiResponse<T> {
|
|
162
|
+
raw: Response;
|
|
163
|
+
private transformer;
|
|
164
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
165
|
+
value(): Promise<T>;
|
|
166
|
+
}
|
|
167
|
+
export declare class VoidApiResponse {
|
|
168
|
+
raw: Response;
|
|
169
|
+
constructor(raw: Response);
|
|
170
|
+
value(): Promise<void>;
|
|
171
|
+
}
|
|
172
|
+
export declare class BlobApiResponse {
|
|
173
|
+
raw: Response;
|
|
174
|
+
constructor(raw: Response);
|
|
175
|
+
value(): Promise<Blob>;
|
|
176
|
+
}
|
|
177
|
+
export declare class TextApiResponse {
|
|
178
|
+
raw: Response;
|
|
179
|
+
constructor(raw: Response);
|
|
180
|
+
value(): Promise<string>;
|
|
181
|
+
}
|